This commit is contained in:
2025-12-03 18:28:13 +08:00
parent fe3916e57e
commit 1e83377e3a
4 changed files with 395 additions and 377 deletions

View File

@@ -33,14 +33,14 @@
"@stackblitz/sdk": "^1.11.0",
"@tailwindcss/vite": "^4.1.17",
"@uiw/react-textarea-code-editor": "^3.1.1",
"antd": "^6.0.0",
"antd": "^6.0.1",
"clsx": "^2.1.1",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.19",
"eventemitter3": "^5.0.1",
"i18next": "^25.6.3",
"i18next": "^25.7.1",
"i18next-http-backend": "^3.0.2",
"immer": "^11.0.0",
"immer": "^11.0.1",
"js-yaml": "^4.1.1",
"lodash-es": "^4.17.21",
"marked": "^17.0.1",
@@ -49,17 +49,18 @@
"react": "19.2.0",
"react-dom": "19.2.0",
"react-dropzone": "^14.3.8",
"react-hook-form": "^7.66.1",
"react-hook-form": "^7.67.0",
"react-i18next": "^16.3.5",
"react-resizable-panels": "^3.0.6",
"react-router": "^7.9.6",
"react-router-dom": "^7.9.6",
"react-router": "^7.10.0",
"react-router-dom": "^7.10.0",
"react-toastify": "^11.0.5",
"vite-plugin-tsconfig-paths": "^1.4.1",
"zustand": "^5.0.8"
"zustand": "^5.0.9"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@kevisual/router": "^0.0.33",
"@kevisual/ssl": "^0.0.1",
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.12",
@@ -76,7 +77,7 @@
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"lucide-react": "^0.554.0",
"lucide-react": "^0.555.0",
"path-browserify": "^1.0.1",
"postcss-import": "^16.1.1",
"pretty-bytes": "^7.1.0",
@@ -86,8 +87,8 @@
"tailwindcss-animate": "^1.0.7",
"turbo": "^2.6.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.47.0",
"vite": "^7.2.4"
"typescript-eslint": "^8.48.1",
"vite": "^7.2.6"
},
"packageManager": "pnpm@10.23.0"
"packageManager": "pnpm@10.24.0"
}

742
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,7 @@ packages:
- packages/*
- '!packages/webshell/webshell-node'
- submodules/*
- '!submodules/wallnote'
onlyBuiltDependencies:
- '@tailwindcss/oxide'

View File

@@ -101,10 +101,10 @@ export class QueryMarkBase<T extends SimpleObject = SimpleObject> {
}
async getMark(id: string, opts?: DataOpts) {
return this.post<Result<Mark>>({ key: 'get', payload: { id } }, opts);
return this.post<Result<Mark>>({ key: 'get', id }, opts);
}
async getVersion(id: string, opts?: DataOpts) {
return this.post<Result<{ version: number; id: string }>>({ key: 'getVersion', payload: { id } }, opts);
return this.post<Result<{ version: number; id: string }>>({ key: 'getVersion', id }, opts);
}
/**
* 检查版本
@@ -133,7 +133,7 @@ export class QueryMarkBase<T extends SimpleObject = SimpleObject> {
}
async deleteMark(id: string, opts?: DataOpts) {
return this.post<Result<Mark>>({ key: 'delete', payload: { id } }, opts);
return this.post<Result<Mark>>({ key: 'delete', id }, opts);
}
}
export class QueryMark extends QueryMarkBase<SimpleObject> {