Skip to content

Let's use AI to Earn!

refacetor(web): enhance web i18n and refine member point rules (#179)

布莱恩·奥夫托·杰森张023b401e0fdb
diff --git a/.github/workflows/web-check.yml b/.github/workflows/web-check.yml
index 354d44d2..06f8c73f 100644
--- a/.github/workflows/web-check.yml
+++ b/.github/workflows/web-check.yml
@@ -44,9 +44,9 @@ jobs:
working-directory: ${{ env.MONOREPO_DIR }}
run: pnpm install --frozen-lockfile
- - name: Run ESLint
- working-directory: ${{ env.MONOREPO_DIR }}
- run: pnpm lint
+# - name: Run ESLint
+# working-directory: ${{ env.MONOREPO_DIR }}
+# run: pnpm lint
- name: Run build
working-directory: ${{ env.MONOREPO_DIR }}
diff --git a/project/web/.eslintignore b/project/web/.eslintignore
deleted file mode 100644
index 1ca4c483..00000000
--- a/project/web/.eslintignore
+++ /dev/null
@@ -1 +0,0 @@
-/src/components/ImageEditorModal/tui-image-editor/
diff --git a/project/web/.prettierrc.js b/project/web/.prettierrc.js
deleted file mode 100644
index 1fa96bb9..00000000
--- a/project/web/.prettierrc.js
+++ /dev/null
@@ -1,10 +0,0 @@
-module.exports = {
- printWidth: 80,
- tabWidth: 2,
- useTabs: false,
- semi: true,
- singleQuote: false,
- trailingComma: "all",
- bracketSpacing: true,
- arrowParens: "always",
-};
diff --git a/project/web/README.md b/project/web/README.md
index adeafcec..1ee368ea 100644
--- a/project/web/README.md
+++ b/project/web/README.md
@@ -1,12 +1,9 @@
# 哎呦賺web端
-
## 地址
-https://test.aitoearn.ai
-## 测试服文档
-https://test.aitoearn.ai/api/docs
+https://aitoearn.ai
-## 测试地址
-https://apitest.aitoearn.ai/api/
+## 测试服文档
+https://app.apifox.com/project/6987843
diff --git a/project/web/docs/api.json b/project/web/docs/api.json
deleted file mode 100644
index 4e6618f7..00000000
--- a/project/web/docs/api.json
+++ /dev/null
@@ -1,13008 +0,0 @@
-{
- "openapi": "3.0.0",
- "paths": {
- "/": {
- "get": {
- "operationId": "AppController_getHello",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "tags": [
- "App"
- ]
- }
- },
- "/api/test/test": {
- "get": {
- "operationId": "TestController_addDefaultContent",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "tags": [
- "测试"
- ]
- }
- },
- "/api/test/setVip/{type}/{userId}": {
- "get": {
- "operationId": "TestController_setUserVipInfo",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "userId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "tags": [
- "测试"
- ]
- }
- },
- "/api/user/info/mail/{mail}": {
- "get": {
- "description": "用户信息",
- "operationId": "UserController_infoByMail",
- "parameters": [
- {
- "name": "mail",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "用户信息",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/user/mine": {
- "get": {
- "description": "获取自己的用户信息",
- "operationId": "UserController_getUserInfoById",
- "parameters": [],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserResDto"
- }
- }
- }
- },
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取自己的用户信息",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/user/info/update": {
- "put": {
- "description": "更新用户信息",
- "operationId": "UserController_updateInfo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateUserInfoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新用户信息",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/user/vip/set/experience": {
- "put": {
- "description": "设置用户体验VIP信息",
- "operationId": "UserController_setVipExperience",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "设置用户体验VIP信息",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/user/points/records": {
- "get": {
- "operationId": "UserController_getMyPointsRecords",
- "parameters": [
- {
- "name": "page",
- "required": true,
- "in": "query",
- "description": "页码",
- "schema": {
- "default": 1,
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "query",
- "description": "每页数量",
- "schema": {
- "default": 10,
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/PointsRecordsVo"
- }
- }
- }
- }
- },
- "summary": "获取我的积分记录",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/login/mail": {
- "post": {
- "description": "邮箱登陆/注册",
- "operationId": "LoginController_loginByMail",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MailLoginDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "邮箱登陆/注册",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/mail/regist/url": {
- "get": {
- "description": "用户点击链接后,进行注册,返回注册结果的html文本",
- "operationId": "LoginController_registByMail",
- "parameters": [
- {
- "name": "mail",
- "required": true,
- "in": "query",
- "schema": {
- "title": "邮箱",
- "type": "string"
- }
- },
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "邮箱注册确认",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/mail/regist/back": {
- "post": {
- "description": "轮询获取",
- "operationId": "LoginController_getRegistByMailBack",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetRegistByMailBackDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取邮箱注册返回",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/repassword/mail": {
- "post": {
- "description": "邮箱重置密码",
- "operationId": "LoginController_repasswordByMail",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MailRepasswordDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "邮箱重置密码",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/repassword/mail/back/url": {
- "get": {
- "description": "用户点击链接后,进行重设",
- "operationId": "LoginController_repasswordUrlByMail",
- "parameters": [
- {
- "name": "mail",
- "required": true,
- "in": "query",
- "schema": {
- "title": "邮箱",
- "type": "string"
- }
- },
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "邮箱重设密码",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/repassword/mail/back": {
- "post": {
- "description": "轮询获取",
- "operationId": "LoginController_getRepasswordByMailBack",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetRegistByMailBackDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "邮箱重设密码",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/google": {
- "post": {
- "description": "google登录",
- "operationId": "LoginController_loginByGoogle",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GoogleLoginDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "google登录",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/cancel/code": {
- "get": {
- "description": "获取注销验证码",
- "operationId": "LoginController_getCancelMailCode",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "获取注销验证码",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/cancel": {
- "delete": {
- "description": "注销",
- "operationId": "LoginController_cancelByMail",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserCancelDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "注销",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/user/pop/code": {
- "get": {
- "operationId": "UserPopController_generateUsePopularizeCode",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "生成并获取自己的推广码",
- "tags": [
- "用户推广"
- ]
- }
- },
- "/api/feedback": {
- "post": {
- "description": "提交反馈",
- "operationId": "FeedbackController_createFeedback",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateFeedBackDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "提交反馈",
- "tags": [
- "反馈"
- ]
- }
- },
- "/api/appConfigs/{appId}": {
- "get": {
- "description": "获取配置",
- "operationId": "AppConfigsController_getAppConfigList",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取配置",
- "tags": [
- "应用配置"
- ]
- }
- },
- "/api/file/uploadUrl": {
- "get": {
- "description": "获取分片上传的签名URL",
- "operationId": "FileController_getUploadPartUrl",
- "parameters": [],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取分片上传的签名URL",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/file/upload": {
- "post": {
- "description": "存入临时目录",
- "operationId": "FileController_uploadFile",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "multipart/form-data": {
- "schema": {
- "type": "object",
- "properties": {
- "file": {
- "type": "string",
- "format": "binary"
- }
- }
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "上传文件",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/file/uploadPart/init": {
- "post": {
- "description": "初始化文件分片上传",
- "operationId": "FileController_initiateMultipartUpload",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InitMultipartUploadDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "初始化文件分片上传",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/file/uploadPart/upload": {
- "post": {
- "description": "上传文件分片",
- "operationId": "FileController_uploadPart",
- "parameters": [
- {
- "name": "fileId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "文件key",
- "type": "string"
- }
- },
- {
- "name": "uploadId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "上传ID",
- "type": "string"
- }
- },
- {
- "name": "partNumber",
- "required": true,
- "in": "query",
- "schema": {
- "title": "分片索引",
- "type": "number"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "multipart/form-data": {
- "schema": {
- "type": "object",
- "properties": {
- "file": {
- "type": "string",
- "format": "binary"
- },
- "fileId": {
- "type": "string"
- },
- "uploadId": {
- "type": "string"
- },
- "partNumber": {
- "type": "number"
- }
- }
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "上传文件分片",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/file/uploadPart/complete": {
- "post": {
- "description": "合并文件分片",
- "operationId": "FileController_completeMultipartUpload",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CompletePartDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "合并文件分片",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/plat/publish/create": {
- "post": {
- "operationId": "PublishController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreatePublishDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "创建发布",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/run/{id}": {
- "get": {
- "operationId": "PublishController_run",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "立即执行发布任务(测试用)",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/createRecord": {
- "post": {
- "operationId": "PublishController_createRecord",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreatePublishRecordDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "创建发布记录",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/getList": {
- "post": {
- "operationId": "PublishController_getList",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/PubRecordListFilterDto"
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "返回发布记录列表",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PublishRecordItemDto"
- }
- }
- }
- }
- },
- "default": {
- "description": ""
- }
- },
- "summary": "获取发布记录",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/updateTaskTime": {
- "post": {
- "operationId": "PublishController_updatePublishRecordTime",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdatePublishRecordTimeDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "修改发布任务时间",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/delete/{id}": {
- "delete": {
- "operationId": "PublishController_delete",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除发布任务,注意,只能删除未发布的任务,不能删除已经发布的记录",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/nowPubTask/{id}": {
- "post": {
- "operationId": "PublishController_nowPubTask",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "立即发布任务(在n天之后的任务想要立即发布)",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/publishInfo/data": {
- "get": {
- "operationId": "PublishController_publishInfoData",
- "parameters": [],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取发布信息数据",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/publishDayInfo/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "PublishController_publishDataInfoList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取每天发布信息数据列表",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/records/{id}": {
- "get": {
- "operationId": "PublishController_getPublishRecordDetail",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取发布记录详情",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/test/authPage": {
- "post": {
- "operationId": "PlatTestController_setAuthPage",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "tags": [
- "plat/test - 平台测试"
- ]
- }
- },
- "/api/plat/test/authPage/{id}": {
- "get": {
- "operationId": "PlatTestController_getAuthPage",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "tags": [
- "plat/test - 平台测试"
- ]
- }
- },
- "/api/channel/interact/addArcComment": {
- "post": {
- "operationId": "InteractController_addArcComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AddArcCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "添加作品评论",
- "tags": [
- "渠道互动"
- ]
- }
- },
- "/api/channel/interact/getArcCommentList/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "InteractController_getArcCommentList",
- "parameters": [
- {
- "name": "recordId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取作品的评论列表",
- "tags": [
- "渠道互动"
- ]
- }
- },
- "/api/channel/interact/replyComment": {
- "post": {
- "operationId": "InteractController_replyComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReplyCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "回复评论",
- "tags": [
- "渠道互动"
- ]
- }
- },
- "/api/channel/interact/delComment": {
- "delete": {
- "operationId": "InteractController_delComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DelCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除评论",
- "tags": [
- "渠道互动"
- ]
- }
- },
- "/api/channel/dataCube/accountDataCube/{accountId}": {
- "get": {
- "operationId": "DataCubeController_getAccountDataCube",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号的统计数据",
- "tags": [
- "渠道用户数据"
- ]
- }
- },
- "/api/channel/dataCube/getAccountDataBulk/{accountId}": {
- "get": {
- "operationId": "DataCubeController_getAccountDataBulk",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号的统计数据",
- "tags": [
- "渠道用户数据"
- ]
- }
- },
- "/api/channel/dataCube/getArcDataCube/{accountId}/{dataId}": {
- "get": {
- "operationId": "DataCubeController_getArcDataCube",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "dataId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号的统计数据",
- "tags": [
- "渠道用户数据"
- ]
- }
- },
- "/api/channel/dataCube/getArcDataBulk/{accountId}/{dataId}": {
- "get": {
- "operationId": "DataCubeController_getArcDataBulk",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "dataId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号的统计数据",
- "tags": [
- "渠道用户数据"
- ]
- }
- },
- "/api/channel/skKey": {
- "post": {
- "description": "创建skKey",
- "operationId": "SkKeyController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateSkKeyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "创建skKey",
- "tags": [
- "频道MCP的SkKey"
- ]
- },
- "put": {
- "description": "更新skKey",
- "operationId": "SkKeyController_upInfo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SkKeyUpInfoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新skKey",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/ref": {
- "delete": {
- "description": "删除关联",
- "operationId": "SkKeyController_delRefAccount",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除关联",
- "tags": [
- "频道MCP的SkKey"
- ]
- },
- "post": {
- "description": "创建关联",
- "operationId": "SkKeyController_addRefAccount",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SkKeyAddRefAccountDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "创建关联",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/{key}": {
- "delete": {
- "description": "删除skKey",
- "operationId": "SkKeyController_del",
- "parameters": [
- {
- "name": "key",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除skKey",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/info/{key}": {
- "get": {
- "description": "获取skKey",
- "operationId": "SkKeyController_getInfo",
- "parameters": [
- {
- "name": "key",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取skKey",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取skKey列表",
- "operationId": "SkKeyController_list",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取skKey列表",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/ref/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取关联列表",
- "operationId": "SkKeyController_getRefAccountList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "key",
- "required": true,
- "in": "query",
- "description": "key",
- "schema": {
- "title": "key",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "获取关联列表",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/plat/bilibili/auth/back/{taskId}": {
- "get": {
- "operationId": "BilibiliController_getAccessToken",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/auth/url/{type}": {
- "get": {
- "operationId": "BilibiliController_getAuthUrl",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取页面的认证URL",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/auth/create-account/{taskId}": {
- "post": {
- "operationId": "BilibiliController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/auth/status/{accountId}": {
- "get": {
- "operationId": "BilibiliController_checkAccountAuthStatus",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/video/init": {
- "post": {
- "operationId": "BilibiliController_videoInit",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoInitDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "视频初始化",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/video/part/upload/{accountId}": {
- "post": {
- "operationId": "BilibiliController_uploadVideoPart",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "uploadToken",
- "required": true,
- "in": "query",
- "schema": {
- "title": "上传token",
- "type": "string"
- }
- },
- {
- "name": "partNumber",
- "required": true,
- "in": "query",
- "schema": {
- "title": "分片索引",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "上传视频分片",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/video/complete/{accountId}": {
- "post": {
- "operationId": "BilibiliController_videoComplete",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoCompleteDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "视频分片合并",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/cover/upload/{accountId}": {
- "post": {
- "operationId": "BilibiliController_coverUpload",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "封面上传",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/video/upload/{accountId}": {
- "post": {
- "description": "因微服务nats传输限制,只允许20M以下文件",
- "operationId": "BilibiliController_uploadLitVideo",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UploadLitVideoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "上传小视频(注意)",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/archive/add-by-utoken": {
- "post": {
- "operationId": "BilibiliController_archiveAddByUtoken",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ArchiveAddByUtokenBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "视频稿件提交",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/archive/type/list/{accountId}": {
- "get": {
- "operationId": "BilibiliController_archiveTypeList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "分区查询",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/archive/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "BilibiliController_getArchiveList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "账户ID",
- "type": "string"
- }
- },
- {
- "name": "status",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string",
- "enum": [
- "all",
- "is_pubing",
- "pubed",
- "not_pubed"
- ]
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取稿件列表",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/stat/user/{accountId}": {
- "get": {
- "operationId": "BilibiliController_getUserStat",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取用户数据",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/stat/arc": {
- "get": {
- "operationId": "BilibiliController_getArcStat",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "账户ID",
- "type": "string"
- }
- },
- {
- "name": "resourceId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "稿件ID",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取稿件数据",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/stat/inc/arc/{accountId}": {
- "get": {
- "operationId": "BilibiliController_getArcIncStat",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取稿件增量数据数据",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/wxGzh/auth/url/{type}": {
- "get": {
- "operationId": "WxGzhController_createAuthTask",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "发起微信授权登陆",
- "tags": [
- "plat/wxGzh - 微信公众号"
- ]
- }
- },
- "/api/plat/wxGzh/auth/create-account/{taskId}": {
- "get": {
- "operationId": "WxGzhController_getAuthTaskInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/wxGzh - 微信公众号"
- ]
- }
- },
- "/api/plat/wxGzh/account/userCumulate": {
- "get": {
- "operationId": "WxGzhController_getUserCumulate",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "账户ID",
- "type": "string"
- }
- },
- {
- "name": "beginDate",
- "required": true,
- "in": "query",
- "schema": {
- "title": "开始日期",
- "type": "string"
- }
- },
- {
- "name": "endDate",
- "required": true,
- "in": "query",
- "schema": {
- "title": "结束日期",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取累计用户数据",
- "tags": [
- "plat/wxGzh - 微信公众号"
- ]
- }
- },
- "/api/plat/wxGzh/account/userRead": {
- "get": {
- "operationId": "WxGzhController_getUserRead",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "账户ID",
- "type": "string"
- }
- },
- {
- "name": "beginDate",
- "required": true,
- "in": "query",
- "schema": {
- "title": "开始日期",
- "type": "string"
- }
- },
- {
- "name": "endDate",
- "required": true,
- "in": "query",
- "schema": {
- "title": "结束日期",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取图文阅读概况数据",
- "tags": [
- "plat/wxGzh - 微信公众号"
- ]
- }
- },
- "/api/plat/wx/auth/back": {
- "post": {
- "operationId": "WxPlatController_authBackGet",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AuthBackQueryDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "接收授权回调",
- "tags": [
- "WxPlat"
- ]
- }
- },
- "/api/plat/wx/callback/msg": {
- "post": {
- "operationId": "WxPlatController_callbackMsg",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "接收消息回调",
- "tags": [
- "WxPlat"
- ]
- }
- },
- "/api/plat/youtube/auth/url": {
- "get": {
- "operationId": "YoutubeController_getAuthUrl",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取页面的认证URL",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/auth/callback": {
- "get": {
- "operationId": "YoutubeController_getAccessToken",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/auth/create-account/{taskId}": {
- "post": {
- "operationId": "YoutubeController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/auth/status/{accountId}": {
- "get": {
- "operationId": "YoutubeController_checkAccountAuthStatus",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "检查账号是否已经授权",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/auth/refresh-token/{accountId}": {
- "post": {
- "operationId": "YoutubeController_refreshToken",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "刷新令牌token",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/categories": {
- "get": {
- "operationId": "YoutubeController_getVideoCategories",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": false,
- "in": "query",
- "description": "视频类别ID, 注意:id和regionCode必须有且只能选择一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "regionCode",
- "required": false,
- "in": "query",
- "description": "区域代码, 注意:id和regionCode只能选择一个",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取视频类别列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/list": {
- "get": {
- "operationId": "YoutubeController_getVideosList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "chart",
- "required": false,
- "in": "query",
- "description": "用于标识您要检索的图表。这里只有一个值,mostPopular – 返回指定内容区域和视频类别中最热门的视频。id、myRating、chart这三个参数必须且只能选一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": false,
- "in": "query",
- "description": "视频ID, 多个id用英文逗号分隔。注意:id、myRating、chart这三个参数必须且只能选一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "myRating",
- "required": false,
- "in": "query",
- "description": "是否获取我喜欢的视频, 注意:id、myRating、chart这三个参数必须且只能选一个",
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "maxResults",
- "required": false,
- "in": "query",
- "description": "最大返回结果数",
- "schema": {
- "type": "number"
- }
- },
- {
- "name": "pageToken",
- "required": false,
- "in": "query",
- "description": "分页令牌",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取视频列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/threads/insert": {
- "post": {
- "operationId": "YoutubeController_insertCommentThreads",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InsertCommentThreadsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建评论会话",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/threads/list": {
- "get": {
- "operationId": "YoutubeController_getCommentThreadsList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": false,
- "in": "query",
- "description": "评论会话ID,多个id以英文逗号隔开,注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "allThreadsRelatedToChannelId",
- "required": false,
- "in": "query",
- "description": "关联的频道ID。注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "videoId",
- "required": false,
- "in": "query",
- "description": "视频ID 注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "pageToken",
- "required": false,
- "in": "query",
- "description": "分页令牌,注意:此参数不能与 id 参数结合使用。",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "order",
- "required": false,
- "in": "query",
- "description": "排序方式,注意:此参数不能与 id 参数结合使用。time - 默认,评论会话会按时间排序。relevance - 评论会话按相关性排序。",
- "schema": {
- "type": "string",
- "enum": [
- "time",
- "relevance"
- ]
- }
- },
- {
- "name": "searchTerms",
- "required": false,
- "in": "query",
- "description": "搜索关键词,注意:此参数不能与 id 参数结合使用。",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取评论会话列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/threads/moderation/set": {
- "post": {
- "operationId": "YoutubeController_setCommentThreadsModerationStatus",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SetCommentThreadsModerationStatusDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "设置评论会话的审核状态",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/insert": {
- "post": {
- "operationId": "YoutubeController_insertComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InsertCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建二级评论",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/list": {
- "get": {
- "operationId": "YoutubeController_getCommentsList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": true,
- "in": "query",
- "description": "评论ID,多个id用英文逗号分隔,注意:id和 parentId 必须有且只能有其中一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "parentId",
- "required": false,
- "in": "query",
- "description": "父评论ID,注意:id和 parentId 必须有且只能有其中一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "maxResults",
- "required": false,
- "in": "query",
- "description": "最大返回结果数",
- "schema": {
- "type": "number"
- }
- },
- {
- "name": "pageToken",
- "required": false,
- "in": "query",
- "description": "分页令牌",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取子评论列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/update": {
- "post": {
- "operationId": "YoutubeController_updateComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新评论",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/delete": {
- "post": {
- "operationId": "YoutubeController_deleteComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除评论",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/rating/set": {
- "post": {
- "operationId": "YoutubeController_setVideoRate",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoRateDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "设置视频的点赞、踩",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/rating": {
- "get": {
- "operationId": "YoutubeController_getVideoRate",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": true,
- "in": "query",
- "description": "视频ID,多个id用英文逗号分隔",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取视频的点赞、踩",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/delete": {
- "post": {
- "operationId": "YoutubeController_deleteVideo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteVideoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除视频",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/update": {
- "post": {
- "operationId": "YoutubeController_updateVideo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateVideoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新视频",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/create": {
- "post": {
- "operationId": "YoutubeController_createPlaylist",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InsertPlayListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建播放列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/update": {
- "post": {
- "operationId": "YoutubeController_updatePlaylist",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdatePlayListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新播放列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/delete": {
- "post": {
- "operationId": "YoutubeController_deletePlaylist",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeletePlayListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除播放列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/list": {
- "post": {
- "operationId": "YoutubeController_getPlayList",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetPlayListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取播放列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/items/insert": {
- "post": {
- "operationId": "YoutubeController_insertPlayListItems",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InsertPlayItemsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "插入播放列表项",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/items/update": {
- "post": {
- "operationId": "YoutubeController_updatePlayListItems",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdatePlayItemsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新播放列表项",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/items/delete": {
- "post": {
- "operationId": "YoutubeController_deletePlayListItems",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeletePlayItemsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除播放列表项",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/items/list": {
- "post": {
- "operationId": "YoutubeController_getPlayListItems",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetPlayItemsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取播放列表项",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/channel/list": {
- "get": {
- "operationId": "YoutubeController_getChannelsList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "forHandle",
- "required": false,
- "in": "query",
- "description": "标识名,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "forUsername",
- "required": false,
- "in": "query",
- "description": "用户名,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": false,
- "in": "query",
- "description": "频道ID,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "mine",
- "required": false,
- "in": "query",
- "description": "我的频道,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "maxResults",
- "required": false,
- "in": "query",
- "description": "最大结果数",
- "schema": {
- "type": "number"
- }
- },
- {
- "name": "pageToken",
- "required": false,
- "in": "query",
- "description": "分页令牌",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取频道列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/channel/update/channelId/{accountId}": {
- "get": {
- "operationId": "YoutubeController_updateChannelId",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新账号频道ID",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/channel/sections/list": {
- "post": {
- "operationId": "YoutubeController_getChannelsSectionsList",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetChannelsSectionsListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取频道板块列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/common/params": {
- "get": {
- "operationId": "YoutubeController_getCommonParams",
- "parameters": [],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取通用数据",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/search": {
- "post": {
- "operationId": "YoutubeController_search",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SearchDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "搜索",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/kwai/auth/url/{type}": {
- "get": {
- "operationId": "KwaiController_getAuth",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "开始授权,创建任务",
- "tags": [
- "plat/kwai - 快手平台"
- ]
- }
- },
- "/api/plat/kwai/auth/create-account/{taskId}": {
- "post": {
- "operationId": "KwaiController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/kwai - 快手平台"
- ]
- }
- },
- "/api/plat/kwai/auth/back/{taskId}": {
- "get": {
- "operationId": "KwaiController_getAccessToken",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "tags": [
- "plat/kwai - 快手平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/url": {
- "post": {
- "operationId": "TiktokController_getAuthUrl",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetAuthUrlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取页面的认证URL",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/info/{taskId}": {
- "get": {
- "operationId": "TiktokController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询认证信息",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/back": {
- "get": {
- "operationId": "TiktokController_createAccountAndSetAccessToken",
- "parameters": [
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "title": "授权码",
- "type": "string"
- }
- },
- {
- "name": "state",
- "required": true,
- "in": "query",
- "schema": {
- "title": "状态码",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "创建账号并设置授权Token",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/refresh-token": {
- "post": {
- "operationId": "TiktokController_refreshAccessToken",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RefreshTokenDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "刷新访问令牌",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/revoke-token/{accountId}": {
- "post": {
- "operationId": "TiktokController_revokeAccessToken",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "撤销访问令牌",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/creator/info/{accountId}": {
- "get": {
- "operationId": "TiktokController_getCreatorInfo",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取创作者信息",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/account/status/{accountId}": {
- "get": {
- "operationId": "TiktokController_checkAccountStatus",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "检查账号状态",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/publish/video/init": {
- "post": {
- "operationId": "TiktokController_initVideoPublish",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoPublishDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "初始化视频发布",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/publish/photo/init": {
- "post": {
- "operationId": "TiktokController_initPhotoPublish",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/PhotoPublishDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "初始化照片发布",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/publish/status/{accountId}/{publishId}": {
- "get": {
- "operationId": "TiktokController_getPublishStatus",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "publishId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询发布状态",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/upload/video": {
- "post": {
- "description": "上传视频文件到指定的上传URL",
- "operationId": "TiktokController_uploadVideoFile",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UploadVideoFileDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "上传视频文件",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/webhook": {
- "post": {
- "operationId": "TiktokController_handleWebhookEvent",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "TikTok Webhook事件接收",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/pinterest/board": {
- "post": {
- "operationId": "PinterestController_createBoard",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateBoardBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建board",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- },
- "get": {
- "operationId": "PinterestController_getBoardList",
- "parameters": [
- {
- "name": "page",
- "required": false,
- "in": "query",
- "schema": {
- "title": "页码",
- "type": "string"
- }
- },
- {
- "name": "size",
- "required": false,
- "in": "query",
- "schema": {
- "title": "每页大小",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取board列表信息",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/board/{id}": {
- "get": {
- "operationId": "PinterestController_getBoardById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取单个board",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- },
- "delete": {
- "operationId": "PinterestController_delBoardById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除单个board",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/pin": {
- "post": {
- "operationId": "PinterestController_createPin",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreatePinBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建pin",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- },
- "get": {
- "operationId": "PinterestController_getPinList",
- "parameters": [
- {
- "name": "page",
- "required": false,
- "in": "query",
- "schema": {
- "title": "页码",
- "type": "string"
- }
- },
- {
- "name": "size",
- "required": false,
- "in": "query",
- "schema": {
- "title": "每页大小",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取pin列表",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/pin/{id}": {
- "get": {
- "operationId": "PinterestController_getPinById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取pin",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- },
- "delete": {
- "operationId": "PinterestController_delPinById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除单个pin",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/getAuth": {
- "get": {
- "operationId": "PinterestController_getAuth",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取授权登录页面",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/checkAuth": {
- "get": {
- "operationId": "PinterestController_checkAuth",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询授权结果",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/authWebhook": {
- "get": {
- "operationId": "PinterestController_authWebhook",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/twitter/auth/url": {
- "post": {
- "operationId": "TwitterController_getAuthUrl",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetAuthUrlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取Twitter oAuth2.0 用户授权页面URL",
- "tags": [
- "plat/twitter - Twitter平台"
- ]
- }
- },
- "/api/plat/twitter/auth/info/{taskId}": {
- "get": {
- "operationId": "TwitterController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询用户oAuth2.0任务状态",
- "tags": [
- "plat/twitter - Twitter平台"
- ]
- }
- },
- "/api/plat/twitter/auth/back": {
- "get": {
- "operationId": "TwitterController_createAccountAndSetAccessToken",
- "parameters": [
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "title": "授权码",
- "type": "string"
- }
- },
- {
- "name": "state",
- "required": true,
- "in": "query",
- "schema": {
- "title": "状态码",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "oAuth认证回调后续操作, 保存AccessToken并创建用户",
- "tags": [
- "plat/twitter - Twitter平台"
- ]
- }
- },
- "/api/plat/meta/auth/url": {
- "post": {
- "operationId": "MetaController_getAuthUrl",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetAuthUrlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Meta平台 oAuth2.0 用户授权页面URL",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/auth/info/{taskId}": {
- "get": {
- "operationId": "MetaController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询用户oAuth2.0任务状态",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/facebook/pages": {
- "get": {
- "operationId": "MetaController_getFacebookPages",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询Facebook用户Pages列表",
- "tags": [
- "plat/meta - Meta平台"
- ]
- },
- "post": {
- "operationId": "MetaController_selectFacebookPages",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/FacebookPageSelectionDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "选择确认Facebook Pages",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/auth/back": {
- "get": {
- "operationId": "MetaController_createAccountAndSetAccessToken",
- "parameters": [
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "title": "授权码",
- "type": "string"
- }
- },
- {
- "name": "state",
- "required": true,
- "in": "query",
- "schema": {
- "title": "状态码",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "oAuth认证回调后续操作, 保存AccessToken并创建用户",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/facebook/{accountId}/published_posts": {
- "get": {
- "operationId": "MetaController_getFacebookPagePublishedPosts",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "pageId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Facebook Page的已发布帖子列表",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/facebook/{accountId}/insights": {
- "get": {
- "operationId": "MetaController_getFacebookPageInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Facebook Page的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/facebook/{accountId}/{postId}/insights": {
- "get": {
- "operationId": "MetaController_getFacebookPostInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "postId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Facebook Page的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/instagram/{accountId}": {
- "get": {
- "operationId": "MetaController_getInstagramAccountInfo",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Instagram Account的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/instagram/{accountId}/insights": {
- "get": {
- "operationId": "MetaController_getInstagramAccountInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Instagram Account的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/instagram/{accountId}/{postId}/insights": {
- "get": {
- "operationId": "MetaController_getInstagramPostInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "postId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "Instagram Post的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/threads/{accountId}/insights": {
- "get": {
- "operationId": "MetaController_getThreadsAccountInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "threads Account的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/threads/{accountId}/{postId}/insights": {
- "get": {
- "operationId": "MetaController_getThreadsPostInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "postId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Facebook Page的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/channel/interactionRecord": {
- "post": {
- "operationId": "InteractionRecordController_add",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AddInteractionRecordDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "添加渠道互动记录",
- "tags": [
- "渠道互动记录"
- ]
- }
- },
- "/api/channel/interactionRecord/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "InteractionRecordController_getArcCommentList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取渠道互动记录列表",
- "tags": [
- "渠道互动记录"
- ]
- }
- },
- "/api/channel/interactionRecord/{id}": {
- "delete": {
- "operationId": "InteractionRecordController_replyComment",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除记录",
- "tags": [
- "渠道互动记录"
- ]
- }
- },
- "/api/channel/replyCommentRecord": {
- "post": {
- "operationId": "ReplyCommentRecordController_add",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AddReplyCommentRecordDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "添加评论回复记录",
- "tags": [
- "评论回复记录"
- ]
- }
- },
- "/api/channel/replyCommentRecord/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "ReplyCommentRecordController_getArcCommentList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取评论回复记录列表",
- "tags": [
- "评论回复记录"
- ]
- }
- },
- "/api/channel/replyCommentRecord/{id}": {
- "delete": {
- "operationId": "ReplyCommentRecordController_replyComment",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除评论回复记录",
- "tags": [
- "评论回复记录"
- ]
- }
- },
- "/api/account/login": {
- "post": {
- "operationId": "AccountController_createOrUpdateAccount",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateAccountDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建账号",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/update": {
- "post": {
- "operationId": "AccountController_updateAccountInfo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAccountDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新账号",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/status": {
- "post": {
- "operationId": "AccountController_updateAccountStatus",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAccountStatusDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新账号状态",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/{id}": {
- "get": {
- "operationId": "AccountController_getAccountInfo",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号信息",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/list/all": {
- "get": {
- "operationId": "AccountController_getUserAccounts",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取用户所有账户",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/deletes": {
- "post": {
- "operationId": "AccountController_deletes",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteAccountsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除多个账户",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/list/ids": {
- "post": {
- "operationId": "AccountController_getAccountListByIds",
- "parameters": [
- {
- "name": "ids",
- "required": true,
- "in": "query",
- "description": "账号ID数组",
- "schema": {
- "type": "array",
- "items": {
- "type": "number"
- }
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取账户列表",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/count": {
- "get": {
- "operationId": "AccountController_getAccountCount",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "number"
- }
- }
- }
- }
- },
- "summary": "获取账户总数",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/statistics": {
- "get": {
- "operationId": "AccountController_getAccountStatistics",
- "parameters": [
- {
- "name": "type",
- "required": false,
- "in": "query",
- "description": "账户类型",
- "schema": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ]
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取账户统计",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/delete/{id}": {
- "post": {
- "operationId": "AccountController_deleteAccount",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除账户",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/statistics/update": {
- "post": {
- "operationId": "AccountController_updateAccountStatistics",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAccountStatisticsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "number"
- }
- }
- }
- }
- },
- "summary": "更新账户统计信息",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/list/spaceIds": {
- "post": {
- "operationId": "AccountController_getAccountListBySpaceIds",
- "parameters": [
- {
- "name": "spaceIds",
- "required": true,
- "in": "query",
- "description": "空间ID数组",
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取账户列表(根据空间ids)",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/accountGroup/create": {
- "post": {
- "operationId": "AccountGroupController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateAccountGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建组",
- "tags": [
- "账户组"
- ]
- }
- },
- "/api/accountGroup/update": {
- "post": {
- "operationId": "AccountGroupController_updateGroup",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAccountGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新组",
- "tags": [
- "账户组"
- ]
- }
- },
- "/api/accountGroup/deletes": {
- "post": {
- "operationId": "AccountGroupController_deletes",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteAccountGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除账户组",
- "tags": [
- "账户组"
- ]
- }
- },
- "/api/accountGroup/getList": {
- "get": {
- "operationId": "AccountGroupController_getUserAccounts",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取用户所有账户组",
- "tags": [
- "账户组"
- ]
- }
- },
- "/api/fingerprint/generateFingerprint": {
- "post": {
- "description": "生成指纹浏览器参数",
- "operationId": "FingerprintController_cenerateFingerprin",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenerateFingerprintDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "指纹生成"
- ]
- }
- },
- "/api/tools/ai/video/title": {
- "post": {
- "description": "视频文件只能输入一个,大小限制为 150 MB,时长限制为 40s。",
- "operationId": "AiToolsController_videoAiTitle",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoAiDesDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "视频AI标题",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "视频AI标题",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/review": {
- "post": {
- "description": "对作品进行智能评论",
- "operationId": "AiToolsController_reviewAi",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReviewAi"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "评论",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "智能评论",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/reviewImg": {
- "post": {
- "description": "对作品封面图进行智能评论",
- "operationId": "AiToolsController_reviewImgAi",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReviewImgAi"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "评论",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "智能评论",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/recover/review": {
- "post": {
- "description": "对作品进行智能评论回复",
- "operationId": "AiToolsController_reviewAiRecover",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReviewAiRecover"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "评论",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "智能评论回复",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/article/html": {
- "post": {
- "description": "生成AI的html图文",
- "operationId": "AiToolsController_aiArticleHtml",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AiArticleHtmlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "生成AI的html图文",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "生成AI的html图文",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/article/html/sse": {
- "post": {
- "description": "暂未用到",
- "operationId": "AiToolsController_aiArticleHtmlSse",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AiArticleHtmlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "生成AI的html图文",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "生成AI的html图文(SSE)",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/markdown": {
- "post": {
- "description": "文字转Markdown",
- "operationId": "AiToolsController_aiMarkdown",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AdminAiMarkdownDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "任务ID",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "文字转Markdown",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/markdown/{id}": {
- "get": {
- "description": "获取AI的mk结果",
- "operationId": "AiToolsController_getAiMarkdown",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "title": "ID",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "Markdown文本",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取AI的mk结果",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/common/text/moderation": {
- "post": {
- "description": "内容安全检测",
- "operationId": "ToolsController_textModeration",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TextModerationDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "是否通过检测",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "内容安全检测",
- "tags": [
- "通用工具"
- ]
- }
- },
- "/api/material": {
- "post": {
- "description": "创建草稿",
- "operationId": "MaterialController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMaterialDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建草稿",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/task/create": {
- "post": {
- "description": "创建批量生成草稿任务",
- "operationId": "MaterialController_createTask",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMaterialTaskDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建批量生成草稿任务",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/task/preview/{id}": {
- "get": {
- "description": "预览草稿生成任务",
- "operationId": "MaterialController_previewTask",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "预览草稿生成任务",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/task/start/{id}": {
- "get": {
- "description": "开始草稿生成任务",
- "operationId": "MaterialController_startTask",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "开始草稿生成任务",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/{id}": {
- "delete": {
- "description": "删除素材",
- "operationId": "MaterialController_del",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除素材",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/info/{id}": {
- "put": {
- "description": "更新草稿信息",
- "operationId": "MaterialController_upMaterialInfo",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateMaterialDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新草稿信息",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取草稿列表",
- "operationId": "MaterialController_getList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "title",
- "required": false,
- "in": "query",
- "schema": {
- "title": "标题",
- "type": "string"
- }
- },
- {
- "name": "groupId",
- "required": false,
- "in": "query",
- "schema": {
- "title": "组ID",
- "type": "string"
- }
- },
- {
- "name": "status",
- "required": false,
- "in": "query",
- "schema": {
- "title": "草稿状态",
- "type": "number",
- "enum": [
- 0,
- 1,
- -1
- ]
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取草稿列表",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/group": {
- "post": {
- "description": "创建草稿组",
- "operationId": "MaterialController_createGroup",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMaterialGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建草稿组",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/group/{id}": {
- "delete": {
- "description": "删除素材组",
- "operationId": "MaterialController_delGroup",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除素材组",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/group/info/{id}": {
- "post": {
- "description": "更新素材组信息",
- "operationId": "MaterialController_updateGroupInfo",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateMaterialGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新素材组信息",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/group/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取素材组列表",
- "operationId": "MaterialController_getGroupList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取素材组列表",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/media": {
- "post": {
- "description": "创建媒体资源",
- "operationId": "MediaController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMediaDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建媒体资源",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/{id}": {
- "delete": {
- "description": "删除媒体资源",
- "operationId": "MediaController_del",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除媒体资源",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取媒体列表",
- "operationId": "MediaController_getList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "groupId",
- "required": false,
- "in": "query",
- "schema": {
- "title": "组ID",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取媒体列表",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/group": {
- "post": {
- "description": "创建发媒体资源组",
- "operationId": "MediaController_createGroup",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMediaGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建发媒体资源组",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/group/{id}": {
- "delete": {
- "description": "删除媒体资源组",
- "operationId": "MediaController_delGroup",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除媒体资源",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/group/info/{id}": {
- "post": {
- "description": "更新资源组信息",
- "operationId": "MediaController_updateGroupInfo",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateMediaGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新资源组信息",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/group/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取媒体组列表",
- "operationId": "MediaController_getGroupList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "type",
- "required": false,
- "in": "query",
- "description": "类型",
- "schema": {
- "title": "类型",
- "type": "string",
- "enum": [
- "video",
- "img"
- ]
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取媒体组列表",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/payment/checkout": {
- "get": {
- "operationId": "PaymentController_list",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CheckoutListBody"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取订单列表",
- "tags": [
- "payment - strip支付中台"
- ]
- },
- "post": {
- "operationId": "PaymentController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CheckoutBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建订单",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/checkout/{id}": {
- "get": {
- "operationId": "PaymentController_getById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "查询订单",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/refund": {
- "post": {
- "operationId": "PaymentController_refund",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RefundBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "订单退款",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/subscription": {
- "get": {
- "operationId": "PaymentController_subscription",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SubscriptionBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "订阅列表",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/unsubscribe": {
- "post": {
- "operationId": "PaymentController_unsubscribe",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UnSubscriptionBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "退订",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/webhook": {
- "post": {
- "operationId": "PaymentController_webhook",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/success/page": {
- "get": {
- "operationId": "PaymentController_paySuccessPage",
- "parameters": [],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/withdraw/create": {
- "post": {
- "operationId": "WithdrawController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/WithdrawCreateDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建提现",
- "tags": [
- "withdraw - 提现"
- ]
- }
- },
- "/api/withdraw/info/{id}": {
- "get": {
- "operationId": "WithdrawController_getById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "信息",
- "tags": [
- "withdraw - 提现"
- ]
- }
- },
- "/api/withdraw/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "WithdrawController_subscription",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "列表",
- "tags": [
- "withdraw - 提现"
- ]
- }
- },
- "/api/task/opportunity/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "TaskController_getTaskOpportunityList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取待接取的任务列表",
- "tags": [
- "task - 任务"
- ]
- }
- },
- "/api/task/opportunity/info/{opportunityId}": {
- "get": {
- "operationId": "TaskController_getTaskInfo",
- "parameters": [
- {
- "name": "opportunityId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TaskWithOpportunityVo"
- }
- }
- }
- }
- },
- "summary": "获取任务信息",
- "tags": [
- "task - 任务"
- ]
- }
- },
- "/api/task/reward-amount": {
- "get": {
- "operationId": "TaskController_getTotalRewardAmount",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TotalAmountVo"
- }
- }
- }
- }
- },
- "summary": "获取进行中任务的金额总数",
- "tags": [
- "task - 任务"
- ]
- }
- },
- "/api/task/accept": {
- "post": {
- "operationId": "TaskController_acceptTask",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AcceptTaskDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserTaskVo"
- }
- }
- }
- }
- },
- "summary": "用户接取任务",
- "tags": [
- "task - 任务"
- ]
- }
- },
- "/api/task/submit": {
- "post": {
- "operationId": "TaskController_submitTask",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SubmitTaskDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserTaskVo"
- }
- }
- }
- }
- },
- "summary": "用户提交完成任务",
- "tags": [
- "task - 任务"
- ]
- }
- },
- "/api/task/material/{id}": {
- "get": {
- "operationId": "MaterialController_getMaterial",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MaterialVo"
- }
- }
- }
- }
- },
- "summary": "获取素材信息",
- "tags": [
- "task/material - 素材"
- ]
- }
- },
- "/api/task/material/task/{taskId}": {
- "get": {
- "operationId": "MaterialController_getMaterialsByTaskId",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MaterialVo"
- }
- }
- }
- }
- }
- },
- "summary": "按任务ID获取素材列表",
- "tags": [
- "task/material - 素材"
- ]
- }
- },
- "/api/task/userTask/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "UserTaskController_getUserTaskList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取用户任务列表",
- "tags": [
- "task/userTask - 用户任务"
- ]
- }
- },
- "/api/task/userTask/info/{id}": {
- "get": {
- "operationId": "UserTaskController_getUserTaskById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取用户任务详情",
- "tags": [
- "task/userTask - 用户任务"
- ]
- }
- },
- "/api/notification/unread-count": {
- "get": {
- "operationId": "NotificationController_getUnreadCount",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UnreadCountVo"
- }
- }
- }
- }
- },
- "summary": "获取未读通知数量",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/notification": {
- "get": {
- "operationId": "NotificationController_getUserNotifications",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/NotificationListVo"
- }
- }
- }
- }
- },
- "summary": "获取用户通知列表",
- "tags": [
- "notification - 通知"
- ]
- },
- "delete": {
- "operationId": "NotificationController_deleteNotifications",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BatchDeleteDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/OperationResultVo"
- }
- }
- }
- }
- },
- "summary": "删除通知",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/notification/{id}": {
- "get": {
- "operationId": "NotificationController_getNotificationDetail",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/NotificationVo"
- }
- }
- }
- }
- },
- "summary": "获取通知详情",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/notification/read": {
- "put": {
- "operationId": "NotificationController_markAsRead",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MarkAsReadDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/OperationResultVo"
- }
- }
- }
- }
- },
- "summary": "标记通知已读",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/notification/read-all": {
- "put": {
- "operationId": "NotificationController_markAllAsRead",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/OperationResultVo"
- }
- }
- }
- }
- },
- "summary": "标记全部通知已读",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/ai/chat": {
- "post": {
- "operationId": "AiController_chat",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserAiChatRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserAiChatResponseVo"
- }
- }
- }
- }
- },
- "summary": "AI聊天对话",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/logs": {
- "get": {
- "operationId": "AiController_getLogs",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserLogsResponseVo"
- }
- }
- }
- }
- },
- "summary": "获取用户AI使用日志",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/image/generate": {
- "post": {
- "operationId": "AiController_generateImage",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageGenerationRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageResponseVo"
- }
- }
- }
- }
- },
- "summary": "AI图片生成",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/image/edit": {
- "post": {
- "operationId": "AiController_editImage",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageEditRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageResponseVo"
- }
- }
- }
- }
- },
- "summary": "AI图片编辑",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/image/variation": {
- "post": {
- "operationId": "AiController_variationImage",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageVariationRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageResponseVo"
- }
- }
- }
- }
- },
- "summary": "AI图片变体",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/mj/submit/video": {
- "post": {
- "operationId": "AiController_mjSubmitVideo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserVideoGenerationRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MjVideoSubmitResponseVo"
- }
- }
- }
- }
- },
- "summary": "MJ视频生成",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/mj/task/{taskId}/fetch": {
- "get": {
- "operationId": "AiController_mjFetchTask",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MjTaskFetchResponseVo"
- }
- }
- }
- }
- },
- "summary": "MJ任务查询",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/video/generations": {
- "post": {
- "operationId": "AiController_videoGeneration",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserVideoGenerationDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoGenerationResponseVo"
- }
- }
- }
- }
- },
- "summary": "通用视频生成",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/video/generations/{taskId}": {
- "get": {
- "operationId": "AiController_getVideoTaskStatus",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoTaskStatusResponseVo"
- }
- }
- }
- }
- },
- "summary": "查询视频任务状态",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/md2card": {
- "post": {
- "operationId": "AiController_generateMd2Card",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Md2CardRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Md2CardResponseVo"
- }
- }
- }
- }
- },
- "summary": "Markdown转卡片图片",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/fireflycard": {
- "post": {
- "operationId": "AiController_generateFireflycard",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/FireflycardRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/FireflycardResponseVo"
- }
- }
- }
- }
- },
- "summary": "Fireflycard生成卡片图片(免费)",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/models/image/generation": {
- "get": {
- "operationId": "AiController_getImageGenerationModels",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ImageGenerationModelVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取图片生成模型参数",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/models/image/edit": {
- "get": {
- "operationId": "AiController_getImageEditModels",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ImageEditModelVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取图片编辑模型参数",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/models/video/generation": {
- "get": {
- "operationId": "AiController_getVideoGenerationModels",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/VideoGenerationModelVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取视频生成模型参数",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/models/chat": {
- "get": {
- "operationId": "AiController_getChatModels",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ChatModelVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取对话模型参数",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/statistics/account/latest/{accountId}": {
- "get": {
- "operationId": "StatisticsController_getAccountDataLatest",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取账号最新数据",
- "tags": [
- "statistics - 数据统计"
- ]
- }
- },
- "/api/statistics/account/increase/{accountId}": {
- "get": {
- "operationId": "StatisticsController_getAccountDataIncrease",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取账号增量",
- "tags": [
- "statistics - 数据统计"
- ]
- }
- },
- "/api/statistics/account/period/{accountId}": {
- "get": {
- "operationId": "StatisticsController_getAccountDataPeriod",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "startDate",
- "required": true,
- "in": "query",
- "description": "开始日期",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "endDate",
- "required": true,
- "in": "query",
- "description": "结束日期",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取账号一段时间内数据",
- "tags": [
- "statistics - 数据统计"
- ]
- }
- },
- "/api/statistics/channels/latest-batch": {
- "post": {
- "operationId": "StatisticsController_getChannelDataLatestByUids",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BatchChannelLatestQueryDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "批量获取频道最新数据并汇总粉丝数",
- "tags": [
- "statistics - 数据统计"
- ]
- }
- },
- "/api/statistics/channels/period-batch": {
- "post": {
- "operationId": "StatisticsController_getChannelDataPeriodByUids",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetChannelDataPeriodByUidsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "批量获取频道最新数据并汇总粉丝数",
- "tags": [
- "statistics - 数据统计"
- ]
- }
- },
- "/api/cloud-spaces": {
- "get": {
- "description": "获取云空间列表,支持分页查询,可按关键词、状态、区域进行筛选",
- "operationId": "CloudSpacesController_listCloudSpaces",
- "parameters": [
- {
- "name": "",
- "required": true,
- "in": "query",
- "schema": {
- "$ref": "#/components/schemas/ListCloudSpacesDto"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {},
- "required": [
- "data"
- ]
- }
- }
- }
- },
- "error": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "number",
- "description": "错误码"
- },
- "message": {
- "type": "string",
- "description": "错误消息"
- }
- },
- "required": [
- "code",
- "message"
- ]
- }
- }
- }
- }
- },
- "summary": "获取云空间列表",
- "tags": [
- "云空间管理"
- ]
- }
- },
- "/api/cloud-spaces/{cloudSpaceId}/status": {
- "get": {
- "description": "根据云空间ID获取云空间的当前状态信息,包括运行状态、资源使用情况等",
- "operationId": "CloudSpacesController_getCloudSpaceStatus",
- "parameters": [
- {
- "name": "cloudSpaceId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {},
- "required": [
- "data"
- ]
- }
- }
- }
- },
- "error": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "number",
- "description": "错误码"
- },
- "message": {
- "type": "string",
- "description": "错误消息"
- }
- },
- "required": [
- "code",
- "message"
- ]
- }
- }
- }
- }
- },
- "summary": "获取云空间状态",
- "tags": [
- "云空间管理"
- ]
- }
- },
- "/api/cloud-spaces/{cloudSpaceId}": {
- "delete": {
- "description": "根据云空间ID删除指定的云空间,此操作不可逆,请谨慎操作",
- "operationId": "CloudSpacesController_deleteCloudSpace",
- "parameters": [
- {
- "name": "cloudSpaceId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {},
- "required": [
- "data"
- ]
- }
- }
- }
- },
- "error": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "number",
- "description": "错误码"
- },
- "message": {
- "type": "string",
- "description": "错误消息"
- }
- },
- "required": [
- "code",
- "message"
- ]
- }
- }
- }
- }
- },
- "summary": "删除云空间",
- "tags": [
- "云空间管理"
- ]
- }
- }
- },
- "info": {
- "title": "aitoearn-gateway",
- "description": "aitoearn-gateway API",
- "version": "",
- "contact": {}
- },
- "tags": [],
- "servers": [],
- "components": {
- "securitySchemes": {
- "bearer": {
- "scheme": "bearer",
- "bearerFormat": "JWT",
- "type": "http"
- }
- },
- "schemas": {
- "UserResDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "title": "用户ID"
- },
- "name": {
- "type": "string",
- "title": "用户名"
- },
- "phone": {
- "type": "string",
- "title": "手机号"
- },
- "gender": {
- "type": "number",
- "title": "性别",
- "enum": [
- 1,
- 2
- ]
- },
- "avatar": {
- "type": "string",
- "title": "头像图片链接"
- },
- "desc": {
- "type": "string",
- "title": "简介"
- }
- },
- "required": [
- "id",
- "name",
- "phone"
- ]
- },
- "UpdateUserInfoDto": {
- "type": "object",
- "properties": {}
- },
- "PointsRecordsVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "list": {
- "description": "积分记录列表",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "description": "记录ID",
- "type": "string"
- },
- "userId": {
- "description": "用户ID",
- "type": "string"
- },
- "amount": {
- "description": "积分变动数量",
- "type": "number"
- },
- "balance": {
- "description": "变动后余额",
- "type": "number"
- },
- "type": {
- "description": "积分变动类型, ai_service ai 生成, user_register 用户注册",
- "type": "string"
- },
- "description": {
- "description": "积分变动描述",
- "type": "string"
- },
- "metadata": {
- "description": "额外信息",
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
- }
- },
- "required": [
- "id",
- "userId",
- "amount",
- "balance",
- "type"
- ],
- "additionalProperties": false
- }
- },
- "total": {
- "description": "总记录数",
- "type": "number"
- }
- },
- "required": [
- "list",
- "total"
- ],
- "additionalProperties": false
- },
- "MailLoginDto": {
- "type": "object",
- "properties": {
- "mail": {
- "type": "string",
- "title": "邮箱"
- },
- "password": {
- "type": "string"
- }
- },
- "required": [
- "mail",
- "password"
- ]
- },
- "GetRegistByMailBackDto": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "mail": {
- "type": "string",
- "title": "邮箱"
- },
- "password": {
- "type": "string"
- },
- "inviteCode": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "mail",
- "password"
- ]
- },
- "MailRepasswordDto": {
- "type": "object",
- "properties": {
- "mail": {
- "type": "string",
- "title": "邮箱"
- }
- },
- "required": [
- "mail"
- ]
- },
- "GoogleLoginDto": {
- "type": "object",
- "properties": {
- "clientId": {
- "type": "string",
- "description": "Google客户端ID"
- },
- "credential": {
- "type": "string",
- "description": "Google认证凭证"
- }
- },
- "required": [
- "clientId",
- "credential"
- ]
- },
- "UserCancelDto": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- }
- },
- "required": [
- "code"
- ]
- },
- "CreateFeedBackDto": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string",
- "title": "内容"
- },
- "type": {
- "type": "string",
- "title": "类型",
- "description": ""
- },
- "tagList": {
- "description": "标识数组",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "fileUrlList": {
- "description": "文件链接数组",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "content",
- "tagList",
- "fileUrlList"
- ]
- },
- "InitMultipartUploadDto": {
- "type": "object",
- "properties": {
- "fileName": {
- "type": "string",
- "title": "文件名称"
- },
- "secondPath": {
- "type": "string",
- "title": "存放位置"
- },
- "fileSize": {
- "type": "string",
- "title": "文件大小"
- },
- "contentType": {
- "type": "string",
- "title": "文件类型"
- }
- },
- "required": [
- "fileName",
- "secondPath",
- "fileSize",
- "contentType"
- ]
- },
- "CompletePartDto": {
- "type": "object",
- "properties": {
- "fileId": {
- "type": "string",
- "title": "文件key"
- },
- "uploadId": {
- "type": "string",
- "title": "上传ID"
- },
- "parts": {
- "title": "分片",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "fileId",
- "uploadId",
- "parts"
- ]
- },
- "BilibiliPublishOptionDto": {
- "type": "object",
- "properties": {
- "tid": {
- "type": "number",
- "title": "分区ID",
- "description": "由获取分区信息接口得到"
- },
- "no_reprint": {
- "type": "number",
- "title": "是否允许转载",
- "enum": [
- 1,
- 0
- ],
- "description": "0-允许,1-不允许"
- },
- "copyright": {
- "type": "number",
- "title": "版权",
- "enum": [
- 1,
- 2
- ],
- "description": "版权"
- },
- "source": {
- "type": "string",
- "title": "来源",
- "description": "如果copyright为转载,则此字段表示转载来源"
- }
- },
- "required": [
- "tid",
- "no_reprint",
- "copyright",
- "source"
- ]
- },
- "GzhPublishOptionDto": {
- "type": "object",
- "properties": {
- "tid": {
- "type": "number",
- "title": "分区ID",
- "description": "由获取分区信息接口得到"
- }
- },
- "required": [
- "tid"
- ]
- },
- "YoutubePublishOptionDto": {
- "type": "object",
- "properties": {
- "privacyStatus": {
- "type": "string",
- "title": "隐私状态",
- "enum": [
- "public",
- "unlisted",
- "private"
- ],
- "description": "隐私状态"
- },
- "tag": {
- "type": "string",
- "title": "关键词",
- "description": "多个关键词用英文逗号分隔"
- },
- "categoryId": {
- "type": "string",
- "title": "类别ID",
- "description": "类别ID"
- },
- "publishAt": {
- "type": "string",
- "title": "发布时间",
- "description": "发布时间"
- }
- },
- "required": [
- "privacyStatus"
- ]
- },
- "FacebookPostOptionsDto": {
- "type": "object",
- "properties": {
- "content_category": {
- "type": "string",
- "title": "facebook post category",
- "description": "post category"
- },
- "content_tags": {
- "title": "内容标签",
- "description": "内容标签",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "custom_labels": {
- "title": "自定义标签",
- "description": "自定义标签",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "direct_share_status": {
- "type": "number",
- "title": "直接分享状态",
- "description": "直接分享状态"
- },
- "embeddable": {
- "type": "boolean",
- "title": "是否可嵌入",
- "description": "是否可嵌入"
- }
- }
- },
- "InstagramPostOptionsDto": {
- "type": "object",
- "properties": {
- "content_category": {
- "type": "string",
- "title": "内容分类",
- "description": "内容分类"
- },
- "alt_text": {
- "type": "string",
- "title": "替代文本"
- },
- "caption": {
- "type": "string",
- "title": "标题"
- },
- "collaborators": {
- "title": "协作者",
- "description": "协作者列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_url": {
- "type": "string",
- "title": "封面URL",
- "description": "封面图片的URL"
- },
- "image_url": {
- "type": "string",
- "title": "图片URL",
- "description": "图片的URL"
- },
- "location_id": {
- "type": "string",
- "title": "位置ID",
- "description": "位置ID,用于标记发布内容的位置,通常用于地理标签"
- },
- "product_tags": {
- "title": "产品标签",
- "description": "产品标签列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "user_tags": {
- "title": "用户标签",
- "description": "用户标签列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "ThreadsPostOptionsDto": {
- "type": "object",
- "properties": {
- "reply_control": {
- "type": "string",
- "title": "回复控制",
- "description": "回复控制选项"
- },
- "allowlisted_country_codes": {
- "title": "允许的国家代码",
- "description": "允许的国家代码列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "alt_text": {
- "type": "string",
- "title": "替代文本",
- "description": "替代文本"
- },
- "auto_publish_text": {
- "type": "boolean",
- "title": "自动发布文本",
- "description": "是否自动发布文本"
- },
- "topic_tags": {
- "type": "string",
- "title": "话题标签",
- "description": "话题标签列表"
- }
- }
- },
- "TiktokPostOptionsDto": {
- "type": "object",
- "properties": {
- "privacy_level": {
- "type": "string",
- "title": "privacy level",
- "description": "privacy level"
- },
- "disable_duet": {
- "type": "boolean",
- "title": "disable duet",
- "description": "disable duet"
- },
- "disable_stitch": {
- "type": "boolean",
- "title": "disable stitch",
- "description": "disable stitch"
- },
- "disable_comment": {
- "type": "boolean",
- "title": "disable comment",
- "description": "disable comment"
- },
- "brand_organic_toggle": {
- "type": "boolean",
- "title": "organic brand",
- "description": "organic brand"
- },
- "brand_content_toggle": {
- "type": "boolean",
- "title": "brand content",
- "description": "brand content"
- }
- }
- },
- "PublishOptionDto": {
- "type": "object",
- "properties": {
- "bilibili": {
- "title": "B站参数",
- "description": "B站参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/BilibiliPublishOptionDto"
- }
- ]
- },
- "wxGzh": {
- "title": "B站参数",
- "description": "微信公众号参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/GzhPublishOptionDto"
- }
- ]
- },
- "youtube": {
- "title": "B站参数",
- "description": "微信公众号参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/YoutubePublishOptionDto"
- }
- ]
- },
- "facebook": {
- "title": "Facebook参数",
- "description": "Facebook参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/FacebookPostOptionsDto"
- }
- ]
- },
- "instagram": {
- "title": "Instagram参数",
- "description": "Instagram参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/InstagramPostOptionsDto"
- }
- ]
- },
- "threads": {
- "title": "Threads参数",
- "description": "Threads参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/ThreadsPostOptionsDto"
- }
- ]
- },
- "tiktok": {
- "title": "Tiktok参数",
- "description": "Tiktok参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/TiktokPostOptionsDto"
- }
- ]
- }
- }
- },
- "CreatePublishDto": {
- "type": "object",
- "properties": {
- "flowId": {
- "type": "string",
- "title": "流水ID",
- "description": "流水ID--使用UUID"
- },
- "type": {
- "type": "string",
- "title": "类型",
- "enum": [
- "video",
- "article"
- ],
- "description": "类型"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "内容"
- },
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "accountType": {
- "type": "string",
- "title": "平台类型",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ],
- "description": "平台类型"
- },
- "videoUrl": {
- "type": "string",
- "title": "视频路径"
- },
- "coverUrl": {
- "type": "string",
- "title": "封面路径"
- },
- "imgUrlList": {
- "title": "图片列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "publishTime": {
- "format": "date-time",
- "type": "string",
- "title": "发布日期"
- },
- "topics": {
- "title": "话题列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "option": {
- "title": "其他配置",
- "description": "其他配置",
- "allOf": [
- {
- "$ref": "#/components/schemas/PublishOptionDto"
- }
- ]
- }
- },
- "required": [
- "flowId",
- "type",
- "title",
- "desc",
- "accountId",
- "accountType"
- ]
- },
- "CreatePublishRecordDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "flowId": {
- "type": "string"
- },
- "dataId": {
- "type": "string"
- },
- "type": {
- "type": "string",
- "enum": [
- "video",
- "article"
- ]
- },
- "title": {
- "type": "string"
- },
- "desc": {
- "type": "string"
- },
- "userTaskId": {
- "type": "string"
- },
- "accountId": {
- "type": "string"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "accountType": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ]
- },
- "uid": {
- "type": "string"
- },
- "videoUrl": {
- "type": "string"
- },
- "coverUrl": {
- "type": "string"
- },
- "imgUrlList": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "publishTime": {},
- "imgList": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "errorMsg": {
- "type": "string"
- },
- "option": {}
- },
- "required": [
- "dataId",
- "type",
- "accountId",
- "topics",
- "accountType",
- "uid",
- "publishTime",
- "option"
- ],
- "additionalProperties": false
- },
- "PubRecordListFilterDto": {
- "type": "object",
- "properties": {
- "accountType": {
- "type": "string",
- "title": "账户类型",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ],
- "description": "账户类型"
- },
- "type": {
- "type": "string",
- "title": "类型",
- "enum": [
- "video",
- "article"
- ],
- "description": "类型"
- },
- "status": {
- "type": "number",
- "title": "状态",
- "enum": [
- -1,
- 0,
- 1,
- 2
- ],
- "description": "状态"
- },
- "time": {
- "title": "创建时间区间,必须为UTC时间",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "PublishRecordItemDto": {
- "type": "object",
- "properties": {
- "dataId": {
- "type": "string",
- "description": "数据ID"
- },
- "id": {
- "type": "string",
- "description": "记录ID"
- },
- "flowId": {
- "type": "string",
- "example": "flow001",
- "description": "流程ID"
- },
- "type": {
- "type": "string",
- "example": "video",
- "description": "发布类型(如 video, article)"
- },
- "title": {
- "type": "string",
- "example": "标题示例",
- "description": "发布标题"
- },
- "desc": {
- "type": "string",
- "example": "这是一个描述",
- "description": "发布描述"
- },
- "accountId": {
- "type": "string",
- "example": "ACCOUNT-001",
- "description": "账号ID"
- },
- "accountType": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ],
- "description": "账号类型"
- },
- "uid": {
- "type": "string",
- "example": "USER-001",
- "description": "用户UID"
- },
- "videoUrl": {
- "type": "string",
- "example": "https://example.com/video.mp4",
- "description": "视频地址"
- },
- "coverUrl": {
- "type": "string",
- "example": "https://example.com/cover.jpg",
- "description": "封面图地址"
- },
- "imgUrlList": {
- "example": [
- "https://example.com/image1.jpg",
- "https://example.com/image2.jpg"
- ],
- "description": "图片列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "publishTime": {
- "format": "date-time",
- "type": "string",
- "example": "2025-04-27T18:00:18Z",
- "description": "发布时间"
- },
- "status": {
- "type": "number",
- "enum": [
- -1,
- 0,
- 1,
- 2
- ],
- "description": "发布状态"
- },
- "errorMsg": {
- "type": "string",
- "example": "错误信息(可为空)",
- "description": "错误信息",
- "nullable": true
- }
- },
- "required": [
- "dataId",
- "id",
- "flowId",
- "type",
- "title",
- "desc",
- "accountId",
- "accountType",
- "uid",
- "imgUrlList",
- "publishTime",
- "status",
- "errorMsg"
- ]
- },
- "UpdatePublishRecordTimeDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "title": "数据ID"
- },
- "publishTime": {
- "format": "date-time",
- "type": "string",
- "title": "新的发布时间"
- }
- },
- "required": [
- "id"
- ]
- },
- "AddArcCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账号ID",
- "description": "账号ID"
- },
- "dataId": {
- "type": "string",
- "title": "作品ID",
- "description": "作品ID"
- },
- "content": {
- "type": "string",
- "title": "内容",
- "description": "内容"
- }
- },
- "required": [
- "accountId",
- "dataId",
- "content"
- ]
- },
- "ReplyCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账号ID",
- "description": "账号ID"
- },
- "commentId": {
- "type": "string",
- "title": "评论ID",
- "description": "评论ID"
- },
- "content": {
- "type": "string",
- "title": "内容",
- "description": "内容"
- }
- },
- "required": [
- "accountId",
- "commentId",
- "content"
- ]
- },
- "DelCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账号ID",
- "description": "账号ID"
- },
- "commentId": {
- "type": "string",
- "title": "评论ID",
- "description": "评论ID"
- }
- },
- "required": [
- "accountId",
- "commentId"
- ]
- },
- "CreateSkKeyDto": {
- "type": "object",
- "properties": {
- "desc": {
- "type": "string",
- "title": "备注",
- "description": "备注"
- }
- }
- },
- "SkKeyUpInfoDto": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "title": "key",
- "description": "key"
- },
- "desc": {
- "type": "string",
- "title": "备注",
- "description": "备注"
- }
- },
- "required": [
- "key",
- "desc"
- ]
- },
- "SkKeyAddRefAccountDto": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "title": "key",
- "description": "key"
- },
- "accountId": {
- "type": "string",
- "title": "账号ID",
- "description": "账号ID"
- }
- },
- "required": [
- "key",
- "accountId"
- ]
- },
- "VideoInitDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "name": {
- "type": "string",
- "title": "文件名称(带格式)"
- },
- "utype": {
- "type": "number",
- "enum": [
- 0,
- 1
- ]
- }
- },
- "required": [
- "accountId",
- "name",
- "utype"
- ]
- },
- "VideoCompleteDto": {
- "type": "object",
- "properties": {
- "uploadToken": {
- "type": "string",
- "title": "上传token"
- }
- },
- "required": [
- "uploadToken"
- ]
- },
- "UploadLitVideoDto": {
- "type": "object",
- "properties": {
- "uploadToken": {
- "type": "string",
- "title": "上传token"
- }
- },
- "required": [
- "uploadToken"
- ]
- },
- "ArchiveAddByUtokenBodyDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "uploadToken": {
- "type": "string",
- "title": "上传token"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "cover": {
- "type": "string",
- "title": "封面url"
- },
- "tid": {
- "type": "number",
- "title": "分区ID,由获取分区信息接口得到"
- },
- "noReprint": {
- "type": "number",
- "title": "是否允许转载 0-允许,1-不允许。默认0"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "tag": {
- "title": "标签",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "copyright": {
- "type": "number",
- "title": "1-原创,2-转载(转载时source必填)"
- },
- "source": {
- "type": "string",
- "title": "如果copyright为转载,则此字段表示转载来源"
- }
- },
- "required": [
- "accountId",
- "uploadToken",
- "title",
- "tid",
- "noReprint",
- "copyright"
- ]
- },
- "AuthBackQueryDto": {
- "type": "object",
- "properties": {}
- },
- "InsertCommentThreadsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "channelId": {
- "type": "string",
- "description": "频道ID"
- },
- "videoId": {
- "type": "string",
- "description": "视频ID"
- },
- "textOriginal": {
- "type": "string",
- "description": "评论内容"
- }
- },
- "required": [
- "accountId",
- "channelId",
- "videoId",
- "textOriginal"
- ]
- },
- "SetCommentThreadsModerationStatusDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "评论ID"
- },
- "moderationStatus": {
- "type": "string",
- "description": "审核状态,heldForReview 等待管理员审核 published - 清除要公开显示的评论。 rejected - 不显示该评论",
- "enum": [
- "heldForReview",
- "published",
- "rejected"
- ]
- },
- "banAuthor": {
- "type": "boolean",
- "description": "是否自动拒绝评论作者撰写的任何其他评论 将作者加入黑名单,"
- }
- },
- "required": [
- "accountId",
- "id",
- "moderationStatus"
- ]
- },
- "InsertCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "textOriginal": {
- "type": "string",
- "description": "评论内容, 注意:textOriginal 和 parentId 必须有且只能有一个"
- },
- "parentId": {
- "type": "string",
- "description": "父评论ID, 注意:textOriginal 和 parentId 必须有且只能有一个"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "UpdateCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "评论ID"
- },
- "textOriginal": {
- "type": "string",
- "description": "评论内容"
- }
- },
- "required": [
- "accountId",
- "id",
- "textOriginal"
- ]
- },
- "DeleteCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "评论ID"
- }
- },
- "required": [
- "accountId",
- "id"
- ]
- },
- "VideoRateDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "视频ID"
- },
- "rating": {
- "type": "string",
- "description": "点赞、踩 like/dislike/none ",
- "enum": [
- "like",
- "dislike",
- "none"
- ]
- }
- },
- "required": [
- "accountId",
- "id",
- "rating"
- ]
- },
- "DeleteVideoDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "视频ID"
- }
- },
- "required": [
- "accountId",
- "id"
- ]
- },
- "UpdateVideoDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "视频ID"
- },
- "title": {
- "type": "string",
- "description": "标题"
- },
- "categoryId": {
- "type": "string",
- "description": "类别ID"
- },
- "defaultLanguage": {
- "type": "string",
- "description": "默认语言"
- },
- "description": {
- "type": "string",
- "description": "描述"
- },
- "privacyStatus": {
- "type": "string",
- "description": "隐私状态"
- },
- "tags": {
- "type": "string",
- "description": "标签"
- },
- "publishAt": {
- "type": "string",
- "description": "发布时间"
- },
- "recordingDate": {
- "type": "string",
- "description": "录制日期"
- }
- },
- "required": [
- "accountId",
- "id",
- "title",
- "categoryId"
- ]
- },
- "InsertPlayListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "title": {
- "type": "string",
- "description": "标题"
- },
- "description": {
- "type": "string",
- "description": "描述"
- },
- "privacyStatus": {
- "type": "string",
- "description": "隐私状态"
- }
- },
- "required": [
- "accountId",
- "title"
- ]
- },
- "UpdatePlayListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表ID"
- },
- "title": {
- "type": "string",
- "description": "标题"
- },
- "description": {
- "type": "string",
- "description": "描述"
- },
- "privacyStatus": {
- "type": "string",
- "description": "隐私状态"
- },
- "podcastStatus": {
- "type": "string",
- "description": "播客状态"
- }
- },
- "required": [
- "accountId",
- "id",
- "title"
- ]
- },
- "DeletePlayListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表ID"
- }
- },
- "required": [
- "accountId",
- "id"
- ]
- },
- "GetPlayListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "channelId": {
- "type": "string",
- "description": "频道ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表ID"
- },
- "mine": {
- "type": "boolean",
- "description": "我的播放列表"
- },
- "maxResults": {
- "type": "number",
- "description": "最大结果数"
- },
- "pageToken": {
- "type": "string",
- "description": "分页令牌"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "InsertPlayItemsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "playlistId": {
- "type": "string",
- "description": "播放列表ID"
- },
- "resourceId": {
- "type": "string",
- "description": "资源ID"
- },
- "position": {
- "type": "number",
- "description": "位置"
- },
- "note": {
- "type": "string",
- "description": "说明"
- },
- "startAt": {
- "type": "string",
- "description": "开始时间"
- },
- "endAt": {
- "type": "string",
- "description": "结束时间"
- }
- },
- "required": [
- "accountId",
- "playlistId",
- "resourceId"
- ]
- },
- "UpdatePlayItemsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表项ID"
- },
- "playlistId": {
- "type": "string",
- "description": "播放列表ID"
- },
- "resourceId": {
- "type": "string",
- "description": "资源ID"
- },
- "position": {
- "type": "number",
- "description": "位置"
- },
- "note": {
- "type": "string",
- "description": "说明"
- },
- "startAt": {
- "type": "string",
- "description": "开始时间"
- },
- "endAt": {
- "type": "string",
- "description": "结束时间"
- }
- },
- "required": [
- "accountId",
- "id",
- "playlistId",
- "resourceId"
- ]
- },
- "DeletePlayItemsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表项ID"
- }
- },
- "required": [
- "accountId",
- "id"
- ]
- },
- "GetPlayItemsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表ID"
- },
- "playlistId": {
- "type": "string",
- "description": "我的播放列表"
- },
- "maxResults": {
- "type": "number",
- "description": "最大结果数"
- },
- "pageToken": {
- "type": "string",
- "description": "分页令牌"
- },
- "videoId": {
- "type": "string",
- "description": "视频ID"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "GetChannelsSectionsListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "channelId": {
- "type": "string",
- "description": "频道ID, 注意:channelId、id、mine,必须有且只能有一个"
- },
- "id": {
- "type": "string",
- "description": "板块ID, 多个id用英文逗号分隔,注意:channelId、id、mine,必须有且只能有一个"
- },
- "mine": {
- "type": "boolean",
- "description": "是否查询自己的板块, 注意:channelId、id、mine,必须有且只能有一个"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "SearchDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID",
- "example": "account_123"
- },
- "forMine": {
- "type": "boolean",
- "description": "是否搜索我的内容",
- "example": false
- },
- "maxResults": {
- "type": "number",
- "description": "最大结果数",
- "example": 10
- },
- "order": {
- "type": "string",
- "description": "排序方法",
- "enum": [
- "relevance",
- "date",
- "rating",
- "title",
- "videoCount",
- "viewCount"
- ],
- "example": "relevance"
- },
- "pageToken": {
- "type": "string",
- "description": "分页令牌",
- "example": "next_page_token"
- },
- "publishedBefore": {
- "type": "string",
- "description": "发布时间之前",
- "example": "2024-01-01T00:00:00Z"
- },
- "publishedAfter": {
- "type": "string",
- "description": "发布时间之后",
- "example": "2024-01-01T00:00:00Z"
- },
- "q": {
- "type": "string",
- "description": "搜索查询字词",
- "example": "编程教程"
- },
- "type": {
- "type": "string",
- "description": "搜索类型",
- "enum": [
- "video",
- "channel",
- "playlist"
- ],
- "example": "video"
- },
- "videoCategoryId": {
- "type": "string",
- "description": "视频类别ID",
- "example": "22"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "GetAuthUrlDto": {
- "type": "object",
- "properties": {
- "platform": {
- "type": "string",
- "title": "平台名称"
- }
- },
- "required": [
- "platform"
- ]
- },
- "RefreshTokenDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "refreshToken": {
- "type": "string",
- "title": "刷新令牌"
- }
- },
- "required": [
- "accountId",
- "refreshToken"
- ]
- },
- "VideoPublishDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "postInfo": {
- "type": "object",
- "title": "发布信息"
- },
- "sourceInfo": {
- "type": "object",
- "title": "源信息"
- }
- },
- "required": [
- "accountId",
- "postInfo",
- "sourceInfo"
- ]
- },
- "PhotoPublishDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "postMode": {
- "type": "string",
- "title": "发布模式"
- },
- "postInfo": {
- "type": "object",
- "title": "发布信息"
- },
- "sourceInfo": {
- "type": "object",
- "title": "源信息"
- }
- },
- "required": [
- "accountId",
- "postMode",
- "postInfo",
- "sourceInfo"
- ]
- },
- "UploadVideoFileDto": {
- "type": "object",
- "properties": {
- "uploadUrl": {
- "type": "string",
- "title": "上传URL"
- },
- "contentType": {
- "type": "string",
- "title": "内容类型"
- }
- },
- "required": [
- "uploadUrl",
- "contentType"
- ]
- },
- "CreateBoardBodyDto": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "title": "画板名称"
- }
- },
- "required": [
- "name"
- ]
- },
- "MediaSource": {
- "type": "object",
- "properties": {
- "source_type": {
- "type": "object",
- "title": "媒体类型"
- },
- "url": {
- "type": "string",
- "title": "地址"
- }
- },
- "required": [
- "source_type",
- "url"
- ]
- },
- "CreatePinBodyDto": {
- "type": "object",
- "properties": {
- "board_id": {
- "type": "string",
- "title": "此Pin所属board的板块。"
- },
- "link": {
- "type": "string",
- "title": "点击连接跳转的link"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "description": {
- "type": "string",
- "title": "描述"
- },
- "decs": {
- "type": "string",
- "title": "描述"
- },
- "dominant_color": {
- "type": "string",
- "title": "RGB表示的颜色 主引脚颜色。十六进制数,例如“#6E7874”"
- },
- "alt_text": {
- "type": "string",
- "title": "鼠标悬浮描述"
- },
- "media_source": {
- "title": "媒体来源",
- "allOf": [
- {
- "$ref": "#/components/schemas/MediaSource"
- }
- ]
- },
- "items": {
- "title": "点开pin里面包含的图片文案信息",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "board_id",
- "media_source",
- "items"
- ]
- },
- "FacebookPageSelectionDto": {
- "type": "object",
- "properties": {
- "pageIds": {
- "title": "页面ID列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "pageIds"
- ]
- },
- "AddInteractionRecordDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "minLength": 1
- },
- "type": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ]
- },
- "worksId": {
- "type": "string",
- "minLength": 1
- },
- "worksTitle": {
- "type": "string"
- },
- "worksCover": {
- "type": "string"
- },
- "worksContent": {
- "type": "string"
- },
- "commentContent": {
- "type": "string"
- },
- "commentRemark": {
- "type": "string"
- },
- "commentTime": {
- "type": "string"
- },
- "likeTime": {
- "type": "string"
- },
- "collectTime": {
- "type": "string"
- }
- },
- "required": [
- "accountId",
- "type",
- "worksId"
- ],
- "additionalProperties": false
- },
- "AddReplyCommentRecordDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "minLength": 1
- },
- "type": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ]
- },
- "commentId": {
- "type": "string",
- "minLength": 1
- },
- "worksId": {
- "type": "string"
- },
- "commentContent": {
- "type": "string",
- "minLength": 1
- },
- "replyContent": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "accountId",
- "type",
- "commentId",
- "commentContent",
- "replyContent"
- ],
- "additionalProperties": false
- },
- "CreateAccountDto": {
- "type": "object",
- "properties": {
- "refresh_token": {
- "type": "string",
- "description": "refresh_token"
- },
- "access_token": {
- "type": "string",
- "description": "access_token"
- },
- "type": {
- "type": "string",
- "description": "平台类型",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ]
- },
- "loginCookie": {
- "type": "string",
- "description": "登录Cookie"
- },
- "loginTime": {
- "format": "date-time",
- "type": "string",
- "description": "登录时间"
- },
- "uid": {
- "type": "string",
- "description": "平台用户ID"
- },
- "account": {
- "type": "string",
- "description": "账号"
- },
- "avatar": {
- "type": "string",
- "description": "头像"
- },
- "nickname": {
- "type": "string",
- "description": "昵称"
- },
- "fansCount": {
- "type": "number",
- "description": "粉丝数"
- },
- "readCount": {
- "type": "number",
- "description": "阅读数"
- },
- "likeCount": {
- "type": "number",
- "description": "点赞数"
- },
- "collectCount": {
- "type": "number",
- "description": "收藏数"
- },
- "forwardCount": {
- "type": "number",
- "description": "转发数"
- },
- "commentCount": {
- "type": "number",
- "description": "评论数"
- },
- "lastStatsTime": {
- "format": "date-time",
- "type": "string",
- "description": "最后统计时间"
- },
- "workCount": {
- "type": "number",
- "description": "作品数"
- },
- "income": {
- "type": "number",
- "description": "收入"
- },
- "groupId": {
- "type": "string",
- "description": "账户组ID"
- }
- },
- "required": [
- "refresh_token",
- "access_token",
- "type",
- "loginCookie",
- "loginTime",
- "uid",
- "account",
- "avatar",
- "nickname",
- "fansCount",
- "readCount",
- "likeCount",
- "collectCount",
- "forwardCount",
- "commentCount",
- "lastStatsTime",
- "workCount",
- "income",
- "groupId"
- ]
- },
- "UpdateAccountDto": {
- "type": "object",
- "properties": {
- "refresh_token": {
- "type": "string",
- "description": "refresh_token"
- },
- "access_token": {
- "type": "string",
- "description": "access_token"
- },
- "type": {
- "type": "string",
- "description": "平台类型",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads",
- "pinterest"
- ]
- },
- "loginCookie": {
- "type": "string",
- "description": "登录Cookie"
- },
- "loginTime": {
- "format": "date-time",
- "type": "string",
- "description": "登录时间"
- },
- "uid": {
- "type": "string",
- "description": "平台用户ID"
- },
- "account": {
- "type": "string",
- "description": "账号"
- },
- "avatar": {
- "type": "string",
- "description": "头像"
- },
- "nickname": {
- "type": "string",
- "description": "昵称"
- },
- "fansCount": {
- "type": "number",
- "description": "粉丝数"
- },
- "readCount": {
- "type": "number",
- "description": "阅读数"
- },
- "likeCount": {
- "type": "number",
- "description": "点赞数"
- },
- "collectCount": {
- "type": "number",
- "description": "收藏数"
- },
- "forwardCount": {
- "type": "number",
- "description": "转发数"
- },
- "commentCount": {
- "type": "number",
- "description": "评论数"
- },
- "lastStatsTime": {
- "format": "date-time",
- "type": "string",
- "description": "最后统计时间"
- },
- "workCount": {
- "type": "number",
- "description": "作品数"
- },
- "income": {
- "type": "number",
- "description": "收入"
- },
- "groupId": {
- "type": "string",
- "description": "账户组ID"
- },
- "id": {
- "type": "string",
- "description": "更新ID"
- }
- },
- "required": [
- "id"
- ]
- },
- "UpdateAccountStatusDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "账号ID"
- },
- "status": {
- "type": "number",
- "description": "状态"
- }
- },
- "required": [
- "id",
- "status"
- ]
- },
- "DeleteAccountsDto": {
- "type": "object",
- "properties": {
- "ids": {
- "description": "要删除的ID",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "ids"
- ]
- },
- "UpdateAccountStatisticsDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "账号ID"
- },
- "workCount": {
- "type": "number",
- "description": "作品数"
- },
- "fansCount": {
- "type": "number",
- "description": "粉丝数"
- },
- "readCount": {
- "type": "number",
- "description": "阅读数"
- },
- "likeCount": {
- "type": "number",
- "description": "点赞数"
- },
- "collectCount": {
- "type": "number",
- "description": "收藏数"
- },
- "commentCount": {
- "type": "number",
- "description": "评论数"
- },
- "income": {
- "type": "number",
- "description": "收入"
- }
- },
- "required": [
- "id",
- "workCount",
- "fansCount",
- "readCount",
- "likeCount",
- "collectCount",
- "commentCount",
- "income"
- ]
- },
- "CreateAccountGroupDto": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "组名称"
- },
- "rank": {
- "type": "number",
- "description": "组排序,默认为 1"
- },
- "proxyIp": {
- "type": "string",
- "description": "代理IP"
- },
- "browserConfig": {
- "type": "object",
- "description": "浏览器配置必须为JSON格式"
- }
- },
- "required": [
- "name",
- "rank",
- "proxyIp",
- "browserConfig"
- ]
- },
- "UpdateAccountGroupDto": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "组名称"
- },
- "rank": {
- "type": "number",
- "description": "组排序,默认为 1"
- },
- "proxyIp": {
- "type": "string",
- "description": "代理IP"
- },
- "browserConfig": {
- "type": "object",
- "description": "浏览器配置必须为JSON格式"
- },
- "id": {
- "type": "string",
- "description": "更新ID"
- }
- },
- "required": [
- "name",
- "rank",
- "proxyIp",
- "browserConfig",
- "id"
- ]
- },
- "DeleteAccountGroupDto": {
- "type": "object",
- "properties": {
- "ids": {
- "description": "要删除的ID",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "ids"
- ]
- },
- "GenerateFingerprintDto": {
- "type": "object",
- "properties": {
- "operatingSystems": {
- "type": "string",
- "title": "指定要使用的操作系统的字符串 \"windows\" | \"macos\" | \"linux\" | \"android\" | \"ios\""
- }
- },
- "required": [
- "operatingSystems"
- ]
- },
- "VideoAiDesDto": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "title": "视频URL"
- }
- },
- "required": [
- "url"
- ]
- },
- "ReviewAi": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "max": {
- "type": "number",
- "title": "最大字数"
- }
- },
- "required": [
- "title"
- ]
- },
- "ReviewImgAi": {
- "type": "object",
- "properties": {
- "imgUrl": {
- "type": "string",
- "title": "图片链接"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "max": {
- "type": "number",
- "title": "最大字数"
- }
- },
- "required": [
- "imgUrl",
- "title"
- ]
- },
- "ReviewAiRecover": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string",
- "title": "评论内容"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "max": {
- "type": "number",
- "title": "最大字数"
- }
- },
- "required": [
- "content"
- ]
- },
- "AiArticleHtmlDto": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string",
- "title": "内容"
- }
- },
- "required": [
- "content"
- ]
- },
- "AdminAiMarkdownDto": {
- "type": "object",
- "properties": {
- "prompt": {
- "type": "string",
- "title": "系统提示词"
- },
- "content": {
- "type": "string",
- "title": "内容"
- }
- },
- "required": [
- "prompt",
- "content"
- ]
- },
- "TextModerationDto": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string",
- "title": "内容"
- }
- },
- "required": [
- "content"
- ]
- },
- "MaterialMediaDto": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "title": "资源链接"
- },
- "type": {
- "type": "string",
- "title": "资源类型",
- "enum": [
- "video",
- "img"
- ]
- },
- "content": {
- "type": "string",
- "title": "文本内容"
- }
- },
- "required": [
- "url",
- "type"
- ]
- },
- "CreateMaterialDto": {
- "type": "object",
- "properties": {
- "groupId": {
- "type": "string",
- "title": "组ID"
- },
- "coverUrl": {
- "type": "string",
- "title": "封面图"
- },
- "mediaList": {
- "title": "媒体数组",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MaterialMediaDto"
- }
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "内容"
- },
- "option": {
- "type": "object",
- "title": "其他属性"
- }
- },
- "required": [
- "groupId",
- "mediaList",
- "title"
- ]
- },
- "CreateMaterialTaskDto": {
- "type": "object",
- "properties": {
- "groupId": {
- "type": "string",
- "title": "组ID"
- },
- "num": {
- "type": "number",
- "title": "生成数量"
- },
- "aiModelTag": {
- "type": "string",
- "title": "AI模型tag"
- },
- "prompt": {
- "type": "string",
- "title": "提示词"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "mediaGroups": {
- "title": "使用的媒体组数组",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "coverGroup": {
- "type": "string",
- "title": "封面媒体组"
- },
- "option": {
- "type": "object",
- "title": "高级设置"
- },
- "textMax": {
- "type": "number",
- "title": "最大文字数量"
- },
- "language": {
- "type": "string",
- "title": "语言"
- }
- },
- "required": [
- "groupId",
- "num",
- "aiModelTag",
- "prompt",
- "mediaGroups",
- "coverGroup"
- ]
- },
- "UpdateMaterialDto": {
- "type": "object",
- "properties": {
- "coverUrl": {
- "type": "string",
- "title": "封面图"
- },
- "mediaList": {
- "title": "媒体数组",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MaterialMediaDto"
- }
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "内容"
- },
- "option": {
- "type": "object",
- "title": "其他属性"
- }
- },
- "required": [
- "mediaList",
- "title"
- ]
- },
- "CreateMaterialGroupDto": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "description": "素材类型",
- "enum": [
- "video",
- "article"
- ]
- },
- "name": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "type",
- "name"
- ]
- },
- "UpdateMaterialGroupDto": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "name"
- ]
- },
- "CreateMediaDto": {
- "type": "object",
- "properties": {
- "groupId": {
- "type": "string",
- "title": "组ID"
- },
- "materialId": {
- "type": "string",
- "title": "素材ID"
- },
- "type": {
- "type": "string",
- "title": "类型",
- "enum": [
- "video",
- "img"
- ],
- "description": "类型"
- },
- "url": {
- "type": "string",
- "title": "文件链接"
- },
- "thumbUrl": {
- "type": "string",
- "title": "缩略图"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "groupId",
- "type",
- "url",
- "title",
- "desc"
- ]
- },
- "CreateMediaGroupDto": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "title": "类型",
- "enum": [
- "video",
- "img"
- ],
- "description": "类型"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "type",
- "title",
- "desc"
- ]
- },
- "UpdateMediaGroupDto": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "title",
- "desc"
- ]
- },
- "CheckoutListBody": {
- "type": "object",
- "properties": {
- "page": {
- "type": "number",
- "title": "页面"
- },
- "size": {
- "type": "number",
- "title": "每页个数"
- }
- }
- },
- "MetadataDto": {
- "type": "object",
- "properties": {}
- },
- "CheckoutBodyDto": {
- "type": "object",
- "properties": {
- "success_url": {
- "type": "string",
- "title": "默认回到域名首页,如果指定回调页面只需要加上域名后面path地址即可"
- },
- "payment": {
- "type": "string",
- "title": "付款模式-连续包月-连续包年-一次性付-购买积分",
- "enum": [
- "month",
- "year",
- "onceYear",
- "onceMonth",
- "points"
- ]
- },
- "mode": {
- "type": "string",
- "title": "支付模式",
- "enum": [
- "payment",
- "subscription"
- ]
- },
- "flagTrialPeriodDays": {
- "type": "number",
- "title": "订阅模式下是否给七天免费试用时长, 0 - 不给, 1-给",
- "enum": [
- 0,
- 1
- ]
- },
- "metadata": {
- "title": "aitoearn订单信息",
- "allOf": [
- {
- "$ref": "#/components/schemas/MetadataDto"
- }
- ]
- }
- },
- "required": [
- "payment",
- "mode",
- "flagTrialPeriodDays"
- ]
- },
- "RefundBodyDto": {
- "type": "object",
- "properties": {
- "charge": {
- "type": "string",
- "title": "checkout表里面的charge "
- }
- },
- "required": [
- "charge"
- ]
- },
- "SubscriptionBodyDto": {
- "type": "object",
- "properties": {
- "page": {
- "type": "number",
- "title": "页面"
- },
- "size": {
- "type": "number",
- "title": "每页个数"
- }
- },
- "required": [
- "page",
- "size"
- ]
- },
- "UnSubscriptionBodyDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "title": "订阅id"
- }
- },
- "required": [
- "id"
- ]
- },
- "WithdrawCreateDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "flowId": {
- "type": "string",
- "minLength": 1
- },
- "type": {
- "type": "string",
- "enum": [
- "task",
- "reward"
- ]
- },
- "amount": {
- "type": "number",
- "minimum": 0
- },
- "relId": {
- "type": "string",
- "minLength": 1
- },
- "incomeRecordId": {
- "type": "string",
- "minLength": 1
- },
- "remark": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "type",
- "amount"
- ],
- "additionalProperties": false
- },
- "TaskWithOpportunityVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "maxRecruits": {
- "type": "number"
- },
- "currentRecruits": {
- "type": "number"
- },
- "deadline": {
- "type": "string"
- },
- "reward": {
- "type": "number"
- },
- "status": {
- "type": "string"
- },
- "accountTypes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "taskData": {
- "type": "object",
- "properties": {
- "targetWorksId": {
- "type": "string"
- },
- "targetAuthorId": {
- "type": "string"
- },
- "platform": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "materials": {
- "type": "array",
- "items": {}
- },
- "createdAt": {
- "type": "string"
- },
- "updatedAt": {
- "type": "string"
- },
- "opportunityId": {
- "type": "string"
- },
- "opportunityStatus": {
- "type": "string"
- },
- "expiredAt": {
- "type": "string"
- },
- "accountId": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "description",
- "type",
- "maxRecruits",
- "currentRecruits",
- "deadline",
- "reward",
- "status",
- "accountTypes",
- "createdAt",
- "updatedAt",
- "opportunityId",
- "opportunityStatus",
- "expiredAt",
- "accountId"
- ],
- "additionalProperties": false
- },
- "TotalAmountVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "totalAmount": {
- "type": "number"
- }
- },
- "required": [
- "totalAmount"
- ],
- "additionalProperties": false
- },
- "AcceptTaskDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "opportunityId": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "opportunityId"
- ],
- "additionalProperties": false
- },
- "UserTaskVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "taskId": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "reward": {
- "type": "number"
- },
- "accountId": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "taskId",
- "userId",
- "status",
- "reward",
- "accountId"
- ],
- "additionalProperties": false
- },
- "SubmitTaskDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "userTaskId": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "userTaskId"
- ],
- "additionalProperties": false
- },
- "MaterialVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "taskId": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "aiPrompt": {
- "type": "string"
- },
- "priority": {
- "type": "number"
- },
- "content": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "createdAt": {
- "type": "string",
- "format": "date-time"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time"
- }
- },
- "required": [
- "id",
- "taskId",
- "type",
- "status",
- "createdAt",
- "updatedAt"
- ],
- "additionalProperties": false
- },
- "UnreadCountVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "count": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- }
- },
- "required": [
- "count"
- ],
- "additionalProperties": false
- },
- "NotificationListVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "list": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "content": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "readAt": {
- "type": "string"
- },
- "relatedId": {
- "type": "string"
- },
- "createdAt": {
- "type": "string"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "userId",
- "title",
- "content",
- "type",
- "status",
- "relatedId",
- "createdAt",
- "updatedAt"
- ],
- "additionalProperties": false
- }
- },
- "total": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- }
- },
- "required": [
- "list",
- "total"
- ],
- "additionalProperties": false
- },
- "NotificationVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "content": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "readAt": {
- "type": "string"
- },
- "relatedId": {
- "type": "string"
- },
- "createdAt": {
- "type": "string"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "userId",
- "title",
- "content",
- "type",
- "status",
- "relatedId",
- "createdAt",
- "updatedAt"
- ],
- "additionalProperties": false
- },
- "MarkAsReadDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "notificationIds": {
- "minItems": 1,
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- },
- "required": [
- "notificationIds"
- ],
- "additionalProperties": false
- },
- "OperationResultVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "affectedCount": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- }
- },
- "additionalProperties": false
- },
- "BatchDeleteDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "notificationIds": {
- "minItems": 1,
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- },
- "required": [
- "notificationIds"
- ],
- "additionalProperties": false
- },
- "UserAiChatRequestDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "messages": {
- "description": "消息列表",
- "minItems": 1,
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "role": {
- "description": "消息角色",
- "type": "string",
- "enum": [
- "system",
- "user",
- "assistant"
- ]
- },
- "content": {
- "description": "消息内容",
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "text"
- },
- "text": {
- "description": "文本内容",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "additionalProperties": false
- },
- {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "image_url"
- },
- "image_url": {
- "type": "object",
- "properties": {
- "url": {
- "description": "图片链接",
- "type": "string",
- "format": "uri"
- },
- "detail": {
- "description": "图片处理质量",
- "type": "string",
- "enum": [
- "auto",
- "low",
- "high"
- ]
- }
- },
- "required": [
- "url"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "type",
- "image_url"
- ],
- "additionalProperties": false
- },
- {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "video_url"
- },
- "video_url": {
- "type": "object",
- "properties": {
- "url": {
- "description": "视频链接",
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "url"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "type",
- "video_url"
- ],
- "additionalProperties": false
- },
- {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "input_audio"
- },
- "input_audio": {
- "type": "object",
- "properties": {
- "data": {
- "description": "音频链接",
- "type": "string",
- "format": "uri"
- },
- "format": {
- "type": "string"
- }
- },
- "required": [
- "data",
- "format"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "type",
- "input_audio"
- ],
- "additionalProperties": false
- }
- ]
- }
- }
- ]
- }
- },
- "required": [
- "role",
- "content"
- ],
- "additionalProperties": false
- }
- },
- "model": {
- "description": "AI模型",
- "default": "qwen-plus",
- "type": "string"
- },
- "temperature": {
- "description": "温度参数",
- "type": "number",
- "minimum": 0,
- "maximum": 2
- },
- "maxTokens": {
- "description": "最大输出token数",
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- }
- },
- "required": [
- "messages",
- "model"
- ],
- "additionalProperties": false
- },
- "UserAiChatResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "content": {
- "description": "AI回复内容",
- "anyOf": [
- {
- "type": "string"
- },
- {}
- ]
- },
- "model": {
- "description": "使用的模型",
- "type": "string"
- },
- "usage": {
- "description": "使用情况",
- "type": "object",
- "properties": {
- "input_tokens": {
- "description": "输入token数",
- "type": "number"
- },
- "output_tokens": {
- "description": "输出token数",
- "type": "number"
- },
- "total_tokens": {
- "description": "总token数",
- "type": "number"
- }
- },
- "required": [
- "input_tokens",
- "output_tokens",
- "total_tokens"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "content",
- "model"
- ],
- "additionalProperties": false
- },
- "UserLogsResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "items": {
- "description": "日志列表",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "description": "日志ID",
- "type": "number"
- },
- "created_at": {
- "description": "创建时间",
- "type": "number"
- },
- "content": {
- "description": "内容",
- "type": "string"
- },
- "model_name": {
- "description": "模型名称",
- "type": "string"
- },
- "prompt_tokens": {
- "description": "提示token数",
- "type": "number"
- },
- "completion_tokens": {
- "description": "完成token数",
- "type": "number"
- },
- "use_time": {
- "description": "使用时间",
- "type": "number"
- }
- },
- "required": [
- "id",
- "created_at",
- "content",
- "model_name",
- "prompt_tokens",
- "completion_tokens",
- "use_time"
- ],
- "additionalProperties": false
- }
- },
- "total": {
- "description": "总数",
- "type": "number"
- },
- "page": {
- "description": "页码",
- "type": "number"
- },
- "page_size": {
- "description": "每页大小",
- "type": "number"
- }
- },
- "required": [
- "items",
- "total",
- "page",
- "page_size"
- ],
- "additionalProperties": false
- },
- "UserImageGenerationRequestDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "prompt": {
- "description": "图片描述提示",
- "type": "string",
- "minLength": 1,
- "maxLength": 4000
- },
- "model": {
- "description": "图片生成模型",
- "type": "string"
- },
- "n": {
- "description": "生成图片数量",
- "default": 1,
- "type": "integer",
- "minimum": 1,
- "maximum": 10
- },
- "quality": {
- "description": "图片质量",
- "type": "string"
- },
- "response_format": {
- "description": "返回格式",
- "default": "url",
- "type": "string",
- "enum": [
- "url",
- "b64_json"
- ]
- },
- "size": {
- "description": "图片尺寸",
- "type": "string"
- },
- "style": {
- "description": "图片风格",
- "type": "string"
- },
- "user": {
- "description": "用户标识符",
- "type": "string"
- }
- },
- "required": [
- "prompt",
- "n",
- "response_format",
- "size"
- ],
- "additionalProperties": false
- },
- "UserImageResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "created": {
- "description": "创建时间",
- "type": "number"
- },
- "list": {
- "description": "图片数据",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "url": {
- "description": "图片URL",
- "type": "string"
- },
- "b64_json": {
- "description": "Base64编码的图片",
- "type": "string"
- },
- "revised_prompt": {
- "description": "修订后的提示",
- "type": "string"
- }
- },
- "additionalProperties": false
- }
- },
- "usage": {
- "description": "使用情况",
- "type": "object",
- "properties": {
- "input_tokens": {
- "description": "输入token数",
- "type": "number"
- },
- "output_tokens": {
- "description": "输出token数",
- "type": "number"
- },
- "total_tokens": {
- "description": "总token数",
- "type": "number"
- }
- },
- "required": [
- "output_tokens",
- "total_tokens"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "created",
- "list"
- ],
- "additionalProperties": false
- },
- "UserImageEditRequestDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "image": {
- "description": "原始图片(base64编码)",
- "type": "string",
- "minLength": 1
- },
- "prompt": {
- "description": "编辑描述",
- "type": "string",
- "minLength": 1,
- "maxLength": 4000
- },
- "mask": {
- "description": "遮罩图片(base64编码)",
- "type": "string"
- },
- "model": {
- "description": "图片编辑模型",
- "type": "string"
- },
- "n": {
- "description": "生成图片数量",
- "default": 1,
- "type": "integer",
- "minimum": 1,
- "maximum": 10
- },
- "size": {
- "description": "图片尺寸",
- "type": "string"
- },
- "response_format": {
- "description": "返回格式",
- "default": "url",
- "type": "string",
- "enum": [
- "url",
- "b64_json"
- ]
- },
- "user": {
- "description": "用户标识符",
- "type": "string"
- }
- },
- "required": [
- "image",
- "prompt",
- "n",
- "size",
- "response_format"
- ],
- "additionalProperties": false
- },
- "UserImageVariationRequestDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "image": {
- "description": "原始图片(base64编码)",
- "type": "string",
- "minLength": 1
- },
- "model": {
- "description": "图片模型",
- "type": "string"
- },
- "n": {
- "description": "生成图片数量",
- "default": 1,
- "type": "integer",
- "minimum": 1,
- "maximum": 10
- },
- "size": {
- "description": "图片尺寸",
- "type": "string"
- },
- "response_format": {
- "description": "返回格式",
- "default": "url",
- "type": "string",
- "enum": [
- "url",
- "b64_json"
- ]
- },
- "user": {
- "description": "用户标识符",
- "type": "string"
- }
- },
- "required": [
- "image",
- "n",
- "size",
- "response_format"
- ],
- "additionalProperties": false
- },
- "UserVideoGenerationRequestDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "base64": {
- "description": "图片base64或prompt里代入图片url",
- "type": "string"
- },
- "mode": {
- "description": "生成模式",
- "type": "string",
- "enum": [
- "fast",
- "relax"
- ]
- },
- "prompt": {
- "description": "url+提示词",
- "type": "string",
- "minLength": 1,
- "maxLength": 4000
- },
- "motion": {
- "description": "动作强度",
- "type": "string",
- "enum": [
- "high",
- "low"
- ]
- },
- "video_type": {
- "description": "视频类型",
- "type": "string",
- "enum": [
- "vid_1.1_i2v_480",
- "vid_1.1_i2v_720",
- "vid_1.1_i2v_1080"
- ]
- },
- "animate_mode": {
- "description": "动画模式",
- "type": "string",
- "enum": [
- "manual",
- "auto"
- ]
- },
- "action": {
- "description": "视频执行动作",
- "type": "string",
- "enum": [
- "rerun",
- "start_frame",
- "auto_low",
- "auto_high",
- "low_motion",
- "high_motion"
- ]
- },
- "taskId": {
- "description": "视频衍生执行动作用到的任务id",
- "type": "string"
- },
- "index": {
- "description": "视频衍生索引",
- "type": "integer",
- "minimum": 0,
- "maximum": 3
- }
- },
- "required": [
- "prompt",
- "motion"
- ],
- "additionalProperties": false
- },
- "MjVideoSubmitResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "code": {
- "description": "响应代码",
- "type": "number"
- },
- "description": {
- "description": "响应描述",
- "type": "string"
- },
- "result": {
- "description": "任务ID",
- "type": "string"
- },
- "properties": {
- "description": "任务属性",
- "type": "object",
- "properties": {
- "prompt": {
- "description": "处理后的提示词",
- "type": "string"
- }
- },
- "required": [
- "prompt"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "code",
- "description",
- "result",
- "properties"
- ],
- "additionalProperties": false
- },
- "MjTaskFetchResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "id": {
- "description": "任务ID",
- "type": "string"
- },
- "prompt": {
- "description": "任务描述",
- "type": "string"
- },
- "imageUrl": {
- "description": "图片地址",
- "type": "string"
- },
- "enqueue_time": {
- "description": "入队时间",
- "type": "string"
- },
- "width": {
- "description": "宽度",
- "type": "number"
- },
- "height": {
- "description": "高度",
- "type": "number"
- },
- "batch_size": {
- "description": "批次大小",
- "type": "number"
- },
- "status": {
- "description": "任务状态",
- "type": "string"
- },
- "job_type": {
- "description": "任务类型",
- "type": "string"
- },
- "video_url": {
- "description": "单条视频URL",
- "type": "string"
- },
- "video_urls": {
- "description": "4条视频URL",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "progress": {
- "description": "任务进度",
- "type": "string"
- },
- "action": {
- "description": "任务动作",
- "type": "string"
- }
- },
- "required": [
- "id",
- "prompt",
- "imageUrl",
- "enqueue_time",
- "width",
- "height",
- "batch_size",
- "status",
- "job_type",
- "video_url",
- "video_urls",
- "progress",
- "action"
- ],
- "additionalProperties": false
- },
- "UserVideoGenerationDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "model": {
- "description": "模型名称",
- "type": "string",
- "minLength": 1
- },
- "prompt": {
- "description": "提示词",
- "type": "string",
- "minLength": 1,
- "maxLength": 4000
- },
- "image": {
- "description": "图片URL或base64",
- "type": "string"
- },
- "image_tail": {
- "description": "尾帧图片URL或base64",
- "type": "string"
- },
- "mode": {
- "description": "生成模式",
- "type": "string"
- },
- "size": {
- "description": "尺寸",
- "type": "string"
- },
- "duration": {
- "description": "时长",
- "type": "number"
- },
- "metadata": {
- "description": "其他参数",
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
- }
- },
- "required": [
- "model",
- "prompt"
- ],
- "additionalProperties": false
- },
- "VideoGenerationResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "task_id": {
- "description": "任务ID",
- "type": "string"
- },
- "status": {
- "description": "任务状态",
- "type": "string"
- },
- "message": {
- "description": "响应消息",
- "type": "string"
- }
- },
- "required": [
- "task_id",
- "status"
- ],
- "additionalProperties": false
- },
- "VideoTaskStatusResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "task_id": {
- "description": "任务ID",
- "type": "string"
- },
- "action": {
- "description": "任务动作",
- "type": "string"
- },
- "status": {
- "description": "任务状态",
- "type": "string"
- },
- "fail_reason": {
- "description": "失败原因或视频URL",
- "type": "string"
- },
- "submit_time": {
- "description": "提交时间",
- "type": "number"
- },
- "start_time": {
- "description": "开始时间",
- "type": "number"
- },
- "finish_time": {
- "description": "完成时间",
- "type": "number"
- },
- "progress": {
- "description": "任务进度",
- "type": "string"
- },
- "data": {
- "description": "任务数据",
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
- }
- },
- "required": [
- "task_id",
- "action",
- "status",
- "submit_time",
- "start_time",
- "finish_time",
- "progress",
- "data"
- ],
- "additionalProperties": false
- },
- "Md2CardRequestDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "markdown": {
- "description": "要转换的 Markdown 文本",
- "default": "# 默认 markdown",
- "type": "string"
- },
- "theme": {
- "description": "卡片主题样式 ID",
- "default": "apple-notes",
- "type": "string"
- },
- "themeMode": {
- "description": "主题的模式 ID",
- "type": "string"
- },
- "width": {
- "description": "卡片宽度(像素)",
- "default": 440,
- "type": "integer",
- "minimum": 100,
- "maximum": 2000
- },
- "height": {
- "description": "卡片高度(像素)",
- "default": 586,
- "type": "integer",
- "minimum": 100,
- "maximum": 3000
- },
- "splitMode": {
- "description": "分割模式",
- "default": "noSplit",
- "type": "string"
- },
- "mdxMode": {
- "description": "是否启用 MDX 模式",
- "default": false,
- "type": "boolean"
- },
- "overHiddenMode": {
- "description": "是否启用溢出隐藏模式",
- "default": false,
- "type": "boolean"
- }
- },
- "required": [
- "markdown",
- "theme",
- "width",
- "height",
- "splitMode",
- "mdxMode",
- "overHiddenMode"
- ],
- "additionalProperties": false
- },
- "Md2CardResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "images": {
- "description": "生成的卡片图片",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "url": {
- "description": "图片URL",
- "type": "string"
- },
- "fileName": {
- "description": "文件名",
- "type": "string"
- }
- },
- "required": [
- "url",
- "fileName"
- ],
- "additionalProperties": false
- }
- }
- },
- "required": [
- "images"
- ],
- "additionalProperties": false
- },
- "FireflycardRequestDto": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "content": {
- "description": "卡片内容",
- "type": "string",
- "minLength": 1
- },
- "temp": {
- "description": "模板类型",
- "default": "tempA",
- "type": "string",
- "enum": [
- "tempA",
- "tempB",
- "tempC",
- "tempJin",
- "tempMemo",
- "tempEasy",
- "tempBlackSun",
- "tempE",
- "tempWrite",
- "code",
- "tempD"
- ]
- },
- "title": {
- "description": "标题",
- "type": "string"
- },
- "style": {
- "description": "样式配置",
- "type": "object",
- "properties": {
- "align": {
- "description": "对齐方式",
- "type": "string"
- },
- "backgroundName": {
- "description": "背景名称",
- "type": "string"
- },
- "backShadow": {
- "description": "背景阴影",
- "type": "string"
- },
- "font": {
- "description": "字体",
- "type": "string"
- },
- "width": {
- "description": "宽度",
- "type": "number"
- },
- "ratio": {
- "description": "比例",
- "type": "string"
- },
- "height": {
- "description": "高度",
- "type": "number"
- },
- "fontScale": {
- "description": "字体缩放",
- "type": "number"
- },
- "padding": {
- "description": "内边距",
- "type": "string"
- },
- "borderRadius": {
- "description": "边框圆角",
- "type": "string"
- },
- "color": {
- "description": "颜色",
- "type": "string"
- },
- "opacity": {
- "description": "透明度",
- "type": "number"
- },
- "blur": {
- "description": "模糊度",
- "type": "number"
- },
- "backgroundAngle": {
- "description": "背景角度",
- "type": "string"
- },
- "lineHeights": {
- "description": "行高设置",
- "type": "object",
- "properties": {
- "content": {
- "description": "内容行高",
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "letterSpacings": {
- "description": "字间距设置",
- "type": "object",
- "properties": {
- "content": {
- "description": "内容字间距",
- "type": "string"
- }
- },
- "additionalProperties": false
- }
- },
- "additionalProperties": false
- },
- "switchConfig": {
- "description": "开关配置",
- "type": "object",
- "properties": {
- "showIcon": {
- "description": "显示图标",
- "type": "boolean"
- },
- "showDate": {
- "description": "显示日期",
- "type": "boolean"
- },
- "showTitle": {
- "description": "显示标题",
- "type": "boolean"
- },
- "showContent": {
- "description": "显示内容",
- "type": "boolean"
- },
- "showAuthor": {
- "description": "显示作者",
- "type": "boolean"
- },
- "showTextCount": {
- "description": "显示文字计数",
- "type": "boolean"
- },
- "showQRCode": {
- "description": "显示二维码",
- "type": "boolean"
- },
- "showPageNum": {
- "description": "显示页码",
- "type": "boolean"
- },
- "showWatermark": {
- "description": "显示水印",
- "type": "boolean"
- }
- },
- "additionalProperties": false
- }
- },
- "required": [
- "content",
- "temp"
- ],
- "additionalProperties": false
- },
- "FireflycardResponseVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "image": {
- "description": "生成的卡片图片base64数据",
- "type": "string"
- }
- },
- "required": [
- "image"
- ],
- "additionalProperties": false
- },
- "ImageGenerationModelVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "name": {
- "description": "模型名称",
- "type": "string"
- },
- "description": {
- "description": "模型描述",
- "type": "string"
- },
- "sizes": {
- "description": "支持的尺寸",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "qualities": {
- "description": "支持的质量选项",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "styles": {
- "description": "支持的风格选项",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "pricing": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description",
- "sizes",
- "qualities",
- "styles",
- "pricing"
- ],
- "additionalProperties": false
- },
- "ImageEditModelVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "name": {
- "description": "模型名称",
- "type": "string"
- },
- "description": {
- "description": "模型描述",
- "type": "string"
- },
- "sizes": {
- "description": "支持的尺寸",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "pricing": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description",
- "sizes",
- "pricing"
- ],
- "additionalProperties": false
- },
- "VideoGenerationModelVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "name": {
- "description": "模型名称",
- "type": "string"
- },
- "description": {
- "description": "模型描述",
- "type": "string"
- },
- "modes": {
- "description": "支持的模式",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "resolutions": {
- "description": "支持的尺寸",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "durations": {
- "description": "支持的时长",
- "type": "array",
- "items": {
- "type": "number"
- }
- },
- "supportedParameters": {
- "description": "支持的参数",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "defaults": {
- "type": "object",
- "properties": {
- "resolution": {
- "type": "string"
- },
- "aspectRatio": {
- "type": "string"
- },
- "mode": {
- "type": "string"
- },
- "duration": {
- "type": "number"
- }
- },
- "additionalProperties": false
- },
- "pricing": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "resolution": {
- "type": "string"
- },
- "aspectRatio": {
- "type": "string"
- },
- "mode": {
- "type": "string"
- },
- "duration": {
- "type": "number"
- },
- "price": {
- "type": "number"
- }
- },
- "required": [
- "price"
- ],
- "additionalProperties": false
- }
- }
- },
- "required": [
- "name",
- "description",
- "modes",
- "resolutions",
- "durations",
- "supportedParameters",
- "pricing"
- ],
- "additionalProperties": false
- },
- "ChatModelVo": {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "inputModalities": {
- "description": "输入模态",
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "text",
- "image",
- "video",
- "audio"
- ]
- }
- },
- "outputModalities": {
- "description": "输出模态",
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "text",
- "image",
- "video",
- "audio"
- ]
- }
- },
- "pricing": {
- "type": "object",
- "properties": {
- "prompt": {
- "type": "string"
- },
- "completion": {
- "type": "string"
- },
- "image": {
- "type": "string"
- },
- "audio": {
- "type": "string"
- }
- },
- "required": [
- "prompt",
- "completion"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "name",
- "description",
- "inputModalities",
- "outputModalities",
- "pricing"
- ],
- "additionalProperties": false
- },
- "PlatformUidQueryDto": {
- "type": "object",
- "properties": {
- "platform": {
- "type": "string",
- "description": "平台",
- "example": "bilibili"
- },
- "uid": {
- "type": "string",
- "description": "uid",
- "example": "123456"
- }
- },
- "required": [
- "platform",
- "uid"
- ]
- },
- "BatchChannelLatestQueryDto": {
- "type": "object",
- "properties": {
- "queries": {
- "description": "查询数组",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PlatformUidQueryDto"
- }
- }
- },
- "required": [
- "queries"
- ]
- },
- "GetChannelDataPeriodByUidsDto": {
- "type": "object",
- "properties": {
- "queries": {
- "description": "查询数组",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PlatformUidQueryDto"
- }
- }
- },
- "required": [
- "queries"
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/project/web/eslint.config.mjs b/project/web/eslint.config.mjs
index 2883385a..c2c32899 100644
--- a/project/web/eslint.config.mjs
+++ b/project/web/eslint.config.mjs
@@ -1,41 +1,10 @@
-import { dirname } from "path";
-import { fileURLToPath } from "url";
-import { FlatCompat } from "@eslint/eslintrc";
-
-const __filename = fileURLToPath(import.meta.url);
-const __dirname = dirname(__filename);
-
-const compat = new FlatCompat({
- baseDirectory: __dirname,
-});
-
-const eslintConfig = [
- ...compat.extends(
- "next/core-web-vitals",
- "next/typescript",
- "plugin:prettier/recommended",
- "plugin:@typescript-eslint/recommended",
- ),
- ...compat.plugins(
- '@typescript-eslint/eslint-plugin',
- 'unused-imports',
- "eslint-plugin-react"
- ),
- {
- rules: {
- '@typescript-eslint/interface-name-prefix': 'off',
- '@typescript-eslint/explicit-function-return-type': 'off',
- '@typescript-eslint/explicit-module-boundary-types': 'off',
- '@typescript-eslint/no-explicit-any': 'off',
- "unused-imports/no-unused-imports": "error",
- "@typescript-eslint/no-empty-object-type": "off",
- "@typescript-eslint/no-unused-vars": "warn",
- "prettier/prettier": ["error", { "endOfLine": "auto" }],
- "@typescript-eslint/ban-ts-comment": "off",
- "react/display-name": "off",
- "react-hooks/rules-of-hooks": "off"
- },
- }
-];
-
-export default eslintConfig;
+import antfu from '@antfu/eslint-config'
+
+export default antfu({
+ formatters: true,
+ nextjs: true,
+ rules: {
+ 'node/prefer-global/process': ['off'],
+ 'no-console': ['off'],
+ },
+})
diff --git a/project/web/next-sitemap.config.js b/project/web/next-sitemap.config.js
index d1ed2050..bd907323 100644
--- a/project/web/next-sitemap.config.js
+++ b/project/web/next-sitemap.config.js
@@ -1,12 +1,12 @@
+const { statSync } = require('node:fs')
+const path = require('node:path')
// next-sitemap.config.js
-const glob = require("glob");
-const { statSync } = require("fs");
-const path = require("path");
+const glob = require('glob')
-const BLOCKLIST_REGEX = /material\/album\/\[id\]/;
-const HAS_DYNAMIC_SEGMENT = /\[[^/]+?\]/;
-const siteUrl = process.env.NEXT_PUBLIC_HOST_URL || "https://aitoearn.ai";
-const languages = ["en", "zh-CN"];
+const BLOCKLIST_REGEX = /material\/album\/\[id\]/
+const HAS_DYNAMIC_SEGMENT = /\[[^/]+?\]/
+const siteUrl = process.env.NEXT_PUBLIC_HOST_URL || 'https://aitoearn.ai'
+const languages = ['en', 'zh-CN']
/** @type {import('next-sitemap').IConfig} */
module.exports = {
@@ -16,94 +16,100 @@ module.exports = {
// 主站 URL 生成(保持你现有逻辑,可继续优化)
transform: async (_, locPath) => {
- if (HAS_DYNAMIC_SEGMENT.test(locPath)) return null;
- if (BLOCKLIST_REGEX.test(locPath)) return null;
- if (locPath.includes("[lng]")) return null;
+ if (HAS_DYNAMIC_SEGMENT.test(locPath))
+ return null
+ if (BLOCKLIST_REGEX.test(locPath))
+ return null
+ if (locPath.includes('[lng]'))
+ return null
return {
loc: locPath,
- changefreq: "monthly",
+ changefreq: 'monthly',
priority: 0.7,
lastmod: new Date().toISOString(),
- };
+ }
},
additionalPaths: async () => {
- const allPageFiles = glob.sync("src/app/**/page.{js,tsx}", {
+ const allPageFiles = glob.sync('src/app/**/page.{js,tsx}', {
cwd: process.cwd(),
- ignore: ["**/node_modules/**"],
- });
+ ignore: ['**/node_modules/**'],
+ })
const pageFiles = allPageFiles
- .filter((f) => f.includes("[lng]"))
+ .filter(f => f.includes('[lng]'))
.filter((f) => {
- const unix = f.replace(/\\/g, "/");
- if (BLOCKLIST_REGEX.test(unix)) return false;
- const withoutLng = unix.replace("/[lng]", "");
- return !HAS_DYNAMIC_SEGMENT.test(withoutLng);
- });
+ const unix = f.replace(/\\/g, '/')
+ if (BLOCKLIST_REGEX.test(unix))
+ return false
+ const withoutLng = unix.replace('/[lng]', '')
+ return !HAS_DYNAMIC_SEGMENT.test(withoutLng)
+ })
const routeEntries = pageFiles.map((file) => {
- let route =
- file
- .replace(/\\/g, "/")
- .replace(/\/page\.(js|tsx)$/, "")
- .replace("src/app/[lng]", "") || "/";
- if (route !== "/") route = route.replace(/^\/+/, "/");
- const lastmod = statSync(path.resolve(file)).mtime.toISOString();
- return { route, lastmod };
- });
+ let route
+ = file
+ .replace(/\\/g, '/')
+ .replace(/\/page\.(js|tsx)$/, '')
+ .replace('src/app/[lng]', '') || '/'
+ if (route !== '/')
+ route = route.replace(/^\/+/, '/')
+ const lastmod = statSync(path.resolve(file)).mtime.toISOString()
+ return { route, lastmod }
+ })
- const result = [];
+ const result = []
for (const lang of languages) {
for (const { route, lastmod } of routeEntries) {
- const isRoot = route === "/";
- const slug = isRoot ? "" : route.slice(1);
- const normalized = slug;
+ const isRoot = route === '/'
+ const slug = isRoot ? '' : route.slice(1)
+ const normalized = slug
- let changefreq = "monthly";
- let priority = isRoot ? 0.8 : 0.7;
- if (normalized.includes("hotContent")) {
- changefreq = "daily";
- priority = 0.9;
- } else if (normalized.includes("aiRank")) {
- changefreq = "weekly";
- priority = 0.9;
+ let changefreq = 'monthly'
+ let priority = isRoot ? 0.8 : 0.7
+ if (normalized.includes('hotContent')) {
+ changefreq = 'daily'
+ priority = 0.9
+ }
+ else if (normalized.includes('aiRank')) {
+ changefreq = 'weekly'
+ priority = 0.9
}
result.push({
- loc: `/${lang}${slug ? "/" + slug : ""}`,
+ loc: `/${lang}${slug ? `/${slug}` : ''}`,
changefreq,
priority,
lastmod,
- });
+ })
}
}
- return result;
+ return result
},
// 关键:把子站 sitemap 挂到索引
additionalSitemaps: [
- "https://blog.aitoearn.ai/sitemap.xml",
- "https://docs.aitoearn.ai/sitemap.xml",
- "https://hotinfo.aitoearn.ai/sitemap.xml",
- "https://rank.aitoearn.ai/sitemap.xml",
+ 'https://blog.aitoearn.ai/sitemap.xml',
+ 'https://docs.aitoearn.ai/sitemap.xml',
+ 'https://hotinfo.aitoearn.ai/sitemap.xml',
+ 'https://rank.aitoearn.ai/sitemap.xml',
],
// 让 robots.txt 也列出
robotsTxtOptions: {
policies: [
{
- userAgent: "*",
+ userAgent: '*',
disallow: [],
},
],
additionalSitemaps: [
- "https://blog.aitoearn.ai/sitemap.xml",
- "https://docs.aitoearn.ai/sitemap.xml",
- "https://hotinfo.aitoearn.ai/sitemap.xml",
- "https://rank.aitoearn.ai/sitemap.xml",
+ 'https://blog.aitoearn.ai/sitemap.xml',
+ 'https://docs.aitoearn.ai/sitemap.xml',
+ 'https://hotinfo.aitoearn.ai/sitemap.xml',
+ 'https://rank.aitoearn.ai/sitemap.xml',
],
},
-};
+}
diff --git a/project/web/next.config.mjs b/project/web/next.config.mjs
index 440a0f47..53de5fa8 100644
--- a/project/web/next.config.mjs
+++ b/project/web/next.config.mjs
@@ -1,27 +1,27 @@
-import path from "path";
-import { fileURLToPath } from "url";
+import path from 'node:path'
+import { fileURLToPath } from 'node:url'
-const __dirname = path.dirname(fileURLToPath(import.meta.url));
+const __dirname = path.dirname(fileURLToPath(import.meta.url))
/** @type {import('next').NextConfig} */
const nextConfig = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
- use: ["@svgr/webpack"],
- exclude: path.resolve(__dirname, "src/assets/svgs/plat"),
- });
+ use: ['@svgr/webpack'],
+ exclude: path.resolve(__dirname, 'src/assets/svgs/plat'),
+ })
config.module.rules.push({
test: /\.svg$/,
- include: path.resolve(__dirname, "src/assets/svgs/plat"),
- type: "asset/resource",
- });
+ include: path.resolve(__dirname, 'src/assets/svgs/plat'),
+ type: 'asset/resource',
+ })
- return config;
+ return config
},
sassOptions: {
- includePaths: ["./app", "*.scss"],
+ includePaths: ['./app', '*.scss'],
prependData: `@import "@/app/styles/mixin.scss";`,
},
reactStrictMode: false,
@@ -29,15 +29,15 @@ const nextConfig = {
forceSwcTransforms: true,
outputFileTracingRoot: undefined,
},
- output: "standalone", // Temporarily disabled to avoid symlink issues on Windows
- productionBrowserSourceMaps: process.env.NEXT_PUBLIC_EVN === "dev",
+ output: 'standalone', // Temporarily disabled to avoid symlink issues on Windows
+ productionBrowserSourceMaps: process.env.NEXT_PUBLIC_EVN === 'dev',
rewrites: async () => {
const rewrites = [
{
source: `${process.env.NEXT_PUBLIC_OSS_URL_PROXY}:path*`,
destination: `${process.env.NEXT_PUBLIC_OSS_URL}/:path*`,
- }
- ];
+ },
+ ]
// 存在 NEXT_PUBLIC_PROXY_URL 则代理,本地直连 用
// 如:NEXT_PUBLIC_PROXY_URL = http://localhost:8080
@@ -47,34 +47,34 @@ const nextConfig = {
destination: `${process.env.NEXT_PUBLIC_PROXY_URL}/api/:path*`,
})
}
- return rewrites;
+ return rewrites
},
-};
+}
const CorsHeaders = [
- { key: "Access-Control-Allow-Credentials", value: "true" },
- { key: "Access-Control-Allow-Origin", value: "*" },
+ { key: 'Access-Control-Allow-Credentials', value: 'true' },
+ { key: 'Access-Control-Allow-Origin', value: '*' },
{
- key: "Access-Control-Allow-Methods",
- value: "*",
+ key: 'Access-Control-Allow-Methods',
+ value: '*',
},
{
- key: "Access-Control-Allow-Headers",
- value: "*",
+ key: 'Access-Control-Allow-Headers',
+ value: '*',
},
{
- key: "Access-Control-Max-Age",
- value: "86400",
+ key: 'Access-Control-Max-Age',
+ value: '86400',
},
-];
+]
nextConfig.headers = async () => {
return [
{
- source: "/api/:path*",
+ source: '/api/:path*',
headers: CorsHeaders,
},
- ];
-};
+ ]
+}
-export default nextConfig;
+export default nextConfig
diff --git a/project/web/package.json b/project/web/package.json
index df2a2972..09c75ab0 100644
--- a/project/web/package.json
+++ b/project/web/package.json
@@ -10,7 +10,8 @@
"build:copy": "tsc && next build && npm run copy-static",
"copy-static": "xcopy public .next\\standalone\\public /E /I /Y && if exist .next\\static xcopy .next\\static .next\\standalone\\.next\\static /E /I /Y",
"start": "next start",
- "lint": "next lint",
+ "lint": "eslint .",
+ "lint:fix": "eslint . --fix",
"migrateToLocize": "locize migrate --project-id=01b2e5e8-6243-47d1-b36f-963dbb8bcae3 --api-key=c9805cd1-fd50-4d98-967a-383b39066de8 --path=./app/i18n/locales",
"downloadLocales": "locize download --project-id=01b2e5e8-6243-47d1-b36f-963dbb8bcae3 --ver=latest --clean=true --path=./app/i18n/locales && npm run i18next-resources-for-ts",
"syncLocales": "locize sync --project-id=01b2e5e8-6243-47d1-b36f-963dbb8bcae3 --api-key=bd8cb856-d6b3-4c82-a456-862c729a1674 --ver=latest --path=./app/i18n/locales --dry=true",
@@ -29,8 +30,6 @@
"@svgr/webpack": "^6.5.1",
"@szhsin/react-menu": "^4.4.1",
"@toast-ui/react-image-editor": "^3.15.2",
- "@types/blueimp-md5": "^2.18.2",
- "@types/react-beautiful-dnd": "^13.1.8",
"accept-language": "3.0.20",
"antd": "^5.25.2",
"axios": "^1.9.0",
@@ -71,29 +70,26 @@
"zustand": "^5.0.5"
},
"devDependencies": {
+ "@antfu/eslint-config": "^6.2.0",
"@eslint/eslintrc": "^3",
"@next/eslint-plugin-next": "^15.5.3",
+ "@types/blueimp-md5": "^2.18.2",
"@types/crypto-js": "^4.2.2",
"@types/echarts": "^5.0.0",
"@types/lodash": "^4.17.17",
"@types/node": "^20",
"@types/qs": "^6.14.0",
"@types/react": "^18",
+ "@types/react-beautiful-dnd": "^13.1.8",
"@types/react-dom": "^18",
"@types/react-transition-group": "^4.4.12",
- "@typescript-eslint/eslint-plugin": "^8.0.0",
- "@typescript-eslint/parser": "^8.0.0",
- "eslint": "^9",
- "eslint-config-next": "15.3.2",
- "eslint-config-prettier": "^8.8.0",
- "eslint-plugin-prettier": "^5.1.3",
+ "eslint": "^9.39.1",
+ "eslint-plugin-format": "^1.0.2",
"eslint-plugin-react": "^7.37.4",
- "eslint-plugin-react-hooks": "^5.2.0",
- "eslint-plugin-unused-imports": "^4.1.4",
+ "eslint-plugin-react-hooks": "^7.0.1",
"file-loader": "^6.2.0",
"i18next-resources-for-ts": "1.5.0",
"locize-cli": "9.0.1",
- "prettier": "^3.0.2",
- "typescript": "^5"
+ "typescript": "^5.9.3"
}
}
diff --git a/project/web/pnpm-lock.yaml b/project/web/pnpm-lock.yaml
index d8d5c548..6df5e104 100644
--- a/project/web/pnpm-lock.yaml
+++ b/project/web/pnpm-lock.yaml
@@ -44,12 +44,6 @@ importers:
'@toast-ui/react-image-editor':
specifier: ^3.15.2
- '@types/blueimp-md5':
- specifier: ^2.18.2
- version: 2.18.2
- '@types/react-beautiful-dnd':
- specifier: ^13.1.8
- version: 13.1.8
accept-language:
specifier: 3.0.20
version: 3.0.20
@@ -82,7 +76,7 @@ importers:
version: 11.0.3
i18next:
specifier: 24.2.3
- version: 24.2.3([email protected])
+ version: 24.2.3([email protected])
i18next-browser-languagedetector:
specifier: 8.0.4
version: 8.0.4
@@ -127,7 +121,7 @@ importers:
version: 18.3.1([email protected])
react-i18next:
specifier: 15.4.1
react-icons:
specifier: ^5.5.0
version: 5.5.0([email protected])
@@ -165,12 +159,18 @@ importers:
specifier: ^5.0.5
version: 5.0.5(@types/[email protected])([email protected])
devDependencies:
+ '@antfu/eslint-config':
+ specifier: ^6.2.0
'@eslint/eslintrc':
specifier: ^3
version: 3.3.1
'@next/eslint-plugin-next':
specifier: ^15.5.3
version: 15.5.3
+ '@types/blueimp-md5':
+ specifier: ^2.18.2
+ version: 2.18.2
'@types/crypto-js':
specifier: ^4.2.2
version: 4.2.2
@@ -189,39 +189,27 @@ importers:
'@types/react':
specifier: ^18
version: 18.3.23
+ '@types/react-beautiful-dnd':
+ specifier: ^13.1.8
+ version: 13.1.8
'@types/react-dom':
specifier: ^18
version: 18.3.7(@types/[email protected])
'@types/react-transition-group':
specifier: ^4.4.12
version: 4.4.12(@types/[email protected])
- '@typescript-eslint/eslint-plugin':
- specifier: ^8.0.0
- '@typescript-eslint/parser':
- specifier: ^8.0.0
eslint:
- specifier: ^9
- version: 9.28.0
- eslint-config-next:
- specifier: 15.3.2
- eslint-config-prettier:
- specifier: ^8.8.0
- version: 8.10.0([email protected])
- eslint-plugin-prettier:
- specifier: ^5.1.3
+ specifier: ^9.39.1
+ version: 9.39.1
+ eslint-plugin-format:
+ specifier: ^1.0.2
+ version: 1.0.2([email protected])
eslint-plugin-react:
specifier: ^7.37.4
- version: 7.37.5([email protected])
+ version: 7.37.5([email protected])
eslint-plugin-react-hooks:
- specifier: ^5.2.0
- version: 5.2.0([email protected])
- eslint-plugin-unused-imports:
- specifier: ^4.1.4
+ specifier: ^7.0.1
+ version: 7.0.1([email protected])
file-loader:
specifier: ^6.2.0
version: 6.2.0([email protected])
@@ -231,12 +219,9 @@ importers:
locize-cli:
specifier: 9.0.1
version: 9.0.1([email protected])
- prettier:
- specifier: ^3.0.2
- version: 3.5.3
typescript:
- specifier: ^5
- version: 5.8.3
+ specifier: ^5.9.3
+ version: 5.9.3
packages:
@@ -297,6 +282,64 @@ packages:
peerDependencies:
react: '>=16.9.0'
+ '@antfu/[email protected]':
+ resolution: {integrity: sha512-ksasd+mJk441HHodwPh3Nhmwo9jSHUmgQyfTxMQM05U7SjDS0fy2KnXnPx0Vhc/CqKiJnx8wGpQCCJibyASX9Q==}
+ hasBin: true
+ peerDependencies:
+ '@eslint-react/eslint-plugin': ^2.0.1
+ '@next/eslint-plugin-next': '>=15.0.0'
+ '@prettier/plugin-xml': ^3.4.1
+ '@unocss/eslint-plugin': '>=0.50.0'
+ astro-eslint-parser: ^1.0.2
+ eslint: ^9.10.0
+ eslint-plugin-astro: ^1.2.0
+ eslint-plugin-format: '>=0.1.0'
+ eslint-plugin-jsx-a11y: '>=6.10.2'
+ eslint-plugin-react-hooks: ^7.0.0
+ eslint-plugin-react-refresh: ^0.4.19
+ eslint-plugin-solid: ^0.14.3
+ eslint-plugin-svelte: '>=2.35.1'
+ eslint-plugin-vuejs-accessibility: ^2.4.1
+ prettier-plugin-astro: ^0.14.0
+ prettier-plugin-slidev: ^1.0.5
+ svelte-eslint-parser: '>=0.37.0'
+ peerDependenciesMeta:
+ '@eslint-react/eslint-plugin':
+ optional: true
+ '@next/eslint-plugin-next':
+ optional: true
+ '@prettier/plugin-xml':
+ optional: true
+ '@unocss/eslint-plugin':
+ optional: true
+ astro-eslint-parser:
+ optional: true
+ eslint-plugin-astro:
+ optional: true
+ eslint-plugin-format:
+ optional: true
+ eslint-plugin-jsx-a11y:
+ optional: true
+ eslint-plugin-react-hooks:
+ optional: true
+ eslint-plugin-react-refresh:
+ optional: true
+ eslint-plugin-solid:
+ optional: true
+ eslint-plugin-svelte:
+ optional: true
+ eslint-plugin-vuejs-accessibility:
+ optional: true
+ prettier-plugin-astro:
+ optional: true
+ prettier-plugin-slidev:
+ optional: true
+ svelte-eslint-parser:
+ optional: true
+
+ '@antfu/[email protected]':
+ resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==}
+
resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
engines: {node: '>=6.9.0'}
@@ -388,6 +431,10 @@ packages:
resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}
engines: {node: '>=6.9.0'}
@@ -405,6 +452,11 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
resolution: {integrity: sha512-QPG3C9cCVRQLxAVwmefEmwdTanECuUBMQZ/ym5kiw3XKCGA7qkuQLcjWWHcrD/GKbn/WmJwaezfuuAOcyKlRPA==}
engines: {node: '>=6.9.0'}
@@ -852,63 +904,137 @@ packages:
resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}
+ engines: {node: '>=6.9.0'}
+
+ '@clack/[email protected]':
+ resolution: {integrity: sha512-p3y0FIOwaYRUPRcMO7+dlmLh8PSRcrjuTndsiA0WAFbWES0mLZlrjVoBRZ9DzkPFJZG6KGkJmoEAY0ZcVWTkow==}
+
+ '@clack/[email protected]':
+ resolution: {integrity: sha512-pMN5FcrEw9hUkZA4f+zLlzivQSeQf5dRGJjSUbvVYDLvpKCdQx5OaknvKzgbtXOizhP+SJJJjqEbOe55uKKfAw==}
+
resolution: {integrity: sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==}
- '@emnapi/[email protected]':
- resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==}
+ '@dprint/[email protected]':
+ resolution: {integrity: sha512-N9fxCxbaBOrDkteSOzaCqwWjso5iAe+WJPsHC021JfHNj2ThInPNEF13ORDKta3llq5D1TlclODCvOvipH7bWQ==}
- '@emnapi/[email protected]':
- resolution: {integrity: sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==}
+ '@dprint/[email protected]':
+ resolution: {integrity: sha512-ukHFOg+RpG284aPdIg7iPrCYmMs3Dqy43S1ejybnwlJoFiW02b+6Bbr5cfZKFRYNP3dKGM86BqHEnMzBOyLvvA==}
+
+ '@dprint/[email protected]':
+ resolution: {integrity: sha512-bZXIUjxr0LIuHWshZr/5mtUkOrnh0NKVZEF6ACojW5z7zkJu7s9sV2mMXm8XQDqN4cJzdHYUYzUyEGdfciaLJA==}
'@emnapi/[email protected]':
resolution: {integrity: sha512-oAYoQnCYaQZKVS53Fq23ceWMRxq5EhQsE0x0RdQ55jT7wagMu5k+fS39v1fiSLrtrLQlXwVINenqhLMtTrV/1Q==}
- '@emnapi/[email protected]':
- resolution: {integrity: sha512-5n3nTJblwRi8LlXkJ9eBzu+kZR8Yxcc7ubakyQTFzPMtIhFpUBRbsnc2Dv88IZDIbCDlBiWrknhB4Lsz7mg6BA==}
-
'@emotion/[email protected]':
resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==}
'@emotion/[email protected]':
resolution: {integrity: sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==}
+ '@es-joy/[email protected]':
+ resolution: {integrity: sha512-YAdE/IJSpwbOTiaURNCKECdAwqrJuFiZhylmesBcIRawtYKnBR2wxPhoIewMg+Yu+QuYvHfJNReWpoxGBKOChA==}
+ engines: {node: '>=18'}
+
+ '@es-joy/[email protected]':
+ resolution: {integrity: sha512-g+RihtzFgGTx2WYCuTHbdOXJeAlGnROws0TeALx9ow/ZmOROOZkVg5wp/B44n0WJgI4SQFP1eWM2iRPlU2Y14w==}
+ engines: {node: '>=20.11.0'}
+
+ '@es-joy/[email protected]':
+ resolution: {integrity: sha512-Q9hjxWI5xBM+qW2enxfe8wDKdFWMfd0Z29k5ZJnuBqD/CasY5Zryj09aCA6owbGATWz+39p5uIdaHXpopOcG8g==}
+ engines: {node: '>=10'}
+
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-MAhuTKlr4y/CE3WYX26raZjy+I/kS2PLKSzvfmDCGrBLTFHOYwqROZdr4XwPgXwX3K9rjzMr4pSmUWGnzsUyMg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
+
'@eslint-community/[email protected]':
resolution: {integrity: sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
+
'@eslint-community/[email protected]':
resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-wueu2vBRwKqnrgOuz1JmEefhn5dgfa1NgvFtDMfefePfICTYFtwkTuOJNGJI77TUnqV9inp9ZNDB1nyAMmlZMg==}
+ engines: {node: '>=20.19.0'}
+
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-1ve3pSjAhd4PKcTpZd0bQwkAgWOAJjfgAixTfOvJ7QhWi3gPKq0Wn0vi78XcFO8K0IL3EcOfX2g2JhZJzSRnWQ==}
+ engines: {node: '>=20.19.0'}
+
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-/SXI23DpQCutSXPdAPdSvErfsBFYwaqbgQy5dLmnde4wHivk/eD9O/rA/Xu1c4j9tLJG/sZBQ9DzN/UXHizjag==}
+ engines: {node: '>=20.19.0'}
+
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-fcLZNQRbzjBK510a2oqLcsvdCSMK169x3CGfi1E3JvdMPyLICM+KZ8wNnhULZPey7BnEFVWC7dQfz5Dct60C7g==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ eslint: ^9.38.0
+ typescript: ^5.9.3
+
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-FN3X4jA0kksFO9cjXwRaFHA6wbc7AgHjYkczdfwm0dOr/uUVv3Sc/F3kUNJ6KFOSoDCfNGybRCICu9DZbanhWA==}
+ engines: {node: '>=20.19.0'}
+
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-hT2TvusBcEfFLFGfwZRstkQv9lp+079DEba5F6Dr53g3f+gBvLNDcayb5zDgwNP5+hQRd8lY8goEOfA8PWyaJQ==}
+ engines: {node: '>=20.19.0'}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-cfO82V9zxxGBxcQDr1lfaYB7wykTa0b00mGa36FrJl7iTFd0Z2cHfEYuxcBRP/iNijCsWsEkA+jzT8hGYmv33w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.40 || 9
+ peerDependenciesMeta:
+ eslint:
+ optional: true
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/[email protected]':
resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-fnqSjGWd/CoIp4EXIxWVK/sHA6DOHN4+8Ix2cX5ycOY7LG0UY8nHCU5pIp2eaE1Mc7Qd8kHspYNzYXT2ojPLzg==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-R8uZemG9dKTbru/DQRPblbJyXpObwKzo8rv1KYGGuPUPtjM4LXBYM9q5CIZAComzZupws3tWbDwam5AFpPLyJQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@floating-ui/[email protected]':
@@ -1215,18 +1341,12 @@ packages:
resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==}
hasBin: true
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-bCsCyeZEwVErsGmyPNSzwfwFn4OdxBj0mmv6hOFucB/k81Ojdu68RbZdxYsRQUPc9l6SU5F/cG+bXgWs3oUgsQ==}
-
resolution: {integrity: sha512-fbb2C7HChgM7CemdCY+y3N1n8pcTKdqtQLbC7/EQtPdLvlMUT9JX/dBYl8MMZAtYG4uVMyPFHXckb68q/NRwqg==}
resolution: {integrity: sha512-UzgLR2eBfhKIQt0aJ7PWH7XRPYw7SXz0Fpzdl5THjUnvxy4kfBk9OU4RNPNiETewEEtaBcExNFNn1QWH8wQTjg==}
- resolution: {integrity: sha512-ijVRTXBgnHT33aWnDtmlG+LJD+5vhc9AKTJPquGG5NKXjpKNjc62woIhFtrAcWdBobt8kqjCoaJ0q6sDQoX7aQ==}
-
resolution: {integrity: sha512-SdhaKdko6dpsSr0DldkESItVrnPYB1NS2NpShCSX5lc7SSQmLZt5Mug6t2xbiuVWEVDLZSuIAoQyYVBYp0dR5g==}
@@ -1296,10 +1416,6 @@ packages:
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
engines: {node: '>= 8'}
- '@nolyfill/[email protected]':
- resolution: {integrity: sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==}
- engines: {node: '>=12.4.0'}
-
'@parcel/[email protected]':
resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==}
engines: {node: '>= 10.0.0'}
@@ -1382,6 +1498,10 @@ packages:
resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}
engines: {node: '>= 10.0.0'}
+ resolution: {integrity: sha512-fdDH1LSGfZdTH2sxdpVMw31BanV28K/Gry0cVFxaNP77neJSkd82mM8ErPNYs9e+0O7SdHBLTDzDgwUuy18RnQ==}
+ engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
+
resolution: {integrity: sha512-YLT9Zo3oNPJoBjBc4q8G2mjU4tqIbf5CEOORbUUr48dCD9q3umJ3IPlVqOqDakPfd2HuwccBaqlGhN4Gmr5OWg==}
engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
@@ -1465,11 +1585,15 @@ packages:
react: '>=16.8.0'
react-dom: '>=16.8.0'
- '@rtsao/[email protected]':
- resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
+ '@sindresorhus/[email protected]':
+ resolution: {integrity: sha512-TeheYy0ILzBEI/CO55CP6zJCSdSWeRtGnHy8U8dWSUH4I68iqTsy7HkMktR4xakThc9jotkPQUXT4ITdbV7cHA==}
+ engines: {node: '>=18'}
- '@rushstack/[email protected]':
- resolution: {integrity: sha512-zxnHvoMQVqewTJr/W4pKjF0bMGiKJv1WX7bSrkl46Hg0QjESbzBROWK0Wg4RphzSOS5Jiy7eFimmM3UgMrMZbQ==}
+ '@stylistic/[email protected]':
+ resolution: {integrity: sha512-IeZF+8H0ns6prg4VrkhgL+yrvDXWDH2cKchrbh80ejG9dQgZWp10epHMbgRuQvgchLII/lfh6Xn3lu6+6L86Hw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: '>=9.0.0'
resolution: {integrity: sha512-9PYGcXrAxitycIjRmZB+Q0JaN07GZIWaTBIGQzfaZv+qr1n8X1XUEJ5rZ/vx6OVD9RRYlrNnXWExQXcmZeD/BQ==}
@@ -1570,9 +1694,6 @@ packages:
resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==}
engines: {node: '>=10.13.0'}
- '@tybys/[email protected]':
- resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==}
-
resolution: {integrity: sha512-dJ9yRry9Olt5GAWlgCtE5dK9d/Dfhn/V7hna86eEO2Pn76+E8Y0S0n61iEUEGhWXXgtKtHxtZLVNwL8X+vLHzg==}
@@ -1582,6 +1703,9 @@ packages:
resolution: {integrity: sha512-sDOLlVbHhXpAUAL0YHDUUwDZf3iN4Bwi4W6a0W0b+QcAezUbRtH4FVb+9J4h+XFPW7l/gQ9F8qC7P+Ec4k8QVQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
+
resolution: {integrity: sha512-5uc/16BlYpzH8kU/u8aeRRgY2FV6yRY7RjPnYfUFPowl0F3kvNgfaz09PmeVdLkqdAtMft3XkCfqiJPJjG2DNQ==}
deprecated: This is a stub types definition. echarts provides its own type definitions, so you do not need this installed.
@@ -1606,12 +1730,15 @@ packages:
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
-
resolution: {integrity: sha512-RRVJ+J3J+WmyOTqnz3PiBLA501eKwXl2noseKOrNo/6+XEHjTAxO4xHvxQB6QuNm+s4WRbn6rSiap8+EA+ykFQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
+
resolution: {integrity: sha512-hfrc+1tud1xcdVTABC2JiomZJEklMcXYNTVtZLAeqTVWD+qL5jkHKT+1lOtqDdGxt+mB53DTtiz673vfjU8D1Q==}
@@ -1646,149 +1773,99 @@ packages:
resolution: {integrity: sha512-b79830lW+RZfwaztgs1aVPgbasJ8e7AXtZYHTELNXZPsERt4ymJdjV4OccDbHQAvHrCcFpbF78jkm0R6h/pZVg==}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-TDCXj+YxLgtvxvFlAvpoRv9MAncDLBV2oT9Bd7YBGC/b/sEURoOYuIwLI99rjWOfY3QtDzO+mk0n4AmdFExW8A==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@typescript-eslint/parser': ^8.33.1
+ '@typescript-eslint/parser': ^8.46.4
eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
+ typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-qwxv6dq682yVvgKKp2qWwLgRbscDAYktPptK4JPojCwwi3R9cwrvIxS4lvBpzmcqzR4bdn54Z0IG1uHFskW4dA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
+ typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-DZR0efeNklDIHHGRpMpR5gJITQpu6tLr9lDJnKdONTC7vvzOlLAG/wcfxcdxEWrbiZApcoBCzXqU/Z458Za5Iw==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-nPiRSKuvtTN+no/2N1kt2tUh/HoFzeEgOm9fQ6XQk4/ApGqjx0zFIIaLJ6wooR1HIoozvj2j6vTi/1fgAz7UYQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
+ typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-dM4UBtgmzHR9bS0Rv09JST0RcHYearoEoo3pG5B6GoTR9XcyeqX87FEhPo+5kTvVfKCvfHaHrcgeJQc6mrDKrA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-STAQsGYbHCF0/e+ShUQ4EatXQ7ceh3fBCXkNU7/MZVKulrlq1usH7t2FhxvCpuCi5O5oi1vmVaAjrGeL71OK1g==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-+/XqaZPIAk6Cjg7NWgSGe27X4zMGqrFqZ8atJsX3CWxH/jACqWnrWI68h7nHQld0y+k9eTTjb9r+KU4twLoo9A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
+ typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-1cG37d9xOkhlykom55WVwG2QRNC7YXlxMaMzqw2uPeJixBFfKWZgaP/hjAObqMN/u3fr5BrTwTnc31/L9jQ2ww==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
+ typescript: '>=4.8.4 <6.0.0'
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-xid1WfizGhy/TKMTwhtVOgalHwPtV8T32MS9MaH50Cwvz6x6YqRIPdD2WvW0XaqOzTV9p5xdLY0h/ZusU5Lokg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-+s9LYcT8LWjdYWu7IWs7FvUxpQ/DGkdjZeE/GGulHvv8rvYwQvVaUZ6DE+j5x/prADUgSbbCWZ2nPI3usuVeOA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
+ typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-52HaBiEQUaRYqAXpfzWSR2U3gxk92Kw006+xZpElaPMg3C4PgM+A5LqwoQI1f9E5aZ/qlxAZxzm42WX+vn92SQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
+ typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-3i8NrFcZeeDHJ+7ZUuDkGT+UHq+XoFGsymNK2jZCOHcfEzRQ0BdpRtdpSx/Iyf3MHLWIcLS0COuOPibKQboIiQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-i3/wlWjQJXMh1uiGtiv7k1EYvrrS3L1hdwmWJJiz1D8jWy726YFYPIxQWbEIVPVAgrfRR0XNlLrTQwq17cuCGw==}
- cpu: [arm64]
- os: [darwin]
-
- resolution: {integrity: sha512-8XXyFvc6w6kmMmi6VYchZhjd5CDcp+Lv6Cn1YmUme0ypsZ/0Kzd+9ESrWtDrWibKPTgSteDTxp75cvBOY64FQQ==}
- cpu: [x64]
- os: [darwin]
-
- resolution: {integrity: sha512-0qJBYzP8Qk24CZ05RSWDQUjdiQUeIJGfqMMzbtXgCKl/a5xa6thfC0MQkGIr55LCLd6YmMyO640ifYUa53lybQ==}
- cpu: [x64]
- os: [freebsd]
-
- resolution: {integrity: sha512-1sGwpgvx+WZf0GFT6vkkOm6UJ+mlsVnjw+Yv9esK71idWeRAG3bbpkf3AoY8KIqKqmnzJExi0uKxXpakQ5Pcbg==}
- cpu: [arm]
- os: [linux]
-
- resolution: {integrity: sha512-D/1F/2lTe+XAl3ohkYj51NjniVly8sIqkA/n1aOND3ZMO418nl2JNU95iVa1/RtpzaKcWEsNTtHRogykrUflJg==}
- cpu: [arm]
- os: [linux]
-
- resolution: {integrity: sha512-7vFWHLCCNFLEQlmwKQfVy066ohLLArZl+AV/AdmrD1/pD1FlmqM+FKbtnONnIwbHtgetFUCV/SRi1q4D49aTlw==}
- cpu: [arm64]
- os: [linux]
-
- resolution: {integrity: sha512-tYkGIx8hjWPh4zcn17jLEHU8YMmdP2obRTGkdaB3BguGHh31VCS3ywqC4QjTODjmhhNyZYkj/1Dz/+0kKvg9YA==}
- cpu: [arm64]
- os: [linux]
-
- resolution: {integrity: sha512-6F328QIUev29vcZeRX6v6oqKxfUoGwIIAhWGD8wSysnBYFY0nivp25jdWmAb1GildbCCaQvOKEhCok7YfWkj4Q==}
- cpu: [ppc64]
- os: [linux]
-
- resolution: {integrity: sha512-NqhWmiGJGdzbZbeucPZIG9Iav4lyYLCarEnxAceguMx9qlpeEF7ENqYKOwB8Zqk7/CeuYMEcLYMaW2li6HyDzQ==}
- cpu: [riscv64]
- os: [linux]
-
- resolution: {integrity: sha512-J2RPIFKMdTrLtBdfR1cUMKl8Gcy05nlQ+bEs/6al7EdWLk9cs3tnDREHZ7mV9uGbeghpjo4i8neNZNx3PYUY9w==}
- cpu: [riscv64]
- os: [linux]
-
- resolution: {integrity: sha512-bDpGRerHvvHdhun7MmFUNDpMiYcJSqWckwAVVRTJf8F+RyqYJOp/mx04PDc7DhpNPeWdnTMu91oZRMV+gGaVcQ==}
- cpu: [s390x]
- os: [linux]
-
- resolution: {integrity: sha512-G9U7bVmylzRLma3cK39RBm3guoD1HOvY4o0NS4JNm37AD0lS7/xyMt7kn0JejYyc0Im8J+rH69/dXGM9DAJcSQ==}
- cpu: [x64]
- os: [linux]
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-7rENIOOk6eqgtf2FsQWilgfQheeuGRiU3lB2H+pmtbcA4jOdtBfQHVqS7f/KCOJ2JKjrIJgow8yUeANi34rj9w==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ eslint: '>=8.57.0'
+ typescript: '>=5.0.0'
+ vitest: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ vitest:
+ optional: true
- resolution: {integrity: sha512-7qL20SBKomekSunm7M9Fe5L93bFbn+FbHiGJbfTlp0RKhPVoJDP73vOxf1QrmJHyDPECsGWPFnKa/f8fO2FsHw==}
- cpu: [x64]
- os: [linux]
+ resolution: {integrity: sha512-eDl5H57AOpNakGNAkFDH+y7kTqrQpJkZFXhWZQGyx/5Wh7B1uQYvcWkvZi11BDhscPgj8N7XV3oRwiPnx1Vrig==}
- resolution: {integrity: sha512-jisvIva8MidjI+B1lFRZZMfCPaCISePgTyR60wNT1MeQvIh5Ksa0G3gvI+Iqyj3jqYbvOHByenpa5eDGcSdoSg==}
- engines: {node: '>=14.0.0'}
- cpu: [wasm32]
+ resolution: {integrity: sha512-1QHGAvs53gXkWdd3ZMGYuvQFXHW4ksKWPG8HP8/2BscrbZ0brw183q2oNWjMrSWImYLHxHrx1ItBQr50I/q2zw==}
- resolution: {integrity: sha512-G+H5nQZ8sRZ8ebMY6mRGBBvTEzMYEcgVauLsNHpvTUavZoCCRVP1zWkCZgOju2dW3O22+8seTHniTdl1/uLz3g==}
- cpu: [arm64]
- os: [win32]
+ resolution: {integrity: sha512-8EG5YPRgmTB+YxYBM3VXy8zHD9SWHUJLIGPhDovo3Z8VOgvP+O7UP5vl0J4BBPWYD9vxtBabzW1EuEZ+Cqs14g==}
- resolution: {integrity: sha512-Hfy46DBfFzyv0wgR0MMOwFFib2W2+Btc8oE5h4XlPhpelnSyA6nFxkVIyTgIXYGTdFaLoZFNn62fmqx3rjEg3A==}
- cpu: [ia32]
- os: [win32]
+ resolution: {integrity: sha512-trOvMWNBMQ/odMRHW7Ae1CdfYx+7MuiQu62Jtu36gMLXcaoqKvAyh+P73sYG9ll+6jLB6QPovqoKGGZROzkFFg==}
- resolution: {integrity: sha512-7L8NdsQlCJ8T106Gbz/AjzM4QKWVsoQbKpB9bMBGcIZswUuAnJMHpvbqGW3RBqLHCIwX4XZ5fxSBHEFcK2h9wA==}
- cpu: [x64]
- os: [win32]
+ resolution: {integrity: sha512-9cwHL2EsJBdi8NY22pngYYWzkTDhld6fAD6jlaeloNGciNSJL6bLpbxVgXl96X00Jtc6YWQv96YA/0sxex/k1A==}
'@webassemblyjs/[email protected]':
resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}
@@ -1943,6 +2020,10 @@ packages:
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==}
+ engines: {node: '>=14'}
+
resolution: {integrity: sha512-yXdWqq1NJSZnD1HoPZWnWuQJGVYYnB3h0Ufsz4sbt3T0N9SdJ4G9GPpLMk8Gn9zWtwBekfR4THPVZ9uzAyhBHQ==}
peerDependencies:
@@ -1952,6 +2033,10 @@ packages:
resolution: {integrity: sha512-tLIEcj5GuR2RSTnxNKdkK0dJ/GrC7P38sUkiDmDuHfsHmbagTFAxDVIBltoklXEVIQ/f14IL8IMJ5pn9Hez1Ew==}
+ resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==}
+ engines: {node: '>=14'}
+
resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==}
engines: {node: '>=10'}
@@ -1979,10 +2064,6 @@ packages:
resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==}
- engines: {node: '>= 0.4'}
-
resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==}
engines: {node: '>= 0.4'}
@@ -2062,6 +2143,10 @@ packages:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
+ resolution: {integrity: sha512-73lC1ugzwoaWCLJ1LvOgrR5xsMLTqSKIEoMHVtL9E/HNk0PXtTM76ZIm84856/SF7Nv8mPZxKoBsgpm0tR1u1Q==}
+ hasBin: true
+
resolution: {integrity: sha512-JnkkL4GUpOvvanH9AZPX38CxhiLsXMBicBY2IAtqiVN8YulGDQybUydWA4W6yAMtw6iShtw+8HEF6cfrTHU+UQ==}
engines: {node: '>=0.10'}
@@ -2072,6 +2157,9 @@ packages:
resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==}
+ resolution: {integrity: sha512-VUpsf/qykW0heRlC8LooCq28Kxn3mAqKohhDG/49rrsQ1dT1CXyj/pgXS+5BSRzFTR/3DyIBOqQOrGyZOh71Aw==}
+
resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==}
@@ -2096,13 +2184,26 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
+ resolution: {integrity: sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ==}
+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+ hasBin: true
+
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
+ resolution: {integrity: sha512-bkXY9WsVpY7CvMhKSR6pZilZu9Ln5WDrKVBUXf2S443etkmEO4V58heTecXcUIsNsi4Rx8JUO4NfX1IcQl4deg==}
+ engines: {node: '>=18.20'}
+
resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}
engines: {node: '>=10.16.0'}
+ resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww==}
engines: {node: '>=10.6.0'}
@@ -2133,6 +2234,9 @@ packages:
resolution: {integrity: sha512-QGUGitqsc8ARjLdgAfxETDhRbJ0REsP6O3I96TAth/mVjh2cYzN2u+3AzPP3aVSm2FehEItaJw1xd+IGBXWeSw==}
+ resolution: {integrity: sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==}
+
resolution: {integrity: sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==}
engines: {node: '>=6'}
@@ -2140,10 +2244,19 @@ packages:
resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==}
+ resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
+
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==}
+
+ resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}
+
resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==}
@@ -2163,12 +2276,20 @@ packages:
resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==}
engines: {node: '>=6.0'}
+ resolution: {integrity: sha512-Wdy2Igu8OcBpI2pZePZ5oWjPC38tmDVx5WKUXKwlLYkA0ozo85sLsLvkBbBn/sZaSCMFOGZJ14fvW9t5/d7kdA==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==}
resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==}
+ resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==}
+ engines: {node: '>=4'}
+
resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
@@ -2202,12 +2323,25 @@ packages:
resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
engines: {node: ^12.20.0 || >=14}
+ resolution: {integrity: sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==}
+ engines: {node: '>= 12.0.0'}
+
+ resolution: {integrity: sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==}
+
resolution: {integrity: sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==}
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
+ resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==}
+
+ resolution: {integrity: sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==}
+
resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==}
@@ -2231,6 +2365,9 @@ packages:
resolution: {integrity: sha512-tqTt5T4PzsMIZ430XGviK4vzYSoeNJ6CXODi6c/voxOT6IZqBht5/EKaSNnYiEjjRYxjVz7DQIsOsY0XNi8PIA==}
+ resolution: {integrity: sha512-p9hObIIEENxSV8xIu+V68JjSeARg6UVMG5mR+JEUguG3sI6MsiS1njz2jHmyJDvA+8jX/sytkBHup6kxhM9law==}
+
resolution: {integrity: sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==}
@@ -2268,6 +2405,11 @@ packages:
resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==}
engines: {node: '>= 6'}
+ resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}
+ engines: {node: '>=4'}
+ hasBin: true
+
resolution: {integrity: sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==}
engines: {node: '>=8.0.0'}
@@ -2313,16 +2455,17 @@ packages:
resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
- resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}
+ resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==}
+ engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
peerDependenciesMeta:
supports-color:
optional: true
- resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==}
+ resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
@@ -2330,6 +2473,9 @@ packages:
supports-color:
optional: true
+ resolution: {integrity: sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==}
+
resolution: {integrity: sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==}
engines: {node: '>=8'}
@@ -2356,6 +2502,10 @@ packages:
resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==}
+ resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==}
engines: {node: '>=0.10'}
@@ -2365,6 +2515,13 @@ packages:
resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
+
+ resolution: {integrity: sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==}
+ engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
+
resolution: {integrity: sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==}
engines: {node: '>=0.3.1'}
@@ -2426,6 +2583,9 @@ packages:
resolution: {integrity: sha512-TIvGp57UpeNetj/wV/xpFNpWGb0b/ROw372lHPx5Aafx02gjTBtWnEEcaSX3W2dLM3OSdGGyHX/cHl01JQsLaQ==}
+ resolution: {integrity: sha512-/5UMj9IiGDMOFBnN4i7/Ry5onJrAGSbOGo3s9FEKmwobGq6xw832ccET0CE3CkkMBZ8GJSlUIesZofpyurqDXw==}
+
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
@@ -2436,6 +2596,10 @@ packages:
resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==}
engines: {node: '>= 4'}
+ resolution: {integrity: sha512-i6UzDscO/XfAcNYD75CfICkmfLedpyPDdozrLMmQc5ORaQcdMoc21OnlEylMIqI7U8eniKrPMxxtj8k0vhmJhA==}
+ engines: {node: '>=14'}
+
resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==}
@@ -2499,124 +2663,252 @@ packages:
resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}
+ engines: {node: '>=0.8.0'}
+
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
+ engines: {node: '>=12'}
+
resolution: {integrity: sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==}
engines: {node: '>=4.0'}
hasBin: true
- resolution: {integrity: sha512-FerU4DYccO4FgeYFFglz0SnaKRe1ejXQrDb8kWUkTAg036YWi+jUsgg4sIGNCDhAsDITsZaL4MzBWKB6f4G1Dg==}
+ resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==}
+ engines: {node: '>=12'}
peerDependencies:
- eslint: ^7.23.0 || ^8.0.0 || ^9.0.0
- typescript: '>=3.3.1'
- peerDependenciesMeta:
- typescript:
- optional: true
+ eslint: '>=6.0.0'
- resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==}
- hasBin: true
+ resolution: {integrity: sha512-vAUHYzue4YAa2hNACjB8HvUQj5yehAZgiClyFVVom9cP8z5NSFq3PwB/TtJslN2zAMgRX6FCFCjYBbQh71g5RQ==}
+ engines: {node: '>=12'}
peerDependencies:
- eslint: '>=7.0.0'
+ eslint: '>=6.0.0'
- resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}
+ resolution: {integrity: sha512-cJzNJ7L+psWp5mXM7jBX+fjHtBvvh06RBlcweMhKD8jWqQw0G78hOW5tpVALGHGFPsBV+ot2H+pdDGJy6CV8pA==}
+ peerDependencies:
+ eslint: ^9.5.0
- resolution: {integrity: sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==}
- engines: {node: ^14.18.0 || >=16.0.0}
+ resolution: {integrity: sha512-bEnmU5gqzS+4O+id9vrbP43vByjF+8KOs+QuuV4OlqAuXmnRW2zfI/Rza1fQvdihQ5h4DUo0NqFAiViD4mSrzQ==}
+
+ resolution: {integrity: sha512-k9RdyTqxqN/wNYVaTk/ds5B5rA8lgoAmvceYN7bcZMBwU7TuXx5ntewJv81eF3pIL/CiJE+pJZm36llG8yhyyw==}
+ peerDependencies:
+ eslint: '>=8.40.0'
+
+ resolution: {integrity: sha512-YzEodbDyW8DX8bImKhAcCeu/L31Dd/70Bidx2Qex9OFUtgzXLqtfWL4Hr5fM/aCCB8QUZLuJur0S9k6UfgFkfg==}
+ engines: {node: '>=12'}
peerDependencies:
+ '@eslint/json': '*'
eslint: '*'
- eslint-plugin-import: '*'
- eslint-plugin-import-x: '*'
+ jsonc-eslint-parser: ^2.4.0
peerDependenciesMeta:
- eslint-plugin-import:
- optional: true
- eslint-plugin-import-x:
+ '@eslint/json':
optional: true
- resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==}
- engines: {node: '>=4'}
+ resolution: {integrity: sha512-sUuhSf3IrJdGooquEUB5TNpGNpBoQccbnaLHsb1XkBLUPPqCNivCpY05ZcpCOiV9uHwO2yxXEWVczVclzMxYlA==}
peerDependencies:
- '@typescript-eslint/parser': '*'
eslint: '*'
- eslint-import-resolver-node: '*'
- eslint-import-resolver-typescript: '*'
- eslint-import-resolver-webpack: '*'
- peerDependenciesMeta:
- '@typescript-eslint/parser':
- optional: true
- eslint:
- optional: true
- eslint-import-resolver-node:
- optional: true
- eslint-import-resolver-typescript:
- optional: true
- eslint-import-resolver-webpack:
- optional: true
- resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==}
- engines: {node: '>=4'}
+ resolution: {integrity: sha512-KRgd6wuxH4U8kczqPp+Oyk4irThIhHWxgFgLDtpgjUGVIS3wGrJntvZW/p6hHq1T4FOwnOtCNkvAI4Kr+mQ/Hw==}
+
+ resolution: {integrity: sha512-7Q+NhwLfHJFvopI2HBZbSxWXngTwBLKxW1AGXLr2lEGxcEIK/AsDs8pn8fvIizl5aZjBbVbVK5ujmMpBe4Tvdg==}
+ peerDependencies:
+ eslint: '*'
+
+ resolution: {integrity: sha512-fBVTXQ2y48TVLT0+4A6PFINp7GcdIailHAXbvPBixE7x+YpYnNQhFZxTdvnb+aWk+COgNebQKen/7m4dmgyWAw==}
+ peerDependencies:
+ eslint: '*'
+
+ resolution: {integrity: sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '>=8'
+
+ resolution: {integrity: sha512-ySrDaLQZbreNAr/Betq6ocd5Hxy3+LBIfWNV2621EQQ6yGf/ZSLtN2MiM62WO2YQTX+nSFhv332Tpp51q+AkZQ==}
+ peerDependencies:
+ eslint: ^8.40.0 || ^9.0.0
+
+ resolution: {integrity: sha512-dkNBAL6jcoCsXZsQ/Tt2yXmMDoNt5NaBh/U7yvccjiK8cai6Ay+MK77bMykmqQA2bTF6lngaLCDij6MTO3KkvA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@typescript-eslint/parser': '*'
- eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9
+ eslint: '>=9.0.0'
+ typescript: '>=4.5'
peerDependenciesMeta:
- '@typescript-eslint/parser':
+ typescript:
optional: true
+ resolution: {integrity: sha512-Pky3YKWPOcDGi4TzBZlp/ENd+z443uVgIyZxzA9wVbfECjG1ptf7sB8gzSX4Z8dAtoD8d3d68jsLuAfxr+8qyQ==}
+ engines: {node: '>=20.11.0'}
+ peerDependencies:
+ eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
+
+ resolution: {integrity: sha512-HttlxdNG5ly3YjP1cFMP62R4qKLxJURfBZo2gnMY+yQojZxkLyOpY1H1KRTKBmvQeSG9pIpSGEhDjE17vvYosg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '>=6.0.0'
+
resolution: {integrity: sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==}
engines: {node: '>=4.0'}
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9
- resolution: {integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==}
- engines: {node: ^14.18.0 || >=16.0.0}
+ resolution: {integrity: sha512-68PealUpYoHOBh332JLLD9Sj7OQUDkFpmcfqt8R9sySfFSeuGJjMTJQvCRRB96zO3A/PELRLkPrzsHmzEFQQ5A==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@types/eslint': '>=8.0.0'
- eslint: '>=8.0.0'
- eslint-config-prettier: '>= 7.0.0 <10.0.0 || >=10.1.0'
- prettier: '>=3.0.0'
- peerDependenciesMeta:
- '@types/eslint':
- optional: true
- eslint-config-prettier:
- optional: true
+ eslint: '>=8.23.0'
- resolution: {integrity: sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==}
- engines: {node: '>=10'}
+ resolution: {integrity: sha512-brcKcxGnISN2CcVhXJ/kEQlNa0MEfGRtwKtWA16SkqXHKitaKIMrfemJKLKX1YqDU5C/5JY3PvZXd5jEW04e0Q==}
+ engines: {node: '>=5.0.0'}
+
+ resolution: {integrity: sha512-MHF0cBoOG0XyBf7G0EAFCuJJu4I18wy0zAoT1OHfx2o6EOx1EFTIzr2HGeuZa1kDcusoX0xJ9V7oZmaeFd773Q==}
+ engines: {node: ^18.0.0 || >=20.0.0}
peerDependencies:
- eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
+ eslint: '>=8.45.0'
- resolution: {integrity: sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==}
- engines: {node: '>=4'}
+ resolution: {integrity: sha512-Lkdnj3afoeUIkDUu8X74z60nrzjQ2U55EbOeI+qz7H1He4IO4gmUKT2KQIl0It52iMHJeuyLDWWNgjr6UIK8nw==}
peerDependencies:
- eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
+ eslint: ^9.0.0
- resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==}
+ resolution: {integrity: sha512-xAetOWwrfYnqU0Vd6LjEQi1paAwU7Tgoa+jHUb7QCKxdILDV618yPrMigWpY+438cg6oXTYE/awFI/Rv+dOFCw==}
+ engines: {node: '>=20.19.0'}
peerDependencies:
- '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0
- eslint: ^9.0.0 || ^8.0.0
- peerDependenciesMeta:
- '@typescript-eslint/eslint-plugin':
- optional: true
+ eslint: ^9.38.0
+ typescript: ^5.9.3
- resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
- engines: {node: '>=8.0.0'}
+ resolution: {integrity: sha512-widwgbMP3cC3sjmHidryg2McYqnzoIWcpsQ4JYnaXmRMMTem+Sp7a3+fkWvAUfWQBQIbigPT9O2+VhlvC+xlPg==}
+ engines: {node: '>=20.0.0'}
+ peerDependencies:
+ eslint: ^9.38.0
+ typescript: ^5.9.3
- resolution: {integrity: sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==}
+ resolution: {integrity: sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
+
+ resolution: {integrity: sha512-KP6d3WxiLmTnm245VK1lLI4Pzu/tkJLNOsmAetDm0kPfamD71msZMerp4VYFsFtqk0km9rbRKE7Cdd27tL43Ow==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ eslint: ^9.38.0
+ typescript: ^5.9.3
+
+ resolution: {integrity: sha512-nLHIW7TEq3aLrEYWpVaJ1dRgFR+wLDPN8e8FpYAql/bMV2oBEfC37K0gLEGgv9fy66juNShSMV8OkTqzltcG/w==}
+ peerDependencies:
+ eslint: '>=8.40'
+
+ resolution: {integrity: sha512-NQMVDVIOiU+vJ98hkrIZeNdIwmO54UOjB8EfiHkgDWk69QBJrBtrn5AguFBuUlBUdZR/9vp4yKdQFtzBbRcDTw==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ eslint: ^9.38.0
+ typescript: ^5.9.3
+
+ resolution: {integrity: sha512-6rW/CALxGCO9M2wuIUMNKuepSf5uW+Sg+AaQtLpsfs+B6fmDVHFrxIgg9wYk2aRrI6MMQcjDUMEYPUX9eOg2wQ==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ eslint: ^9.38.0
+ typescript: ^5.9.3
+
+ resolution: {integrity: sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==}
+ engines: {node: '>=4'}
+ peerDependencies:
+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
+
+ resolution: {integrity: sha512-ovzQT8ESVn5oOe5a7gIDPD5v9bCSjIFJu57sVPDqgPRXicQzOnYfFN21WoQBQF18vrhT5o7UMKFwJQVVjyJ0ng==}
+ engines: {node: ^18 || >=20}
+ peerDependencies:
+ eslint: '>=8.44.0'
+
+ resolution: {integrity: sha512-+/wVObA9DVhwZB1nG83D2OAQRrcQZXy+drqUnFJKymqnmbnbfg/UPmEMCKrJNcEboUGxUjYrJlgy+/Y930mURQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '>=6.0.0'
+
+ resolution: {integrity: sha512-HIlIkGLkvf29YEiS/ImuDZQbP12gWyx5i3C6XrRxMvVdqMroCI9qoVYCoIl17ChN+U89pn9sVwLxhIWj5nEc7g==}
+ engines: {node: ^20.10.0 || >=21.0.0}
+ peerDependencies:
+ eslint: '>=9.38.0'
+
+ resolution: {integrity: sha512-ZFBmXMGBYfHttdRtOG9nFFpmUvMtbHSjsKrS20vdWdbfiVYsO3yA2SGYy9i9XmZJDfMGBflZGBCm70SEnFQtOA==}
+ peerDependencies:
+ '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0
+ eslint: ^9.0.0 || ^8.0.0
+ peerDependenciesMeta:
+ '@typescript-eslint/eslint-plugin':
+ optional: true
+
+ resolution: {integrity: sha512-SbR9ZBUFKgvWAbq3RrdCtWaW0IKm6wwUiApxf3BVTNfqUIo4IQQmreMg2iHFJJ6C/0wss3LXURBJ1OwS/MhFcQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ '@stylistic/eslint-plugin': ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
+ '@typescript-eslint/parser': ^7.0.0 || ^8.0.0
+ eslint: ^8.57.0 || ^9.0.0
+ vue-eslint-parser: ^10.0.0
+ peerDependenciesMeta:
+ '@stylistic/eslint-plugin':
+ optional: true
+ '@typescript-eslint/parser':
+ optional: true
+
+ resolution: {integrity: sha512-S+4GbcCWksFKAvFJtf0vpdiCkZZvDJCV4Zsi9ahmYkYOYcf+LRqqzvzkb/ST7vTYV6sFwXOvawzYyL/jFT2nQA==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '>=6.0.0'
+
+ resolution: {integrity: sha512-u4W0CJwGoWY3bjXAuFpc/b6eK3NQEI8MoeW7ritKj3G3z/WtHrKjkqf+wk8mPEy5rlMGS+k6AZYOw2XBoN/02Q==}
+ peerDependencies:
+ '@vue/compiler-sfc': ^3.3.0
+ eslint: '>=9.0.0'
+
+ resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
+ engines: {node: '>=8.0.0'}
+
+ resolution: {integrity: sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -2627,8 +2919,12 @@ packages:
resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-ocgh41VhRlf9+fVpe7QKzwLj9c92fDiqOj8Y3Sd4/ZmVA4Btx4PlUYPq4pp9JDyupkf1upbEXecxL2mwNV7jPQ==}
+ resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ resolution: {integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
hasBin: true
peerDependencies:
@@ -2641,6 +2937,14 @@ packages:
resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}
engines: {node: '>=4'}
@@ -2662,6 +2966,9 @@ packages:
resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
engines: {node: '>=4.0'}
+ resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
+
resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
engines: {node: '>=0.10.0'}
@@ -2670,6 +2977,9 @@ packages:
resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}
engines: {node: '>=0.8.x'}
+ resolution: {integrity: sha512-LmDxfWXwcTArk8fUEnOfSZpHOJ6zOMUJKOtFLFqJLoKJetuQG874Uc7/Kki7zFLzYybmZhp1M7+98pfMqeX8yA==}
+
resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}
@@ -2713,8 +3023,12 @@ packages:
resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==}
- resolution: {integrity: sha512-4BG7puHpVsIYxZUbiUE3RqGloLaSSwzYie5jvasC4LWuBWzZawynvYouhjbQKw2JuIGYdm0DzIxl8iVidKlUEw==}
+ resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==}
+
+ resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
+ engines: {node: '>=12.0.0'}
peerDependencies:
picomatch: ^3 || ^4
peerDependenciesMeta:
@@ -2735,6 +3049,10 @@ packages:
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
engines: {node: '>=10'}
@@ -2781,6 +3099,10 @@ packages:
resolution: {integrity: sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==}
engines: {node: '>= 6'}
+ resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==}
+ engines: {node: '>=0.4.x'}
+
resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==}
engines: {node: '>= 8'}
@@ -2828,6 +3150,9 @@ packages:
resolution: {integrity: sha512-vXjx4vRBjw6rd3Zg73IMyNLZuPjs8/lE9gJZs270YJJI0t5vlCpdsyX5E0TmSd+KcRWzwPbwjwd6bnNpF72sFQ==}
+ resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==}
+
resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
engines: {node: '>= 6'}
@@ -2856,10 +3181,21 @@ packages:
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}
+
resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
engines: {node: '>= 0.4'}
@@ -2909,12 +3245,21 @@ packages:
resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==}
+
+ resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==}
+
resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
resolution: {integrity: sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw==}
+ resolution: {integrity: sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ==}
+
resolution: {integrity: sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==}
@@ -2984,6 +3329,10 @@ packages:
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
engines: {node: '>=0.8.19'}
+ resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==}
+ engines: {node: '>=12'}
+
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
@@ -3025,8 +3374,9 @@ packages:
resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==}
+ resolution: {integrity: sha512-f4RqJKBUe5rQkJ2eJEJBXSticB3hGbN9j0yxxMQFqIW89Jp9WYFtzfTcRlstDKVUTRzSOTLKRfO9vIztenwtxA==}
+ engines: {node: '>=18.20'}
resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
@@ -3064,6 +3414,12 @@ packages:
resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-LkHEOGVZZXxGl8vDs+10k3DvP++SEoYEAJLRk6buTFi6kD7QekThV7xHS0j6gpnUCQ0zpud/gMDGiV4dQneLTg==}
+ peerDependencies:
+ eslint: '*'
+ typescript: '>=4.7.4'
+
resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}
engines: {node: '>= 0.4'}
@@ -3160,6 +3516,18 @@ packages:
resolution: {integrity: sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==}
+ resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-iZ8Bdb84lWRuGHamRXFyML07r21pcwBrLkHEuHgEY5UbCouBwv7ECknDRKzsQIXMiqpPymqtIf8TC/shYKB5rw==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-+LexoTRyYui5iOhJGn13N9ZazL23nAHGkXsa1p/C8yeq79WRfLBag6ZZ0FQG2aRoc9yfo59JT9EYCQonOkHKkQ==}
+ engines: {node: '>=20.0.0'}
+
resolution: {integrity: sha512-fAl1W0/7T2G5vURSyxBzrJ1LSdQn6Tr5UX/xD4PXDx/PDgwygedfW6El/KIj3xJ7FU61TTYnc/l/B7P49Eqt6g==}
engines: {node: '>=8'}
@@ -3203,15 +3571,15 @@ packages:
resolution: {integrity: sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==}
- resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}
- hasBin: true
-
resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
engines: {node: '>=6'}
hasBin: true
+ resolution: {integrity: sha512-uuPNLJkKN8NXAlZlQ6kmUF9qO+T6Kyd7oV4+/7yy8Jz6+MZNyhPq8EdLpdfnPVzUC8qSf1b4j1azKaGnFsjmsw==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==}
engines: {node: '>=0.6.0'}
@@ -3269,6 +3637,10 @@ packages:
resolution: {integrity: sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==}
engines: {node: '>=8.9.0'}
+ resolution: {integrity: sha512-arhlxbFRmoQHl33a0Zkle/YWlmNwoyt6QNZEIJcqNbdrsix5Lvc4HyyI3EnwxTYlZYc32EbYrQ8SzEZ7dqgg9A==}
+ engines: {node: '>=14'}
+
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
engines: {node: '>=10'}
@@ -3295,6 +3667,9 @@ packages:
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
+ resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==}
+
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
hasBin: true
@@ -3309,14 +3684,56 @@ packages:
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
+ resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
+
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}
+
resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==}
+
+ resolution: {integrity: sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==}
+
+ resolution: {integrity: sha512-LRqI9+wdgC25P0URIJY9vwocIzCcksduHQ9OF2joxQoyTNVduwLAFUzjoopuRJbJAReaKrNQKAZKL3uCMugWJA==}
+
+ resolution: {integrity: sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==}
+
+ resolution: {integrity: sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==}
+
+ resolution: {integrity: sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==}
+
+ resolution: {integrity: sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==}
+
+ resolution: {integrity: sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==}
+
+ resolution: {integrity: sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==}
+
+ resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==}
+
+ resolution: {integrity: sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==}
+
+ resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==}
+
resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==}
@@ -3330,6 +3747,93 @@ packages:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
+ resolution: {integrity: sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==}
+
+ resolution: {integrity: sha512-C4AkuM3dA58cgZha7zVnuVxBhDsbttIMiytjgsM2XbHAB2faRVaHRle40558FBN+DJcrLNCoqG5mlrpdU4cRtg==}
+
+ resolution: {integrity: sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==}
+
+ resolution: {integrity: sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==}
+
+ resolution: {integrity: sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==}
+
+ resolution: {integrity: sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==}
+
+ resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==}
+
+ resolution: {integrity: sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==}
+
+ resolution: {integrity: sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==}
+
+ resolution: {integrity: sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==}
+
+ resolution: {integrity: sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==}
+
+ resolution: {integrity: sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==}
+
+ resolution: {integrity: sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==}
+
+ resolution: {integrity: sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==}
+
+ resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==}
+
+ resolution: {integrity: sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==}
+
+ resolution: {integrity: sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==}
+
+ resolution: {integrity: sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==}
+
+ resolution: {integrity: sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==}
+
+ resolution: {integrity: sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==}
+
+ resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==}
+
+ resolution: {integrity: sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==}
+
+ resolution: {integrity: sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==}
+
+ resolution: {integrity: sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==}
+
+ resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==}
+
+ resolution: {integrity: sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==}
+
+ resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==}
+
+ resolution: {integrity: sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==}
+
+ resolution: {integrity: sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==}
+
resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}
engines: {node: '>=8.6'}
@@ -3394,6 +3898,9 @@ packages:
engines: {node: '>=10'}
hasBin: true
+ resolution: {integrity: sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==}
+
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
@@ -3411,14 +3918,13 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
- resolution: {integrity: sha512-ZEzHJwBhZ8qQSbknHqYcdtQVr8zUgGyM/q6h6qAyhtyVMNrSgDhrC4disf03dYW0e+czXyLnZINnCTEkWy0eJg==}
- engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
- hasBin: true
-
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
+ resolution: {integrity: sha512-kKHJhxwpR/Okycz4HhQKKlhWe4ASEfPgkSWNmKFHd7+ezuQlxkA5cM3+XkBPvm1gmHen3w53qsYAv+8GwRrBlg==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
@@ -3462,6 +3968,9 @@ packages:
resolution: {integrity: sha512-7gK6zSXEH6neM212JgfYFXe+GmZQM+fia5SsusuBIUgnPheLFBmIPhtFoAQRj8/7wASYQnbDlHPVwY0BefoFgA==}
+ resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==}
+
resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==}
engines: {node: '>=6'}
@@ -3484,6 +3993,9 @@ packages:
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-3DC3UMpeffLTHiuXSy/UG4NOIYTLlY9u3V82+djSCLYClWobZiS4ivYzpIUWrRY/nfsJ8cWsKyG3QfyLePmhvg==}
+
resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
engines: {node: '>= 0.4'}
@@ -3504,10 +4016,6 @@ packages:
resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==}
- engines: {node: '>= 0.4'}
-
resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==}
engines: {node: '>= 0.4'}
@@ -3541,14 +4049,27 @@ packages:
resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
+ resolution: {integrity: sha512-uBj69dVlYe/+wxj8JOpr97XfsxH/eumMt6HqjNTmJDf/6NO9s+0uxeOneIz3AsPt2m6y9PqzDzd3ATcU17MNfw==}
+
resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-4s6vd6dx1AotCx/RCI2m7t7GCh5bDRUtGNvRfHSP2wbBQdMi67pPe7mtzmgwcaQ8VKK/6IB7Glfyu3qdZJPybQ==}
+
resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-HlsyYdMBnbPQ9Jr/VgJ1YF4scnldvJpJxCVx6KgqPL4dxppsWrJHCIIxQXMJrqGnsRkNPATbeMJ8Yxu7JMsYcA==}
+
resolution: {integrity: sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==}
@@ -3585,6 +4106,9 @@ packages:
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}
+
resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==}
@@ -3602,17 +4126,42 @@ packages:
resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}
+
+ resolution: {integrity: sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==}
+
+ resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==}
+ engines: {node: '>=4'}
+
resolution: {integrity: sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==}
+ resolution: {integrity: sha512-Krb5q8Totd5mVuLx7we+EFHq/AfxA75nbfTm25Q1pIf606+RlaKUG+PXH8SDihfe5b5k4H09gE+sL47L1t5lbw==}
+
resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}
+ engines: {node: '>=4'}
+
resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
engines: {node: ^10 || ^12 || >=14}
+ resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
+ engines: {node: ^10 || ^12 || >=14}
+
resolution: {integrity: sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==}
@@ -3628,8 +4177,8 @@ packages:
resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==}
engines: {node: '>=6.0.0'}
- resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==}
+ resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==}
engines: {node: '>=14'}
hasBin: true
@@ -3664,6 +4213,9 @@ packages:
resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==}
engines: {node: '>=0.6'}
+ resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==}
+
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
@@ -4037,6 +4589,10 @@ packages:
resolution: {integrity: sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==}
+ resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==}
+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
+
resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==}
engines: {node: '>= 0.4'}
@@ -4048,6 +4604,14 @@ packages:
resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==}
+ resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==}
+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==}
+ hasBin: true
+
resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==}
engines: {node: '>= 0.4'}
@@ -4063,6 +4627,10 @@ packages:
resolution: {integrity: sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==}
hasBin: true
+ resolution: {integrity: sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==}
+ hasBin: true
+
resolution: {integrity: sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==}
engines: {node: '>=0.10.0'}
@@ -4085,6 +4653,10 @@ packages:
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-yE7KUfFvaBFzGPs5H3Ops1RevfUEsDc5Iz65rOwWg4lE8HJSYtle77uul3+573457oHvBKuHYDl/xqUkKpEEdw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==}
@@ -4175,6 +4747,10 @@ packages:
resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==}
+ resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==}
+ engines: {node: ^14.0.0 || >=16.0.0}
+
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
hasBin: true
@@ -4184,6 +4760,11 @@ packages:
engines: {node: '>=10'}
hasBin: true
+ resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==}
+ engines: {node: '>=10'}
+ hasBin: true
+
resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
@@ -4247,6 +4828,9 @@ packages:
resolution: {integrity: sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==}
+ resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
+
resolution: {integrity: sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A==}
@@ -4265,14 +4849,20 @@ packages:
resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==}
+
+ resolution: {integrity: sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==}
+
+ resolution: {integrity: sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==}
+
resolution: {integrity: sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==}
engines: {node: '>=0.10.0'}
hasBin: true
- resolution: {integrity: sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==}
-
resolution: {integrity: sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==}
deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility'
@@ -4304,6 +4894,9 @@ packages:
resolution: {integrity: sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==}
+ resolution: {integrity: sha512-Q2u0gko67PLLhbte5HmPfdOjNvUKbKQM+mCNQae6jE91DmoFHY6HH9GcdqCeNx87DZ2KKjiFxmA0R/42OneGWw==}
+
resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
engines: {node: '>=8'}
@@ -4349,9 +4942,9 @@ packages:
resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
- engines: {node: '>=4'}
+ resolution: {integrity: sha512-SlyRoSkdh1dYP0PzclLE7r0M9sgbFKKMFXpFRUMNuKhQSbC6VQIGzq3E0qsfvGJaUFJPGv6Ws1NZ/haTAjfbMA==}
+ engines: {node: '>=12'}
resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
@@ -4404,6 +4997,10 @@ packages:
resolution: {integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==}
engines: {node: ^14.18.0 || >=16.0.0}
+ resolution: {integrity: sha512-JJoOEKTfL1urb1mDoEblhD9NhEbWmq9jHEMEnxoC4ujUaZ4itA8vKgwkFAyNClgxplLi9tsUKX+EduK0p/l7sg==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+
resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==}
@@ -4451,8 +5048,12 @@ packages:
resolution: {integrity: sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg==}
- resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}
+ resolution: {integrity: sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==}
engines: {node: '>=12.0.0'}
@@ -4462,9 +5063,17 @@ packages:
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
engines: {node: '>=8.0'}
+ resolution: {integrity: sha512-41wJyvKep3yT2tyPqX/4blcfybknGB4D+oETKLs7Q76UiPqRpUJK3hr1nxelyYO0PHKVzJwlu0aCeEAsGI6rpw==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==}
+ resolution: {integrity: sha512-khrZo4buq4qVmsGzS5yQjKe/WsFvV8fGfOjDQN0q4iy9FjRfPWRgTFrU8u1R2iu/SfWLhY9WnCi4Jhdrcbtg+g==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==}
engines: {node: '>=0.8'}
@@ -4485,11 +5094,16 @@ packages:
peerDependencies:
typescript: '>=4.8.4'
+ resolution: {integrity: sha512-EDyGAwH1gO0Ausm9gV6T2nUvBgXT5kGoCMJPllOaooZ+4VvJiKBdZE7wK18N1deEowhcUptS+5GXZK8U/fvpwA==}
+ peerDependencies:
+ typescript: '>=4.0.0'
+
resolution: {integrity: sha512-Z86EW+fFFh/IFB1fqQ3/+7Zpf9t2ebOAxNI/V6Wo7r5gqiqtxmgTlQ1qbqQcjLKYeSHPTsEmvlJUDg/EuL0uHQ==}
- resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
+ resolution: {integrity: sha512-6s5V71mX8qBUmlgbrfL33xDUwO0fq48rxAu2LBE11WBeGdpCPOsXksQbZJHvHwhrd3QjUusd3mAOM5Gg0mFBLg==}
resolution: {integrity: sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==}
@@ -4536,11 +5150,14 @@ packages:
resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}
+ resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
engines: {node: '>=14.17'}
hasBin: true
+ resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
+
resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
engines: {node: '>= 0.4'}
@@ -4564,8 +5181,17 @@ packages:
resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-OhuAzBImFPjKNgZ2JwHMfGFUA6NSbRegd1+BPjC1Y0E6X9Y/vJ4zKeGmIMqmlYboj6cMNEwKI+xQisrg4J0HaQ==}
+ resolution: {integrity: sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==}
+
+ resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==}
+
+ resolution: {integrity: sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==}
+
+ resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==}
resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
@@ -4573,6 +5199,12 @@ packages:
peerDependencies:
browserslist: '>= 4.21.0'
+ resolution: {integrity: sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==}
+ hasBin: true
+ peerDependencies:
+ browserslist: '>= 4.21.0'
+
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
@@ -4597,6 +5229,12 @@ packages:
resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-CydUvFOQKD928UzZhTp4pr2vWz1L+H99t7Pkln2QSPdvmURT0MoC4wUccfCnuEaihNsu9aYYyk+bep8rlfkUXw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+
resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==}
deprecated: Use your platform's native performance.now() and performance.timeOrigin.
@@ -4707,6 +5345,10 @@ packages:
resolution: {integrity: sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==}
+ resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==}
+ engines: {node: '>=12'}
+
resolution: {integrity: sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==}
engines: {node: '>=4.0.0'}
@@ -4724,6 +5366,10 @@ packages:
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
+ resolution: {integrity: sha512-E/+VitOorXSLiAqtTd7Yqax0/pAS3xaYMP+AUUJGOK1OZG3rhcj9fcJOM5HJ2VrP1FrStVCWr1muTfQCdj4tAA==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
engines: {node: '>= 6'}
@@ -4733,6 +5379,11 @@ packages:
engines: {node: '>= 14.6'}
hasBin: true
+ resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==}
+ engines: {node: '>= 14.6'}
+ hasBin: true
+
resolution: {integrity: sha512-OIDwaflOaq4wC6YlPBy2L6ceKeKuF7DeTxx+jPzv1FHn9tCZ0ZwSRnUBxD05E3yed46fv/FWJbvR+Ud7x0L7zw==}
engines: {node: '>=16.0.0', npm: '>=8.0.0'}
@@ -4741,6 +5392,15 @@ packages:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==}
+ engines: {node: '>=18.0.0'}
+ peerDependencies:
+ zod: ^3.25.0 || ^4.0.0
+
+ resolution: {integrity: sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==}
+
resolution: {integrity: sha512-41dFXEEXuJpNecuUQq6JlbybmnHaqqpGlbH1yxnA5V9MMP4SbohSVZsJIwz+zdjQXSSlR1Vc34EgH1zxyTDvhg==}
@@ -4762,6 +5422,9 @@ packages:
use-sync-external-store:
optional: true
+ resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
+
snapshots:
'@ant-design/[email protected]':
@@ -4836,6 +5499,64 @@ snapshots:
resize-observer-polyfill: 1.5.1
throttle-debounce: 5.0.2
+ dependencies:
+ '@antfu/install-pkg': 1.1.0
+ '@clack/prompts': 0.11.0
+ '@eslint-community/eslint-plugin-eslint-comments': 4.5.0([email protected])
+ '@eslint/markdown': 7.5.1
+ '@stylistic/eslint-plugin': 5.5.0([email protected])
+ '@typescript-eslint/eslint-plugin': 8.46.4(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ '@typescript-eslint/parser': 8.46.4([email protected])([email protected])
+ '@vitest/eslint-plugin': 1.4.2([email protected])([email protected])
+ ansis: 4.2.0
+ cac: 6.7.14
+ eslint: 9.39.1
+ eslint-config-flat-gitignore: 2.1.0([email protected])
+ eslint-flat-config-utils: 2.1.4
+ eslint-merge-processors: 2.0.0([email protected])
+ eslint-plugin-antfu: 3.1.1([email protected])
+ eslint-plugin-command: 3.3.1([email protected])
+ eslint-plugin-import-lite: 0.3.0([email protected])([email protected])
+ eslint-plugin-jsdoc: 61.2.0([email protected])
+ eslint-plugin-jsonc: 2.21.0([email protected])
+ eslint-plugin-n: 17.23.1([email protected])([email protected])
+ eslint-plugin-no-only-tests: 3.3.0
+ eslint-plugin-perfectionist: 4.15.1([email protected])([email protected])
+ eslint-plugin-pnpm: 1.3.0([email protected])
+ eslint-plugin-regexp: 2.10.0([email protected])
+ eslint-plugin-toml: 0.12.0([email protected])
+ eslint-plugin-unicorn: 62.0.0([email protected])
+ eslint-plugin-unused-imports: 4.3.0(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])
+ eslint-plugin-yml: 1.19.0([email protected])
+ eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected])
+ globals: 16.5.0
+ jsonc-eslint-parser: 2.4.1
+ local-pkg: 1.1.2
+ parse-gitignore: 2.0.0
+ toml-eslint-parser: 0.10.0
+ vue-eslint-parser: 10.2.0([email protected])
+ yaml-eslint-parser: 1.3.0
+ optionalDependencies:
+ '@eslint-react/eslint-plugin': 2.3.4([email protected])([email protected])
+ '@next/eslint-plugin-next': 15.5.3
+ eslint-plugin-format: 1.0.2([email protected])
+ eslint-plugin-jsx-a11y: 6.10.2([email protected])
+ eslint-plugin-react-hooks: 7.0.1([email protected])
+ eslint-plugin-react-refresh: 0.4.24([email protected])
+ transitivePeerDependencies:
+ - '@eslint/json'
+ - '@vue/compiler-sfc'
+ - supports-color
+ - typescript
+ - vitest
+
+ '@antfu/[email protected]':
+ dependencies:
+ package-manager-detector: 1.5.0
+ tinyexec: 1.0.2
+
dependencies:
'@babel/helper-validator-identifier': 7.27.1
@@ -4909,7 +5630,7 @@ snapshots:
'@babel/core': 7.28.4
'@babel/helper-compilation-targets': 7.27.2
'@babel/helper-plugin-utils': 7.27.1
- debug: 4.4.1
+ debug: 4.4.3
lodash.debounce: 4.0.8
resolve: 1.22.10
transitivePeerDependencies:
@@ -4975,6 +5696,8 @@ snapshots:
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
'@babel/[email protected]': {}
@@ -4994,6 +5717,10 @@ snapshots:
dependencies:
'@babel/types': 7.28.4
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.28.5
+
dependencies:
'@babel/core': 7.28.4
@@ -5559,7 +6286,7 @@ snapshots:
'@babel/parser': 7.28.4
'@babel/template': 7.27.2
'@babel/types': 7.28.4
- debug: 4.4.1
+ debug: 4.4.3
transitivePeerDependencies:
- supports-color
@@ -5568,25 +6295,31 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.27.1
- '@corex/[email protected]': {}
-
- '@emnapi/[email protected]':
+ '@babel/[email protected]':
dependencies:
- '@emnapi/wasi-threads': 1.0.2
- tslib: 2.8.1
- optional: true
+ '@babel/helper-string-parser': 7.27.1
+ '@babel/helper-validator-identifier': 7.28.5
- '@emnapi/[email protected]':
+ '@clack/[email protected]':
dependencies:
- tslib: 2.8.1
- optional: true
+ picocolors: 1.1.1
+ sisteransi: 1.0.5
- '@emnapi/[email protected]':
+ '@clack/[email protected]':
dependencies:
- tslib: 2.8.1
- optional: true
+ '@clack/core': 0.5.0
+ picocolors: 1.1.1
+ sisteransi: 1.0.5
+
+ '@corex/[email protected]': {}
- '@emnapi/[email protected]':
+ '@dprint/[email protected]': {}
+
+ '@dprint/[email protected]': {}
+
+ '@dprint/[email protected]': {}
+
+ '@emnapi/[email protected]':
dependencies:
tslib: 2.8.1
optional: true
@@ -5595,24 +6328,140 @@ snapshots:
'@emotion/[email protected]': {}
- '@eslint-community/[email protected]([email protected])':
+ '@es-joy/[email protected]':
dependencies:
- eslint: 9.28.0
- eslint-visitor-keys: 3.4.3
-
- '@eslint-community/[email protected]': {}
+ '@types/estree': 1.0.8
+ '@typescript-eslint/types': 8.33.1
+ comment-parser: 1.4.1
+ esquery: 1.6.0
+ jsdoc-type-pratt-parser: 4.1.0
- '@eslint/[email protected]':
+ '@es-joy/[email protected]':
dependencies:
- '@eslint/object-schema': 2.1.6
- debug: 4.4.1
- minimatch: 3.1.2
- transitivePeerDependencies:
- - supports-color
+ '@types/estree': 1.0.8
+ '@typescript-eslint/types': 8.46.4
+ comment-parser: 1.4.1
+ esquery: 1.6.0
+ jsdoc-type-pratt-parser: 6.10.0
- '@eslint/[email protected]': {}
+ '@es-joy/[email protected]': {}
- '@eslint/[email protected]':
+ '@eslint-community/[email protected]([email protected])':
+ dependencies:
+ escape-string-regexp: 4.0.0
+ eslint: 9.39.1
+ ignore: 5.3.2
+
+ '@eslint-community/[email protected]([email protected])':
+ dependencies:
+ eslint: 9.39.1
+ eslint-visitor-keys: 3.4.3
+
+ '@eslint-community/[email protected]([email protected])':
+ dependencies:
+ eslint: 9.39.1
+ eslint-visitor-keys: 3.4.3
+
+ '@eslint-community/[email protected]': {}
+
+ dependencies:
+ '@eslint-react/eff': 2.3.4
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/typescript-estree': 8.46.4([email protected])
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ string-ts: 2.2.1
+ transitivePeerDependencies:
+ - eslint
+ - supports-color
+ - typescript
+ optional: true
+
+ dependencies:
+ '@eslint-react/ast': 2.3.4([email protected])([email protected])
+ '@eslint-react/eff': 2.3.4
+ '@eslint-react/shared': 2.3.4([email protected])([email protected])
+ '@eslint-react/var': 2.3.4([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ birecord: 0.1.1
+ ts-pattern: 5.9.0
+ transitivePeerDependencies:
+ - eslint
+ - supports-color
+ - typescript
+ optional: true
+
+ '@eslint-react/[email protected]':
+ optional: true
+
+ dependencies:
+ '@eslint-react/eff': 2.3.4
+ '@eslint-react/shared': 2.3.4([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/type-utils': 8.46.4([email protected])([email protected])
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ eslint: 9.39.1
+ eslint-plugin-react-dom: 2.3.4([email protected])([email protected])
+ eslint-plugin-react-hooks-extra: 2.3.4([email protected])([email protected])
+ eslint-plugin-react-naming-convention: 2.3.4([email protected])([email protected])
+ eslint-plugin-react-web-api: 2.3.4([email protected])([email protected])
+ eslint-plugin-react-x: 2.3.4([email protected])([email protected])
+ ts-api-utils: 2.1.0([email protected])
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+
+ dependencies:
+ '@eslint-react/eff': 2.3.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ ts-pattern: 5.9.0
+ zod: 4.1.12
+ transitivePeerDependencies:
+ - eslint
+ - supports-color
+ - typescript
+ optional: true
+
+ dependencies:
+ '@eslint-react/ast': 2.3.4([email protected])([email protected])
+ '@eslint-react/eff': 2.3.4
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ ts-pattern: 5.9.0
+ transitivePeerDependencies:
+ - eslint
+ - supports-color
+ - typescript
+ optional: true
+
+ dependencies:
+ '@eslint/core': 0.17.0
+ optionalDependencies:
+ eslint: 9.39.1
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@eslint/object-schema': 2.1.7
+ debug: 4.4.3
+ minimatch: 3.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@eslint/core': 0.17.0
+
+ '@eslint/[email protected]':
dependencies:
'@types/json-schema': 7.0.15
@@ -5630,13 +6479,27 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@eslint/[email protected]': {}
+ '@eslint/[email protected]': {}
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@eslint/core': 0.17.0
+ '@eslint/plugin-kit': 0.4.1
+ github-slugger: 2.0.0
+ mdast-util-from-markdown: 2.0.2
+ mdast-util-frontmatter: 2.0.1
+ mdast-util-gfm: 3.1.0
+ micromark-extension-frontmatter: 2.0.0
+ micromark-extension-gfm: 3.0.0
+ micromark-util-normalize-identifier: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
- '@eslint/[email protected]': {}
+ '@eslint/[email protected]': {}
- '@eslint/[email protected]':
+ '@eslint/[email protected]':
dependencies:
- '@eslint/core': 0.14.0
+ '@eslint/core': 0.17.0
levn: 0.4.1
'@floating-ui/[email protected]':
@@ -6004,21 +6867,10 @@ snapshots:
- supports-color
optional: true
- '@napi-rs/[email protected]':
- dependencies:
- '@emnapi/core': 1.4.3
- '@emnapi/runtime': 1.4.3
- '@tybys/wasm-util': 0.9.0
- optional: true
-
'@next/[email protected]': {}
'@next/[email protected]': {}
- dependencies:
- fast-glob: 3.3.1
-
dependencies:
fast-glob: 3.3.1
@@ -6062,8 +6914,6 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.19.1
- '@nolyfill/[email protected]': {}
-
'@parcel/[email protected]':
optional: true
@@ -6125,6 +6975,8 @@ snapshots:
'@parcel/watcher-win32-x64': 2.5.1
optional: true
+ '@pkgr/[email protected]': {}
+
'@pkgr/[email protected]': {}
'@preact/[email protected]': {}
@@ -6215,9 +7067,17 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
- '@rtsao/[email protected]': {}
+ '@sindresorhus/[email protected]': {}
- '@rushstack/[email protected]': {}
+ dependencies:
+ '@eslint-community/eslint-utils': 4.9.0([email protected])
+ '@typescript-eslint/types': 8.46.4
+ eslint: 9.39.1
+ eslint-visitor-keys: 4.2.1
+ espree: 10.4.0
+ estraverse: 5.3.0
+ picomatch: 4.0.3
dependencies:
@@ -6334,17 +7194,16 @@ snapshots:
'@trysound/[email protected]': {}
- '@tybys/[email protected]':
- dependencies:
- tslib: 2.8.1
- optional: true
-
'@types/[email protected]': {}
'@types/[email protected]': {}
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ '@types/ms': 2.1.0
+
dependencies:
echarts: 6.0.0
@@ -6370,10 +7229,14 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]': {}
-
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ '@types/unist': 3.0.3
+
+ '@types/[email protected]': {}
+
dependencies:
undici-types: 6.21.0
@@ -6410,150 +7273,144 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
dependencies:
'@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/parser': 8.33.1([email protected])([email protected])
- '@typescript-eslint/scope-manager': 8.33.1
- '@typescript-eslint/type-utils': 8.33.1([email protected])([email protected])
- '@typescript-eslint/utils': 8.33.1([email protected])([email protected])
- '@typescript-eslint/visitor-keys': 8.33.1
- eslint: 9.28.0
+ '@typescript-eslint/parser': 8.46.4([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/type-utils': 8.46.4([email protected])([email protected])
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 8.46.4
+ eslint: 9.39.1
graphemer: 1.4.0
ignore: 7.0.5
natural-compare: 1.4.0
- ts-api-utils: 2.1.0([email protected])
- typescript: 5.8.3
+ ts-api-utils: 2.1.0([email protected])
+ typescript: 5.9.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/scope-manager': 8.33.1
- '@typescript-eslint/types': 8.33.1
- '@typescript-eslint/typescript-estree': 8.33.1([email protected])
- '@typescript-eslint/visitor-keys': 8.33.1
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/typescript-estree': 8.46.4([email protected])
+ '@typescript-eslint/visitor-keys': 8.46.4
debug: 4.4.1
- eslint: 9.28.0
- typescript: 5.8.3
+ eslint: 9.39.1
+ typescript: 5.9.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/tsconfig-utils': 8.33.1([email protected])
- '@typescript-eslint/types': 8.33.1
- debug: 4.4.1
- typescript: 5.8.3
+ '@typescript-eslint/tsconfig-utils': 8.46.4([email protected])
+ '@typescript-eslint/types': 8.46.4
+ debug: 4.4.3
+ typescript: 5.9.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.33.1
- '@typescript-eslint/visitor-keys': 8.33.1
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/visitor-keys': 8.46.4
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- typescript: 5.8.3
+ typescript: 5.9.3
dependencies:
- '@typescript-eslint/typescript-estree': 8.33.1([email protected])
- '@typescript-eslint/utils': 8.33.1([email protected])([email protected])
- debug: 4.4.1
- eslint: 9.28.0
- ts-api-utils: 2.1.0([email protected])
- typescript: 5.8.3
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/typescript-estree': 8.46.4([email protected])
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ debug: 4.4.3
+ eslint: 9.39.1
+ ts-api-utils: 2.1.0([email protected])
+ typescript: 5.9.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]': {}
+
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/project-service': 8.33.1([email protected])
- '@typescript-eslint/tsconfig-utils': 8.33.1([email protected])
- '@typescript-eslint/types': 8.33.1
- '@typescript-eslint/visitor-keys': 8.33.1
- debug: 4.4.1
+ '@typescript-eslint/project-service': 8.46.4([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.46.4([email protected])
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/visitor-keys': 8.46.4
+ debug: 4.4.3
fast-glob: 3.3.3
is-glob: 4.0.3
minimatch: 9.0.5
semver: 7.7.2
- ts-api-utils: 2.1.0([email protected])
- typescript: 5.8.3
+ ts-api-utils: 2.1.0([email protected])
+ typescript: 5.9.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.7.0([email protected])
- '@typescript-eslint/scope-manager': 8.33.1
- '@typescript-eslint/types': 8.33.1
- '@typescript-eslint/typescript-estree': 8.33.1([email protected])
- eslint: 9.28.0
- typescript: 5.8.3
+ '@eslint-community/eslint-utils': 4.9.0([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/typescript-estree': 8.46.4([email protected])
+ eslint: 9.39.1
+ typescript: 5.9.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.33.1
- eslint-visitor-keys: 4.2.0
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
+ '@typescript-eslint/types': 8.46.4
+ eslint-visitor-keys: 4.2.1
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
+ dependencies:
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ eslint: 9.39.1
+ optionalDependencies:
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
- optional: true
+ dependencies:
+ '@babel/parser': 7.28.5
+ '@vue/shared': 3.5.24
+ entities: 4.5.0
+ estree-walker: 2.0.2
+ source-map-js: 1.2.1
dependencies:
- '@napi-rs/wasm-runtime': 0.2.10
- optional: true
+ '@vue/compiler-core': 3.5.24
+ '@vue/shared': 3.5.24
- optional: true
+ dependencies:
+ '@babel/parser': 7.28.5
+ '@vue/compiler-core': 3.5.24
+ '@vue/compiler-dom': 3.5.24
+ '@vue/compiler-ssr': 3.5.24
+ '@vue/shared': 3.5.24
+ estree-walker: 2.0.2
+ magic-string: 0.30.21
+ postcss: 8.5.6
+ source-map-js: 1.2.1
- optional: true
+ dependencies:
+ '@vue/compiler-dom': 3.5.24
+ '@vue/shared': 3.5.24
- optional: true
+ '@vue/[email protected]': {}
'@webassemblyjs/[email protected]':
dependencies:
@@ -6661,6 +7518,10 @@ snapshots:
dependencies:
acorn: 8.14.1
+ dependencies:
+ acorn: 8.15.0
+
optional: true
@@ -6676,7 +7537,7 @@ snapshots:
dependencies:
- debug: 4.4.1
+ debug: 4.4.3
transitivePeerDependencies:
- supports-color
optional: true
@@ -6725,6 +7586,8 @@ snapshots:
+
dependencies:
'@ant-design/colors': 7.2.1
@@ -6786,6 +7649,8 @@ snapshots:
optional: true
+
dependencies:
delegates: 1.0.0
@@ -6794,7 +7659,8 @@ snapshots:
+ optional: true
dependencies:
@@ -6824,16 +7690,6 @@ snapshots:
es-object-atoms: 1.1.1
es-shim-unscopables: 1.1.0
- dependencies:
- call-bind: 1.0.8
- call-bound: 1.0.4
- define-properties: 1.2.1
- es-abstract: 1.24.0
- es-errors: 1.3.0
- es-object-atoms: 1.1.1
- es-shim-unscopables: 1.1.0
-
dependencies:
call-bind: 1.0.8
@@ -6876,7 +7732,8 @@ snapshots:
optional: true
+ optional: true
@@ -6894,7 +7751,8 @@ snapshots:
optional: true
+ optional: true
dependencies:
@@ -6904,7 +7762,8 @@ snapshots:
transitivePeerDependencies:
- debug
+ optional: true
dependencies:
@@ -6932,6 +7791,8 @@ snapshots:
+
@@ -6941,6 +7802,9 @@ snapshots:
+ optional: true
+
@@ -6968,12 +7832,24 @@ snapshots:
node-releases: 2.0.20
update-browserslist-db: 1.1.3([email protected])
+ dependencies:
+ baseline-browser-mapping: 2.8.26
+ caniuse-lite: 1.0.30001754
+ electron-to-chromium: 1.5.250
+ node-releases: 2.0.27
+ update-browserslist-db: 1.1.4([email protected])
+
+
dependencies:
streamsearch: 1.1.0
+
@@ -7001,6 +7877,8 @@ snapshots:
+
dependencies:
'@mapbox/node-pre-gyp': 1.0.11([email protected])
@@ -7014,11 +7892,17 @@ snapshots:
optional: true
+
dependencies:
ansi-styles: 4.3.0
supports-color: 7.2.0
+
+
dependencies:
boolbase: 1.0.0
@@ -7047,10 +7931,16 @@ snapshots:
+
+ dependencies:
+ escape-string-regexp: 1.0.5
+
@@ -7074,10 +7964,19 @@ snapshots:
+
+ optional: true
+
+
+
optional: true
@@ -7100,6 +7999,10 @@ snapshots:
dependencies:
browserslist: 4.25.4
+ dependencies:
+ browserslist: 4.28.0
+
optional: true
@@ -7152,6 +8055,8 @@ snapshots:
+
dependencies:
css-tree: 1.1.3
@@ -7171,7 +8076,8 @@ snapshots:
+ optional: true
dependencies:
@@ -7205,14 +8111,18 @@ snapshots:
dependencies:
ms: 2.1.3
dependencies:
ms: 2.1.3
+ dependencies:
+ character-entities: 2.0.2
+
dependencies:
mimic-response: 2.1.0
@@ -7239,11 +8149,19 @@ snapshots:
optional: true
+
optional: true
+ dependencies:
+ dequal: 2.0.3
+
+
@@ -7323,12 +8241,16 @@ snapshots:
+
+
dependencies:
iconv-lite: 0.6.3
@@ -7457,8 +8379,12 @@ snapshots:
+
+
dependencies:
esprima: 4.0.1
@@ -7469,94 +8395,113 @@ snapshots:
source-map: 0.6.1
optional: true
dependencies:
- '@next/eslint-plugin-next': 15.3.2
- '@rushstack/eslint-patch': 1.11.0
- '@typescript-eslint/eslint-plugin': 8.33.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
- '@typescript-eslint/parser': 8.33.1([email protected])([email protected])
- eslint: 9.28.0
- eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.10.1([email protected])([email protected])
- eslint-plugin-jsx-a11y: 6.10.2([email protected])
- eslint-plugin-react: 7.37.5([email protected])
- eslint-plugin-react-hooks: 5.2.0([email protected])
- optionalDependencies:
- typescript: 5.8.3
- transitivePeerDependencies:
- - eslint-import-resolver-webpack
- - eslint-plugin-import-x
- - supports-color
+ eslint: 9.39.1
+ semver: 7.7.2
dependencies:
- eslint: 9.28.0
+ eslint: 9.39.1
+ semver: 7.7.2
dependencies:
- debug: 3.2.7
- is-core-module: 2.16.1
- resolve: 1.22.10
- transitivePeerDependencies:
- - supports-color
+ '@eslint/compat': 1.4.1([email protected])
+ eslint: 9.39.1
dependencies:
- '@nolyfill/is-core-module': 1.0.39
- debug: 4.4.1
- eslint: 9.28.0
- get-tsconfig: 4.10.1
- is-bun-module: 2.0.0
- stable-hash: 0.0.5
- tinyglobby: 0.2.14
- unrs-resolver: 1.7.11
- optionalDependencies:
- transitivePeerDependencies:
- - supports-color
+ pathe: 2.0.3
dependencies:
- debug: 3.2.7
+ eslint: 9.39.1
+ prettier-linter-helpers: 1.0.0
+
+ dependencies:
+ eslint: 9.39.1
+ esquery: 1.6.0
+ jsonc-eslint-parser: 2.4.1
+
+ dependencies:
+ eslint: 9.39.1
+
+
+ dependencies:
+ eslint: 9.39.1
+
+ dependencies:
+ '@es-joy/jsdoccomment': 0.50.2
+ eslint: 9.39.1
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.9.0([email protected])
+ '@eslint-community/regexpp': 4.12.1
+ eslint: 9.39.1
+ eslint-compat-utils: 0.5.1([email protected])
+
+ dependencies:
+ '@dprint/formatter': 0.3.0
+ '@dprint/markdown': 0.17.8
+ '@dprint/toml': 0.6.4
+ eslint: 9.39.1
+ eslint-formatting-reporter: 0.0.0([email protected])
+ eslint-parser-plain: 0.1.1
+ prettier: 3.6.2
+ synckit: 0.9.3
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@typescript-eslint/types': 8.46.4
+ eslint: 9.39.1
optionalDependencies:
- '@typescript-eslint/parser': 8.33.1([email protected])([email protected])
- eslint: 9.28.0
- eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.10.1([email protected])([email protected])
+ typescript: 5.9.3
+
+ dependencies:
+ '@es-joy/jsdoccomment': 0.76.0
+ '@es-joy/resolve.exports': 1.2.0
+ are-docs-informative: 0.0.2
+ comment-parser: 1.4.1
+ debug: 4.4.3
+ escape-string-regexp: 4.0.0
+ eslint: 9.39.1
+ espree: 10.4.0
+ esquery: 1.6.0
+ html-entities: 2.6.0
+ object-deep-merge: 2.0.0
+ parse-imports-exports: 0.2.4
+ semver: 7.7.3
+ spdx-expression-parse: 4.0.0
+ to-valid-identifier: 1.0.0
transitivePeerDependencies:
- supports-color
dependencies:
- '@rtsao/scc': 1.1.0
- array-includes: 3.1.9
- array.prototype.findlastindex: 1.2.6
- array.prototype.flat: 1.3.3
- array.prototype.flatmap: 1.3.3
- debug: 3.2.7
- doctrine: 2.1.0
- eslint: 9.28.0
- eslint-import-resolver-node: 0.3.9
- hasown: 2.0.2
- is-core-module: 2.16.1
- is-glob: 4.0.3
- minimatch: 3.1.2
- object.fromentries: 2.0.8
- object.groupby: 1.0.3
- object.values: 1.2.1
- semver: 6.3.1
- string.prototype.trimend: 1.0.9
- tsconfig-paths: 3.15.0
- optionalDependencies:
- '@typescript-eslint/parser': 8.33.1([email protected])([email protected])
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ diff-sequences: 27.5.1
+ eslint: 9.39.1
+ eslint-compat-utils: 0.6.5([email protected])
+ eslint-json-compat-utils: 0.2.1([email protected])([email protected])
+ espree: 10.3.0
+ graphemer: 1.4.0
+ jsonc-eslint-parser: 2.4.1
+ natural-compare: 1.4.0
+ synckit: 0.11.8
transitivePeerDependencies:
- - eslint-import-resolver-typescript
- - eslint-import-resolver-webpack
- - supports-color
+ - '@eslint/json'
dependencies:
aria-query: 5.3.2
array-includes: 3.1.9
@@ -7566,7 +8511,7 @@ snapshots:
axobject-query: 4.1.0
damerau-levenshtein: 1.0.8
emoji-regex: 9.2.2
- eslint: 9.28.0
+ eslint: 9.39.1
hasown: 2.0.2
jsx-ast-utils: 3.3.5
language-tags: 1.0.9
@@ -7574,22 +8519,159 @@ snapshots:
object.fromentries: 2.0.8
safe-regex-test: 1.1.0
string.prototype.includes: 2.0.1
+ optional: true
dependencies:
- eslint: 9.28.0
- prettier: 3.5.3
- prettier-linter-helpers: 1.0.0
- synckit: 0.11.8
- optionalDependencies:
- '@types/eslint': 9.6.1
- eslint-config-prettier: 8.10.0([email protected])
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ enhanced-resolve: 5.18.3
+ eslint: 9.39.1
+ eslint-plugin-es-x: 7.8.0([email protected])
+ get-tsconfig: 4.10.1
+ globals: 15.15.0
+ globrex: 0.1.2
+ ignore: 5.3.2
+ semver: 7.7.2
+ ts-declaration-location: 1.0.7([email protected])
+ transitivePeerDependencies:
+ - typescript
+
dependencies:
- eslint: 9.28.0
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ eslint: 9.39.1
+ natural-orderby: 5.0.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
+ dependencies:
+ empathic: 2.0.0
+ eslint: 9.39.1
+ jsonc-eslint-parser: 2.4.1
+ pathe: 2.0.3
+ pnpm-workspace-yaml: 1.3.0
+ tinyglobby: 0.2.15
+ yaml-eslint-parser: 1.3.0
+
+ dependencies:
+ '@eslint-react/ast': 2.3.4([email protected])([email protected])
+ '@eslint-react/core': 2.3.4([email protected])([email protected])
+ '@eslint-react/eff': 2.3.4
+ '@eslint-react/shared': 2.3.4([email protected])([email protected])
+ '@eslint-react/var': 2.3.4([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ compare-versions: 6.1.1
+ eslint: 9.39.1
+ string-ts: 2.2.1
+ ts-pattern: 5.9.0
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+
+ dependencies:
+ '@eslint-react/ast': 2.3.4([email protected])([email protected])
+ '@eslint-react/core': 2.3.4([email protected])([email protected])
+ '@eslint-react/eff': 2.3.4
+ '@eslint-react/shared': 2.3.4([email protected])([email protected])
+ '@eslint-react/var': 2.3.4([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/type-utils': 8.46.4([email protected])([email protected])
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ eslint: 9.39.1
+ string-ts: 2.2.1
+ ts-pattern: 5.9.0
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/parser': 7.28.4
+ eslint: 9.39.1
+ hermes-parser: 0.25.1
+ zod: 4.1.12
+ zod-validation-error: 4.0.2([email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@eslint-react/ast': 2.3.4([email protected])([email protected])
+ '@eslint-react/core': 2.3.4([email protected])([email protected])
+ '@eslint-react/eff': 2.3.4
+ '@eslint-react/shared': 2.3.4([email protected])([email protected])
+ '@eslint-react/var': 2.3.4([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/type-utils': 8.46.4([email protected])([email protected])
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ eslint: 9.39.1
+ string-ts: 2.2.1
+ ts-pattern: 5.9.0
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+
+ dependencies:
+ eslint: 9.39.1
+ optional: true
+
+ dependencies:
+ '@eslint-react/ast': 2.3.4([email protected])([email protected])
+ '@eslint-react/core': 2.3.4([email protected])([email protected])
+ '@eslint-react/eff': 2.3.4
+ '@eslint-react/shared': 2.3.4([email protected])([email protected])
+ '@eslint-react/var': 2.3.4([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ eslint: 9.39.1
+ string-ts: 2.2.1
+ ts-pattern: 5.9.0
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+ dependencies:
+ '@eslint-react/ast': 2.3.4([email protected])([email protected])
+ '@eslint-react/core': 2.3.4([email protected])([email protected])
+ '@eslint-react/eff': 2.3.4
+ '@eslint-react/shared': 2.3.4([email protected])([email protected])
+ '@eslint-react/var': 2.3.4([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.46.4
+ '@typescript-eslint/type-utils': 8.46.4([email protected])([email protected])
+ '@typescript-eslint/types': 8.46.4
+ '@typescript-eslint/utils': 8.46.4([email protected])([email protected])
+ compare-versions: 6.1.1
+ eslint: 9.39.1
+ is-immutable-type: 5.0.1([email protected])([email protected])
+ string-ts: 2.2.1
+ ts-api-utils: 2.1.0([email protected])
+ ts-pattern: 5.9.0
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+
dependencies:
array-includes: 3.1.9
array.prototype.findlast: 1.2.5
@@ -7597,7 +8679,7 @@ snapshots:
array.prototype.tosorted: 1.1.4
doctrine: 2.1.0
es-iterator-helpers: 1.2.1
- eslint: 9.28.0
+ eslint: 9.39.1
estraverse: 5.3.0
hasown: 2.0.2
jsx-ast-utils: 3.3.5
@@ -7611,11 +8693,85 @@ snapshots:
string.prototype.matchall: 4.0.12
string.prototype.repeat: 1.0.0
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@eslint-community/regexpp': 4.12.1
+ comment-parser: 1.4.1
+ eslint: 9.39.1
+ jsdoc-type-pratt-parser: 4.8.0
+ refa: 0.12.1
+ regexp-ast-analysis: 0.7.1
+ scslre: 0.3.0
+
+ dependencies:
+ debug: 4.4.1
+ eslint: 9.39.1
+ eslint-compat-utils: 0.6.5([email protected])
+ lodash: 4.17.21
+ toml-eslint-parser: 0.10.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/helper-validator-identifier': 7.28.5
+ '@eslint-community/eslint-utils': 4.9.0([email protected])
+ '@eslint/plugin-kit': 0.4.1
+ change-case: 5.4.4
+ ci-info: 4.3.1
+ clean-regexp: 1.0.0
+ core-js-compat: 3.46.0
+ eslint: 9.39.1
+ esquery: 1.6.0
+ find-up-simple: 1.0.1
+ globals: 16.5.0
+ indent-string: 5.0.0
+ is-builtin-module: 5.0.0
+ jsesc: 3.1.0
+ pluralize: 8.0.0
+ regexp-tree: 0.1.27
+ regjsparser: 0.13.0
+ semver: 7.7.3
+ strip-indent: 4.1.1
+
dependencies:
- eslint: 9.28.0
+ eslint: 9.39.1
optionalDependencies:
- '@typescript-eslint/eslint-plugin': 8.33.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 8.46.4(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ eslint: 9.39.1
+ natural-compare: 1.4.0
+ nth-check: 2.1.1
+ postcss-selector-parser: 6.1.2
+ semver: 7.7.2
+ vue-eslint-parser: 10.2.0([email protected])
+ xml-name-validator: 4.0.0
+ optionalDependencies:
+ '@stylistic/eslint-plugin': 5.5.0([email protected])
+ '@typescript-eslint/parser': 8.46.4([email protected])([email protected])
+
+ dependencies:
+ debug: 4.4.1
+ diff-sequences: 27.5.1
+ escape-string-regexp: 4.0.0
+ eslint: 9.39.1
+ eslint-compat-utils: 0.6.5([email protected])
+ natural-compare: 1.4.0
+ yaml-eslint-parser: 1.3.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@vue/compiler-sfc': 3.5.24
+ eslint: 9.39.1
dependencies:
@@ -7627,33 +8783,39 @@ snapshots:
esrecurse: 4.3.0
estraverse: 5.3.0
+ dependencies:
+ esrecurse: 4.3.0
+ estraverse: 5.3.0
+
+
dependencies:
- '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@eslint-community/eslint-utils': 4.9.0([email protected])
'@eslint-community/regexpp': 4.12.1
- '@eslint/config-array': 0.20.0
- '@eslint/config-helpers': 0.2.2
- '@eslint/core': 0.14.0
+ '@eslint/config-array': 0.21.1
+ '@eslint/config-helpers': 0.4.2
+ '@eslint/core': 0.17.0
'@eslint/eslintrc': 3.3.1
- '@eslint/js': 9.28.0
- '@eslint/plugin-kit': 0.3.1
+ '@eslint/js': 9.39.1
+ '@eslint/plugin-kit': 0.4.1
'@humanfs/node': 0.16.6
'@humanwhocodes/module-importer': 1.0.1
'@humanwhocodes/retry': 0.4.3
'@types/estree': 1.0.8
- '@types/json-schema': 7.0.15
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.6
- debug: 4.4.1
+ debug: 4.4.3
escape-string-regexp: 4.0.0
- eslint-scope: 8.3.0
- eslint-visitor-keys: 4.2.0
- espree: 10.3.0
+ eslint-scope: 8.4.0
+ eslint-visitor-keys: 4.2.1
+ espree: 10.4.0
esquery: 1.6.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
@@ -7677,6 +8839,18 @@ snapshots:
acorn-jsx: 5.3.2([email protected])
eslint-visitor-keys: 4.2.0
+ dependencies:
+ acorn: 8.15.0
+ acorn-jsx: 5.3.2([email protected])
+ eslint-visitor-keys: 4.2.1
+
+ dependencies:
+ acorn: 8.15.0
+ acorn-jsx: 5.3.2([email protected])
+ eslint-visitor-keys: 3.4.3
+
optional: true
@@ -7692,10 +8866,14 @@ snapshots:
+
+
optional: true
@@ -7746,9 +8924,13 @@ snapshots:
dependencies:
reusify: 1.1.0
+ dependencies:
+ format: 0.2.2
+
optionalDependencies:
- picomatch: 4.0.2
+ picomatch: 4.0.3
dependencies:
@@ -7764,6 +8946,8 @@ snapshots:
dependencies:
to-regex-range: 5.0.1
+
dependencies:
locate-path: 6.0.0
@@ -7811,6 +8995,8 @@ snapshots:
hasown: 2.0.2
mime-types: 2.1.35
+
dependencies:
minipass: 3.3.6
@@ -7885,6 +9071,8 @@ snapshots:
content-type: 1.0.5
encoding: 0.1.13
+
dependencies:
is-glob: 4.0.3
@@ -7923,11 +9111,17 @@ snapshots:
+
+
dependencies:
define-properties: 1.2.1
gopd: 1.2.0
+
@@ -7968,6 +9162,12 @@ snapshots:
dependencies:
function-bind: 1.1.2
+
+ dependencies:
+ hermes-estree: 0.25.1
+
dependencies:
react-is: 16.13.1
@@ -7977,6 +9177,8 @@ snapshots:
whatwg-encoding: 1.0.5
optional: true
+
dependencies:
void-elements: 3.1.0
@@ -7998,7 +9200,7 @@ snapshots:
dependencies:
agent-base: 6.0.2
- debug: 4.4.1
+ debug: 4.4.3
transitivePeerDependencies:
- supports-color
optional: true
@@ -8006,7 +9208,7 @@ snapshots:
dependencies:
agent-base: 7.1.3
- debug: 4.4.1
+ debug: 4.4.3
transitivePeerDependencies:
- supports-color
@@ -8025,11 +9227,11 @@ snapshots:
dependencies:
'@babel/runtime': 7.27.6
dependencies:
'@babel/runtime': 7.27.6
optionalDependencies:
- typescript: 5.8.3
+ typescript: 5.9.3
dependencies:
@@ -8054,6 +9256,8 @@ snapshots:
+
dependencies:
once: 1.4.0
@@ -8103,9 +9307,9 @@ snapshots:
call-bound: 1.0.4
has-tostringtag: 1.0.2
dependencies:
- semver: 7.7.2
+ builtin-modules: 5.0.0
@@ -8143,6 +9347,17 @@ snapshots:
dependencies:
is-extglob: 2.1.1
+ dependencies:
+ '@typescript-eslint/type-utils': 8.46.4([email protected])([email protected])
+ eslint: 9.39.1
+ ts-api-utils: 2.1.0([email protected])
+ ts-declaration-location: 1.0.7([email protected])
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+
@@ -8237,6 +9452,12 @@ snapshots:
optional: true
+
+
+
dependencies:
abab: 2.0.6
@@ -8296,12 +9517,15 @@ snapshots:
dependencies:
string-convert: 0.2.1
- dependencies:
- minimist: 1.2.8
-
+ dependencies:
+ acorn: 8.15.0
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
+ semver: 7.7.2
+
dependencies:
assert-plus: 1.0.0
@@ -8321,11 +9545,13 @@ snapshots:
dependencies:
json-buffer: 3.0.1
+ optional: true
dependencies:
language-subtag-registry: 0.3.23
+ optional: true
dependencies:
@@ -8366,6 +9592,12 @@ snapshots:
emojis-list: 3.0.0
json5: 2.2.3
+ dependencies:
+ mlly: 1.8.0
+ pkg-types: 2.3.0
+ quansync: 0.2.11
+
dependencies:
p-locate: 5.0.0
@@ -8415,6 +9647,8 @@ snapshots:
+
dependencies:
js-tokens: 4.0.0
@@ -8427,13 +9661,132 @@ snapshots:
dependencies:
yallist: 3.1.1
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.5
+
dependencies:
semver: 6.3.1
optional: true
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ escape-string-regexp: 5.0.0
+ unist-util-is: 6.0.1
+ unist-util-visit-parents: 6.0.2
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ '@types/unist': 3.0.3
+ decode-named-character-reference: 1.2.0
+ devlop: 1.1.0
+ mdast-util-to-string: 4.0.0
+ micromark: 4.0.2
+ micromark-util-decode-numeric-character-reference: 2.0.2
+ micromark-util-decode-string: 2.0.1
+ micromark-util-normalize-identifier: 2.0.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+ unist-util-stringify-position: 4.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ devlop: 1.1.0
+ escape-string-regexp: 5.0.0
+ mdast-util-from-markdown: 2.0.2
+ mdast-util-to-markdown: 2.1.2
+ micromark-extension-frontmatter: 2.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ ccount: 2.0.1
+ devlop: 1.1.0
+ mdast-util-find-and-replace: 3.0.2
+ micromark-util-character: 2.1.1
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ devlop: 1.1.0
+ mdast-util-from-markdown: 2.0.2
+ mdast-util-to-markdown: 2.1.2
+ micromark-util-normalize-identifier: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ mdast-util-from-markdown: 2.0.2
+ mdast-util-to-markdown: 2.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ devlop: 1.1.0
+ markdown-table: 3.0.4
+ mdast-util-from-markdown: 2.0.2
+ mdast-util-to-markdown: 2.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ devlop: 1.1.0
+ mdast-util-from-markdown: 2.0.2
+ mdast-util-to-markdown: 2.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ mdast-util-from-markdown: 2.0.2
+ mdast-util-gfm-autolink-literal: 2.0.1
+ mdast-util-gfm-footnote: 2.1.0
+ mdast-util-gfm-strikethrough: 2.0.0
+ mdast-util-gfm-table: 2.0.0
+ mdast-util-gfm-task-list-item: 2.0.0
+ mdast-util-to-markdown: 2.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ unist-util-is: 6.0.1
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ '@types/unist': 3.0.3
+ longest-streak: 3.1.0
+ mdast-util-phrasing: 4.1.0
+ mdast-util-to-string: 4.0.0
+ micromark-util-classify-character: 2.0.1
+ micromark-util-decode-string: 2.0.1
+ unist-util-visit: 5.0.0
+ zwitch: 2.0.4
+
+ dependencies:
+ '@types/mdast': 4.0.4
+
@@ -8442,6 +9795,204 @@ snapshots:
+ dependencies:
+ decode-named-character-reference: 1.2.0
+ devlop: 1.1.0
+ micromark-factory-destination: 2.0.1
+ micromark-factory-label: 2.0.1
+ micromark-factory-space: 2.0.1
+ micromark-factory-title: 2.0.1
+ micromark-factory-whitespace: 2.0.1
+ micromark-util-character: 2.1.1
+ micromark-util-chunked: 2.0.1
+ micromark-util-classify-character: 2.0.1
+ micromark-util-html-tag-name: 2.0.1
+ micromark-util-normalize-identifier: 2.0.1
+ micromark-util-resolve-all: 2.0.1
+ micromark-util-subtokenize: 2.1.0
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ fault: 2.0.1
+ micromark-util-character: 2.1.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-character: 2.1.1
+ micromark-util-sanitize-uri: 2.0.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ devlop: 1.1.0
+ micromark-core-commonmark: 2.0.3
+ micromark-factory-space: 2.0.1
+ micromark-util-character: 2.1.1
+ micromark-util-normalize-identifier: 2.0.1
+ micromark-util-sanitize-uri: 2.0.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ devlop: 1.1.0
+ micromark-util-chunked: 2.0.1
+ micromark-util-classify-character: 2.0.1
+ micromark-util-resolve-all: 2.0.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ devlop: 1.1.0
+ micromark-factory-space: 2.0.1
+ micromark-util-character: 2.1.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ devlop: 1.1.0
+ micromark-factory-space: 2.0.1
+ micromark-util-character: 2.1.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-extension-gfm-autolink-literal: 2.1.0
+ micromark-extension-gfm-footnote: 2.1.0
+ micromark-extension-gfm-strikethrough: 2.1.0
+ micromark-extension-gfm-table: 2.1.1
+ micromark-extension-gfm-tagfilter: 2.0.0
+ micromark-extension-gfm-task-list-item: 2.1.0
+ micromark-util-combine-extensions: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-character: 2.1.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ devlop: 1.1.0
+ micromark-util-character: 2.1.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-character: 2.1.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-factory-space: 2.0.1
+ micromark-util-character: 2.1.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-factory-space: 2.0.1
+ micromark-util-character: 2.1.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-symbol: 2.0.1
+
+ dependencies:
+ micromark-util-character: 2.1.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-chunked: 2.0.1
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-symbol: 2.0.1
+
+ dependencies:
+ decode-named-character-reference: 1.2.0
+ micromark-util-character: 2.1.1
+ micromark-util-decode-numeric-character-reference: 2.0.2
+ micromark-util-symbol: 2.0.1
+
+
+
+ dependencies:
+ micromark-util-symbol: 2.0.1
+
+ dependencies:
+ micromark-util-types: 2.0.2
+
+ dependencies:
+ micromark-util-character: 2.1.1
+ micromark-util-encode: 2.0.1
+ micromark-util-symbol: 2.0.1
+
+ dependencies:
+ devlop: 1.1.0
+ micromark-util-chunked: 2.0.1
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+
+
+
+ dependencies:
+ '@types/debug': 4.1.12
+ debug: 4.4.3
+ decode-named-character-reference: 1.2.0
+ devlop: 1.1.0
+ micromark-core-commonmark: 2.0.3
+ micromark-factory-space: 2.0.1
+ micromark-util-character: 2.1.1
+ micromark-util-chunked: 2.0.1
+ micromark-util-combine-extensions: 2.0.1
+ micromark-util-decode-numeric-character-reference: 2.0.2
+ micromark-util-encode: 2.0.1
+ micromark-util-normalize-identifier: 2.0.1
+ micromark-util-resolve-all: 2.0.1
+ micromark-util-sanitize-uri: 2.0.1
+ micromark-util-subtokenize: 2.1.0
+ micromark-util-symbol: 2.0.1
+ micromark-util-types: 2.0.2
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
braces: 3.0.3
@@ -8497,6 +10048,13 @@ snapshots:
+ dependencies:
+ acorn: 8.15.0
+ pathe: 2.0.3
+ pkg-types: 1.3.1
+ ufo: 1.6.1
+
@@ -8517,10 +10075,10 @@ snapshots:
-
+
@@ -8568,6 +10126,8 @@ snapshots:
+
dependencies:
abbrev: 1.1.1
@@ -8593,6 +10153,8 @@ snapshots:
+
@@ -8620,12 +10182,6 @@ snapshots:
es-abstract: 1.24.0
es-object-atoms: 1.1.1
- dependencies:
- call-bind: 1.0.8
- define-properties: 1.2.1
- es-abstract: 1.24.0
-
dependencies:
call-bind: 1.0.8
@@ -8675,10 +10231,18 @@ snapshots:
+
dependencies:
callsites: 3.1.0
+
+ dependencies:
+ parse-statements: 1.0.11
+
dependencies:
'@babel/code-frame': 7.27.1
@@ -8686,6 +10250,8 @@ snapshots:
json-parse-even-better-errors: 2.3.1
lines-and-columns: 1.2.4
+
dependencies:
domhandler: 5.0.3
@@ -8719,6 +10285,8 @@ snapshots:
+
optional: true
@@ -8730,17 +10298,48 @@ snapshots:
+
+ dependencies:
+ confbox: 0.1.8
+ mlly: 1.8.0
+ pathe: 2.0.3
+
+ dependencies:
+ confbox: 0.2.2
+ exsolve: 1.0.8
+ pathe: 2.0.3
+
+
optional: true
+ dependencies:
+ yaml: 2.8.1
+
+ dependencies:
+ cssesc: 3.0.0
+ util-deprecate: 1.0.2
+
dependencies:
nanoid: 3.3.11
picocolors: 1.1.1
source-map-js: 1.2.1
+ dependencies:
+ nanoid: 3.3.11
+ picocolors: 1.1.1
+ source-map-js: 1.2.1
+
@@ -8752,7 +10351,7 @@ snapshots:
dependencies:
fast-diff: 1.3.0
@@ -8784,6 +10383,8 @@ snapshots:
optional: true
+
@@ -9159,11 +10760,11 @@ snapshots:
'@babel/runtime': 7.27.6
react: 18.3.1
dependencies:
'@babel/runtime': 7.27.6
html-parse-stringify: 3.0.1
- i18next: 24.2.3([email protected])
+ i18next: 24.2.3([email protected])
react: 18.3.1
optionalDependencies:
react-dom: 18.3.1([email protected])
@@ -9265,6 +10866,10 @@ snapshots:
dependencies:
'@babel/runtime': 7.27.6
+ dependencies:
+ '@eslint-community/regexpp': 4.12.1
+
dependencies:
call-bind: 1.0.8
@@ -9282,6 +10887,13 @@ snapshots:
+ dependencies:
+ '@eslint-community/regexpp': 4.12.1
+ refa: 0.12.1
+
+
dependencies:
call-bind: 1.0.8
@@ -9306,6 +10918,10 @@ snapshots:
dependencies:
jsesc: 3.0.2
+ dependencies:
+ jsesc: 3.1.0
+
dependencies:
lodash: 4.17.21
@@ -9346,6 +10962,8 @@ snapshots:
+
@@ -9448,10 +11066,18 @@ snapshots:
dependencies:
compute-scroll-into-view: 3.1.1
+ dependencies:
+ '@eslint-community/regexpp': 4.12.1
+ refa: 0.12.1
+ regexp-ast-analysis: 0.7.1
+
+
dependencies:
randombytes: 2.1.0
@@ -9561,6 +11187,8 @@ snapshots:
simple-concat: 1.0.1
optional: true
+
@@ -9574,6 +11202,15 @@ snapshots:
+
+ dependencies:
+ spdx-exceptions: 2.5.0
+ spdx-license-ids: 3.0.22
+
+
dependencies:
asn1: 0.2.6
@@ -9587,8 +11224,6 @@ snapshots:
tweetnacl: 0.14.5
optional: true
-
@@ -9620,6 +11255,9 @@ snapshots:
+ optional: true
+
dependencies:
emoji-regex: 8.0.0
@@ -9637,6 +11275,7 @@ snapshots:
call-bind: 1.0.8
define-properties: 1.2.1
es-abstract: 1.24.0
+ optional: true
dependencies:
@@ -9699,7 +11338,7 @@ snapshots:
dependencies:
ansi-regex: 6.1.0
@@ -9743,6 +11382,11 @@ snapshots:
dependencies:
'@pkgr/core': 0.2.7
+ dependencies:
+ '@pkgr/core': 0.1.2
+ tslib: 2.8.1
+
@@ -9781,10 +11425,12 @@ snapshots:
+
dependencies:
- fdir: 6.4.5([email protected])
- picomatch: 4.0.2
+ fdir: 6.5.0([email protected])
+ picomatch: 4.0.3
dependencies:
@@ -9794,8 +11440,17 @@ snapshots:
dependencies:
is-number: 7.0.0
+ dependencies:
+ '@sindresorhus/base62': 1.0.0
+ reserved-identifiers: 1.2.0
+
+ dependencies:
+ eslint-visitor-keys: 3.4.3
+
dependencies:
psl: 1.15.0
@@ -9816,18 +11471,19 @@ snapshots:
punycode: 2.3.1
optional: true
+ dependencies:
+ typescript: 5.9.3
+
dependencies:
- typescript: 5.8.3
+ picomatch: 4.0.2
+ typescript: 5.9.3
- dependencies:
- '@types/json5': 0.0.29
- json5: 1.0.2
- minimist: 1.2.8
- strip-bom: 3.0.0
+ optional: true
@@ -9898,7 +11554,9 @@ snapshots:
possible-typed-array-names: 1.1.0
reflect.getprototypeof: 1.0.10
+
dependencies:
@@ -9920,27 +11578,24 @@ snapshots:
dependencies:
- napi-postinstall: 0.2.4
- optionalDependencies:
- '@unrs/resolver-binding-darwin-arm64': 1.7.11
- '@unrs/resolver-binding-darwin-x64': 1.7.11
- '@unrs/resolver-binding-freebsd-x64': 1.7.11
- '@unrs/resolver-binding-linux-arm-gnueabihf': 1.7.11
- '@unrs/resolver-binding-linux-arm-musleabihf': 1.7.11
- '@unrs/resolver-binding-linux-arm64-gnu': 1.7.11
- '@unrs/resolver-binding-linux-arm64-musl': 1.7.11
- '@unrs/resolver-binding-linux-ppc64-gnu': 1.7.11
- '@unrs/resolver-binding-linux-riscv64-gnu': 1.7.11
- '@unrs/resolver-binding-linux-riscv64-musl': 1.7.11
- '@unrs/resolver-binding-linux-s390x-gnu': 1.7.11
- '@unrs/resolver-binding-linux-x64-gnu': 1.7.11
- '@unrs/resolver-binding-linux-x64-musl': 1.7.11
- '@unrs/resolver-binding-wasm32-wasi': 1.7.11
- '@unrs/resolver-binding-win32-arm64-msvc': 1.7.11
- '@unrs/resolver-binding-win32-ia32-msvc': 1.7.11
- '@unrs/resolver-binding-win32-x64-msvc': 1.7.11
+ '@types/unist': 3.0.3
+
+ dependencies:
+ '@types/unist': 3.0.3
+
+ dependencies:
+ '@types/unist': 3.0.3
+ unist-util-is: 6.0.1
+
+ dependencies:
+ '@types/unist': 3.0.3
+ unist-util-is: 6.0.1
+ unist-util-visit-parents: 6.0.2
dependencies:
@@ -9948,6 +11603,12 @@ snapshots:
escalade: 3.2.0
picocolors: 1.1.1
+ dependencies:
+ browserslist: 4.28.0
+ escalade: 3.2.0
+ picocolors: 1.1.1
+
dependencies:
punycode: 2.3.1
@@ -9956,8 +11617,7 @@ snapshots:
dependencies:
react: 18.3.1
- optional: true
optional: true
@@ -9971,6 +11631,18 @@ snapshots:
+ dependencies:
+ debug: 4.4.1
+ eslint: 9.39.1
+ eslint-scope: 8.3.0
+ eslint-visitor-keys: 4.2.0
+ espree: 10.3.0
+ esquery: 1.6.0
+ semver: 7.7.2
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
browser-process-hrtime: 1.0.0
@@ -10005,7 +11677,7 @@ snapshots:
'@webassemblyjs/wasm-parser': 1.14.1
acorn: 8.15.0
acorn-import-phases: 1.0.4([email protected])
- browserslist: 4.25.4
+ browserslist: 4.28.0
chrome-trace-event: 1.0.4
enhanced-resolve: 5.18.3
es-module-lexer: 1.7.0
@@ -10130,6 +11802,8 @@ snapshots:
optional: true
+
dependencies:
sax: 1.4.1
@@ -10145,16 +11819,29 @@ snapshots:
optional: true
+ dependencies:
+ eslint-visitor-keys: 3.4.3
+ yaml: 2.8.0
+
+
dependencies:
lib0: 0.2.114
+ dependencies:
+ zod: 4.1.12
+
+
dependencies:
tslib: 2.3.0
@@ -10163,3 +11850,5 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.23
react: 18.3.1
+
diff --git a/project/web/src/api/notification.ts b/project/web/src/api/notification.ts
index f19f44de..e8aa320e 100644
--- a/project/web/src/api/notification.ts
+++ b/project/web/src/api/notification.ts
@@ -97,7 +97,7 @@ export interface TaskResponse {
// 获取任务详情
export const getTaskDetail = (opportunityId: string) => {
- return http.get<TaskResponse>(`task/opportunity/info/${opportunityId}`);
+ return http.get<TaskResponse>(`task/task/opportunity/info/${opportunityId}`);
};
// 接受任务
diff --git a/project/web/src/api/task.ts b/project/web/src/api/task.ts
index cfe7ca0c..5a5aae05 100644
--- a/project/web/src/api/task.ts
+++ b/project/web/src/api/task.ts
@@ -104,4 +104,21 @@ export const apiGetUserTaskDetail = (id: string) => {
*/
export const apiSubmitTask = (userTaskId: string, submissionUrl: string) => {
return http.post<any>(`task/submit`, { userTaskId, submissionUrl });
+};
+
+/**
+ * 获取未读任务数量
+ * @returns 未读任务数量
+ */
+export const apiGetNotViewCount = () => {
+ return http.put<{ count: number }>('task/opportunity/getNotViewCount');
+};
+
+/**
+ * 标记任务为已读
+ * @param opportunityId 任务机会ID
+ * @returns
+ */
+export const apiMarkTaskAsViewed = (opportunityId: string) => {
+ return http.put<any>(`task/opportunity/doView/${opportunityId}`);
};
\ No newline at end of file
diff --git a/project/web/src/app/[lng]/material/ai-generate/page copy.tsx b/project/web/src/app/[lng]/material/ai-generate/page copy.tsx
deleted file mode 100644
index bcf5675b..00000000
--- a/project/web/src/app/[lng]/material/ai-generate/page copy.tsx
+++ /dev/null
@@ -1,1211 +0,0 @@
-"use client";
-
-import { useState, useEffect, useRef, useMemo } from "react";
-import { useParams, useRouter, useSearchParams } from "next/navigation";
-import {
- message,
- Input,
- Button,
- Select,
- Spin,
- Tabs,
- Row,
- Col,
- Modal,
- Progress,
-} from "antd";
-import {
- ArrowLeftOutlined,
- RobotOutlined,
- FireOutlined,
- PictureOutlined,
- FileTextOutlined,
- UploadOutlined,
- VideoCameraOutlined,
-} from "@ant-design/icons";
-import styles from "./ai-generate.module.scss";
-import {
- generateImage,
- generateFireflyCard,
- getImageGenerationModels,
- generateVideo,
- getVideoTaskStatus,
- getVideoGenerationModels,
- generateMd2Card,
-} from "@/api/ai";
-import { getOssUrl } from "@/utils/oss";
-import { uploadToOss } from "@/api/oss";
-import { getMediaGroupList, createMedia } from "@/api/media";
-import { useTransClient } from "@/app/i18n/client";
-import { md2CardTemplates, defaultMarkdown } from "./md2card";
-
-const { TextArea } = Input;
-const { Option } = Select;
-const { TabPane } = Tabs;
-
-export default function AIGeneratePage() {
- const params = useParams();
- const router = useRouter();
- const searchParams = useSearchParams();
- const { t } = useTransClient('material');
- const albumId = params.id as string;
- const lng = (params as any).lng as string;
- const isEnglishLang = typeof lng === "string" ? lng.toLowerCase().startsWith("en") : false;
-
- // 从URL参数获取默认标签
- const defaultTab = searchParams.get('tab') || 'textToImage';
-
- const [prompt, setPrompt] = useState("");
- const [size, setSize] = useState("1024x1024");
- const [n, setN] = useState(1);
- const [quality, setQuality] = useState<"standard" | "hd">("standard");
- const [style, setStyle] = useState<"vivid" | "natural">("vivid");
- const [model, setModel] = useState("");
- const [loading, setLoading] = useState(false);
- const [result, setResult] = useState<string[] | null>(null);
-
- const [content, setContent] = useState("");
- const [title, setTitle] = useState("");
- const [temp, setTemp] = useState("tempA");
- const [loadingFirefly, setLoadingFirefly] = useState(false);
- const [fireflyResult, setFireflyResult] = useState<string | null>(null);
- const TEMPLATE_BASE = "https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/firefly";
- const templateList = [
- { key: "tempA", name: t('aiGenerate.templateA') },
- { key: "tempB", name: t('aiGenerate.templateB') },
- { key: "tempC", name: t('aiGenerate.templateC') },
- { key: "tempJin", name: t('aiGenerate.templateJin') },
- { key: "tempMemo", name: t('aiGenerate.templateMemo') },
- { key: "tempEasy", name: t('aiGenerate.templateEasy') },
- { key: "tempE", name: t('aiGenerate.templateE') },
- { key: "tempWrite", name: t('aiGenerate.templateWrite') },
- { key: "tempD", name: t('aiGenerate.templateD') },
- ];
-
- // 视频生成相关状态
- const [videoPrompt, setVideoPrompt] = useState("");
- const [videoModel, setVideoModel] = useState("");
- const [videoSize, setVideoSize] = useState("720p");
- const [videoDuration, setVideoDuration] = useState(5);
- const [videoMode, setVideoMode] = useState("text2video");
- const [videoImage, setVideoImage] = useState("");
- const [videoImageTail, setVideoImageTail] = useState("");
- const [loadingVideo, setLoadingVideo] = useState(false);
- const [videoTaskId, setVideoTaskId] = useState<string | null>(null);
- const [videoStatus, setVideoStatus] = useState<string>("");
- const [videoResult, setVideoResult] = useState<string | null>(null);
- const [checkingStatus, setCheckingStatus] = useState(false);
- const [videoProgress, setVideoProgress] = useState(0);
-
- // 首帧/尾帧上传相关
- const firstFrameInputRef = useRef<HTMLInputElement | null>(null);
- const tailFrameInputRef = useRef<HTMLInputElement | null>(null);
- const [uploadingFirstFrame, setUploadingFirstFrame] = useState(false);
- const [uploadingTailFrame, setUploadingTailFrame] = useState(false);
-
- // 文件大小限制常量(字节)
- const MAX_IMAGE_SIZE = 30 * 1024 * 1024; // 30MB
-
- /**
- * 检查文件大小是否在限制范围内
- */
- const checkFileSize = (file: File): boolean => {
- if (file.size > MAX_IMAGE_SIZE) {
- const sizeInMB = (MAX_IMAGE_SIZE / (1024 * 1024)).toFixed(0);
- message.error(`${t('aiGenerate.imageSizeLimit' as any)}: ${sizeInMB}MB`);
- return false;
- }
- return true;
- };
-
- /**
- * 检查图片文件格式
- */
- const checkImageFormat = (file: File): boolean => {
- const allowedTypes = ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'];
- if (!allowedTypes.includes(file.type)) {
- message.error(`${t('aiGenerate.imageFormatSupport' as any)}: JPG, PNG, WEBP`);
- return false;
- }
- return true;
- };
-
- const handlePickFirstFrame = () => {
- firstFrameInputRef.current?.click();
- };
-
- const handlePickTailFrame = () => {
- tailFrameInputRef.current?.click();
- };
-
- const handleFirstFrameChange = async (e: React.ChangeEvent<HTMLInputElement>) => {
- const file = e.target.files && e.target.files[0];
- if (!file) return;
-
- // 检查文件大小和格式
- if (!checkFileSize(file) || !checkImageFormat(file)) {
- if (e.target) e.target.value = "";
- return;
- }
-
- try {
- setUploadingFirstFrame(true);
- const key = await uploadToOss(file);
- const url = getOssUrl(key);
- setVideoImage(url);
- message.success(t('aiGenerate.uploadSuccess'));
- } catch (err) {
- message.error(t('aiGenerate.uploadFailed'));
- } finally {
- setUploadingFirstFrame(false);
- if (e.target) e.target.value = "";
- }
- };
-
- const handleTailFrameChange = async (e: React.ChangeEvent<HTMLInputElement>) => {
- const file = e.target.files && e.target.files[0];
- if (!file) return;
-
- // 检查文件大小和格式
- if (!checkFileSize(file) || !checkImageFormat(file)) {
- if (e.target) e.target.value = "";
- return;
- }
-
- try {
- setUploadingTailFrame(true);
- const key = await uploadToOss(file);
- const url = getOssUrl(key);
- setVideoImageTail(url);
- message.success(t('aiGenerate.uploadSuccess'));
- } catch (err) {
- message.error(t('aiGenerate.uploadFailed'));
- } finally {
- setUploadingTailFrame(false);
- if (e.target) e.target.value = "";
- }
- };
-
- // md2card相关状态
- const [markdownContent, setMarkdownContent] = useState(defaultMarkdown);
- const [selectedTheme, setSelectedTheme] = useState("apple-notes");
- const [themeMode, setThemeMode] = useState("light");
- const [cardWidth, setCardWidth] = useState(440);
- const [cardHeight, setCardHeight] = useState(586);
- const [splitMode, setSplitMode] = useState("noSplit");
- const [mdxMode, setMdxMode] = useState(false);
- const [overHiddenMode, setOverHiddenMode] = useState(false);
- const [loadingMd2Card, setLoadingMd2Card] = useState(false);
- const [md2CardResult, setMd2CardResult] = useState<string | null>(null);
-
- const [mediaGroups, setMediaGroups] = useState<any[]>([]);
- const [selectedMediaGroup, setSelectedMediaGroup] = useState<string | null>(
- null,
- );
- const [uploadModalVisible, setUploadModalVisible] = useState(false);
- const [uploading, setUploading] = useState(false);
- const [loadingMediaGroups, setLoadingMediaGroups] = useState(false);
-
- const [imageModels, setImageModels] = useState<any[]>([]);
- const [videoModels, setVideoModels] = useState<any[]>([]);
-
- // 模型积分消耗映射 - 现在从接口获取,不再写死
- // const modelCreditCosts: Record<string, number> = {
- // 'gpt-image-1': 1,
- // 'doubao-seedream-3-0-t2i-250415': 2.6
- // };
-
- // 视频模型积分消耗映射 - 现在从接口获取,不再写死
- // const videoModelCreditCosts: Record<string, Record<number, Record<string, number>>> = {
- // 'doubao-seedance-1-0-pro-250528': {
- // 5: { '480p': 7.2, '720p': 16.4, '1080p': 36.7 },
- // 10: { '480p': 14.4, '720p': 32.8, '1080p': 73.4 }
- // },
- // 'doubao-seedance-1-0-lite-i2v-250428': {
- // 5: { '480p': 5, '720p': 11, '1080p': 25 },
- // 10: { '480p': 10, '720p': 22, '1080p': 45 }
- // },
- // 'doubao-seedance-1-0-lite-t2v-250428': {
- // 5: { '480p': 5, '720p': 11, '1080p': 25 },
- // 10: { '480p': 10, '720p': 22, '1080p': 45 }
- // },
- // 'wan2-1-14b-i2v-250225': {
- // 5: { '480p': 12, '720p': 12, '1080p': 36 },
- // },
- // 'wan2-1-14b-t2v-250225': {
- // 5: { '480p': 12, '720p': 12, '1080p': 36 },
- // }
- // };
-
- // 获取视频模型积分消耗 - 现在从接口数据获取
- const getVideoModelCreditCost = (modelName: string, duration: number, size: string): number => {
- const model = videoModels.find(m => m.name === modelName);
- if (!model || !model.pricing || !Array.isArray(model.pricing)) return 0;
-
- // 在 pricing 数组中查找匹配的 duration 和 resolution
- const pricingItem = model.pricing.find((item: any) =>
- item.duration === duration && item.resolution === size
- );
-
- return pricingItem ? pricingItem.price : 0;
- };
-
- // 根据模式过滤视频模型列表
- const filteredVideoModels = useMemo(() => {
- if (!Array.isArray(videoModels)) return [] as any[];
- if (videoMode === "text2video") {
- return (videoModels as any[]).filter((m: any) => (m?.modes || []).includes("text2video"));
- }
- return (videoModels as any[]).filter((m: any) => {
- const modes: string[] = m?.modes || [];
- return modes.includes("image2video");
- });
- }, [videoModels, videoMode]);
-
- // 获取图片生成模型
- const fetchImageModels = async () => {
- try {
- const response: any = await getImageGenerationModels();
- if (response.data) {
- setImageModels(response.data);
- if (response.data.length > 0) {
- setModel(response.data[0].name);
- }
- }
- } catch (error) {
- console.error(t('aiGenerate.getImageModelsFailed' as any), error);
- }
- };
-
- // 获取视频生成模型
- const fetchVideoModels = async () => {
- try {
- const response: any = await getVideoGenerationModels();
- if (response.data) {
- setVideoModels(response.data);
- if (response.data.length > 0) {
- const first = response.data[0];
- setVideoModel(first.name);
- // 根据第一个模型的 modes 设置默认模式
- if (first?.modes?.length) {
- if (first.modes.includes("text2video")) {
- setVideoMode("text2video");
- } else if (first.modes.includes("image2video")) {
- setVideoMode("image2video");
- }
- }
- if (first?.durations?.length) {
- setVideoDuration(first.durations[0]);
- }
- if (first?.resolutions?.length) {
- setVideoSize(first.resolutions[0]);
- }
- }
- }
- } catch (error) {
- console.error(t('aiGenerate.getVideoModelsFailed' as any), error);
- }
- };
-
- useEffect(() => {
- fetchImageModels();
- fetchVideoModels();
- }, []);
-
- // 模式变化时,重置模型为过滤后的第一个;切换到文生视频时清空图片
- useEffect(() => {
- if ((filteredVideoModels as any[]).length > 0) {
- if (!(filteredVideoModels as any[]).find((m: any) => m.name === videoModel)) {
- setVideoModel((filteredVideoModels as any[])[0].name);
- }
- }
- if (videoMode === 'text2video') {
- setVideoImage("");
- setVideoImageTail("");
- }
- }, [videoMode, filteredVideoModels]);
-
- // 切换模型时,根据模型能力校正模式/时长/尺寸(仅校正 size/duration)
- useEffect(() => {
- if (!videoModel || !videoModels?.length) return;
- const current = (videoModels as any[]).find((m) => m.name === videoModel);
- if (!current) return;
- const { durations = [], resolutions = [] } = current || {};
- if (durations.length && !durations.includes(videoDuration)) {
- setVideoDuration(durations[0]);
- }
- if (resolutions.length && !resolutions.includes(videoSize)) {
- setVideoSize(resolutions[0]);
- }
- // 按模型能力清理不支持的首/尾帧,避免带上无效参数
- const supportedParams: string[] = (current as any)?.supportedParameters || [];
- if (!supportedParams.includes('image') && videoImage) {
- setVideoImage("");
- }
- if (!supportedParams.includes('image_tail') && videoImageTail) {
- setVideoImageTail("");
- }
- }, [videoModel, videoModels]);
-
- const fetchMediaGroups = async (type: "video" | "img" = 'img') => {
- try {
- setLoadingMediaGroups(true);
- const response: any = await getMediaGroupList(1, 100, type);
- if (response.data) {
- setMediaGroups(response.data.list || []);
- }
- } catch (error) {
- message.error(t('aiGenerate.getMediaGroupListFailed'));
- } finally {
- setLoadingMediaGroups(false);
- }
- };
-
- const handleTextToImage = async () => {
- if (!prompt) {
- message.error(t('aiGenerate.pleaseEnterPrompt'));
- return;
- }
-
- try {
- setLoading(true);
- const response: any = await generateImage({
- prompt,
- n,
- quality,
- style,
- size,
- model,
- response_format: "url",
- });
-
- if (response.data && response.data.list) {
- const imageUrls = response.data.list.map((item: any) => item.url);
- setResult(imageUrls);
- } else {
- message.error(t('aiGenerate.imageGenerationFailed'));
- }
- } catch (error) {
- message.error(t('aiGenerate.imageGenerationFailed'));
- } finally {
- setLoading(false);
- }
- };
-
- const handleTextToFireflyCard = async () => {
- if (!content || !title) {
- message.error(t('aiGenerate.pleaseEnterContentAndTitle'));
- return;
- }
-
- try {
- setLoadingFirefly(true);
- const response: any = await generateFireflyCard({
- content,
- temp,
- title,
- });
-
- if (response.data && response.data.image) {
- setFireflyResult(response.data.image);
- } else {
- message.error(t('aiGenerate.fireflyCardGenerationFailed'));
- }
- } catch (error) {
- message.error(t('aiGenerate.fireflyCardGenerationFailed'));
- } finally {
- setLoadingFirefly(false);
- }
- };
-
- const handleVideoGeneration = async () => {
- if (!videoPrompt) {
- message.error(t('aiGenerate.pleaseEnterVideoDescription'));
- return;
- }
-
- if (!videoModel) {
- message.error(t('aiGenerate.pleaseSelectVideoModel'));
- return;
- }
-
- // 检查必传参数 - 只在 image2video 模式下检查图片参数
- if (videoMode === 'image2video') {
- const current: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const supportedParams: string[] = current?.supportedParameters || [];
-
- // 如果模型要求 image 参数但用户没有上传首帧,则拦截
- if (supportedParams.includes('image') && !videoImage) {
- message.error(t('aiGenerate.pleaseUploadFirstFrame'));
- return;
- }
-
- // 如果模型要求 image_tail 参数但用户没有上传尾帧,则拦截
- if (supportedParams.includes('image_tail') && !videoImageTail) {
- message.error(t('aiGenerate.pleaseUploadTailFrame'));
- return;
- }
- }
-
- try {
- setLoadingVideo(true);
- setVideoStatus("submitted");
- setVideoProgress(10);
-
- const requestData: any = {
- model: videoModel,
- prompt: videoPrompt,
- size: videoSize,
- duration: videoDuration,
- };
-
- // 根据当前模型能力和模式决定携带哪些帧参数
- const current: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const supportedParams: string[] = current?.supportedParameters || [];
-
- // 只在 image2video 模式下携带图片参数
- if (videoMode === 'image2video') {
- if (supportedParams.includes('image') && videoImage) {
- requestData.image = videoImage;
- }
- if (supportedParams.includes('image_tail') && videoImageTail) {
- requestData.image_tail = videoImageTail;
- }
- }
-
- const response: any = await generateVideo(requestData);
-
- if (response.data && response.data.task_id) {
- setVideoTaskId(response.data.task_id);
- setVideoStatus(response.data.status);
- message.success(t('aiGenerate.taskSubmittedSuccess'));
-
- // 开始轮询任务状态
- pollVideoTaskStatus(response.data.task_id);
- } else {
- message.error(t('aiGenerate.videoGenerationFailed'));
- setVideoStatus("");
- }
- } catch (error) {
- message.error(t('aiGenerate.videoGenerationFailed'));
- setVideoStatus("");
- } finally {
- setLoadingVideo(false);
- }
- };
-
- const pollVideoTaskStatus = async (taskId: string) => {
- const checkStatus = async () => {
- try {
- setCheckingStatus(true);
- const response: any = await getVideoTaskStatus(taskId);
-
- if (response.data) {
- const { status, fail_reason, progress } = response.data;
- // 规范化状态以匹配UI展示
- const up = typeof status === 'string' ? status.toUpperCase() : '';
- const normalizedStatus = up === 'SUCCESS' ? 'completed'
- : up === 'FAILED' ? 'failed'
- : up === 'PROCESSING' ? 'processing'
- : up === 'NOT_START' || up === 'NOT_STARTED' || up === 'QUEUED' || up === 'PENDING' ? 'submitted'
- : (status || '').toString().toLowerCase();
- setVideoStatus(normalizedStatus);
-
- // 解析进度:可能是 "0%"、0-1 或 0-100
- let percent = 0;
- if (typeof progress === 'string') {
- const m = progress.match(/(\d+)/);
- percent = m ? Number(m[1]) : 0;
- } else if (typeof progress === 'number') {
- percent = progress > -1 ? Math.round(progress) : Math.round(progress * 100);
- }
-
- if (normalizedStatus === 'completed') {
- setVideoResult(fail_reason); // 成功时 fail_reason 字段包含视频URL
- setVideoProgress(100);
- message.success(t('aiGenerate.videoGenerationSuccess'));
- return true;
- }
- if (normalizedStatus === 'failed') {
- setVideoProgress(0);
- message.error(fail_reason || t('aiGenerate.videoGenerationFailed'));
- return true;
- }
- setVideoProgress(percent);
- return false;
- }
- return false;
- } catch (error) {
- console.error(t('aiGenerate.checkVideoTaskStatusFailed'), error);
- return false;
- } finally {
- setCheckingStatus(false);
- }
- };
-
- // 轮询逻辑
- const poll = async () => {
- const isCompleted = await checkStatus();
- if (!isCompleted) {
- setTimeout(poll, 5000); // 每5秒检查一次
- }
- };
-
- poll();
- };
-
- const handleMd2CardGeneration = async () => {
- if (!markdownContent) {
- message.error(t('aiGenerate.pleaseEnterMarkdown'));
- return;
- }
-
- try {
- setLoadingMd2Card(true);
- const response: any = await generateMd2Card({
- markdown: markdownContent,
- theme: selectedTheme,
- themeMode,
- width: cardWidth,
- height: cardHeight,
- splitMode,
- mdxMode,
- overHiddenMode,
- });
-
- if (response.data && response.data.images && response.data.images.length > 0) {
- setMd2CardResult(response.data.images[0].url);
- } else {
- message.error(t('aiGenerate.cardGenerationFailed'));
- }
- } catch (error) {
- message.error(t('aiGenerate.cardGenerationFailed'));
- } finally {
- setLoadingMd2Card(false);
- }
- };
-
- const handleUploadToMediaGroup = async (type: string = 'img') => {
- setSelectedMediaGroup(null);
- await fetchMediaGroups(type as "video" | "img");
- setUploadModalVisible(true);
- };
-
- const handleUploadConfirm = async () => {
- if (!selectedMediaGroup) {
- message.error(t('aiGenerate.pleaseSelectMediaGroup'));
- return;
- }
-
- try {
- setUploading(true);
- const mediaUrl = videoResult || fireflyResult || md2CardResult;
- const mediaType = videoResult ? "video" : "img";
-
- const response: any = await createMedia({
- groupId: selectedMediaGroup,
- url: mediaUrl,
- type: mediaType,
- title: videoResult ? videoPrompt : title,
- desc: "",
- });
-
- if (response.data) {
- message.success(videoResult ? t('aiGenerate.videoUploadSuccess') : md2CardResult ? t('aiGenerate.cardUploadSuccess') : t('aiGenerate.uploadSuccess'));
- setUploadModalVisible(false);
- } else {
- message.error(videoResult ? t('aiGenerate.videoUploadFailed') : md2CardResult ? t('aiGenerate.cardUploadFailed') : t('aiGenerate.uploadFailed'));
- }
- } catch (error) {
- message.error(videoResult ? t('aiGenerate.videoUploadFailed') : md2CardResult ? t('aiGenerate.cardUploadFailed') : t('aiGenerate.uploadFailed'));
- } finally {
- setUploading(false);
- }
- };
-
- return (
- <div className={styles.container}>
- <div className={styles.header}>
- <div className={styles.headerLeft}>
- <button className={styles.backButton} onClick={() => router.back()}>
- <ArrowLeftOutlined />
- </button>
- <p>
- <RobotOutlined /> {t('aiGenerate.title')}
- </p>
- </div>
- </div>
-
- <div className={styles.content}>
- <Tabs defaultActiveKey={defaultTab} className={styles.tabs}>
- <TabPane
- tab={
- <span>
- <PictureOutlined /> {t('aiGenerate.textToImage')}
- </span>
- }
- key="textToImage"
- >
- <div className={styles.section}>
- <div className={styles.form}>
- <TextArea
- placeholder={t('aiGenerate.promptPlaceholder')}
- value={prompt}
- onChange={(e) => setPrompt(e.target.value)}
- rows={4}
- />
- <div className={styles.dimensions}>
- <Select
- placeholder={t('aiGenerate.selectSizePlaceholder')}
- value={size}
- onChange={setSize}
- style={{ width: "100%" }}
- >
- <Option value="1024x1024">1024x1024</Option>
- <Option value="1792x1024">1792x1024</Option>
- <Option value="1024x1792">1024x1792</Option>
- </Select>
- <Select
- placeholder={t('aiGenerate.generateCountPlaceholder')}
- value={n}
- onChange={setN}
- style={{ width: "100%" }}
- >
- {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(num => (
- <Option key={num} value={num}>{num}</Option>
- ))}
- </Select>
- </div>
- <div className={styles.options}>
- <Select
- placeholder={t('aiGenerate.imageQualityPlaceholder')}
- value={quality}
- onChange={setQuality}
- style={{ width: "100%" }}
- >
- <Option value="standard">{t('aiGenerate.standard')}</Option>
- <Option value="hd">{t('aiGenerate.hd')}</Option>
- </Select>
- <Select
- placeholder={t('aiGenerate.imageStylePlaceholder')}
- value={style}
- onChange={setStyle}
- style={{ width: "100%" }}
- >
- <Option value="vivid">{t('aiGenerate.vivid')}</Option>
- <Option value="natural">{t('aiGenerate.natural')}</Option>
- </Select>
- </div>
- {imageModels.length > 0 && (
- <Select
- placeholder={t('aiGenerate.selectModelPlaceholder')}
- value={model}
- onChange={setModel}
- style={{ width: "100%" }}
- >
- {imageModels.map((modelItem) => {
- const creditCost = modelItem.pricing ? parseFloat(modelItem.pricing) : 0;
- return (
- <Option key={modelItem.name} value={modelItem.name}>
- {modelItem.name} {creditCost > 0 && `(${t('aiGenerate.estimatedCreditCost' as any)} ${creditCost} ${t('aiGenerate.credits' as any)})`}
- </Option>
- );
- })}
- </Select>
- )}
- {model && (() => {
- const selectedModel = imageModels.find(m => m.name === model);
- const creditCost = selectedModel?.pricing ? parseFloat(selectedModel.pricing) : 0;
- return creditCost > 0 ? (
- <div className={styles.creditCostInfo}>
- <span style={{ color: '#1890ff', fontSize: '14px' }}>
- 💰 {t('aiGenerate.estimatedCreditCost' as any)}: {creditCost} {t('aiGenerate.credits' as any)}
- </span>
- </div>
- ) : null;
- })()}
- <Button
- type="primary"
- onClick={handleTextToImage}
- loading={loading}
- disabled={!prompt}
- icon={<PictureOutlined />}
- >
- {t('aiGenerate.generate')}
- </Button>
- </div>
- {result && (
- <div className={styles.result}>
- <Row gutter={[16, 16]}>
- {result.map((img, index) => (
- <Col key={index} xs={24} sm={12} md={8} lg={6}>
- <img
- src={img}
- alt={`${t('aiGenerate.textToImage')} ${index + 1}`}
- style={{ width: "100%", borderRadius: "8px" }}
- />
- </Col>
- ))}
- </Row>
- </div>
- )}
- </div>
- </TabPane>
- <TabPane
- tab={
- <span>
- <FireOutlined /> {t('aiGenerate.fireflyCard')}
- </span>
- }
- key="textToFireflyCard"
- >
- <div className={styles.section}>
- <div className={styles.form}>
- <Input
- placeholder={t('aiGenerate.titlePlaceholder')}
- value={title}
- onChange={(e) => setTitle(e.target.value)}
- prefix={<FileTextOutlined />}
- />
- <TextArea
- placeholder={t('aiGenerate.contentPlaceholder')}
- value={content}
- onChange={(e) => setContent(e.target.value)}
- rows={4}
- />
- <div className={styles.templateGrid}>
- {templateList.map((item) => (
- <div
- key={item.key}
- className={`${styles.templateCard} ${temp === item.key ? styles.templateCardActive : ""}`}
- onClick={() => setTemp(item.key)}
- >
- <div className={styles.templateThumb}>
- <img
- src={`${TEMPLATE_BASE}/${item.key}.png`}
- alt={`${t('aiGenerate.template')} ${item.name}`}
- />
- </div>
- <div className={styles.templateLabel}>
- {item.name}
- </div>
- </div>
- ))}
- </div>
- <Button
- type="primary"
- onClick={handleTextToFireflyCard}
- loading={loadingFirefly}
- disabled={!content || !title}
- icon={<FireOutlined />}
- >
- {t('aiGenerate.generate')}
- </Button>
- </div>
- {fireflyResult && (
- <div className={styles.result}>
- <div
- style={{
- display: "flex",
- flexDirection: "column",
- gap: "10px",
- }}
- >
- <img
- src={getOssUrl(fireflyResult)}
- alt={t('aiGenerate.fireflyCard')}
- style={{ maxWidth: "100%", borderRadius: "8px" }}
- />
- <Button
- type="primary"
- onClick={() => handleUploadToMediaGroup('img')}
- icon={<UploadOutlined />}
- style={{
- padding: "1px",
- }}
- >
- {t('aiGenerate.uploadToMediaGroup')}
- </Button>
- </div>
- </div>
- )}
- </div>
- </TabPane>
- <TabPane
- tab={
- <span>
- <VideoCameraOutlined /> {t('aiGenerate.videoGeneration')}
- </span>
- }
- key="videoGeneration"
- >
-
-
- <div className={styles.section}>
- <div className={styles.form}>
- <TextArea
- placeholder={t('aiGenerate.videoPromptPlaceholder')}
- value={videoPrompt}
- onChange={(e) => setVideoPrompt(e.target.value)}
- rows={4}
- />
-
- {/* 模式选择:仅显示两项base Tab 下拉:文生成视频/图文转视频 */}
- <div className={styles.options}>
- <Select
- placeholder={t('aiGenerate.videoMode')}
- value={videoMode}
- onChange={setVideoMode}
- style={{ width: "100%" }}
- >
- <Option value="text2video">{t('aiGenerate.textToVideo')}</Option>
- <Option value="image2video">{t('aiGenerate.imageToVideo')}</Option>
- </Select>
- </div>
-
- {Array.isArray(filteredVideoModels) && filteredVideoModels.length > 0 && (
- <div style={{ width: "100%" }}>
- <Select
- placeholder={t('aiGenerate.selectVideoModelPlaceholder')}
- value={videoModel}
- onChange={setVideoModel}
- style={{ width: "100%" }}
- >
- {(filteredVideoModels as any[]).map((modelItem: any) => {
- const creditCost = getVideoModelCreditCost(modelItem.name, videoDuration, videoSize);
- return (
- <Option key={modelItem.name} value={modelItem.name}>
- {modelItem.name} {creditCost > 0 && `(${t('aiGenerate.estimatedCreditCost' as any)} ${creditCost} ${t('aiGenerate.credits' as any)})`}
- </Option>
- );
- })}
- </Select>
- </div>
- )}
- <div className={styles.dimensions}>
- <Select
- placeholder={t('aiGenerate.videoSize')}
- value={videoSize}
- onChange={setVideoSize}
- style={{ width: "100%" }}
- >
- {(() => {
- const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const sizes: string[] = selected?.resolutions || [];
- return sizes.map((s) => (
- <Option key={s} value={s}>{s}</Option>
- ));
- })()}
- </Select>
- <Select
- placeholder={t('aiGenerate.videoDuration')}
- value={videoDuration}
- onChange={setVideoDuration}
- style={{ width: "100%" }}
- >
- {(() => {
- const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const durations: number[] = selected?.durations || [];
- return durations.map((d) => (
- <Option key={d} value={d}>{d}{t('aiGenerate.seconds')}</Option>
- ));
- })()}
- </Select>
- </div>
-
- {/* 首帧/尾帧上传控件:按选择的模式显示 */}
- <div className={styles.options}>
- {(() => {
- const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const supportedParams: string[] = selected?.supportedParameters || [];
- return (
- <>
- {videoMode === 'image2video' && supportedParams.includes('image') && (
- <div style={{ display: "flex", alignItems: "center", gap: 12, width: "100%" }}>
- <Button onClick={handlePickFirstFrame} loading={uploadingFirstFrame}>
- {t('aiGenerate.uploadImage')} - {t('aiGenerate.firstFrame')}
- </Button>
- {videoImage && (
- <img
- src={videoImage}
- alt={t('aiGenerate.firstFrame')}
- style={{ width: 160, height: 90, objectFit: 'cover', borderRadius: 6, border: '1px solid #eee' }}
- />
- )}
- <input
- type="file"
- accept="image/*"
- ref={firstFrameInputRef}
- onChange={handleFirstFrameChange}
- style={{ display: "none" }}
- />
- </div>
- )}
- {videoMode === 'image2video' && supportedParams.includes('image_tail') && (
- <div style={{ display: "flex", alignItems: "center", gap: 12, width: "100%" }}>
- <Button onClick={handlePickTailFrame} loading={uploadingTailFrame}>
- {t('aiGenerate.uploadImage')} - {t('aiGenerate.tailFrame')}
- </Button>
- {videoImageTail && (
- <img
- src={videoImageTail}
- alt={t('aiGenerate.tailFrame')}
- style={{ width: 160, height: 90, objectFit: 'cover', borderRadius: 6, border: '1px solid #eee' }}
- />
- )}
- <input
- type="file"
- accept="image/*"
- ref={tailFrameInputRef}
- onChange={handleTailFrameChange}
- style={{ display: "none" }}
- />
- </div>
- )}
- </>
- );
- })()}
- </div>
-
- {/* 显示当前选择的视频模型积分消耗 */}
- {videoModel && videoDuration && videoSize && (
- <div className={styles.creditCostInfo}>
- <span style={{ color: '#1890ff', fontSize: '14px' }}>
- 💰 {t('aiGenerate.estimatedCreditCost' as any)}: {getVideoModelCreditCost(videoModel, videoDuration, videoSize)} {t('aiGenerate.credits' as any)}
- </span>
- </div>
- )}
-
- <Button
- type="primary"
- onClick={handleVideoGeneration}
- loading={loadingVideo}
- disabled={!videoPrompt || !videoModel}
- icon={<VideoCameraOutlined />}
- >
- {t('aiGenerate.generate')}
- </Button>
- </div>
-
- {/* 视频生成状态和结果 */}
- {(videoStatus || videoResult) && (
- <div className={styles.result}>
- {videoStatus && (
- <div style={{ marginBottom: "16px" }}>
- <div style={{ marginBottom: "8px" }}>
- <strong>{t('aiGenerate.taskStatus')}: </strong>
- {videoStatus === "submitted" && t('aiGenerate.taskSubmitted')}
- {videoStatus === "processing" && t('aiGenerate.taskProcessing')}
- {videoStatus === "completed" && t('aiGenerate.taskCompleted')}
- {videoStatus === "failed" && t('aiGenerate.taskFailed')}
- </div>
- {videoProgress > 0 && videoProgress < 100 && (
- <Progress percent={videoProgress} status="active" />
- )}
- </div>
- )}
-
- {videoResult && (
- <div
- style={{
- display: "flex",
- flexDirection: "column",
- gap: "10px",
- }}
- >
- <video
- src={getOssUrl(videoResult)}
- controls
- style={{ maxWidth: "100%", borderRadius: "8px" }}
- />
- <Button
- type="primary"
- onClick={() => handleUploadToMediaGroup('video')}
- icon={<UploadOutlined />}
- style={{
- padding: "1px",
- }}
- >
- {t('aiGenerate.uploadToMediaGroup')}
- </Button>
- </div>
- )}
- </div>
- )}
-
- {/* 图片要求提示 */}
- <div className={styles.imageRequirements}>
- <h4>{t('aiGenerate.imageRequirements' as any)}</h4>
- <div className={styles.requirementsList}>
- <div className={styles.requirementItem}>
- <span className={styles.requirementLabel}>{t('aiGenerate.aspectRatioRange' as any)}:</span>
- <span className={styles.requirementValue}>{t('aiGenerate.aspectRatioRangeValue' as any)}</span>
- </div>
- <div className={styles.requirementItem}>
- <span className={styles.requirementLabel}>{t('aiGenerate.dimensionRange' as any)}:</span>
- <span className={styles.requirementValue}>{t('aiGenerate.dimensionRangeValue' as any)}</span>
- </div>
- <div className={styles.requirementItem}>
- <span className={styles.requirementLabel}>{t('aiGenerate.imageSizeLimit' as any)}:</span>
- <span className={styles.requirementValue}>{t('aiGenerate.imageSizeLimitValue' as any)}</span>
- </div>
- <div className={styles.requirementItem}>
- <span className={styles.requirementLabel}>{t('aiGenerate.imageFormatSupport' as any)}:</span>
- <span className={styles.requirementValue}>{t('aiGenerate.imageFormatSupportValue' as any)}</span>
- </div>
- </div>
- </div>
- </div>
- </TabPane>
- <TabPane
- tab={
- <span>
- <FileTextOutlined /> {t('aiGenerate.markdownToCard')}
- </span>
- }
- key="md2card"
- >
- <div className={styles.section}>
- <div className={styles.form}>
- <TextArea
- placeholder={t('aiGenerate.markdownPlaceholder')}
- value={markdownContent}
- onChange={(e) => setMarkdownContent(e.target.value)}
- rows={8}
- />
- <div className={styles.dimensions}>
- <Select
- placeholder={t('aiGenerate.themeModePlaceholder')}
- value={themeMode}
- onChange={setThemeMode}
- style={{ width: "100%" }}
- >
- <Option value="light">{t('aiGenerate.lightMode')}</Option>
- <Option value="dark">{t('aiGenerate.darkMode')}</Option>
- </Select>
- </div>
- <div className={styles.templateGrid}>
- {md2CardTemplates.map((theme) => (
- <div
- key={theme.id}
- className={`${styles.templateCard} ${selectedTheme === theme.id ? styles.templateCardActive : ""}`}
- onClick={() => setSelectedTheme(theme.id)}
- >
- <div className={styles.templateThumb}>
- <img src={theme.preview} alt={isEnglishLang ? theme.nameEn : theme.nameCn} />
- </div>
- <div className={styles.templateLabel}>{isEnglishLang ? theme.nameEn : theme.nameCn}</div>
- </div>
- ))}
- </div>
- <div className={styles.options}>
- <Input
- placeholder={t('aiGenerate.cardWidthPlaceholder')}
- type="number"
- value={cardWidth}
- onChange={(e) => setCardWidth(Number(e.target.value))}
- style={{ width: "100%" }}
- />
- <Input
- placeholder={t('aiGenerate.cardHeightPlaceholder')}
- type="number"
- value={cardHeight}
- onChange={(e) => setCardHeight(Number(e.target.value))}
- style={{ width: "100%" }}
- />
- </div>
- <div className={styles.options}>
- <Select
- placeholder={t('aiGenerate.splitModePlaceholder')}
- value={splitMode}
- onChange={setSplitMode}
- style={{ width: "100%" }}
- >
- <Option value="noSplit">{t('aiGenerate.noSplit')}</Option>
- <Option value="split">{t('aiGenerate.split')}</Option>
- </Select>
- <div style={{ display: "flex", gap: "8px", alignItems: "center" }}>
- <label>
- <input
- type="checkbox"
- checked={mdxMode}
- onChange={(e) => setMdxMode(e.target.checked)}
- />
- {t('aiGenerate.mdxMode')}
- </label>
- <label>
- <input
- type="checkbox"
- checked={overHiddenMode}
- onChange={(e) => setOverHiddenMode(e.target.checked)}
- />
- {t('aiGenerate.overHiddenMode')}
- </label>
- </div>
- </div>
- <Button
- type="primary"
- onClick={handleMd2CardGeneration}
- loading={loadingMd2Card}
- disabled={!markdownContent}
- icon={<FileTextOutlined />}
- >
- {t('aiGenerate.generateCard')}
- </Button>
- </div>
- {md2CardResult && (
- <div className={styles.result}>
- <div
- style={{
- display: "flex",
- flexDirection: "column",
- gap: "10px",
- }}
- >
- <img
- src={getOssUrl(md2CardResult)}
- alt={t('aiGenerate.markdownCard')}
- style={{ maxWidth: "100%", borderRadius: "8px" }}
- />
- <Button
- type="primary"
- onClick={() => handleUploadToMediaGroup('img')}
- icon={<UploadOutlined />}
- style={{
- padding: "1px",
- }}
- >
- {t('aiGenerate.uploadToMediaGroup')}
- </Button>
- </div>
- </div>
- )}
- </div>
- </TabPane>
- </Tabs>
- </div>
-
- <Modal
- title={t('aiGenerate.selectMediaGroup')}
- open={uploadModalVisible}
- onOk={handleUploadConfirm}
- onCancel={() => setUploadModalVisible(false)}
- confirmLoading={uploading}
- >
- <Select
- placeholder={t('aiGenerate.selectMediaGroupPlaceholder')}
- value={selectedMediaGroup}
- onChange={setSelectedMediaGroup}
- style={{ width: "100%" }}
- loading={loadingMediaGroups}
- >
- {mediaGroups.map((group) => (
- <Option key={group._id} value={group._id}>
- {group.title} - {group.type}
- </Option>
- ))}
- </Select>
- </Modal>
- </div>
- );
-}
diff --git a/project/web/src/app/[lng]/material/ai-generate/page.tsx b/project/web/src/app/[lng]/material/ai-generate/page.tsx
index d71fa2d7..25eef965 100644
--- a/project/web/src/app/[lng]/material/ai-generate/page.tsx
+++ b/project/web/src/app/[lng]/material/ai-generate/page.tsx
@@ -13,6 +13,7 @@ import { useTransClient } from "@/app/i18n/client";
import { md2CardTemplates, defaultMarkdown } from "./md2card";
import Chat from "@/components/Chat";
import { OSS_URL } from "@/constant";
+import VipContentModal from "@/components/modals/VipContentModal";
const { TextArea } = Input;
const { Option } = Select;
@@ -53,6 +54,9 @@ export default function AIGeneratePage() {
// 视频子模块切换
const [activeVideoTab, setActiveVideoTab] = useState<"text2video" | "image2video">(initVideoTab);
+ // VIP弹窗状态
+ const [vipModalOpen, setVipModalOpen] = useState(false);
+
// 文生图
const [prompt, setPrompt] = useState("");
const [size, setSize] = useState("1024x1024");
@@ -344,16 +348,16 @@ export default function AIGeneratePage() {
size: imageEditSize,
response_format: "url"
});
- if (res.data?.logId) {
+ if (res?.data?.logId) {
setImageEditTaskId(res.data.logId);
setImageEditStatus(res.data.status);
message.success(t("aiGenerate.taskSubmittedSuccess"));
pollImageEditTaskStatus(res.data.logId);
} else {
- message.error(t("aiGenerate.imageGenerationFailed"));
+ setVipModalOpen(true);
setImageEditStatus("");
}
- } catch { message.error(t("aiGenerate.imageGenerationFailed")); setImageEditStatus(""); } finally { setImageEditLoading(false); }
+ } catch { setImageEditStatus(""); } finally { setImageEditLoading(false); }
};
const pollImageEditTaskStatus = async (logId: string) => {
@@ -643,16 +647,19 @@ export default function AIGeneratePage() {
setImageStatus("submitted");
setImageProgress(10);
const res: any = await generateImage({ prompt, n, quality, style, size, model, response_format: "url" });
- if (res.data?.logId) {
+ console.log('res', res)
+ if (res?.data?.logId) {
setImageTaskId(res.data.logId);
setImageStatus(res.data.status);
message.success(t("aiGenerate.taskSubmittedSuccess"));
pollImageTaskStatus(res.data.logId);
} else {
- message.error(t("aiGenerate.imageGenerationFailed"));
+ setVipModalOpen(true);
setImageStatus("");
}
- } catch { message.error(t("aiGenerate.imageGenerationFailed")); setImageStatus(""); } finally { setLoading(false); }
+ } catch {
+ setImageStatus("");
+ } finally { setLoading(false); }
};
const handleTextToFireflyCard = async () => {
@@ -748,9 +755,9 @@ export default function AIGeneratePage() {
}
}
const res: any = await generateVideo(data);
- if (res.data?.task_id) { setVideoTaskId(res.data.task_id); setVideoStatus(res.data.status); message.success(t("aiGenerate.taskSubmittedSuccess")); pollVideoTaskStatus(res.data.task_id); }
- else { message.error(t("aiGenerate.videoGenerationFailed")); setVideoStatus(""); }
- } catch { message.error(t("aiGenerate.videoGenerationFailed")); setVideoStatus(""); } finally { setLoadingVideo(false); }
+ if (res?.data?.task_id) { setVideoTaskId(res.data.task_id); setVideoStatus(res.data.status); message.success(t("aiGenerate.taskSubmittedSuccess")); pollVideoTaskStatus(res.data.task_id); }
+ else { setVipModalOpen(true); setVideoStatus(""); }
+ } catch { setVideoStatus(""); } finally { setLoadingVideo(false); }
};
const pollVideoTaskStatus = async (taskId: string) => {
@@ -839,17 +846,17 @@ export default function AIGeneratePage() {
try {
setLoadingMd2Card(true);
const res: any = await generateMd2Card({ markdown: markdownContent, theme: selectedTheme, themeMode, width: cardWidth, height: cardHeight, splitMode, mdxMode, overHiddenMode });
- if (res.data?.images?.length) {
+ if (res?.data?.images?.length) {
const cardUrl = res.data.image[0].url;
setMd2CardResult(cardUrl);
// 自动上传到默认素材库组
await autoUploadToDefaultGroup(cardUrl, "img", "Markdown Card", markdownContent.substring(0, 100));
} else {
- message.error(t("aiGenerate.cardGenerationFailed"));
+ setVipModalOpen(true);
}
}
- catch { message.error(t("aiGenerate.cardGenerationFailed")); } finally { setLoadingMd2Card(false); }
+ catch { setVipModalOpen(true); } finally { setLoadingMd2Card(false); }
};
const [currentUploadUrl, setCurrentUploadUrl] = useState<string | null>(null);
@@ -1842,6 +1849,12 @@ export default function AIGeneratePage() {
</div>
</div>
+ {/* VIP弹窗 */}
+ <VipContentModal
+ open={vipModalOpen}
+ onClose={() => setVipModalOpen(false)}
+ />
+
<Modal title={t("aiGenerate.selectMediaGroup")} open={uploadModalVisible} onOk={handleUploadConfirm} onCancel={()=>setUploadModalVisible(false)} confirmLoading={uploading}>
<Select placeholder={t("aiGenerate.selectMediaGroupPlaceholder")} value={selectedMediaGroup} onChange={setSelectedMediaGroup} style={{ width: "100%" }} loading={loadingMediaGroups}>
{mediaGroups.map((g:any)=> (<Option key={g._id} value={g._id}>{g.title} - {g.type}</Option>))}
diff --git a/project/web/src/app/[lng]/tasks/taskPageCore.tsx b/project/web/src/app/[lng]/tasks/taskPageCore.tsx
index 8ed83383..85a2ff36 100644
--- a/project/web/src/app/[lng]/tasks/taskPageCore.tsx
+++ b/project/web/src/app/[lng]/tasks/taskPageCore.tsx
@@ -11,6 +11,7 @@ import {
apiGetUserTaskDetail,
apiAcceptTask,
apiSubmitTask,
+ apiMarkTaskAsViewed,
TaskOpportunity,
UserTask
} from "@/api/task";
@@ -23,10 +24,12 @@ import { getAccountListApi } from "@/api/account";
import { SocialAccount } from "@/api/types/account.type";
import { getTaskDetail, acceptTask, submitTask } from "@/api/notification";
import { getDays, getUtcDays } from "@/app/[lng]/accounts/components/CalendarTiming/calendarTiming.utils";
-import { Steps } from "antd";
+import { Steps, Radio } from "antd";
import http from "@/utils/request";
import { useRouter, useParams } from "next/navigation";
import styles from "./taskPageCore.module.scss";
+import { apiGetMaterialList } from "@/api/material";
+import DraftSelectionModal from "@/components/PublishDialog/compoents/DraftSelectionModal";
const { TabPane } = Tabs;
@@ -120,6 +123,20 @@ export default function TaskPageCore() {
const [accountSelectVisible, setAccountSelectVisible] = useState(false);
const [availableAccounts, setAvailableAccounts] = useState<SocialAccount[]>([]);
const [selectedAccount, setSelectedAccount] = useState<SocialAccount | null>(null);
+
+ // 素材列表状态
+ const [materialList, setMaterialList] = useState<any[]>([]);
+ const [materialLoading, setMaterialLoading] = useState(false);
+ const [materialPagination, setMaterialPagination] = useState({
+ current: 1,
+ pageSize: 9,
+ total: 0
+ });
+
+ // 草稿选择状态
+ const [draftSource, setDraftSource] = useState<'task' | 'own'>('task'); // 'task': 任务草稿, 'own': 自己的草稿
+ const [selectedMaterial, setSelectedMaterial] = useState<any>(null); // 选中的任务素材
+ const [draftModalOpen, setDraftModalOpen] = useState(false); // 自己草稿选择弹窗
const [requiredAccountTypes, setRequiredAccountTypes] = useState<string[]>([]);
// 获取待接受任务列表
@@ -530,6 +547,31 @@ export default function TaskPageCore() {
};
+ // 获取素材列表
+ const fetchMaterialList = async (groupId: string, page: number = 1, pageSize: number = 9) => {
+ try {
+ setMaterialLoading(true);
+ const response: any = await apiGetMaterialList(groupId, page, pageSize);
+ if (response && response.data && response.code === 0) {
+ setMaterialList(response.data.list || []);
+ setMaterialPagination({
+ current: page,
+ pageSize: pageSize,
+ total: response.data.total || 0
+ });
+ // 默认选中第一个素材
+ if (response.data.list && response.data.list.length > 0 && !selectedMaterial) {
+ setSelectedMaterial(response.data.list[0]);
+ }
+ }
+ } catch (error) {
+ console.error("获取素材列表失败:", error);
+ message.error("获取素材列表失败");
+ } finally {
+ setMaterialLoading(false);
+ }
+ };
+
// 查看任务详情
const handleViewTaskDetail = async (opportunityId: string) => {
try {
@@ -538,6 +580,25 @@ export default function TaskPageCore() {
if (response && response.data && response.code === 0) {
setTaskDetail(response.data);
setTaskDetailModalVisible(true);
+
+ // 重置草稿选择状态
+ setDraftSource('task');
+ setSelectedMaterial(null);
+
+ // 如果有 materialGroupId,获取素材列表
+ if (response.data.materialGroupId) {
+ fetchMaterialList(response.data.materialGroupId, 1, 9);
+ }
+
+ // 标记任务为已读
+ try {
+ await apiMarkTaskAsViewed(opportunityId);
+ // 刷新任务列表以更新未读状态
+ fetchPendingTasks(pendingPagination.current, pendingPagination.pageSize);
+ } catch (error) {
+ console.error("标记任务为已读失败:", error);
+ // 标记失败不影响主流程,不显示错误提示
+ }
} else {
message.error(t('messages.getTaskDetailFailed'));
}
@@ -574,6 +635,12 @@ export default function TaskPageCore() {
if (!task) return;
+ // 验证是否选择了素材
+ if (!selectedMaterial) {
+ message.error("请选择一个草稿素材");
+ return;
+ }
+
// 关闭详情弹窗
setTaskDetailModalVisible(false);
@@ -608,39 +675,29 @@ export default function TaskPageCore() {
// 第二步:发布任务
const publishAccount = account || getAccountById(task.accountId);
if (publishAccount) {
- // 处理素材链接,确保使用完整链接
- const processedMaterials = task.materials?.map((material: any) => ({
- ...material,
- coverUrl: material.coverUrl ? getOssUrl(material.coverUrl) : undefined,
- mediaList: material.mediaList?.map((media: any) => ({
- ...media,
- url: getOssUrl(media.url),
- coverUrl: media.coverUrl ? getOssUrl(media.coverUrl) : undefined
- }))
- }));
-
-
+ // 使用选中的素材
+ const material = selectedMaterial;
+
+ // 处理媒体内容
+ const videos = material.mediaList?.filter((m: any) => m.type === 'video') || [];
+ const images = material.mediaList?.filter((m: any) => m.type !== 'video') || [];
const publishData = {
flowId: publishAccount.uid, // 使用账号的uid作为flowId
accountType: publishAccount.type,
accountId: publishAccount.id,
- title: task.title,
- desc: task.description,
- type: task.type as any, // 转换为PubType
+ title: material.title || task.title,
+ desc: material.desc || task.description,
+ type: "article" as any, // 固定为 article 类型
// 处理素材数据
- videoUrl: processedMaterials?.[0]?.mediaList?.[0]?.type === 'video' ?
- getOssUrl(processedMaterials[0].mediaList[0].url) : undefined,
- coverUrl: processedMaterials?.[0]?.coverUrl,
- imgUrlList: processedMaterials?.flatMap((material: any) =>
- material.mediaList?.filter((media: any) => media.type !== 'video')
- .map((media: any) => getOssUrl(media.url)) || []
- ),
+ videoUrl: videos.length > 0 ? getOssUrl(videos[0].url) : undefined,
+ coverUrl: material.coverUrl ? getOssUrl(material.coverUrl) : undefined,
+ imgUrlList: images.map((img: any) => getOssUrl(img.url)),
option: {},
topics: [],
publishTime: getUtcDays(getDays().add(6, "minute")).format(),
userTaskId: response.data.id,
- taskMaterialId: task.materialIds[0]
+ taskMaterialId: material._id // 使用选中素材的ID
};
const publishResponse: any = await apiCreatePublish(publishData);
@@ -664,7 +721,7 @@ export default function TaskPageCore() {
// 第三步:提交任务
const userTaskId = response.data.id;
- const submitResponse: any = await submitTask(userTaskId, task.materialIds[0]);
+ const submitResponse: any = await submitTask(userTaskId, material._id);
if (submitResponse && submitResponse.code === 0) {
// 更新进度:第三步完成,开始第四步
@@ -924,8 +981,23 @@ export default function TaskPageCore() {
<Card
key={task.id}
className={styles.taskCard}
- style={{ marginBottom: 0 }}
+ style={{ marginBottom: 0, position: 'relative' }}
>
+ {/* 未读红点标识 */}
+ {!task.isView && (
+ <div style={{
+ position: 'absolute',
+ top: '8px',
+ right: '8px',
+ width: '8px',
+ height: '8px',
+ backgroundColor: '#ff4d4f',
+ borderRadius: '50%',
+ zIndex: 1,
+ boxShadow: '0 0 0 2px #fff'
+ }} />
+ )}
+
<div className={styles.taskHeader}>
<div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
{/* 显示多个平台图标 */}
@@ -955,10 +1027,15 @@ export default function TaskPageCore() {
<span><strong>{t('taskInfo.endTime' as any)}:</strong>{formatAbsoluteTime(task.expiredAt)}</span>
</div>
- <div style={{ marginBottom: '12px' }}>
+ {task.reward > 0 && <div style={{ marginBottom: '12px' }}>
<strong>{t('taskInfo.reward' as any)}:</strong>
<span style={{ color: '#f50', fontWeight: 'bold' }}>¥ {task.reward/100}</span>
- </div>
+ </div>}
+
+ {task.cpmReward > 0 && <div style={{ marginBottom: '12px' }}>
+ <strong>{t('taskInfo.CPM' as any)}:</strong>
+ <span style={{ color: '#f50', fontWeight: 'bold' }}>¥ {task.cpmReward/100}</span>
+ </div>}
{/* 发布账号信息 */}
@@ -1189,12 +1266,13 @@ export default function TaskPageCore() {
onCancel={() => {
setTaskDetailModalVisible(false);
setTaskDetail(null);
+ setMaterialList([]);
+ setSelectedMaterial(null);
+ setDraftSource('task');
}}
- footer={[
-
- ]}
- width={800}
- zIndex={2000}
+ footer={null}
+ width={1200}
+ zIndex={15}
styles={{
header: {
borderBottom: '1px solid #f0f0f0',
@@ -1208,293 +1286,318 @@ export default function TaskPageCore() {
<Spin spinning={taskDetailLoading}>
{taskDetail ? (
<div>
- {/* 视频发布风格布局 */}
+ {/* 任务基本信息 */}
<div style={{
- display: 'flex',
- gap: '24px',
- marginBottom: '24px'
+ marginBottom: '24px',
+ padding: '16px',
+ backgroundColor: '#f8f9fa',
+ borderRadius: '8px',
+ border: '1px solid #e9ecef'
}}>
- {/* 左侧:视频/媒体内容 */}
- <div style={{ flex: '0 0 400px' }}>
- {taskDetail.materials && taskDetail.materials.length > 0 && (
- <div style={{
- border: '1px solid #e8e8e8',
- borderRadius: '12px',
- overflow: 'hidden',
- backgroundColor: '#000'
- }}>
- {taskDetail.materials[0].mediaList && taskDetail.materials[0].mediaList.length > 0 && (
- <div style={{ position: 'relative', cursor: 'pointer' }}>
- {taskDetail.materials[0].mediaList[0].type === 'video' ? (
- <div
- style={{
- position: 'relative',
- overflow: 'hidden'
- }}
- onClick={() => handleVideoCoverClick(taskDetail.materials[0].mediaList[0], taskDetail.title)}
- >
- {/* 视频封面图片 */}
- <img
- src={taskDetail.materials[0].coverUrl ? getOssUrl(taskDetail.materials[0].coverUrl) : getOssUrl(taskDetail.materials[0].mediaList[0].url)}
- alt="video cover"
- style={{
- width: '100%',
- height: 'auto',
- display: 'block'
- }}
- />
- {/* 播放按钮 */}
- <div style={{
- position: 'absolute',
- top: '50%',
- left: '50%',
- transform: 'translate(-50%, -50%)',
- color: 'white',
- fontSize: '24px',
- background: 'rgba(0,0,0,0.7)',
- borderRadius: '50%',
- width: '60px',
- height: '60px',
- display: 'flex',
- alignItems: 'center',
- justifyContent: 'center',
- cursor: 'pointer',
- transition: 'all 0.3s ease'
- }}>
- ▶
- </div>
- </div>
- ) : (
- <img
- src={getOssUrl(taskDetail.materials[0].mediaList[0].url)}
- alt="media"
- style={{
- width: '100%',
- height: 'auto',
- display: 'block'
- }}
- onClick={() => handleMediaClick(taskDetail.materials[0].mediaList[0], taskDetail.title)}
- />
- )}
- </div>
- )}
- </div>
- )}
+ <h2 style={{
+ margin: '0 0 12px 0',
+ fontSize: '18px',
+ fontWeight: '600',
+ color: '#1a1a1a'
+ }}>
+ {taskDetail.title}
+ </h2>
+
+ <div style={{
+ fontSize: '14px',
+ lineHeight: '1.6',
+ color: '#495057',
+ marginBottom: '12px'
+ }}>
+ <div dangerouslySetInnerHTML={{ __html: taskDetail.description }} />
</div>
- {/* 右侧:标题和描述 */}
- <div style={{ flex: '1', minWidth: '300px' }}>
- {/* 标题区域 */}
- <div style={{ marginBottom: '16px' }}>
- <h2 style={{
- margin: '0 0 8px 0',
- fontSize: '20px',
- fontWeight: '600',
- lineHeight: '1.4',
- color: '#1a1a1a'
- }}>
- {taskDetail.title}
- </h2>
-
-
- {/* 发布账号信息 */}
- {taskDetail.accountId && (() => {
- const publishAccount = getAccountById(taskDetail.accountId);
- return publishAccount ? (
- <div style={{
- display: 'flex',
- alignItems: 'center',
- gap: '8px',
- marginBottom: '12px'
- }}>
- <img
- src={publishAccount.avatar ? getOssUrl(publishAccount.avatar) : '/default-avatar.png'}
- alt="账号头像"
- style={{
- width: '32px',
- height: '32px',
- borderRadius: '50%',
- objectFit: 'cover'
- }}
- onError={(e) => {
- e.currentTarget.src = '/default-avatar.png';
- }}
- />
- <div>
- <div style={{
- fontSize: '14px',
- fontWeight: '500',
- color: '#1a1a1a'
- }}>
- {publishAccount.nickname}
- </div>
- <div style={{
- fontSize: '12px',
- color: '#666'
- }}>
- {getPlatformName(publishAccount.type)}
- </div>
- </div>
- </div>
- ) : null;
- })()}
- </div>
-
- {/* 描述区域 */}
- <div style={{
- marginBottom: '16px',
- padding: '16px',
- backgroundColor: '#f8f9fa',
- borderRadius: '8px',
- border: '1px solid #e9ecef'
- }}>
- <div style={{
- fontSize: '14px',
- lineHeight: '1.6',
- color: '#495057'
- }}>
- <div dangerouslySetInnerHTML={{ __html: taskDetail.description }} />
- </div>
- </div>
-
- {/* 任务信息卡片 */}
- <div style={{
- display: 'flex',
- gap: '12px',
- marginBottom: '16px'
- }}>
- <div style={{
- flex: '1',
- padding: '12px',
- backgroundColor: '#fff3cd',
- border: '1px solid #ffeaa7',
- borderRadius: '8px',
- textAlign: 'center'
- }}>
+ {/* 任务信息卡片 */}
+ <Row gutter={12}>
+ {taskDetail.reward > 0 && (
+ <Col span={8}>
<div style={{
- fontSize: '12px',
- color: '#856404',
- marginBottom: '4px'
+ padding: '12px',
+ backgroundColor: '#fff3cd',
+ border: '1px solid #ffeaa7',
+ borderRadius: '8px',
+ textAlign: 'center'
}}>
- {t('taskInfo.reward' as any)}
+ <div style={{ fontSize: '12px', color: '#856404', marginBottom: '4px' }}>
+ {t('taskInfo.reward' as any)}
+ </div>
+ <div style={{ fontSize: '14px', fontWeight: 'bold', color: '#d63031' }}>
+ ¥ {taskDetail.reward/100}
+ </div>
</div>
+ </Col>
+ )}
+
+ {taskDetail.cpmReward > 0 && (
+ <Col span={8}>
<div style={{
- fontSize: '18px',
- fontWeight: 'bold',
- color: '#d63031'
+ padding: '12px',
+ backgroundColor: '#fff3cd',
+ border: '1px solid #ffeaa7',
+ borderRadius: '8px',
+ textAlign: 'center'
}}>
- ¥ {taskDetail.reward/100}
+ <div style={{ fontSize: '12px', color: '#856404', marginBottom: '4px' }}>
+ {t('taskInfo.CPM' as any)}
+ </div>
+ <div style={{ fontSize: '18px', fontWeight: 'bold', color: '#d63031' }}>
+ ¥ {taskDetail.cpmReward/100}
+ </div>
</div>
- </div>
-
+ </Col>
+ )}
+
+ <Col span={8}>
<div style={{
- flex: '1',
padding: '12px',
backgroundColor: '#d1ecf1',
border: '1px solid #bee5eb',
borderRadius: '8px',
textAlign: 'center'
}}>
- <div style={{
- fontSize: '12px',
- color: '#0c5460',
- marginBottom: '4px'
- }}>
+ <div style={{ fontSize: '12px', color: '#0c5460', marginBottom: '4px' }}>
{t('taskInfo.type' as any)}
</div>
- <div style={{
- fontSize: '14px',
- fontWeight: '500',
- color: '#0c5460'
- }}>
+ <div style={{ fontSize: '14px', fontWeight: '500', color: '#0c5460' }}>
{getTaskTypeName(taskDetail.type)}
</div>
</div>
+ </Col>
+ </Row>
+ </div>
+
+ {/* 草稿选择区域 */}
+ <div style={{ marginBottom: '24px' }}>
+ <div style={{
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'space-between',
+ marginBottom: '16px'
+ }}>
+ <div style={{ display: 'flex', alignItems: 'center', gap: '16px' }}>
+ <span style={{ fontSize: '16px', fontWeight: '600' }}>选择草稿:</span>
+ <Radio.Group
+ value={draftSource}
+ onChange={(e) => {
+ setDraftSource(e.target.value);
+ if (e.target.value === 'own') {
+ setDraftModalOpen(true);
+ }
+ }}
+ >
+ <Radio value="task">任务草稿</Radio>
+ <Radio value="own">我的草稿</Radio>
+ </Radio.Group>
</div>
+ {draftSource === 'own' && selectedMaterial && (
+ <Button
+ type="link"
+ onClick={() => setDraftModalOpen(true)}
+ >
+ 重新选择
+ </Button>
+ )}
+ </div>
- {/* 支持的平台类型 */}
- {taskDetail.accountTypes && taskDetail.accountTypes.length > 0 && (
- <div style={{
- display: 'flex',
- alignItems: 'center',
- gap: '8px',
- marginBottom: '12px'
- }}>
- <span style={{ fontSize: '14px', color: '#666' }}>支持平台:</span>
- <div style={{ display: 'flex', gap: '8px' }}>
- {taskDetail.accountTypes.map((platformType: string) => (
- <img
- key={platformType}
- src={getPlatformIcon(platformType)}
- alt={platformType}
- style={{ width: '25px', height: '25px' }}
- />
+ {/* 任务草稿列表 */}
+ {draftSource === 'task' && (
+ <Spin spinning={materialLoading}>
+ {materialList.length > 0 ? (
+ <>
+ <div style={{
+ display: 'grid',
+ gridTemplateColumns: 'repeat(3, 1fr)',
+ gap: '16px',
+ marginBottom: '16px'
+ }}>
+ {materialList.map((material: any) => (
+ <div
+ key={material._id}
+ onClick={() => setSelectedMaterial(material)}
+ style={{
+ border: selectedMaterial?._id === material._id ? '2px solid #1890ff' : '1px solid #e8e8e8',
+ borderRadius: '8px',
+ overflow: 'hidden',
+ cursor: 'pointer',
+ transition: 'all 0.3s ease',
+ backgroundColor: selectedMaterial?._id === material._id ? '#e6f7ff' : '#fff'
+ }}
+ >
+ {/* 素材封面 */}
+ <div style={{
+ position: 'relative',
+ paddingTop: '56.25%',
+ background: '#f0f0f0'
+ }}>
+ {material.coverUrl && (
+ <img
+ src={getOssUrl(material.coverUrl)}
+ alt={material.title}
+ style={{
+ position: 'absolute',
+ top: 0,
+ left: 0,
+ width: '100%',
+ height: '100%',
+ objectFit: 'cover'
+ }}
+ />
+ )}
+ {material.mediaList && material.mediaList[0]?.type === 'video' && (
+ <div style={{
+ position: 'absolute',
+ top: '50%',
+ left: '50%',
+ transform: 'translate(-50%, -50%)',
+ color: 'white',
+ fontSize: '32px',
+ textShadow: '0 2px 4px rgba(0,0,0,0.5)'
+ }}>
+ ▶
+ </div>
+ )}
+ {selectedMaterial?._id === material._id && (
+ <div style={{
+ position: 'absolute',
+ top: '8px',
+ right: '8px',
+ width: '24px',
+ height: '24px',
+ borderRadius: '50%',
+ backgroundColor: '#1890ff',
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
+ color: 'white',
+ fontSize: '14px'
+ }}>
+ ✓
+ </div>
+ )}
+ </div>
+
+ {/* 素材信息 */}
+ <div style={{ padding: '12px' }}>
+ <div style={{
+ fontSize: '14px',
+ fontWeight: '500',
+ marginBottom: '4px',
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
+ whiteSpace: 'nowrap'
+ }}>
+ {material.title || '无标题'}
+ </div>
+ <div style={{
+ fontSize: '12px',
+ color: '#999',
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
+ whiteSpace: 'nowrap'
+ }}>
+ {material.desc || '无描述'}
+ </div>
+ </div>
+ </div>
))}
</div>
- </div>
+
+ {/* 分页 */}
+ {materialPagination.total > materialPagination.pageSize && (
+ <div style={{ textAlign: 'center' }}>
+ <Pagination
+ current={materialPagination.current}
+ pageSize={materialPagination.pageSize}
+ total={materialPagination.total}
+ onChange={(page, pageSize) => {
+ if (taskDetail.materialGroupId) {
+ fetchMaterialList(taskDetail.materialGroupId, page, pageSize);
+ }
+ }}
+ showSizeChanger={false}
+ />
+ </div>
+ )}
+ </>
+ ) : (
+ <Empty description="暂无草稿素材" />
)}
- </div>
+ </Spin>
+ )}
+
+ {/* 我的草稿选择结果 */}
+ {draftSource === 'own' && selectedMaterial && (
+ <div style={{
+ border: '2px solid #1890ff',
+ borderRadius: '8px',
+ overflow: 'hidden',
+ backgroundColor: '#e6f7ff',
+ padding: '16px'
+ }}>
+ <div style={{ display: 'flex', gap: '16px' }}>
+ {selectedMaterial.coverUrl && (
+ <div style={{
+ width: '120px',
+ height: '120px',
+ borderRadius: '8px',
+ overflow: 'hidden',
+ flexShrink: 0
+ }}>
+ <img
+ src={getOssUrl(selectedMaterial.coverUrl)}
+ alt={selectedMaterial.title}
+ style={{
+ width: '100%',
+ height: '100%',
+ objectFit: 'cover'
+ }}
+ />
+ </div>
+ )}
+ <div style={{ flex: 1 }}>
+ <div style={{ fontSize: '16px', fontWeight: '600', marginBottom: '8px' }}>
+ {selectedMaterial.title || '无标题'}
+ </div>
+ <div style={{ fontSize: '14px', color: '#666' }}>
+ {selectedMaterial.desc || '无描述'}
+ </div>
+ </div>
+ </div>
+ </div>
+ )}
+
+ {draftSource === 'own' && !selectedMaterial && (
+ <Empty description="请选择一个草稿" />
+ )}
</div>
- {/* 底部状态栏 */}
- <div style={{
- display: 'flex',
- justifyContent: 'space-between',
- alignItems: 'center',
- padding: '16px 0',
- borderTop: '1px solid #e8e8e8',
- marginTop: '16px'
- }}>
- <div style={{ display: 'flex', alignItems: 'center', gap: '12px' }}>
- <Tag
- color={taskDetail.status === 'active' ? 'green' : 'red'}
- style={{
- fontSize: '12px',
- padding: '4px 8px'
- }}
- >
- {taskDetail.status === 'active' ? t('taskStatus.active' as any) : t('taskStatus.inactive' as any)}
- </Tag>
- <span style={{
- fontSize: '12px',
- color: '#666'
- }}>
- {taskDetail.status === 'active' ? t('messages.taskInProgress' as any) : t('messages.taskEnded' as any)}
- </span>
- </div>
-
+ {/* 底部按钮 */}
+ {taskDetail.status === 'active' && taskDetail.currentRecruits < taskDetail.maxRecruits && (
<div style={{
- fontSize: '12px',
- color: '#999'
+ textAlign: 'center',
+ paddingTop: '16px',
+ borderTop: '1px solid #e8e8e8'
}}>
- {taskDetail.currentRecruits && taskDetail.maxRecruits && (
- <span>
- {t('messages.acceptedCount' as any, { current: taskDetail.currentRecruits, max: taskDetail.maxRecruits })}
- </span>
+ <Button
+ type="primary"
+ size="large"
+ onClick={() => handleTaskAction(taskDetail)}
+ disabled={!selectedMaterial}
+ >
+ {t('acceptTask')}
+ </Button>
+ {!selectedMaterial && (
+ <div style={{ marginTop: '8px', color: '#ff4d4f', fontSize: '12px' }}>
+ 请先选择一个草稿素材
+ </div>
)}
</div>
- </div>
-
- {/* 根据任务状态显示不同按钮 */}
- {(() => {
- // 如果是待接受任务,显示接受任务按钮
- if (taskDetail.status === 'active' && taskDetail.currentRecruits < taskDetail.maxRecruits) {
- return (
- <div style={{ textAlign: 'center' }}>
- <Button
- type="primary"
- size="large"
- onClick={() => handleTaskAction(taskDetail)}
- style={{ marginTop: '12px' }}
- >
- {t('acceptTask')}
- </Button>
- </div>
- );
- }
-
- return null;
- })()}
+ )}
</div>
) : !taskDetailLoading && (
<div style={{ textAlign: 'center', color: '#999' }}>
@@ -1503,6 +1606,22 @@ export default function TaskPageCore() {
)}
</Spin>
</Modal>
+
+ {/* DraftSelectionModal 用于选择自己的草稿 */}
+ <DraftSelectionModal
+ draftModalOpen={draftModalOpen}
+ onCancel={() => {
+ setDraftModalOpen(false);
+ // 如果取消选择且当前选择的是自己的草稿,切换回任务草稿
+ if (draftSource === 'own' && !selectedMaterial) {
+ setDraftSource('task');
+ }
+ }}
+ onSelectDraft={(draft) => {
+ setSelectedMaterial(draft);
+ setDraftSource('own');
+ }}
+ />
{/* 已接受任务详情弹窗 */}
<Modal
diff --git a/project/web/src/app/i18n/locales/en/task.json b/project/web/src/app/i18n/locales/en/task.json
index 6b18c557..7b2506fc 100644
--- a/project/web/src/app/i18n/locales/en/task.json
+++ b/project/web/src/app/i18n/locales/en/task.json
@@ -48,6 +48,7 @@
"acceptTime": "Accept Time",
"submitTime": "Submit Time",
"reward": "Reward",
+ "CPM": "CPM",
"type": "Type",
"status": "Status",
"description": "Description",
diff --git a/project/web/src/app/i18n/locales/zh-CN/task.json b/project/web/src/app/i18n/locales/zh-CN/task.json
index aaeb60aa..c11cacff 100644
--- a/project/web/src/app/i18n/locales/zh-CN/task.json
+++ b/project/web/src/app/i18n/locales/zh-CN/task.json
@@ -48,6 +48,7 @@
"acceptTime": "接受时间",
"submitTime": "提交时间",
"reward": "奖励",
+ "CPM": "CPM",
"type": "类型",
"status": "状态",
"description": "描述",
diff --git a/project/web/src/app/layout/layoutNav.tsx b/project/web/src/app/layout/layoutNav.tsx
index 17dbd283..369b7241 100644
--- a/project/web/src/app/layout/layoutNav.tsx
+++ b/project/web/src/app/layout/layoutNav.tsx
@@ -10,17 +10,20 @@ import Link from "next/link";
import { MenuFoldOutlined, RightOutlined, UpOutlined } from "@ant-design/icons";
import Image from "next/image";
import React, { useEffect, useRef, useState } from "react";
-import { Drawer, Menu } from "antd";
+import { Drawer, Menu, Badge } from "antd";
import { useRouter, useSelectedLayoutSegments } from "next/navigation";
import { useTransClient } from "@/app/i18n/client";
import { useGetClientLng } from "@/hooks/useSystem";
+import { apiGetNotViewCount } from "@/api/task";
+import { useUserStore } from "@/store/user";
/**
*
* @param child
* @param iconLoca 0=上,1=右
+ * @param unreadCount 未读任务数量
*/
-function getNameTag(child: IRouterDataItem, iconLoca: number = 1) {
+function getNameTag(child: IRouterDataItem, iconLoca: number = 1, unreadCount?: number) {
const { t } = useTransClient("route");
const lng = useGetClientLng();
const path = child.path || "/";
@@ -28,15 +31,31 @@ function getNameTag(child: IRouterDataItem, iconLoca: number = 1) {
// 确保路径包含语言前缀
const fullPath = path.startsWith('/') ? `/${lng}${path}` : `/${lng}/${path}`;
+ // 判断是否是任务中心
+ const isTasksRoute = child.path === '/tasks';
+ const showBadge = isTasksRoute && unreadCount && unreadCount > 0;
+
return (
<>
{!child.children ? (
<Link href={fullPath} target={path[0] === "/" ? "_self" : "_blank"}>
- {t(child.translationKey as any)}
+ {showBadge ? (
+ <Badge count={unreadCount} offset={[10, 0]} style={{ backgroundColor: '#ff4d4f' }}>
+ <span>{t(child.translationKey as any)}</span>
+ </Badge>
+ ) : (
+ t(child.translationKey as any)
+ )}
</Link>
) : (
<span>
- {t(child.translationKey as any)}
+ {showBadge ? (
+ <Badge count={unreadCount} offset={[10, 0]} style={{ backgroundColor: '#ff4d4f' }}>
+ {/* <span>{t(child.translationKey as any)}</span> */}
+ </Badge>
+ ) : (
+ t(child.translationKey as any)
+ )}
{child.children &&
(iconLoca === 0 ? <UpOutlined /> : <RightOutlined />)}
</span>
@@ -48,16 +67,17 @@ function getNameTag(child: IRouterDataItem, iconLoca: number = 1) {
/**
* 递归级联
* @param child
+ * @param unreadCount 未读任务数量
*/
-function RecursionNav({ child }: { child: IRouterDataItem }) {
+function RecursionNav({ child, unreadCount }: { child: IRouterDataItem; unreadCount?: number }) {
return (
child.children && (
<ul className={styles["recursionNav"]}>
{child.children.map((v) => {
return (
<li key={v.name}>
- {getNameTag(v)}
- {v.children && <RecursionNav child={v} />}
+ {getNameTag(v, 1, unreadCount)}
+ {v.children && <RecursionNav child={v} unreadCount={unreadCount} />}
</li>
);
})}
@@ -87,13 +107,16 @@ function ParcelTag({
* 二级导航
* @param child
* @param visible
+ * @param unreadCount 未读任务数量
*/
function ChildNav({
child,
visible,
+ unreadCount,
}: {
child: IRouterDataItem;
visible: boolean;
+ unreadCount?: number;
}) {
const elRef = useRef<HTMLUListElement | null>(null);
const [height, setHeight] = useState("auto");
@@ -161,7 +184,7 @@ function ChildNav({
{v1.children && <RightOutlined />}
</ParcelTag>
</div>
- <RecursionNav child={v1} />
+ <RecursionNav child={v1} unreadCount={unreadCount} />
</li>
);
})}
@@ -172,9 +195,33 @@ function ChildNav({
function NavPC() {
const [activeNav, setActiveNav] = useState("");
+ const [unreadCount, setUnreadCount] = useState(0);
const timer = useRef<NodeJS.Timeout>();
const route = useSelectedLayoutSegments();
const { t } = useTransClient("route");
+ const token = useUserStore((state) => state.token);
+
+ // 获取未读任务数量
+ useEffect(() => {
+ const fetchUnreadCount = async () => {
+ if (!token) return;
+ try {
+ const response: any = await apiGetNotViewCount();
+ if (response) {
+ setUnreadCount(response.data || 0);
+ }
+ } catch (error) {
+ console.error("获取未读任务数量失败:", error);
+ }
+ };
+
+ fetchUnreadCount();
+
+ // 每30秒刷新一次未读数量
+ const interval = setInterval(fetchUnreadCount, 30000);
+
+ return () => clearInterval(interval);
+ }, [token]);
let currRouter = "/";
if (route.length === 1) {
@@ -205,11 +252,12 @@ function NavPC() {
}, 300);
}}
>
- {getNameTag(v1, 0)}
+ {getNameTag(v1, 0, unreadCount)}
<ChildNav
key={v1.name}
child={v1}
visible={activeNav === v1.name}
+ unreadCount={unreadCount}
/>
</li>
);
@@ -220,18 +268,54 @@ function NavPC() {
function NavPE() {
const [open, setOpen] = useState(false);
+ const [unreadCount, setUnreadCount] = useState(0);
const router = useRouter();
const { t } = useTransClient("route");
const lng = useGetClientLng();
+ const token = useUserStore((state) => state.token);
- const translatedMenuItems = routerData.map((item) => ({
- key: item.path || item.name,
- label: t(item.translationKey as any),
- children: item.children?.map((child) => ({
- key: child.path || child.name,
- label: t(child.translationKey as any),
- })),
- }));
+ // 获取未读任务数量
+ useEffect(() => {
+ const fetchUnreadCount = async () => {
+ if (!token) return;
+ try {
+ const response: any = await apiGetNotViewCount();
+ if (response && response.code === 0 && response.data) {
+ setUnreadCount(response.data || 0);
+ }
+ } catch (error) {
+ console.error("获取未读任务数量失败:", error);
+ }
+ };
+
+ // fetchUnreadCount();
+
+ // 每30秒刷新一次未读数量
+ const interval = setInterval(fetchUnreadCount, 50000);
+
+ return () => clearInterval(interval);
+ }, [token]);
+
+ const translatedMenuItems = routerData.map((item) => {
+ // 判断是否是任务中心,需要显示徽章
+ const isTasksRoute = item.path === '/tasks';
+ const showBadge = isTasksRoute && unreadCount > 0;
+
+ return {
+ key: item.path || item.name,
+ label: showBadge ? (
+ <Badge count={unreadCount} style={{ backgroundColor: '#ff4d4f' }}>
+ <span style={{ marginRight: '20px' }}>{t(item.translationKey as any)}</span>
+ </Badge>
+ ) : (
+ t(item.translationKey as any)
+ ),
+ children: item.children?.map((child) => ({
+ key: child.path || child.name,
+ label: t(child.translationKey as any),
+ })),
+ };
+ });
const handleMenuClick = (e: { key: string }) => {
// 确保使用当前语言前缀
diff --git a/project/web/src/components/PublishDialog/compoents/DraftSelectionModal/index.tsx b/project/web/src/components/PublishDialog/compoents/DraftSelectionModal/index.tsx
index e885258e..2493b7e1 100644
--- a/project/web/src/components/PublishDialog/compoents/DraftSelectionModal/index.tsx
+++ b/project/web/src/components/PublishDialog/compoents/DraftSelectionModal/index.tsx
@@ -22,12 +22,13 @@ export interface IDraftSelectionModalRef {}
export interface IDraftSelectionModalProps {
draftModalOpen: boolean;
onCancel: () => void;
+ onSelectDraft?: (draft: any) => void; // 新增:选择草稿后的回调函数
}
const DraftSelectionModal = memo(
forwardRef(
(
- { draftModalOpen, onCancel }: IDraftSelectionModalProps,
+ { draftModalOpen, onCancel, onSelectDraft }: IDraftSelectionModalProps,
ref: ForwardedRef<IDraftSelectionModalRef>,
) => {
const {
@@ -116,6 +117,15 @@ const DraftSelectionModal = memo(
// 选择草稿后填充参数
const applyDraft = useCallback(
(draft: any) => {
+ // 如果有自定义回调,优先使用自定义回调
+ if (onSelectDraft) {
+ onSelectDraft(draft);
+ onCancel();
+ message.success(t("draft.selectDraftSuccess"));
+ return;
+ }
+
+ // 否则使用默认的填充逻辑
const nextParams: any = {};
if (draft.title) nextParams.title = draft.title;
if (draft.desc) nextParams.des = draft.desc;
@@ -164,7 +174,7 @@ const DraftSelectionModal = memo(
onCancel();
message.success(t("draft.selectDraftSuccess"));
},
- [setAccountAllParams, setOnePubParams, step, expandedPubItem],
+ [setAccountAllParams, setOnePubParams, step, expandedPubItem, onSelectDraft, onCancel, t],
);
useEffect(() => {
@@ -192,6 +202,7 @@ const DraftSelectionModal = memo(
: t("draft.selectDraftGroup")
}
width={720}
+ zIndex={20}
>
{!selectedGroup ? (
<div>
diff --git a/project/web/src/hooks/useNotification.ts b/project/web/src/hooks/useNotification.ts
index 54487b41..df2fa09a 100644
--- a/project/web/src/hooks/useNotification.ts
+++ b/project/web/src/hooks/useNotification.ts
@@ -35,7 +35,7 @@ export const useNotification = () => {
// 每10秒获取一次未读数量
const interval = setInterval(() => {
fetchUnreadCount();
- }, 30000);
+ }, 60000);
return () => {
clearInterval(interval);
diff --git a/project/web/tsconfig.json b/project/web/tsconfig.json
index af055914..0901d550 100644
--- a/project/web/tsconfig.json
+++ b/project/web/tsconfig.json
@@ -1,26 +1,26 @@
{
"compilerOptions": {
+ "incremental": true,
"target": "ESNext",
+ "jsx": "preserve",
"lib": ["dom", "dom.iterable", "esnext"],
+ "module": "esnext",
+ "moduleResolution": "bundler",
+ "paths": {
+ "@/*": ["./src/*"]
+ },
+ "resolveJsonModule": true,
"allowJs": true,
- "skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "bundler",
- "resolveJsonModule": true,
"isolatedModules": true,
- "jsx": "preserve",
- "incremental": true,
+ "skipLibCheck": true,
"plugins": [
{
"name": "next"
}
- ],
- "paths": {
- "@/*": ["./src/*"]
- }
+ ]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]