From fe6d0b423d77f343833c7a98dfa16f1eb480d58a Mon Sep 17 00:00:00 2001 From: BTMuli Date: Wed, 25 Mar 2026 17:43:20 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=EF=BC=8C=E6=94=B9=E7=94=A8=E5=B8=B8=E9=87=8F?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE=EF=BC=8C=E9=80=82=E9=85=8Dtypescript=206?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - pnpm-lock.yaml | 73 ------------ src/components/viewPost/vp-btn-reply.vue | 60 +++++----- src/components/viewPost/vp-overlay-search.vue | 22 ++-- src/enum/bbs.ts | 111 +++++++++++++++++- src/pages/common/PostForum.vue | 25 ++-- src/pages/common/PostTopic.vue | 33 ++++-- src/request/painterReq.ts | 8 +- src/request/postReq.ts | 17 +-- src/types/BBS/Post.d.ts | 57 ++++++++- src/types/BBS/Reply.d.ts | 22 +++- tsconfig.json | 32 ++--- 12 files changed, 292 insertions(+), 169 deletions(-) diff --git a/package.json b/package.json index e158dc83..c7a66c46 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,6 @@ "@types/json-bigint": "^1.0.4", "@types/node": "^25.5.0", "@typescript-eslint/parser": "^8.57.2", - "@typescript/native-preview": "7.0.0-dev.20260321.1", "@vitejs/plugin-vue": "^6.0.5", "app-root-path": "^3.1.0", "concurrently": "^9.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 36e711da..a529f770 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -159,9 +159,6 @@ importers: '@typescript-eslint/parser': specifier: ^8.57.2 version: 8.57.2(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.2) - '@typescript/native-preview': - specifier: 7.0.0-dev.20260321.1 - version: 7.0.0-dev.20260321.1 '@vitejs/plugin-vue': specifier: ^6.0.5 version: 6.0.5(vite@8.0.2(@types/node@25.5.0)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.98.0)(sass@1.98.0)(terser@5.39.0)(tsx@4.21.0)(yaml@2.8.3))(vue@3.5.30(typescript@6.0.2)) @@ -1855,45 +1852,6 @@ packages: resolution: {integrity: sha512-zhahknjobV2FiD6Ee9iLbS7OV9zi10rG26odsQdfBO/hjSzUQbkIYgda+iNKK1zNiW2ey+Lf8MU5btN17V3dUw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260321.1': - resolution: {integrity: sha512-3LQP363bDCF/pmXqzhSCSkKXr1PpNl2elC167YFRPKRyJdrETiIwj3YAB8A6esn9D30pas5VLzfmeK/tUOf+6g==} - cpu: [arm64] - os: [darwin] - - '@typescript/native-preview-darwin-x64@7.0.0-dev.20260321.1': - resolution: {integrity: sha512-gCoKiv415CROgl0K8hEV8Lw/zvbYriWWmD7VxvpiQiTRqQmHppVXhLtb2OrGaPcsqpoBdYeCJQHN4wnohAkNLA==} - cpu: [x64] - os: [darwin] - - '@typescript/native-preview-linux-arm64@7.0.0-dev.20260321.1': - resolution: {integrity: sha512-15z7UWt0PG870ktcUbaa0NogAjXIYT4pSFWlsc95u8+1aITrBTMQgqRih5qUH8bHke3eeYwbpjfXaU4gNmexvw==} - cpu: [arm64] - os: [linux] - - '@typescript/native-preview-linux-arm@7.0.0-dev.20260321.1': - resolution: {integrity: sha512-QuAFR9eFQzuqtKTIaJ5XkNR4i5Q55b1SE7fUcIAS528aY9j+5P1cMpvJa8aOBCuRKxfMgV5UtamolZKGWWzaMw==} - cpu: [arm] - os: [linux] - - '@typescript/native-preview-linux-x64@7.0.0-dev.20260321.1': - resolution: {integrity: sha512-8yuzwkxQnNSpXjXK43Y5Pn6rBfNbJVIcd3Qh9n3Tzhgtr+lcoGgwgMvn8axnqaazkxIUB3PZuiGRcqr6XIq3LA==} - cpu: [x64] - os: [linux] - - '@typescript/native-preview-win32-arm64@7.0.0-dev.20260321.1': - resolution: {integrity: sha512-fCUk/VElUjMFmE6iFAtsy5r7kLxeLggEHOTWuR0HGYIUQze6EyAdDFqMPFFxvbzpUyFQFpRfUa0I/Fa5tqKh8g==} - cpu: [arm64] - os: [win32] - - '@typescript/native-preview-win32-x64@7.0.0-dev.20260321.1': - resolution: {integrity: sha512-CWGyck7+sbNwOhcL+ObHhtKZe2/+Y6OZlEdWX2mHjpv8ef7ohUbPCdS94p+e7jbVY56w8NAce2Xx7ppn/C1Ucg==} - cpu: [x64] - os: [win32] - - '@typescript/native-preview@7.0.0-dev.20260321.1': - resolution: {integrity: sha512-uScJZRWRxyi1l4EWwOtuO88Gh8sUTi0itcI4oKlyNtXkqik4Y7EHfs1sfYPDuAEJO3cvW6bqohHjGx3mcXSZzQ==} - hasBin: true - '@vitejs/plugin-vue@6.0.5': resolution: {integrity: sha512-bL3AxKuQySfk1iGcBsQnoRVexTPJq0Z/ixFVM8OhVJAP6ZXXXLtM7NFKWhLl30Kg7uTBqIaPXbh+nuQCuBDedg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -6066,37 +6024,6 @@ snapshots: '@typescript-eslint/types': 8.57.2 eslint-visitor-keys: 5.0.1 - '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260321.1': - optional: true - - '@typescript/native-preview-darwin-x64@7.0.0-dev.20260321.1': - optional: true - - '@typescript/native-preview-linux-arm64@7.0.0-dev.20260321.1': - optional: true - - '@typescript/native-preview-linux-arm@7.0.0-dev.20260321.1': - optional: true - - '@typescript/native-preview-linux-x64@7.0.0-dev.20260321.1': - optional: true - - '@typescript/native-preview-win32-arm64@7.0.0-dev.20260321.1': - optional: true - - '@typescript/native-preview-win32-x64@7.0.0-dev.20260321.1': - optional: true - - '@typescript/native-preview@7.0.0-dev.20260321.1': - optionalDependencies: - '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260321.1 - '@typescript/native-preview-darwin-x64': 7.0.0-dev.20260321.1 - '@typescript/native-preview-linux-arm': 7.0.0-dev.20260321.1 - '@typescript/native-preview-linux-arm64': 7.0.0-dev.20260321.1 - '@typescript/native-preview-linux-x64': 7.0.0-dev.20260321.1 - '@typescript/native-preview-win32-arm64': 7.0.0-dev.20260321.1 - '@typescript/native-preview-win32-x64': 7.0.0-dev.20260321.1 - '@vitejs/plugin-vue@6.0.5(vite@8.0.2(@types/node@25.5.0)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.98.0)(sass@1.98.0)(terser@5.39.0)(tsx@4.21.0)(yaml@2.8.3))(vue@3.5.30(typescript@6.0.2))': dependencies: '@rolldown/pluginutils': 1.0.0-rc.2 diff --git a/src/components/viewPost/vp-btn-reply.vue b/src/components/viewPost/vp-btn-reply.vue index aba95f7f..ebfebfc1 100644 --- a/src/components/viewPost/vp-btn-reply.vue +++ b/src/components/viewPost/vp-btn-reply.vue @@ -2,22 +2,22 @@