mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-14 06:07:23 +08:00
refactor: Remove unused variable linting directive in useUpdateAgent hook
This commit is contained in:
parent
c37af25525
commit
e4d04f8346
@ -7,7 +7,7 @@ export const useUpdateAgent = () => {
|
||||
// TODO: use api
|
||||
return useMutation({
|
||||
// @ts-expect-error not-implemented
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
|
||||
mutationFn: async ({ id, ...payload }: Partial<AgentEntity> & { id: string }) => {},
|
||||
onSuccess: (updated: AgentEntity) => {
|
||||
qc.setQueryData<AgentEntity[]>(['todos'], (old) =>
|
||||
|
||||
124
yarn.lock
124
yarn.lock
@ -3155,6 +3155,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@drizzle-team/brocli@npm:^0.10.2":
|
||||
version: 0.10.2
|
||||
resolution: "@drizzle-team/brocli@npm:0.10.2"
|
||||
checksum: 10c0/3d8b99d680f0b14fea32b45c59b938b6665e0840cc67f04801b1aa3c6747da3c7d01c00e321645034fa100abdba7e0c20ce07cf46fc2ca769ee4cafd97562484
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@electron-toolkit/eslint-config-ts@npm:^3.0.0":
|
||||
version: 3.1.0
|
||||
resolution: "@electron-toolkit/eslint-config-ts@npm:3.1.0"
|
||||
@ -14318,6 +14325,7 @@ __metadata:
|
||||
eslint-plugin-simple-import-sort: "npm:^12.1.1"
|
||||
eslint-plugin-unused-imports: "npm:^4.1.4"
|
||||
express: "npm:^5.1.0"
|
||||
express-validator: "npm:^7.2.1"
|
||||
fast-diff: "npm:^1.3.0"
|
||||
fast-xml-parser: "npm:^5.2.0"
|
||||
fetch-socks: "npm:1.3.2"
|
||||
@ -17404,6 +17412,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"detect-node-es@npm:^1.1.0":
|
||||
version: 1.1.0
|
||||
resolution: "detect-node-es@npm:1.1.0"
|
||||
checksum: 10c0/e562f00de23f10c27d7119e1af0e7388407eb4b06596a25f6d79a360094a109ff285de317f02b090faae093d314cf6e73ac3214f8a5bb3a0def5bece94557fbe
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"detect-node@npm:^2.0.4":
|
||||
version: 2.1.0
|
||||
resolution: "detect-node@npm:2.1.0"
|
||||
@ -17648,6 +17663,115 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"drizzle-kit@npm:^0.31.4":
|
||||
version: 0.31.4
|
||||
resolution: "drizzle-kit@npm:0.31.4"
|
||||
dependencies:
|
||||
"@drizzle-team/brocli": "npm:^0.10.2"
|
||||
"@esbuild-kit/esm-loader": "npm:^2.5.5"
|
||||
esbuild: "npm:^0.25.4"
|
||||
esbuild-register: "npm:^3.5.0"
|
||||
bin:
|
||||
drizzle-kit: bin.cjs
|
||||
checksum: 10c0/5e345cb28b4b8f329ce5f851e47418ac2ee8189aecec85f566f7a6c309f3392613519a39c559618599bd1e63fb99f114b9d9d82fb9e411f1702425678f34d2c2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"drizzle-orm@npm:^0.44.5":
|
||||
version: 0.44.5
|
||||
resolution: "drizzle-orm@npm:0.44.5"
|
||||
peerDependencies:
|
||||
"@aws-sdk/client-rds-data": ">=3"
|
||||
"@cloudflare/workers-types": ">=4"
|
||||
"@electric-sql/pglite": ">=0.2.0"
|
||||
"@libsql/client": ">=0.10.0"
|
||||
"@libsql/client-wasm": ">=0.10.0"
|
||||
"@neondatabase/serverless": ">=0.10.0"
|
||||
"@op-engineering/op-sqlite": ">=2"
|
||||
"@opentelemetry/api": ^1.4.1
|
||||
"@planetscale/database": ">=1.13"
|
||||
"@prisma/client": "*"
|
||||
"@tidbcloud/serverless": "*"
|
||||
"@types/better-sqlite3": "*"
|
||||
"@types/pg": "*"
|
||||
"@types/sql.js": "*"
|
||||
"@upstash/redis": ">=1.34.7"
|
||||
"@vercel/postgres": ">=0.8.0"
|
||||
"@xata.io/client": "*"
|
||||
better-sqlite3: ">=7"
|
||||
bun-types: "*"
|
||||
expo-sqlite: ">=14.0.0"
|
||||
gel: ">=2"
|
||||
knex: "*"
|
||||
kysely: "*"
|
||||
mysql2: ">=2"
|
||||
pg: ">=8"
|
||||
postgres: ">=3"
|
||||
sql.js: ">=1"
|
||||
sqlite3: ">=5"
|
||||
peerDependenciesMeta:
|
||||
"@aws-sdk/client-rds-data":
|
||||
optional: true
|
||||
"@cloudflare/workers-types":
|
||||
optional: true
|
||||
"@electric-sql/pglite":
|
||||
optional: true
|
||||
"@libsql/client":
|
||||
optional: true
|
||||
"@libsql/client-wasm":
|
||||
optional: true
|
||||
"@neondatabase/serverless":
|
||||
optional: true
|
||||
"@op-engineering/op-sqlite":
|
||||
optional: true
|
||||
"@opentelemetry/api":
|
||||
optional: true
|
||||
"@planetscale/database":
|
||||
optional: true
|
||||
"@prisma/client":
|
||||
optional: true
|
||||
"@tidbcloud/serverless":
|
||||
optional: true
|
||||
"@types/better-sqlite3":
|
||||
optional: true
|
||||
"@types/pg":
|
||||
optional: true
|
||||
"@types/sql.js":
|
||||
optional: true
|
||||
"@upstash/redis":
|
||||
optional: true
|
||||
"@vercel/postgres":
|
||||
optional: true
|
||||
"@xata.io/client":
|
||||
optional: true
|
||||
better-sqlite3:
|
||||
optional: true
|
||||
bun-types:
|
||||
optional: true
|
||||
expo-sqlite:
|
||||
optional: true
|
||||
gel:
|
||||
optional: true
|
||||
knex:
|
||||
optional: true
|
||||
kysely:
|
||||
optional: true
|
||||
mysql2:
|
||||
optional: true
|
||||
pg:
|
||||
optional: true
|
||||
postgres:
|
||||
optional: true
|
||||
prisma:
|
||||
optional: true
|
||||
sql.js:
|
||||
optional: true
|
||||
sqlite3:
|
||||
optional: true
|
||||
checksum: 10c0/2f9bd8cc7395b3254574eb9e9c344b7cebd507ac61f1ee8783648ad3bb8a7983875f44c0eabedfd871496d7eae646dbc75111fa21de2c64d0c899fcea091e303
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"dts-resolver@npm:^2.1.1":
|
||||
version: 2.1.1
|
||||
resolution: "dts-resolver@npm:2.1.1"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user