Skip to content

Let's use AI to Earn!

feat: web v1.0.0

Nevin2211920e6220
diff --git a/aitoearn_web/server/aitoearn-account/.gitignore b/aitoearn_web/server/aitoearn-account/.gitignore
new file mode 100644
index 00000000..e09a8942
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/.gitignore
@@ -0,0 +1,58 @@
+# compiled output
+/dist
+/node_modules
+/build
+
+# Logs
+logs
+*.log
+npm-debug.log*
+pnpm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+lerna-debug.log*
+
+# OS
+.DS_Store
+
+# Tests
+/coverage
+/.nyc_output
+
+# IDEs and editors
+/.idea
+.project
+.classpath
+.c9/
+*.launch
+.settings/
+*.sublime-workspace
+
+# IDE - VSCode
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+
+# dotenv environment variable files
+.env
+.env.development.local
+.env.test.local
+.env.production.local
+.env.local
+*/**/local.config.js
+
+# temp directory
+.temp
+.tmp
+
+# Runtime data
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Diagnostic reports (https://nodejs.org/api/report.html)
+report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
+package-lock.json
diff --git a/aitoearn_web/server/aitoearn-account/.prettierrc b/aitoearn_web/server/aitoearn-account/.prettierrc
new file mode 100644
index 00000000..dcb72794
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/.prettierrc
@@ -0,0 +1,4 @@
+{
+ "singleQuote": true,
+ "trailingComma": "all"
+}
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-account/Dockerfile b/aitoearn_web/server/aitoearn-account/Dockerfile
new file mode 100644
index 00000000..5c6b3931
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/Dockerfile
@@ -0,0 +1,40 @@
+FROM node:lts AS base
+ARG APP_NAME
+WORKDIR /app
+ENV PNPM_HOME="/pnpm"
+ENV PATH="$PNPM_HOME:$PATH"
+
+RUN npm install -g pnpm @nestjs/cli
+
+FROM base AS build
+
+COPY package.json pnpm-*.yaml ./
+
+RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm i --frozen-lockfile;
+
+COPY nest-cli.json tsconfig.json ./
+COPY src ./src
+
+
+RUN nest build;
+
+FROM base AS prod-deps
+ARG APP_NAME
+
+COPY package.json pnpm-*.yaml ./
+
+RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm i --frozen-lockfile --prod;
+
+FROM node:lts-slim AS production
+ENV NODE_ENV=production
+WORKDIR /app
+
+COPY package.json ./
+
+COPY --from=prod-deps /app/node_modules/ node_modules
+
+COPY --from=build /app/dist/ dist
+
+RUN echo "require('./dist/main.js')" > index.js
+
+CMD node index.js -c config.js
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-account/README.md b/aitoearn_web/server/aitoearn-account/README.md
new file mode 100644
index 00000000..d30c9464
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/README.md
@@ -0,0 +1,98 @@
+<p align="center">
+ <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
+</p>
+
+[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
+[circleci-url]: https://circleci.com/gh/nestjs/nest
+
+ <p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
+ <p align="center">
+<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
+<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
+<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
+<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
+<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
+<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
+<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
+ <a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg" alt="Donate us"/></a>
+ <a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
+ <a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow" alt="Follow us on Twitter"></a>
+</p>
+ <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
+ [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->
+
+## Description
+
+[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
+
+## Project setup
+
+```bash
+$ pnpm install
+```
+
+## Compile and run the project
+
+```bash
+# development
+$ pnpm run start
+
+# watch mode
+$ pnpm run start:dev
+
+# production mode
+$ pnpm run start:prod
+```
+
+## Run tests
+
+```bash
+# unit tests
+$ pnpm run test
+
+# e2e tests
+$ pnpm run test:e2e
+
+# test coverage
+$ pnpm run test:cov
+```
+
+## Deployment
+
+When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the [deployment documentation](https://docs.nestjs.com/deployment) for more information.
+
+If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com), our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:
+
+```bash
+$ pnpm install -g @nestjs/mau
+$ mau deploy
+```
+
+With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.
+
+## Resources
+
+Check out a few resources that may come in handy when working with NestJS:
+
+- Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework.
+- For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy).
+- To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/).
+- Deploy your application to AWS with the help of [NestJS Mau](https://mau.nestjs.com) in just a few clicks.
+- Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com).
+- Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com).
+- To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs).
+- Looking for a job, or have a job to offer? Check out our official [Jobs board](https://jobs.nestjs.com).
+
+## Support
+
+Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
+
+## Stay in touch
+
+- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
+- Website - [https://nestjs.com](https://nestjs.com/)
+- Twitter - [@nestframework](https://twitter.com/nestframework)
+
+## License
+
+Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).
diff --git a/aitoearn_web/server/aitoearn-account/config/dev.config.js b/aitoearn_web/server/aitoearn-account/config/dev.config.js
new file mode 100644
index 00000000..673408ba
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/config/dev.config.js
@@ -0,0 +1,53 @@
+const { REDIS_HOST, REDIS_PORT, REDIS_PASSWORD } = process.env
+
+const { NATS_HOST, NATS_PORT, NATS_USERNAME, NATS_PASSWORD } = process.env
+
+const {
+ MONGODB_USERNAME,
+ MONGODB_PASSWORD,
+ CLOUDWATCH_ACCESS_KEY_ID,
+ CLOUDWATCH_SECRET_ACCESS_KEY
+} = process.env
+
+module.exports = {
+ port: 3001,
+ enableBadRequestDetails: true,
+ docs: {
+ enabled: true,
+ path: '/doc',
+ },
+ logger: {
+ console: {
+ enable: true,
+ level: 'debug',
+ },
+ cloudWatch: {
+ enable: true,
+ region: 'ap-southeast-1',
+ accessKeyId: CLOUDWATCH_ACCESS_KEY_ID,
+ secretAccessKey: CLOUDWATCH_SECRET_ACCESS_KEY,
+ group: 'aitoearn-apps',
+ prefix: 'dev',
+ },
+ },
+ redis: {
+ host: REDIS_HOST,
+ port: Number(REDIS_PORT),
+ password: REDIS_PASSWORD,
+ db: 1,
+ connectTimeout: 10000,
+ },
+ mongodb: {
+ uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@ai:27017/aitoearn?authSource=admin&directConnection=true`,
+ dbName: 'aitoearn',
+ },
+ nats: {
+ name: 'aitoearn-dev',
+ servers: [
+ `nats://${NATS_USERNAME}:${NATS_PASSWORD}@${NATS_HOST}:${NATS_PORT}`,
+ ],
+ user: NATS_USERNAME,
+ pass: NATS_PASSWORD,
+ prefix: 'dev',
+ },
+}
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-account/eslint.config.mjs b/aitoearn_web/server/aitoearn-account/eslint.config.mjs
new file mode 100644
index 00000000..575f865d
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/eslint.config.mjs
@@ -0,0 +1,20 @@
+import antfu from '@antfu/eslint-config'
+
+export default antfu({
+ formatters: true,
+ rules: {
+ 'no-void': ['off'],
+ 'dot-notation': ['off'],
+ 'new-cap': ['off'],
+ 'ts/no-unused-vars': ['warn', { ignoreRestSiblings: true, argsIgnorePattern: '^_' }],
+ 'ts/consistent-type-imports': ['off'],
+ 'ts/no-inferrable-types': ['error', { ignoreProperties: true }],
+ 'ts/no-require-imports': ['warn'],
+ 'ts/no-var-requires': ['warn'],
+ 'ts/no-explicit-any': ['warn'],
+ 'jsdoc/require-returns-description': ['off'],
+ 'node/prefer-global/buffer': ['off'],
+ 'node/prefer-global/process': ['off'],
+ 'no-console': ['error', { allow: [''] }],
+ },
+})
diff --git a/aitoearn_web/server/aitoearn-account/nest-cli.json b/aitoearn_web/server/aitoearn-account/nest-cli.json
new file mode 100644
index 00000000..f9aa683b
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/nest-cli.json
@@ -0,0 +1,8 @@
+{
+ "$schema": "https://json.schemastore.org/nest-cli",
+ "collection": "@nestjs/schematics",
+ "sourceRoot": "src",
+ "compilerOptions": {
+ "deleteOutDir": true
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/package.json b/aitoearn_web/server/aitoearn-account/package.json
new file mode 100644
index 00000000..89fa674b
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/package.json
@@ -0,0 +1,109 @@
+{
+ "name": "aitoearn-account",
+ "version": "0.0.1",
+ "private": true,
+ "description": "",
+ "author": "",
+ "license": "UNLICENSED",
+ "scripts": {
+ "prepare": "mkdir -p .git/hooks && echo \"echo '{\\\"*.ts\\\":[\\\"eslint --fix\\\"]}' | npx lint-staged -c -\" > .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit",
+ "build": "nest build",
+ "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
+ "start": "nest start",
+ "dev": "nest start --watch -- -c config/dev.config.js",
+ "dev:local": "nest start --watch -- -c config/local.config.js",
+ "debug": "nest start --debug --watch",
+ "prod": "node dist/main",
+ "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
+ "test": "jest",
+ "test:watch": "jest --watch",
+ "test:cov": "jest --coverage",
+ "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
+ "test:e2e": "jest --config ./test/jest-e2e.json"
+ },
+ "dependencies": {
+ "@alexlau811/pino-cloudwatch": "^0.10.0",
+ "@nestjs/common": "^11.0.1",
+ "@nestjs/core": "^11.0.1",
+ "@nestjs/event-emitter": "^3.0.1",
+ "@nestjs/microservices": "^11.1.2",
+ "@nestjs/mongoose": "^11.0.3",
+ "@nestjs/platform-express": "^11.0.1",
+ "@nestjs/swagger": "^11.2.0",
+ "axios": "^1.9.0",
+ "class-transformer": "^0.5.1",
+ "class-validator": "^0.14.2",
+ "commander": "^14.0.0",
+ "dayjs": "^1.11.13",
+ "fingerprint-generator": "^2.1.69",
+ "googleapis": "^150.0.1",
+ "header-generator": "^2.1.69",
+ "ioredis": "^5.6.1",
+ "lodash": "^4.17.21",
+ "mongodb": "^6.16.0",
+ "mongoose": "^8.15.0",
+ "nats": "^2.29.3",
+ "nest-typed-config": "^2.10.1",
+ "nestjs-asyncapi": "^1.4.0",
+ "nestjs-pino": "^4.4.0",
+ "pino": "^9.7.0",
+ "pino-http": "^10.5.0",
+ "pino-pretty": "^13.1.1",
+ "reflect-metadata": "^0.2.2",
+ "rxjs": "^7.8.1",
+ "zod": "^3.25.67"
+ },
+ "devDependencies": {
+ "@antfu/eslint-config": "^4.16.2",
+ "@nestjs/cli": "^11.0.0",
+ "@nestjs/schematics": "^11.0.0",
+ "@nestjs/testing": "^11.0.1",
+ "@types/express": "^5.0.0",
+ "@types/jest": "^29.5.14",
+ "@types/lodash": "^4.17.20",
+ "@types/node": "^22.10.7",
+ "@types/supertest": "^6.0.2",
+ "eslint": "^9.18.0",
+ "eslint-plugin-format": "^1.0.1",
+ "globals": "^16.0.0",
+ "jest": "^29.7.0",
+ "lint-staged": "^16.1.2",
+ "prettier": "^3.4.2",
+ "source-map-support": "^0.5.21",
+ "supertest": "^7.0.0",
+ "ts-jest": "^29.2.5",
+ "ts-loader": "^9.5.2",
+ "ts-node": "^10.9.2",
+ "tsconfig-paths": "^4.2.0",
+ "typescript": "^5.7.3"
+ },
+ "jest": {
+ "moduleFileExtensions": [
+ "js",
+ "json",
+ "ts"
+ ],
+ "rootDir": "src",
+ "testRegex": ".*\\.spec\\.ts$",
+ "transform": {
+ "^.+\\.(t|j)s$": "ts-jest"
+ },
+ "collectCoverageFrom": [
+ "**/*.(t|j)s"
+ ],
+ "coverageDirectory": "../coverage",
+ "testEnvironment": "node"
+ },
+ "pnpm": {
+ "onlyBuiltDependencies": [
+ "@nestjs/core",
+ "@scarf/scarf",
+ "@swc/core"
+ ]
+ },
+ "lint-staged": {
+ "*.{js,mjs,ts}": [
+ "eslint --fix"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-account/pnpm-lock.yaml b/aitoearn_web/server/aitoearn-account/pnpm-lock.yaml
new file mode 100644
index 00000000..11632213
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/pnpm-lock.yaml
@@ -0,0 +1,16527 @@
+lockfileVersion: '9.0'
+
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
+importers:
+
+ .:
+ dependencies:
+ '@alexlau811/pino-cloudwatch':
+ specifier: ^0.10.0
+ version: 0.10.0
+ '@nestjs/common':
+ specifier: ^11.0.1
+ '@nestjs/core':
+ specifier: ^11.0.1
+ '@nestjs/event-emitter':
+ specifier: ^3.0.1
+ '@nestjs/microservices':
+ specifier: ^11.1.2
+ '@nestjs/mongoose':
+ specifier: ^11.0.3
+ '@nestjs/platform-express':
+ specifier: ^11.0.1
+ '@nestjs/swagger':
+ specifier: ^11.2.0
+ axios:
+ specifier: ^1.9.0
+ version: 1.9.0
+ class-transformer:
+ specifier: ^0.5.1
+ version: 0.5.1
+ class-validator:
+ specifier: ^0.14.2
+ version: 0.14.2
+ commander:
+ specifier: ^14.0.0
+ version: 14.0.0
+ dayjs:
+ specifier: ^1.11.13
+ version: 1.11.13
+ fingerprint-generator:
+ specifier: ^2.1.69
+ version: 2.1.69
+ googleapis:
+ specifier: ^150.0.1
+ version: 150.0.1
+ header-generator:
+ specifier: ^2.1.69
+ version: 2.1.69
+ ioredis:
+ specifier: ^5.6.1
+ version: 5.6.1
+ lodash:
+ specifier: ^4.17.21
+ version: 4.17.21
+ mongodb:
+ specifier: ^6.16.0
+ version: 6.16.0([email protected])
+ mongoose:
+ specifier: ^8.15.0
+ version: 8.15.0([email protected])
+ nats:
+ specifier: ^2.29.3
+ version: 2.29.3
+ nest-typed-config:
+ specifier: ^2.10.1
+ nestjs-asyncapi:
+ specifier: ^1.4.0
+ nestjs-pino:
+ specifier: ^4.4.0
+ pino:
+ specifier: ^9.7.0
+ version: 9.7.0
+ pino-http:
+ specifier: ^10.5.0
+ version: 10.5.0
+ pino-pretty:
+ specifier: ^13.1.1
+ version: 13.1.1
+ reflect-metadata:
+ specifier: ^0.2.2
+ version: 0.2.2
+ rxjs:
+ specifier: ^7.8.1
+ version: 7.8.2
+ zod:
+ specifier: ^3.25.67
+ version: 3.25.71
+ devDependencies:
+ '@antfu/eslint-config':
+ specifier: ^4.16.2
+ '@nestjs/cli':
+ specifier: ^11.0.0
+ '@nestjs/schematics':
+ specifier: ^11.0.0
+ '@nestjs/testing':
+ specifier: ^11.0.1
+ '@types/express':
+ specifier: ^5.0.0
+ version: 5.0.2
+ '@types/jest':
+ specifier: ^29.5.14
+ version: 29.5.14
+ '@types/lodash':
+ specifier: ^4.17.20
+ version: 4.17.20
+ '@types/node':
+ specifier: ^22.10.7
+ version: 22.15.21
+ '@types/supertest':
+ specifier: ^6.0.2
+ version: 6.0.3
+ eslint:
+ specifier: ^9.18.0
+ version: 9.27.0
+ eslint-plugin-format:
+ specifier: ^1.0.1
+ version: 1.0.1([email protected])
+ globals:
+ specifier: ^16.0.0
+ version: 16.2.0
+ jest:
+ specifier: ^29.7.0
+ lint-staged:
+ specifier: ^16.1.2
+ version: 16.1.2
+ prettier:
+ specifier: ^3.4.2
+ version: 3.5.3
+ source-map-support:
+ specifier: ^0.5.21
+ version: 0.5.21
+ supertest:
+ specifier: ^7.0.0
+ version: 7.1.1
+ ts-jest:
+ specifier: ^29.2.5
+ ts-loader:
+ specifier: ^9.5.2
+ ts-node:
+ specifier: ^10.9.2
+ tsconfig-paths:
+ specifier: ^4.2.0
+ version: 4.2.0
+ typescript:
+ specifier: ^5.7.3
+ version: 5.8.3
+
+packages:
+
+ '@alexlau811/[email protected]':
+ resolution: {integrity: sha512-DEfsUbqtS6kLMh34Lm4hpWmvYYy03lVpjb+j5AydGvzV77HawZaF/87IhWfiYRyjKk6erYNGTAaEwzYZ77tssQ==}
+ engines: {node: '>=16'}
+ hasBin: true
+
+ '@ampproject/[email protected]':
+ resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
+ engines: {node: '>=6.0.0'}
+
+ '@angular-devkit/[email protected]':
+ resolution: {integrity: sha512-WFgiYhrDMq83UNaGRAneIM7CYYdBozD+yYA9BjoU8AgBLKtrvn6S8ZcjKAk5heoHtY/u8pEb0mwDTz9gxFmJZQ==}
+ engines: {node: ^18.19.1 || ^20.11.1 || >=22.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'}
+ peerDependencies:
+ chokidar: ^4.0.0
+ peerDependenciesMeta:
+ chokidar:
+ optional: true
+
+ '@angular-devkit/[email protected]':
+ resolution: {integrity: sha512-kcxUHKf5Hi98r4gAvMP3ntJV8wuQ3/i6wuU9RcMP0UKUt2Rer5Ryis3MPqT92jvVVwg6lhrLIhXsFuWJMiYjXQ==}
+ engines: {node: ^18.19.1 || ^20.11.1 || >=22.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'}
+ peerDependencies:
+ chokidar: ^4.0.0
+ peerDependenciesMeta:
+ chokidar:
+ optional: true
+
+ '@angular-devkit/[email protected]':
+ resolution: {integrity: sha512-RFnlyu4Ld8I4xvu/eqrhjbQ6kQTr27w79omMiTbQcQZvP3E6oUyZdBjobyih4Np+1VVQrbdEeNz76daP2iUDig==}
+ engines: {node: ^18.19.1 || ^20.11.1 || >=22.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'}
+ hasBin: true
+
+ '@angular-devkit/[email protected]':
+ resolution: {integrity: sha512-YTAxNnT++5eflx19OUHmOWu597/TbTel+QARiZCv1xQw99+X8DCKKOUXtqBRd53CAHlREDI33Rn/JLY3NYgMLQ==}
+ engines: {node: ^18.19.1 || ^20.11.1 || >=22.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'}
+
+ '@angular-devkit/[email protected]':
+ resolution: {integrity: sha512-QsmFuYdAyeCyg9WF/AJBhFXDUfCwmDFTEbsv5t5KPSP6slhk0GoLNZApniiFytU2siRlSxVNpve2uATyYuAYkQ==}
+ engines: {node: ^18.19.1 || ^20.11.1 || >=22.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'}
+
+ '@antfu/[email protected]':
+ resolution: {integrity: sha512-5KHZR+7ne+HZnOJUKeTTdHKYA/yOygPssaJ7TZOMoBqjSMtVAa7FO5Wvu2dEtkibM6v3emYyKnQnia1S8NHQeA==}
+ hasBin: true
+ peerDependencies:
+ '@eslint-react/eslint-plugin': ^1.38.4
+ '@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-react-hooks: ^5.2.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
+ '@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-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==}
+
+ '@apidevtools/[email protected]':
+ resolution: {integrity: sha512-r1w81DpR+KyRWd3f+rk6TNqMgedmAxZP5v5KWlXQWlgMUUtyEJch0DKEci1SorPMiSeM8XPl7MZ3miJ60JIpQg==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-7J7pzSw0/jF2bXy/Mf+80VKJfXRRfyLTJz413MkKLbLXbbz9rV4sVpYfp31ofqXgyZ9bhfmHJzunbi0Bt7Jcww==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-YMyr2S2heMrWHRyECknjHeejlZl5exUSv9nD1gTejAT13fSf0PqIRydZ9ZuoglCLBg55AeehypR2zLIBu/9kHQ==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-zmVdNaMPTDoUHnAIp33+dkGspEuLIi3BaaHFXY5lmL1XmaD9bU1rK/HLpNKhV32Os6Wp50CuskOwDsoRCeSGow==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-+6pQE9OlXue79AO0hMJwlzwH48vED/rPGU1NAQlDyuTvo8599JTd3zUPFDafExRn/arQltJPDE+Z5jtNBifXjw==}
+ engines: {node: '>12.16', npm: '>6.13.7'}
+ hasBin: true
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-gzUX9hv+zRz+zVZ6ccvWMVmSAa/AbI9xKnYcrIWT5CJototHsTg9Wx+Y0d/nWCZi6QE/lW6HSs77mbUbnn/nFg==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-o9fvibjx2n3L2SKNlWUQ59CxO2x2BKhbHxh81U39NMLgowN/avk1wfxkMvzL3G9pg4FlgCdcayDhu4+TzDX47A==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-7wz2yVDedJMS+TzOuqCvRWJMc6pNHICKZcOhnW6ZvyVLAh7hYIqQE1WA4OoXT4cKVbwSU3V2Q4bZagSsAIQd6Q==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-7sU9DajLV+vA2vShTYmD5lbtbTY6TOcGxB4Z4IcpRp8x5pejOsN32iU05eIYCnuamsi5SMscFxoi6fIO2vPK3Q==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-78jjN3eW4ZmgJEa6Ap15lofzADCeItO4wHcAY2Jod3qLB1xf1zFDZQdtm3VSHYLeLhwoC1A33bAtzEf7M5P2bg==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-Sxn74oHiZSU6+cVeZy62iPZMFMvKp4jupMFHelSICCMw1qELmUHPvuZSr+ZHDmNGgHcEpzJM5HN02kR7T4g+PQ==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-rfSHrsJm+W5I10KhQGx2VZTBObw0w5fsMCcZJVSCV1E9YhKDUQkeH+78QBzuLdHtfo9ut90Ykx02wslpZlcu1A==}
+ engines: {node: '>=18'}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-Fy9IwCXPpXoG4Mkm7sXgWucSwYg8POwdx16xuHAmV6AerpcM8nk5mT/tARLtR3wrMst3OBwReEVYzwT3esSb8g==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-zVktJkXEwDFAcI3gyN33QyC+e7l2g+yHt6vbht5xCMniH1PqkPvQczDUwEfY47lpHAJn7YYGMT4XpiipzIPtlw==}
+ peerDependencies:
+ react: '>=16.8.0'
+ react-dom: '>=16.8.0'
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-EfexhJu/lwF8OdQDm28NKLJHFkx0Gb6O+rcezhZYLPIoNYKXJMh2J1vFGpwmfAcTTh+ffK44Oc2Hs1Q4sLBp+A==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==}
+
+ '@asyncapi/[email protected]':
+ resolution: {integrity: sha512-czHoAk3PeXTLR+X8IUaD+IpT+g+zUvkcgMDJVothBsan+oHN3jfcFcFUNdOPAAFoUCQN1hXF1dWuphWy05THlA==}
+
+ '@aws-crypto/[email protected]':
+ resolution: {integrity: sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==}
+ engines: {node: '>=16.0.0'}
+
+ '@aws-crypto/[email protected]':
+ resolution: {integrity: sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==}
+
+ '@aws-crypto/[email protected]':
+ resolution: {integrity: sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==}
+ engines: {node: '>=16.0.0'}
+
+ '@aws-crypto/[email protected]':
+ resolution: {integrity: sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==}
+
+ '@aws-crypto/[email protected]':
+ resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-JwBT76jTRVOJLwxw6T9jxj/9jQH1yf1aaojilwtYUX1nudA2tbQWuDFJz26YnyoTIufPjyFg8cekmmmb6Jh7TA==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-iXuZQs4KH6a3Pwnt0uORalzAZ5EXRPr3lBYAsdNwkP8OYyoUz5/TE3BLyw7ceEh0rj4QKGNnNALYo1cDm0EV8w==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-iWm4QLAS+/XMlnecIU1Y33qbBr1Ju+pmWam3xVCPlY4CSptKpVY+2hXOnmg9SbHAX9C005fWhrIn51oDd00c9A==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-kZsGyh2BoSRguzlcGtzdLhw/l/n3KYAC+/l/H0SlsOq3RLHF6tO/cRdsLnwoix2bObChHUp03cex63o1gzdx/Q==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-GDnfYl3+NPJQ7WQQYOXEA489B212NinpcIDD7rpsB6IWUPo8yDjT5NceK4uUkIR3MFpNCGt9zd/z6NNLdB2fuQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-KsccE1T88ZDNhsABnqbQj014n5JMDilAroUErFbGqu5/B3sXqUsYmG54C/BjvGTRUFfzyttK9lB9P9h6ddQ8Cw==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-ZRDB2xU5aSyTR/jDcli30tlycu6RFvQngkZhBs9Zoh2BiYXrfh2MMuoYuZk+7uD6D53Q2RIEldDHR9A/TPlRuA==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-l5LJWZJMRaZ+LhDjtupFUKEC5hAjgvCRrOvV5T60NCUBOy0Ozxa7Sgx3x+EOwiruuoh3Cn9O+RlbQlJX6IfZIw==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-BwAqmWIivhox5YlFRjManFF8GoTvEySPk6vsJNxDsmGsabY+OQovYxFIYxRCYiHzH7SFjd4Lcd+riJOiXNsvRw==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-8iULWsH83iZDdUuiDsRb83M0NqIlXjlDbJUIddVsIrfWp4NmanKw77SV6yOZ66nuJjPsn9j7RDb9bfEPCy5SWA==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-ub+hXJAbAje94+Ya6c6eL7sYujoE8D4Bumu1NUI8TXjUhVVn0HzVWQjpRLshdLsUp1AW7XyeJaxyajRaJQ8+Xg==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-lSV8FvjpdllpGaRspywss4CtXV8M7NNNH+2/j86vMH+YCOZ6fu2T/TyFd/tHwZ92vDfHctWkRbQxg0bagqwovA==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-Gu7lGDyfddyhIkj1Z1JtrY5NHb5+x/CRiB87GjaSrKxkDaydtX2CU977JIABtt69l9wLbcGDIQ+W0uJ5xPof7g==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-pC3FT/sRZ6n5NyXiTVu9dpf1D9j3YbJz3XmeOOwJqO/Mib2PZyIQktvNMPgwaC5KMVB1zWqS5bmCwxpMOnq0UQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-ChdIj80T2whoWbovmO7o8ICmhEB2S9q4Jes9MBnKAPm69PexcJAK2dQC8yI4/iUP8b3+BHZoUPrYLWjBxIProQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-Qjnxd/yDv9KpIMWr90ZDPtRj0v75AqGC92Lm9+oHXZ8p1MjG5JE2CW0HL8JRgK9iKzgKBL7pPQRXI8FkvEVfrA==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-6P2wlvm9KBWOvRNn0Pt8RntnXg8fzOb5kEShvWsOsAocZeqKNaYbihum5/Onq1ZPoVtkdb++8eWDocDnM4k85Q==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-xliuHaUFZxEx1NSXeLLZ9Dyu6+EJVQKEoD+yM+zqUo3YDZ7medKJWY6fIOKiPX/N7XbLdBYwajb15Q7IL8KkeA==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-fY/NuFFCq/78liHvRyFKr+aqq1aA/uuVSANjzr5Ym8c+9Z3HRPE9OrExAHoMrZ6zC8tHerQwlsXYYH5XZ7H+ww==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-zVoRfpmBVPodYlnMjgVjfGoEZagyRF5IPn3Uo6ZvOZp24chnW/FRstH7ESDHDDRga4z3V+ElUQHKpFDXWyBW5A==}
+ engines: {node: '>=18.0.0'}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-JdyZM3EhhL4PqwFpttZu1afDpPJCCc3eyZOLi+srpX11LsGj6sThf47TYQN75HT1CarZ7cCdQHGzP2uy3/xHfQ==}
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-T1m05QlN8hFpx5/5duMjS8uFSK5e6EXP45HQRkZULVkL3DK+jMaxsnh3KLl5LjUoHn/19M4HM0wNUBhYp4Y2Yw==}
+ engines: {node: '>=18.0.0'}
+ peerDependencies:
+ aws-crt: '>=1.0.0'
+ peerDependenciesMeta:
+ aws-crt:
+ optional: true
+
+ '@aws-sdk/[email protected]':
+ resolution: {integrity: sha512-DIIotRnefVL6DiaHtO6/21DhJ4JZnnIwdNbpwiAhdt/AVbttcE4yw925gsjur0OGv5BTYXQXU3YnANBYnZjuQA==}
+ engines: {node: '>=18.0.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-TUtMJYRPyUb/9aU8f3K0mjmjf6M9N5Woshn2CS6nqJSeJtTtQcpLUXjGt9vbF8ZGff0El99sWkLgzwW3VXnxZQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-IaaGWsQqfsQWVLqMn9OB92MNN7zukfVA4s7KKAI0KfrrDsZ0yhi5uV4baBuLuN7n3vsZpwP8asPPcVwApxvjBQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-UnJfnIpc/+JO0/+KRVQNGU+y5taA5vCbwN8+azkX6beii/ZF+enZJSOKo11ZSzGJjlNfJHfQtmQT8H+9TXPG2w==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-lJjzvrbEeWrhB4P3QBsH7tey117PjLZnDbLiQEKjQ/fNJTjuq4HSqgFA+UNSwZT8D7dxxbnuSBMsa1lrWzKlQg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-QwGAmuvM17btKU5VqXfb+Giw4JcN0hjuufz3DYnpeVDvZLAObloM77bhMXiqry3Iio+Ai4phVRDwl6WU10+r5A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-uVDC72XVf8UbrH5qQTc18Agb8emwjTiZrQE11Nv3CuBEZmVvTwwE9CBUEvHku06gQCAyYf8Nv6ja1IN+6LMbxQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-9yHn519/8KvTU5BjTVEEeIM3w9/2yXNKoD82JifINImhpKkARMJKPP59kLo+BafpdN5zgNeIcS4jsGDmd3l58g==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-NFJK2sHUvrjo8wAU/nQTWU890/zB2jj0qBcCbZbbf+005cAsv6tMjXz31fBign6M5ov1o0Bllu+9nbqkfsjjJQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-FCvFTm0sWV8Fxhpp2McP5/W53GPllQ9QeQ7SiqGWjMf/LVG07lFa5+pgK05IRhVwtvafT22KF+ZSnM9I545CvQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-QYLs8299NA7WM/bZAdp+CviYYkVoYXlDW2rzliy3chxd1PQjej7JORuMJDJXJUb9g0TT+B99EwaVLKmX+sPXWw==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-QPG3C9cCVRQLxAVwmefEmwdTanECuUBMQZ/ym5kiw3XKCGA7qkuQLcjWWHcrD/GKbn/WmJwaezfuuAOcyKlRPA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1':
+ resolution: {integrity: sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.13.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-6BpaYGDavZqkI6yT+KSPdpZFfpnd68UKXbcjI9pJ13pvHhPrCKWOOLp+ysvMeA+DxnhuPpgIaRpxRxo5A9t5jw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2':
+ resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-gKKnwjpdx5sER/wl0WN0efUBFzF/56YZO0RJrSYP4CljXnP31ByY7fol89AzomdlLNzI36AvOTmYHsnZTCkq8Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-s734HmYU78MVzZ++joYM+NkJusItbdRcbm+AGRgJCt3iA+yux0QpD9cBVdz3tKyrjVYWRl7j0mHSmv4lhV0aoA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.12.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-IjM1IoJNw72AZFlj33Cu8X0q2XK/6AaVC3jQu+cgQ5lThWD5ajnuUAml80dqRmOhmPkTH8uAwnpMu9Rvj0LTRA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-v1nrSMBiKcodhsyJ4Gf+Z0U/yawmJDBOTpEB3mcQY52r9RIyPneGyAS/yM6seP/8I+mWI3elOMtT5dB8GJVs+A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-K8nhUcn3f6iB+P3gwCv/no7OdzOZQcKchW6N389V6PD8NUWKZHzndOd9sPDVbMoBsbmjMqlB4L9fm+fEFNVlwQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-uspvXnhHvGKf2r4VVtBpeFnuDWsJLQ6MF6lGJLC89jBR1uoVeqM416AZtTuhTezOfgHicpJQmoD5YUakO/YmXQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SJvDs5dXxiae4FbSL1aBJlG4wvl594N6YEVVn9e3JGulwioy6z3oPjx/sQBO3Y4NwUu5HNix6KJ3wBZoewcdbw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-w5N1XzsRbc0PQStASMksmUeqECuzKuTJer7kFagK8AXgpCMkeDMO5S+aaFb7A51ZYDF7XI34qsTX+fkHiIm5yA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-9VNGikXxzu5eCiQjdE4IZn8sb9q7Xsk5EXLDBKUYg1e/Tve8/05+KJEtcxGxAgCY5t/BpKQM+JEL/yT4tvgiUA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BQmKPPIuc8EkZgNKsv0X4bPmOoayeu4F1YCwx2/CfmDSXDbp7GnzlUH+/ul5VGfRg1AoFPsrIThlEBj2xb4CAg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-D6Eujc2zMxKjfa4Zxl4GHMsmhKKZ9VpcqIchJLvwTxad9zWIYulwYItBovpDOoNLISpcZSXoDJ5gaGbQUDqViA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ykDdF5yI4f1WrAolLqeF3hmYU12j9ntLQl/AOG1HAS21jxyg1Q0/J/tpREuYLfatGdGmXp/3yS0ZA76kOlVq9Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-2KH4LWGSrJIkVf5tSiBFYuXDAoWRq2MMwgivCf+93dd0GQi8RXLjKA/0EvRnVV5G0hrHczsquXuD01L8s6dmBw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-JfuinvDOsD9FVMTHpzA/pBLisxpv1aSf+OIV8lgH3MuWrks19R27e6a6DipIg4aX1Zm9Wpb04p8wljfKrVSnPA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-LOAozRVbqxEVjSKfhGnuLoE4Kz4Oc5UJzuvFUhSsQzdCdaAQu06mG8zDv2GFSerM62nImUZ7K92vxnQcLSDlCQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-VmaxeGOwuDqzLl5JUkIRM1X2Qu2uKGxHEQWh+cvvbl7JuJRgKGJSfsEF/bUaxFhJl/XAyxBe7q7qSuTbKFuCyg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oJHWh2gLhU9dW9HHr42q0cI0/iHHXTLGe39qvpAZZzagHy0MzYLCnCVV0symeRvzmjHyVU7mw2K06E6u/JwbhA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ZCYtZciz1IWJB4U61UPu4KEaqyfj+r5T1Q5mqPo+IBpcG9kHv30Z0aD8LXPgC1trYa6rK0orRyAhqUgk4MjmEg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-mGe7UK5wWyh0bKRfupsUchrQGqvDbZDbKJw+kcRGSmdHVYrv+ltd0pnpDTVpiTqnaBru9iEvA8pz8W46v0Amwg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-jYnje+JyZG5YThjHiF28oT4SIZLnYOcSBb6+SDaFIyzDVSkXQmQQYclJ2R+YxcdmK0AX6x1E5OQNtuh3jHDrUg==}
+ engines: {node: '>=6.9.0'}
+
+ resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
+
+ '@clack/[email protected]':
+ resolution: {integrity: sha512-p3y0FIOwaYRUPRcMO7+dlmLh8PSRcrjuTndsiA0WAFbWES0mLZlrjVoBRZ9DzkPFJZG6KGkJmoEAY0ZcVWTkow==}
+
+ '@clack/[email protected]':
+ resolution: {integrity: sha512-pMN5FcrEw9hUkZA4f+zLlzivQSeQf5dRGJjSUbvVYDLvpKCdQx5OaknvKzgbtXOizhP+SJJJjqEbOe55uKKfAw==}
+
+ '@colors/[email protected]':
+ resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==}
+ engines: {node: '>=0.1.90'}
+
+ '@cspotcode/[email protected]':
+ resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
+ engines: {node: '>=12'}
+
+ '@dprint/[email protected]':
+ resolution: {integrity: sha512-N9fxCxbaBOrDkteSOzaCqwWjso5iAe+WJPsHC021JfHNj2ThInPNEF13ORDKta3llq5D1TlclODCvOvipH7bWQ==}
+
+ '@dprint/[email protected]':
+ resolution: {integrity: sha512-ukHFOg+RpG284aPdIg7iPrCYmMs3Dqy43S1ejybnwlJoFiW02b+6Bbr5cfZKFRYNP3dKGM86BqHEnMzBOyLvvA==}
+
+ '@dprint/[email protected]':
+ resolution: {integrity: sha512-bZXIUjxr0LIuHWshZr/5mtUkOrnh0NKVZEF6ACojW5z7zkJu7s9sV2mMXm8XQDqN4cJzdHYUYzUyEGdfciaLJA==}
+
+ '@es-joy/[email protected]':
+ resolution: {integrity: sha512-YAdE/IJSpwbOTiaURNCKECdAwqrJuFiZhylmesBcIRawtYKnBR2wxPhoIewMg+Yu+QuYvHfJNReWpoxGBKOChA==}
+ engines: {node: '>=18'}
+
+ '@es-joy/[email protected]':
+ resolution: {integrity: sha512-BXuN7BII+8AyNtn57euU2Yxo9yA/KUDNzrpXyi3pfqKmBhhysR6ZWOebFh3vyPoqA3/j1SOvGgucElMGwlXing==}
+ engines: {node: '>=20.11.0'}
+
+ '@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-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-k8MHony59I5EPic6EQTCNOuPoVBnoYXkP+20xvwFjN7t0qI3ImyvyBgg+hIVPwC8JaxVjjUZld+cLfBLFDLucg==}
+ 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-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==}
+ 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-G5JD9Tu5HJEu4z2Uo4aHY2sLV64B7CDMXxFzqzjl3NKd6RVzSXNoE80jk7Y0lJkTTkjiIhBAqmlYwjuBY3tvpA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-IsWPy2jU3gaQDlioDC4sT4I4kG1hX1OMWs/q2sWwJrPoMASHW/Z4SDw+6Aql6EsHejGbagYuJbFq9Zvx+Y1b1Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@fmvilas/[email protected]':
+ resolution: {integrity: sha512-8OAB74W2a9M3k9bjYD8AjVXkX+qO8c0SqNT5HlgOqx7AxSw8xdksEcZp7gFtfi+4njSxT6+76ZR+1ubjAwQHOg==}
+
+ resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==}
+
+ '@humanfs/[email protected]':
+ resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
+ engines: {node: '>=18.18.0'}
+
+ '@humanfs/[email protected]':
+ resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==}
+ engines: {node: '>=18.18.0'}
+
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
+ engines: {node: '>=12.22'}
+
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==}
+ engines: {node: '>=18.18'}
+
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}
+ engines: {node: '>=18.18'}
+
+ '@iarna/[email protected]':
+ resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==}
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-d/QAsnwuHX2OPolxvYcgSj7A9DO9H6gVOy2DvBTx+P2LH2iRTo/RSGV3iwCzW024nP9hw98KIuDmdyhZQj1UQg==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-dpq+ielV9/bqgXRUbNH//KsY6WEw9DrGPmipkpmgC1Y46cwuBTNx7PXFWTjc3MQ+urcc0QxoVHcMI0FW4Ok0hg==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-1viSxebkYN2nJULlzCxES6G9/stgHSepZ9LqqfdIGPHj5OHhiBUXVS0a6R0bEC2A+VL4D9w6QB66ebCr6HGllA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-WbicD9SUQt/K8O5Vyk9iC2ojq5RHoCLK6itpp2fHsWe44VxxcA9z3GTWlvjSTGmMQpZr+lbVmrxdHcumJoLbMA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-4Y+pbr/U9Qcvf+N/goHzPEXiHH8680lM3Dr3Y9h9FFw4gHS+zVpbj8LfbKWIb/jayIB4aSO4pWiBTrBYWkvi5A==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-MJttijd8rMFcKJC8NYmprWr6hD3r9Gd9qUC0XwPNwoEPWSMVJwA2MlXxF+nhZZNMY+HXsWa+o7KY2emWYIn0jQ==}
+ engines: {node: '>=18'}
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-xJ6PFZpDjC+tC1P8ImGprgcsrzQRsUh9aH3IZixm1lAZFK49UGHxM3ltFfuInN2kPYNfyoPRh+tU4ftsjPLKqQ==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-xWg+iYfqdhRiM55MvqiTCleHzszpoigUpN5+t1OMcRkJrUrw7va3AzXaxvS+Ak7Gny0j2mFSTv2JJj8sMtbV2g==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-75CT2p43DGEnfGTaqFpbDC2p2EEMrq0S+IRrf9iJvYreMy5mAWj087+mdKyLHapUEPLjN10mNvABpGbk8Wdraw==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-G1ytyOoHh5BphmEBxSwALin3n1KGNYB6yImbICcRQdzXfOGbuJ9Jske/Of5Sebk339NSGGNfUshnzK8YWkTPsQ==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-UlmM5FVOZF0gpoe1PT/jN4vk8JmpIWBlMvTL8M+hlvPmzN89K6z03+IFmyeu/oFCenwdwHDr2gky7nIGSEVvlA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-7XrV//6kwYumNDSsvJIPeAqa8+p7GJh7H5kRuxirct2cgOcSWwwNGoXDRgpNFbY/MG2vQ4ccIWCi8+IXXyFMZA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-YBMwPxYBrADqyvP4nNItpwkBnGGglAvCLVW8u4pRmmvOsHUtCAUIMbUrLX5B3tFL1/WsLGdQ2HNzkqswMs5Uaw==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-OAGhXU0Cvh0PhLz9xTF/kx6g6x+sP+PcyTiLvCrewI99P3BBeexD+VbuwkNDvqGkk3y2h5ZiWLeRP7BFlhkUDg==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@inquirer/[email protected]':
+ resolution: {integrity: sha512-PfunHQcjwnju84L+ycmcMKB/pTPIngjUJvfnRhKY6FKPuYXlM4aQCb/nIdTFR6BEhMjFvngzvng/vBAJMZpLSA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@types/node': '>=18'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@ioredis/[email protected]':
+ resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==}
+
+ '@isaacs/[email protected]':
+ resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
+ engines: {node: '>=12'}
+
+ '@isaacs/[email protected]':
+ resolution: {integrity: sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ==}
+
+ '@istanbuljs/[email protected]':
+ resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==}
+ engines: {node: '>=8'}
+
+ '@istanbuljs/[email protected]':
+ resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ peerDependencies:
+ node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
+ peerDependenciesMeta:
+ node-notifier:
+ optional: true
+
+ resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ peerDependencies:
+ node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
+ peerDependenciesMeta:
+ node-notifier:
+ optional: true
+
+ resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==}
+ engines: {node: '>=6.0.0'}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
+ engines: {node: '>=6.0.0'}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==}
+ engines: {node: '>=6.0.0'}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}
+
+ '@jsdevtools/[email protected]':
+ resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==}
+
+ '@jsep-plugin/[email protected]':
+ resolution: {integrity: sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==}
+ engines: {node: '>= 10.16.0'}
+ peerDependencies:
+ jsep: ^0.4.0||^1.0.0
+
+ '@jsep-plugin/[email protected]':
+ resolution: {integrity: sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==}
+ engines: {node: '>= 10.16.0'}
+ peerDependencies:
+ jsep: ^0.4.0||^1.0.0
+
+ '@jsep-plugin/[email protected]':
+ resolution: {integrity: sha512-ck5wiqIbqdMX6WRQztBL7ASDty9YLgJ3sSAK5ZpBzXeySvFGCzIvM6UiAI4hTZ22fEcYQVV/zhUbNscggW+Ukg==}
+ engines: {node: '>= 10.16.0'}
+ peerDependencies:
+ jsep: ^0.4.0||^1.0.0
+
+ '@juggle/[email protected]':
+ resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==}
+
+ '@kwsites/[email protected]':
+ resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==}
+
+ '@kwsites/[email protected]':
+ resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==}
+
+ '@lukeed/[email protected]':
+ resolution: {integrity: sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==}
+ engines: {node: '>=8'}
+
+ '@microsoft/[email protected]':
+ resolution: {integrity: sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==}
+
+ '@mongodb-js/[email protected]':
+ resolution: {integrity: sha512-EB0O3SCSNRUFk66iRCpI+cXzIjdswfCs7F6nOC3RAGJ7xr5YhaicvsRwJ9eyzYvYRlCSDUO/c7g4yNulxKC1WA==}
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-5qpvOu5IGwDo7MEKVqqyAxF90I6aLj4n07OzpARdgDRfz8UbBztTByBp0RC59r3J1Ij8uzYi6jI7r5Lws7nn6w==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [android]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-GqvXL0P8fZ+mQqG1g0o4AO9hJjQaeYG84FRfZaYjyJtZZZcMjXW5TwkL8Y8UApheJgyE13TQ4YNUssQaTgTyvA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [android]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-91k3HEqUl2fsrz/sKkuEkscj6EAj3/eZNCLqzD2AA0TtVbkQi8nqxZCZDMkfklULmxLkMxuUdKe7RvG/T6s2AA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-jXnMleYSIR/+TAN/p5u+NkCA7yidgswx5ftqzXdD5wgy/hNR92oerTXHc0jrlBisbd7DpzoaGY4cFD7Sm5GlgQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-j+iJ/ezONXRQsVIB/FJfwjeQXX7A2tf3gEXs4WUGFrJjpe/z2KB7sOv6zpkm08PofF36C9S7wTNuzHZ/Iiccfw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-G8RgJ8FYXYkkSGQwywAUh84m946UTn6l03/vmEXBYNJxQJcD+I3B3k5jmjFG/OPiU8DfvxutOP8bi+F89MCV7Q==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [linux]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-IMDak59/W5JSab1oZvmNbrms3mHqcreaCeClUjwlwDr0m3BoR09ZiN8cKFBzuSlXgRdZ4PNqCYNeGQv7YMTjuA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-wG8fa2VKuWM4CfjOjjRX9YLIbysSVV1S3Kgm2Fnc67ap/soHBeYZa6AGMeR5BJAylYRjnoVOzV19Cmkco3QEPw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-lxQ9WrBf0IlNTCA9oS2jg/iAjQyTI6JHzABV664LLrLA/SIdD+I1i3Mjf7TsnoUbgopBcCuDztVLfJ0q9ubf6Q==}
+ engines: {node: '>= 10'}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-3xs69dO8WSWBb13KBVex+yvxmUeEsdWexxibqskzoKaWx9AIqkMbWmE2npkazJoopPKX2ULKd8Fm9veEn0g4Ig==}
+ engines: {node: '>= 10'}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-lMFI3i9rlW7hgToyAzTaEybQYGbQHDrpRkg+1gJWEpH0PLAQoZ8jiY0IzakLfNWnVda1eTYYlxxFYzW8Rqczkg==}
+ engines: {node: '>= 10'}
+ cpu: [s390x]
+ os: [linux]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-XQAJs7DRN2GpLN6Fb+ZdGFeYZDdGl2Fn3TmFlqEL5JorgWKrQGRUrpGKbgZ25UeZPILuTKJ+OowG2avN8mThBA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-/rodHpRSgiI9o1faq9SZOp/o2QkKQg7T+DK0R5AkbnI/YxvAIEHf2cngjYzLMQSQgUhxym+LFr+UGZx4vK4QdQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-rEcz9vZymaCB3OqEXoHnp9YViLct8ugF+6uO5McifTedjq4QMQs3DHz35xBEGhH3gJWEsXMUbzazkz5KNM5YUg==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-t7eBAyPUrWL8su3gDxw9xxxqNwZzAqKo0Szv3IjVQd1GpXXVkb6vBBQUuxfIYaXMzZLwlxRQ7uzM2vdUE9ULGw==}
+ engines: {node: '>= 10'}
+ cpu: [ia32]
+ os: [win32]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-JlF+uDcatt3St2ntBG8H02F1mM45i5SF9W+bIKiReVE6wiy3o16oBP/yxt+RZ+N6LbCImJXJ6bXNO2kn9AXicg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-zM0mVWSXE0a0h9aKACLwKmD6nHcRiKrPpCfvaKqG1CqDEyjEawId0ocXxVzPMCAm6kkWr2P025msfxXEnt8UGQ==}
+ engines: {node: '>= 10'}
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-1cB+Jyltu/uUPNQrpUimRHEQHrnQrpLzVj6dU3dgn6iDDDdahr10TgHFGTmw5VuJ9GzKZsCLDL78VSwJAs/9JQ==}
+ peerDependencies:
+ '@nestjs/common': ^10.0.0 || ^11.0.0
+ axios: ^1.3.1
+ rxjs: ^7.0.0
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-svrP8j1R0/lQVJ8ZI3BlDtuZxmkvVJokUJSB04sr6uibunk2wHeVDDVLZvYBUorCdGU/RHJl1IufhqUBM91vAQ==}
+ engines: {node: '>= 20.11'}
+ hasBin: true
+ peerDependencies:
+ '@swc/cli': ^0.1.62 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0
+ '@swc/core': ^1.3.62
+ peerDependenciesMeta:
+ '@swc/cli':
+ optional: true
+ '@swc/core':
+ optional: true
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-cHh4OPH44PjaHM93D1jgE1HO/B7XTZVRDxy/cPuGgyMEA4p2zXO+qqcOgTMC5FYcp7dX9jLeCjXAU0ToFAnODw==}
+ peerDependencies:
+ class-transformer: '>=0.4.1'
+ class-validator: '>=0.13.2'
+ reflect-metadata: ^0.1.12 || ^0.2.0
+ rxjs: ^7.1.0
+ peerDependenciesMeta:
+ class-transformer:
+ optional: true
+ class-validator:
+ optional: true
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-QRuyxwu0BjNfmmmunsw1ylX7RSyfDQHt+xD+tKncdtgiMOOzAu+LA1gB4WoZnw4frQkk+qZbhEbM61cIjOxD3w==}
+ engines: {node: '>= 20'}
+ peerDependencies:
+ '@nestjs/common': ^11.0.0
+ '@nestjs/microservices': ^11.0.0
+ '@nestjs/platform-express': ^11.0.0
+ '@nestjs/websockets': ^11.0.0
+ reflect-metadata: ^0.1.12 || ^0.2.0
+ rxjs: ^7.1.0
+ peerDependenciesMeta:
+ '@nestjs/microservices':
+ optional: true
+ '@nestjs/platform-express':
+ optional: true
+ '@nestjs/websockets':
+ optional: true
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-0Ln/x+7xkU6AJFOcQI9tIhUMXVF7D5itiaQGOyJbXtlAfAIt8gzDdJm+Im7cFzKoWkiW5nCXCPh6GSvdQd/3Dw==}
+ peerDependencies:
+ '@nestjs/common': ^10.0.0 || ^11.0.0
+ '@nestjs/core': ^10.0.0 || ^11.0.0
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-W+n+rM69XsFdwORF11UqJahn4J3xi4g/ZEOlJNL6KoW5ygWSmBB2p0S2BZ4FQeS/NDH72e6xIcu35SfJnE8bXw==}
+ peerDependencies:
+ '@nestjs/common': ^10.0.0 || ^11.0.0
+ class-transformer: ^0.4.0 || ^0.5.0
+ class-validator: ^0.13.0 || ^0.14.0
+ reflect-metadata: ^0.1.12 || ^0.2.0
+ peerDependenciesMeta:
+ class-transformer:
+ optional: true
+ class-validator:
+ optional: true
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-1mhbTZ0rP/QogXN9vGTncmbAFdohfmLOFbxIJZB7QRUUAMoRD3yc7ZqkHPKADz6g6Kgn5B8gzKPkhslwU+gOjw==}
+ peerDependencies:
+ '@grpc/grpc-js': '*'
+ '@nestjs/common': ^11.0.0
+ '@nestjs/core': ^11.0.0
+ '@nestjs/websockets': ^11.0.0
+ amqp-connection-manager: '*'
+ amqplib: '*'
+ cache-manager: '*'
+ ioredis: '*'
+ kafkajs: '*'
+ mqtt: '*'
+ nats: '*'
+ reflect-metadata: ^0.1.12 || ^0.2.0
+ rxjs: ^7.1.0
+ peerDependenciesMeta:
+ '@grpc/grpc-js':
+ optional: true
+ '@nestjs/websockets':
+ optional: true
+ amqp-connection-manager:
+ optional: true
+ amqplib:
+ optional: true
+ cache-manager:
+ optional: true
+ ioredis:
+ optional: true
+ kafkajs:
+ optional: true
+ mqtt:
+ optional: true
+ nats:
+ optional: true
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-tg7bbKD4MnNMPaiDLXK/JUyTNQxIn3rNnI+oYU1HorLpNiR2E8vPraWVvfptpIj+zferpT6LkrHMvtqvuIKNPw==}
+ peerDependencies:
+ '@nestjs/common': ^10.0.0 || ^11.0.0
+ '@nestjs/core': ^10.0.0 || ^11.0.0
+ mongoose: ^7.0.0 || ^8.0.0
+ rxjs: ^7.0.0
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-GlNwOT4htRp8RpZ+TpqGtSHwGKw/abdxxBRse40XE2SWs5ikaoujr9Yd+5sJWDNXB4QTftwb+FplXhyk1Ra+4A==}
+ peerDependencies:
+ '@nestjs/common': ^11.0.0
+ '@nestjs/core': ^11.0.0
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-T50SCNyqCZ/fDssaOD7meBKLZ87ebRLaJqZTJPvJKjlib1VYhMOCwXYsr7bjMPmuPgiQHOwvppz77xN/m6GM7A==}
+ peerDependencies:
+ typescript: '>=4.8.2'
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-5wolt8GmpNcrQv34tIPUtPoV1EeFbCetm40Ij3+M0FNNnf2RJ3FyWfuQvI8SBlcJyfaounYVTKzKHreFXsUyOg==}
+ peerDependencies:
+ '@fastify/static': ^8.0.0
+ '@nestjs/common': ^11.0.1
+ '@nestjs/core': ^11.0.1
+ class-transformer: '*'
+ class-validator: '*'
+ reflect-metadata: ^0.1.12 || ^0.2.0
+ peerDependenciesMeta:
+ '@fastify/static':
+ optional: true
+ class-transformer:
+ optional: true
+ class-validator:
+ optional: true
+
+ '@nestjs/[email protected]':
+ resolution: {integrity: sha512-BQxVKUVW6gzEbbHAvmg5RgcP3s++pRgTCmsgaDF/DtcLRUeKi8SjAdqzLm14xbkMeibxOf3fNqM2iwqUKj8ffw==}
+ peerDependencies:
+ '@nestjs/common': ^11.0.0
+ '@nestjs/core': ^11.0.0
+ '@nestjs/microservices': ^11.0.0
+ '@nestjs/platform-express': ^11.0.0
+ peerDependenciesMeta:
+ '@nestjs/microservices':
+ optional: true
+ '@nestjs/platform-express':
+ optional: true
+
+ '@noble/[email protected]':
+ resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}
+ engines: {node: ^14.21.3 || >=16}
+
+ '@nodelib/[email protected]':
+ resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
+ engines: {node: '>= 8'}
+
+ '@nodelib/[email protected]':
+ resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
+ engines: {node: '>= 8'}
+
+ '@nodelib/[email protected]':
+ resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
+ engines: {node: '>= 8'}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-CLnD+zXG9oijEEzViimz8fbOoFVb7hoypiaf7p6giJhvYtrxLAyY3cZAMPIFQvsG731+02eMDp3LqVBNo7BaZA==}
+ engines: {node: '>= 10'}
+ hasBin: true
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==}
+ engines: {node: '>= 10'}
+ hasBin: true
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-wVR8QxhyXsFcD/cORtJwGQodeeaDf0OxcHie8ema4VgFeqwYkFsDPnSrIRSytX8xR6nKPAH89WnwTcaU608b/Q==}
+ engines: {node: '>=10'}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-9xe+ZZ1iGVaUovBVFI9h3qW+UuECUzhvZPxK9RaEA2mjU26o5D0JloGYWwLYvQELJNmBdQB6rrpuN8jni6LwzQ==}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==}
+ engines: {node: '>=10'}
+ deprecated: This functionality has been moved to @npmcli/fs
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA==}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-y6jnu76E9C23osz8gEMBayZmaZ69vFOIk8vR1FJL/wbEJ54+9aVG9rLTjQKSXfgYZEr50nw1txBBFfBZZe+bYg==}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==}
+
+ '@npmcli/[email protected]':
+ resolution: {integrity: sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==}
+
+ resolution: {integrity: sha512-GXD3wy50qYbxCJ652bDrDzgMr3NFEkIS374+IgFQKkCvk9yiYcLvX2XDYr7UyQxf4wK0e+yqDYRubZ0DtOxnmQ==}
+ engines: {node: ^14.18.0 || >=16.10.0, npm: '>=5.10.0'}
+ hasBin: true
+
+ '@openapi-contrib/[email protected]':
+ resolution: {integrity: sha512-Gj6C0JwCr8arj0sYuslWXUBSP/KnUlEGnPW4qxlXvAl543oaNQgMgIgkQUA6vs5BCCvwTEiL8m/wdWzfl4UvSw==}
+
+ '@paralleldrive/[email protected]':
+ resolution: {integrity: sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA==}
+
+ resolution: {integrity: sha512-fdDH1LSGfZdTH2sxdpVMw31BanV28K/Gry0cVFxaNP77neJSkd82mM8ErPNYs9e+0O7SdHBLTDzDgwUuy18RnQ==}
+ engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==}
+ engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==}
+
+ '@protobufjs/[email protected]':
+ resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==}
+ engines: {node: '>= 10.0.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+ '@types/babel__core': ^7.1.9
+ rollup: ^1.20.0||^2.0.0
+ peerDependenciesMeta:
+ '@types/babel__core':
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==}
+ engines: {node: '>= 8.0.0'}
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0
+
+ '@scarf/[email protected]':
+ resolution: {integrity: sha512-xxeapPiUXdZAE3che6f3xogoJPeZgig6omHEy1rIY5WVsB3H2BHNnZH+gHG6x91SCWyQCzWGsuL2Hh3ClO5/qQ==}
+
+ '@sec-ant/[email protected]':
+ resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}
+
+ '@sinclair/[email protected]':
+ resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
+
+ '@sindresorhus/[email protected]':
+ resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==}
+ engines: {node: '>=10'}
+
+ '@sindresorhus/[email protected]':
+ resolution: {integrity: sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==}
+ engines: {node: '>=14.16'}
+
+ '@sinonjs/[email protected]':
+ resolution: {integrity: sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==}
+
+ '@sinonjs/[email protected]':
+ resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-gJnEjZMvigPDQWHrW3oPrFhQtkrgqBkyjj3pCIdF3A5M6vsZODG93KNlfJprv6bp4245bdT32fsHK4kkH3KYDA==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-prmU+rDddxHOH0oNcwemL+SwnzcG65sBF2yXRO7aeXIn/xTlq2pX7JLVbkBnVLowHLg4/OL4+jBmv9hVrVGS+w==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-JoLw59sT5Bm8SAjFCYZyuCGxK8y3vovmoVbZWLDPTH5XpPEIwpFd9m90jjVMwoypDuB/SdVgje5Y4T7w50lJaw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-hKMWcANhUiNbCJouYkZ9V3+/Qf9pteR1dnwgdyzR09R4ODEYx8BbUysHwRSyex4rZ9zapddZhLFTnT4ZijR4pw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-7XoWfZqWb/QoR/rAU4VSi0mWnO2vu9/ltS6JZ5ZSZv0eovLVfDfu0/AX4ub33RsJTOth3TiFWSHS5YdztvFnig==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-3fb/9SYaYqbpy/z/H3yIi0bYKyAa89y6xPmIqwr2vQiUT2St+avRt8UKwsWt9fEdEasc5d/V+QjrviRaX1JRFA==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-JGtambizrWP50xHgbzZI04IWU7LdI0nh/wGbqH3sJesYToMi2j/DcoElqyOcqEIG/D4tNyxgRuaqBXWE3zOFhQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-RD6UwNZ5zISpOWPuhVgRz60GkSIp0dy1fuZmj4RYmqLVRtejFqQ16WmfYDdoSoAjlp1LX+FnZo+/hkdmyyGZ1w==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-UeJpOmLGhq1SLox79QWw/0n2PFX+oPRE1ZyRMxPIaFEfCqWaqpB7BU9C8kpPOGEhLF7AwEqfFbtwNxGy4ReENA==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-mADw7MS0bYe2OGKkHYMaqarOXuDwRbO6ArD91XhHcl2ynjGCFF+hvqf0LyQcYxkA1zaWjefSkU7Ne9mqgApSgQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-qnbTPUhCVnCgBp4z4BUJUhOEkVwxiEi1cyFM+Zj6o+aY8OFGxUQleKWq8ltgp3dujuhXojIvJWdoqpm6dVO3lQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-bNYMi7WKTJHu0gn26wg8OscncTt1t2b8KcsZxvOv56XA6cyXtOAAAaNP7+m45xfppXfOatXF3Sb1MNsLUgVLTw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==}
+ engines: {node: '>=14.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-saYhF8ZZNoJDTvJBEWgeBccCg+yvp1CX+ed12yORU3NilJScfc6gfch2oVb4QgxZrGUx3/ZJlb+c/dJbyupxlw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-F7gDyfI2BB1Kc+4M6rpuOLne5LOcEknH1n6UQB69qv+HucXBR1rkzXBnQTB2q46sFy1PM/zuSJOB532yc8bg3w==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-S3hSGLKmHG1m35p/MObQCBCdRsrpbPU8B129BVzRqRfDvQqPMQ14iO4LyRw+7LNizYc605COYAcjqgawqi+6jA==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-bYLZ4DkoxSsPxpdmeapvAKy7rM5+25gR7PGxq2iMiecmbrRGBHj9s75N74Ylg+aBiw9i5jIowC/cLU2NR0qH8w==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-iSSl7HJoJaGyMIoNn2B7czghOVwJ9nD7TMvLhMWeSB5vt0TnEYyRRqPJu/TqW76WScaNvYYB8nRoiBHR9S1Ddw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-kagK5ggDrBUCCzI93ft6DjteNSfY8Ulr83UtySog/h09lTIOAJ/xUSObutanlPT0nhoHAkpmW9V5K8oPyLh+QA==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-HGHQr2s59qaU1lrVH6MbLlmOBxadtzTsoO4c+bF5asdgVik3I8o7JIOzoeqWc5MjVa+vD36/LWE0iXKpNqooRw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-vqfSiHz2v8b3TTTrdXi03vNz1KLYYS3bhHCDv36FYDqxT7jvTll1mMnCrkD+gOvgwybuunh/2VmvOMqwBegxEg==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-qHJ2sSgu4FqF4U/5UUp4DhXNmdTrgmoAai6oQiM+c5RZ/sbDwJ12qxB1M6FnP+Tn/ggkPZf9ccn4jqKSINaquw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-rOG5cNLBXovxIrICSBm95dLqzfvxjEmuZx4KK3hWwPFHGdW3lxY0fZNXfv2zebfRO7sJZ5pKJYHScsqopeIWtQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-SwREZcDnEYoh9tLNgMbpop+UTGq44Hl9tdj3rf+yeLcfH7+J8OXEBaMc2kDxtyRHu8BhSg9ADEx0gFHvpJgU8w==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-6yZf53i/qB8gRHH/l2ZwUG5xgkPgQF15/KxH0DdXMDHjesA9MeZje/853ifkSY0x4m5S+dfDZ+c4x439PF0M2w==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-RRoTDL//7xi4tn5FrN2NzH17jbgmnKidUqd4KvquT0954/i6CXXkh1884jBiunq24g9cGtPBEXlU40W6EpNOOg==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-63X0260LoFBjrHifPDs+nM9tV0VMkOTl4JRMYNuKh/f5PauSjowTfvF3LogfkWdcPoxsA9UjqEOgjeYIbhb7Nw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-d3+U/VpX7a60seHziWnVZOHuEgJlclufjkS6zhXvxcJgkJq4UWdH5eOBLzHRMx6gXjsdT9h6lfpmLzbrdupHgQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-mbMg8mIUAWwMmb74LoYiArP04zWElPzDoA1jVOp3or0cjlDMgoS6WTC3QXK0Vxoc9I4zdrX0tq6qsOmaIoTWEQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-UqKOQBL2x6+HWl3P+3QqFD4ncKq0I8Nuz9QItGv5WuKuMHuuwlhvqcZCoXGfc+P1QmfJE7VieykoYYmrOoFJxA==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-eMkc144MuN7B0TDA4U2fKs+BqczVbk3W+qIvcoCY6D1JY3hnAdCuhCZODC+GAeaxj0p6Jroz4+XMUn3PCxQQeQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-CvHfCmO2mchox9kjrtzoHkWHxjHZzaFojLc8quxXY7WAAMAg43nuxwv95tATVgQFNDwd4M9S1qFzj40Ul41Kmg==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-sNi3DL0/k64/LO3A256M+m3CDdG6V7WKWHdAiBBMUN8S3hK3aMPhwnPik2A/a2ONN+9doY9UxaLfgqsIRg69QA==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-q0iDP3VsZzqJyje8xJWEJCNIu3lktUGVoSy1KB0UWym2CL1siV3artm+u1DFYTLejpsrdGyCSWBdGNjJzfDPjg==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==}
+ engines: {node: '>=14.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-9TOQ7781sZvddgO8nxueKi3+yGvkY35kotA0Y6BWRajAv8jjmigQ1sBwz0UX47pQMYXJPahSKEKYFgt+rXdcug==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-L1RBVzLyfE8OXH+1hsJ8p+acNUSirQnWQ6/EgpchV88G6zGBTDPdXiiExei6Z1wR2RxYvxY/XLw6AMNCCt8H3w==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-pxEWsxIsOPLfKNXvpgFHBGFC3pKYKUFhrud1kyooO9CJai6aaKDHfT10Mi5iiipPXN/JhKAu3qX9o75+X85OdQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-+w4n4hKFayeCyELZLfsSQG5mCC3TwSkmRHv4+el5CzFU8ToQpYGhpV7mrRzqlwKkntlPilT1HJy1TVeEvEjWOQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-YARl3tFL3WgPuLzljRUnrS2ngLiUtkwhQtj8PAL13XZSyUiNLQxwG3fBBq3QXFqGFUXepIN73pINp3y8c2nBmA==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-Yk5mLhHtfIgW2W2WQZWSg5kuMZCVbvhFmC7rV4IO2QqnZdbEFPmQnCcGMAX2z/8Qj3B9hYYNjZOhWym+RwhePw==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-9MLKmkBmf4PRb0ONJikCbCwORACcil6gUWojwARCClT7RmLzF04hUR4WdRprIXal7XVyrddadYNfp2eF3nrvtQ==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-+YekoF2CaSMv6zKrA6iI/N9yva3Gzn4L6n35Luydweu5MMPYpiGZlWqehPHDHyNbnyaYlz/WJyYAZnC+loBDZg==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-cQn412DWHHFNKrQfbHY8vSFI3nTROY1aIKji9N0tpp8gUABRilr7wdf8fqBbSlXresobM+tQFNk6I+0LXK/YZg==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-77yfbCbQMtgtTylO9itEAdpPXSog3ZxMe09AEhm0dU0NLTalV70ghDZFR+Nfi1C60jnJoh/Re4090/DuZh2Omg==}
+ engines: {node: '>=18.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==}
+ engines: {node: '>=14.0.0'}
+
+ '@smithy/[email protected]':
+ resolution: {integrity: sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==}
+ engines: {node: '>=18.0.0'}
+
+ '@smoya/[email protected]':
+ resolution: {integrity: sha512-0q4805I7ZdkKNEbNrbxmBNAdYEAH9aBYCuXiIXCbu8WC0sdRqLWmTsvg/DaNO8ZnsrGhVzy5VITf+8CKlVnGoQ==}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA==}
+ engines: {node: ^12.20 || >= 14.13}
+ peerDependencies:
+ ajv: '>=8'
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ==}
+ engines: {node: '>=8.3.0'}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A==}
+ engines: {node: '>=8.3.0'}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==}
+ engines: {node: '>=8.3.0'}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-xcJXgKFqv/uCEgtGlPxy3tPA+4I+ZI4vAuMJ885+ThkTHFVkC+0Fm58lA9NlsyjnkpxFh4YiQWpH+KefHdbA0A==}
+ engines: {node: '>=8.3.0'}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-COTiuCU5bgMUtbIFBuyyh2/yVVzlr5Om0v5utQDgBCuQUOPgU1DwoffkTfg4UBQOvByi5foF4w4T+H9CoRe5wg==}
+ engines: {node: '>=8'}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==}
+ engines: {node: '>=8'}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-5hBP81nCC1zn1hJXL/uxPNRKNcB+/pEIHgCjPRpl/w/qy9yC9ver04tw1W0l/PMiv0UeB5dYgozXVQ4j5a6QQQ==}
+ engines: {node: ^16.20 || ^18.18 || >= 20.17}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-c06HB+rOKfe7tuxg0IdKDEA5XnjL2vrn/m/OVIIxtINtBzphZrOgtRn7epQ5bQF5SWp84Ue7UJWaGgDwVngMFw==}
+ engines: {node: ^16.20 || ^18.18 || >= 20.17}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-obu8ZfoHxELOapfGsCJixKZXZcffjg+lSoNuttpmUFuDzVLT3VmH8QkPXfOGOL5Pz80BR35ClNAToDkdnYIURg==}
+ engines: {node: ^16.20 || ^18.18 || >= 20.17}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-ANDTp2IHWGvsQDAY85/jQi9ZrF4mRrA5bciNHX+PUxPr4DwS6iv4h+FVWJMVwcEYdpyoIdyL+SRmHdJfQEPmwQ==}
+ engines: {node: ^16.20 || ^18.18 || >= 20.17}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-gj3TieX5a9zMW29z3mBlAtDOCgN3GEc1VgZnCVlr5irmR4Qi5LuECuFItAq4pTn5Zu+sW5bqutsCH7D4PkpyAA==}
+ engines: {node: ^16.20 || ^18.18 || >= 20.17}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-YHbhX3dqW0do6DhiPSgSGQzr6yQLlWybhKwWx0cqxjMwxej3TqLv3BXMfIUYFKKUqIwH4Q2mV8rrMM8qD2N0rQ==}
+ engines: {node: ^16.20 || ^18.18 || >= 20.17}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA==}
+ engines: {node: ^12.20 || >=14.13}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-dzyuzvUjv3m1wmhPfq82lCVYGcXG0xUYgqnWfCq3PCVR4BKFhjdkHrnJ+jIDoMKvXb05AZP/ObQF6+NpDo29IQ==}
+ engines: {node: ^12.20 || >=14.13}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-/kjtr+0t0tjKr+heVfviO9FrU/uGLc+QNX3fHJc19xsCNYqU7lVhaXxDmEID9BZTjG+/r9pK9xP/xU02XGg65g==}
+ engines: {node: ^12.20 || >=14.13}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-Pb6M8TDO9DtSVla9yXSTAxmo9GVEouq5P40DWXdOie69bXogZTkgvopCq+yEvTMA0F6PEvdJmbtTV3ccIp11VQ==}
+
+ '@stoplight/[email protected]':
+ resolution: {integrity: sha512-JZlVFE6/dYpP9tQmV0/ADfn32L9uFarHWxfcRhReKUnljz1ZiUM5zpX+PH8h5CJs6lao3TuFqnPm9IJJCEkE2w==}
+ engines: {node: '>=10.8'}
+
+ '@stylistic/[email protected]':
+ resolution: {integrity: sha512-TJRJul4u/lmry5N/kyCU+7RWWOk0wyXN+BncRlDYBqpLFnzXkd7QGVfN7KewarFIXv0IX0jSF/Ksu7aHWEDeuw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: '>=9.0.0'
+
+ resolution: {integrity: sha512-Q5FsI3Cw0fGMXhmsg7c08i4EmXCrcl+WnAxb6LYOLHw4JFFC3yzmx9LaXZ7QMbA+JZXbigU2TirI7RAfO0Qlnw==}
+ engines: {node: '>= 16.14.0'}
+ hasBin: true
+ peerDependencies:
+ '@swc/core': ^1.2.66
+ chokidar: ^4.0.1
+ peerDependenciesMeta:
+ chokidar:
+ optional: true
+
+ resolution: {integrity: sha512-whsCX7URzbuS5aET58c75Dloby3Gtj/ITk2vc4WW6pSDQKSPDuONsIcZ7B2ng8oz0K6ttbi4p3H/PNPQLJ4maQ==}
+ engines: {node: '>=10'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-S3eTo/KYFk+76cWJRgX30hylN5XkSmjYtCBnM4jPLYn7L6zWYEPajsFLmruQEiTEDUg0gBEWLMNyUeghtswouw==}
+ engines: {node: '>=10'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-o9gdshbzkUMG6azldHdmKklcfrcMx+a23d/2qHQHPDLUPAN+Trd+sDQUYArK5Fcm7TlpG4sczz95ghN0DMkM7g==}
+ engines: {node: '>=10'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-sLoaciOgUKQF1KX9T6hPGzvhOQaJn+3DHy4LOHeXhQqvBgr+7QcZ+hl4uixPKTzxk6hy6Hb0QOvQEdBAAR1gXw==}
+ engines: {node: '>=10'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-PwjB10BC0N+Ce7RU/L23eYch6lXFHz7r3NFavIcwDNa/AAqywfxyxh13OeRy+P0cg7NDpWEETWspXeI4Ek8otw==}
+ engines: {node: '>=10'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-i62vBVoPaVe9A3mc6gJG07n0/e7FVeAvdD9uzZTtGLiuIfVfIBta8EMquzvf+POLycSk79Z6lRhGPZPJPYiQaA==}
+ engines: {node: '>=10'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-YER0XU1xqFdK0hKkfSVX1YIyCvMDI7K07GIpefPvcfyNGs38AXKhb2byySDjbVxkdl4dycaxxhRyhQ2gKSlsFQ==}
+ engines: {node: '>=10'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-po+WHw+k9g6FAg5IJ+sMwtA/fIUL3zPQ4m/uJgONBATCVnDDkyW6dBA49uHNVtSEvjvhuD8DVWdFP847YTcITw==}
+ engines: {node: '>=10'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-h+NjOrbqdRBYr5ItmStmQt6x3tnhqgwbj9YxdGPepbTDamFv7vFnhZR0YfB3jz3UKJ8H3uGJ65Zw1VsC+xpFkg==}
+ engines: {node: '>=10'}
+ cpu: [ia32]
+ os: [win32]
+
+ resolution: {integrity: sha512-Q8cs2BDV9wqDvqobkXOYdC+pLUSEpX/KvI0Dgfun1F+LzuLotRFuDhrvkU9ETJA6OnD2+Fn/ieHgloiKA/Mn/g==}
+ engines: {node: '>=10'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution: {integrity: sha512-g4mThMIpWbNhV8G2rWp5a5/Igv8/2UFRJx2yImrLGMgrDDYZIopqZ/z0jZxDgqNA1QDx93rpwNF7jGsxVWcMlA==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@swc/helpers': '>=0.5.17'
+ peerDependenciesMeta:
+ '@swc/helpers':
+ optional: true
+
+ resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}
+
+ resolution: {integrity: sha512-2YEtj5HJVbKivud9N4bpPBAyZhj4S2Ipe5LkUG94alTpr7in/GU/EARgPAd3BwU+YOmFVJC2+kjqhGRi3r0ZpQ==}
+
+ '@szmarczak/[email protected]':
+ resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==}
+ engines: {node: '>=14.16'}
+
+ '@tokenizer/[email protected]':
+ resolution: {integrity: sha512-MADQgmZT1eKjp06jpI2yozxaU9uVs4GzzgSL+uEq7bVcJ9V1ZXQkeGNql1fsSI0gMy1vhvNTNbUqrx+pZfJVmg==}
+ engines: {node: '>=18'}
+
+ '@tokenizer/[email protected]':
+ resolution: {integrity: sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==}
+
+ '@tootallnate/[email protected]':
+ resolution: {integrity: sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==}
+ engines: {node: '>= 6'}
+
+ '@tsconfig/[email protected]':
+ resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==}
+
+ '@tsconfig/[email protected]':
+ resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==}
+
+ '@tsconfig/[email protected]':
+ resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==}
+
+ '@tsconfig/[email protected]':
+ resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-he+DHOWReW0nghN24E1WUqM0efK4kI9oTqDm6XmK8ZPe2djZ90BSNdGnIyCLzCPw7/pogPlGbzI2wHGGmi4O/Q==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-IDBwO5IZhrKvHFUl+clZxgf3hn2b/lU6H1KaBShPkQyGJUQ0xwebezIPSuiyGwfz1UzJWQl4M7BDxtHtCCPlTg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-qJ7LIFp06h1QE1aVxbVd+zJP2wdaugYXYfd6JxsyRMrYHaxb6itXPogW2tz+ylUJ1n1b+JF1PHyYCfYHm0dvUg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-3xhRnjJPkULekpSzgtoNYYcTWgEZkp4myc+Saevii5JPnHNvHMRlBSHDbs7Bh1iPPoVTERHEZXyhyLbMEsExsA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-BtjL3ZwbCQriyb0DGw+Rt12qAXPiBTPs815lsUvtt1Grk0vLRMZNMUZ741d5rjk+UQOxfDiBZ3dxpX00vSkK3g==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ymXWVrDiCxTBE3+RIrrP533E70eA+9qu7zdWoHuOmGujkYtzf4HQF96b8nwHLqhuf4ykX61IGRIB38CC6/sImQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-8cCg6BiIj4jS0LXUFq3sndmd46yyPLYqMzvXLcTM1MRubh3sfZlQiehoCjGDxSHTqGSjjx8EtVNryIAl0njQWg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-pTVjI73witn+9ILmoJdajHGW2jkSaOzhiFYF1Rd3EQ94kymLqB9PjD9ISg7WaALC7+dCHT0FGe9T2LktLq/3GQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-8WzXq62EXFhJ7QsH3Ocb/iKQ/Ty9ZVWnVzoTKc9tyyFRRF3a74Tk2+TLFgaFFw364Ere+npzHKEJ6ga2LzIL7w==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-XOfUup9r3Y06nFAZh3WvO0rBU4OtlfPB/vgxpjg+NRdGU6CN6djdc6OEiH+PcqHCY6eFLo9Ista73uarf4gnBg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-9gG6ogYcoI2mCMLdcO0NYI0AYrbxIjv0MDmy/5Ywo6CpWWrqYayc+mmgxRsCgtcGJm9BSbXkMsmxGah1iGHAAQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-9XNTlo7P7RJxbVeICaIIIEipqxLKguyh+3UbXuT2XQuFp6d8VOeDEGuz5IiX0dgZo8CiI6aOFLg4e8cF71SFVg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ '@typescript-eslint/parser': ^8.35.1
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <5.9.0'
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-3MyiDfrfLeK06bi/g9DqJxP5pV74LNv4rFTyvGDmT3x2p1yp1lOd+qYZfiRPIOf/oON+WRZR5wxxuF85qOar+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-eslint/[email protected]':
+ resolution: {integrity: sha512-VYxn/5LOpVxADAuP3NrnxxHYfzVtQzLKeldIhDhzC8UHaiQvYlXvKuVho1qLduFbJjjy5U5bkGwa3rUGUb1Q6Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <5.9.0'
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-7IsIaIDeZn7kffk7qXC3o6Z4UblZJKV3UBpkvRNpr5NSyLji7tvTcvmnMNYuYLyh26mN8W723xpo3i4MlD33vA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-s/Bpd4i7ht2934nG+UoSPlYXd08KYz3bmjLEb7Ye1UVob0d1ENiT3lY8bsCmik4RqfSbPw9xJJHbugpPpP5JUg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-K5/U9VmT9dTHoNowWZpz+/TObS3xqC5h0xAIjXPw+MNcKV9qg6eSatEnmeAwkjHijhACH0/N7bkhKvbt1+DXWQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <5.9.0'
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-HOrUBlfVRz5W2LIKpXzZoy6VTZzMu2n8q9C2V/cFngIC5U1nStJgv0tMV4sZPzdf4wQm9/ToWUFPMN9Vq9VJQQ==}
+ 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-eslint/[email protected]':
+ resolution: {integrity: sha512-YmybwXUJcgGqgAp6bEsgpPXEg6dcCyPyCSr0CAAueacR/CCBi25G3V8gGQ2kRzQRBNol7VQknxMs9HvVa9Rvfg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-q/O04vVnKHfrrhNAscndAn1tuQhIkwqnaW+eu5waD5IPts2eX1dgJxgqcPx5BX109/qAz7IG6VrEPTOYKCNfRQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-Y3AP9EIfYwBb4kWGb+simvPaqQoT5oJuzzj9m0i6FCY6SPvlomY2Ei4UEMm7+FXtlNJbor80ximyslzaQF6xhg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <5.9.0'
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-Vvpuvj4tBxIka7cPs6Y1uvM7gJgdF5Uu9F+mBJBPY4MhvjrjWGK4H0lVgLJd/8PWZ23FTqsaJaLEkBCFUk8Y9g==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <5.9.0'
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-DsSFNIgLSrc89gpq1LJB7Hm1YpuhK086DRDJSNrewcGvYloWW1vZLHBTIvarKZDcAORIy/uWNx8Gad+4oMpkSA==}
+ 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-eslint/[email protected]':
+ resolution: {integrity: sha512-lhnwatFmOFcazAsUm3ZnZFpXSxiwoa1Lj50HphnDe1Et01NF4+hrdXONSUHIcbVu2eFb1bAf+5yjXkGVkXBKAQ==}
+ 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-eslint/[email protected]':
+ resolution: {integrity: sha512-ar0tjQfObzhSaW3C3QNmTc5ofj0hDoNQ5XWrCy6zDyabdr0TWhCkClp+rywGNj/odAFBVzzJrK4tEq5M4Hmu4w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-VRwixir4zBWCSTP/ljEo091lbpypz57PoeAQ9imjG+vbeof9LplljsL1mos4ccG6H9IjfrVGM359RozUnuFhpw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-EOg8d0jn3BAiKnR55WkFxmxfWA3nmzrbIIuOXyTe6A72duryNgyU+bdBEauA97Aab3ho9kLmAwgPX63Ckj4QEg==}
+ peerDependencies:
+ eslint: '>= 8.57.0'
+ typescript: '>= 5.0.0'
+ vitest: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ vitest:
+ optional: true
+
+ resolution: {integrity: sha512-Xe+AittLbAyV0pabcN7cP7/BenRBNcteM4aSDCtRvGw0d9OL+HG1u/XHLY/kt1q4fyMeZYXyIYrsHuPSiDPosA==}
+
+ resolution: {integrity: sha512-+2UgfLKoaNLhgfhV5Ihnk6wB4ljyW1/7wUIog2puUqajiC29Lp5R/IKDdkebh9jTbTogTbsgB+OY9cEWzG95JQ==}
+
+ resolution: {integrity: sha512-rQQxbRJMgTqwRugtjw0cnyQv9cP4/4BxWfTdRBkqsTfLOHWykLzbOc3C4GGzAmdMDxhzU/1Ija5bTjMVrddqww==}
+
+ resolution: {integrity: sha512-hkDbA0Q20ZzGgpj5uZjb9rBzQtIHLS78mMilwrlpWk2Ep37DYntUz0PonQ6kr113vfOEdM+zTBuJDaceNIW0tQ==}
+
+ resolution: {integrity: sha512-CabR+UN630VnsJO/jHWYBC1YVXyMq94KKp6iF5MQgZJs5I8cmjw6oVMO1oDbtBkENSHSSn/UadWlW/OAgdmKrg==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-sIm84ZneCOJuiy3PpWR5bxkx3HaNt1pqaN+vncUBZIlPZCq8ASZH+hBVdu5H8znR7qYC6sKwx+ie2Q7qztJTxA==}
+ engines: {node: ^14.14.0 || >=16.0.0}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-4UnCLCs8DB+itHJVkqFp9Zjg+w/205/J2j2wNBsCEAm/BuBmtua2hhUOdAMQE47b1c7P9Xmddj0p+X1XVsfHsA==}
+ engines: {node: '>=18'}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-DT2SAuHDeOw0G5bs7wZbQTbf4hd8pJ14tO0i4cWhRkIJfgRdKmMfkDilpaJ8uZyPA0NVRwasCNAmMJcWA67osw==}
+ engines: {node: '>=18'}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-dpEgs0cQKJ2xpIaGSO0hrzz3Kt8TQHYdizHsgDtLorWajuHJqxzot9Hbi0huRxJuAGG2qiHSQkwyvHHQtlE+fg==}
+ engines: {node: '>=18'}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-p5A2r/AVynTQSsF34Pig6olt9CvRj6J5ikIhzUd3b57pUXyFDGtmBstcw+xXza0QFUh93zJsmY3zGeNDlR2AQQ==}
+ engines: {node: '>=18'}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-mvy5AIDIZjQ2IagMI/wvauEiSNHhu/g65qpdM4EVoYHUJBAmkQWqcPJa8Xzi1aKVTmOA5xLJeDk7dqSjlHq8Mg==}
+ engines: {node: '>=18'}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-GQMpzIpWTsNr6UZbISawsGI0hJ4KA/mz5nFq+cEoPs12UybAqZWKbyIaZZyLbJebKl5FkLpsGBkrplJdjvUoSQ==}
+ engines: {node: '>=18'}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-6uHnEEt5jv9ro0CDzqWlFgPycdE+H+kbJnwyxgZregIMLQ7unQSCNVsYG255FoqU8cP46DyggI7F7LohzEl8Ag==}
+ engines: {node: '>=18'}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-fiuFHf3Dt6pkX8HQrVBsK0uXtkgkVlhrZEh8b7VgoDqFf+zrgFBPyrwCqE/3nDwn3hLeNz+BsrS7q3mu13Lp1g==}
+ engines: {node: '>=18'}
+
+ '@xhmikosr/[email protected]':
+ resolution: {integrity: sha512-siPY6BD5dQ2SZPl3I0OZBHL27ZqZvLEosObsZRQ1NUB8qcxegwt0T9eKtV96JMFQpIz1elhkzqOg4c/Ri6Dp9A==}
+ engines: {node: ^14.14.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==}
+
+ resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
+
+ resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==}
+
+ resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==}
+ deprecated: Use your platform's native atob() and btoa() methods instead
+
+ resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==}
+
+ resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}
+ engines: {node: '>=6.5'}
+
+ resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==}
+
+ resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
+ peerDependencies:
+ acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
+
+ resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==}
+ engines: {node: '>=0.4.0'}
+
+ resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==}
+ engines: {node: '>=0.4.0'}
+
+ resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ==}
+ engines: {node: '>=12.0'}
+
+ resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}
+ engines: {node: '>= 6.0.0'}
+
+ resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==}
+ engines: {node: '>= 14'}
+
+ resolution: {integrity: sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==}
+ engines: {node: '>= 8.0.0'}
+
+ resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==}
+ peerDependencies:
+ ajv: ^8.5.0
+ peerDependenciesMeta:
+ ajv:
+ optional: true
+
+ resolution: {integrity: sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==}
+ peerDependencies:
+ ajv: ^8.0.1
+
+ resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}
+ peerDependencies:
+ ajv: ^8.0.0
+ peerDependenciesMeta:
+ ajv:
+ optional: true
+
+ resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}
+ peerDependencies:
+ ajv: ^8.0.0
+ peerDependenciesMeta:
+ ajv:
+ optional: true
+
+ resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}
+ peerDependencies:
+ ajv: ^6.9.1
+
+ resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==}
+ peerDependencies:
+ ajv: ^8.8.2
+
+ resolution: {integrity: sha512-Ajr4IcMXq/2QmMkEmSvxqfLN5zGmJ92gHXAeOXq1OekoH2rfDNsgdDoL2f7QaRCy7G/E6TpxBVdRuNraMztGHw==}
+
+ resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
+
+ resolution: {integrity: sha512-hOs7GfvI6tUI1LfZddH82ky6mOMyTuY0mk7kE2pWpmhhUSkumzaTO5vbVwij39MdwPQWCV4Zv57Eo06NtL/GVA==}
+
+ resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==}
+
+ resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-0qWUglt9JEqLFr3w1I1pbrChn1grhaiAR2ocX1PP/flRmxgtwTzPFFFnfIlD6aMOLQZgSuCRlidD70lvx8yhzg==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-BGcItUBWSMRgOCe+SVZJ+S7yTRG0eGt9cXAHev72yuGcY23hnLA7Bky5L/xLyPINoSN95geovfBkqoTlNZYa7w==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==}
+
+ resolution: {integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==}
+
+ resolution: {integrity: sha512-AmIAC+Wtm2AU8lGfTtHsw0Y9Qtftx2YXEEtiBP10xFUtMOA+sHHx6OAddyL52mUKh1vsXQ6/w1mVDptZCyUt4Q==}
+
+ resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==}
+ deprecated: This package is no longer supported.
+
+ resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}
+
+ resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
+
+ resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
+
+ resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==}
+
+ resolution: {integrity: sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==}
+
+ resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==}
+
+ resolution: {integrity: sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==}
+
+ resolution: {integrity: sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==}
+ engines: {node: '>=0.8'}
+
+ resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==}
+ hasBin: true
+
+ resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
+
+ resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
+
+ resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==}
+ engines: {node: '>=8.0.0'}
+
+ resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-9cYNccliXZDByFsFliVwk5GvTq058Fj513CiR4E60ndDwmuXzTJEp/Bp8FyuRmGyYupLjHLs+JA9/CBoVS4/NQ==}
+ engines: {node: '>=0.11'}
+
+ resolution: {integrity: sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==}
+
+ resolution: {integrity: sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==}
+
+ resolution: {integrity: sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==}
+
+ resolution: {integrity: sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==}
+
+ resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ peerDependencies:
+ '@babel/core': ^7.8.0
+
+ resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ resolution: {integrity: sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ resolution: {integrity: sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ resolution: {integrity: sha512-YWB1DfnYjPakY0J16nemRW2HEqsX/zEBQJAbiZsc4q7Zn5aOoVqA1hoaQbXheeBHBXPFiS6da1WFrSbcnXHNWg==}
+
+ resolution: {integrity: sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
+
+ resolution: {integrity: sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==}
+
+ resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
+
+ resolution: {integrity: sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==}
+
+ resolution: {integrity: sha512-EM7aMFTXbptt/wZdMlBv2t8IViwQL+h6SLHosp8Yf0dqJMTnY6iL32opnAB6kAdL0SZPuvcAzFr31o0c/R3/RA==}
+
+ resolution: {integrity: sha512-JzrOLHLwX2zMqKdyYZjkDgQGT+kHDkIhv2/IK2lJ00qLxV4TmFoHi8drDBb6H5Zrz1YfgHkai4e2MGPqnoUhqA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-bYsvMqJ8yNGILLz1KP9zKLzQ6YpljV3ln1gqhuLkUtyfGi3qXKGuK2p+U4NAvjVFzDFiBBtOpCOSFNuYYEGZ5g==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-nk5wEsP4RiKjG+vF+uG8lFsEn4d7Y6FVDamzzftSunXOoOcOOkzcWdKVlGgFFwlUQCj63SgnUkLLGF8v7lufhw==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==}
+
+ resolution: {integrity: sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
+
+ resolution: {integrity: sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==}
+
+ resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
+
+ resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}
+
+ resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==}
+
+ resolution: {integrity: sha512-FDToo4Wo82hIdgc1CQ+NQD0hEhmpPjrZ3hiUgwgOG6IuTdlpr8jdjyG24P6cNP1yJpTLzS5OcGgSw0xmDU1/Tw==}
+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+ hasBin: true
+
+ resolution: {integrity: sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==}
+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+ hasBin: true
+
+ resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==}
+
+ resolution: {integrity: sha512-MTxGsqgYTwfshYWTRdmZRC+M7FnG1b4y7RO7p2k3X24Wq0yv1m77Wsj0BzlPzd/IowgESfsruQCUToa7vbOpPQ==}
+ engines: {node: '>=16.20.1'}
+
+ resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==}
+
+ resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==}
+
+ resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
+
+ resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==}
+
+ resolution: {integrity: sha512-bkXY9WsVpY7CvMhKSR6pZilZu9Ln5WDrKVBUXf2S443etkmEO4V58heTecXcUIsNsi4Rx8JUO4NfX1IcQl4deg==}
+ engines: {node: '>=18.20'}
+
+ resolution: {integrity: sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==}
+
+ resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}
+ engines: {node: '>=10.16.0'}
+
+ resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==}
+ engines: {node: '>= 10'}
+
+ resolution: {integrity: sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==}
+ engines: {node: '>=14.16'}
+
+ resolution: {integrity: sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==}
+ engines: {node: '>=14.16'}
+
+ resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==}
+
+ resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==}
+
+ resolution: {integrity: sha512-VQAUIUzBiZ/UnlM28fSp2CRF3ivUn1BWEvxMcVTNwpw91Py1pGbPIyIKtd+tzct9C3ouceCVdGAXxZOpZAsgdw==}
+
+ resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==}
+
+ resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
+
+ resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==}
+ engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
+
+ resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}
+
+ resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==}
+
+ resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
+ engines: {node: '>= 8.10.0'}
+
+ resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
+ engines: {node: '>= 14.16.0'}
+
+ resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==}
+
+ resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==}
+ engines: {node: '>=6.0'}
+
+ resolution: {integrity: sha512-HxaNe+G5531t45LDnUb5ejIviwjqu8VWNDTfJvlItCeQVNiL7+bF/mxrZhyoQ+Po3MfDCrfI5bXVcUUHm3g2hQ==}
+
+ resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-cYY9mypksY8NRqgDB1XD1RiJL338v/551niynFTGkZOO2LHuB2OmOYxDIe/ttN9AHwrqdum1360G3ald0W9kCg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==}
+
+ resolution: {integrity: sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==}
+
+ resolution: {integrity: sha512-3kMVRF2io8N8pY1IFIXlho9r8IPUUIfHe2hYVtiebvAzU2XeQFXTv+XI4WX+TnXmtwXMDcjngcpkiPM0O9PvLw==}
+
+ resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==}
+ engines: {node: 10.* || >= 12.*}
+
+ resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==}
+ engines: {node: '>= 12'}
+
+ resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==}
+ engines: {node: '>=0.8'}
+
+ resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==}
+ engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'}
+
+ resolution: {integrity: sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==}
+
+ resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
+ engines: {node: '>=7.0.0'}
+
+ resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
+
+ resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==}
+
+ resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
+
+ resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==}
+ engines: {node: '>= 12'}
+
+ resolution: {integrity: sha512-bKw/r35jR3HGt5PEPm1ljsQQGyCrR8sFGNiN5L+ykDHdpO8Smxkrkla9Yi6NkQyUrb8V54PGhfMs6NrIwtxtdw==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==}
+ engines: {node: '>= 12.0.0'}
+
+ resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==}
+
+ resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==}
+
+ resolution: {integrity: sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==}
+
+ resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
+
+ resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==}
+ engines: {'0': node >= 0.8}
+
+ resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==}
+
+ resolution: {integrity: sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==}
+
+ resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==}
+ engines: {node: ^14.18.0 || >=16.10.0}
+
+ resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==}
+
+ resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}
+
+ resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
+
+ resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==}
+ engines: {node: '>=6.6.0'}
+
+ resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==}
+
+ resolution: {integrity: sha512-2GML2ZsCc5LR7hZYz4AXmjQw8zuy2T//2QntwdnpuYI7jteT6GVYJL7F6C2C57R7gSYrcqVW3lAALefdbhBLDA==}
+
+ resolution: {integrity: sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==}
+
+ resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
+
+ resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==}
+ engines: {node: '>= 0.10'}
+
+ resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==}
+ engines: {node: '>=14'}
+ peerDependencies:
+ typescript: '>=4.9.5'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
+ resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ hasBin: true
+
+ resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}
+
+ resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==}
+
+ resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}
+ engines: {node: '>=4'}
+ hasBin: true
+
+ resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==}
+
+ resolution: {integrity: sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==}
+
+ resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==}
+ engines: {node: '>=0.10'}
+
+ resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==}
+ engines: {node: '>= 12'}
+
+ resolution: {integrity: sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==}
+
+ resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
+
+ resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==}
+ engines: {node: '>=6.0'}
+ peerDependencies:
+ supports-color: '*'
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
+
+ resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==}
+ engines: {node: '>=6.0'}
+ peerDependencies:
+ supports-color: '*'
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
+
+ resolution: {integrity: sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==}
+ deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
+
+ resolution: {integrity: sha512-8vDa8Qxvr/+d94hSh5P3IJwI5t8/c0KsMp+g8bNw9cY2icONa5aPfvKeieW1WlG0WQYwwhJ7mjui2xtiePQSXw==}
+
+ resolution: {integrity: sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==}
+
+ resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-F1Z+5UCFpmQUzJa11agbyPVMbpgT/qA3/SKyJ1jyBgm7dUcUEa8v9JwDkerSQXfakBwFljIxhOJqGkjUwZ9FSA==}
+ peerDependencies:
+ babel-plugin-macros: ^3.1.0
+ peerDependenciesMeta:
+ babel-plugin-macros:
+ optional: true
+
+ resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
+
+ resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==}
+
+ resolution: {integrity: sha512-RsqXDEAALjfRTro+IFNKpcPCt0/Cy2FqHSIlnomiJp9YGadpQnrtbRpSgN2+np21qHcIKiva4fiOQGjS9/qR/A==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
+ engines: {node: '>=0.4.0'}
+
+ resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==}
+
+ resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==}
+ engines: {node: '>=0.10'}
+
+ resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==}
+ engines: {node: '>= 0.6.0'}
+
+ resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
+
+ resolution: {integrity: sha512-G6OsIFnv/rDyxSqBa2lDLR6thp9oJioLsb2Gl+LbQlyoA9/OBAkrTU9jiCcQ8Pnh7z4d6slDiLaogR5hzgJLmQ==}
+
+ resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==}
+
+ resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==}
+ engines: {node: '>=0.3.1'}
+
+ resolution: {integrity: sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==}
+ engines: {node: '>=8'}
+ deprecated: Use your platform's native DOMException instead
+
+ resolution: {integrity: sha512-o1vSNgrmYMQObbSSvF/1brBYEQPHhV1+gsmrusO7/GXtp1T9rCS8cXFqVxK/9crT1jA6Ccv+5MTSjBNqr7Sovw==}
+
+ resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-LaKRbou8gt0RNID/9RoI+J2rvXsBRPMV7p+ElHlPhcSARbCPDYcYG2s1TIzAfWv4YSgyY5taidWzzs31lNV3yQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
+
+ resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==}
+
+ resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==}
+
+ resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
+
+ resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}
+ engines: {node: '>=0.10.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-/0ybgsQd1muo8QlnuTpKwtl0oX5YMlUGbm8xyqgDU00motRkKFFbUJySAQBWcY79rVqNLWIWa87BGVGClwAB2w==}
+
+ resolution: {integrity: sha512-UWKi/EbBopgfFsc5k61wFpV7WrnnSlSzW/e2XcBmS6qKYTivZlLtoll5/rdqRTxGglGHkmkW0j0pFNJG10EUIQ==}
+
+ resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==}
+
+ resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
+
+ resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
+
+ resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==}
+
+ resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==}
+
+ resolution: {integrity: sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==}
+
+ resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
+ engines: {node: '>=0.12'}
+
+ resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==}
+
+ resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
+
+ resolution: {integrity: sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-3YxX6rVb07B5TV11AV5wsL7nQCHXNwoHPsQC8S4AmBiqYhyNCJ5BRKXkXyDJvs8QzXN20NgRtxe3dEEQD9NLHA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==}
+
+ resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
+
+ resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}
+ engines: {node: '>=0.8.0'}
+
+ resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==}
+ engines: {node: '>=6.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==}
+ engines: {node: '>=12'}
+ peerDependencies:
+ eslint: '>=6.0.0'
+
+ resolution: {integrity: sha512-vAUHYzue4YAa2hNACjB8HvUQj5yehAZgiClyFVVom9cP8z5NSFq3PwB/TtJslN2zAMgRX6FCFCjYBbQh71g5RQ==}
+ engines: {node: '>=12'}
+ peerDependencies:
+ eslint: '>=6.0.0'
+
+ resolution: {integrity: sha512-cJzNJ7L+psWp5mXM7jBX+fjHtBvvh06RBlcweMhKD8jWqQw0G78hOW5tpVALGHGFPsBV+ot2H+pdDGJy6CV8pA==}
+ peerDependencies:
+ eslint: ^9.5.0
+
+ resolution: {integrity: sha512-6fjOJ9tS0k28ketkUcQ+kKptB4dBZY2VijMZ9rGn8Cwnn1SH0cZBoPXT8AHBFHxmHcLFQK9zbELDinZ2Mr1rng==}
+
+ 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: '*'
+ jsonc-eslint-parser: ^2.4.0
+ peerDependenciesMeta:
+ '@eslint/json':
+ optional: true
+
+ resolution: {integrity: sha512-sUuhSf3IrJdGooquEUB5TNpGNpBoQccbnaLHsb1XkBLUPPqCNivCpY05ZcpCOiV9uHwO2yxXEWVczVclzMxYlA==}
+ peerDependencies:
+ eslint: '*'
+
+ 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-Tdns+CDjS+m7QrM85wwRi2yLae88XiWVdIOXjp9mDII0pmTBQlczPCmjpKnjiUIY3yPZNLqb5Ms/A/JXcBF2Dw==}
+ 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:
+ eslint: '>=9.0.0'
+ typescript: '>=4.5'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
+ resolution: {integrity: sha512-8XK/9wncTh4PPntQfM4iYJ2v/kvX4qsfBzp+dTnyxpERWhl2R9hEJw1ihws+yAecg9CC6ExTfMInEg3wSK9kWA==}
+ engines: {node: '>=20.11.0'}
+ peerDependencies:
+ eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
+
+ resolution: {integrity: sha512-gUzIwQHXx7ZPypUoadcyRi4WbHW2TPixDr0kqQ4miuJBU0emJmyGTlnaT3Og9X2a8R1CDayN9BFSq5weGWbTng==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '>=6.0.0'
+
+ resolution: {integrity: sha512-IRSoatgB/NQJZG5EeTbv/iAx1byOGdbbyhQrNvWdCfTnmPxUT0ao9/eGOeG7ljD8wJBsxwE8f6tES5Db0FRKEw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: '>=8.23.0'
+
+ resolution: {integrity: sha512-brcKcxGnISN2CcVhXJ/kEQlNa0MEfGRtwKtWA16SkqXHKitaKIMrfemJKLKX1YqDU5C/5JY3PvZXd5jEW04e0Q==}
+ engines: {node: '>=5.0.0'}
+
+ resolution: {integrity: sha512-pC7PgoXyDnEXe14xvRUhBII8A3zRgggKqJFx2a82fjrItDs1BSI7zdZnQtM2yQvcyod6/ujmzb7ejKPx8lZTnw==}
+ engines: {node: ^18.0.0 || >=20.0.0}
+ peerDependencies:
+ eslint: '>=8.45.0'
+
+ resolution: {integrity: sha512-vi5iHoELIAlBbX4AW8ZGzU3tUnfxuXhC/NKo3qRcI5o9igbz6zJUqSlQ03bPeMqWIGTPatZnbWsNR1RnlNERNQ==}
+ peerDependencies:
+ eslint: ^9.0.0
+
+ resolution: {integrity: sha512-9WqJMnOq8VlE/cK+YAo9C9YHhkOtcEtEk9d12a+H7OSZFwlpI6stiHmYPGa2VE0QhTzodJyhlyprUaXDZLgHBw==}
+ 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-EtNXYuWPUmkgSU2E7Ttn57LbRREQesIP1BiLn7OZLKodopKfDXfBUkC/0j6mpw2JExwf43Uf3qLSvrSvppgy8Q==}
+ engines: {node: ^18.20.0 || ^20.10.0 || >=21.0.0}
+ peerDependencies:
+ eslint: '>=9.22.0'
+
+ resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==}
+ 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-A0u9snqjCfYaPnqqOaH6MBLVWDUIN4trXn8J3x67uDcXvR7X6Ut8p16N+nYhMCQ9Y7edg2BIRGzfyZsY0IdqoQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ '@typescript-eslint/parser': ^7.0.0 || ^8.0.0
+ eslint: ^8.57.0 || ^9.0.0
+ vue-eslint-parser: ^10.0.0
+ peerDependenciesMeta:
+ '@typescript-eslint/parser':
+ optional: true
+
+ resolution: {integrity: sha512-9NtbhHRN2NJa/s3uHchO3qVVZw0vyOIvWlXWGaKCr/6l3Go62wsvJK5byiI6ZoYztDsow4GnS69BZD3GnqH3hA==}
+ 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-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ resolution: {integrity: sha512-ixRawFQuMB9DZ7fjU3iGGganFDp3+45bPOdaRurcFHSXO1e/sYwUX/FtQZpLZJR6SjMoJH8hR2pPEAfDyCoU2Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ hasBin: true
+ peerDependencies:
+ jiti: '*'
+ peerDependenciesMeta:
+ jiti:
+ optional: true
+
+ 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'}
+ hasBin: true
+
+ resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==}
+ engines: {node: '>=0.10'}
+
+ resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
+ engines: {node: '>=4.0'}
+
+ resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==}
+ engines: {node: '>=4.0'}
+
+ resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
+ engines: {node: '>=4.0'}
+
+ resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==}
+
+ resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
+
+ resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-JEPTiaOt9f04oa6NOkc4aH+nVp5I3wEjpHbIPqfgCdD5v5bUzy7xQqwcVO2aDQgOWhI28da57HksMrzK9HlRxg==}
+
+ resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==}
+
+ resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}
+ engines: {node: '>=0.8.x'}
+
+ resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==}
+ engines: {node: '>= 18'}
+
+ resolution: {integrity: sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==}
+
+ resolution: {integrity: sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}
+
+ resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==}
+ engines: {node: '>= 10.17.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==}
+ engines: {'0': node >=0.6.0}
+
+ resolution: {integrity: sha512-dl0O9Vhju8IrcLndv2eU4ldt1ftXMqqfgN4H1cpmGV7P6jeB9FwpN9a2c8DPGE1Ys88rNUJVYDHq73CGAGOPfQ==}
+
+ resolution: {integrity: sha512-fueX787WZKCV0Is4/T2cyAdM4+x1S3MXXOAhavE1ys/W42SHAPacLTQhucja22QBYrfGw50M2sRiXPtTGv9Ymw==}
+
+ resolution: {integrity: sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==}
+
+ resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
+
+ resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==}
+
+ resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==}
+
+ resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}
+ engines: {node: '>=8.6.0'}
+
+ resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
+
+ resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}
+
+ resolution: {integrity: sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==}
+
+ resolution: {integrity: sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==}
+
+ resolution: {integrity: sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==}
+
+ resolution: {integrity: sha512-RKihhV+SHsIUGXObeVy9AXiBbFwkVk7Syp8XgwN5U3JV416+Gwp/GO9i0JYKmikykgz/UHRrrV4ROuZEo/T0ig==}
+ hasBin: true
+
+ resolution: {integrity: sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==}
+ hasBin: true
+
+ resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==}
+
+ resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==}
+
+ resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==}
+
+ resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==}
+
+ resolution: {integrity: sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==}
+ peerDependencies:
+ picomatch: ^3 || ^4
+ peerDependenciesMeta:
+ picomatch:
+ optional: true
+
+ resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==}
+ engines: {node: ^12.20 || >= 14.13}
+
+ resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==}
+
+ resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
+ engines: {node: '>=16.0.0'}
+
+ resolution: {integrity: sha512-VZR5I7k5wkD0HgFnMsq5hOsSc710MJMu5Nc5QYsbe38NN5iPV/XTObYLc/cpttRTf6lX538+5uO1ZQRhYibiZQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-ek5xNX2YBYlXhiUXui3D/BXa3LdqPmoLJ7rqEx2bKJ7EAUEfmXgW0Das7Dc6Nr9MvqaOnIqiPV0mZk/r/UpNAg==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==}
+
+ resolution: {integrity: sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-hn4cQfU6GOT/7cFHXBqeBg2TbrMBgdD0kcjLhvSQYYwm3s4B6cjvBfb7nBALJLAXqmU5xajSa7X2NnUud/VCdw==}
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+
+ resolution: {integrity: sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-vqIlNogKeyD3yzrm0yhRMQg8hOVwYcYRfjEoODd49iCprMn4HL85gK3HcykQE53EPIpX3HcAbGA5ELQv216dAQ==}
+ engines: {node: '>=16'}
+
+ resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-+iwzCJ7C5v5KgcBuueqVoNiHVoQpwiUK5XFLjf0affFTep+Wcw93tPvmb8tqujDNmzhBDPddnWV/qgWSXgq+Hg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-Sfd2cLmvVVkzVYvC8+DZWiawquksAbAzrx9+AllpLOg8qlH8votU/Ozx59Z+/70GGQDlEsk48zo7FF5S5vuTEA==}
+ engines: {node: '>=16.0.0'}
+
+ resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}
+ engines: {node: '>=16'}
+
+ resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==}
+
+ resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==}
+ engines: {node: '>=4.0'}
+ peerDependencies:
+ debug: '*'
+ peerDependenciesMeta:
+ debug:
+ optional: true
+
+ resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-k6GAGDyqLe9JaebCsFCoudPPWfihKu8pylYXRlqP1J7ms39iPoTtk2fviNglIeQEwdh0bQeKJ01ZPyuyQvKzwg==}
+
+ resolution: {integrity: sha512-J+ler7Ta54FwwNcx6wQRDhTIbNeyDcARMkOcguEqnEdtm0jKvN3Li3PDAb2Du3ubJYEWfYL83XMROXdsXAXycw==}
+
+ resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==}
+
+ resolution: {integrity: sha512-mpafl89VFPJmhnJ1ssH+8wmM2b50n+Rew5x42NeI2U78aRWgtkEtGmctp7iT16UjquJTjorEmIfESj3DxdW84Q==}
+ engines: {node: '>=14.21.3'}
+ peerDependencies:
+ typescript: '>3.6.0'
+ webpack: ^5.11.0
+
+ resolution: {integrity: sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==}
+ engines: {node: '>= 14.17'}
+
+ resolution: {integrity: sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==}
+ engines: {node: '>= 0.12'}
+
+ resolution: {integrity: sha512-q5YBMeWy6E2Un0nMGWMgI65MAKtaylxfNJGJxpGh45YDciZB4epbWpaAfImil6CPAPTYB4sh0URQNDRIZG5F2w==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==}
+ engines: {node: '>=0.4.x'}
+
+ resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==}
+ engines: {node: '>=12.20.0'}
+
+ resolution: {integrity: sha512-YikH+7CUTOtP44ZTnUhR7Ic2UASBPOqmaRkRKxRbywPTe5VxF7RRCck4af9wutiZ/QKM5nME9Bie2fFaPz5Gug==}
+ engines: {node: '>=14.0.0'}
+
+ resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
+
+ resolution: {integrity: sha512-5rU898vl/Z948L+kkJedbmo/iltzmiF5bn/eEk0j/SgrPpI+Ydau9xlJPicV7Av2CHYBGz5LAlwTnBU80j1zPQ==}
+
+ resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-b1FMfwetIKymC0eioW7mTywihSQE4oLzQn1dB6rZB5fx/3NpNEdAWeCSMB+60/AeT0TCXsxzAlcYVEFCTAksWg==}
+
+ resolution: {integrity: sha512-Ig401VXtyrWrz23k9KxAx9OrnL8AHSLNhQ8YJH2wSYuH0ZUfxwBeY6zXkd/oOyVRFTlpEu/0n5gHeuZt7aqbkw==}
+
+ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
+
+ resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
+ os: [darwin]
+
+ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
+
+ resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
+
+ resolution: {integrity: sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==}
+ deprecated: This package is no longer supported.
+
+ resolution: {integrity: sha512-osVFpgeBiwTM2AVI9MXvb8iWzM6oSMbTVWc65Gm5BgBlE+nUA6PBHFMaYpqjZx1AhUH7aPOZq78WcRAM6hhAwA==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-E6c+AdIaK1LNA839OyotiTca+B2IG1nDlMjnlcck8JjXn3fVgx57Ib9i6iL1/iqN7bA3EUQdcRRu+HqOCOABIg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-k8GgdPT9oCRchU4+7ofh/qpsmvSaOI0znFt/edanyWBBxLjSnjoSU97C15fGqQSdJIZ9uwsCU0RO8xnpLEX95w==}
+
+ resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
+ engines: {node: '>=6.9.0'}
+
+ resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
+ engines: {node: 6.* || 8.* || >= 10.*}
+
+ resolution: {integrity: sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==}
+ engines: {node: '>=8.0.0'}
+
+ resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==}
+
+ resolution: {integrity: sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==}
+
+ resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==}
+
+ resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
+
+ resolution: {integrity: sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==}
+ engines: {node: 20 || >=22}
+ hasBin: true
+
+ resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
+ deprecated: Glob versions prior to v9 are no longer supported
+
+ resolution: {integrity: sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-O+7l9tPdHCU320IigZZPj5zmRCFG9xHmx9cU8FqU2Rp+JN714seHV+2S9+JslCpY4gJwU2vOGox0wzgae/MCEg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-bqWEnJ1Nt3neqx2q5SFfGS8r/ahumIakg3HcwtNlrVlwXIeNumWn/c7Pn/wKzGhf6SaW6H6uWXLqC30STCMchQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-WC9wfEKK0bk3seWKsDn2loduLth6JWKTsrbWftzrhPuzpwnVXb5oi2+aa0JDBxLBDdkGesLvTQ67F2nZ7leq1Q==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-rcX58I7nqpu4mbKztFeOAObbomBbHU2oIb/d3tJfF3dizGSApqtSwYJigGCooHdnMyQBIw8BrWyK96w3YXgr6A==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-JTcxRvmFa9Ec1uyfMEimEMeeKq1sHNZX3vn2qmoUMtnvixXXvcqTcbDZvEZXkEWpGlPlOf4joyep6/qs0BrLyg==}
+ engines: {node: '>=18.0.0'}
+
+ resolution: {integrity: sha512-9Wa9vm3WtDpss0VFBHsbZWcoRccpOSWdpz7YIfb1LBXopZJEg/Zc8ymmaSgvDkP4FhN+pqPS9nZjO7REAJWSUg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==}
+ engines: {node: '>=16'}
+
+ resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
+
+ resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==}
+
+ resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
+
+ resolution: {integrity: sha512-UjE/egX6ixArdcCKOkheuFQ4XN4/0gX92nd2JPVEYuRU2sWHAWuOVGnowm1fQUdQtaxqn1n8H0hOb2LCaUhJ3A==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==}
+ engines: {node: '>=6'}
+ deprecated: this library is no longer supported
+
+ resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}
+
+ resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==}
+
+ resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-J3BK8UtPAR1Lvvfd/qlzmAS1Qb6Q2qx4K1s4FjYVrYvSQnUc7GgOAo9uacebg6WGCdP0eWxtojh7JwEd+AD2Hw==}
+ engines: {node: '>=16.0.0'}
+
+ resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==}
+
+ resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==}
+
+ resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}
+
+ resolution: {integrity: sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==}
+
+ resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==}
+ engines: {node: '>=0.8', npm: '>=1.3.7'}
+
+ resolution: {integrity: sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==}
+ engines: {node: '>=10.19.0'}
+
+ resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==}
+ engines: {node: '>= 14'}
+
+ resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}
+ engines: {node: '>=10.17.0'}
+
+ resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==}
+
+ resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}
+
+ resolution: {integrity: sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==}
+
+ resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==}
+
+ resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==}
+ engines: {node: '>=8'}
+ hasBin: true
+
+ resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
+ engines: {node: '>=0.8.19'}
+
+ resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==}
+
+ 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.
+
+ resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
+
+ resolution: {integrity: sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-MAQUJuIo7Xqk8EVNP+6d3CKq9c80hi4tjIbIAT6lmGW9W6WzlHiu9PS8uSuUYU+Do+j1baiFp3H25XEVxDIG2g==}
+
+ resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-UxC0Yv1Y4WRJiGQxQkP0hfdL0/5/6YvdfOOClRgJ0qppSarkhneSa6UvkMkms0AkdGimSH3Ikqm+6mkMmX7vGA==}
+ engines: {node: '>=12.22.0'}
+
+ resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==}
+ engines: {node: '>= 12'}
+
+ resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
+ engines: {node: '>= 0.10'}
+
+ resolution: {integrity: sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}
+
+ resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-f4RqJKBUe5rQkJ2eJEJBXSticB3hGbN9j0yxxMQFqIW89Jp9WYFtzfTcRlstDKVUTRzSOTLKRfO9vIztenwtxA==}
+ engines: {node: '>=18.20'}
+
+ resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==}
+
+ resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
+ engines: {node: '>=0.12.0'}
+
+ resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
+
+ resolution: {integrity: sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}
+
+ resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==}
+
+ resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}
+
+ resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
+
+ resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
+
+ resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-j2/kt/PGbxvfeEm1uiRLlttZkQdn3hFe1rMr/wm3qFnMXSIw0Nmqu79k+TIoSj+KOwO98Sz9TbuNHU7ejv7IZA==}
+
+ resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==}
+
+ resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ hasBin: true
+ peerDependencies:
+ node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
+ peerDependenciesMeta:
+ node-notifier:
+ optional: true
+
+ resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ peerDependencies:
+ '@types/node': '*'
+ ts-node: '>=9.0.0'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+ ts-node:
+ optional: true
+
+ resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==}
+ engines: {node: '>=6'}
+ peerDependencies:
+ jest-resolve: '*'
+ peerDependenciesMeta:
+ jest-resolve:
+ optional: true
+
+ resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}
+ engines: {node: '>= 10.13.0'}
+
+ resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ hasBin: true
+ peerDependencies:
+ node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
+ peerDependenciesMeta:
+ node-notifier:
+ optional: true
+
+ resolution: {integrity: sha512-+kHj8HXArPfpPEKGLZ+kB5ONRTCiGQXo8RQYL0hH8t6pWXUBBK5KkkQmTNOwKK4LEsd0yTsgtjJVm4UBSZea4w==}
+ engines: {node: '>= 0.6.0'}
+
+ resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
+
+ resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
+ hasBin: true
+
+ resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==}
+
+ resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==}
+
+ resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ canvas: ^2.5.0
+ peerDependenciesMeta:
+ canvas:
+ optional: true
+
+ resolution: {integrity: sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==}
+ engines: {node: '>= 10.16.0'}
+
+ resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==}
+ engines: {node: '>=6'}
+ hasBin: true
+
+ resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
+ engines: {node: '>=6'}
+ hasBin: true
+
+ resolution: {integrity: sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==}
+
+ resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}
+
+ resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}
+
+ resolution: {integrity: sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw==}
+
+ resolution: {integrity: sha512-dq4/oHWmtw/+0ytnXsDqVn+VsVweTEmzm5jLgguPn9BjSzn6/q58ZiZx3BHiQyJs612f0T5Z+MrUEUUY5DHsRg==}
+
+ resolution: {integrity: sha512-4JD/Ivzg7PoW8NzdrBSr3UFwC9mHgvI7Z6z3QGBsSHgKaRTUDmyZAAKJo2UbG1kUVfS9WS8bi36N49U1xw43DA==}
+
+ resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}
+
+ resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
+
+ resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==}
+
+ resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
+
+ resolution: {integrity: sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==}
+
+ resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==}
+
+ resolution: {integrity: sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
+ engines: {node: '>=6'}
+ hasBin: true
+
+ resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==}
+
+ resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==}
+
+ resolution: {integrity: sha512-KbsDJNRfRPF5v49tMNf9sqyyGqGLBcz1v5kZT01kG5ns5mQSltwxCKVmUzVKtEinkUnTDtSrp6ngWpV7Xw0ZlA==}
+
+ resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
+
+ resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==}
+ engines: {'0': node >= 0.2.0}
+
+ resolution: {integrity: sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA==}
+ engines: {node: '>=18.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==}
+ engines: {node: '>=0.6.0'}
+
+ resolution: {integrity: sha512-TCa7ZdxCeq6q3Rgms2JCRHTCfWAETPZ8SzYUbkYF6KR3I03sN29DaOIC+xyWboIcMvjAsD5iG2u/RWzHD8XpgQ==}
+
+ resolution: {integrity: sha512-sdMWKjRq8qWZEjDcVA6llnUT8RDEBIfOiGpYFPYa9u+2c39JCsejktSP7mj5eRid5EIvTzIpQ2kDOCw1Nq9BjQ==}
+
+ resolution: {integrity: sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==}
+
+ resolution: {integrity: sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==}
+
+ resolution: {integrity: sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
+
+ resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-Yuraz7QnMX/JENJU1HA6UtdsbhRzoSFnGpVGVryjQgHtl2s/YmVgmNYkVs5yzVZ9aAvQR9wPBUH3lG755ylxGA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-f1KakiQJa9tdc7w1phC2ST+DyxWimy9c3g3yeF+84QtEanJr2K77wAmBPP22riU05xldniHsvXuflnLZ4oysqA==}
+
+ resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
+
+ resolution: {integrity: sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==}
+
+ resolution: {integrity: sha512-sQKw2Si2g9KUZNY3XNvRuDq4UJqpHwF0/FQzZR2M7I5MvtpWvibikCjUVJzZdGE0ByurEl3KQNvsGetd1ty1/Q==}
+ engines: {node: '>=20.17'}
+ hasBin: true
+
+ resolution: {integrity: sha512-LWzX2KsqcB1wqQ4AHgYb4RsDXauQiqhjLk+6hjbaeHG4zpjjVAB6wC/gz6X0l+Du1cN3pUB5ZlrvTbhGSNnUQQ==}
+ engines: {node: '>=18.0.0'}
+
+ resolution: {integrity: sha512-nVAvWk/jeyrWyXEAs84mpQCYccxRqgKY4OznLuJhJCa0XsPSfdOIr2zvBZEj3IHEHbX97jjscKRRV539bW0Gpw==}
+ engines: {node: '>=13.2.0'}
+
+ resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==}
+ engines: {node: '>=6.11.5'}
+
+ resolution: {integrity: sha512-WunYko2W1NcdfAFpuLUoucsgULmgDBRkdxHxWQ7mK0cQqwPiy8E1enjuRBrhLtZkB5iScJ1XIPdhVEFK8aOLSg==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==}
+
+ resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
+
+ resolution: {integrity: sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==}
+
+ resolution: {integrity: sha512-dvqe2I+cO5MzXCMhUnfYFa9MD+/760yx2aTAN1lqEcEkf896TxgrX373igVdqSJj6tQd0jnSLE1UMuKufqqxFw==}
+
+ resolution: {integrity: sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==}
+
+ resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==}
+ deprecated: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
+
+ resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==}
+
+ resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
+
+ resolution: {integrity: sha512-6raRe2vxCYBhpBu+B+TtNGUzah+hQjVdu3E17wfusjyrXBka2nBS8OH/gjVZ5PvHOhWmIZTYri09Z6n/QfnNMw==}
+
+ resolution: {integrity: sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg==}
+
+ resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
+
+ resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-HgMmCqIJSAKqo68l0rS2AanEWfkxaZ5wNiEFb5ggm08lDs9Xl2KxBlX3PTcaD2chBM1gXAYf491/M2Rv8Jwayg==}
+ engines: {node: '>= 0.6.0'}
+
+ resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==}
+
+ resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==}
+
+ resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
+ hasBin: true
+
+ resolution: {integrity: sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==}
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+
+ resolution: {integrity: sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
+
+ resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}
+
+ resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}
+
+ resolution: {integrity: sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==}
+ engines: {node: '>= 10'}
+
+ resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==}
+
+ resolution: {integrity: sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==}
+ hasBin: true
+
+ resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}
+
+ resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==}
+ engines: {node: '>= 12'}
+ hasBin: true
+
+ 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-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==}
+
+ resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==}
+ engines: {node: '>= 4.0.0'}
+
+ resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==}
+
+ resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
+
+ resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==}
+ engines: {node: '>= 0.6'}
+
+ 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'}
+
+ resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==}
+ engines: {node: '>=4.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==}
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+
+ resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
+
+ resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}
+ engines: {node: '>=16 || 14 >=14.17'}
+
+ resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
+
+ resolution: {integrity: sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-myxeeTm57lYs8pH2nxPzmEEg8DGIgW+9mv6D4JZD2pa81I/OBjeU7PtICXV6c9eRGTA5JMDsuIPUZRCyBMYNhg==}
+
+ resolution: {integrity: sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}
+ engines: {node: '>=16 || 14 >=14.17'}
+
+ resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==}
+
+ resolution: {integrity: sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-8OCq0De/h9ZxseqzCH8Kw/Filf5pF/vMI6+BH7Lu0jXz2pqYCjTAQRolSxRIi+Ax+oCCjlxoJMP0YQ4XlrQNHg==}
+ deprecated: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
+
+ resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}
+ hasBin: true
+
+ resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==}
+
+ resolution: {integrity: sha512-rMO7CGo/9BFwyZABcKAWL8UJwH/Kc2x0g72uhDWzG48URRax5TCIcJ7Rc3RZqffZzO/Gwff/jyKwCU9TN8gehA==}
+
+ resolution: {integrity: sha512-D1PNcdT0y4Grhou5Zi/qgipZOYeWrhLEpk33n3nm6LGtz61jvO88WlrWCK/bigMjpnOdAUKKQwsGIl0NtWMyYw==}
+ engines: {node: '>=16.20.1'}
+ peerDependencies:
+ '@aws-sdk/credential-providers': ^3.188.0
+ '@mongodb-js/zstd': ^1.1.0 || ^2.0.0
+ gcp-metadata: ^5.2.0
+ kerberos: ^2.0.1
+ mongodb-client-encryption: '>=6.0.0 <7'
+ snappy: ^7.2.2
+ socks: ^2.7.1
+ peerDependenciesMeta:
+ '@aws-sdk/credential-providers':
+ optional: true
+ '@mongodb-js/zstd':
+ optional: true
+ gcp-metadata:
+ optional: true
+ kerberos:
+ optional: true
+ mongodb-client-encryption:
+ optional: true
+ snappy:
+ optional: true
+ socks:
+ optional: true
+
+ resolution: {integrity: sha512-WFKsY1q12ScGabnZWUB9c/QzZmz/ESorrV27OembB7Gz6rrh9m3GA4Srsv1uvW1s9AHO5DeZ6DdUTyF9zyNERQ==}
+ engines: {node: '>=16.20.1'}
+
+ resolution: {integrity: sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==}
+ engines: {node: '>=4.0.0'}
+
+ resolution: {integrity: sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==}
+ engines: {node: '>=14.0.0'}
+
+ resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
+
+ resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+
+ resolution: {integrity: sha512-bS8rPZurbAuHGAnApbM9d4h1wSoYqrOqkE+6a64KLMK9yWU7gJXBDDVklKQ3TPi9DRb85cRs6yXaC0+cjxRtRg==}
+ engines: {node: '>= 10.16.0'}
+
+ resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==}
+ engines: {node: ^18.17.0 || >=20.5.0}
+
+ resolution: {integrity: sha512-21t+ozMQDAL/UGgQVBbZ/xXvNO10++ZPuTmKRO8k9V3AClVRht49ahtDjfY8l1q6nSHOrE5ASfthzH3ol6R/hg==}
+ engines: {node: '>=20.17'}
+
+ resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}
+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
+ hasBin: true
+
+ resolution: {integrity: sha512-tOQCRCwC74DgBTk4pWZ9V45sk4d7peoE2njVprMRCBXrhJ5q5cYM7i6W+Uvw2qUrcfOSnuisrX7bEx3b3Wx4QA==}
+ engines: {node: '>= 14.0.0'}
+
+ resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
+
+ resolution: {integrity: sha512-kKHJhxwpR/Okycz4HhQKKlhWe4ASEfPgkSWNmKFHd7+ezuQlxkA5cM3+XkBPvm1gmHen3w53qsYAv+8GwRrBlg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-PfGU8jYWdRl4FqJfCy0IzbkGyFHntfWygZg46nFk/dJD/XRrk2cj0SsKSX9n5u5gE0E0YfEpKWrEkfjnlZSTXA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
+
+ resolution: {integrity: sha512-mAWVB/AsTFyT3Gu981HoQvx57Lnr3pSGtJjtvmSCyNLsklPAxjmRZScGD9WkoSEL5xaG4Uxfk4y4PxXJ/9oTBg==}
+ peerDependencies:
+ '@nestjs/common': '>= 6.10.0 < 12'
+ reflect-metadata: '>= 0.1.12 < 0.3'
+ rxjs: '>= 6.0.0 < 8'
+
+ resolution: {integrity: sha512-8+7Cb476DDo5dEjw89ruSMJdjiXukWQ9iXPC5C0NWMRlVCAku9nbT5Vs7r0nSxWQF3mhBvONEmu//2AnycCoww==}
+ peerDependencies:
+ '@nestjs/common': ^11.0.0 || ^10.0.0 || ^9.0.0
+ '@nestjs/core': ^11.0.0 || ^10.0.0 || ^9.0.0
+ '@nestjs/swagger': ^11.0.0 || ^8.0.0 || ^7.0.0 || ^6.0.0
+ '@nestjs/websockets': ^11.0.0 || ^10.0.0 || ^9.0.0
+ peerDependenciesMeta:
+ '@nestjs/websockets':
+ optional: true
+
+ resolution: {integrity: sha512-+GMNlcNWDRrMtlQftfcxN+5pV2C25A4wsYIY7cfRJTMW4b8IFKYReDrG1lUp5LGql9fXemmnVJ2Ww10iIkCZPQ==}
+ engines: {node: '>= 14'}
+ peerDependencies:
+ '@nestjs/common': ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0
+ pino: ^7.5.0 || ^8.0.0 || ^9.0.0
+ pino-http: ^6.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0
+ rxjs: ^7.1.0
+
+ resolution: {integrity: sha512-1ZOI8J+1PKKGceo/5CT5GfQOG6H8I2BencSK06YarZ2wXwH37BSSUWldqJmMJYA5JfqDqffxDXynt6f11AyKcA==}
+ engines: {node: ^12.20 || >=14.13}
+
+ resolution: {integrity: sha512-tB/a0shZL5UZWSwsoeyqfTszONTt4k2YS0tuQioMOD180+MbombYVgzDUYHlx+gejYK6rgf08n/2Df99WY0Sxg==}
+ engines: {node: '>=10.0.0'}
+
+ resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==}
+
+ resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}
+ engines: {node: '>=10.5.0'}
+ deprecated: Use your platform's native DOMException instead
+
+ resolution: {integrity: sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==}
+
+ resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==}
+ engines: {node: 4.x || >=6.0.0}
+ peerDependencies:
+ encoding: ^0.1.0
+ peerDependenciesMeta:
+ encoding:
+ optional: true
+
+ resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}
+ engines: {node: 4.x || >=6.0.0}
+ peerDependencies:
+ encoding: ^0.1.0
+ peerDependenciesMeta:
+ encoding:
+ optional: true
+
+ resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==}
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+
+ resolution: {integrity: sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==}
+ engines: {node: '>= 10.12.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==}
+
+ resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}
+
+ resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==}
+ engines: {node: '>=6'}
+ hasBin: true
+
+ resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==}
+ engines: {node: '>=14.16'}
+
+ resolution: {integrity: sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==}
+
+ resolution: {integrity: sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==}
+
+ resolution: {integrity: sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==}
+
+ resolution: {integrity: sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==}
+ deprecated: This package is no longer supported.
+
+ resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
+
+ resolution: {integrity: sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-26XRV6BhkgK0VOxfbU5cQI+ICFUtMLixv1noZn1tGU38kQH5A5nmmbk/O45xdyBhD1esk47nKrY0mvQpZIhRjQ==}
+ engines: {node: '>= 6.9.0'}
+ hasBin: true
+ peerDependencies:
+ chokidar: ^3.3.0
+ peerDependenciesMeta:
+ chokidar:
+ optional: true
+
+ resolution: {integrity: sha512-/ieB+mDe4MrrKMT8z+mQL8klXydZWGR5Dowt4RAGKbJ3kIGEx3X4ljUo+6V73IXtUPWgfOlU5B9MlGxFO5T+cA==}
+
+ resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==}
+
+ resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==}
+ engines: {node: '>=14.0.0'}
+
+ resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
+
+ resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-s1cIatOqrrhSj2tmJ4abFYZQK6l5v+V4toO5q1Pa0DyN8mtyqy2I+Qrj5W9vOELEtybIMQs/TBZGVO/DtTFK8w==}
+
+ resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-dD4UpyBh/9m4X2NVjA+73/ZPBRF+uF4zIMFvvQsabMiEK8x41L3rQ8EENOi35kyyoaJwNxEeJcP6Fj1H4U409Q==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==}
+ engines: {node: '>=12.20'}
+
+ resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
+
+ resolution: {integrity: sha512-ZsEbbZORsyHuO00lY1kV3/t72yp6Ysay6Pd17ZAlNGuGwmWDLCJxFpRs0IzfXfj1o4icJOkUEioexFHzyPurSQ==}
+
+ resolution: {integrity: sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-4gySviBiW5TRl7XHvp1agcS7SOe0KZOjC//71dzZVWJrY9hCrgtvl5v3SyIxCZ4fZF47TxD9nfzmxcx76xmbUw==}
+
+ 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-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==}
+
+ resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
+
+ resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==}
+ engines: {node: '>=16'}
+
+ resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}
+
+ resolution: {integrity: sha512-peBp3qZyuS6cNIJ2akRNG1uo1WJ1d0wTxg/fxMdZ0BqCVhx242bSFHM9eNqflfJVS9SsgkzgT/1UgnsurBOTMg==}
+ engines: {node: '>=14.16'}
+
+ resolution: {integrity: sha512-nri2TO5JE3/mRryik9LlHFT53cgHfRK0Lt0BAZQXku/AW3E6XLt2GaY8siWi7dvW/m1z0ecn+J+bpDa9ZN3IsQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==}
+
+ resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==}
+
+ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
+
+ resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
+ engines: {node: '>=8.6'}
+
+ resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==}
+ engines: {node: '>=0.10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-F63x5tizV6WCh4R6RHyi2Ml+M70DNRXt/+HANowMflpgGFMAym/VKm6G7ZOQRjqN7XbGxK1Lg9t6ZrtzOaivMw==}
+
+ resolution: {integrity: sha512-hD91XjgaKkSsdn8P7LaebrNzhGTdB086W3pyPihX0EzGPjq5uBJBXo4N5guqNaK6mUjg9aubMF7wDViYek9dRA==}
+
+ resolution: {integrity: sha512-TNNEOg0eA0u+/WuqH0MH0Xui7uqVk9D74ESOpjtebSQYbNWJk/dIxCXIxFsNfeN53JmtWqYHP2OrIZjT/CBEnA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-e906FRY0+tV27iq4juKzSYPbUj2do2X2JX4EzSca1631EB2QJQUqGbDuERal7LCtOpxl6x3+nvo9NPZcmjkiFA==}
+
+ resolution: {integrity: sha512-vnMCM6xZTb1WDmLvtG2lE/2p+t9hDEIvTWJsu6FejkE62vB7gDhvzrpFR4Cw2to+9JNQxVnkAKVPA1KPB98vWg==}
+ hasBin: true
+
+ resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-Fq0FERJWFEUpB4eSY59wSNwXD4RYqR+nR/WiEVcZW8IWfVBxJJafcgTEZDQo8k3w0sUarJ8RyVbbUF4GQ2LGbQ==}
+
+ resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}
+
+ resolution: {integrity: sha512-2SM/GZGAEkPp3KWORxQZns4M+WSeXbC2HEvmOIJe3Cmiv6ieAJvdVhDldtHqM5J1Y7MrR1XhkBT/rMlhh9FdqQ==}
+
+ resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-3nW5RLmREmZ8Pm8MbPsO2RM+99RRjYd25ynj3NV0cFsN7CcEl4sDFzgoFmSyduFwxFQ2Qbu3y2UdCh6HlyUOeA==}
+
+ resolution: {integrity: sha512-PxkIc/2ZpLiEzQXu5YRDOUgBlfGYBY8156HY5ZcRAwwonMk5W/MrJP2LLkG/hF7GEQzaHo2aS7ho6ZLCOvf+6g==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
+ engines: {node: ^10 || ^12 || >=14}
+
+ resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==}
+ engines: {node: '>=6.0.0'}
+
+ resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==}
+ engines: {node: '>=14'}
+ hasBin: true
+
+ resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-aCk8AO51s+4JyuYGg3Q/a6gnrlDO09NpVWePtjp7xwphcoQ04x5WAfCyugcsbLooWcMJ87CLkD4+604IckEdhg==}
+
+ resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}
+
+ resolution: {integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==}
+
+ resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}
+ engines: {node: '>=0.4.0'}
+
+ resolution: {integrity: sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==}
+
+ resolution: {integrity: sha512-1vTUnfI2hzui8AEIixbdAJlFY4LFDXqQswy/2eOlThAscXCY4It8FdVuI0fMJGAB2aWGbdQf/gv0skKYXmdrHA==}
+
+ resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==}
+ peerDependencies:
+ bluebird: '*'
+ peerDependenciesMeta:
+ bluebird:
+ optional: true
+
+ resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
+
+ resolution: {integrity: sha512-sildjKwVqOI2kmFDiXQ6aEB0fjYTafpEvIBs8tOR8qI4spuL9OPROLVu2qZqi/xgCfsHIwVqlaF8JBjWFHnKbw==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}
+ engines: {node: '>= 0.10'}
+
+ resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
+
+ resolution: {integrity: sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==}
+
+ resolution: {integrity: sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==}
+
+ resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-+H0Gm84aXUvSLdSiDROtLlOofftClgw2TdceMvvCU9UvMryappoeS3+eOLfKvoy4sm8B8MWnYmPhWxVFudAOFQ==}
+ engines: {node: '>=14.1.0'}
+ deprecated: < 22.8.2 is no longer supported
+
+ resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==}
+
+ resolution: {integrity: sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==}
+ engines: {node: '>=0.6.0', teleport: '>=0.2.0'}
+ deprecated: |-
+ You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
+
+ (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
+
+ resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}
+ engines: {node: '>=0.6'}
+
+ resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==}
+ engines: {node: '>=0.6'}
+
+ resolution: {integrity: sha512-t41VRkMYbkHyCYmOvx/6URnN80H7k4X0lLdBMGsz+maAwrJQYB1djpV6vHrQIBE0WBSGqhtEHrK9U3DWWH8v7A==}
+
+ resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==}
+
+ resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
+
+ resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==}
+
+ resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-+wLDAV2NNv9NkfEUOYStaDu/6RYgYXeC1zLtXE+dMU/jDfjpN4iJnBGycDwFTFaIQGosOQhxph7fEX6Mpwxdug==}
+ hasBin: true
+
+ resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==}
+
+ resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==}
+ peerDependencies:
+ react: 17.0.2
+
+ resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
+
+ resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}
+
+ resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw==}
+
+ resolution: {integrity: sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==}
+
+ resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==}
+ deprecated: This functionality has been moved to @npmcli/fs
+
+ resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
+ engines: {node: '>=8.10.0'}
+
+ resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}
+ engines: {node: '>= 14.18.0'}
+
+ resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==}
+ engines: {node: '>= 12.13.0'}
+
+ resolution: {integrity: sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==}
+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw==}
+ deprecated: This version has a critical bug in fallback handling. Please upgrade to [email protected] or newer.
+
+ resolution: {integrity: sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==}
+
+ resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==}
+ engines: {node: '>=4'}
+
+ 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'}
+
+ resolution: {integrity: sha512-H66BPQMrv+V16t8xtmq+UC0CBpiTBA60V8ibS1QVReIp8T1z8hwFxqcGzm9K6lgsN7sB5edVH8a+ze6Fqm4weA==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==}
+
+ resolution: {integrity: sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==}
+ hasBin: true
+
+ resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==}
+ engines: {node: '>=0.10'}
+
+ resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==}
+ engines: {node: '>= 6'}
+ deprecated: request has been deprecated, see https://github.com/request/request/issues/3142
+
+ resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==}
+
+ resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==}
+
+ resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
+
+ resolution: {integrity: sha512-+1lzwXehGCXSeryaISr6WujZzowloigEofRB+dj75y9RRa/obVcYgbHJd53tdYw8pvZj8GojXaaENws8Ktw/hQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==}
+ engines: {node: '>= 0.4'}
+ hasBin: true
+
+ resolution: {integrity: sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==}
+ engines: {node: '>=14.16'}
+
+ resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
+ engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==}
+
+ resolution: {integrity: sha512-R5KMKHnPAQaZMqLOsyuyUmcIjSeDm+73eoqQpaXA7AZ22BL+6C+1mcUscgOsNd8WVlJuvlgAPsegcx7pjlV0Dg==}
+ deprecated: Rimraf versions prior to v4 are no longer supported
+ hasBin: true
+
+ resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
+ deprecated: Rimraf versions prior to v4 are no longer supported
+ hasBin: true
+
+ resolution: {integrity: sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==}
+ engines: {node: '>=10.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==}
+ engines: {node: '>= 18'}
+
+ resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
+
+ resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}
+
+ resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==}
+
+ resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==}
+ engines: {node: '>=0.4'}
+
+ resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
+
+ resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
+
+ resolution: {integrity: sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==}
+
+ resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
+
+ resolution: {integrity: sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==}
+
+ resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==}
+ engines: {node: '>= 10.13.0'}
+
+ resolution: {integrity: sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==}
+ engines: {node: '>= 10.13.0'}
+
+ resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==}
+ engines: {node: ^14.0.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-dxtLJO6sc35jWidmLxo7ij+Eg48PM/kleBsxpC8QJE0qJICe+KawkDQmvCMZUr9u7WKVHgMW6vy3fQ7zMiFZMA==}
+
+ resolution: {integrity: sha512-SMguiTnYrhpLdk3PwfzHeotrcwi8bNV4iemL9tx9poR/yeaMYwB9VzR1w7b57DuWpuqR8n6oZboi0hj3AxZxQg==}
+ hasBin: true
+
+ resolution: {integrity: sha512-hunMQrEy1T6Jr2uEVjrAIqjwWcQTgOAcIM52C8MY1EZSD3DDNft04XzvYKPqjED65bNVVko0YI38nYeEHCX3yw==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-LJWA9kSvMolR51oDE6PN3kALBNaUdkxzAGcexw8gjMA8xr5zUqK0JiR3CgARSqanYF3Z1YHvsErb1KDgh+v7Rg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==}
+ hasBin: true
+
+ resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==}
+ engines: {node: '>= 18'}
+
+ resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
+
+ resolution: {integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==}
+ engines: {node: '>= 18'}
+
+ resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
+
+ resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zTEg4HL0RwVrqcWs3ztF+x1vkxfm0lP+MQQFPiMJTKVceBwEV0A569Ou8l9IYQG8jOZdMVI1hGsc0tmeD2o/Lw==}
+ engines: {node: '>=11.0'}
+
+ resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
+
+ resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Rtlj66/b0ICeFzYTuNvX/EF1igRbbnGSvEyT79McoZa/DeGhMyC5pWKOEsZKnpkqtSeovd5FL/bjHWC3CIIvCQ==}
+
+ resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
+
+ resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-LH7FpTAkeD+y5xQC4fzS+tFtaNlvt3Ib1zKzvhjv/Y+cioV4zIuw4IZr2yhRLu67CWL7FR9/6KXKnjRoZTvGGQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-Rs/vQRwsn1ILH1oBUy8NucJlXmnnLeLCfcvbSehkPzbv3wwoFWIdtfd6Ndo6ZPhlPsCZ60CPI4rxurnwAa+a2w==}
+
+ resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
+
+ resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==}
+ engines: {node: '>= 6.0.0', npm: '>= 3.0.0'}
+
+ resolution: {integrity: sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==}
+ engines: {node: '>= 10'}
+
+ resolution: {integrity: sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==}
+ engines: {node: '>= 10.0.0', npm: '>= 3.0.0'}
+
+ resolution: {integrity: sha512-INb7TM37/mAcsGmc9hyyI6+QR3rR1zVRu36B0NeGXKnOOLiZOfER5SA+N7X7k3yUYRzLWafduTDvJAfDswwEww==}
+
+ resolution: {integrity: sha512-GRbEOUqCxemTAk/b32F2xa8wDTs+Z1QHOkbhJDQTvv/6G3ZkbJ+frYWsTcc7cBB3Fu4wy4XlLCuNtJuMn7Gsvw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-vzn8aSqKgytVik0iwdBEi+zevbTYZogewTUM6dtpmGwEcdzbub/TX4bCzRhebDCRC3QzXgJsLRKB2V/Oof7HXg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==}
+
+ resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
+
+ resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==}
+
+ resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==}
+
+ resolution: {integrity: sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==}
+
+ resolution: {integrity: sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==}
+
+ resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==}
+ engines: {node: '>= 10.x'}
+
+ resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}
+
+ resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==}
+
+ resolution: {integrity: sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==}
+ engines: {node: '>=0.10.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==}
+
+ resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}
+ engines: {node: '>=10.0.0'}
+
+ resolution: {integrity: sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==}
+
+ resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==}
+ engines: {node: '>=0.6.19'}
+
+ resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==}
+
+ resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}
+
+ resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-I0sdgcFTfKQlUPZyAqPJmSG3HLO9rWDFnxonnIbskYNM3DwFOeTNB5KzVq3dA1GdRAc/25b5Y7UO2TQfKWw4aQ==}
+
+ resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-4X2FR3UwhNUE9G49aIsJW5hRRR3GXGTBTZRMfv568O60ojM8HcWjV/VxAxCDW3SUND33O6ZY66ZuRcdkj73q2g==}
+ engines: {node: '>=14.16'}
+
+ resolution: {integrity: sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==}
+
+ resolution: {integrity: sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw==}
+
+ resolution: {integrity: sha512-Xt18+h4s7Z8xyZ0tmBoRmzxcop97R4BAh+dXouUDCYn+Em+1P3qpkUfI5ueWLT8ynC5hZ+q4iPEmGG1urvQGBg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-FhwotcEqjr241ZbjFzjlIYg6c5/L/s4yBGWSMvJ9UoExiSqL+FnFA/CaeZx17WGaZMS/4SOZp8wH18jSS4R4lw==}
+ engines: {node: '>=16'}
+
+ resolution: {integrity: sha512-O+PCv11lgTNJUzy49teNAWLjBZfc+A1enOwTpLlH6/rsvKcTwcdTT8m9azGkVqM7HBl5jpyZ7KTPhHweokBcdg==}
+ engines: {node: '>=14.18.0'}
+
+ resolution: {integrity: sha512-aI59HBTlG9e2wTjxGJV+DygfNLgnWbGdZxiA/sgrnNNikIW8lbDvCtF6RnhZoJ82nU7qv7ZLjrvWqCEm52fAmw==}
+ engines: {node: '>=14.18.0'}
+
+ resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-E0K3AB6HvQd8yQNSMR7eE5bk+323AUxjtCz/4ZNKiahOlPhPJxqn3UPIGs00cyY/dhrTDJ61L7C/a8u6zhGrZg==}
+
+ resolution: {integrity: sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==}
+ engines: {node: '>=0.10'}
+
+ resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
+
+ resolution: {integrity: sha512-2pR2ubZSV64f/vqm9eLPz/KOvR9Dm+Co/5ChLgeHl0yEDRc6h5hXHoxEQH8Y5Ljycozd3p1k5TTSVdzYGkPvLw==}
+ 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-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==}
+
+ resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==}
+
+ resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==}
+ engines: {node: '>= 10.13.0'}
+ peerDependencies:
+ '@swc/core': '*'
+ esbuild: '*'
+ uglify-js: '*'
+ webpack: ^5.1.0
+ peerDependenciesMeta:
+ '@swc/core':
+ optional: true
+ esbuild:
+ optional: true
+ uglify-js:
+ optional: true
+
+ resolution: {integrity: sha512-yEPUmWve+VA78bI71BW70Dh0TuV4HHd+I5SHOAfS1+QBOmvmCiiffgjR8ryyEd3KIfvPGFqoADt8LdQ6XpXIvg==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==}
+
+ resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==}
+
+ resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
+
+ resolution: {integrity: sha512-NLoA//tTMBPTr0oGdq+fxnvVR0tDa8tOcG9ZGbuovGzROadZ404qOV4g01jeWa5S8MC9nAOvu5bQgCW7s8tlWQ==}
+
+ resolution: {integrity: sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==}
+
+ resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==}
+ engines: {node: '>=0.6.0'}
+
+ resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==}
+
+ resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
+ engines: {node: '>=8.0'}
+
+ resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
+ engines: {node: '>=0.6'}
+
+ resolution: {integrity: sha512-lbDrTLVsHhOMljPscd0yitpozq7Ga2M5Cvez5AjGg8GASBjtt6iERCAJ93yommPmz62fb45oFIXHEZ3u9bfJEA==}
+ engines: {node: '>=14.16'}
+
+ 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'}
+
+ resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
+
+ resolution: {integrity: sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
+ hasBin: true
+
+ resolution: {integrity: sha512-whw60l7r+8ZU8Tu/Uc2yxtc4ZTZbR/PF3u1IPNKGQ6p8EICLb3Z2lAgoqw9bqYd8IkgnsaOcLzYHFckjqNsf0g==}
+
+ resolution: {integrity: sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==}
+ engines: {node: '>=18.12'}
+ peerDependencies:
+ typescript: '>=4.8.4'
+
+ resolution: {integrity: sha512-EDyGAwH1gO0Ausm9gV6T2nUvBgXT5kGoCMJPllOaooZ+4VvJiKBdZE7wK18N1deEowhcUptS+5GXZK8U/fvpwA==}
+ peerDependencies:
+ typescript: '>=4.0.0'
+
+ resolution: {integrity: sha512-Iqbrm8IXOmV+ggWHOTEbjwyCf2xZlUMv5npExksXohL+tk8va4Fjhb+X2+Rt9NBmgO7bJ8WpnMLOwih/DnMlFA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0}
+ hasBin: true
+ peerDependencies:
+ '@babel/core': '>=7.0.0-beta.0 <8'
+ '@jest/transform': ^29.0.0
+ '@jest/types': ^29.0.0
+ babel-jest: ^29.0.0
+ esbuild: '*'
+ jest: ^29.0.0
+ typescript: '>=4.3 <6'
+ peerDependenciesMeta:
+ '@babel/core':
+ optional: true
+ '@jest/transform':
+ optional: true
+ '@jest/types':
+ optional: true
+ babel-jest:
+ optional: true
+ esbuild:
+ optional: true
+
+ resolution: {integrity: sha512-Qo4piXvOTWcMGIgRiuFa6nHNm+54HbYaZCKqc9eeZCLRy3XqafQgwX2F7mofrbJG3g7EEb+lkiR+z2Lic2s3Zw==}
+ engines: {node: '>=12.0.0'}
+ peerDependencies:
+ typescript: '*'
+ webpack: ^5.0.0
+
+ resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}
+ hasBin: true
+ peerDependencies:
+ '@swc/core': '>=1.2.50'
+ '@swc/wasm': '>=1.2.50'
+ '@types/node': '*'
+ typescript: '>=2.7'
+ peerDependenciesMeta:
+ '@swc/core':
+ optional: true
+ '@swc/wasm':
+ optional: true
+
+ resolution: {integrity: sha512-zbem3rfRS8BgeNK50Zz5SIQgXzLafiHjOwUAvk/38/o1jHn/V5QAgVUcz884or7WYcPaH3N2CIfUc2u0ul7UcA==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
+
+ resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+
+ resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}
+
+ resolution: {integrity: sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==}
+
+ resolution: {integrity: sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==}
+
+ resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==}
+ engines: {node: '>=16'}
+
+ resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==}
+
+ resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==}
+
+ resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==}
+ engines: {node: '>=4.2.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}
+ engines: {node: '>=14.17'}
+ hasBin: true
+
+ resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==}
+
+ resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
+
+ resolution: {integrity: sha512-u3xV3X7uzvi5b1MncmZo3i2Aw222Zk1keqLA1YkHldREkAhAqi65wuPfe7lHx8H/Wzy+8CE7S7uS3jekIM5s8g==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-ZPtzy0hu4cZjv3z5NW9gfKnNLjoz4y6uv4HlelAjDK7sY/xOkKZv9xK/WQpcsBB3jEybChz9DPC2U/+cusjJVQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==}
+
+ resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
+
+ resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==}
+
+ resolution: {integrity: sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==}
+
+ resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==}
+
+ resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==}
+
+ resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==}
+
+ resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==}
+
+ resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==}
+ engines: {node: '>= 4.0.0'}
+
+ resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
+ engines: {node: '>= 10.0.0'}
+
+ resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
+ hasBin: true
+ peerDependencies:
+ browserslist: '>= 4.21.0'
+
+ resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
+
+ resolution: {integrity: sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==}
+
+ resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==}
+
+ resolution: {integrity: sha512-XdVKMF4SJ0nP/O7XIPB0JwAEuT9lDIYnNsK8yGVe43y0AWoKeJNdv3ZNWh7ksJ6KqQFjOO6ox/VEitLnaVNufw==}
+
+ resolution: {integrity: sha512-n0iKSeiQpJCyaFh5JA0qsVLBIovsF4EIIR1G6XiBwKJN66ZrD4Oj62bjcuTAATPKiSp6an/2UZZxCf/67fk3sQ==}
+ peerDependencies:
+ react: '>=16.8.0'
+ react-dom: '>=16.8.0'
+
+ resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
+
+ resolution: {integrity: sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==}
+ deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
+ hasBin: true
+
+ resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}
+
+ resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==}
+ engines: {node: '>=10.12.0'}
+
+ resolution: {integrity: sha512-sgECfZthyaCKW10N0fm27cg8HYTFK5qMWgypqkXMQ4Wbl/zZKx7xZICgcoxIIE+WFAP/MBL2EFwC/YvLxw3Zeg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==}
+
+ resolution: {integrity: sha512-36B2ryl4+oL5QxZ3AzD0t5SsMNGvTtQHpjgFO5tbNxfXbMFkY822ktCDe1MnlqV3301QQI9SLHDNJokDI+Z9pA==}
+ engines: {node: '>= 0.10'}
+
+ resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==}
+ engines: {'0': node >=0.6.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.
+
+ resolution: {integrity: sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg==}
+
+ resolution: {integrity: sha512-4eRTBZljBfIISK1Vnt69Gvr2w/wc3U6Vtrw7qiN5iqYJPH7LElcYh/iU4XWhdCy2dZqv1ToMyYlybDylfG/5Vg==}
+
+ resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==}
+
+ resolution: {integrity: sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==}
+
+ resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-fPt6XuMqLSvBz8exwX4QE1UT+pROLHa00EMDCdO0ybICduwQ1V4f7AWX4pNOpCp+x+0FjczEsOxtQU0d8L3QKw==}
+
+ resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
+
+ resolution: {integrity: sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==}
+ engines: {node: '>=10.4'}
+
+ resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-LnL6Z3GGDPht/AigwRh2dvL9PQPFQ8skEpVrWZXLWBYmqcaojHNN0onvHzie6rq7EWKrrBfPYqNEzTJgiwEQDQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-77R0RDmJfj9dyv5p3bM5pOHa+X8/ZkO9c7kpDstigkC4nIDobadsfSGCwB4bKhMVxqAok8tajaoR8rirM7+VFQ==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-TJOLrJ6oeccsGWPl7ujCYuc0pIq2cNsuD6GZDma8i5o5Npvcco/z+NKvZSFsP0/x6SShVb0+X2JK/JHUjKY9dQ==}
+ engines: {node: '>=10.13.0'}
+ hasBin: true
+ peerDependencies:
+ webpack-cli: '*'
+ peerDependenciesMeta:
+ webpack-cli:
+ optional: true
+
+ resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==}
+
+ resolution: {integrity: sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==}
+
+ resolution: {integrity: sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
+
+ resolution: {integrity: sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
+ engines: {node: '>= 8'}
+ hasBin: true
+
+ resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==}
+
+ resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
+
+ resolution: {integrity: sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==}
+
+ resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==}
+ engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==}
+ engines: {node: '>=8.3.0'}
+ peerDependencies:
+ bufferutil: ^4.0.1
+ utf-8-validate: ^5.0.2
+ peerDependenciesMeta:
+ bufferutil:
+ optional: true
+ utf-8-validate:
+ optional: true
+
+ resolution: {integrity: sha512-c2gsP0PRwcLFzUiA8Mkr37/MI7ilIlHQxaEAtd0uNMbVMoy8puJyafRlm0bV9MbGSabUPeLrRRaqIBcFcA2Pqg==}
+ engines: {node: '>=10.0.0'}
+ peerDependencies:
+ bufferutil: ^4.0.1
+ utf-8-validate: ^5.0.2
+ peerDependenciesMeta:
+ bufferutil:
+ optional: true
+ utf-8-validate:
+ optional: true
+
+ resolution: {integrity: sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==}
+
+ resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==}
+
+ resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}
+ engines: {node: '>=0.4'}
+
+ resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
+
+ resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
+
+ resolution: {integrity: sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==}
+
+ resolution: {integrity: sha512-E/+VitOorXSLiAqtTd7Yqax0/pAS3xaYMP+AUUJGOK1OZG3rhcj9fcJOM5HJ2VrP1FrStVCWr1muTfQCdj4tAA==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==}
+ engines: {node: '>= 14.6'}
+ hasBin: true
+
+ resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==}
+
+ resolution: {integrity: sha512-Ow9nuGZE+qp1u4JIPvg+uCiUr7xGQWdff7JQSk5VGYTAZMDe2q8lxJ10ygv10qmSj031Ty/6FNJpLO4o1Sgc+w==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-BsBc/NPk7h8WsUWYWYL+BajcJPY8YhjelaWu2NMLuzgraKAz4Lb4/6K11g9jpuDetjMiqhZ6YaexFLOC0Ogi3Q==}
+
+ resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
+
+snapshots:
+
+ '@alexlau811/[email protected]':
+ dependencies:
+ '@aws-sdk/client-cloudwatch-logs': 3.859.0
+ async: 3.2.6
+ chunky-stream: 0.3.0
+ pump: 3.0.3
+ split2: 4.2.0
+ yargs: 17.7.2
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@ampproject/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.8
+ '@jridgewell/trace-mapping': 0.3.25
+
+ dependencies:
+ ajv: 8.17.1
+ ajv-formats: 3.0.1([email protected])
+ jsonc-parser: 3.3.1
+ picomatch: 4.0.2
+ rxjs: 7.8.1
+ source-map: 0.7.4
+ optionalDependencies:
+ chokidar: 3.6.0
+
+ dependencies:
+ ajv: 8.17.1
+ ajv-formats: 3.0.1([email protected])
+ jsonc-parser: 3.3.1
+ picomatch: 4.0.2
+ rxjs: 7.8.1
+ source-map: 0.7.4
+ optionalDependencies:
+ chokidar: 4.0.3
+
+ dependencies:
+ ajv: 8.17.1
+ ajv-formats: 3.0.1([email protected])
+ jsonc-parser: 3.3.1
+ picomatch: 4.0.2
+ rxjs: 7.8.1
+ source-map: 0.7.4
+ optionalDependencies:
+ chokidar: 4.0.3
+
+ dependencies:
+ '@angular-devkit/core': 19.2.8([email protected])
+ '@angular-devkit/schematics': 19.2.8([email protected])
+ '@inquirer/prompts': 7.3.2(@types/[email protected])
+ ansi-colors: 4.1.3
+ symbol-observable: 4.0.0
+ yargs-parser: 21.1.1
+ transitivePeerDependencies:
+ - '@types/node'
+ - chokidar
+
+ dependencies:
+ '@angular-devkit/core': 19.2.6([email protected])
+ jsonc-parser: 3.3.1
+ magic-string: 0.30.17
+ ora: 5.4.1
+ rxjs: 7.8.1
+ transitivePeerDependencies:
+ - chokidar
+
+ dependencies:
+ '@angular-devkit/core': 19.2.6([email protected])
+ jsonc-parser: 3.3.1
+ magic-string: 0.30.17
+ ora: 5.4.1
+ rxjs: 7.8.1
+ transitivePeerDependencies:
+ - chokidar
+
+ dependencies:
+ '@angular-devkit/core': 19.2.8([email protected])
+ jsonc-parser: 3.3.1
+ magic-string: 0.30.17
+ ora: 5.4.1
+ rxjs: 7.8.1
+ transitivePeerDependencies:
+ - chokidar
+
+ 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': 6.6.0
+ '@stylistic/eslint-plugin': 5.1.0([email protected])
+ '@typescript-eslint/eslint-plugin': 8.35.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ '@typescript-eslint/parser': 8.35.1([email protected])([email protected])
+ '@vitest/eslint-plugin': 1.3.4([email protected])([email protected])
+ ansis: 4.1.0
+ cac: 6.7.14
+ eslint: 9.27.0
+ eslint-config-flat-gitignore: 2.1.0([email protected])
+ eslint-flat-config-utils: 2.1.0
+ 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: 51.3.3([email protected])
+ eslint-plugin-jsonc: 2.20.1([email protected])
+ eslint-plugin-n: 17.20.0([email protected])([email protected])
+ eslint-plugin-no-only-tests: 3.3.0
+ eslint-plugin-perfectionist: 4.15.0([email protected])([email protected])
+ eslint-plugin-pnpm: 0.3.1([email protected])
+ eslint-plugin-regexp: 2.9.0([email protected])
+ eslint-plugin-toml: 0.12.0([email protected])
+ eslint-plugin-unicorn: 59.0.1([email protected])
+ eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])
+ eslint-plugin-yml: 1.18.0([email protected])
+ eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected])
+ globals: 16.3.0
+ jsonc-eslint-parser: 2.4.0
+ local-pkg: 1.1.1
+ 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-plugin-format: 1.0.1([email protected])
+ transitivePeerDependencies:
+ - '@eslint/json'
+ - '@vue/compiler-sfc'
+ - supports-color
+ - typescript
+ - vitest
+
+ '@antfu/[email protected]':
+ dependencies:
+ package-manager-detector: 1.3.0
+ tinyexec: 1.0.1
+
+ '@apidevtools/[email protected]':
+ dependencies:
+ '@jsdevtools/ono': 7.1.3
+ '@types/json-schema': 7.0.15
+ call-me-maybe: 1.0.2
+ js-yaml: 4.1.0
+
+ '@asyncapi/[email protected]':
+ dependencies:
+ avsc: 5.7.7
+
+ dependencies:
+ '@asyncapi/parser': 3.4.0([email protected])
+ '@types/json-schema': 7.0.15
+ avsc: 5.7.7
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@asyncapi/parser': 1.18.1([email protected])
+ '@babel/core': 7.12.9
+ '@babel/preset-env': 7.28.0(@babel/[email protected])
+ '@babel/preset-react': 7.27.1(@babel/[email protected])
+ '@rollup/plugin-babel': 5.3.1(@babel/[email protected])(@types/[email protected])([email protected])
+ babel-plugin-source-map-support: 2.2.0
+ prop-types: 15.8.1
+ react: 17.0.2
+ rollup: 2.79.2
+ source-map-support: 0.5.21
+ transitivePeerDependencies:
+ - '@types/babel__core'
+ - encoding
+ - supports-color
+
+ dependencies:
+ '@asyncapi/generator-react-sdk': 0.2.25(@types/[email protected])([email protected])
+ '@asyncapi/parser': 2.1.0([email protected])
+ '@npmcli/arborist': 2.10.0
+ '@smoya/multi-parser': 4.1.0([email protected])
+ ajv: 8.17.1
+ chokidar: 3.6.0
+ commander: 6.2.1
+ filenamify: 4.3.0
+ fs.extra: 1.3.2
+ global-dirs: 3.0.1
+ jmespath: 0.15.0
+ js-yaml: 3.14.1
+ levenshtein-edit-distance: 2.0.5
+ loglevel: 1.9.2
+ markdown-it: 12.3.2
+ minimatch: 3.1.2
+ node-fetch: 2.7.0([email protected])
+ nunjucks: 3.2.4([email protected])
+ resolve-from: 5.0.0
+ resolve-pkg: 2.0.0
+ semver: 7.7.2
+ simple-git: 3.28.0
+ source-map-support: 0.5.21
+ typescript: 4.9.5
+ transitivePeerDependencies:
+ - '@swc/core'
+ - '@swc/wasm'
+ - '@types/babel__core'
+ - '@types/node'
+ - bluebird
+ - encoding
+ - supports-color
+
+ dependencies:
+ '@asyncapi/parser': 1.18.1([email protected])
+ '@asyncapi/react-component': 1.0.0-next.47([email protected])([email protected]([email protected]))([email protected])
+ highlight.js: 10.7.3
+ node-fetch: 2.7.0([email protected])
+ puppeteer: 14.4.1([email protected])
+ react: 17.0.2
+ react-dom: 17.0.2([email protected])
+ rimraf: 3.0.2
+ transitivePeerDependencies:
+ - bufferutil
+ - canvas
+ - encoding
+ - supports-color
+ - utf-8-validate
+
+ '@asyncapi/[email protected]':
+ dependencies:
+ '@openapi-contrib/openapi-schema-to-json-schema': 3.2.0
+ conventional-changelog-conventionalcommits: 5.0.0
+
+ dependencies:
+ '@asyncapi/parser': 3.4.0([email protected])
+ '@openapi-contrib/openapi-schema-to-json-schema': 3.2.0
+ ajv: 8.17.1
+ ajv-errors: 3.0.0([email protected])
+ ajv-formats: 2.1.1([email protected])
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@apidevtools/json-schema-ref-parser': 9.1.2
+ '@asyncapi/specs': 4.3.1
+ '@fmvilas/pseudo-yaml-ast': 0.3.1
+ ajv: 6.12.6
+ js-yaml: 3.14.1
+ json-to-ast: 2.1.0
+ lodash.clonedeep: 4.5.0
+ node-fetch: 2.7.0([email protected])
+ tiny-merge-patch: 0.1.2
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@asyncapi/specs': 5.1.0
+ '@openapi-contrib/openapi-schema-to-json-schema': 3.2.0
+ '@stoplight/json-ref-resolver': 3.1.6
+ '@stoplight/spectral-core': 1.20.0([email protected])
+ '@stoplight/spectral-functions': 1.10.1([email protected])
+ '@stoplight/spectral-parsers': 1.0.5
+ '@types/json-schema': 7.0.15
+ '@types/urijs': 1.19.25
+ ajv: 8.17.1
+ ajv-errors: 3.0.0([email protected])
+ ajv-formats: 2.1.1([email protected])
+ avsc: 5.7.7
+ js-yaml: 4.1.0
+ jsonpath-plus: 7.2.0
+ node-fetch: 2.6.7([email protected])
+ ramldt2jsonschema: 1.2.3
+ webapi-parser: 0.5.0
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@asyncapi/specs': 6.8.1
+ '@openapi-contrib/openapi-schema-to-json-schema': 3.2.0
+ '@stoplight/json': 3.21.0
+ '@stoplight/json-ref-readers': 1.2.2([email protected])
+ '@stoplight/json-ref-resolver': 3.1.6
+ '@stoplight/spectral-core': 1.20.0([email protected])
+ '@stoplight/spectral-functions': 1.10.1([email protected])
+ '@stoplight/spectral-parsers': 1.0.5
+ '@stoplight/spectral-ref-resolver': 1.0.5([email protected])
+ '@stoplight/types': 13.20.0
+ '@types/json-schema': 7.0.15
+ '@types/urijs': 1.19.25
+ ajv: 8.17.1
+ ajv-errors: 3.0.0([email protected])
+ ajv-formats: 2.1.1([email protected])
+ avsc: 5.7.7
+ js-yaml: 4.1.0
+ jsonpath-plus: 10.3.0
+ node-fetch: 2.6.7([email protected])
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@asyncapi/parser': 3.4.0([email protected])
+ '@types/protocol-buffers-schema': 3.4.3
+ protobufjs: 7.5.3
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@asyncapi/parser': 3.4.0([email protected])
+ js-yaml: 4.1.0
+ ramldt2jsonschema: 1.2.3
+ webapi-parser: 0.5.0
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@asyncapi/avro-schema-parser': 1.1.0
+ '@asyncapi/openapi-schema-parser': 2.0.3
+ '@asyncapi/parser': 1.18.1([email protected])
+ highlight.js: 10.7.3
+ isomorphic-dompurify: 0.13.0
+ marked: 4.3.0
+ openapi-sampler: 1.6.1
+ react: 17.0.2
+ react-dom: 17.0.2([email protected])
+ transitivePeerDependencies:
+ - bufferutil
+ - canvas
+ - encoding
+ - supports-color
+ - utf-8-validate
+
+ '@asyncapi/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+
+ '@asyncapi/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+
+ '@asyncapi/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+
+ '@aws-crypto/[email protected]':
+ dependencies:
+ '@aws-crypto/util': 5.2.0
+ '@aws-sdk/types': 3.840.0
+ tslib: 2.8.1
+
+ '@aws-crypto/[email protected]':
+ dependencies:
+ '@aws-crypto/sha256-js': 5.2.0
+ '@aws-crypto/supports-web-crypto': 5.2.0
+ '@aws-crypto/util': 5.2.0
+ '@aws-sdk/types': 3.840.0
+ '@aws-sdk/util-locate-window': 3.804.0
+ '@smithy/util-utf8': 2.3.0
+ tslib: 2.8.1
+
+ '@aws-crypto/[email protected]':
+ dependencies:
+ '@aws-crypto/util': 5.2.0
+ '@aws-sdk/types': 3.840.0
+ tslib: 2.8.1
+
+ '@aws-crypto/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@aws-crypto/[email protected]':
+ dependencies:
+ '@aws-sdk/types': 3.840.0
+ '@smithy/util-utf8': 2.3.0
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-crypto/sha256-browser': 5.2.0
+ '@aws-crypto/sha256-js': 5.2.0
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/credential-provider-node': 3.859.0
+ '@aws-sdk/middleware-host-header': 3.840.0
+ '@aws-sdk/middleware-logger': 3.840.0
+ '@aws-sdk/middleware-recursion-detection': 3.840.0
+ '@aws-sdk/middleware-user-agent': 3.858.0
+ '@aws-sdk/region-config-resolver': 3.840.0
+ '@aws-sdk/types': 3.840.0
+ '@aws-sdk/util-endpoints': 3.848.0
+ '@aws-sdk/util-user-agent-browser': 3.840.0
+ '@aws-sdk/util-user-agent-node': 3.858.0
+ '@smithy/config-resolver': 4.1.4
+ '@smithy/core': 3.7.2
+ '@smithy/eventstream-serde-browser': 4.0.4
+ '@smithy/eventstream-serde-config-resolver': 4.1.2
+ '@smithy/eventstream-serde-node': 4.0.4
+ '@smithy/fetch-http-handler': 5.1.0
+ '@smithy/hash-node': 4.0.4
+ '@smithy/invalid-dependency': 4.0.4
+ '@smithy/middleware-content-length': 4.0.4
+ '@smithy/middleware-endpoint': 4.1.17
+ '@smithy/middleware-retry': 4.1.18
+ '@smithy/middleware-serde': 4.0.8
+ '@smithy/middleware-stack': 4.0.4
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/node-http-handler': 4.1.0
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/smithy-client': 4.4.9
+ '@smithy/types': 4.3.1
+ '@smithy/url-parser': 4.0.4
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.25
+ '@smithy/util-defaults-mode-node': 4.0.25
+ '@smithy/util-endpoints': 3.0.6
+ '@smithy/util-middleware': 4.0.4
+ '@smithy/util-retry': 4.0.6
+ '@smithy/util-utf8': 4.0.0
+ '@types/uuid': 9.0.8
+ tslib: 2.8.1
+ uuid: 9.0.1
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-crypto/sha256-browser': 5.2.0
+ '@aws-crypto/sha256-js': 5.2.0
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/middleware-host-header': 3.840.0
+ '@aws-sdk/middleware-logger': 3.840.0
+ '@aws-sdk/middleware-recursion-detection': 3.840.0
+ '@aws-sdk/middleware-user-agent': 3.858.0
+ '@aws-sdk/region-config-resolver': 3.840.0
+ '@aws-sdk/types': 3.840.0
+ '@aws-sdk/util-endpoints': 3.848.0
+ '@aws-sdk/util-user-agent-browser': 3.840.0
+ '@aws-sdk/util-user-agent-node': 3.858.0
+ '@smithy/config-resolver': 4.1.4
+ '@smithy/core': 3.7.2
+ '@smithy/fetch-http-handler': 5.1.0
+ '@smithy/hash-node': 4.0.4
+ '@smithy/invalid-dependency': 4.0.4
+ '@smithy/middleware-content-length': 4.0.4
+ '@smithy/middleware-endpoint': 4.1.17
+ '@smithy/middleware-retry': 4.1.18
+ '@smithy/middleware-serde': 4.0.8
+ '@smithy/middleware-stack': 4.0.4
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/node-http-handler': 4.1.0
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/smithy-client': 4.4.9
+ '@smithy/types': 4.3.1
+ '@smithy/url-parser': 4.0.4
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.25
+ '@smithy/util-defaults-mode-node': 4.0.25
+ '@smithy/util-endpoints': 3.0.6
+ '@smithy/util-middleware': 4.0.4
+ '@smithy/util-retry': 4.0.6
+ '@smithy/util-utf8': 4.0.0
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/types': 3.840.0
+ '@aws-sdk/xml-builder': 3.821.0
+ '@smithy/core': 3.7.2
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/property-provider': 4.0.4
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/signature-v4': 5.1.2
+ '@smithy/smithy-client': 4.4.9
+ '@smithy/types': 4.3.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-middleware': 4.0.4
+ '@smithy/util-utf8': 4.0.0
+ fast-xml-parser: 5.2.5
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/property-provider': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/fetch-http-handler': 5.1.0
+ '@smithy/node-http-handler': 4.1.0
+ '@smithy/property-provider': 4.0.4
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/smithy-client': 4.4.9
+ '@smithy/types': 4.3.1
+ '@smithy/util-stream': 4.2.3
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/credential-provider-env': 3.858.0
+ '@aws-sdk/credential-provider-http': 3.858.0
+ '@aws-sdk/credential-provider-process': 3.858.0
+ '@aws-sdk/credential-provider-sso': 3.859.0
+ '@aws-sdk/credential-provider-web-identity': 3.858.0
+ '@aws-sdk/nested-clients': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/credential-provider-imds': 4.0.6
+ '@smithy/property-provider': 4.0.4
+ '@smithy/shared-ini-file-loader': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/credential-provider-env': 3.858.0
+ '@aws-sdk/credential-provider-http': 3.858.0
+ '@aws-sdk/credential-provider-ini': 3.859.0
+ '@aws-sdk/credential-provider-process': 3.858.0
+ '@aws-sdk/credential-provider-sso': 3.859.0
+ '@aws-sdk/credential-provider-web-identity': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/credential-provider-imds': 4.0.6
+ '@smithy/property-provider': 4.0.4
+ '@smithy/shared-ini-file-loader': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/property-provider': 4.0.4
+ '@smithy/shared-ini-file-loader': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/client-sso': 3.858.0
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/token-providers': 3.859.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/property-provider': 4.0.4
+ '@smithy/shared-ini-file-loader': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/nested-clients': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/property-provider': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/types': 3.840.0
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/types': 3.840.0
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/types': 3.840.0
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@aws-sdk/util-endpoints': 3.848.0
+ '@smithy/core': 3.7.2
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-crypto/sha256-browser': 5.2.0
+ '@aws-crypto/sha256-js': 5.2.0
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/middleware-host-header': 3.840.0
+ '@aws-sdk/middleware-logger': 3.840.0
+ '@aws-sdk/middleware-recursion-detection': 3.840.0
+ '@aws-sdk/middleware-user-agent': 3.858.0
+ '@aws-sdk/region-config-resolver': 3.840.0
+ '@aws-sdk/types': 3.840.0
+ '@aws-sdk/util-endpoints': 3.848.0
+ '@aws-sdk/util-user-agent-browser': 3.840.0
+ '@aws-sdk/util-user-agent-node': 3.858.0
+ '@smithy/config-resolver': 4.1.4
+ '@smithy/core': 3.7.2
+ '@smithy/fetch-http-handler': 5.1.0
+ '@smithy/hash-node': 4.0.4
+ '@smithy/invalid-dependency': 4.0.4
+ '@smithy/middleware-content-length': 4.0.4
+ '@smithy/middleware-endpoint': 4.1.17
+ '@smithy/middleware-retry': 4.1.18
+ '@smithy/middleware-serde': 4.0.8
+ '@smithy/middleware-stack': 4.0.4
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/node-http-handler': 4.1.0
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/smithy-client': 4.4.9
+ '@smithy/types': 4.3.1
+ '@smithy/url-parser': 4.0.4
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.25
+ '@smithy/util-defaults-mode-node': 4.0.25
+ '@smithy/util-endpoints': 3.0.6
+ '@smithy/util-middleware': 4.0.4
+ '@smithy/util-retry': 4.0.6
+ '@smithy/util-utf8': 4.0.0
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/types': 3.840.0
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/types': 4.3.1
+ '@smithy/util-config-provider': 4.0.0
+ '@smithy/util-middleware': 4.0.4
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/core': 3.858.0
+ '@aws-sdk/nested-clients': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/property-provider': 4.0.4
+ '@smithy/shared-ini-file-loader': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - aws-crt
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/types': 3.840.0
+ '@smithy/types': 4.3.1
+ '@smithy/url-parser': 4.0.4
+ '@smithy/util-endpoints': 3.0.6
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/types': 3.840.0
+ '@smithy/types': 4.3.1
+ bowser: 2.11.0
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@aws-sdk/middleware-user-agent': 3.858.0
+ '@aws-sdk/types': 3.840.0
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@aws-sdk/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-validator-identifier': 7.27.1
+ js-tokens: 4.0.0
+ picocolors: 1.1.1
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/generator': 7.27.1
+ '@babel/helper-module-transforms': 7.27.1(@babel/[email protected])
+ '@babel/helpers': 7.27.1
+ '@babel/parser': 7.28.0
+ '@babel/template': 7.27.2
+ '@babel/traverse': 7.27.1
+ '@babel/types': 7.28.0
+ convert-source-map: 1.9.0
+ debug: 4.4.1
+ gensync: 1.0.0-beta.2
+ json5: 2.2.3
+ lodash: 4.17.21
+ resolve: 1.22.10
+ semver: 5.7.2
+ source-map: 0.5.7
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@ampproject/remapping': 2.3.0
+ '@babel/code-frame': 7.27.1
+ '@babel/generator': 7.27.1
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-module-transforms': 7.27.1(@babel/[email protected])
+ '@babel/helpers': 7.27.1
+ '@babel/parser': 7.27.2
+ '@babel/template': 7.27.2
+ '@babel/traverse': 7.27.1
+ '@babel/types': 7.27.1
+ convert-source-map: 2.0.0
+ debug: 4.4.1
+ gensync: 1.0.0-beta.2
+ json5: 2.2.3
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/parser': 7.27.2
+ '@babel/types': 7.27.1
+ '@jridgewell/gen-mapping': 0.3.8
+ '@jridgewell/trace-mapping': 0.3.25
+ jsesc: 3.1.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/parser': 7.28.0
+ '@babel/types': 7.28.0
+ '@jridgewell/gen-mapping': 0.3.12
+ '@jridgewell/trace-mapping': 0.3.29
+ jsesc: 3.1.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.28.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/compat-data': 7.27.2
+ '@babel/helper-validator-option': 7.27.1
+ browserslist: 4.24.5
+ lru-cache: 5.1.1
+ semver: 6.3.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-member-expression-to-functions': 7.27.1
+ '@babel/helper-optimise-call-expression': 7.27.1
+ '@babel/helper-replace-supers': 7.27.1(@babel/[email protected])
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ '@babel/traverse': 7.27.1
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-annotate-as-pure': 7.27.3
+ regexpu-core: 6.2.0
+ semver: 6.3.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-plugin-utils': 7.27.1
+ debug: 4.4.1
+ lodash.debounce: 4.0.8
+ resolve: 1.22.10
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.28.0
+ '@babel/types': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.27.1
+ '@babel/types': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-module-imports': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+ '@babel/traverse': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-module-imports': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+ '@babel/traverse': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.28.0
+
+ '@babel/[email protected]': {}
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-wrap-function': 7.27.1
+ '@babel/traverse': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-member-expression-to-functions': 7.27.1
+ '@babel/helper-optimise-call-expression': 7.27.1
+ '@babel/traverse': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.27.1
+ '@babel/types': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.27.2
+ '@babel/traverse': 7.27.1
+ '@babel/types': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.27.2
+ '@babel/types': 7.27.1
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.27.1
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.28.0
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/traverse': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/[email protected])':
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/traverse': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/[email protected])':
+ dependencies:
+ '@babel/core': 7.12.9
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-remap-async-to-generator': 7.27.1(@babel/[email protected])
+ '@babel/traverse': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-module-imports': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-remap-async-to-generator': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-class-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-class-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-globals': 7.28.0
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-replace-supers': 7.27.1(@babel/[email protected])
+ '@babel/traverse': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/template': 7.27.2
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/traverse': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/plugin-transform-destructuring': 7.28.0(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/traverse': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-module-transforms': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-module-transforms': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-module-transforms': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+ '@babel/traverse': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-module-transforms': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/plugin-transform-destructuring': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-parameters': 7.27.7(@babel/[email protected])
+ '@babel/traverse': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-replace-supers': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-class-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-create-class-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/plugin-transform-react-jsx': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-module-imports': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])
+ '@babel/types': 7.28.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/compat-data': 7.28.0
+ '@babel/core': 7.12.9
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-validator-option': 7.27.1
+ '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.27.1(@babel/[email protected])
+ '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.27.1(@babel/[email protected])
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.27.1(@babel/[email protected])
+ '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.27.1(@babel/[email protected])
+ '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.27.1(@babel/[email protected])
+ '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/[email protected])
+ '@babel/plugin-syntax-import-assertions': 7.27.1(@babel/[email protected])
+ '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/[email protected])
+ '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/[email protected])
+ '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-async-generator-functions': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-block-scoping': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-class-properties': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-class-static-block': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-classes': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-computed-properties': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-destructuring': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-dotall-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-duplicate-keys': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-dynamic-import': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-explicit-resource-management': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-exponentiation-operator': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-export-namespace-from': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-for-of': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-function-name': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-json-strings': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-logical-assignment-operators': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-amd': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-systemjs': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-umd': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-new-target': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-numeric-separator': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-object-rest-spread': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-object-super': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-parameters': 7.27.7(@babel/[email protected])
+ '@babel/plugin-transform-private-methods': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-property-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-regenerator': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-regexp-modifiers': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-reserved-words': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-spread': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-template-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-typeof-symbol': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-escapes': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-property-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-sets-regex': 7.27.1(@babel/[email protected])
+ '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/[email protected])
+ babel-plugin-polyfill-corejs2: 0.4.14(@babel/[email protected])
+ babel-plugin-polyfill-corejs3: 0.13.0(@babel/[email protected])
+ babel-plugin-polyfill-regenerator: 0.6.5(@babel/[email protected])
+ core-js-compat: 3.43.0
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/types': 7.28.0
+ esutils: 2.0.3
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-validator-option': 7.27.1
+ '@babel/plugin-transform-react-display-name': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-react-jsx': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-react-jsx-development': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-react-pure-annotations': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/parser': 7.27.2
+ '@babel/types': 7.27.1
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/generator': 7.27.1
+ '@babel/parser': 7.27.2
+ '@babel/template': 7.27.2
+ '@babel/types': 7.27.1
+ debug: 4.4.1
+ globals: 11.12.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/generator': 7.28.0
+ '@babel/helper-globals': 7.28.0
+ '@babel/parser': 7.28.0
+ '@babel/template': 7.27.2
+ '@babel/types': 7.28.0
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-string-parser': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-string-parser': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+
+ '@bcoe/[email protected]': {}
+
+ '@clack/[email protected]':
+ dependencies:
+ picocolors: 1.1.1
+ sisteransi: 1.0.5
+
+ '@clack/[email protected]':
+ dependencies:
+ '@clack/core': 0.5.0
+ picocolors: 1.1.1
+ sisteransi: 1.0.5
+
+ '@colors/[email protected]':
+ optional: true
+
+ '@cspotcode/[email protected]':
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.9
+
+ '@dprint/[email protected]': {}
+
+ '@dprint/[email protected]': {}
+
+ '@dprint/[email protected]': {}
+
+ '@es-joy/[email protected]':
+ dependencies:
+ '@types/estree': 1.0.7
+ '@typescript-eslint/types': 8.32.1
+ comment-parser: 1.4.1
+ esquery: 1.6.0
+ jsdoc-type-pratt-parser: 4.1.0
+
+ '@es-joy/[email protected]':
+ dependencies:
+ '@types/estree': 1.0.8
+ '@typescript-eslint/types': 8.35.1
+ comment-parser: 1.4.1
+ esquery: 1.6.0
+ jsdoc-type-pratt-parser: 4.1.0
+
+ '@eslint-community/[email protected]([email protected])':
+ dependencies:
+ escape-string-regexp: 4.0.0
+ eslint: 9.27.0
+ ignore: 5.3.2
+
+ '@eslint-community/[email protected]([email protected])':
+ dependencies:
+ eslint: 9.27.0
+ eslint-visitor-keys: 3.4.3
+
+ '@eslint-community/[email protected]': {}
+
+ optionalDependencies:
+ eslint: 9.27.0
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@eslint/object-schema': 2.1.6
+ debug: 4.4.1
+ minimatch: 3.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ '@eslint/[email protected]': {}
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+
+ '@eslint/[email protected]':
+ dependencies:
+ ajv: 6.12.6
+ debug: 4.4.1
+ espree: 10.3.0
+ globals: 14.0.0
+ ignore: 5.3.2
+ import-fresh: 3.3.1
+ js-yaml: 4.1.0
+ minimatch: 3.1.2
+ strip-json-comments: 3.1.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@eslint/[email protected]': {}
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@eslint/core': 0.14.0
+ '@eslint/plugin-kit': 0.3.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
+ transitivePeerDependencies:
+ - supports-color
+
+ '@eslint/[email protected]': {}
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@eslint/core': 0.13.0
+ levn: 0.4.1
+
+ '@eslint/[email protected]':
+ dependencies:
+ '@eslint/core': 0.14.0
+ levn: 0.4.1
+
+ '@fmvilas/[email protected]':
+ dependencies:
+ yaml-ast-parser: 0.0.43
+
+ '@gar/[email protected]': {}
+
+ '@humanfs/[email protected]': {}
+
+ '@humanfs/[email protected]':
+ dependencies:
+ '@humanfs/core': 0.19.1
+ '@humanwhocodes/retry': 0.3.1
+
+ '@humanwhocodes/[email protected]': {}
+
+ '@humanwhocodes/[email protected]': {}
+
+ '@humanwhocodes/[email protected]': {}
+
+ '@iarna/[email protected]':
+ optional: true
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/figures': 1.0.12
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ ansi-escapes: 4.3.2
+ yoctocolors-cjs: 2.1.2
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/figures': 1.0.12
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ ansi-escapes: 4.3.2
+ cli-width: 4.1.0
+ mute-stream: 2.0.0
+ signal-exit: 4.1.0
+ wrap-ansi: 6.2.0
+ yoctocolors-cjs: 2.1.2
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ external-editor: 3.1.0
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ yoctocolors-cjs: 2.1.2
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected]': {}
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ ansi-escapes: 4.3.2
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/checkbox': 4.1.8(@types/[email protected])
+ '@inquirer/confirm': 5.1.12(@types/[email protected])
+ '@inquirer/editor': 4.2.13(@types/[email protected])
+ '@inquirer/expand': 4.0.15(@types/[email protected])
+ '@inquirer/input': 4.1.12(@types/[email protected])
+ '@inquirer/number': 3.0.15(@types/[email protected])
+ '@inquirer/password': 4.0.15(@types/[email protected])
+ '@inquirer/rawlist': 4.1.3(@types/[email protected])
+ '@inquirer/search': 3.0.15(@types/[email protected])
+ '@inquirer/select': 4.2.3(@types/[email protected])
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/checkbox': 4.1.8(@types/[email protected])
+ '@inquirer/confirm': 5.1.12(@types/[email protected])
+ '@inquirer/editor': 4.2.13(@types/[email protected])
+ '@inquirer/expand': 4.0.15(@types/[email protected])
+ '@inquirer/input': 4.1.12(@types/[email protected])
+ '@inquirer/number': 3.0.15(@types/[email protected])
+ '@inquirer/password': 4.0.15(@types/[email protected])
+ '@inquirer/rawlist': 4.1.3(@types/[email protected])
+ '@inquirer/search': 3.0.15(@types/[email protected])
+ '@inquirer/select': 4.2.3(@types/[email protected])
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ yoctocolors-cjs: 2.1.2
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/figures': 1.0.12
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ yoctocolors-cjs: 2.1.2
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.1.13(@types/[email protected])
+ '@inquirer/figures': 1.0.12
+ '@inquirer/type': 3.0.7(@types/[email protected])
+ ansi-escapes: 4.3.2
+ yoctocolors-cjs: 2.1.2
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@inquirer/[email protected](@types/[email protected])':
+ optionalDependencies:
+ '@types/node': 22.15.21
+
+ '@ioredis/[email protected]': {}
+
+ '@isaacs/[email protected]':
+ dependencies:
+ string-width: 5.1.2
+ string-width-cjs: [email protected]
+ strip-ansi: 7.1.0
+ strip-ansi-cjs: [email protected]
+ wrap-ansi: 8.1.0
+ wrap-ansi-cjs: [email protected]
+
+ '@isaacs/[email protected]': {}
+
+ '@istanbuljs/[email protected]':
+ dependencies:
+ camelcase: 5.3.1
+ find-up: 4.1.0
+ get-package-type: 0.1.0
+ js-yaml: 3.14.1
+ resolve-from: 5.0.0
+
+ '@istanbuljs/[email protected]': {}
+
+ dependencies:
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ chalk: 4.1.2
+ jest-message-util: 29.7.0
+ jest-util: 29.7.0
+ slash: 3.0.0
+
+ dependencies:
+ '@jest/console': 29.7.0
+ '@jest/reporters': 29.7.0
+ '@jest/test-result': 29.7.0
+ '@jest/transform': 29.7.0
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ ansi-escapes: 4.3.2
+ chalk: 4.1.2
+ ci-info: 3.9.0
+ exit: 0.1.2
+ graceful-fs: 4.2.11
+ jest-changed-files: 29.7.0
+ jest-haste-map: 29.7.0
+ jest-message-util: 29.7.0
+ jest-regex-util: 29.6.3
+ jest-resolve: 29.7.0
+ jest-resolve-dependencies: 29.7.0
+ jest-runner: 29.7.0
+ jest-runtime: 29.7.0
+ jest-snapshot: 29.7.0
+ jest-util: 29.7.0
+ jest-validate: 29.7.0
+ jest-watcher: 29.7.0
+ micromatch: 4.0.8
+ pretty-format: 29.7.0
+ slash: 3.0.0
+ strip-ansi: 6.0.1
+ transitivePeerDependencies:
+ - babel-plugin-macros
+ - supports-color
+ - ts-node
+
+ dependencies:
+ '@jest/fake-timers': 29.7.0
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ jest-mock: 29.7.0
+
+ dependencies:
+ jest-get-type: 29.6.3
+
+ dependencies:
+ expect: 29.7.0
+ jest-snapshot: 29.7.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@jest/types': 29.6.3
+ '@sinonjs/fake-timers': 10.3.0
+ '@types/node': 22.15.21
+ jest-message-util: 29.7.0
+ jest-mock: 29.7.0
+ jest-util: 29.7.0
+
+ dependencies:
+ '@jest/environment': 29.7.0
+ '@jest/expect': 29.7.0
+ '@jest/types': 29.6.3
+ jest-mock: 29.7.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@bcoe/v8-coverage': 0.2.3
+ '@jest/console': 29.7.0
+ '@jest/test-result': 29.7.0
+ '@jest/transform': 29.7.0
+ '@jest/types': 29.6.3
+ '@jridgewell/trace-mapping': 0.3.25
+ '@types/node': 22.15.21
+ chalk: 4.1.2
+ collect-v8-coverage: 1.0.2
+ exit: 0.1.2
+ glob: 7.2.3
+ graceful-fs: 4.2.11
+ istanbul-lib-coverage: 3.2.2
+ istanbul-lib-instrument: 6.0.3
+ istanbul-lib-report: 3.0.1
+ istanbul-lib-source-maps: 4.0.1
+ istanbul-reports: 3.1.7
+ jest-message-util: 29.7.0
+ jest-util: 29.7.0
+ jest-worker: 29.7.0
+ slash: 3.0.0
+ string-length: 4.0.2
+ strip-ansi: 6.0.1
+ v8-to-istanbul: 9.3.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@sinclair/typebox': 0.27.8
+
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.25
+ callsites: 3.1.0
+ graceful-fs: 4.2.11
+
+ dependencies:
+ '@jest/console': 29.7.0
+ '@jest/types': 29.6.3
+ '@types/istanbul-lib-coverage': 2.0.6
+ collect-v8-coverage: 1.0.2
+
+ dependencies:
+ '@jest/test-result': 29.7.0
+ graceful-fs: 4.2.11
+ jest-haste-map: 29.7.0
+ slash: 3.0.0
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@jest/types': 29.6.3
+ '@jridgewell/trace-mapping': 0.3.25
+ babel-plugin-istanbul: 6.1.1
+ chalk: 4.1.2
+ convert-source-map: 2.0.0
+ fast-json-stable-stringify: 2.1.0
+ graceful-fs: 4.2.11
+ jest-haste-map: 29.7.0
+ jest-regex-util: 29.6.3
+ jest-util: 29.7.0
+ micromatch: 4.0.8
+ pirates: 4.0.7
+ slash: 3.0.0
+ write-file-atomic: 4.0.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@jest/schemas': 29.6.3
+ '@types/istanbul-lib-coverage': 2.0.6
+ '@types/istanbul-reports': 3.0.4
+ '@types/node': 22.15.21
+ '@types/yargs': 17.0.33
+ chalk: 4.1.2
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.0
+ '@jridgewell/trace-mapping': 0.3.29
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/set-array': 1.2.1
+ '@jridgewell/sourcemap-codec': 1.5.0
+ '@jridgewell/trace-mapping': 0.3.25
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.8
+ '@jridgewell/trace-mapping': 0.3.25
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.0
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.0
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.0
+
+ '@jsdevtools/[email protected]': {}
+
+ dependencies:
+ jsep: 1.4.0
+
+ dependencies:
+ jsep: 1.4.0
+
+ dependencies:
+ jsep: 1.4.0
+
+ '@juggle/[email protected]': {}
+
+ '@kwsites/[email protected]':
+ dependencies:
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@kwsites/[email protected]': {}
+
+ '@lukeed/[email protected]': {}
+
+ '@microsoft/[email protected]': {}
+
+ '@mongodb-js/[email protected]':
+ dependencies:
+ sparse-bitfield: 3.0.3
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optionalDependencies:
+ '@napi-rs/nice-android-arm-eabi': 1.0.1
+ '@napi-rs/nice-android-arm64': 1.0.1
+ '@napi-rs/nice-darwin-arm64': 1.0.1
+ '@napi-rs/nice-darwin-x64': 1.0.1
+ '@napi-rs/nice-freebsd-x64': 1.0.1
+ '@napi-rs/nice-linux-arm-gnueabihf': 1.0.1
+ '@napi-rs/nice-linux-arm64-gnu': 1.0.1
+ '@napi-rs/nice-linux-arm64-musl': 1.0.1
+ '@napi-rs/nice-linux-ppc64-gnu': 1.0.1
+ '@napi-rs/nice-linux-riscv64-gnu': 1.0.1
+ '@napi-rs/nice-linux-s390x-gnu': 1.0.1
+ '@napi-rs/nice-linux-x64-gnu': 1.0.1
+ '@napi-rs/nice-linux-x64-musl': 1.0.1
+ '@napi-rs/nice-win32-arm64-msvc': 1.0.1
+ '@napi-rs/nice-win32-ia32-msvc': 1.0.1
+ '@napi-rs/nice-win32-x64-msvc': 1.0.1
+ optional: true
+
+ dependencies:
+ axios: 1.9.0
+ rxjs: 7.8.2
+ optional: true
+
+ dependencies:
+ '@angular-devkit/core': 19.2.8([email protected])
+ '@angular-devkit/schematics': 19.2.8([email protected])
+ '@angular-devkit/schematics-cli': 19.2.8(@types/[email protected])([email protected])
+ '@inquirer/prompts': 7.4.1(@types/[email protected])
+ '@nestjs/schematics': 11.0.5([email protected])([email protected])
+ ansis: 3.17.0
+ chokidar: 4.0.3
+ cli-table3: 0.6.5
+ commander: 4.1.1
+ fork-ts-checker-webpack-plugin: 9.1.0([email protected])([email protected](@swc/[email protected]))
+ glob: 11.0.1
+ node-emoji: 1.11.0
+ ora: 5.4.1
+ tree-kill: 1.2.2
+ tsconfig-paths: 4.2.0
+ tsconfig-paths-webpack-plugin: 4.2.0
+ typescript: 5.8.3
+ webpack: 5.99.6(@swc/[email protected])
+ webpack-node-externals: 3.0.0
+ optionalDependencies:
+ '@swc/cli': 0.6.0(@swc/[email protected])([email protected])
+ '@swc/core': 1.11.29
+ transitivePeerDependencies:
+ - '@types/node'
+ - esbuild
+ - uglify-js
+ - webpack-cli
+
+ dependencies:
+ file-type: 21.0.0
+ iterare: 1.2.1
+ load-esm: 1.0.2
+ reflect-metadata: 0.2.2
+ rxjs: 7.8.2
+ tslib: 2.8.1
+ uid: 2.0.2
+ optionalDependencies:
+ class-transformer: 0.5.1
+ class-validator: 0.14.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@nuxt/opencollective': 0.4.1
+ fast-safe-stringify: 2.1.1
+ iterare: 1.2.1
+ path-to-regexp: 8.2.0
+ reflect-metadata: 0.2.2
+ rxjs: 7.8.2
+ tslib: 2.8.1
+ uid: 2.0.2
+ optionalDependencies:
+
+ dependencies:
+ eventemitter2: 6.4.9
+
+ dependencies:
+ reflect-metadata: 0.2.2
+ optionalDependencies:
+ class-transformer: 0.5.1
+ class-validator: 0.14.2
+
+ dependencies:
+ iterare: 1.2.1
+ reflect-metadata: 0.2.2
+ rxjs: 7.8.2
+ tslib: 2.8.1
+ optionalDependencies:
+ ioredis: 5.6.1
+ nats: 2.29.3
+
+ dependencies:
+ mongoose: 8.15.0([email protected])
+ rxjs: 7.8.2
+
+ dependencies:
+ cors: 2.8.5
+ express: 5.1.0
+ multer: 2.0.0
+ path-to-regexp: 8.2.0
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@angular-devkit/core': 19.2.6([email protected])
+ '@angular-devkit/schematics': 19.2.6([email protected])
+ comment-json: 4.2.5
+ jsonc-parser: 3.3.1
+ pluralize: 8.0.0
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - chokidar
+
+ dependencies:
+ '@angular-devkit/core': 19.2.6([email protected])
+ '@angular-devkit/schematics': 19.2.6([email protected])
+ comment-json: 4.2.5
+ jsonc-parser: 3.3.1
+ pluralize: 8.0.0
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - chokidar
+
+ dependencies:
+ '@microsoft/tsdoc': 0.15.1
+ js-yaml: 4.1.0
+ lodash: 4.17.21
+ path-to-regexp: 8.2.0
+ reflect-metadata: 0.2.2
+ swagger-ui-dist: 5.21.0
+ optionalDependencies:
+ class-transformer: 0.5.1
+ class-validator: 0.14.2
+
+ dependencies:
+ tslib: 2.8.1
+ optionalDependencies:
+
+ '@noble/[email protected]': {}
+
+ '@nodelib/[email protected]':
+ dependencies:
+ '@nodelib/fs.stat': 2.0.5
+ run-parallel: 1.2.0
+
+ '@nodelib/[email protected]': {}
+
+ '@nodelib/[email protected]':
+ dependencies:
+ '@nodelib/fs.scandir': 2.1.5
+ fastq: 1.19.1
+
+ '@npmcli/[email protected]':
+ dependencies:
+ '@isaacs/string-locale-compare': 1.1.0
+ '@npmcli/installed-package-contents': 1.0.7
+ '@npmcli/map-workspaces': 1.0.4
+ '@npmcli/metavuln-calculator': 1.1.1
+ '@npmcli/move-file': 1.1.2
+ '@npmcli/name-from-folder': 1.0.1
+ '@npmcli/node-gyp': 1.0.3
+ '@npmcli/package-json': 1.0.1
+ '@npmcli/run-script': 1.8.6
+ bin-links: 2.3.0
+ cacache: 15.3.0
+ common-ancestor-path: 1.0.1
+ json-parse-even-better-errors: 2.3.1
+ json-stringify-nice: 1.1.4
+ mkdirp: 1.0.4
+ mkdirp-infer-owner: 2.0.0
+ npm-install-checks: 4.0.0
+ npm-package-arg: 8.1.5
+ npm-pick-manifest: 6.1.1
+ npm-registry-fetch: 11.0.0
+ pacote: 11.3.5
+ parse-conflict-json: 1.1.1
+ proc-log: 1.0.0
+ promise-all-reject-late: 1.0.1
+ promise-call-limit: 1.0.2
+ read-package-json-fast: 2.0.3
+ readdir-scoped-modules: 1.1.0
+ rimraf: 3.0.2
+ semver: 7.7.2
+ ssri: 8.0.1
+ treeverse: 1.0.4
+ walk-up-path: 1.0.0
+ transitivePeerDependencies:
+ - bluebird
+ - supports-color
+
+ '@npmcli/[email protected]':
+ dependencies:
+ '@gar/promisify': 1.1.3
+ semver: 7.7.2
+
+ '@npmcli/[email protected]':
+ dependencies:
+ '@npmcli/promise-spawn': 1.3.2
+ lru-cache: 6.0.0
+ mkdirp: 1.0.4
+ npm-pick-manifest: 6.1.1
+ promise-inflight: 1.0.1
+ promise-retry: 2.0.1
+ semver: 7.7.2
+ which: 2.0.2
+ transitivePeerDependencies:
+ - bluebird
+
+ '@npmcli/[email protected]':
+ dependencies:
+ npm-bundled: 1.1.2
+ npm-normalize-package-bin: 1.0.1
+
+ '@npmcli/[email protected]':
+ dependencies:
+ '@npmcli/name-from-folder': 1.0.1
+ glob: 7.2.3
+ minimatch: 3.1.2
+ read-package-json-fast: 2.0.3
+
+ '@npmcli/[email protected]':
+ dependencies:
+ cacache: 15.3.0
+ json-parse-even-better-errors: 2.3.1
+ pacote: 11.3.5
+ semver: 7.7.2
+ transitivePeerDependencies:
+ - bluebird
+ - supports-color
+
+ '@npmcli/[email protected]':
+ dependencies:
+ mkdirp: 1.0.4
+ rimraf: 3.0.2
+
+ '@npmcli/[email protected]': {}
+
+ '@npmcli/[email protected]': {}
+
+ '@npmcli/[email protected]':
+ dependencies:
+ json-parse-even-better-errors: 2.3.1
+
+ '@npmcli/[email protected]':
+ dependencies:
+ infer-owner: 1.0.4
+
+ '@npmcli/[email protected]':
+ dependencies:
+ '@npmcli/node-gyp': 1.0.3
+ '@npmcli/promise-spawn': 1.3.2
+ node-gyp: 7.1.2
+ read-package-json-fast: 2.0.3
+
+ dependencies:
+ consola: 3.4.2
+
+ '@openapi-contrib/[email protected]':
+ dependencies:
+ fast-deep-equal: 3.1.3
+
+ '@paralleldrive/[email protected]':
+ dependencies:
+ '@noble/hashes': 1.8.0
+
+ '@pkgr/[email protected]': {}
+
+ '@pkgr/[email protected]': {}
+
+ '@protobufjs/[email protected]': {}
+
+ '@protobufjs/[email protected]': {}
+
+ '@protobufjs/[email protected]': {}
+
+ '@protobufjs/[email protected]': {}
+
+ '@protobufjs/[email protected]':
+ dependencies:
+ '@protobufjs/aspromise': 1.1.2
+ '@protobufjs/inquire': 1.1.0
+
+ '@protobufjs/[email protected]': {}
+
+ '@protobufjs/[email protected]': {}
+
+ '@protobufjs/[email protected]': {}
+
+ '@protobufjs/[email protected]': {}
+
+ '@protobufjs/[email protected]': {}
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-module-imports': 7.27.1
+ '@rollup/pluginutils': 3.1.0([email protected])
+ rollup: 2.79.2
+ optionalDependencies:
+ '@types/babel__core': 7.20.5
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@types/estree': 0.0.39
+ estree-walker: 1.0.1
+ picomatch: 2.3.1
+ rollup: 2.79.2
+
+ '@scarf/[email protected]': {}
+
+ '@sec-ant/[email protected]':
+ optional: true
+
+ '@sinclair/[email protected]': {}
+
+ '@sindresorhus/[email protected]': {}
+
+ '@sindresorhus/[email protected]':
+ optional: true
+
+ '@sinonjs/[email protected]':
+ dependencies:
+ type-detect: 4.0.8
+
+ '@sinonjs/[email protected]':
+ dependencies:
+ '@sinonjs/commons': 3.0.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/types': 4.3.1
+ '@smithy/util-config-provider': 4.0.0
+ '@smithy/util-middleware': 4.0.4
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/middleware-serde': 4.0.8
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/types': 4.3.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-middleware': 4.0.4
+ '@smithy/util-stream': 4.2.3
+ '@smithy/util-utf8': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/property-provider': 4.0.4
+ '@smithy/types': 4.3.1
+ '@smithy/url-parser': 4.0.4
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@aws-crypto/crc32': 5.2.0
+ '@smithy/types': 4.3.1
+ '@smithy/util-hex-encoding': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/eventstream-serde-universal': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/eventstream-serde-universal': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/eventstream-codec': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/querystring-builder': 4.0.4
+ '@smithy/types': 4.3.1
+ '@smithy/util-base64': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ '@smithy/util-buffer-from': 4.0.0
+ '@smithy/util-utf8': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/core': 3.7.2
+ '@smithy/middleware-serde': 4.0.8
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/shared-ini-file-loader': 4.0.4
+ '@smithy/types': 4.3.1
+ '@smithy/url-parser': 4.0.4
+ '@smithy/util-middleware': 4.0.4
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/service-error-classification': 4.0.6
+ '@smithy/smithy-client': 4.4.9
+ '@smithy/types': 4.3.1
+ '@smithy/util-middleware': 4.0.4
+ '@smithy/util-retry': 4.0.6
+ tslib: 2.8.1
+ uuid: 9.0.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/property-provider': 4.0.4
+ '@smithy/shared-ini-file-loader': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/abort-controller': 4.0.4
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/querystring-builder': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ '@smithy/util-uri-escape': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/is-array-buffer': 4.0.0
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/types': 4.3.1
+ '@smithy/util-hex-encoding': 4.0.0
+ '@smithy/util-middleware': 4.0.4
+ '@smithy/util-uri-escape': 4.0.0
+ '@smithy/util-utf8': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/core': 3.7.2
+ '@smithy/middleware-endpoint': 4.1.17
+ '@smithy/middleware-stack': 4.0.4
+ '@smithy/protocol-http': 5.1.2
+ '@smithy/types': 4.3.1
+ '@smithy/util-stream': 4.2.3
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/querystring-parser': 4.0.4
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/util-buffer-from': 4.0.0
+ '@smithy/util-utf8': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/is-array-buffer': 2.2.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/is-array-buffer': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/property-provider': 4.0.4
+ '@smithy/smithy-client': 4.4.9
+ '@smithy/types': 4.3.1
+ bowser: 2.11.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/config-resolver': 4.1.4
+ '@smithy/credential-provider-imds': 4.0.6
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/property-provider': 4.0.4
+ '@smithy/smithy-client': 4.4.9
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/node-config-provider': 4.1.3
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/service-error-classification': 4.0.6
+ '@smithy/types': 4.3.1
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/fetch-http-handler': 5.1.0
+ '@smithy/node-http-handler': 4.1.0
+ '@smithy/types': 4.3.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-buffer-from': 4.0.0
+ '@smithy/util-hex-encoding': 4.0.0
+ '@smithy/util-utf8': 4.0.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/util-buffer-from': 2.2.0
+ tslib: 2.8.1
+
+ '@smithy/[email protected]':
+ dependencies:
+ '@smithy/util-buffer-from': 4.0.0
+ tslib: 2.8.1
+
+ dependencies:
+ '@asyncapi/avro-schema-parser': 3.0.24([email protected])
+ '@asyncapi/openapi-schema-parser': 3.0.24([email protected])
+ '@asyncapi/protobuf-schema-parser': 3.5.1([email protected])
+ '@asyncapi/raml-dt-schema-parser': 4.0.24([email protected])
+ parserv2: '@asyncapi/[email protected]([email protected])'
+ parserv3: '@asyncapi/[email protected]([email protected])'
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ ajv: 8.17.1
+ jsonpointer: 5.0.1
+ leven: 3.1.0
+
+ dependencies:
+ node-fetch: 2.7.0([email protected])
+ tslib: 1.14.1
+ transitivePeerDependencies:
+ - encoding
+
+ '@stoplight/[email protected]':
+ dependencies:
+ '@stoplight/json': 3.21.7
+ '@stoplight/path': 1.3.2
+ '@stoplight/types': 13.20.0
+ '@types/urijs': 1.19.25
+ dependency-graph: 0.11.0
+ fast-memoize: 2.5.2
+ immer: 9.0.21
+ lodash: 4.17.21
+ tslib: 2.8.1
+ urijs: 1.19.11
+
+ '@stoplight/[email protected]':
+ dependencies:
+ '@stoplight/ordered-object-literal': 1.0.5
+ '@stoplight/path': 1.3.2
+ '@stoplight/types': 13.20.0
+ jsonc-parser: 2.2.1
+ lodash: 4.17.21
+ safe-stable-stringify: 1.1.1
+
+ '@stoplight/[email protected]':
+ dependencies:
+ '@stoplight/ordered-object-literal': 1.0.5
+ '@stoplight/path': 1.3.2
+ '@stoplight/types': 13.20.0
+ jsonc-parser: 2.2.1
+ lodash: 4.17.21
+ safe-stable-stringify: 1.1.1
+
+ '@stoplight/[email protected]': {}
+
+ '@stoplight/[email protected]': {}
+
+ dependencies:
+ '@stoplight/better-ajv-errors': 1.0.3([email protected])
+ '@stoplight/json': 3.21.7
+ '@stoplight/path': 1.3.2
+ '@stoplight/spectral-parsers': 1.0.5
+ '@stoplight/spectral-ref-resolver': 1.0.5([email protected])
+ '@stoplight/spectral-runtime': 1.1.4([email protected])
+ '@stoplight/types': 13.6.0
+ '@types/es-aggregate-error': 1.0.6
+ '@types/json-schema': 7.0.15
+ ajv: 8.17.1
+ ajv-errors: 3.0.0([email protected])
+ ajv-formats: 2.1.1([email protected])
+ es-aggregate-error: 1.0.14
+ jsonpath-plus: 10.3.0
+ lodash: 4.17.21
+ lodash.topath: 4.5.2
+ minimatch: 3.1.2
+ nimma: 0.2.3
+ pony-cause: 1.1.1
+ simple-eval: 1.0.1
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@stoplight/json': 3.21.7
+ '@stoplight/spectral-core': 1.20.0([email protected])
+ '@types/json-schema': 7.0.15
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@stoplight/better-ajv-errors': 1.0.3([email protected])
+ '@stoplight/json': 3.21.7
+ '@stoplight/spectral-core': 1.20.0([email protected])
+ '@stoplight/spectral-formats': 1.8.2([email protected])
+ '@stoplight/spectral-runtime': 1.1.4([email protected])
+ ajv: 8.17.1
+ ajv-draft-04: 1.0.0([email protected])
+ ajv-errors: 3.0.0([email protected])
+ ajv-formats: 2.1.1([email protected])
+ lodash: 4.17.21
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - encoding
+
+ '@stoplight/[email protected]':
+ dependencies:
+ '@stoplight/json': 3.21.7
+ '@stoplight/types': 14.1.1
+ '@stoplight/yaml': 4.3.0
+ tslib: 2.8.1
+
+ dependencies:
+ '@stoplight/json-ref-readers': 1.2.2([email protected])
+ '@stoplight/json-ref-resolver': 3.1.6
+ '@stoplight/spectral-runtime': 1.1.4([email protected])
+ dependency-graph: 0.11.0
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ '@stoplight/json': 3.21.7
+ '@stoplight/path': 1.3.2
+ '@stoplight/types': 13.20.0
+ abort-controller: 3.0.0
+ lodash: 4.17.21
+ node-fetch: 2.7.0([email protected])
+ tslib: 2.8.1
+ transitivePeerDependencies:
+ - encoding
+
+ '@stoplight/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+ utility-types: 3.11.0
+
+ '@stoplight/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+ utility-types: 3.11.0
+
+ '@stoplight/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+ utility-types: 3.11.0
+
+ '@stoplight/[email protected]': {}
+
+ '@stoplight/[email protected]':
+ dependencies:
+ '@stoplight/ordered-object-literal': 1.0.5
+ '@stoplight/types': 14.1.1
+ '@stoplight/yaml-ast-parser': 0.0.50
+ tslib: 2.8.1
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@typescript-eslint/types': 8.35.1
+ eslint: 9.27.0
+ eslint-visitor-keys: 4.2.1
+ espree: 10.4.0
+ estraverse: 5.3.0
+ picomatch: 4.0.2
+
+ dependencies:
+ '@swc/core': 1.11.29
+ '@swc/counter': 0.1.3
+ '@xhmikosr/bin-wrapper': 13.0.5
+ commander: 8.3.0
+ fast-glob: 3.3.3
+ minimatch: 9.0.5
+ piscina: 4.9.2
+ semver: 7.7.2
+ slash: 3.0.0
+ source-map: 0.7.4
+ optionalDependencies:
+ chokidar: 3.6.0
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ dependencies:
+ '@swc/counter': 0.1.3
+ '@swc/types': 0.1.21
+ optionalDependencies:
+ '@swc/core-darwin-arm64': 1.11.29
+ '@swc/core-darwin-x64': 1.11.29
+ '@swc/core-linux-arm-gnueabihf': 1.11.29
+ '@swc/core-linux-arm64-gnu': 1.11.29
+ '@swc/core-linux-arm64-musl': 1.11.29
+ '@swc/core-linux-x64-gnu': 1.11.29
+ '@swc/core-linux-x64-musl': 1.11.29
+ '@swc/core-win32-arm64-msvc': 1.11.29
+ '@swc/core-win32-ia32-msvc': 1.11.29
+ '@swc/core-win32-x64-msvc': 1.11.29
+ optional: true
+
+ optional: true
+
+ dependencies:
+ '@swc/counter': 0.1.3
+ optional: true
+
+ '@szmarczak/[email protected]':
+ dependencies:
+ defer-to-connect: 2.0.1
+ optional: true
+
+ '@tokenizer/[email protected]':
+ dependencies:
+ debug: 4.4.1
+ fflate: 0.8.2
+ token-types: 6.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@tokenizer/[email protected]': {}
+
+ '@tootallnate/[email protected]': {}
+
+ '@tsconfig/[email protected]': {}
+
+ '@tsconfig/[email protected]': {}
+
+ '@tsconfig/[email protected]': {}
+
+ '@tsconfig/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@babel/parser': 7.27.2
+ '@babel/types': 7.27.1
+ '@types/babel__generator': 7.27.0
+ '@types/babel__template': 7.4.4
+ '@types/babel__traverse': 7.20.7
+
+ '@types/[email protected]':
+ dependencies:
+ '@babel/types': 7.27.1
+
+ '@types/[email protected]':
+ dependencies:
+ '@babel/parser': 7.27.2
+ '@babel/types': 7.27.1
+
+ '@types/[email protected]':
+ dependencies:
+ '@babel/types': 7.27.1
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/connect': 3.4.38
+ '@types/node': 22.15.21
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.15.21
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/ms': 2.1.0
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/trusted-types': 2.0.7
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.15.21
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/eslint': 9.6.1
+ '@types/estree': 1.0.7
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/estree': 1.0.7
+ '@types/json-schema': 7.0.15
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.15.21
+ '@types/qs': 6.14.0
+ '@types/range-parser': 1.2.7
+ '@types/send': 0.17.4
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/body-parser': 1.19.5
+ '@types/express-serve-static-core': 5.0.6
+ '@types/serve-static': 1.15.7
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.15.21
+
+ '@types/[email protected]':
+ optional: true
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/istanbul-lib-coverage': 2.0.6
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/istanbul-lib-report': 3.0.3
+
+ '@types/[email protected]':
+ dependencies:
+ expect: 29.7.0
+ pretty-format: 29.7.0
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/unist': 3.0.3
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 6.21.0
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.15.21
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/mime': 1.3.5
+ '@types/node': 22.15.21
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/http-errors': 2.0.4
+ '@types/node': 22.15.21
+ '@types/send': 0.17.4
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/cookiejar': 2.1.5
+ '@types/methods': 1.1.4
+ '@types/node': 22.15.21
+ form-data: 4.0.2
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/methods': 1.1.4
+ '@types/superagent': 8.1.9
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/webidl-conversions': 7.0.3
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/yargs-parser': 21.0.3
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.15.21
+ optional: true
+
+ dependencies:
+ '@eslint-community/regexpp': 4.12.1
+ '@typescript-eslint/parser': 8.35.1([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.35.1
+ '@typescript-eslint/type-utils': 8.35.1([email protected])([email protected])
+ '@typescript-eslint/utils': 8.35.1([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 8.35.1
+ eslint: 9.27.0
+ graphemer: 1.4.0
+ ignore: 7.0.4
+ natural-compare: 1.4.0
+ ts-api-utils: 2.1.0([email protected])
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@typescript-eslint/scope-manager': 8.35.1
+ '@typescript-eslint/types': 8.35.1
+ '@typescript-eslint/typescript-estree': 8.35.1([email protected])
+ '@typescript-eslint/visitor-keys': 8.35.1
+ debug: 4.4.1
+ eslint: 9.27.0
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/tsconfig-utils': 8.35.1([email protected])
+ '@typescript-eslint/types': 8.35.1
+ debug: 4.4.1
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.32.1
+ '@typescript-eslint/visitor-keys': 8.32.1
+
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.35.1
+ '@typescript-eslint/visitor-keys': 8.35.1
+
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ typescript: 5.8.3
+
+ dependencies:
+ '@typescript-eslint/typescript-estree': 8.35.1([email protected])
+ '@typescript-eslint/utils': 8.35.1([email protected])([email protected])
+ debug: 4.4.1
+ eslint: 9.27.0
+ ts-api-utils: 2.1.0([email protected])
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]': {}
+
+ '@typescript-eslint/[email protected]': {}
+
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/types': 8.32.1
+ '@typescript-eslint/visitor-keys': 8.32.1
+ debug: 4.4.1
+ 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
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/project-service': 8.35.1([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.35.1([email protected])
+ '@typescript-eslint/types': 8.35.1
+ '@typescript-eslint/visitor-keys': 8.35.1
+ debug: 4.4.1
+ 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
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@typescript-eslint/scope-manager': 8.32.1
+ '@typescript-eslint/types': 8.32.1
+ '@typescript-eslint/typescript-estree': 8.32.1([email protected])
+ eslint: 9.27.0
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@typescript-eslint/scope-manager': 8.35.1
+ '@typescript-eslint/types': 8.35.1
+ '@typescript-eslint/typescript-estree': 8.35.1([email protected])
+ eslint: 9.27.0
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.32.1
+ eslint-visitor-keys: 4.2.0
+
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.35.1
+ eslint-visitor-keys: 4.2.1
+
+ dependencies:
+ '@typescript-eslint/utils': 8.32.1([email protected])([email protected])
+ eslint: 9.27.0
+ optionalDependencies:
+ typescript: 5.8.3
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/parser': 7.28.0
+ '@vue/shared': 3.5.17
+ entities: 4.5.0
+ estree-walker: 2.0.2
+ source-map-js: 1.2.1
+
+ dependencies:
+ '@vue/compiler-core': 3.5.17
+ '@vue/shared': 3.5.17
+
+ dependencies:
+ '@babel/parser': 7.28.0
+ '@vue/compiler-core': 3.5.17
+ '@vue/compiler-dom': 3.5.17
+ '@vue/compiler-ssr': 3.5.17
+ '@vue/shared': 3.5.17
+ estree-walker: 2.0.2
+ magic-string: 0.30.17
+ postcss: 8.5.6
+ source-map-js: 1.2.1
+
+ dependencies:
+ '@vue/compiler-dom': 3.5.17
+ '@vue/shared': 3.5.17
+
+ '@vue/[email protected]': {}
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/helper-numbers': 1.13.2
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/floating-point-hex-parser': 1.13.2
+ '@webassemblyjs/helper-api-error': 1.13.2
+ '@xtuc/long': 4.2.2
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-buffer': 1.14.1
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ '@webassemblyjs/wasm-gen': 1.14.1
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@xtuc/ieee754': 1.2.0
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@xtuc/long': 4.2.2
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-buffer': 1.14.1
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ '@webassemblyjs/helper-wasm-section': 1.14.1
+ '@webassemblyjs/wasm-gen': 1.14.1
+ '@webassemblyjs/wasm-opt': 1.14.1
+ '@webassemblyjs/wasm-parser': 1.14.1
+ '@webassemblyjs/wast-printer': 1.14.1
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ '@webassemblyjs/ieee754': 1.13.2
+ '@webassemblyjs/leb128': 1.13.2
+ '@webassemblyjs/utf8': 1.13.2
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-buffer': 1.14.1
+ '@webassemblyjs/wasm-gen': 1.14.1
+ '@webassemblyjs/wasm-parser': 1.14.1
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-api-error': 1.13.2
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ '@webassemblyjs/ieee754': 1.13.2
+ '@webassemblyjs/leb128': 1.13.2
+ '@webassemblyjs/utf8': 1.13.2
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@xtuc/long': 4.2.2
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ file-type: 19.6.0
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ execa: 5.1.1
+ isexe: 2.0.0
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ '@xhmikosr/bin-check': 7.0.3
+ '@xhmikosr/downloader': 15.0.1
+ '@xhmikosr/os-filter-obj': 3.0.0
+ bin-version-check: 5.1.0
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ file-type: 19.6.0
+ is-stream: 2.0.1
+ tar-stream: 3.1.7
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ '@xhmikosr/decompress-tar': 8.0.1
+ file-type: 19.6.0
+ is-stream: 2.0.1
+ seek-bzip: 2.0.0
+ unbzip2-stream: 1.4.3
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ '@xhmikosr/decompress-tar': 8.0.1
+ file-type: 19.6.0
+ is-stream: 2.0.1
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ file-type: 19.6.0
+ get-stream: 6.0.1
+ yauzl: 3.2.0
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ '@xhmikosr/decompress-tar': 8.0.1
+ '@xhmikosr/decompress-tarbz2': 8.0.2
+ '@xhmikosr/decompress-targz': 8.0.1
+ '@xhmikosr/decompress-unzip': 7.0.0
+ graceful-fs: 4.2.11
+ make-dir: 4.0.0
+ strip-dirs: 3.0.0
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ '@xhmikosr/archive-type': 7.0.0
+ '@xhmikosr/decompress': 10.0.1
+ content-disposition: 0.5.4
+ defaults: 3.0.0
+ ext-name: 5.0.0
+ file-type: 19.6.0
+ filenamify: 6.0.0
+ get-stream: 6.0.1
+ got: 13.0.0
+ optional: true
+
+ '@xhmikosr/[email protected]':
+ dependencies:
+ arch: 3.0.0
+ optional: true
+
+ '@xtuc/[email protected]': {}
+
+ '@xtuc/[email protected]': {}
+
+
+
+
+ dependencies:
+ event-target-shim: 5.0.1
+
+ dependencies:
+ mime-types: 3.0.1
+ negotiator: 1.0.0
+
+ dependencies:
+ acorn: 7.4.1
+ acorn-walk: 7.2.0
+
+ dependencies:
+ acorn: 8.14.1
+
+ dependencies:
+ acorn: 8.15.0
+
+
+ dependencies:
+ acorn: 8.14.1
+
+
+
+
+
+ dependencies:
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ humanize-ms: 1.2.1
+
+ dependencies:
+ clean-stack: 2.2.0
+ indent-string: 4.0.0
+
+ optionalDependencies:
+ ajv: 8.17.1
+
+ dependencies:
+ ajv: 8.17.1
+
+ optionalDependencies:
+ ajv: 8.17.1
+
+ optionalDependencies:
+ ajv: 8.17.1
+
+ dependencies:
+ ajv: 6.12.6
+
+ dependencies:
+ ajv: 8.17.1
+ fast-deep-equal: 3.1.3
+
+ dependencies:
+ co: 4.6.0
+ fast-deep-equal: 1.1.0
+ fast-json-stable-stringify: 2.1.0
+ json-schema-traverse: 0.3.1
+
+ dependencies:
+ fast-deep-equal: 3.1.3
+ fast-json-stable-stringify: 2.1.0
+ json-schema-traverse: 0.4.1
+ uri-js: 4.4.1
+
+ dependencies:
+ fast-deep-equal: 2.0.1
+ fast-json-stable-stringify: 2.1.0
+ json-schema-traverse: 0.4.1
+ uri-js: 4.4.1
+
+ dependencies:
+ fast-deep-equal: 3.1.3
+ fast-uri: 3.0.6
+ json-schema-traverse: 1.0.0
+ require-from-string: 2.0.2
+
+
+ dependencies:
+ type-fest: 0.21.3
+
+ dependencies:
+ environment: 1.1.0
+
+
+
+
+ dependencies:
+ color-convert: 2.0.1
+
+
+
+
+
+ dependencies:
+ normalize-path: 3.0.0
+ picomatch: 2.3.1
+
+
+
+ optional: true
+
+
+ dependencies:
+ delegates: 1.0.0
+ readable-stream: 2.3.8
+
+
+ dependencies:
+ sprintf-js: 1.0.3
+
+
+ dependencies:
+ call-bound: 1.0.4
+ is-array-buffer: 3.0.5
+
+
+
+ dependencies:
+ array-buffer-byte-length: 1.0.2
+ call-bind: 1.0.8
+ define-properties: 1.2.1
+ es-abstract: 1.24.0
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ is-array-buffer: 3.0.5
+
+
+ dependencies:
+ safer-buffer: 2.1.2
+
+
+
+
+
+
+
+ dependencies:
+ possible-typed-array-names: 1.1.0
+
+
+
+
+ dependencies:
+ follow-redirects: 1.15.9
+ form-data: 4.0.2
+ proxy-from-env: 1.1.0
+ transitivePeerDependencies:
+ - debug
+
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@jest/transform': 29.7.0
+ '@types/babel__core': 7.20.5
+ babel-plugin-istanbul: 6.1.1
+ babel-preset-jest: 29.6.3(@babel/[email protected])
+ chalk: 4.1.2
+ graceful-fs: 4.2.11
+ slash: 3.0.0
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@jest/transform': 29.7.0
+ '@types/babel__core': 7.20.5
+ babel-plugin-istanbul: 6.1.1
+ babel-preset-jest: 29.6.3(@babel/[email protected])
+ chalk: 4.1.2
+ graceful-fs: 4.2.11
+ slash: 3.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/helper-plugin-utils': 7.27.1
+ '@istanbuljs/load-nyc-config': 1.1.0
+ '@istanbuljs/schema': 0.1.3
+ istanbul-lib-instrument: 5.2.1
+ test-exclude: 6.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/template': 7.27.2
+ '@babel/types': 7.27.1
+ '@types/babel__core': 7.20.5
+ '@types/babel__traverse': 7.20.7
+
+ dependencies:
+ '@babel/compat-data': 7.28.0
+ '@babel/core': 7.12.9
+ '@babel/helper-define-polyfill-provider': 0.6.5(@babel/[email protected])
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-define-polyfill-provider': 0.6.5(@babel/[email protected])
+ core-js-compat: 3.43.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/helper-define-polyfill-provider': 0.6.5(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/helper-module-imports': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.12.9
+ '@babel/plugin-syntax-async-generators': 7.8.4(@babel/[email protected])
+ '@babel/plugin-syntax-bigint': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-class-properties': 7.12.13(@babel/[email protected])
+ '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/[email protected])
+ '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/[email protected])
+ '@babel/plugin-syntax-import-meta': 7.10.4(@babel/[email protected])
+ '@babel/plugin-syntax-json-strings': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/[email protected])
+ '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/[email protected])
+ '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/[email protected])
+ '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/[email protected])
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/plugin-syntax-async-generators': 7.8.4(@babel/[email protected])
+ '@babel/plugin-syntax-bigint': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-class-properties': 7.12.13(@babel/[email protected])
+ '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/[email protected])
+ '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/[email protected])
+ '@babel/plugin-syntax-import-meta': 7.10.4(@babel/[email protected])
+ '@babel/plugin-syntax-json-strings': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/[email protected])
+ '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/[email protected])
+ '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/[email protected])
+ '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/[email protected])
+ '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/[email protected])
+
+ dependencies:
+ '@babel/core': 7.12.9
+ babel-plugin-jest-hoist: 29.6.3
+ babel-preset-current-node-syntax: 1.1.0(@babel/[email protected])
+ optional: true
+
+ dependencies:
+ '@babel/core': 7.27.1
+ babel-plugin-jest-hoist: 29.6.3
+ babel-preset-current-node-syntax: 1.1.0(@babel/[email protected])
+
+
+ optional: true
+
+
+ dependencies:
+ tweetnacl: 0.14.5
+
+
+ dependencies:
+ cmd-shim: 4.1.0
+ mkdirp-infer-owner: 2.0.0
+ npm-normalize-package-bin: 1.0.1
+ read-cmd-shim: 2.0.0
+ rimraf: 3.0.2
+ write-file-atomic: 3.0.3
+
+ dependencies:
+ bin-version: 6.0.0
+ semver: 7.7.2
+ semver-truncate: 3.0.0
+ optional: true
+
+ dependencies:
+ execa: 5.1.1
+ find-versions: 5.1.0
+ optional: true
+
+
+ dependencies:
+ buffer: 5.7.1
+ inherits: 2.0.4
+ readable-stream: 3.6.2
+
+ dependencies:
+ bytes: 3.1.2
+ content-type: 1.0.5
+ debug: 4.4.1
+ http-errors: 2.0.0
+ iconv-lite: 0.6.3
+ on-finished: 2.4.1
+ qs: 6.14.0
+ raw-body: 3.0.0
+ type-is: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
+
+
+
+ dependencies:
+ balanced-match: 1.0.2
+ concat-map: 0.0.1
+
+ dependencies:
+ balanced-match: 1.0.2
+
+ dependencies:
+ fill-range: 7.1.1
+
+
+ dependencies:
+ caniuse-lite: 1.0.30001718
+ electron-to-chromium: 1.5.157
+ node-releases: 2.0.19
+ update-browserslist-db: 1.1.3([email protected])
+
+ dependencies:
+ caniuse-lite: 1.0.30001726
+ electron-to-chromium: 1.5.179
+ node-releases: 2.0.19
+ update-browserslist-db: 1.1.3([email protected])
+
+ dependencies:
+ fast-json-stable-stringify: 2.1.0
+
+ dependencies:
+ node-int64: 0.4.0
+
+
+
+
+
+ dependencies:
+ base64-js: 1.5.1
+ ieee754: 1.2.1
+
+
+
+ dependencies:
+ streamsearch: 1.1.0
+
+
+
+ dependencies:
+ '@npmcli/fs': 1.1.1
+ '@npmcli/move-file': 1.1.2
+ chownr: 2.0.0
+ fs-minipass: 2.1.0
+ glob: 7.2.3
+ infer-owner: 1.0.4
+ lru-cache: 6.0.0
+ minipass: 3.3.6
+ minipass-collect: 1.0.2
+ minipass-flush: 1.0.5
+ minipass-pipeline: 1.2.4
+ mkdirp: 1.0.4
+ p-map: 4.0.0
+ promise-inflight: 1.0.1
+ rimraf: 3.0.2
+ ssri: 8.0.1
+ tar: 6.2.1
+ unique-filename: 1.1.1
+ transitivePeerDependencies:
+ - bluebird
+
+ optional: true
+
+ dependencies:
+ '@types/http-cache-semantics': 4.0.4
+ get-stream: 6.0.1
+ http-cache-semantics: 4.2.0
+ keyv: 4.5.4
+ mimic-response: 4.0.0
+ normalize-url: 8.0.1
+ responselike: 3.0.0
+ optional: true
+
+ dependencies:
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ es-define-property: 1.0.1
+ get-intrinsic: 1.3.0
+ set-function-length: 1.2.2
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ get-intrinsic: 1.3.0
+
+
+
+
+
+
+
+
+
+ dependencies:
+ ansi-styles: 4.3.0
+ supports-color: 7.2.0
+
+
+
+
+
+ dependencies:
+ anymatch: 3.1.3
+ braces: 3.0.3
+ glob-parent: 5.1.2
+ is-binary-path: 2.1.0
+ is-glob: 4.0.3
+ normalize-path: 3.0.0
+ readdirp: 3.6.0
+ optionalDependencies:
+ fsevents: 2.3.3
+
+ dependencies:
+ readdirp: 4.1.2
+
+
+
+
+ dependencies:
+ lodash.reduce: 4.6.0
+ readable-stream: 2.3.8
+
+
+
+
+
+ dependencies:
+ '@types/validator': 13.15.1
+ libphonenumber-js: 1.12.8
+ validator: 13.15.0
+
+ dependencies:
+ escape-string-regexp: 1.0.5
+
+
+ dependencies:
+ restore-cursor: 3.1.0
+
+ dependencies:
+ restore-cursor: 5.1.0
+
+
+ dependencies:
+ string-width: 4.2.3
+ optionalDependencies:
+ '@colors/colors': 1.5.0
+
+ dependencies:
+ slice-ansi: 5.0.0
+ string-width: 7.2.0
+
+
+ dependencies:
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+ wrap-ansi: 7.0.0
+
+
+
+ dependencies:
+ mkdirp-infer-owner: 2.0.0
+
+
+
+
+
+ dependencies:
+ color-name: 1.1.4
+
+
+
+ dependencies:
+ delayed-stream: 1.0.0
+
+
+
+
+
+
+ optional: true
+
+ dependencies:
+ array-timsort: 1.0.3
+ core-util-is: 1.0.3
+ esprima: 4.0.1
+ has-own-prop: 2.0.0
+ repeat-string: 1.6.1
+
+
+
+ dependencies:
+ array-ify: 1.0.0
+ dot-prop: 5.3.0
+
+
+
+ dependencies:
+ buffer-from: 1.1.2
+ inherits: 2.0.4
+ readable-stream: 2.3.8
+ typedarray: 0.0.6
+
+
+
+
+
+ dependencies:
+ safe-buffer: 5.2.1
+ optional: true
+
+ dependencies:
+ safe-buffer: 5.2.1
+
+
+ dependencies:
+ compare-func: 2.0.0
+ lodash: 4.17.21
+ q: 1.5.1
+
+
+
+
+
+
+ dependencies:
+ browserslist: 4.25.1
+
+
+
+ dependencies:
+ object-assign: 4.1.1
+ vary: 1.1.2
+
+ dependencies:
+ import-fresh: 3.3.1
+ js-yaml: 4.1.0
+ parse-json: 5.2.0
+ path-type: 4.0.0
+ optionalDependencies:
+ typescript: 5.8.3
+
+ dependencies:
+ '@jest/types': 29.6.3
+ chalk: 4.1.2
+ exit: 0.1.2
+ graceful-fs: 4.2.11
+ jest-util: 29.7.0
+ prompts: 2.4.2
+ transitivePeerDependencies:
+ - '@types/node'
+ - babel-plugin-macros
+ - supports-color
+ - ts-node
+
+
+ dependencies:
+ node-fetch: 2.6.7([email protected])
+ transitivePeerDependencies:
+ - encoding
+
+ dependencies:
+ path-key: 3.1.1
+ shebang-command: 2.0.0
+ which: 2.0.2
+
+
+
+
+ dependencies:
+ cssom: 0.3.8
+
+ dependencies:
+ assert-plus: 1.0.0
+
+
+ dependencies:
+ abab: 2.0.6
+ whatwg-mimetype: 2.3.0
+ whatwg-url: 8.7.0
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-data-view: 1.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-data-view: 1.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-data-view: 1.0.2
+
+
+
+ dependencies:
+ ms: 2.1.2
+
+ dependencies:
+ ms: 2.1.3
+
+
+
+ dependencies:
+ character-entities: 2.0.2
+
+ dependencies:
+ mimic-response: 3.1.0
+ optional: true
+
+
+
+
+ dependencies:
+ clone: 1.0.4
+
+ optional: true
+
+ optional: true
+
+ dependencies:
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ gopd: 1.2.0
+
+ dependencies:
+ define-data-property: 1.1.4
+ has-property-descriptors: 1.0.2
+ object-keys: 1.1.1
+
+
+
+
+
+
+
+
+ dependencies:
+ dequal: 2.0.3
+
+
+ dependencies:
+ asap: 2.0.6
+ wrappy: 1.0.2
+
+
+
+ dependencies:
+ webidl-conversions: 5.0.0
+
+
+ dependencies:
+ is-obj: 2.0.0
+
+ dependencies:
+ is-obj: 2.0.0
+
+ dependencies:
+ dotenv: 16.4.7
+ optional: true
+
+ optional: true
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ es-errors: 1.3.0
+ gopd: 1.2.0
+
+
+ dependencies:
+ jsbn: 0.1.1
+ safer-buffer: 2.1.2
+
+ dependencies:
+ safe-buffer: 5.2.1
+
+
+ dependencies:
+ jake: 10.9.2
+
+
+
+
+
+
+
+
+ dependencies:
+ iconv-lite: 0.6.3
+ optional: true
+
+ dependencies:
+ once: 1.4.0
+
+ dependencies:
+ graceful-fs: 4.2.11
+ tapable: 2.2.2
+
+
+
+
+
+
+ dependencies:
+ is-arrayish: 0.2.1
+
+ dependencies:
+ array-buffer-byte-length: 1.0.2
+ arraybuffer.prototype.slice: 1.0.4
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ data-view-buffer: 1.0.2
+ data-view-byte-length: 1.0.2
+ data-view-byte-offset: 1.0.1
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.1
+ es-set-tostringtag: 2.1.0
+ es-to-primitive: 1.3.0
+ function.prototype.name: 1.1.8
+ get-intrinsic: 1.3.0
+ get-proto: 1.0.1
+ get-symbol-description: 1.1.0
+ globalthis: 1.0.4
+ gopd: 1.2.0
+ has-property-descriptors: 1.0.2
+ has-proto: 1.2.0
+ has-symbols: 1.1.0
+ hasown: 2.0.2
+ internal-slot: 1.1.0
+ is-array-buffer: 3.0.5
+ is-callable: 1.2.7
+ is-data-view: 1.0.2
+ is-negative-zero: 2.0.3
+ is-regex: 1.2.1
+ is-set: 2.0.3
+ is-shared-array-buffer: 1.0.4
+ is-string: 1.1.1
+ is-typed-array: 1.1.15
+ is-weakref: 1.1.1
+ math-intrinsics: 1.1.0
+ object-inspect: 1.13.4
+ object-keys: 1.1.1
+ object.assign: 4.1.7
+ own-keys: 1.0.1
+ regexp.prototype.flags: 1.5.4
+ safe-array-concat: 1.1.3
+ safe-push-apply: 1.0.0
+ safe-regex-test: 1.1.0
+ set-proto: 1.0.0
+ stop-iteration-iterator: 1.1.0
+ string.prototype.trim: 1.2.10
+ string.prototype.trimend: 1.0.9
+ string.prototype.trimstart: 1.0.8
+ typed-array-buffer: 1.0.3
+ typed-array-byte-length: 1.0.3
+ typed-array-byte-offset: 1.0.4
+ typed-array-length: 1.0.7
+ unbox-primitive: 1.1.0
+ which-typed-array: 1.1.19
+
+ dependencies:
+ define-data-property: 1.1.4
+ define-properties: 1.2.1
+ es-abstract: 1.24.0
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+ globalthis: 1.0.4
+ has-property-descriptors: 1.0.2
+ set-function-name: 2.0.2
+
+
+
+
+ dependencies:
+ es-errors: 1.3.0
+
+ dependencies:
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ has-tostringtag: 1.0.2
+ hasown: 2.0.2
+
+ dependencies:
+ is-callable: 1.2.7
+ is-date-object: 1.1.0
+ is-symbol: 1.1.1
+
+
+
+
+
+
+
+ dependencies:
+ esprima: 4.0.1
+ estraverse: 5.3.0
+ esutils: 2.0.3
+ optionalDependencies:
+ source-map: 0.6.1
+
+ dependencies:
+ eslint: 9.27.0
+ semver: 7.7.2
+
+ dependencies:
+ eslint: 9.27.0
+ semver: 7.7.2
+
+ dependencies:
+ '@eslint/compat': 1.3.1([email protected])
+ eslint: 9.27.0
+
+ dependencies:
+ pathe: 2.0.3
+
+ dependencies:
+ eslint: 9.27.0
+ prettier-linter-helpers: 1.0.0
+
+ dependencies:
+ eslint: 9.27.0
+ esquery: 1.6.0
+ jsonc-eslint-parser: 2.4.0
+
+ dependencies:
+ eslint: 9.27.0
+
+
+ dependencies:
+ eslint: 9.27.0
+
+ dependencies:
+ '@es-joy/jsdoccomment': 0.50.2
+ eslint: 9.27.0
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@eslint-community/regexpp': 4.12.1
+ eslint: 9.27.0
+ 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.27.0
+ eslint-formatting-reporter: 0.0.0([email protected])
+ eslint-parser-plain: 0.1.1
+ prettier: 3.5.3
+ synckit: 0.9.3
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@typescript-eslint/types': 8.35.1
+ eslint: 9.27.0
+ optionalDependencies:
+ typescript: 5.8.3
+
+ dependencies:
+ '@es-joy/jsdoccomment': 0.52.0
+ are-docs-informative: 0.0.2
+ comment-parser: 1.4.1
+ debug: 4.4.1
+ escape-string-regexp: 4.0.0
+ eslint: 9.27.0
+ espree: 10.4.0
+ esquery: 1.6.0
+ parse-imports-exports: 0.2.4
+ semver: 7.7.2
+ spdx-expression-parse: 4.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ eslint: 9.27.0
+ 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.0
+ natural-compare: 1.4.0
+ synckit: 0.11.6
+ transitivePeerDependencies:
+ - '@eslint/json'
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@typescript-eslint/utils': 8.32.1([email protected])([email protected])
+ enhanced-resolve: 5.18.1
+ eslint: 9.27.0
+ eslint-plugin-es-x: 7.8.0([email protected])
+ get-tsconfig: 4.10.1
+ globals: 15.15.0
+ ignore: 5.3.2
+ minimatch: 9.0.5
+ semver: 7.7.2
+ ts-declaration-location: 1.0.7([email protected])
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
+
+ dependencies:
+ '@typescript-eslint/types': 8.35.1
+ '@typescript-eslint/utils': 8.35.1([email protected])([email protected])
+ eslint: 9.27.0
+ natural-orderby: 5.0.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
+ dependencies:
+ eslint: 9.27.0
+ find-up-simple: 1.0.1
+ jsonc-eslint-parser: 2.4.0
+ pathe: 2.0.3
+ pnpm-workspace-yaml: 0.3.1
+ tinyglobby: 0.2.14
+ yaml-eslint-parser: 1.3.0
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@eslint-community/regexpp': 4.12.1
+ comment-parser: 1.4.1
+ eslint: 9.27.0
+ jsdoc-type-pratt-parser: 4.1.0
+ refa: 0.12.1
+ regexp-ast-analysis: 0.7.1
+ scslre: 0.3.0
+
+ dependencies:
+ debug: 4.4.1
+ eslint: 9.27.0
+ 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.27.1
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ '@eslint/plugin-kit': 0.2.8
+ ci-info: 4.2.0
+ clean-regexp: 1.0.0
+ core-js-compat: 3.43.0
+ eslint: 9.27.0
+ esquery: 1.6.0
+ find-up-simple: 1.0.1
+ globals: 16.3.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.12.0
+ semver: 7.7.2
+ strip-indent: 4.0.0
+
+ dependencies:
+ eslint: 9.27.0
+ optionalDependencies:
+ '@typescript-eslint/eslint-plugin': 8.35.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected])
+ eslint: 9.27.0
+ 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:
+ '@typescript-eslint/parser': 8.35.1([email protected])([email protected])
+
+ dependencies:
+ debug: 4.4.1
+ escape-string-regexp: 4.0.0
+ eslint: 9.27.0
+ 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.17
+ eslint: 9.27.0
+
+ dependencies:
+ esrecurse: 4.3.0
+ estraverse: 4.3.0
+
+ dependencies:
+ esrecurse: 4.3.0
+ estraverse: 5.3.0
+
+
+
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.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/eslintrc': 3.3.1
+ '@eslint/js': 9.27.0
+ '@eslint/plugin-kit': 0.3.1
+ '@humanfs/node': 0.16.6
+ '@humanwhocodes/module-importer': 1.0.1
+ '@humanwhocodes/retry': 0.4.3
+ '@types/estree': 1.0.7
+ '@types/json-schema': 7.0.15
+ ajv: 6.12.6
+ chalk: 4.1.2
+ cross-spawn: 7.0.6
+ debug: 4.4.1
+ escape-string-regexp: 4.0.0
+ eslint-scope: 8.3.0
+ eslint-visitor-keys: 4.2.0
+ espree: 10.3.0
+ esquery: 1.6.0
+ esutils: 2.0.3
+ fast-deep-equal: 3.1.3
+ file-entry-cache: 8.0.0
+ find-up: 5.0.0
+ glob-parent: 6.0.2
+ ignore: 5.3.2
+ imurmurhash: 0.1.4
+ is-glob: 4.0.3
+ json-stable-stringify-without-jsonify: 1.0.1
+ lodash.merge: 4.6.2
+ minimatch: 3.1.2
+ natural-compare: 1.4.0
+ optionator: 0.9.4
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ acorn: 8.14.1
+ 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.14.1
+ acorn-jsx: 5.3.2([email protected])
+ eslint-visitor-keys: 3.4.3
+
+
+ dependencies:
+ estraverse: 5.3.0
+
+ dependencies:
+ estraverse: 5.3.0
+
+
+
+
+
+
+
+
+
+
+
+ dependencies:
+ cross-spawn: 7.0.6
+ get-stream: 6.0.1
+ human-signals: 2.1.0
+ is-stream: 2.0.1
+ merge-stream: 2.0.0
+ npm-run-path: 4.0.1
+ onetime: 5.1.2
+ signal-exit: 3.0.7
+ strip-final-newline: 2.0.0
+
+
+ dependencies:
+ '@jest/expect-utils': 29.7.0
+ jest-get-type: 29.6.3
+ jest-matcher-utils: 29.7.0
+ jest-message-util: 29.7.0
+ jest-util: 29.7.0
+
+ dependencies:
+ accepts: 2.0.0
+ body-parser: 2.2.0
+ content-disposition: 1.0.0
+ content-type: 1.0.5
+ cookie: 0.7.2
+ cookie-signature: 1.2.2
+ debug: 4.4.1
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ etag: 1.8.1
+ finalhandler: 2.1.0
+ fresh: 2.0.0
+ http-errors: 2.0.0
+ merge-descriptors: 2.0.0
+ mime-types: 3.0.1
+ on-finished: 2.4.1
+ once: 1.4.0
+ parseurl: 1.3.3
+ proxy-addr: 2.0.7
+ qs: 6.14.0
+ range-parser: 1.2.1
+ router: 2.2.0
+ send: 1.2.0
+ serve-static: 2.2.0
+ statuses: 2.0.1
+ type-is: 2.0.1
+ vary: 1.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ mime-db: 1.54.0
+ optional: true
+
+ dependencies:
+ ext-list: 2.2.2
+ sort-keys-length: 1.0.1
+ optional: true
+
+
+ dependencies:
+ chardet: 0.7.0
+ iconv-lite: 0.4.24
+ tmp: 0.0.33
+
+ dependencies:
+ debug: 4.4.1
+ get-stream: 5.2.0
+ yauzl: 2.10.0
+ optionalDependencies:
+ '@types/yauzl': 2.10.3
+ transitivePeerDependencies:
+ - supports-color
+
+
+
+
+
+
+
+ optional: true
+
+ dependencies:
+ '@nodelib/fs.stat': 2.0.5
+ '@nodelib/fs.walk': 1.2.8
+ glob-parent: 5.1.2
+ merge2: 1.4.1
+ micromatch: 4.0.8
+
+
+
+
+
+
+
+ dependencies:
+ strnum: 1.1.2
+
+ dependencies:
+ strnum: 2.1.1
+
+ dependencies:
+ reusify: 1.1.0
+
+ dependencies:
+ format: 0.2.2
+
+ dependencies:
+ bser: 2.1.1
+
+ dependencies:
+ pend: 1.2.0
+
+ optionalDependencies:
+ picomatch: 4.0.2
+
+ dependencies:
+ node-domexception: 1.0.0
+ web-streams-polyfill: 3.3.3
+
+
+ dependencies:
+ flat-cache: 4.0.1
+
+ dependencies:
+ get-stream: 9.0.1
+ strtok3: 9.1.1
+ token-types: 6.0.0
+ uint8array-extras: 1.4.0
+ optional: true
+
+ dependencies:
+ '@tokenizer/inflate': 0.2.7
+ strtok3: 10.2.2
+ token-types: 6.0.0
+ uint8array-extras: 1.4.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ minimatch: 5.1.6
+
+
+ optional: true
+
+ dependencies:
+ filename-reserved-regex: 2.0.0
+ strip-outer: 1.0.1
+ trim-repeated: 1.0.0
+
+ dependencies:
+ filename-reserved-regex: 3.0.0
+ optional: true
+
+ dependencies:
+ to-regex-range: 5.0.1
+
+ dependencies:
+ debug: 4.4.1
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ on-finished: 2.4.1
+ parseurl: 1.3.3
+ statuses: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ locate-path: 5.0.0
+ path-exists: 4.0.0
+
+ dependencies:
+ locate-path: 6.0.0
+ path-exists: 4.0.0
+
+ dependencies:
+ semver-regex: 4.0.5
+ optional: true
+
+ dependencies:
+ generative-bayesian-network: 2.1.69
+ header-generator: 2.1.69
+ tslib: 2.8.1
+
+ dependencies:
+ flatted: 3.3.3
+ keyv: 4.5.4
+
+
+
+ dependencies:
+ is-callable: 1.2.7
+
+
+
+ dependencies:
+ cross-spawn: 7.0.6
+ signal-exit: 4.1.0
+
+
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ chalk: 4.1.2
+ chokidar: 4.0.3
+ cosmiconfig: 8.3.6([email protected])
+ deepmerge: 4.3.1
+ fs-extra: 10.1.0
+ memfs: 3.5.3
+ minimatch: 3.1.2
+ node-abort-controller: 3.1.1
+ schema-utils: 3.3.0
+ semver: 7.7.2
+ tapable: 2.2.2
+ typescript: 5.8.3
+ webpack: 5.99.6(@swc/[email protected])
+
+ optional: true
+
+ dependencies:
+ asynckit: 0.4.0
+ combined-stream: 1.0.8
+ mime-types: 2.1.35
+
+ dependencies:
+ asynckit: 0.4.0
+ combined-stream: 1.0.8
+ es-set-tostringtag: 2.1.0
+ mime-types: 2.1.35
+
+ dependencies:
+ asynckit: 0.4.0
+ combined-stream: 1.0.8
+ es-set-tostringtag: 2.1.0
+ mime-types: 2.1.35
+
+
+ dependencies:
+ fetch-blob: 3.2.0
+
+ dependencies:
+ '@paralleldrive/cuid2': 2.2.2
+ dezalgo: 1.0.4
+ once: 1.4.0
+
+
+
+
+ dependencies:
+ jsonfile: 1.0.1
+ mkdirp: 0.3.5
+ ncp: 0.4.2
+ rimraf: 2.2.8
+
+ dependencies:
+ graceful-fs: 4.2.11
+ jsonfile: 6.1.0
+ universalify: 2.0.1
+
+ dependencies:
+ minipass: 3.3.6
+
+
+ dependencies:
+ fs-extra: 0.6.4
+ mkdirp: 0.3.5
+ walk: 2.3.15
+
+
+ optional: true
+
+
+ dependencies:
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ define-properties: 1.2.1
+ functions-have-names: 1.2.3
+ hasown: 2.0.2
+ is-callable: 1.2.7
+
+
+ dependencies:
+ aproba: 1.2.0
+ console-control-strings: 1.1.0
+ has-unicode: 2.0.1
+ object-assign: 4.1.1
+ signal-exit: 3.0.7
+ string-width: 1.0.2
+ strip-ansi: 3.0.1
+ wide-align: 1.1.5
+
+ dependencies:
+ extend: 3.0.2
+ https-proxy-agent: 7.0.6
+ node-fetch: 3.3.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ gaxios: 7.0.0-rc.6
+ google-logging-utils: 1.1.1
+ json-bigint: 1.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ adm-zip: 0.5.16
+ tslib: 2.8.1
+
+
+
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.1
+ function-bind: 1.1.2
+ get-proto: 1.0.1
+ gopd: 1.2.0
+ has-symbols: 1.1.0
+ hasown: 2.0.2
+ math-intrinsics: 1.1.0
+
+
+ dependencies:
+ dunder-proto: 1.0.1
+ es-object-atoms: 1.1.1
+
+ dependencies:
+ pump: 3.0.3
+
+
+ dependencies:
+ '@sec-ant/readable-stream': 0.4.1
+ is-stream: 4.0.1
+ optional: true
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+
+ dependencies:
+ resolve-pkg-maps: 1.0.0
+
+ dependencies:
+ assert-plus: 1.0.0
+
+
+ dependencies:
+ is-glob: 4.0.3
+
+ dependencies:
+ is-glob: 4.0.3
+
+
+ dependencies:
+ foreground-child: 3.3.1
+ jackspeak: 4.1.1
+ minimatch: 10.0.1
+ minipass: 7.1.2
+ package-json-from-dist: 1.0.1
+ path-scurry: 2.0.0
+
+ dependencies:
+ fs.realpath: 1.0.0
+ inflight: 1.0.6
+ inherits: 2.0.4
+ minimatch: 3.1.2
+ once: 1.4.0
+ path-is-absolute: 1.0.1
+
+ dependencies:
+ ini: 2.0.0
+
+
+
+
+
+
+ dependencies:
+ define-properties: 1.2.1
+ gopd: 1.2.0
+
+ dependencies:
+ base64-js: 1.5.1
+ ecdsa-sig-formatter: 1.0.11
+ gaxios: 7.0.0-rc.6
+ gcp-metadata: 7.0.0-rc.1
+ google-logging-utils: 1.1.1
+ gtoken: 8.0.0-rc.1
+ jws: 4.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ extend: 3.0.2
+ gaxios: 7.0.0-rc.6
+ google-auth-library: 10.0.0-rc.3
+ qs: 6.14.0
+ url-template: 2.0.8
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ google-auth-library: 10.0.0-rc.3
+ googleapis-common: 8.0.2-rc.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ '@sindresorhus/is': 5.6.0
+ '@szmarczak/http-timer': 5.0.1
+ cacheable-lookup: 7.0.0
+ cacheable-request: 10.2.14
+ decompress-response: 6.0.0
+ form-data-encoder: 2.1.4
+ get-stream: 6.0.1
+ http2-wrapper: 2.2.1
+ lowercase-keys: 3.0.0
+ p-cancelable: 3.0.0
+ responselike: 3.0.0
+ optional: true
+
+
+
+
+ dependencies:
+ gaxios: 7.0.0-rc.6
+ jws: 4.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ ajv: 6.12.6
+ har-schema: 2.0.0
+
+
+
+
+ dependencies:
+ es-define-property: 1.0.1
+
+ dependencies:
+ dunder-proto: 1.0.1
+
+
+ dependencies:
+ has-symbols: 1.1.0
+
+
+ dependencies:
+ function-bind: 1.1.2
+
+ dependencies:
+ browserslist: 4.25.1
+ generative-bayesian-network: 2.1.69
+ ow: 0.28.2
+ tslib: 2.8.1
+
+
+
+ dependencies:
+ lru-cache: 6.0.0
+
+ dependencies:
+ whatwg-encoding: 1.0.5
+
+
+
+ dependencies:
+ depd: 2.0.0
+ inherits: 2.0.4
+ setprototypeof: 1.2.0
+ statuses: 2.0.1
+ toidentifier: 1.0.1
+
+ dependencies:
+ '@tootallnate/once': 1.1.2
+ agent-base: 6.0.2
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ assert-plus: 1.0.0
+ jsprim: 1.4.2
+ sshpk: 1.18.0
+
+ dependencies:
+ quick-lru: 5.1.1
+ resolve-alpn: 1.2.1
+ optional: true
+
+ dependencies:
+ agent-base: 6.0.2
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ agent-base: 7.1.3
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ ms: 2.1.3
+
+ dependencies:
+ safer-buffer: 2.1.2
+
+ dependencies:
+ safer-buffer: 2.1.2
+
+
+ dependencies:
+ minimatch: 3.1.2
+
+
+
+
+ dependencies:
+ parent-module: 1.0.1
+ resolve-from: 4.0.0
+
+ dependencies:
+ pkg-dir: 4.2.0
+ resolve-cwd: 3.0.0
+
+
+
+
+
+ dependencies:
+ once: 1.4.0
+ wrappy: 1.0.2
+
+
+
+ dependencies:
+ kind-of: 6.0.3
+ optional: true
+
+ dependencies:
+ es-errors: 1.3.0
+ hasown: 2.0.2
+ side-channel: 1.1.0
+
+ dependencies:
+ '@ioredis/commands': 1.2.0
+ cluster-key-slot: 1.1.2
+ debug: 4.4.1
+ denque: 2.1.0
+ lodash.defaults: 4.2.0
+ lodash.isarguments: 3.1.0
+ redis-errors: 1.2.0
+ redis-parser: 3.0.0
+ standard-as-callback: 2.1.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ jsbn: 1.1.0
+ sprintf-js: 1.1.3
+
+
+ dependencies:
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+
+
+ dependencies:
+ async-function: 1.0.0
+ call-bound: 1.0.4
+ get-proto: 1.0.1
+ has-tostringtag: 1.0.2
+ safe-regex-test: 1.1.0
+
+ dependencies:
+ has-bigints: 1.1.0
+
+ dependencies:
+ binary-extensions: 2.3.0
+
+ dependencies:
+ call-bound: 1.0.4
+ has-tostringtag: 1.0.2
+
+ dependencies:
+ builtin-modules: 5.0.0
+
+
+ dependencies:
+ hasown: 2.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+ is-typed-array: 1.1.15
+
+ dependencies:
+ call-bound: 1.0.4
+ has-tostringtag: 1.0.2
+
+
+ dependencies:
+ call-bound: 1.0.4
+
+ dependencies:
+ number-is-nan: 1.0.1
+
+
+
+ dependencies:
+ get-east-asian-width: 1.3.0
+
+
+ dependencies:
+ call-bound: 1.0.4
+ get-proto: 1.0.1
+ has-tostringtag: 1.0.2
+ safe-regex-test: 1.1.0
+
+ dependencies:
+ is-extglob: 2.1.1
+
+
+
+
+
+ dependencies:
+ call-bound: 1.0.4
+ has-tostringtag: 1.0.2
+
+
+
+ optional: true
+
+ dependencies:
+ isobject: 3.0.1
+
+
+
+
+ dependencies:
+ call-bound: 1.0.4
+ gopd: 1.2.0
+ has-tostringtag: 1.0.2
+ hasown: 2.0.2
+
+
+ dependencies:
+ call-bound: 1.0.4
+
+
+ optional: true
+
+ dependencies:
+ call-bound: 1.0.4
+ has-tostringtag: 1.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ has-symbols: 1.1.0
+ safe-regex-test: 1.1.0
+
+ dependencies:
+ which-typed-array: 1.1.19
+
+
+
+
+ dependencies:
+ call-bound: 1.0.4
+
+ dependencies:
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+
+
+
+
+
+ dependencies:
+ '@types/dompurify': 2.4.0
+ dompurify: 2.5.8
+ jsdom: 16.7.0
+ transitivePeerDependencies:
+ - bufferutil
+ - canvas
+ - supports-color
+ - utf-8-validate
+
+
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/parser': 7.27.2
+ '@istanbuljs/schema': 0.1.3
+ istanbul-lib-coverage: 3.2.2
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/parser': 7.27.2
+ '@istanbuljs/schema': 0.1.3
+ istanbul-lib-coverage: 3.2.2
+ semver: 7.7.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ istanbul-lib-coverage: 3.2.2
+ make-dir: 4.0.0
+ supports-color: 7.2.0
+
+ dependencies:
+ debug: 4.4.1
+ istanbul-lib-coverage: 3.2.2
+ source-map: 0.6.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ html-escaper: 2.0.2
+ istanbul-lib-report: 3.0.1
+
+
+ dependencies:
+ '@isaacs/cliui': 8.0.2
+
+ dependencies:
+ async: 3.2.6
+ chalk: 4.1.2
+ filelist: 1.0.4
+ minimatch: 3.1.2
+
+ dependencies:
+ execa: 5.1.1
+ jest-util: 29.7.0
+ p-limit: 3.1.0
+
+ dependencies:
+ '@jest/environment': 29.7.0
+ '@jest/expect': 29.7.0
+ '@jest/test-result': 29.7.0
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ chalk: 4.1.2
+ co: 4.6.0
+ dedent: 1.6.0
+ is-generator-fn: 2.1.0
+ jest-each: 29.7.0
+ jest-matcher-utils: 29.7.0
+ jest-message-util: 29.7.0
+ jest-runtime: 29.7.0
+ jest-snapshot: 29.7.0
+ jest-util: 29.7.0
+ p-limit: 3.1.0
+ pretty-format: 29.7.0
+ pure-rand: 6.1.0
+ slash: 3.0.0
+ stack-utils: 2.0.6
+ transitivePeerDependencies:
+ - babel-plugin-macros
+ - supports-color
+
+ dependencies:
+ '@jest/test-result': 29.7.0
+ '@jest/types': 29.6.3
+ chalk: 4.1.2
+ exit: 0.1.2
+ import-local: 3.2.0
+ jest-util: 29.7.0
+ jest-validate: 29.7.0
+ yargs: 17.7.2
+ transitivePeerDependencies:
+ - '@types/node'
+ - babel-plugin-macros
+ - supports-color
+ - ts-node
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@jest/test-sequencer': 29.7.0
+ '@jest/types': 29.6.3
+ babel-jest: 29.7.0(@babel/[email protected])
+ chalk: 4.1.2
+ ci-info: 3.9.0
+ deepmerge: 4.3.1
+ glob: 7.2.3
+ graceful-fs: 4.2.11
+ jest-circus: 29.7.0
+ jest-environment-node: 29.7.0
+ jest-get-type: 29.6.3
+ jest-regex-util: 29.6.3
+ jest-resolve: 29.7.0
+ jest-runner: 29.7.0
+ jest-util: 29.7.0
+ jest-validate: 29.7.0
+ micromatch: 4.0.8
+ parse-json: 5.2.0
+ pretty-format: 29.7.0
+ slash: 3.0.0
+ strip-json-comments: 3.1.1
+ optionalDependencies:
+ '@types/node': 22.15.21
+ transitivePeerDependencies:
+ - babel-plugin-macros
+ - supports-color
+
+ dependencies:
+ chalk: 4.1.2
+ diff-sequences: 29.6.3
+ jest-get-type: 29.6.3
+ pretty-format: 29.7.0
+
+ dependencies:
+ detect-newline: 3.1.0
+
+ dependencies:
+ '@jest/types': 29.6.3
+ chalk: 4.1.2
+ jest-get-type: 29.6.3
+ jest-util: 29.7.0
+ pretty-format: 29.7.0
+
+ dependencies:
+ '@jest/environment': 29.7.0
+ '@jest/fake-timers': 29.7.0
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ jest-mock: 29.7.0
+ jest-util: 29.7.0
+
+
+ dependencies:
+ '@jest/types': 29.6.3
+ '@types/graceful-fs': 4.1.9
+ '@types/node': 22.15.21
+ anymatch: 3.1.3
+ fb-watchman: 2.0.2
+ graceful-fs: 4.2.11
+ jest-regex-util: 29.6.3
+ jest-util: 29.7.0
+ jest-worker: 29.7.0
+ micromatch: 4.0.8
+ walker: 1.0.8
+ optionalDependencies:
+ fsevents: 2.3.3
+
+ dependencies:
+ jest-get-type: 29.6.3
+ pretty-format: 29.7.0
+
+ dependencies:
+ chalk: 4.1.2
+ jest-diff: 29.7.0
+ jest-get-type: 29.6.3
+ pretty-format: 29.7.0
+
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@jest/types': 29.6.3
+ '@types/stack-utils': 2.0.3
+ chalk: 4.1.2
+ graceful-fs: 4.2.11
+ micromatch: 4.0.8
+ pretty-format: 29.7.0
+ slash: 3.0.0
+ stack-utils: 2.0.6
+
+ dependencies:
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ jest-util: 29.7.0
+
+ optionalDependencies:
+ jest-resolve: 29.7.0
+
+
+ dependencies:
+ jest-regex-util: 29.6.3
+ jest-snapshot: 29.7.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ chalk: 4.1.2
+ graceful-fs: 4.2.11
+ jest-haste-map: 29.7.0
+ jest-pnp-resolver: 1.2.3([email protected])
+ jest-util: 29.7.0
+ jest-validate: 29.7.0
+ resolve: 1.22.10
+ resolve.exports: 2.0.3
+ slash: 3.0.0
+
+ dependencies:
+ '@jest/console': 29.7.0
+ '@jest/environment': 29.7.0
+ '@jest/test-result': 29.7.0
+ '@jest/transform': 29.7.0
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ chalk: 4.1.2
+ emittery: 0.13.1
+ graceful-fs: 4.2.11
+ jest-docblock: 29.7.0
+ jest-environment-node: 29.7.0
+ jest-haste-map: 29.7.0
+ jest-leak-detector: 29.7.0
+ jest-message-util: 29.7.0
+ jest-resolve: 29.7.0
+ jest-runtime: 29.7.0
+ jest-util: 29.7.0
+ jest-watcher: 29.7.0
+ jest-worker: 29.7.0
+ p-limit: 3.1.0
+ source-map-support: 0.5.13
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@jest/environment': 29.7.0
+ '@jest/fake-timers': 29.7.0
+ '@jest/globals': 29.7.0
+ '@jest/source-map': 29.6.3
+ '@jest/test-result': 29.7.0
+ '@jest/transform': 29.7.0
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ chalk: 4.1.2
+ cjs-module-lexer: 1.4.3
+ collect-v8-coverage: 1.0.2
+ glob: 7.2.3
+ graceful-fs: 4.2.11
+ jest-haste-map: 29.7.0
+ jest-message-util: 29.7.0
+ jest-mock: 29.7.0
+ jest-regex-util: 29.6.3
+ jest-resolve: 29.7.0
+ jest-snapshot: 29.7.0
+ jest-util: 29.7.0
+ slash: 3.0.0
+ strip-bom: 4.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/generator': 7.27.1
+ '@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])
+ '@babel/plugin-syntax-typescript': 7.27.1(@babel/[email protected])
+ '@babel/types': 7.27.1
+ '@jest/expect-utils': 29.7.0
+ '@jest/transform': 29.7.0
+ '@jest/types': 29.6.3
+ babel-preset-current-node-syntax: 1.1.0(@babel/[email protected])
+ chalk: 4.1.2
+ expect: 29.7.0
+ graceful-fs: 4.2.11
+ jest-diff: 29.7.0
+ jest-get-type: 29.6.3
+ jest-matcher-utils: 29.7.0
+ jest-message-util: 29.7.0
+ jest-util: 29.7.0
+ natural-compare: 1.4.0
+ pretty-format: 29.7.0
+ semver: 7.7.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ chalk: 4.1.2
+ ci-info: 3.9.0
+ graceful-fs: 4.2.11
+ picomatch: 2.3.1
+
+ dependencies:
+ '@jest/types': 29.6.3
+ camelcase: 6.3.0
+ chalk: 4.1.2
+ jest-get-type: 29.6.3
+ leven: 3.1.0
+ pretty-format: 29.7.0
+
+ dependencies:
+ '@jest/test-result': 29.7.0
+ '@jest/types': 29.6.3
+ '@types/node': 22.15.21
+ ansi-escapes: 4.3.2
+ chalk: 4.1.2
+ emittery: 0.13.1
+ jest-util: 29.7.0
+ string-length: 4.0.2
+
+ dependencies:
+ '@types/node': 22.15.21
+ merge-stream: 2.0.0
+ supports-color: 8.1.1
+
+ dependencies:
+ '@types/node': 22.15.21
+ jest-util: 29.7.0
+ merge-stream: 2.0.0
+ supports-color: 8.1.1
+
+ dependencies:
+ '@jest/types': 29.6.3
+ import-local: 3.2.0
+ transitivePeerDependencies:
+ - '@types/node'
+ - babel-plugin-macros
+ - supports-color
+ - ts-node
+
+
+
+
+ dependencies:
+ argparse: 1.0.10
+ esprima: 4.0.1
+
+ dependencies:
+ argparse: 2.0.1
+
+
+
+
+ dependencies:
+ abab: 2.0.6
+ acorn: 8.15.0
+ acorn-globals: 6.0.0
+ cssom: 0.4.4
+ cssstyle: 2.3.0
+ data-urls: 2.0.0
+ decimal.js: 10.5.0
+ domexception: 2.0.1
+ escodegen: 2.1.0
+ form-data: 3.0.3
+ html-encoding-sniffer: 2.0.1
+ http-proxy-agent: 4.0.1
+ https-proxy-agent: 5.0.1
+ is-potential-custom-element-name: 1.0.1
+ nwsapi: 2.2.20
+ parse5: 6.0.1
+ saxes: 5.0.1
+ symbol-tree: 3.2.4
+ tough-cookie: 4.1.4
+ w3c-hr-time: 1.0.2
+ w3c-xmlserializer: 2.0.0
+ webidl-conversions: 6.1.0
+ whatwg-encoding: 1.0.5
+ whatwg-mimetype: 2.3.0
+ whatwg-url: 8.7.0
+ ws: 7.5.10
+ xml-name-validator: 3.0.0
+ transitivePeerDependencies:
+ - bufferutil
+ - supports-color
+ - utf-8-validate
+
+
+
+
+ dependencies:
+ bignumber.js: 9.3.0
+
+
+
+ dependencies:
+ foreach: 2.0.6
+
+ dependencies:
+ ajv: 5.5.2
+
+
+
+
+
+
+
+
+ dependencies:
+ code-error-fragment: 0.0.230
+ grapheme-splitter: 1.0.4
+
+
+ dependencies:
+ acorn: 8.14.1
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
+ semver: 7.7.2
+
+
+
+
+ dependencies:
+ universalify: 2.0.1
+ optionalDependencies:
+ graceful-fs: 4.2.11
+
+
+ dependencies:
+ '@jsep-plugin/assignment': 1.3.0([email protected])
+ '@jsep-plugin/regex': 1.0.4([email protected])
+ jsep: 1.4.0
+
+
+
+ dependencies:
+ assert-plus: 1.0.0
+ extsprintf: 1.3.0
+ json-schema: 0.4.0
+ verror: 1.10.0
+
+
+
+ dependencies:
+ buffer-equal-constant-time: 1.0.1
+ ecdsa-sig-formatter: 1.0.11
+ safe-buffer: 5.2.1
+
+ dependencies:
+ jwa: 2.0.1
+ safe-buffer: 5.2.1
+
+
+ dependencies:
+ json-buffer: 3.0.1
+
+ optional: true
+
+
+
+
+ dependencies:
+ prelude-ls: 1.2.1
+ type-check: 0.4.0
+
+
+
+
+ dependencies:
+ uc.micro: 1.0.6
+
+ dependencies:
+ chalk: 5.4.1
+ commander: 14.0.0
+ debug: 4.4.1
+ lilconfig: 3.1.3
+ listr2: 8.3.3
+ micromatch: 4.0.8
+ nano-spawn: 1.0.2
+ pidtree: 0.6.0
+ string-argv: 0.3.2
+ yaml: 2.8.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ cli-truncate: 4.0.0
+ colorette: 2.0.20
+ eventemitter3: 5.0.1
+ log-update: 6.1.0
+ rfdc: 1.4.1
+ wrap-ansi: 9.0.0
+
+
+
+ dependencies:
+ mlly: 1.7.4
+ pkg-types: 2.2.0
+ quansync: 0.2.10
+
+ dependencies:
+ p-locate: 4.1.0
+
+ dependencies:
+ p-locate: 5.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+ dependencies:
+ chalk: 4.1.2
+ is-unicode-supported: 0.1.0
+
+ dependencies:
+ ansi-escapes: 7.0.0
+ cli-cursor: 5.0.0
+ slice-ansi: 7.1.0
+ strip-ansi: 7.1.0
+ wrap-ansi: 9.0.0
+
+
+
+
+ dependencies:
+ js-tokens: 4.0.0
+
+ optional: true
+
+
+ dependencies:
+ yallist: 3.1.1
+
+ dependencies:
+ yallist: 4.0.0
+
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.0
+
+ dependencies:
+ semver: 7.7.2
+
+
+ dependencies:
+ agentkeepalive: 4.6.0
+ cacache: 15.3.0
+ http-cache-semantics: 4.2.0
+ http-proxy-agent: 4.0.1
+ https-proxy-agent: 5.0.1
+ is-lambda: 1.0.1
+ lru-cache: 6.0.0
+ minipass: 3.3.6
+ minipass-collect: 1.0.2
+ minipass-fetch: 1.4.1
+ minipass-flush: 1.0.5
+ minipass-pipeline: 1.2.4
+ negotiator: 0.6.4
+ promise-retry: 2.0.1
+ socks-proxy-agent: 6.2.1
+ ssri: 8.0.1
+ transitivePeerDependencies:
+ - bluebird
+ - supports-color
+
+ dependencies:
+ tmpl: 1.0.5
+
+ dependencies:
+ argparse: 2.0.1
+ entities: 2.1.0
+ linkify-it: 3.0.3
+ mdurl: 1.0.1
+ uc.micro: 1.0.6
+
+
+
+
+ dependencies:
+ '@types/mdast': 4.0.4
+ escape-string-regexp: 5.0.0
+ unist-util-is: 6.0.0
+ unist-util-visit-parents: 6.0.1
+
+ 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.0
+
+ 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
+
+
+
+
+ dependencies:
+ fs-monkey: 1.0.6
+
+
+
+
+
+
+ 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.1
+ 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
+ picomatch: 2.3.1
+
+
+
+ dependencies:
+ mime-db: 1.52.0
+
+ dependencies:
+ mime-db: 1.54.0
+
+
+
+
+ optional: true
+
+ optional: true
+
+
+ dependencies:
+ brace-expansion: 2.0.1
+
+ dependencies:
+ brace-expansion: 1.1.11
+
+ dependencies:
+ brace-expansion: 2.0.1
+
+ dependencies:
+ brace-expansion: 2.0.1
+
+
+ dependencies:
+ minipass: 3.3.6
+
+ dependencies:
+ minipass: 3.3.6
+ minipass-sized: 1.0.3
+ minizlib: 2.1.2
+ optionalDependencies:
+ encoding: 0.1.13
+
+ dependencies:
+ minipass: 3.3.6
+
+ dependencies:
+ jsonparse: 1.3.1
+ minipass: 3.3.6
+
+ dependencies:
+ minipass: 3.3.6
+
+ dependencies:
+ minipass: 3.3.6
+
+ dependencies:
+ yallist: 4.0.0
+
+
+
+ dependencies:
+ minipass: 3.3.6
+ yallist: 4.0.0
+
+
+ dependencies:
+ chownr: 2.0.0
+ infer-owner: 1.0.4
+ mkdirp: 1.0.4
+
+
+ dependencies:
+ minimist: 1.2.8
+
+
+ dependencies:
+ acorn: 8.14.1
+ pathe: 2.0.3
+ pkg-types: 1.3.1
+ ufo: 1.6.1
+
+ dependencies:
+ '@types/whatwg-url': 11.0.5
+ whatwg-url: 14.2.0
+
+ dependencies:
+ '@mongodb-js/saslprep': 1.2.2
+ bson: 6.10.3
+ mongodb-connection-string-url: 3.0.2
+ optionalDependencies:
+ socks: 2.8.4
+
+ dependencies:
+ bson: 6.10.3
+ kareem: 2.6.3
+ mongodb: 6.16.0([email protected])
+ mpath: 0.9.0
+ mquery: 5.0.0
+ ms: 2.1.3
+ sift: 17.1.3
+ transitivePeerDependencies:
+ - '@aws-sdk/credential-providers'
+ - '@mongodb-js/zstd'
+ - gcp-metadata
+ - kerberos
+ - mongodb-client-encryption
+ - snappy
+ - socks
+ - supports-color
+
+
+ dependencies:
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+
+
+ dependencies:
+ append-field: 1.0.0
+ busboy: 1.6.0
+ concat-stream: 1.6.2
+ mkdirp: 0.5.6
+ object-assign: 4.1.1
+ type-is: 1.6.18
+ xtend: 4.0.2
+
+
+
+
+ dependencies:
+ nkeys.js: 1.1.0
+
+
+
+
+
+
+
+ dependencies:
+ chalk: 4.1.2
+ class-transformer: 0.5.1
+ class-validator: 0.14.2
+ debug: 4.3.4
+ lodash.frompairs: 4.0.1
+ lodash.merge: 4.6.2
+ reflect-metadata: 0.2.2
+ rxjs: 7.8.2
+ set-value: 4.1.0
+ optionalDependencies:
+ '@iarna/toml': 2.2.5
+ cosmiconfig: 8.3.6([email protected])
+ dotenv: 16.4.7
+ dotenv-expand: 12.0.1
+ parse-json: 5.2.0
+ yaml: 2.8.0
+ transitivePeerDependencies:
+ - axios
+ - supports-color
+ - typescript
+
+ dependencies:
+ '@asyncapi/generator': 1.13.1(@swc/[email protected])(@types/[email protected])(@types/[email protected])([email protected])
+ '@asyncapi/html-template': 0.28.4([email protected])
+ js-yaml: 4.1.0
+ reflect-metadata: 0.2.1
+ transitivePeerDependencies:
+ - '@swc/core'
+ - '@swc/wasm'
+ - '@types/babel__core'
+ - '@types/node'
+ - bluebird
+ - bufferutil
+ - canvas
+ - encoding
+ - supports-color
+ - utf-8-validate
+
+ dependencies:
+ pino: 9.7.0
+ pino-http: 10.5.0
+ rxjs: 7.8.2
+
+ dependencies:
+ '@jsep-plugin/regex': 1.0.4([email protected])
+ '@jsep-plugin/ternary': 1.1.4([email protected])
+ astring: 1.9.0
+ jsep: 1.4.0
+ optionalDependencies:
+ jsonpath-plus: 10.3.0
+ lodash.topath: 4.5.2
+
+ dependencies:
+ tweetnacl: 1.0.3
+
+
+
+ dependencies:
+ lodash: 4.17.21
+
+ dependencies:
+ whatwg-url: 5.0.0
+ optionalDependencies:
+ encoding: 0.1.13
+
+ dependencies:
+ whatwg-url: 5.0.0
+ optionalDependencies:
+ encoding: 0.1.13
+
+ dependencies:
+ data-uri-to-buffer: 4.0.1
+ fetch-blob: 3.2.0
+ formdata-polyfill: 4.0.10
+
+ dependencies:
+ env-paths: 2.2.1
+ glob: 7.2.3
+ graceful-fs: 4.2.11
+ nopt: 5.0.0
+ npmlog: 4.1.2
+ request: 2.88.2
+ rimraf: 3.0.2
+ semver: 7.7.2
+ tar: 6.2.1
+ which: 2.0.2
+
+
+
+ dependencies:
+ abbrev: 1.1.1
+
+
+ optional: true
+
+ dependencies:
+ npm-normalize-package-bin: 1.0.1
+
+ dependencies:
+ semver: 7.7.2
+
+
+ dependencies:
+ hosted-git-info: 4.1.0
+ semver: 7.7.2
+ validate-npm-package-name: 3.0.0
+
+ dependencies:
+ glob: 7.2.3
+ ignore-walk: 3.0.4
+ npm-bundled: 1.1.2
+ npm-normalize-package-bin: 1.0.1
+
+ dependencies:
+ npm-install-checks: 4.0.0
+ npm-normalize-package-bin: 1.0.1
+ npm-package-arg: 8.1.5
+ semver: 7.7.2
+
+ dependencies:
+ make-fetch-happen: 9.1.0
+ minipass: 3.3.6
+ minipass-fetch: 1.4.1
+ minipass-json-stream: 1.0.2
+ minizlib: 2.1.2
+ npm-package-arg: 8.1.5
+ transitivePeerDependencies:
+ - bluebird
+ - supports-color
+
+ dependencies:
+ path-key: 3.1.1
+
+ dependencies:
+ are-we-there-yet: 1.1.7
+ console-control-strings: 1.1.0
+ gauge: 2.7.4
+ set-blocking: 2.0.0
+
+ dependencies:
+ boolbase: 1.0.0
+
+
+ dependencies:
+ a-sync-waterfall: 1.0.1
+ asap: 2.0.6
+ commander: 5.1.0
+ optionalDependencies:
+ chokidar: 3.6.0
+
+
+
+
+
+
+ dependencies:
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ define-properties: 1.2.1
+ es-object-atoms: 1.1.1
+ has-symbols: 1.1.0
+ object-keys: 1.1.1
+
+
+ dependencies:
+ ee-first: 1.1.1
+
+ dependencies:
+ wrappy: 1.0.2
+
+ dependencies:
+ mimic-fn: 2.1.0
+
+ dependencies:
+ mimic-function: 5.0.1
+
+ dependencies:
+ '@types/json-schema': 7.0.15
+ fast-xml-parser: 4.5.3
+ json-pointer: 0.6.2
+
+ dependencies:
+ deep-is: 0.1.4
+ fast-levenshtein: 2.0.6
+ levn: 0.4.1
+ prelude-ls: 1.2.1
+ type-check: 0.4.0
+ word-wrap: 1.2.5
+
+ dependencies:
+ bl: 4.1.0
+ chalk: 4.1.2
+ cli-cursor: 3.1.0
+ cli-spinners: 2.9.2
+ is-interactive: 1.0.0
+ is-unicode-supported: 0.1.0
+ log-symbols: 4.1.0
+ strip-ansi: 6.0.1
+ wcwidth: 1.0.1
+
+
+ dependencies:
+ '@sindresorhus/is': 4.6.0
+ callsites: 3.1.0
+ dot-prop: 6.0.1
+ lodash.isequal: 4.5.0
+ vali-date: 1.0.0
+
+ dependencies:
+ get-intrinsic: 1.3.0
+ object-keys: 1.1.1
+ safe-push-apply: 1.0.0
+
+ optional: true
+
+ dependencies:
+ p-try: 2.2.0
+
+ dependencies:
+ yocto-queue: 0.1.0
+
+ dependencies:
+ p-limit: 2.3.0
+
+ dependencies:
+ p-limit: 3.1.0
+
+ dependencies:
+ aggregate-error: 3.1.0
+
+
+
+
+ dependencies:
+ '@npmcli/git': 2.1.0
+ '@npmcli/installed-package-contents': 1.0.7
+ '@npmcli/promise-spawn': 1.3.2
+ '@npmcli/run-script': 1.8.6
+ cacache: 15.3.0
+ chownr: 2.0.0
+ fs-minipass: 2.1.0
+ infer-owner: 1.0.4
+ minipass: 3.3.6
+ mkdirp: 1.0.4
+ npm-package-arg: 8.1.5
+ npm-packlist: 2.2.2
+ npm-pick-manifest: 6.1.1
+ npm-registry-fetch: 11.0.0
+ promise-retry: 2.0.1
+ read-package-json-fast: 2.0.3
+ rimraf: 3.0.2
+ ssri: 8.0.1
+ tar: 6.2.1
+ transitivePeerDependencies:
+ - bluebird
+ - supports-color
+
+ dependencies:
+ callsites: 3.1.0
+
+ dependencies:
+ json-parse-even-better-errors: 2.3.1
+ just-diff: 3.1.1
+ just-diff-apply: 3.1.2
+
+
+ dependencies:
+ parse-statements: 1.0.11
+
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ error-ex: 1.3.2
+ json-parse-even-better-errors: 2.3.1
+ lines-and-columns: 1.2.4
+
+
+
+
+
+
+
+
+ dependencies:
+ lru-cache: 11.1.0
+ minipass: 7.1.2
+
+
+
+
+ optional: true
+
+
+
+
+
+
+
+
+ dependencies:
+ split2: 4.2.0
+
+ dependencies:
+ get-caller-file: 2.0.5
+ pino: 9.7.0
+ pino-std-serializers: 7.0.0
+ process-warning: 5.0.0
+
+ dependencies:
+ colorette: 2.0.20
+ dateformat: 4.6.3
+ fast-copy: 3.0.2
+ fast-safe-stringify: 2.1.1
+ help-me: 5.0.0
+ joycon: 3.1.1
+ minimist: 1.2.8
+ on-exit-leak-free: 2.1.2
+ pino-abstract-transport: 2.0.0
+ pump: 3.0.3
+ secure-json-parse: 4.0.0
+ sonic-boom: 4.2.0
+ strip-json-comments: 5.0.2
+
+
+ dependencies:
+ atomic-sleep: 1.0.0
+ fast-redact: 3.5.0
+ on-exit-leak-free: 2.1.2
+ pino-abstract-transport: 2.0.0
+ pino-std-serializers: 7.0.0
+ process-warning: 5.0.0
+ quick-format-unescaped: 4.0.4
+ real-require: 0.2.0
+ safe-stable-stringify: 2.5.0
+ sonic-boom: 4.2.0
+ thread-stream: 3.1.0
+
+
+ optionalDependencies:
+ '@napi-rs/nice': 1.0.1
+ optional: true
+
+ dependencies:
+ find-up: 4.1.0
+
+ dependencies:
+ confbox: 0.1.8
+ mlly: 1.7.4
+ pathe: 2.0.3
+
+ dependencies:
+ confbox: 0.2.2
+ exsolve: 1.0.7
+ pathe: 2.0.3
+
+
+ dependencies:
+ yaml: 2.8.0
+
+
+
+ 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:
+ fast-diff: 1.3.0
+
+
+ dependencies:
+ '@jest/schemas': 29.6.3
+ ansi-styles: 5.2.0
+ react-is: 18.3.1
+
+
+
+
+
+
+
+
+ dependencies:
+ err-code: 2.0.3
+ retry: 0.12.0
+
+ dependencies:
+ kleur: 3.0.3
+ sisteransi: 1.0.5
+
+ dependencies:
+ loose-envify: 1.4.0
+ object-assign: 4.1.1
+ react-is: 16.13.1
+
+ dependencies:
+ '@protobufjs/aspromise': 1.1.2
+ '@protobufjs/base64': 1.1.2
+ '@protobufjs/codegen': 2.0.4
+ '@protobufjs/eventemitter': 1.1.0
+ '@protobufjs/fetch': 1.1.0
+ '@protobufjs/float': 1.0.2
+ '@protobufjs/inquire': 1.1.0
+ '@protobufjs/path': 1.1.2
+ '@protobufjs/pool': 1.1.0
+ '@protobufjs/utf8': 1.1.0
+ '@types/node': 22.15.21
+ long: 5.3.2
+
+ dependencies:
+ forwarded: 0.2.0
+ ipaddr.js: 1.9.1
+
+
+ dependencies:
+ punycode: 2.3.1
+
+ dependencies:
+ end-of-stream: 1.4.5
+ once: 1.4.0
+
+
+ dependencies:
+ cross-fetch: 3.1.5([email protected])
+ debug: 4.3.4
+ devtools-protocol: 0.0.1001819
+ extract-zip: 2.0.1
+ https-proxy-agent: 5.0.1
+ pkg-dir: 4.2.0
+ progress: 2.0.3
+ proxy-from-env: 1.1.0
+ rimraf: 3.0.2
+ tar-fs: 2.1.1
+ unbzip2-stream: 1.4.3
+ ws: 8.7.0
+ transitivePeerDependencies:
+ - bufferutil
+ - encoding
+ - supports-color
+ - utf-8-validate
+
+
+
+ dependencies:
+ side-channel: 1.1.0
+
+
+
+
+
+
+ optional: true
+
+ dependencies:
+ commander: 5.1.0
+ js-yaml: 3.14.1
+ json-schema-migrate: 0.2.0
+ webapi-parser: 0.5.0
+
+ dependencies:
+ safe-buffer: 5.2.1
+
+
+ dependencies:
+ bytes: 3.1.2
+ http-errors: 2.0.0
+ iconv-lite: 0.6.3
+ unpipe: 1.0.0
+
+ dependencies:
+ loose-envify: 1.4.0
+ object-assign: 4.1.1
+ react: 17.0.2
+ scheduler: 0.20.2
+
+
+
+ dependencies:
+ loose-envify: 1.4.0
+ object-assign: 4.1.1
+
+
+ dependencies:
+ json-parse-even-better-errors: 2.3.1
+ npm-normalize-package-bin: 1.0.1
+
+ dependencies:
+ core-util-is: 1.0.3
+ inherits: 2.0.4
+ isarray: 1.0.0
+ process-nextick-args: 2.0.1
+ safe-buffer: 5.1.2
+ string_decoder: 1.1.1
+ util-deprecate: 1.0.2
+
+ dependencies:
+ inherits: 2.0.4
+ string_decoder: 1.3.0
+ util-deprecate: 1.0.2
+
+ dependencies:
+ debuglog: 1.0.1
+ dezalgo: 1.0.4
+ graceful-fs: 4.2.11
+ once: 1.4.0
+
+ dependencies:
+ picomatch: 2.3.1
+
+
+
+
+ dependencies:
+ redis-errors: 1.2.0
+
+ dependencies:
+ '@eslint-community/regexpp': 4.12.1
+
+
+
+ dependencies:
+ call-bind: 1.0.8
+ define-properties: 1.2.1
+ es-abstract: 1.24.0
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.1
+ get-intrinsic: 1.3.0
+ get-proto: 1.0.1
+ which-builtin-type: 1.2.1
+
+ dependencies:
+ regenerate: 1.4.2
+
+
+ dependencies:
+ '@eslint-community/regexpp': 4.12.1
+ refa: 0.12.1
+
+
+ dependencies:
+ call-bind: 1.0.8
+ define-properties: 1.2.1
+ es-errors: 1.3.0
+ get-proto: 1.0.1
+ gopd: 1.2.0
+ set-function-name: 2.0.2
+
+ dependencies:
+ regenerate: 1.4.2
+ regenerate-unicode-properties: 10.2.0
+ regjsgen: 0.8.0
+ regjsparser: 0.12.0
+ unicode-match-property-ecmascript: 2.0.0
+ unicode-match-property-value-ecmascript: 2.2.0
+
+
+ dependencies:
+ jsesc: 3.0.2
+
+
+ dependencies:
+ aws-sign2: 0.7.0
+ aws4: 1.13.2
+ caseless: 0.12.0
+ combined-stream: 1.0.8
+ extend: 3.0.2
+ forever-agent: 0.6.1
+ form-data: 2.3.3
+ har-validator: 5.1.5
+ http-signature: 1.2.0
+ is-typedarray: 1.0.0
+ isstream: 0.1.2
+ json-stringify-safe: 5.0.1
+ mime-types: 2.1.35
+ oauth-sign: 0.9.0
+ performance-now: 2.1.0
+ qs: 6.5.3
+ safe-buffer: 5.2.1
+ tough-cookie: 2.5.0
+ tunnel-agent: 0.6.0
+ uuid: 3.4.0
+
+
+
+
+ optional: true
+
+ dependencies:
+ resolve-from: 5.0.0
+
+
+
+
+ dependencies:
+ resolve-from: 5.0.0
+
+
+ dependencies:
+ is-core-module: 2.16.1
+ path-parse: 1.0.7
+ supports-preserve-symlinks-flag: 1.0.0
+
+ dependencies:
+ lowercase-keys: 3.0.0
+ optional: true
+
+ dependencies:
+ onetime: 5.1.2
+ signal-exit: 3.0.7
+
+ dependencies:
+ onetime: 7.0.0
+ signal-exit: 4.1.0
+
+
+
+
+
+ dependencies:
+ glob: 7.2.3
+
+ optionalDependencies:
+ fsevents: 2.3.3
+
+ dependencies:
+ debug: 4.4.1
+ depd: 2.0.0
+ is-promise: 4.0.0
+ parseurl: 1.3.3
+ path-to-regexp: 8.2.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ queue-microtask: 1.2.3
+
+ dependencies:
+ tslib: 2.8.1
+
+ dependencies:
+ tslib: 2.8.1
+
+ dependencies:
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+ has-symbols: 1.1.0
+ isarray: 2.0.5
+
+
+
+ dependencies:
+ es-errors: 1.3.0
+ isarray: 2.0.5
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-regex: 1.2.1
+
+
+
+
+ dependencies:
+ xmlchars: 2.2.0
+
+ dependencies:
+ loose-envify: 1.4.0
+ object-assign: 4.1.1
+
+ dependencies:
+ '@types/json-schema': 7.0.15
+ ajv: 6.12.6
+ ajv-keywords: 3.5.2([email protected])
+
+ dependencies:
+ '@types/json-schema': 7.0.15
+ ajv: 8.17.1
+ ajv-formats: 2.1.1([email protected])
+ ajv-keywords: 5.1.0([email protected])
+
+ dependencies:
+ '@eslint-community/regexpp': 4.12.1
+ refa: 0.12.1
+ regexp-ast-analysis: 0.7.1
+
+
+ dependencies:
+ commander: 6.2.1
+ optional: true
+
+ optional: true
+
+ dependencies:
+ semver: 7.7.2
+ optional: true
+
+
+
+
+ dependencies:
+ debug: 4.4.1
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ etag: 1.8.1
+ fresh: 2.0.0
+ http-errors: 2.0.0
+ mime-types: 3.0.1
+ ms: 2.1.3
+ on-finished: 2.4.1
+ range-parser: 1.2.1
+ statuses: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ randombytes: 2.1.0
+
+ dependencies:
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ parseurl: 1.3.3
+ send: 1.2.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ define-data-property: 1.1.4
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+ get-intrinsic: 1.3.0
+ gopd: 1.2.0
+ has-property-descriptors: 1.0.2
+
+ dependencies:
+ define-data-property: 1.1.4
+ es-errors: 1.3.0
+ functions-have-names: 1.2.3
+ has-property-descriptors: 1.0.2
+
+ dependencies:
+ dunder-proto: 1.0.1
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.1
+
+ dependencies:
+ is-plain-object: 2.0.4
+ is-primitive: 3.0.1
+
+
+ dependencies:
+ shebang-regex: 3.0.0
+
+
+ dependencies:
+ es-errors: 1.3.0
+ object-inspect: 1.13.4
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ object-inspect: 1.13.4
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ object-inspect: 1.13.4
+ side-channel-map: 1.0.1
+
+ dependencies:
+ es-errors: 1.3.0
+ object-inspect: 1.13.4
+ side-channel-list: 1.0.0
+ side-channel-map: 1.0.1
+ side-channel-weakmap: 1.0.2
+
+
+
+
+ dependencies:
+ jsep: 1.4.0
+
+ dependencies:
+ '@kwsites/file-exists': 1.1.1
+ '@kwsites/promise-deferred': 1.1.1
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+
+
+ dependencies:
+ ansi-styles: 6.2.1
+ is-fullwidth-code-point: 4.0.0
+
+ dependencies:
+ ansi-styles: 6.2.1
+ is-fullwidth-code-point: 5.0.0
+
+
+ dependencies:
+ agent-base: 6.0.2
+ debug: 4.4.1
+ socks: 2.8.4
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ ip-address: 9.0.5
+ smart-buffer: 4.2.0
+
+ dependencies:
+ atomic-sleep: 1.0.0
+
+ dependencies:
+ sort-keys: 1.1.2
+ optional: true
+
+ dependencies:
+ is-plain-obj: 1.1.0
+ optional: true
+
+
+ dependencies:
+ buffer-from: 1.1.2
+ source-map: 0.6.1
+
+ dependencies:
+ buffer-from: 1.1.2
+ source-map: 0.6.1
+
+
+
+
+ dependencies:
+ memory-pager: 1.5.0
+
+
+ dependencies:
+ spdx-exceptions: 2.5.0
+ spdx-license-ids: 3.0.21
+
+
+
+
+
+ dependencies:
+ asn1: 0.2.6
+ assert-plus: 1.0.0
+ bcrypt-pbkdf: 1.0.2
+ dashdash: 1.14.1
+ ecc-jsbn: 0.1.2
+ getpass: 0.1.7
+ jsbn: 0.1.1
+ safer-buffer: 2.1.2
+ tweetnacl: 0.14.5
+
+ dependencies:
+ minipass: 3.3.6
+
+ dependencies:
+ escape-string-regexp: 2.0.0
+
+
+
+ dependencies:
+ es-errors: 1.3.0
+ internal-slot: 1.1.0
+
+
+ dependencies:
+ fast-fifo: 1.3.2
+ text-decoder: 1.2.3
+ optionalDependencies:
+ bare-events: 2.5.4
+ optional: true
+
+
+ dependencies:
+ char-regex: 1.0.2
+ strip-ansi: 6.0.1
+
+ dependencies:
+ code-point-at: 1.1.0
+ is-fullwidth-code-point: 1.0.0
+ strip-ansi: 3.0.1
+
+ dependencies:
+ emoji-regex: 8.0.0
+ is-fullwidth-code-point: 3.0.0
+ strip-ansi: 6.0.1
+
+ dependencies:
+ eastasianwidth: 0.2.0
+ emoji-regex: 9.2.2
+ strip-ansi: 7.1.0
+
+ dependencies:
+ emoji-regex: 10.4.0
+ get-east-asian-width: 1.3.0
+ strip-ansi: 7.1.0
+
+ dependencies:
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ define-data-property: 1.1.4
+ define-properties: 1.2.1
+ es-abstract: 1.24.0
+ es-object-atoms: 1.1.1
+ has-property-descriptors: 1.0.2
+
+ dependencies:
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ define-properties: 1.2.1
+ es-object-atoms: 1.1.1
+
+ dependencies:
+ call-bind: 1.0.8
+ define-properties: 1.2.1
+ es-object-atoms: 1.1.1
+
+ dependencies:
+ safe-buffer: 5.1.2
+
+ dependencies:
+ safe-buffer: 5.2.1
+
+ dependencies:
+ ansi-regex: 2.1.1
+
+ dependencies:
+ ansi-regex: 5.0.1
+
+ dependencies:
+ ansi-regex: 6.1.0
+
+
+
+ dependencies:
+ inspect-with-kind: 1.0.5
+ is-plain-obj: 1.1.0
+ optional: true
+
+
+ dependencies:
+ min-indent: 1.0.1
+
+
+
+ dependencies:
+ escape-string-regexp: 1.0.5
+
+
+
+ dependencies:
+ '@tokenizer/token': 0.3.0
+ peek-readable: 7.0.0
+
+ dependencies:
+ '@tokenizer/token': 0.3.0
+ peek-readable: 5.4.2
+ optional: true
+
+ dependencies:
+ component-emitter: 1.3.1
+ cookiejar: 2.1.4
+ debug: 4.4.1
+ fast-safe-stringify: 2.1.1
+ form-data: 4.0.2
+ formidable: 3.5.4
+ methods: 1.1.2
+ mime: 2.6.0
+ qs: 6.14.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ methods: 1.1.2
+ superagent: 10.2.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ has-flag: 4.0.0
+
+ dependencies:
+ has-flag: 4.0.0
+
+
+ dependencies:
+ '@scarf/scarf': 1.4.0
+
+
+
+ dependencies:
+ '@pkgr/core': 0.2.4
+
+ dependencies:
+ '@pkgr/core': 0.1.2
+ tslib: 2.8.1
+
+
+ dependencies:
+ chownr: 1.1.4
+ mkdirp-classic: 0.5.3
+ pump: 3.0.3
+ tar-stream: 2.2.0
+
+ dependencies:
+ bl: 4.1.0
+ end-of-stream: 1.4.5
+ fs-constants: 1.0.0
+ inherits: 2.0.4
+ readable-stream: 3.6.2
+
+ dependencies:
+ b4a: 1.6.7
+ fast-fifo: 1.3.2
+ streamx: 2.22.0
+ optional: true
+
+ dependencies:
+ chownr: 2.0.0
+ fs-minipass: 2.1.0
+ minipass: 5.0.0
+ minizlib: 2.1.2
+ mkdirp: 1.0.4
+ yallist: 4.0.0
+
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.25
+ jest-worker: 27.5.1
+ schema-utils: 4.3.2
+ serialize-javascript: 6.0.2
+ terser: 5.39.2
+ webpack: 5.99.6(@swc/[email protected])
+ optionalDependencies:
+ '@swc/core': 1.11.29
+
+ dependencies:
+ '@jridgewell/source-map': 0.3.6
+ acorn: 8.14.1
+ commander: 2.20.3
+ source-map-support: 0.5.21
+
+ dependencies:
+ '@istanbuljs/schema': 0.1.3
+ glob: 7.2.3
+ minimatch: 3.1.2
+
+ dependencies:
+ b4a: 1.6.7
+ optional: true
+
+ dependencies:
+ real-require: 0.2.0
+
+
+
+
+ dependencies:
+ fdir: 6.4.6([email protected])
+ picomatch: 4.0.2
+
+ dependencies:
+ os-tmpdir: 1.0.2
+
+
+ dependencies:
+ is-number: 7.0.0
+
+
+ dependencies:
+ '@tokenizer/token': 0.3.0
+ ieee754: 1.2.1
+
+ dependencies:
+ eslint-visitor-keys: 3.4.3
+
+ dependencies:
+ psl: 1.15.0
+ punycode: 2.3.1
+
+ dependencies:
+ psl: 1.15.0
+ punycode: 2.3.1
+ universalify: 0.2.0
+ url-parse: 1.5.10
+
+
+ dependencies:
+ punycode: 2.3.1
+
+ dependencies:
+ punycode: 2.3.1
+
+
+
+ dependencies:
+ escape-string-regexp: 1.0.5
+
+ dependencies:
+ typescript: 5.8.3
+
+ dependencies:
+ picomatch: 4.0.2
+ typescript: 5.8.3
+
+ dependencies:
+ bs-logger: 0.2.6
+ ejs: 3.1.10
+ fast-json-stable-stringify: 2.1.0
+ jest-util: 29.7.0
+ json5: 2.2.3
+ lodash.memoize: 4.1.2
+ make-error: 1.3.6
+ semver: 7.7.2
+ type-fest: 4.41.0
+ typescript: 5.8.3
+ yargs-parser: 21.1.1
+ optionalDependencies:
+ '@babel/core': 7.12.9
+ '@jest/transform': 29.7.0
+ '@jest/types': 29.6.3
+ babel-jest: 29.7.0(@babel/[email protected])
+
+ dependencies:
+ chalk: 4.1.2
+ enhanced-resolve: 5.18.1
+ micromatch: 4.0.8
+ semver: 7.7.2
+ source-map: 0.7.4
+ typescript: 5.8.3
+ webpack: 5.99.6(@swc/[email protected])
+
+ dependencies:
+ '@cspotcode/source-map-support': 0.8.1
+ '@tsconfig/node10': 1.0.11
+ '@tsconfig/node12': 1.0.11
+ '@tsconfig/node14': 1.0.3
+ '@tsconfig/node16': 1.0.4
+ '@types/node': 22.15.21
+ acorn: 8.14.1
+ acorn-walk: 8.3.4
+ arg: 4.1.3
+ create-require: 1.1.1
+ diff: 4.0.2
+ make-error: 1.3.6
+ typescript: 4.9.5
+ v8-compile-cache-lib: 3.0.1
+ yn: 3.1.1
+ optionalDependencies:
+ '@swc/core': 1.11.29
+
+ dependencies:
+ '@cspotcode/source-map-support': 0.8.1
+ '@tsconfig/node10': 1.0.11
+ '@tsconfig/node12': 1.0.11
+ '@tsconfig/node14': 1.0.3
+ '@tsconfig/node16': 1.0.4
+ '@types/node': 22.15.21
+ acorn: 8.14.1
+ acorn-walk: 8.3.4
+ arg: 4.1.3
+ create-require: 1.1.1
+ diff: 4.0.2
+ make-error: 1.3.6
+ typescript: 5.8.3
+ v8-compile-cache-lib: 3.0.1
+ yn: 3.1.1
+ optionalDependencies:
+ '@swc/core': 1.11.29
+
+ dependencies:
+ chalk: 4.1.2
+ enhanced-resolve: 5.18.1
+ tapable: 2.2.2
+ tsconfig-paths: 4.2.0
+
+ dependencies:
+ json5: 2.2.3
+ minimist: 1.2.8
+ strip-bom: 3.0.0
+
+
+
+ dependencies:
+ safe-buffer: 5.2.1
+
+
+
+ dependencies:
+ prelude-ls: 1.2.1
+
+
+
+
+ dependencies:
+ media-typer: 0.3.0
+ mime-types: 2.1.35
+
+ dependencies:
+ content-type: 1.0.5
+ media-typer: 1.1.0
+ mime-types: 3.0.1
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-typed-array: 1.1.15
+
+ dependencies:
+ call-bind: 1.0.8
+ for-each: 0.3.5
+ gopd: 1.2.0
+ has-proto: 1.2.0
+ is-typed-array: 1.1.15
+
+ dependencies:
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.8
+ for-each: 0.3.5
+ gopd: 1.2.0
+ has-proto: 1.2.0
+ is-typed-array: 1.1.15
+ reflect.getprototypeof: 1.0.10
+
+ dependencies:
+ call-bind: 1.0.8
+ for-each: 0.3.5
+ gopd: 1.2.0
+ is-typed-array: 1.1.15
+ possible-typed-array-names: 1.1.0
+ reflect.getprototypeof: 1.0.10
+
+ dependencies:
+ is-typedarray: 1.0.0
+
+
+
+
+
+
+ dependencies:
+ '@lukeed/csprng': 1.1.0
+
+
+ dependencies:
+ call-bound: 1.0.4
+ has-bigints: 1.1.0
+ has-symbols: 1.1.0
+ which-boxed-primitive: 1.1.1
+
+ dependencies:
+ buffer: 5.7.1
+ through: 2.3.8
+
+
+
+ dependencies:
+ unicode-canonical-property-names-ecmascript: 2.0.1
+ unicode-property-aliases-ecmascript: 2.1.0
+
+
+
+ dependencies:
+ unique-slug: 2.0.2
+
+ dependencies:
+ imurmurhash: 0.1.4
+
+ dependencies:
+ '@types/unist': 3.0.3
+
+ dependencies:
+ '@types/unist': 3.0.3
+
+ dependencies:
+ '@types/unist': 3.0.3
+ unist-util-is: 6.0.0
+
+ dependencies:
+ '@types/unist': 3.0.3
+ unist-util-is: 6.0.0
+ unist-util-visit-parents: 6.0.1
+
+
+
+
+ dependencies:
+ browserslist: 4.24.5
+ escalade: 3.2.0
+ picocolors: 1.1.1
+
+ dependencies:
+ browserslist: 4.25.1
+ escalade: 3.2.0
+ picocolors: 1.1.1
+
+ dependencies:
+ punycode: 2.3.1
+
+
+ dependencies:
+ querystringify: 2.2.0
+ requires-port: 1.0.0
+
+
+ dependencies:
+ '@juggle/resize-observer': 3.4.0
+ react: 17.0.2
+ react-dom: 17.0.2([email protected])
+
+
+
+
+
+
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.25
+ '@types/istanbul-lib-coverage': 2.0.6
+ convert-source-map: 2.0.0
+
+
+ dependencies:
+ builtins: 1.0.3
+
+
+
+ dependencies:
+ assert-plus: 1.0.0
+ core-util-is: 1.0.2
+ extsprintf: 1.3.0
+
+ dependencies:
+ debug: 4.4.1
+ eslint: 9.27.0
+ 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
+
+ dependencies:
+ xml-name-validator: 3.0.0
+
+
+ dependencies:
+ foreachasync: 3.0.0
+
+ dependencies:
+ makeerror: 1.0.12
+
+ dependencies:
+ glob-to-regexp: 0.4.1
+ graceful-fs: 4.2.11
+
+ dependencies:
+ defaults: 1.0.4
+
+
+ dependencies:
+ ajv: 6.5.2
+
+
+
+
+
+
+
+ dependencies:
+ '@types/eslint-scope': 3.7.7
+ '@types/estree': 1.0.7
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/wasm-edit': 1.14.1
+ '@webassemblyjs/wasm-parser': 1.14.1
+ acorn: 8.14.1
+ browserslist: 4.24.5
+ chrome-trace-event: 1.0.4
+ enhanced-resolve: 5.18.1
+ es-module-lexer: 1.7.0
+ eslint-scope: 5.1.1
+ events: 3.3.0
+ glob-to-regexp: 0.4.1
+ graceful-fs: 4.2.11
+ json-parse-even-better-errors: 2.3.1
+ loader-runner: 4.3.0
+ mime-types: 2.1.35
+ neo-async: 2.6.2
+ schema-utils: 4.3.2
+ tapable: 2.2.2
+ terser-webpack-plugin: 5.3.14(@swc/[email protected])([email protected](@swc/[email protected]))
+ watchpack: 2.4.4
+ webpack-sources: 3.3.0
+ transitivePeerDependencies:
+ - '@swc/core'
+ - esbuild
+ - uglify-js
+
+ dependencies:
+ iconv-lite: 0.4.24
+
+
+ dependencies:
+ tr46: 5.1.1
+ webidl-conversions: 7.0.0
+
+ dependencies:
+ tr46: 0.0.3
+ webidl-conversions: 3.0.1
+
+ dependencies:
+ lodash: 4.17.21
+ tr46: 2.1.0
+ webidl-conversions: 6.1.0
+
+ dependencies:
+ is-bigint: 1.1.0
+ is-boolean-object: 1.2.2
+ is-number-object: 1.1.1
+ is-string: 1.1.1
+ is-symbol: 1.1.1
+
+ dependencies:
+ call-bound: 1.0.4
+ function.prototype.name: 1.1.8
+ has-tostringtag: 1.0.2
+ is-async-function: 2.1.1
+ is-date-object: 1.1.0
+ is-finalizationregistry: 1.1.1
+ is-generator-function: 1.1.0
+ is-regex: 1.2.1
+ is-weakref: 1.1.1
+ isarray: 2.0.5
+ which-boxed-primitive: 1.1.1
+ which-collection: 1.0.2
+ which-typed-array: 1.1.19
+
+ dependencies:
+ is-map: 2.0.3
+ is-set: 2.0.3
+ is-weakmap: 2.0.2
+ is-weakset: 2.0.4
+
+ dependencies:
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ for-each: 0.3.5
+ get-proto: 1.0.1
+ gopd: 1.2.0
+ has-tostringtag: 1.0.2
+
+ dependencies:
+ isexe: 2.0.0
+
+ dependencies:
+ string-width: 4.2.3
+
+
+ dependencies:
+ ansi-styles: 4.3.0
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+
+ dependencies:
+ ansi-styles: 4.3.0
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+
+ dependencies:
+ ansi-styles: 6.2.1
+ string-width: 5.1.2
+ strip-ansi: 7.1.0
+
+ dependencies:
+ ansi-styles: 6.2.1
+ string-width: 7.2.0
+ strip-ansi: 7.1.0
+
+
+ dependencies:
+ imurmurhash: 0.1.4
+ is-typedarray: 1.0.0
+ signal-exit: 3.0.7
+ typedarray-to-buffer: 3.1.5
+
+ dependencies:
+ imurmurhash: 0.1.4
+ signal-exit: 3.0.7
+
+
+
+
+
+
+
+
+
+
+
+ dependencies:
+ eslint-visitor-keys: 3.4.3
+ yaml: 2.8.0
+
+
+
+ dependencies:
+ cliui: 8.0.1
+ escalade: 3.2.0
+ get-caller-file: 2.0.5
+ require-directory: 2.1.1
+ string-width: 4.2.3
+ y18n: 5.0.8
+ yargs-parser: 21.1.1
+
+ dependencies:
+ buffer-crc32: 0.2.13
+ fd-slicer: 1.1.0
+
+ dependencies:
+ buffer-crc32: 0.2.13
+ pend: 1.2.0
+ optional: true
+
+
+
+
+
diff --git a/aitoearn_web/server/aitoearn-account/src/app.controller.spec.ts b/aitoearn_web/server/aitoearn-account/src/app.controller.spec.ts
new file mode 100644
index 00000000..8c8557a7
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/app.controller.spec.ts
@@ -0,0 +1,22 @@
+import { Test, TestingModule } from '@nestjs/testing'
+import { AppController } from './app.controller'
+import { AppService } from './app.service'
+
+describe('appController', () => {
+ let appController: AppController
+
+ beforeEach(async () => {
+ const app: TestingModule = await Test.createTestingModule({
+ controllers: [AppController],
+ providers: [AppService],
+ }).compile()
+
+ appController = app.get<AppController>(AppController)
+ })
+
+ describe('root', () => {
+ it('should return "Hello World!"', () => {
+ expect(appController.getHello()).toBe('Hello World!')
+ })
+ })
+})
diff --git a/aitoearn_web/server/aitoearn-account/src/app.controller.ts b/aitoearn_web/server/aitoearn-account/src/app.controller.ts
new file mode 100644
index 00000000..c52d5b3c
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/app.controller.ts
@@ -0,0 +1,25 @@
+import { NatsMessagePattern } from '@common/decorators'
+import { Controller, Get, Logger } from '@nestjs/common'
+import { Ctx, NatsContext, Payload } from '@nestjs/microservices'
+import { AppService } from './app.service'
+
+@Controller()
+export class AppController {
+ private readonly logger = new Logger(AppController.name)
+
+ constructor(private readonly appService: AppService) { }
+
+ @Get()
+ getHello(): string {
+ return this.appService.getHello()
+ }
+
+ @NatsMessagePattern('user.ping')
+ pong(@Payload() data: number[], @Ctx() context: NatsContext) {
+ this.logger.debug(`Subject: ${context.getSubject()}`)
+ this.logger.debug(`Data:`, data)
+ return {
+ message: 'Pong',
+ }
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/app.module.ts b/aitoearn_web/server/aitoearn-account/src/app.module.ts
new file mode 100644
index 00000000..9fee989d
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/app.module.ts
@@ -0,0 +1,77 @@
+import { ZodValidationPipe } from '@common/pipes/zod-validation.pipe'
+import { DbMongoModule } from '@libs/database'
+import { RedisModule } from '@libs/redis'
+import { Module } from '@nestjs/common'
+import { APP_FILTER, APP_INTERCEPTOR, APP_PIPE } from '@nestjs/core'
+import { EventEmitterModule } from '@nestjs/event-emitter'
+import { LoggerModule } from 'nestjs-pino'
+import { TransportTargetOptions } from 'pino'
+import { AppController } from './app.controller'
+import { AppService } from './app.service'
+import { ResponseInterceptor, ZodSerializerInterceptor } from './common'
+import { GlobalExceptionFilter } from './common/filters/global-exception.filter'
+import { config } from './config'
+import { CoreModule } from './core/core.module'
+import { NatsModule } from './transports/nats.module'
+
+const targets: TransportTargetOptions[] = []
+if (config.logger.cloudWatch?.enable) {
+ targets.push({
+ target: '@alexlau811/pino-cloudwatch',
+ options: {
+ group: config.logger.cloudWatch.group,
+ aws_region: config.logger.cloudWatch.region,
+ aws_access_key_id: config.logger.cloudWatch.accessKeyId,
+ aws_secret_access_key: config.logger.cloudWatch.secretAccessKey,
+ stream: config.logger.cloudWatch.stream,
+ prefix: config.logger.cloudWatch.prefix,
+ },
+ })
+}
+
+if (config.logger.console?.enable) {
+ targets.push({
+ target: 'pino-pretty',
+ options: config.logger.console,
+ })
+}
+
+@Module({
+ imports: [
+ LoggerModule.forRoot({
+ pinoHttp: {
+ transport: {
+ targets,
+ },
+ },
+ }),
+ RedisModule,
+ NatsModule,
+ DbMongoModule,
+ EventEmitterModule.forRoot(),
+ CoreModule,
+ ],
+ controllers: [AppController],
+ providers: [
+ AppService,
+ {
+ provide: APP_FILTER,
+ useValue: new GlobalExceptionFilter({
+ returnBadRequestDetails: config.enableBadRequestDetails,
+ }),
+ },
+ {
+ provide: APP_INTERCEPTOR,
+ useClass: ZodSerializerInterceptor,
+ },
+ {
+ provide: APP_INTERCEPTOR,
+ useClass: ResponseInterceptor,
+ },
+ {
+ provide: APP_PIPE,
+ useClass: ZodValidationPipe,
+ },
+ ],
+})
+export class AppModule { }
diff --git a/aitoearn_web/server/aitoearn-account/src/app.service.ts b/aitoearn_web/server/aitoearn-account/src/app.service.ts
new file mode 100644
index 00000000..bc13055d
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/app.service.ts
@@ -0,0 +1,8 @@
+import { Injectable } from '@nestjs/common'
+
+@Injectable()
+export class AppService {
+ getHello(): string {
+ return 'Hello World!'
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/decorators/custom-message-pattern.decorator.ts b/aitoearn_web/server/aitoearn-account/src/common/decorators/custom-message-pattern.decorator.ts
new file mode 100644
index 00000000..cb22965a
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/decorators/custom-message-pattern.decorator.ts
@@ -0,0 +1,8 @@
+import { MessagePattern } from '@nestjs/microservices'
+import { config } from '@/config'
+
+export function NatsMessagePattern(pattern: string): MethodDecorator {
+ const prefix = config.nats.prefix
+ const fullPattern = prefix ? `${prefix}.${pattern}` : pattern
+ return MessagePattern(fullPattern)
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/decorators/index.ts b/aitoearn_web/server/aitoearn-account/src/common/decorators/index.ts
new file mode 100644
index 00000000..71f4c77c
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/decorators/index.ts
@@ -0,0 +1 @@
+export * from './custom-message-pattern.decorator'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/dto/table.dto.ts b/aitoearn_web/server/aitoearn-account/src/common/dto/table.dto.ts
new file mode 100644
index 00000000..620f4915
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/dto/table.dto.ts
@@ -0,0 +1,37 @@
+/*
+ * @Author: nevin
+ * @Date: 2022-03-17 18:14:52
+ * @LastEditors: nevin
+ * @LastEditTime: 2024-10-10 15:45:59
+ * @Description: 表单数据
+ */
+
+import { ApiProperty } from '@nestjs/swagger'
+import { Expose, Transform, Type } from 'class-transformer'
+import { IsInt, IsOptional } from 'class-validator'
+
+export class TableDto {
+ @Type(() => Number)
+ @IsInt({ message: '页码必须是数值' })
+ @IsOptional()
+ @Expose()
+ readonly pageNo?: number = 1
+
+ @Type(() => Number)
+ @Transform(({ value }) => value ?? 10)
+ @IsInt({ message: '每页个数必须是数值' })
+ @Expose()
+ @IsOptional()
+ readonly pageSize: number
+}
+
+export class TableResDto {
+ @ApiProperty({ title: '页码', description: '页码' })
+ readonly pageNo: number = 1
+
+ @ApiProperty({ title: '页数', description: '页数' })
+ readonly pageSize: number = 10
+
+ @ApiProperty({ title: '总数', description: '总数' })
+ readonly count: number = 0
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/enums/all.enum.ts b/aitoearn_web/server/aitoearn-account/src/common/enums/all.enum.ts
new file mode 100644
index 00000000..2782e776
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/enums/all.enum.ts
@@ -0,0 +1,29 @@
+/*
+ * @Author: nevin
+ * @Date: 2022-08-02 16:18:04
+ * @LastEditTime: 2025-01-15 14:37:02
+ * @LastEditors: nevin
+ * @Description:
+ */
+export enum HttpTags {
+ DOC = 'doc',
+}
+
+// 性别
+export enum GenderEnum {
+ MALE = 1, // 男
+ FEMALE = 2, // 女
+}
+
+// 开关
+export enum ONOFF {
+ ON = 1, // 开
+ OFF = 0, // 关
+}
+
+// 0 待审核 1 审核通过 -1 审核不通过
+export enum CheckStatus {
+ PENDING = 0,
+ PASS = 1,
+ FAIL = -1,
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/enums/area.enum.ts b/aitoearn_web/server/aitoearn-account/src/common/enums/area.enum.ts
new file mode 100644
index 00000000..c3edd45c
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/enums/area.enum.ts
@@ -0,0 +1,12 @@
+/*
+ * @Author: nevin
+ * @Date: 2022-05-11 14:44:41
+ * @LastEditTime: 2024-06-17 19:28:45
+ * @LastEditors: nevin
+ * @Description:
+ */
+export enum AreaTypes {
+ Province = 1,
+ City = 2,
+ County = 3,
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/enums/exception-code.enum.ts b/aitoearn_web/server/aitoearn-account/src/common/enums/exception-code.enum.ts
new file mode 100644
index 00000000..dbc90155
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/enums/exception-code.enum.ts
@@ -0,0 +1,4 @@
+export enum ExceptionCode {
+ Success = 0,
+ UserNotFound = 10001,
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/enums/index.ts b/aitoearn_web/server/aitoearn-account/src/common/enums/index.ts
new file mode 100644
index 00000000..dfb8c1f2
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/enums/index.ts
@@ -0,0 +1,2 @@
+export * from './all.enum'
+export * from './area.enum'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/exceptions/app.exception.ts b/aitoearn_web/server/aitoearn-account/src/common/exceptions/app.exception.ts
new file mode 100644
index 00000000..2897f780
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/exceptions/app.exception.ts
@@ -0,0 +1,33 @@
+import { HttpException, HttpStatus } from '@nestjs/common'
+import { getCodeMessage } from '../utils/get-code-message.util'
+
+export class AppException extends HttpException {
+ constructor(code: number)
+ constructor(code: number, message: string)
+ constructor(code: number, data: unknown)
+ constructor(code: number, message: string, data: unknown)
+ constructor(code: number, message?: string | object, data?: unknown) {
+ if (typeof message === 'object') {
+ if (data) {
+ throw new Error('invalid AppException')
+ }
+
+ data = message
+ message = undefined
+ }
+
+ if (message === undefined) {
+ message = getCodeMessage(code)
+ }
+
+ const payload = {
+ error: { code, message },
+ data,
+ }
+
+ super(
+ HttpException.createBody(payload),
+ HttpStatus.BAD_REQUEST,
+ )
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/exceptions/index.ts b/aitoearn_web/server/aitoearn-account/src/common/exceptions/index.ts
new file mode 100644
index 00000000..ddfe0e81
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/exceptions/index.ts
@@ -0,0 +1,2 @@
+export * from './app.exception'
+export * from './zod-validation.exception'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/exceptions/zod-validation.exception.ts b/aitoearn_web/server/aitoearn-account/src/common/exceptions/zod-validation.exception.ts
new file mode 100644
index 00000000..d1345367
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/exceptions/zod-validation.exception.ts
@@ -0,0 +1,41 @@
+import {
+ BadRequestException,
+ HttpStatus,
+ InternalServerErrorException,
+} from '@nestjs/common'
+import { z, ZodError } from 'zod/v4'
+
+export class ZodValidationException extends BadRequestException {
+ constructor(private error: ZodError) {
+ super({
+ statusCode: HttpStatus.BAD_REQUEST,
+ message: `Validation failed: ${z.prettifyError(error)}`,
+ errors: z.treeifyError(error),
+ })
+ }
+
+ public getZodError() {
+ return this.error
+ }
+}
+
+export class ZodSerializationException extends InternalServerErrorException {
+ // eslint-disable-next-line node/handle-callback-err
+ constructor(private error: ZodError) {
+ super()
+ }
+
+ public getZodError() {
+ return this.error
+ }
+}
+
+export type ZodExceptionCreator = (error: ZodError) => Error
+
+export const createZodValidationException: ZodExceptionCreator = (error) => {
+ return new ZodValidationException(error)
+}
+
+export const createZodSerializationException: ZodExceptionCreator = (error) => {
+ return new ZodSerializationException(error)
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/filters/global-exception.filter.ts b/aitoearn_web/server/aitoearn-account/src/common/filters/global-exception.filter.ts
new file mode 100644
index 00000000..e9e4e253
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/filters/global-exception.filter.ts
@@ -0,0 +1,68 @@
+import {
+ ArgumentsHost,
+ Catch,
+ ExceptionFilter,
+ HttpException,
+ InternalServerErrorException,
+ Logger,
+} from '@nestjs/common'
+
+import { Response } from 'express'
+import { Observable, of } from 'rxjs'
+import { CommonResponse } from '../interfaces'
+import { getExceptionPayload } from '../utils/exception.util'
+
+export interface GlobalExceptionFilterOptions {
+ returnBadRequestDetails?: boolean
+}
+
+@Catch()
+export class GlobalExceptionFilter<T> implements ExceptionFilter<T> {
+ protected readonly logger = new Logger(GlobalExceptionFilter.name)
+ constructor(private options: GlobalExceptionFilterOptions = {}) { }
+
+ catch(exception: T, host: ArgumentsHost): void | Observable<CommonResponse<unknown>> {
+ if (
+ !(exception instanceof HttpException)
+ || exception instanceof InternalServerErrorException
+ ) {
+ this.logger.fatal(exception)
+ }
+ else {
+ this.logger.error(exception)
+ }
+
+ const payload = getExceptionPayload(exception, this.options.returnBadRequestDetails)
+
+ return this.handleError(host, {
+ ...payload,
+ timestamp: Date.now(),
+ })
+ }
+
+ handleError(host: ArgumentsHost, payload: CommonResponse<unknown>) {
+ const type = host.getType()
+
+ if (type === 'rpc') {
+ return this.handleRpcError(host, payload)
+ }
+ return this.handleHttpError(host, payload)
+ }
+
+ private handleRpcError(
+ host: ArgumentsHost,
+ payload: CommonResponse<unknown>,
+ ) {
+ return of(payload)
+ }
+
+ private handleHttpError(
+ host: ArgumentsHost,
+ payload: CommonResponse<unknown>,
+ ) {
+ const ctx = host.switchToHttp()
+ const response = ctx.getResponse<Response>()
+
+ response.status(200).json(payload)
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/filters/index.ts b/aitoearn_web/server/aitoearn-account/src/common/filters/index.ts
new file mode 100644
index 00000000..554ea9d9
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/filters/index.ts
@@ -0,0 +1 @@
+export * from './global-exception.filter'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/index.ts b/aitoearn_web/server/aitoearn-account/src/common/index.ts
new file mode 100644
index 00000000..51fd0bdf
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/index.ts
@@ -0,0 +1,8 @@
+export * from './decorators'
+export * from './enums'
+export * from './exceptions'
+export * from './filters'
+export * from './interceptors'
+export * from './interfaces'
+export * from './pipes'
+export * from './utils'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/interceptors/index.ts b/aitoearn_web/server/aitoearn-account/src/common/interceptors/index.ts
new file mode 100644
index 00000000..d52e5cc7
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/interceptors/index.ts
@@ -0,0 +1,2 @@
+export * from './response.interceptor'
+export * from './zod-serializer.interceptor'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/interceptors/response.interceptor.ts b/aitoearn_web/server/aitoearn-account/src/common/interceptors/response.interceptor.ts
new file mode 100644
index 00000000..299e2a47
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/interceptors/response.interceptor.ts
@@ -0,0 +1,64 @@
+import type { Response } from 'express'
+import {
+ CallHandler,
+ ExecutionContext,
+ Logger,
+ NestInterceptor,
+ StreamableFile,
+} from '@nestjs/common'
+import { map } from 'rxjs'
+import { ExceptionCode } from '../enums/exception-code.enum'
+import { CommonResponse } from '../interfaces'
+
+export class ResponseInterceptor implements NestInterceptor {
+ private readonly logger = new Logger(ResponseInterceptor.name)
+ intercept(context: ExecutionContext, next: CallHandler) {
+ const type = context.getType()
+ if (type === 'http') {
+ const res = context.switchToHttp().getResponse<Response>()
+
+ res.status(200)
+
+ return next.handle().pipe(
+ map((data) => {
+ if (data instanceof StreamableFile) {
+ return data
+ }
+
+ return {
+ data,
+ code: ExceptionCode.Success,
+ message: '请求成功',
+ }
+ }),
+ )
+ }
+ else if (type === 'rpc') {
+ const startAt = Date.now()
+
+ const ctx = context.switchToRpc()
+ const req = ctx.getContext<{ args: string[] }>()
+ const url = req.args[0] || ''
+ const rpcData = ctx.getData()
+ this.logger.debug(rpcData, `-- ${startAt}-- [${url}] rpcData ----: `)
+
+ return next.handle().pipe(
+ map((data: unknown): CommonResponse<unknown> => {
+ const reqTime = Date.now() - startAt
+ if (reqTime >= 50) {
+ this.logger.verbose(`${url}::${reqTime}ms`)
+ }
+
+ return {
+ data,
+ code: ExceptionCode.Success,
+ message: '请求成功',
+ }
+ }),
+ )
+ }
+ else {
+ return next.handle()
+ }
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/interceptors/zod-serializer.interceptor.ts b/aitoearn_web/server/aitoearn-account/src/common/interceptors/zod-serializer.interceptor.ts
new file mode 100644
index 00000000..abb33131
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/interceptors/zod-serializer.interceptor.ts
@@ -0,0 +1,37 @@
+import { CallHandler, ExecutionContext, Injectable, NestInterceptor, StreamableFile } from '@nestjs/common'
+import * as _ from 'lodash'
+import { Observable } from 'rxjs'
+import { map } from 'rxjs/operators'
+import { isZodDto } from '../utils'
+
+/**
+ * @publicApi
+ */
+@Injectable()
+export class ZodSerializerInterceptor implements NestInterceptor {
+ intercept(context: ExecutionContext, next: CallHandler): Observable<unknown> {
+ return next
+ .handle()
+ .pipe(
+ map((res: unknown | Array<unknown>) => {
+ if (!_.isObject(res) || res instanceof StreamableFile) {
+ return res
+ }
+
+ return Array.isArray(res)
+ ? res.map(item => this.transformToPlain(item))
+ : this.transformToPlain(res)
+ }),
+ )
+ }
+
+ transformToPlain(
+ plainOrClass: unknown,
+ ): unknown {
+ if (isZodDto(plainOrClass)) {
+ return plainOrClass.schema.parse(plainOrClass)
+ }
+
+ return plainOrClass
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/interfaces/index.ts b/aitoearn_web/server/aitoearn-account/src/common/interfaces/index.ts
new file mode 100644
index 00000000..b6cba910
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/interfaces/index.ts
@@ -0,0 +1 @@
+export * from './response.interface'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/interfaces/response.interface.ts b/aitoearn_web/server/aitoearn-account/src/common/interfaces/response.interface.ts
new file mode 100644
index 00000000..9028b759
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/interfaces/response.interface.ts
@@ -0,0 +1,6 @@
+export interface CommonResponse<T> {
+ data?: T
+ code: number
+ message: string
+ timestamp?: number
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/pipes/index.ts b/aitoearn_web/server/aitoearn-account/src/common/pipes/index.ts
new file mode 100644
index 00000000..e2f7b1d2
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/pipes/index.ts
@@ -0,0 +1 @@
+export * from './zod-validation.pipe'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/pipes/zod-validation.pipe.ts b/aitoearn_web/server/aitoearn-account/src/common/pipes/zod-validation.pipe.ts
new file mode 100644
index 00000000..0fb0dc89
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/pipes/zod-validation.pipe.ts
@@ -0,0 +1,29 @@
+import { isZodDto, ZodDto, zodValidate } from '@common/utils'
+import { ArgumentMetadata, PipeTransform, ValidationPipe } from '@nestjs/common'
+import { ZodType } from 'zod/v4'
+
+export class ZodValidationPipe extends ValidationPipe implements PipeTransform {
+ constructor(private schemaOrDto?: ZodType | ZodDto) {
+ super({
+ transform: true,
+ whitelist: true,
+ transformOptions: {
+ excludeExtraneousValues: true,
+ },
+ })
+ }
+
+ public override transform(value: unknown, metadata: ArgumentMetadata): Promise<unknown> {
+ if (this.schemaOrDto) {
+ return Promise.resolve(zodValidate(value, this.schemaOrDto))
+ }
+
+ const { metatype } = metadata
+
+ if (!isZodDto(metatype)) {
+ return super.transform(value, metadata)
+ }
+
+ return Promise.resolve(zodValidate(value, metatype.schema))
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/exception.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/exception.util.ts
new file mode 100644
index 00000000..f073531b
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/exception.util.ts
@@ -0,0 +1,76 @@
+import { BadRequestException, HttpException } from '@nestjs/common'
+import { AppException } from '../exceptions/app.exception'
+import { CommonResponse } from '../interfaces'
+
+const MESSAGES = {
+ UNKNOWN_EXCEPTION_MESSAGE: 'Internal server error',
+ BAD_REQUEST_MESSAGE: 'Bad request',
+}
+
+export function getExceptionPayload(exception: unknown, returnBadRequestDetails = false): Omit<CommonResponse<unknown>, 'url' | 'timestamp'> {
+ if (exception instanceof AppException) {
+ return getPayloadFromAppException(exception)
+ }
+
+ if (exception instanceof BadRequestException) {
+ return getPayloadFromBadRequestException(exception, returnBadRequestDetails)
+ }
+
+ if (exception instanceof HttpException) {
+ return getPayloadFromHttpException(exception)
+ }
+
+ return getDefaultPayload()
+}
+
+function getPayloadFromAppException(exception: AppException) {
+ const response = exception.getResponse() as CommonResponse<unknown>
+
+ return {
+ data: response.data || {},
+ code: response.code,
+ message: response.message,
+ }
+}
+
+function getPayloadFromHttpException(exception: HttpException) {
+ // eslint-disable-next-line ts/no-explicit-any
+ const response: any = exception.getResponse()
+ const code = exception.getStatus()
+
+ const data = {}
+
+ if (typeof response === 'string') {
+ return {
+ data,
+ code,
+ message: response,
+ }
+ }
+
+ return {
+ data: response.data ?? data,
+ code: response.code ?? code,
+ message: response.message ?? MESSAGES.UNKNOWN_EXCEPTION_MESSAGE,
+ }
+}
+
+function getPayloadFromBadRequestException(exception: BadRequestException, returnBadRequestDetails: boolean) {
+ if (returnBadRequestDetails) {
+ return getPayloadFromHttpException(exception)
+ }
+
+ return {
+ data: {},
+ code: 400,
+ message: MESSAGES.BAD_REQUEST_MESSAGE,
+ }
+}
+
+function getDefaultPayload() {
+ return {
+ data: {},
+ code: 500,
+ message: MESSAGES.UNKNOWN_EXCEPTION_MESSAGE,
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/file.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/file.util.ts
new file mode 100644
index 00000000..37764c76
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/file.util.ts
@@ -0,0 +1,80 @@
+import * as fs from 'node:fs'
+import path from 'node:path'
+
+enum Type {
+ IMAGE = '图片',
+ TXT = '文档',
+ MUSIC = '音乐',
+ VIDEO = '视频',
+ OTHER = '其他',
+}
+
+export function getFileType(extName: string) {
+ const documents = 'txt doc pdf ppt pps xlsx xls docx'
+ const music = 'mp3 wav wma mpa ram ra aac aif m4a'
+ const video = 'avi mpg mpe mpeg asf wmv mov qt rm mp4 flv m4v webm ogv ogg'
+ const image
+ = 'bmp dib pcp dif wmf gif jpg tif eps psd cdr iff tga pcd mpt png jpeg'
+ if (image.includes(extName))
+ return Type.IMAGE
+
+ if (documents.includes(extName))
+ return Type.TXT
+
+ if (music.includes(extName))
+ return Type.MUSIC
+
+ if (video.includes(extName))
+ return Type.VIDEO
+
+ return Type.OTHER
+}
+
+export function getName(fileName: string) {
+ if (fileName.includes('.'))
+ return fileName.split('.')[0]
+
+ return fileName
+}
+
+export function getExtname(fileName: string) {
+ return path.extname(fileName).replace('.', '')
+}
+
+export function getSize(bytes: number, decimals = 2) {
+ if (bytes === 0)
+ return '0 Bytes'
+
+ const k = 1024
+ const dm = decimals < 0 ? 0 : decimals
+ const sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
+
+ const i = Math.floor(Math.log(bytes) / Math.log(k))
+
+ return `${Number.parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`
+}
+
+/**
+ * nodejs存储文件到本地
+ * @param base64String
+ * @param path
+ * @param fileName
+ * @returns
+ */
+export function saveFile(base64String: string, path: string, fileName: string) {
+ // 文件不存在则创建文件
+ if (!fs.existsSync(path)) {
+ fs.mkdirSync(path, { recursive: true })
+ }
+
+ return new Promise((resolve, reject) => {
+ fs.writeFile(path + fileName, base64String, 'base64', (err) => {
+ if (err) {
+ reject(err)
+ }
+ else {
+ resolve(true)
+ }
+ })
+ })
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/get-code-message.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/get-code-message.util.ts
new file mode 100644
index 00000000..0e759978
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/get-code-message.util.ts
@@ -0,0 +1,8 @@
+import { ExceptionCode } from '../enums/exception-code.enum'
+
+const codeMessageMap: Partial<Record<ExceptionCode, string>> = {
+ [ExceptionCode.Success]: '请求成功',
+}
+export function getCodeMessage(code: ExceptionCode) {
+ return codeMessageMap[code] || '未知错误'
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/index.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/index.ts
new file mode 100644
index 00000000..bdd91ead
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/index.ts
@@ -0,0 +1,43 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-07-04 15:15:28
+ * @LastEditTime: 2024-11-26 18:39:44
+ * @LastEditors: nevin
+ * @Description: 工具
+ */
+
+/**
+ * 封装一个非阻塞的sleep函数,返回一个Promise对象。
+ * @param {number} milliseconds - 指定延迟的毫秒数。
+ * @returns {Promise<void>} - 一个Promise,将在指定延迟后resolve。
+ */
+export function sleep(milliseconds: number): Promise<void> {
+ return new Promise((resolve) => {
+ setTimeout(resolve, milliseconds)
+ })
+}
+
+// 封装一个获取随机的任意个数字或字母的字符串的函数
+export function getRandomString(length: number, onlyNum = false): string {
+ const chars = onlyNum
+ ? '1234567890'
+ : 'abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789'
+ let result = ''
+ for (let i = 0; i < length; i++) {
+ result += chars.charAt(Math.floor(Math.random() * chars.length))
+ }
+ return result
+}
+
+// 导出所有工具函数
+export * from './file.util'
+export * from './ip.util'
+export * from './is.util'
+export * from './list2tree.util'
+export * from './map'
+export * from './password.util'
+export * from './select-config.util'
+export * from './time.util'
+export * from './zod-dto.util'
+export * from './zod-openapi.util'
+export * from './zod-validate.util'
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/ip.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/ip.util.ts
new file mode 100644
index 00000000..3cc488dd
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/ip.util.ts
@@ -0,0 +1,65 @@
+import type { IncomingMessage } from 'node:http'
+/**
+ * @module utils/ip
+ * @description IP utility functions
+ */
+import axios from 'axios'
+
+/* 判断IP是不是内网 */
+function isLAN(ip: string) {
+ ip.toLowerCase()
+ if (ip === 'localhost')
+ return true
+ let a_ip = 0
+ if (ip === '')
+ return false
+ const aNum = ip.split('.')
+ if (aNum.length !== 4)
+ return false
+ a_ip += Number.parseInt(aNum[0]) << 24
+ a_ip += Number.parseInt(aNum[1]) << 16
+ a_ip += Number.parseInt(aNum[2]) << 8
+ a_ip += Number.parseInt(aNum[3]) << 0
+ a_ip = (a_ip >> 16) & 0xFFFF
+ return (
+ a_ip >> 8 === 0x7F
+ || a_ip >> 8 === 0xA
+ || a_ip === 0xC0A8
+ || (a_ip >= 0xAC10 && a_ip <= 0xAC1F)
+ )
+}
+
+export function getIp(request: IncomingMessage) {
+ const req = request as any
+
+ let ip: string
+ = request.headers['x-forwarded-for']
+ || request.headers['X-Forwarded-For']
+ || request.headers['X-Real-IP']
+ || request.headers['x-real-ip']
+ || req?.ip
+ || req?.raw?.connection?.remoteAddress
+ || req?.raw?.socket?.remoteAddress
+ || undefined
+ if (ip && ip.split(',').length > 0)
+ ip = ip.split(',')[0]
+
+ return ip
+}
+
+export async function getIpAddress(ip: string) {
+ if (isLAN(ip))
+ return '内网IP'
+ try {
+ let { data } = await axios.get(
+ `https://whois.pconline.com.cn/ipJson.jsp?ip=${ip}&json=true`,
+ { responseType: 'arraybuffer' },
+ )
+ data = new TextDecoder('gbk').decode(data)
+ data = JSON.parse(data)
+ return data.addr.trim().split(' ').at(0)
+ }
+ catch {
+ return '第三方接口请求失败'
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/is.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/is.util.ts
new file mode 100644
index 00000000..a5585871
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/is.util.ts
@@ -0,0 +1,4 @@
+/** 判断是否外链 */
+export function isExternal(path: string): boolean {
+ return /^(?:https?:|mailto:|tel:)/.test(path)
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/list2tree.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/list2tree.util.ts
new file mode 100644
index 00000000..68b9fd2e
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/list2tree.util.ts
@@ -0,0 +1,83 @@
+export type TreeNode<T = any> = T & {
+ id: number
+ parentId: number
+ children?: TreeNode<T>[]
+}
+
+export type ListNode<T extends object = any> = T & {
+ id: number
+ parentId: number
+}
+
+export function list2Tree<T extends ListNode[]>(
+ items: T,
+ parentId: number | null = null,
+): TreeNode<T[number]>[] {
+ return items
+ .filter(item => item.parentId === parentId)
+ .map((item) => {
+ const children = list2Tree(items, item.id)
+ return {
+ ...item,
+ ...(children.length ? { children } : null),
+ }
+ })
+}
+
+/**
+ * 过滤树,返回列表数据
+ * @param treeData
+ * @param key 用于过滤的字段
+ * @param value 用于过滤的值
+ */
+export function filterTree2List(treeData, key, value) {
+ const filterChildrenTree = (resTree, treeItem) => {
+ if (treeItem[key].includes(value)) {
+ resTree.push(treeItem)
+ return resTree
+ }
+ if (Array.isArray(treeItem.children)) {
+ const children = treeItem.children.reduce(filterChildrenTree, [])
+
+ const data = { ...treeItem, children }
+
+ if (children.length)
+ resTree.push({ ...data })
+ }
+ return resTree
+ }
+ return treeData.reduce(filterChildrenTree, [])
+}
+
+/**
+ * 过滤树,并保留原有的结构
+ * @param treeData
+ * @param predicate
+ */
+export function filterTree<T extends TreeNode>(
+ treeData: TreeNode<T>[],
+ predicate: (data: T) => boolean,
+): TreeNode<T>[] {
+ function filter(treeData: TreeNode<T>[]): TreeNode<T>[] {
+ if (!treeData?.length)
+ return treeData
+
+ return treeData.filter((data) => {
+ if (!predicate(data))
+ return false
+
+ data.children = filter((data as any).children)
+ return true
+ })
+ }
+
+ return filter(treeData) || []
+}
+
+export function deleteEmptyChildren(arr: any) {
+ arr?.forEach((node) => {
+ if (node.children?.length === 0)
+ delete node.children
+ else deleteEmptyChildren(node.children)
+ })
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/map.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/map.ts
new file mode 100644
index 00000000..ee220c01
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/map.ts
@@ -0,0 +1,34 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-07-29 11:14:20
+ * @LastEditTime: 2024-07-29 11:17:33
+ * @LastEditors: nevin
+ * @Description: 地图
+ */
+export function isWithinMeters(
+ locus1: number[],
+ locus2: number[],
+ distanceInMeters: number, // 千米
+) {
+ const [lat1, lon1] = locus1
+ const [lat2, lon2] = locus2
+
+ const R = 6371 // 地球平均半径,单位为公里
+ const dLat = deg2rad(lat2 - lat1)
+ const dLon = deg2rad(lon2 - lon1)
+ const a
+ = Math.sin(dLat / 2) * Math.sin(dLat / 2)
+ + Math.cos(deg2rad(lat1))
+ * Math.cos(deg2rad(lat2))
+ * Math.sin(dLon / 2)
+ * Math.sin(dLon / 2)
+ const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a))
+ const distance = R * c // 距离,单位为公里
+
+ return distance <= distanceInMeters // 判断距离是否小于等于500米
+}
+
+// 辅助函数,将角度转换为弧度
+function deg2rad(deg: number) {
+ return deg * (Math.PI / 180)
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/password.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/password.util.ts
new file mode 100644
index 00000000..3e5585df
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/password.util.ts
@@ -0,0 +1,59 @@
+/*
+ * @Author: nevin
+ * @Date: 2022-01-21 09:50:47
+ * @LastEditors: nevin
+ * @LastEditTime: 2024-07-08 15:38:55
+ * @Description: 认证模块-加密工具
+ */
+import * as crypto from 'node:crypto'
+
+export interface Password {
+ password: string // 密码
+ salt: string // 盐
+}
+
+/**
+ * 生成随机盐
+ */
+function makeSalt(): string {
+ return crypto.randomBytes(3).toString('base64')
+}
+
+/**
+ * Encrypt password
+ * @param password 密码
+ * @param salt 密码盐
+ * @returns {
+ * password, // 加密的密码
+ * salt
+ * }
+ */
+export function encryptPassword(password: string, salt?: string): Password {
+ salt = salt || makeSalt()
+
+ // 10000 代表迭代次数 16代表长度
+ password = crypto
+ .pbkdf2Sync(password, Buffer.from(salt, 'base64'), 10000, 16, 'sha1')
+ .toString('base64')
+ return {
+ password,
+ salt,
+ }
+}
+
+/**
+ * 校验用户信息
+ * @param userPassword 用户密码
+ * @param userSalt 盐值
+ * @param password 密码
+ * @returns
+ */
+export function validatePassWord(
+ userPassword: string,
+ userSalt: string,
+ password: string,
+): boolean {
+ // 通过密码盐,加密传参,再与数据库里的比较,判断是否相等
+ const res = encryptPassword(password, userSalt)
+ return userPassword === res.password
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/select-config.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/select-config.util.ts
new file mode 100644
index 00000000..934d40c5
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/select-config.util.ts
@@ -0,0 +1,35 @@
+import { resolve } from 'node:path'
+import { program } from 'commander'
+import {
+ fileLoader,
+ selectConfig as nestSelectConfig,
+ TypedConfigModule,
+} from 'nest-typed-config'
+import { z } from 'zod/v4'
+import { ZodDto } from './zod-dto.util'
+import { zodValidate } from './zod-validate.util'
+
+export function selectConfig<TOutput = unknown, TInput = TOutput>(
+ config: ZodDto<TOutput, TInput>,
+): TOutput {
+ const module = TypedConfigModule.forRoot({
+ schema: config,
+ validate(value) {
+ return zodValidate(value, config, (error) => {
+ return new Error(
+ `Configuration is not valid:\n${z.prettifyError(error)}\n`,
+ )
+ }) as Record<string, unknown>
+ },
+ load: fileLoader({
+ absolutePath: resolve(
+ process.cwd(),
+ program
+ .requiredOption('-c --config <config>', 'config path')
+ .parse(process.argv)
+ .opts()['config'],
+ ),
+ }),
+ })
+ return nestSelectConfig(module, config)
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/time.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/time.util.ts
new file mode 100644
index 00000000..fafb65b1
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/time.util.ts
@@ -0,0 +1,27 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-07-22 17:57:25
+ * @LastEditTime: 2024-07-22 17:59:08
+ * @LastEditors: nevin
+ * @Description:
+ */
+// 获取今天的0点(午夜)时间
+export function getTodayMidnight(): Date {
+ const todayMidnight = new Date()
+ todayMidnight.setHours(0, 0, 0, 0)
+
+ return todayMidnight
+}
+
+// 获取今天的24点(实际上是明天的0点)
+export function getTodayEnd(): Date {
+ const todayEnd = new Date()
+ todayEnd.setDate(todayEnd.getDate() + 1)
+ todayEnd.setHours(0, 0, 0, 0)
+ return todayEnd
+}
+
+// 获取当前的秒级时间戳
+export function getCurrentTimestamp(): number {
+ return Math.floor(new Date().getTime() / 1000)
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/zod-dto.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/zod-dto.util.ts
new file mode 100644
index 00000000..9940a586
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/zod-dto.util.ts
@@ -0,0 +1,30 @@
+import { ZodType } from 'zod/v4'
+
+export interface ZodDto<TOutput = unknown, TInput = TOutput> {
+ new(): TOutput
+ isZodDto: true
+ schema: ZodType<TOutput, TInput>
+ create: (input: TInput) => TOutput
+}
+
+export function createZodDto<TOutput = unknown, TInput = TOutput>(
+ schema: ZodType<TOutput, TInput>,
+) {
+ class AugmentedZodDto {
+ public static isZodDto = true
+ public static schema = schema
+
+ public static create(input: unknown) {
+ return this.schema.parse(input)
+ }
+ }
+ return AugmentedZodDto as unknown as ZodDto<TOutput, TInput>
+}
+
+export function isZodDto(metatype: unknown): metatype is ZodDto<unknown> {
+ return (
+ typeof metatype === 'function'
+ && 'isZodDto' in metatype
+ && metatype.isZodDto === true
+ )
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/zod-openapi.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/zod-openapi.util.ts
new file mode 100644
index 00000000..475c2ce1
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/zod-openapi.util.ts
@@ -0,0 +1,31 @@
+import { Type } from '@nestjs/common'
+import { SchemaObject } from '@nestjs/swagger/dist/interfaces/open-api-spec.interface'
+import { SchemaObjectFactory } from '@nestjs/swagger/dist/services/schema-object-factory'
+import { z } from 'zod/v4'
+import { isZodDto } from './zod-dto.util'
+
+export function patchNestJsSwagger() {
+ if ('__patchedWithLoveByNestjsZod' in SchemaObjectFactory.prototype)
+ return
+ const defaultExplore = SchemaObjectFactory.prototype.exploreModelSchema
+
+ SchemaObjectFactory.prototype.exploreModelSchema = function (
+ this: SchemaObjectFactory | undefined,
+ type,
+ schemas,
+ schemaRefsStack,
+ ) {
+ if (this && this['isLazyTypeFunc'](type)) {
+ const factory = type as () => Type<unknown>
+ type = factory()
+ }
+
+ if (!isZodDto(type)) {
+ return defaultExplore.call(this, type, schemas, schemaRefsStack)
+ }
+
+ schemas[type.name] = z.toJSONSchema(type.schema) as SchemaObject
+ return type.name
+ }
+ SchemaObjectFactory.prototype['__patchedWithLoveByNestjsZod'] = true
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/common/utils/zod-validate.util.ts b/aitoearn_web/server/aitoearn-account/src/common/utils/zod-validate.util.ts
new file mode 100644
index 00000000..d404cff2
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/common/utils/zod-validate.util.ts
@@ -0,0 +1,22 @@
+import {
+ createZodValidationException,
+ ZodExceptionCreator,
+} from '@common/exceptions'
+import { ZodType } from 'zod/v4'
+import { isZodDto, ZodDto } from './zod-dto.util'
+
+export function zodValidate<TOutput = unknown, TInput = TOutput>(
+ value: unknown,
+ schemaOrDto: ZodType<TOutput, TInput> | ZodDto<TOutput, TInput>,
+ createValidationException: ZodExceptionCreator = createZodValidationException,
+) {
+ const schema = isZodDto(schemaOrDto) ? schemaOrDto.schema : schemaOrDto
+
+ const result = schema.safeParse(value)
+
+ if (!result.success) {
+ throw createValidationException(result.error)
+ }
+
+ return result.data
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/config.ts b/aitoearn_web/server/aitoearn-account/src/config.ts
new file mode 100644
index 00000000..4e6738c8
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/config.ts
@@ -0,0 +1,77 @@
+import { createZodDto, selectConfig } from '@common/utils'
+import { z } from 'zod/v4'
+
+const logLevelSchema = z.enum(['fatal', 'error', 'warn', 'info', 'debug', 'trace'])
+
+export const cloudWatchLoggerConfigSchema = z.object({
+ enable: z.boolean().default(false),
+ level: logLevelSchema.default('debug'),
+ region: z.string(),
+ accessKeyId: z.string(),
+ secretAccessKey: z.string(),
+ group: z.string(),
+ stream: z.string().optional(),
+ prefix: z.string().optional(),
+})
+
+export const consoleLoggerConfigSchema = z.object({
+ enable: z.boolean().default(true),
+ colorize: z.boolean().default(true),
+ level: logLevelSchema.default('info'),
+ singleLine: z.boolean().default(false),
+ translateTime: z.boolean().default(true),
+})
+
+export const loggerConfigSchema = z.object({
+ cloudWatch: cloudWatchLoggerConfigSchema.optional(),
+ console: consoleLoggerConfigSchema.optional(),
+})
+
+// 服务器配置
+const serverConfigSchema = z.object({
+ port: z.number().default(3000),
+ docs: z
+ .object({
+ enabled: z.boolean().default(true),
+ path: z.string().default('/doc'),
+ })
+ .optional(),
+ enableBadRequestDetails: z.boolean().default(false),
+})
+
+// Redis配置
+const redisConfigSchema = z.object({
+ name: z.string().default('default'),
+ host: z.string().default('127.0.0.1'),
+ port: z.number().default(6379),
+ password: z.string().default(''),
+ db: z.number().default(0),
+ connectTimeout: z.number().default(10000),
+})
+
+// MongoDB配置
+const mongoConfigSchema = z.object({
+ uri: z.string().default(''),
+ dbName: z.string().default(''),
+})
+
+// NATS配置
+const natsConfigSchema = z.object({
+ name: z.string().default(''),
+ servers: z.array(z.string()).default(['nats://127.0.0.1:4222']),
+ user: z.string().default(''),
+ pass: z.string().default(''),
+ prefix: z.string().default(''),
+})
+
+export const configSchema = z.object({
+ logger: loggerConfigSchema.default({}),
+ ...serverConfigSchema.shape,
+ redis: redisConfigSchema,
+ mongodb: mongoConfigSchema,
+ nats: natsConfigSchema,
+})
+
+export class AppConfig extends createZodDto(configSchema) { }
+
+export const config = selectConfig(AppConfig)
diff --git a/aitoearn_web/server/aitoearn-account/src/core/account/account.controller.ts b/aitoearn_web/server/aitoearn-account/src/core/account/account.controller.ts
new file mode 100644
index 00000000..c18b132c
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/account/account.controller.ts
@@ -0,0 +1,145 @@
+import { Controller } from '@nestjs/common'
+import { Payload } from '@nestjs/microservices'
+import { NatsMessagePattern } from '@/common'
+import { AccountService } from './account.service'
+import {
+ AccountIdDto,
+ AccountListDto,
+ AddAccountDto,
+ DeleteUserAccountDto,
+ DeleteUserAccountsDto,
+ GetAccountListByIdsDto,
+ GetAccountStatisticsDto,
+ ListAccountByIdsDto,
+ UpdateAccountInfoDto,
+ UpdateAccountStatisticsDto,
+ UpdateAccountStatusDto,
+ UserIdDto,
+} from './dto/account.dto'
+
+@Controller()
+export class AccountController {
+ constructor(private readonly accountService: AccountService) {}
+
+ // 创建账号
+ @NatsMessagePattern('account.account.create')
+ async createAccount(@Payload() data: AddAccountDto) {
+ return await this.accountService.addAccount(data.account, data.data)
+ }
+
+ // 获取账号信息
+ @NatsMessagePattern('account.account.getAccountInfo')
+ getAccountInfoById(@Payload() data: AccountIdDto) {
+ return this.accountService.getAccountById(data.accountId)
+ }
+
+ // 更新账号信息
+ @NatsMessagePattern('account.account.updateAccountInfo')
+ updateUserInfo(@Payload() data: UpdateAccountInfoDto) {
+ return this.accountService.updateAccountInfo(data.id, data)
+ }
+
+ // 更新账号状态
+ @NatsMessagePattern('account.account.updateAccountStatus')
+ updateAccountStatus(@Payload() data: UpdateAccountStatusDto) {
+ return this.accountService.updateAccountStatus(data.id, data.status)
+ }
+
+ /**
+ * 获取用户所有账户
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.getUserAccounts')
+ getUserAccounts(@Payload() data: UserIdDto) {
+ return this.accountService.getUserAccounts(data.userId)
+ }
+
+ /**
+ * 获取所有账户
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.getAccounts')
+ getAccounts(@Payload() data: AccountListDto) {
+ return this.accountService.getAccounts(data.filter, data.page)
+ }
+
+ /**
+ * 获取用户所有账户
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.getAccountListByIds')
+ getAccountListByIds(@Payload() data: GetAccountListByIdsDto) {
+ return this.accountService.getAccountListByIds(data.userId, data.ids)
+ }
+
+ /**
+ * 获取用户账户总数
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.getAccountStatistics')
+ getUserAccountCount(@Payload() data: UserIdDto) {
+ return this.accountService.getUserAccountCount(data.userId)
+ }
+
+ /**
+ * 获取用户账户统计信息
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.getAccountStatistics')
+ getAccountStatistics(@Payload() data: GetAccountStatisticsDto) {
+ return this.accountService.getAccountStatistics(data.userId, data.type)
+ }
+
+ /**
+ * 更新用户账户统计信息
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.updateAccountStatistics')
+ updateAccountStatistics(@Payload() data: UpdateAccountStatisticsDto) {
+ return this.accountService.updateAccountStatistics(data.accountId, data)
+ }
+
+ /**
+ * 删除账户
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.deleteUserAccount')
+ deleteUserAccount(@Payload() data: DeleteUserAccountDto) {
+ return this.accountService.deleteUserAccount(data.accountId, data.userId)
+ }
+
+ /**
+ * 删除多个账户
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.deleteUserAccounts')
+ deleteUserAccounts(@Payload() data: DeleteUserAccountsDto) {
+ return this.accountService.deleteUserAccounts(data.ids, data.userId)
+ }
+
+ /**
+ * 根据查询参数获取账号
+ */
+ @NatsMessagePattern('account.account.getAccountByParam')
+ getAccountByParam(@Payload() data: { [key: string]: string }) {
+ return this.accountService.getAccountByParam(data)
+ }
+
+ /**
+ * 获取用户所有账户
+ * @param data
+ * @returns
+ */
+ @NatsMessagePattern('account.account.listByIds')
+ listByIds(@Payload() data: ListAccountByIdsDto) {
+ return this.accountService.listByIds(data.ids)
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/account/account.module.ts b/aitoearn_web/server/aitoearn-account/src/core/account/account.module.ts
new file mode 100644
index 00000000..b02933ef
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/account/account.module.ts
@@ -0,0 +1,20 @@
+import { FingerprintService } from '@core/fingerprint/fingerprint.service'
+import { Module } from '@nestjs/common'
+import { MongooseModule } from '@nestjs/mongoose'
+import { Account, AccountGroup, AccountGroupSchema, AccountSchema } from '@/libs'
+import { AccountController } from './account.controller'
+import { AccountService } from './account.service'
+import { AccountGroupController } from './accountGroup/accountGroup.controller'
+import { AccountGroupService } from './accountGroup/accountGroup.service'
+
+@Module({
+ imports: [
+ MongooseModule.forFeature([
+ { name: Account.name, schema: AccountSchema },
+ { name: AccountGroup.name, schema: AccountGroupSchema },
+ ]),
+ ],
+ controllers: [AccountController, AccountGroupController],
+ providers: [AccountService, AccountGroupService, FingerprintService],
+})
+export class AccountModule {}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/account/account.service.ts b/aitoearn_web/server/aitoearn-account/src/core/account/account.service.ts
new file mode 100644
index 00000000..ca7727ba
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/account/account.service.ts
@@ -0,0 +1,312 @@
+import { forwardRef, Inject, Injectable } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
+import { InjectModel } from '@nestjs/mongoose'
+import { Model, RootFilterQuery } from 'mongoose'
+import { TableDto } from '@/common/dto/table.dto'
+import { Account, AccountStatus, AccountType } from '@/libs'
+import { AccountPortraitReportData } from '@/transports/task/common'
+import { AccountGroupService } from './accountGroup/accountGroup.service'
+import { AccountFilterDto } from './dto/account.dto'
+
+@Injectable()
+export class AccountService {
+ constructor(
+ @InjectModel(Account.name)
+ private readonly accountModel: Model<Account>,
+
+ @Inject(forwardRef(() => AccountGroupService))
+ private readonly accountGroupService: AccountGroupService,
+ private eventEmitter: EventEmitter2,
+ ) {
+ }
+
+ /**
+ * 账户数据上报
+ * @param data
+ */
+ private async accountPortraitReport(
+ data: AccountPortraitReportData,
+ ) {
+ this.eventEmitter.emit('account.portrait.report', data)
+ }
+
+ /**
+ * 将用户组下的账户切换到默认组
+ * @param userId
+ * @param groupId
+ * @param defaultGroupId
+ */
+ async switchToDefaultGroup(
+ userId: string,
+ groupId: string,
+ defaultGroupId: string,
+ ) {
+ return this.accountModel.updateMany(
+ { userId, groupId },
+ { groupId: defaultGroupId },
+ )
+ }
+
+ /**
+ * 添加或更新账号
+ * @param account
+ * @param data
+ * @returns
+ */
+ async addAccount(
+ account: {
+ userId: string
+ type: AccountType
+ uid: string
+ },
+ data: Partial<Account>,
+ ): Promise<Account | null> {
+ const info: Account | null = await this.accountModel.findOne(account)
+ if (info) {
+ const uRes = await this.updateAccountInfo(info.id, data)
+ return uRes ? info : null
+ }
+
+ const defaultGroup = await this.accountGroupService.getDefaultGroup(
+ account.userId,
+ )
+
+ data['groupId'] = defaultGroup.id
+ const res = await this.accountModel.create({ ...data, ...account })
+ this.accountPortraitReport({
+ accountId: res.id,
+ totalFollowers: res.fansCount,
+ totalWorks: res.workCount,
+ totalViews: res.readCount,
+ totalLikes: res.likeCount,
+ totalCollects: res.collectCount,
+ })
+ return res
+ }
+
+ /**
+ * 更新账号信息
+ * @param id
+ * @param account
+ * @returns
+ */
+ async updateAccountInfo(
+ id: string,
+ account: Partial<Account>,
+ ): Promise<boolean> {
+ const res = await this.accountModel.updateOne(
+ { _id: id },
+ { $set: account },
+ )
+ return res.matchedCount > 0 || res.modifiedCount > 0
+ }
+
+ /**
+ * 根据用户id获取账号
+ */
+ async getAccountById(id: string) {
+ return this.accountModel.findOne({ _id: id })
+ }
+
+ /**
+ * 获取所有账户
+ * @param userId
+ * @returns
+ */
+ async getUserAccounts(userId: string) {
+ return this.accountModel.find({
+ userId,
+ })
+ }
+
+ /**
+ * 获取所有账户
+ * @param filterDto
+ * @param pageInfo
+ * @returns
+ */
+ async getAccounts(filterDto: AccountFilterDto, pageInfo: TableDto) {
+ const { pageNo, pageSize } = pageInfo
+ const filter: RootFilterQuery<Account> = {
+ }
+ if (filterDto.userId) {
+ filter.userId = filterDto.userId
+ }
+
+ if (filterDto.types) {
+ filter.type = {
+ $in: filterDto.types,
+ }
+ }
+
+ const total = await this.accountModel.countDocuments(filter)
+ const list = await this.accountModel
+ .find(filter)
+ .sort({ createdAt: -1 })
+ .skip((pageNo! - 1) * pageSize)
+ .limit(pageSize)
+ .lean()
+
+ return {
+ total,
+ list,
+ }
+ }
+
+ /**
+ * 根据ID数组ids获取账户列表数组
+ * @param userId
+ * @param ids
+ * @returns
+ */
+ async getAccountListByIds(userId: string, ids: string[]) {
+ return this.accountModel.find({
+ userId,
+ id: { $in: ids },
+ })
+ }
+
+ /**
+ * 获取账户的统计信息
+ * @param userId
+ * @param type
+ * @returns
+ */
+ async getAccountStatistics(
+ userId: string,
+ type?: AccountType,
+ ): Promise<{
+ accountTotal: number
+ list: Account[]
+ fansCount?: number
+ readCount?: number
+ likeCount?: number
+ collectCount?: number
+ commentCount?: number
+ income?: number
+ }> {
+ const accountList = await this.accountModel.find({
+ userId,
+ ...(type && { type }),
+ })
+
+ const res = {
+ accountTotal: accountList.length,
+ list: accountList,
+ fansCount: 0,
+ }
+
+ // for (const element of accountList) {
+ // TODO: 获取统计信息
+ // const ret = await platController.getStatistics(element).catch((err) => {
+ // console.error(err);
+ // });
+ // res.fansCount += ret?.fansCount || 0;
+ // }
+
+ return res
+ }
+
+ /**
+ * 获取用户的账户总数
+ * @param userId
+ * @returns
+ */
+ async getUserAccountCount(userId: string) {
+ return await this.accountModel.countDocuments({ userId })
+ }
+
+ /**
+ * 根据多个账户id查询账户信息
+ * @param ids
+ * @returns
+ */
+ async getAccountsByIds(ids: number[]) {
+ return await this.accountModel.find({
+ id: { $in: ids },
+ })
+ }
+
+ /**
+ * 删除
+ * @param id
+ * @param userId
+ * @returns
+ */
+ async deleteUserAccount(id: string, userId: string): Promise<boolean> {
+ const res = await this.accountModel.deleteOne({
+ _id: id,
+ userId,
+ })
+
+ return res.deletedCount > 0
+ }
+
+ // 删除多个账户
+ async deleteUserAccounts(ids: string[], userId: string) {
+ const res = await this.accountModel.deleteMany({
+ _id: { $in: ids },
+ userId,
+ })
+ return res.deletedCount > 0
+ }
+
+ /**
+ * 更新用户状态
+ * @param id
+ * @param status
+ * @returns
+ */
+ async updateAccountStatus(id: string, status: AccountStatus) {
+ return await this.accountModel.updateOne({ _id: id }, { status })
+ }
+
+ // 更新账户的统计信息
+ async updateAccountStatistics(
+ id: string,
+ data: {
+ fansCount?: number
+ readCount?: number
+ likeCount?: number
+ collectCount?: number
+ commentCount?: number
+ income?: number
+ workCount?: number
+ },
+ ) {
+ this.accountPortraitReport({
+ accountId: id,
+ totalFollowers: data.fansCount,
+ totalWorks: data.workCount,
+ totalViews: data.readCount,
+ totalLikes: data.likeCount,
+ totalCollects: data.collectCount,
+ })
+ const res = await this.accountModel.updateOne(
+ { _id: id },
+ {
+ $set: data,
+ },
+ )
+ return res.matchedCount > 0 || res.modifiedCount > 0
+ }
+
+ /**
+ * 根据查询参数获取账号
+ */
+ async getAccountByParam(param: { [key: string]: string }) {
+ return await this.accountModel.findOne(param)
+ }
+
+ /**
+ * 根据ID数组ids获取账户列表数组
+ * @param userId
+ * @param ids
+ * @returns
+ */
+ async listByIds(ids: string[]) {
+ return this.accountModel.find({
+ _id: { $in: ids },
+ })
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/accountGroup.controller.ts b/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/accountGroup.controller.ts
new file mode 100644
index 00000000..133a5f49
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/accountGroup.controller.ts
@@ -0,0 +1,39 @@
+import { Controller } from '@nestjs/common'
+import { Payload } from '@nestjs/microservices'
+import { NatsMessagePattern } from '@/common'
+import { AccountGroupService } from './accountGroup.service'
+import {
+ CreateAccountGroupDto,
+ DeleteAccountGroupDto,
+ UpdateAccountGroupDto,
+ UserIdDto,
+} from './dto/accountGroup.dto'
+
+@Controller('accountGroup')
+export class AccountGroupController {
+ constructor(private readonly accountGroupService: AccountGroupService) {}
+
+ @NatsMessagePattern('account.group.create')
+ async createGroup(@Payload() data: CreateAccountGroupDto) {
+ return this.accountGroupService.createAccountGroup({
+ ...data,
+ })
+ }
+
+ @NatsMessagePattern('account.group.update')
+ async updateGroup(@Payload() data: UpdateAccountGroupDto) {
+ return this.accountGroupService.updateAccountGroup(data.id, data)
+ }
+
+ // 删除用户组列表
+ @NatsMessagePattern('account.group.deleteList')
+ async deleteList(@Payload() data: DeleteAccountGroupDto) {
+ return this.accountGroupService.deleteAccountGroup(data.ids, data.userId)
+ }
+
+ // 获取用户所有账户组
+ @NatsMessagePattern('account.group.getList')
+ async getAccountGroup(@Payload() data: UserIdDto) {
+ return this.accountGroupService.getAccountGroup(data.userId)
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/accountGroup.service.ts b/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/accountGroup.service.ts
new file mode 100644
index 00000000..a0c039fb
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/accountGroup.service.ts
@@ -0,0 +1,116 @@
+import { FingerprintService } from '@core/fingerprint/fingerprint.service'
+import { forwardRef, Inject, Injectable, Logger } from '@nestjs/common'
+import { InjectModel } from '@nestjs/mongoose'
+import { Model } from 'mongoose'
+import { AccountGroup } from '@/libs'
+import { AccountService } from '../account.service'
+
+@Injectable()
+export class AccountGroupService {
+ constructor(
+ @InjectModel(AccountGroup.name)
+ private readonly accountGroupModel: Model<AccountGroup>,
+
+ @Inject(forwardRef(() => AccountService))
+ private readonly accountService: AccountService,
+ private readonly fingerprintService: FingerprintService,
+ ) {}
+
+ // 获取默认用户组, 没有则创建
+ async getDefaultGroup(userId: string): Promise<AccountGroup> {
+ const data = await this.accountGroupModel
+ .findOne({
+ userId,
+ isDefault: true,
+ })
+ .exec()
+
+ if (data)
+ return data
+
+ // 创建
+ return await this.createAccountGroup({
+ isDefault: true,
+ name: 'default',
+ rank: 1,
+ userId,
+ })
+ }
+
+ /**
+ * 添加组
+ * @param accountGroup
+ */
+ async createAccountGroup(
+ accountGroup: Partial<AccountGroup>,
+ ): Promise<AccountGroup> {
+ if (!accountGroup.browserConfig) {
+ accountGroup.browserConfig = await this.fingerprintService.generateFingerprint()
+ }
+ return this.accountGroupModel.create(accountGroup)
+ }
+
+ /**
+ * 更新组
+ * @param accountGroup
+ */
+ async updateAccountGroup(
+ id: string,
+ accountGroup: Partial<AccountGroup>,
+ ): Promise<boolean> {
+ const res = await this.accountGroupModel.updateOne(
+ { _id: id },
+ accountGroup,
+ )
+ return res.modifiedCount > 0
+ }
+
+ /**
+ * 删除多个组
+ * @param ids
+ * @param userId
+ */
+ async deleteAccountGroup(ids: string[], userId: string): Promise<boolean> {
+ const accountGorupList = await this.accountGroupModel
+ .find({ userId, _id: { $in: ids } })
+ .exec()
+ // 默认用户组
+ const defaultGroup = await this.getDefaultGroup(userId)
+
+ // 将删除的组下面的账户切换为默认组
+ for (const gorup of accountGorupList) {
+ await this.accountService.switchToDefaultGroup(
+ userId,
+ gorup.id,
+ defaultGroup.id,
+ )
+ }
+
+ // 删除
+ const res = await this.accountGroupModel.deleteMany({
+ _id: { $in: ids },
+ userId,
+ })
+ return res.deletedCount > 0
+ }
+
+ /**
+ * 获取所有组
+ * @param userId
+ * @returns
+ */
+ async getAccountGroup(userId: string): Promise<AccountGroup[]> {
+ Logger.log(userId)
+ const accountGroupList: AccountGroup[] = await this.accountGroupModel.find({
+ userId,
+ })
+
+ // 创建默认用户组
+ if (accountGroupList.length === 0) {
+ const accountGroup = await this.getDefaultGroup(userId)
+ accountGroupList.push(accountGroup)
+ }
+
+ return accountGroupList
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/dto/accountGroup.dto.ts b/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/dto/accountGroup.dto.ts
new file mode 100644
index 00000000..c6460046
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/account/accountGroup/dto/accountGroup.dto.ts
@@ -0,0 +1,52 @@
+import { Expose } from 'class-transformer'
+import { IsArray, IsJSON, IsNumber, IsOptional, IsString } from 'class-validator'
+
+export class UserIdDto {
+ @IsString({ message: '用户ID不能为空' })
+ @Expose()
+ userId: string
+}
+
+export class CreateAccountGroupDto extends UserIdDto {
+ @IsString({ message: '组名称不能为空' })
+ @Expose()
+ name: string
+
+ @IsNumber({ allowNaN: false }, { message: '组排序必须为数字' })
+ @IsOptional()
+ @Expose()
+ rank?: number
+
+ @IsString({ message: 'IP' })
+ @IsOptional()
+ @Expose()
+ ip?: string
+
+ @IsString({ message: '地址' })
+ @IsOptional()
+ @Expose()
+ location?: string
+
+ @IsString({ message: '代理IP' })
+ @IsOptional()
+ @Expose()
+ proxyIp?: string
+
+ @IsJSON({ message: '浏览器配置必须为JSON格式' })
+ @IsOptional()
+ @Expose()
+ browserConfig: Record<string, any>
+}
+
+export class UpdateAccountGroupDto extends CreateAccountGroupDto {
+ @IsString({ message: '组ID' })
+ @Expose()
+ id: string
+}
+
+export class DeleteAccountGroupDto extends UserIdDto {
+ @IsArray({ message: '组ID不能为空' })
+ @IsString({ each: true, message: '组ID不能为空' })
+ @Expose()
+ ids: string[]
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/account/dto/account.dto.ts b/aitoearn_web/server/aitoearn-account/src/core/account/dto/account.dto.ts
new file mode 100644
index 00000000..9a459cf0
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/account/dto/account.dto.ts
@@ -0,0 +1,326 @@
+import { ApiProperty } from '@nestjs/swagger'
+import { Expose, Transform, Type } from 'class-transformer'
+import {
+ IsArray,
+ IsDate,
+ IsEnum,
+ IsNumber,
+ IsOptional,
+ IsString,
+ ValidateNested,
+} from 'class-validator'
+import { TableDto } from '@/common/dto/table.dto'
+/*
+ * @Author: nevin
+ * @Date: 2024-06-17 20:12:31
+ * @LastEditTime: 2025-05-06 15:49:03
+ * @LastEditors: nevin
+ * @Description: 用户
+ */
+import { AccountStatus, AccountType } from '@/libs'
+
+export class AccountIdDto {
+ @IsString({ message: '账号ID' })
+ @Expose()
+ readonly accountId: string
+}
+
+export class UserIdDto {
+ @IsString({ message: '用户ID' })
+ @Expose()
+ readonly userId: string
+}
+
+export class CreateAccountDto extends UserIdDto {
+ @ApiProperty({ description: '平台类型', enum: AccountType })
+ @IsEnum(AccountType)
+ @Expose()
+ type: AccountType
+
+ @ApiProperty({ description: '登录Cookie' })
+ @IsOptional()
+ @IsString()
+ @Expose()
+ loginCookie?: string
+
+ @ApiProperty({ description: 'refresh_token' })
+ @IsOptional()
+ @IsString()
+ @Expose()
+ refresh_token?: string
+
+ @ApiProperty({ description: 'access_token' })
+ @IsOptional()
+ @IsString()
+ @Expose()
+ access_token?: string
+
+ @ApiProperty({ description: '登录时间' })
+ @IsDate({ message: '登录时间不是有效的日期' })
+ @Transform(({ value }) => {
+ if (!value)
+ return undefined
+ return new Date(value)
+ })
+ @IsOptional()
+ @Expose()
+ loginTime?: Date
+
+ @ApiProperty({ description: '平台用户ID' })
+ @IsString()
+ @Expose()
+ uid: string
+
+ @ApiProperty({ description: '账号' })
+ @IsString()
+ @Expose()
+ account: string
+
+ @ApiProperty({ description: '头像' })
+ @IsString()
+ @Expose()
+ avatar: string
+
+ @ApiProperty({ description: '昵称' })
+ @IsString()
+ @Expose()
+ nickname: string
+
+ @ApiProperty({ description: '粉丝数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ fansCount?: number
+
+ @ApiProperty({ description: '阅读数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ readCount?: number
+
+ @ApiProperty({ description: '点赞数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ likeCount?: number
+
+ @ApiProperty({ description: '收藏数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ collectCount?: number
+
+ @ApiProperty({ description: '转发数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ forwardCount?: number
+
+ @ApiProperty({ description: '评论数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ commentCount?: number
+
+ @ApiProperty({ description: '最后统计时间' })
+ @IsDate({ message: '最后统计时间必须是有效的日期' })
+ @Transform(({ value }) => {
+ if (!value)
+ return undefined
+ return new Date(value)
+ })
+ @IsOptional()
+ @Expose()
+ lastStatsTime?: Date
+
+ @ApiProperty({ description: '作品数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ workCount?: number
+
+ @ApiProperty({ description: '收入' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ income?: number
+
+ @ApiProperty({ description: '账户组ID' })
+ @IsString({ message: '组ID必须是字符串' })
+ @IsOptional()
+ @Expose()
+ groupId?: string
+
+ @ApiProperty({ description: '频道ID' })
+ @IsString({ message: '频道ID必须是字符串' })
+ @IsOptional()
+ @Expose()
+ channelId?: string
+}
+
+class AddAccountIndexDto {
+ @IsString({ message: '用户ID' })
+ @Expose()
+ readonly userId: string
+
+ @IsEnum(AccountType, { message: '类型' })
+ @Expose()
+ readonly type: AccountType
+
+ @IsString({ message: '平台账户/用户ID' })
+ @Expose()
+ readonly uid: string
+}
+
+export class AddAccountDto {
+ @ValidateNested({ message: '账号信息' })
+ @Type(() => AddAccountIndexDto)
+ @Expose()
+ readonly account: AddAccountIndexDto
+
+ @ValidateNested()
+ @Type(() => CreateAccountDto)
+ @Expose()
+ readonly data: CreateAccountDto
+}
+
+export class UpdateAccountInfoDto {
+ @IsString({ message: 'ID' })
+ @Expose()
+ readonly id: string
+
+ @IsString({ message: '昵称' })
+ @IsOptional()
+ @Expose()
+ readonly name?: string
+
+ @IsString({ message: '头像' })
+ @IsOptional()
+ @Expose()
+ avatar?: string
+
+ @IsString({ message: '简介' })
+ @IsOptional()
+ @Expose()
+ readonly desc?: string
+
+ @IsString()
+ @IsOptional()
+ @Expose()
+ groupId?: string
+}
+
+export class UpdateAccountStatusDto {
+ @IsString({ message: 'ID' })
+ @Expose()
+ readonly id: string
+
+ @IsEnum(AccountStatus, { message: '状态' })
+ @Expose()
+ readonly status: AccountStatus
+}
+
+export class GetAccountListByIdsDto extends UserIdDto {
+ @ApiProperty({ description: '账户ID数组' })
+ @IsArray()
+ @IsNumber({}, { each: true })
+ @Expose()
+ ids: string[]
+}
+
+export class GetAccountStatisticsDto extends UserIdDto {
+ @IsEnum(AccountType, { message: '类型' })
+ @IsOptional()
+ @Expose()
+ readonly type?: AccountType
+}
+
+export class UpdateAccountStatisticsDto extends AccountIdDto {
+ @ApiProperty({ description: '作品数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ workCount?: number
+
+ @ApiProperty({ description: '粉丝数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ fansCount?: number
+
+ @ApiProperty({ description: '阅读数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ readCount?: number
+
+ @ApiProperty({ description: '点赞数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ likeCount?: number
+
+ @ApiProperty({ description: '收藏数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ collectCount?: number
+
+ @ApiProperty({ description: '评论数' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ commentCount?: number
+
+ @ApiProperty({ description: '收入' })
+ @IsNumber()
+ @IsOptional()
+ @Expose()
+ income?: number
+}
+
+export class DeleteUserAccountDto extends UserIdDto {
+ @IsString({ message: '账号ID' })
+ @Expose()
+ readonly accountId: string
+}
+
+export class DeleteUserAccountsDto extends UserIdDto {
+ @ApiProperty({ description: '账户ID数组' })
+ @IsArray()
+ @IsString({ each: true })
+ @Expose()
+ ids: string[]
+}
+
+export class AccountFilterDto {
+ @IsString({ message: '用户ID' })
+ @IsOptional()
+ @Expose()
+ readonly userId?: string
+
+ @IsString({ message: '账号类型' })
+ @IsOptional()
+ @Expose()
+ types?: string[]
+}
+
+export class AccountListDto {
+ @ValidateNested()
+ @Type(() => AccountFilterDto)
+ @Expose()
+ readonly filter: AccountFilterDto
+
+ @ValidateNested()
+ @Type(() => TableDto)
+ @Expose()
+ readonly page: TableDto
+}
+
+export class ListAccountByIdsDto {
+ @ApiProperty({ description: '账户ID数组' })
+ @IsArray()
+ @IsNumber({}, { each: true })
+ @Expose()
+ ids: string[]
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/core.module.ts b/aitoearn_web/server/aitoearn-account/src/core/core.module.ts
new file mode 100644
index 00000000..88b9fe15
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/core.module.ts
@@ -0,0 +1,10 @@
+import { FingerprintModule } from '@core/fingerprint/fingerprint.module'
+import { Module } from '@nestjs/common'
+import { AccountModule } from './account/account.module'
+import { TaskModule } from './task/task.module'
+
+@Module({
+ imports: [AccountModule, FingerprintModule, TaskModule],
+ providers: [],
+})
+export class CoreModule {}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/fingerprint/dto/fingerprint.dto.ts b/aitoearn_web/server/aitoearn-account/src/core/fingerprint/dto/fingerprint.dto.ts
new file mode 100644
index 00000000..18e42029
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/fingerprint/dto/fingerprint.dto.ts
@@ -0,0 +1,2 @@
+export class GenerateFingerprintDto {
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.controller.ts b/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.controller.ts
new file mode 100644
index 00000000..e37aaa3a
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.controller.ts
@@ -0,0 +1,20 @@
+import { GenerateFingerprintDto } from '@core/fingerprint/dto/fingerprint.dto'
+import { Controller } from '@nestjs/common'
+import { Payload } from '@nestjs/microservices'
+import { ApiOperation, ApiTags } from '@nestjs/swagger'
+import { NatsMessagePattern } from '@/common'
+import { FingerprintService } from './fingerprint.service'
+
+@ApiTags('浏览器指纹')
+@Controller('fingerprint')
+export class FingerprintController {
+ constructor(private readonly fingerprintService: FingerprintService) {}
+
+ @ApiOperation({
+ description: '生成随机浏览器指纹',
+ })
+ @NatsMessagePattern('account.fingerprint.generateFingerprint')
+ async generateFingerprint(@Payload() data: GenerateFingerprintDto) {
+ return null
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.module.ts b/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.module.ts
new file mode 100644
index 00000000..10e2dcdc
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.module.ts
@@ -0,0 +1,10 @@
+import { Global, Module } from '@nestjs/common'
+import { FingerprintController } from './fingerprint.controller'
+import { FingerprintService } from './fingerprint.service'
+
+@Global()
+@Module({
+ providers: [FingerprintService],
+ controllers: [FingerprintController],
+})
+export class FingerprintModule {}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.service.ts b/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.service.ts
new file mode 100644
index 00000000..96efd641
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/fingerprint/fingerprint.service.ts
@@ -0,0 +1,29 @@
+import { Injectable } from '@nestjs/common'
+import { FingerprintGenerator } from 'fingerprint-generator'
+import { Device } from 'header-generator/header-generator'
+
+@Injectable()
+export class FingerprintService {
+ constructor(
+ ) {};
+
+ async generateFingerprintCore(devices: Device) {
+ const generator = new FingerprintGenerator()
+ return generator.getFingerprint({
+ devices: [devices],
+ })
+ }
+
+ /**
+ * 生成随机浏览器指纹
+ * @returns 浏览器指纹
+ */
+ async generateFingerprint() {
+ const mobile = await this.generateFingerprintCore('mobile')
+ const desktop = await this.generateFingerprintCore('desktop')
+ return {
+ mobile,
+ desktop,
+ }
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/task/accountPortrait.service.ts b/aitoearn_web/server/aitoearn-account/src/core/task/accountPortrait.service.ts
new file mode 100644
index 00000000..88053e5a
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/task/accountPortrait.service.ts
@@ -0,0 +1,24 @@
+import { Injectable } from '@nestjs/common'
+import { OnEvent } from '@nestjs/event-emitter'
+import { AccountPortraitNatsApi } from '@/transports/task/accountPortrait.natsApi'
+import { AccountPortraitReportData } from '@/transports/task/common'
+
+@Injectable()
+export class AccountPortraitService {
+ constructor(
+ private readonly accountPortraitNatsApi: AccountPortraitNatsApi,
+ ) {}
+
+ /**
+ * 上报账号数据
+ * @param data
+ */
+ @OnEvent('account.portrait.report')
+ async accountPortraitReport(
+ data: AccountPortraitReportData,
+ ) {
+ return this.accountPortraitNatsApi.accountPortraitReport(
+ data,
+ )
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/task/task.module.ts b/aitoearn_web/server/aitoearn-account/src/core/task/task.module.ts
new file mode 100644
index 00000000..a251d9d9
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/task/task.module.ts
@@ -0,0 +1,9 @@
+import { Module } from '@nestjs/common'
+import { AccountPortraitService } from './accountPortrait.service'
+import { UserPortraitService } from './userPortrait.service'
+
+@Module({
+ imports: [],
+ providers: [UserPortraitService, AccountPortraitService],
+})
+export class TaskModule {}
diff --git a/aitoearn_web/server/aitoearn-account/src/core/task/userPortrait.service.ts b/aitoearn_web/server/aitoearn-account/src/core/task/userPortrait.service.ts
new file mode 100644
index 00000000..3dcc387b
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/core/task/userPortrait.service.ts
@@ -0,0 +1,25 @@
+import { Injectable } from '@nestjs/common'
+import { OnEvent } from '@nestjs/event-emitter'
+import { AccountPortraitReportData } from '@/transports/task/common'
+import { UserPortraitNatsApi } from '@/transports/task/userPortrait.natsApi'
+
+@Injectable()
+export class UserPortraitService {
+ constructor(
+ private readonly userPortraitNatsApi: UserPortraitNatsApi,
+ ) {}
+
+ /**
+ * 上报用户数据
+ * @param data
+ */
+ @OnEvent('user.portrait.report')
+ async accountPortraitReport(
+ data: AccountPortraitReportData,
+ ) {
+ console.log('user.portrait.report------------', data)
+ // return this.userPortraitNatsApi.accountPortraitReport(
+ // data,
+ // )
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/database/db-mongo.module.ts b/aitoearn_web/server/aitoearn-account/src/libs/database/db-mongo.module.ts
new file mode 100644
index 00000000..4233e042
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/database/db-mongo.module.ts
@@ -0,0 +1,30 @@
+/*
+ * @Author: nevin
+ * @Date: 2022-09-23 18:00:51
+ * @LastEditTime: 2025-01-15 14:20:46
+ * @LastEditors: nevin
+ * @Description:
+ */
+import { Global, Module } from '@nestjs/common'
+import { MongooseModule } from '@nestjs/mongoose'
+import { config } from '@/config'
+import { Id, IdSchema } from './id.schema'
+import { IdService } from './id.service'
+
+@Global()
+@Module({
+ imports: [
+ MongooseModule.forRoot(config.mongodb.uri, {
+ dbName: config.mongodb.dbName,
+ // autoIndex: true,
+ // autoCreate: true,
+ }),
+ MongooseModule.forFeature([
+ // 挂载实体
+ { name: Id.name, schema: IdSchema },
+ ]),
+ ],
+ providers: [IdService],
+ exports: [IdService],
+})
+export class DbMongoModule { }
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/database/id.schema.ts b/aitoearn_web/server/aitoearn-account/src/libs/database/id.schema.ts
new file mode 100644
index 00000000..52a446b5
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/database/id.schema.ts
@@ -0,0 +1,21 @@
+/*
+ * @Author: nevin
+ * @Date: 2021-12-24 13:46:31
+ * @LastEditors: nevin
+ * @LastEditTime: 2024-08-30 15:01:32
+ * @Description: 自增主键ID
+ */
+import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
+
+@Schema({ collection: 't_ids', versionKey: false })
+export class Id {
+ @Prop({ required: true })
+ id_value: number
+
+ @Prop({ required: true })
+ id_name: string
+
+ @Prop()
+ update_time: number
+}
+export const IdSchema = SchemaFactory.createForClass(Id)
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/database/id.service.ts b/aitoearn_web/server/aitoearn-account/src/libs/database/id.service.ts
new file mode 100644
index 00000000..f193efd8
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/database/id.service.ts
@@ -0,0 +1,52 @@
+import { Injectable } from '@nestjs/common'
+import { InjectModel } from '@nestjs/mongoose'
+/*
+ * @Author: nevin
+ * @Date: 2021-12-24 13:49:52
+ * @LastEditors: nevin
+ * @LastEditTime: 2024-08-30 15:01:55
+ * @Description: 自增ID
+ */
+import { Model } from 'mongoose'
+import { Id } from './id.schema'
+
+@Injectable()
+export class IdService {
+ constructor(@InjectModel(Id.name) private readonly idModel: Model<Id>) {}
+
+ /**
+ * @description: 创建id
+ * @param {string} id_name id名称
+ * @param {number} id_value id
+ * @return: Promise<number>
+ */
+ public async createId<T extends string | number>(
+ id_name: string,
+ id_value: number,
+ id_type: T,
+ ): Promise<T> {
+ const fadArgs = {
+ query: {
+ id_name,
+ },
+ update: {
+ $inc: { id_value: 1 },
+ $set: { update_time: new Date() },
+ },
+ options: { new: true },
+ }
+ let newId = await this.idModel
+ .findOneAndUpdate(fadArgs.query, fadArgs.update, fadArgs.options)
+ .exec()
+ if (newId) {
+ return <T>newId.id_value
+ }
+ const createdUser = new this.idModel({ id_name, id_value })
+ newId = await createdUser.save()
+
+ const id
+ = typeof id_type === 'string' ? newId.id_value.toString() : newId.id_value
+
+ return <T>id
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/database/index.ts b/aitoearn_web/server/aitoearn-account/src/libs/database/index.ts
new file mode 100644
index 00000000..c36cdfd2
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/database/index.ts
@@ -0,0 +1,4 @@
+export * from './db-mongo.module'
+export * from './id.schema'
+export * from './id.service'
+export * from './schema'
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/database/schema/account.schema.ts b/aitoearn_web/server/aitoearn-account/src/libs/database/schema/account.schema.ts
new file mode 100644
index 00000000..459cd9ef
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/database/schema/account.schema.ts
@@ -0,0 +1,166 @@
+import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
+import { BaseTemp } from './time.tamp'
+
+// 平台类型
+export enum AccountType {
+ Douyin = 'douyin', // 抖音
+ Xhs = 'xhs', // 小红书
+ WxSph = 'wxSph', // 微信视频号
+ KWAI = 'KWAI', // 快手
+ YOUTUBE = 'youtube', // youtube
+ WxGzh = 'wxGzh', // 微信公众号
+ BILIBILI = 'bilibili', // B站
+ TWITTER = 'twitter', // twitter
+ TIKTOK = 'tiktok', // tiktok
+ FACEBOOK = 'facebook', // facebook
+ INSTAGRAM = 'instagram', // instagram
+ THREADS = 'threads', // threads
+ PINTEREST = 'pinterest', // pinterest
+}
+
+export enum AccountStatus {
+ NORMAL = 1, // 可用
+ ABNORMAL = 0, // 不可用
+}
+
+@Schema({
+ collection: 'account',
+ versionKey: false,
+ toJSON: { virtuals: true },
+ toObject: { virtuals: true },
+})
+export class Account extends BaseTemp {
+ id: string
+
+ @Prop({
+ required: true,
+ type: String,
+ })
+ userId: string
+
+ @Prop({
+ required: true,
+ enum: AccountType,
+ })
+ type: AccountType
+
+ @Prop({
+ required: true, // 平台账户的唯一ID˝
+ })
+ uid: string
+
+ @Prop({
+ required: false, // 部分平台的补充ID
+ })
+ account: string
+
+ @Prop({
+ required: false,
+ type: String,
+ })
+ loginCookie: string
+
+ @Prop({
+ required: false,
+ type: String,
+ })
+ access_token: string
+
+ @Prop({
+ required: false,
+ type: String,
+ })
+ refresh_token: string
+
+ @Prop({
+ required: false,
+ type: String,
+ default: '',
+ })
+ token: string // 其他token 目前抖音用
+
+ @Prop({
+ required: false,
+ type: Date,
+ })
+ loginTime?: Date
+
+ @Prop({
+ required: false,
+ })
+ avatar?: string
+
+ @Prop({
+ required: true,
+ })
+ nickname: string
+
+ @Prop({
+ required: true,
+ default: 0,
+ })
+ fansCount: number
+
+ @Prop({
+ required: true,
+ default: 0,
+ })
+ readCount: number
+
+ @Prop({
+ required: true,
+ default: 0,
+ })
+ likeCount: number
+
+ @Prop({
+ required: true,
+ default: 0,
+ })
+ collectCount: number
+
+ @Prop({
+ required: true,
+ default: 0,
+ })
+ forwardCount: number
+
+ @Prop({
+ required: true,
+ default: 0,
+ })
+ commentCount: number
+
+ @Prop({
+ required: false,
+ type: Date,
+ })
+ lastStatsTime?: Date
+
+ @Prop({
+ required: true,
+ default: 0,
+ })
+ workCount: number
+
+ @Prop({
+ required: true,
+ default: 0,
+ })
+ income: number
+
+ // 账户关联组,与 accountGroup.id 关联
+ @Prop({ type: String, required: true })
+ groupId: string
+
+ @Prop({
+ required: true,
+ default: AccountStatus.NORMAL,
+ })
+ status: AccountStatus // 登录状态,用于判断是否失效
+
+ @Prop({ type: String, required: false })
+ channelId: string
+}
+
+export const AccountSchema = SchemaFactory.createForClass(Account)
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/database/schema/accountGroup.schema.ts b/aitoearn_web/server/aitoearn-account/src/libs/database/schema/accountGroup.schema.ts
new file mode 100644
index 00000000..56c1d815
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/database/schema/accountGroup.schema.ts
@@ -0,0 +1,70 @@
+import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
+import { BaseTemp } from './time.tamp'
+
+@Schema({
+ collection: 'accountGroup',
+ versionKey: false,
+ toJSON: { virtuals: true },
+ toObject: { virtuals: true },
+})
+export class AccountGroup extends BaseTemp {
+ id: string
+
+ @Prop({
+ required: true,
+ type: String,
+ })
+ userId: string
+
+ // 是否为默认用户组
+ @Prop({
+ required: true,
+ type: Boolean,
+ default: false,
+ })
+ isDefault: boolean
+
+ @Prop({
+ required: false,
+ type: String,
+ })
+ ip?: string
+
+ @Prop({
+ required: false,
+ type: String,
+ })
+ location?: string
+
+ // 代理IP
+ @Prop({
+ required: false,
+ type: String,
+ default: '',
+ })
+ proxyIp: string
+
+ // 组名称
+ @Prop({
+ required: true,
+ type: String,
+ })
+ name: string
+
+ // json 指纹浏览器配置
+ @Prop({
+ required: false,
+ type: Object,
+ })
+ browserConfig?: Record<string, any>
+
+ // 组排序
+ @Prop({
+ required: true,
+ type: Number,
+ default: 1,
+ })
+ rank: number
+}
+
+export const AccountGroupSchema = SchemaFactory.createForClass(AccountGroup)
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/database/schema/index.ts b/aitoearn_web/server/aitoearn-account/src/libs/database/schema/index.ts
new file mode 100644
index 00000000..436315d2
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/database/schema/index.ts
@@ -0,0 +1,2 @@
+export * from './account.schema'
+export * from './accountGroup.schema'
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/database/schema/time.tamp.ts b/aitoearn_web/server/aitoearn-account/src/libs/database/schema/time.tamp.ts
new file mode 100644
index 00000000..7b949648
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/database/schema/time.tamp.ts
@@ -0,0 +1,11 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-09-02 14:45:57
+ * @LastEditTime: 2025-02-22 12:37:22
+ * @LastEditors: nevin
+ * @Description: 时间模板
+ */
+export class BaseTemp {
+ createdAt: Date
+ updatedAt: Date
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/index.ts b/aitoearn_web/server/aitoearn-account/src/libs/index.ts
new file mode 100644
index 00000000..4c870800
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/index.ts
@@ -0,0 +1,2 @@
+export * from './database'
+export * from './redis'
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/redis/index.ts b/aitoearn_web/server/aitoearn-account/src/libs/redis/index.ts
new file mode 100644
index 00000000..33adf9d4
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/redis/index.ts
@@ -0,0 +1,3 @@
+export * from './redis.constant'
+export * from './redis.module'
+export * from './redis.service'
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.constant.ts b/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.constant.ts
new file mode 100644
index 00000000..be3c05ee
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.constant.ts
@@ -0,0 +1,8 @@
+/*
+ * @Author: nevin
+ * @Date: 2022-10-29 22:19:30
+ * @LastEditTime: 2024-08-31 18:55:18
+ * @LastEditors: nevin
+ * @Description:
+ */
+export const REDIS_CLIENT = 'REDIS_CLIENT'
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.module.ts b/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.module.ts
new file mode 100644
index 00000000..9fbe4afe
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.module.ts
@@ -0,0 +1,37 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-08-30 14:39:05
+ * @LastEditTime: 2024-09-14 19:03:21
+ * @LastEditors: nevin
+ * @Description:
+ */
+import { Global, Logger, Module } from '@nestjs/common'
+import Redis from 'ioredis'
+import { config } from '@/config'
+import { REDIS_CLIENT } from './redis.constant'
+import { RedisService } from './redis.service'
+
+@Global()
+@Module({
+ providers: [
+ RedisService,
+ {
+ provide: REDIS_CLIENT,
+ useFactory: () => {
+ const logger = new Logger('RedisModule')
+ const client = new Redis(config.redis)
+ client.on('error', (err) => {
+ logger.error('Redis client encountered an error:', err)
+ })
+
+ client.on('end', () => {
+ logger.log('Connection to Redis closed.')
+ })
+
+ return client
+ },
+ },
+ ],
+ exports: [REDIS_CLIENT, RedisService],
+})
+export class RedisModule { }
diff --git a/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.service.ts b/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.service.ts
new file mode 100644
index 00000000..867c3b00
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/libs/redis/redis.service.ts
@@ -0,0 +1,128 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-08-31 19:15:15
+ * @LastEditTime: 2024-09-18 11:42:41
+ * @LastEditors: nevin
+ * @Description:
+ */
+import { Inject, Injectable, Logger } from '@nestjs/common'
+import { Redis } from 'ioredis'
+import { REDIS_CLIENT } from './redis.constant'
+
+@Injectable()
+export class RedisService {
+ private readonly logger = new Logger(RedisService.name)
+
+ constructor(@Inject(REDIS_CLIENT) private readonly client: Redis) { }
+
+ /**
+ * 设置key-value
+ * @param key
+ * @param value
+ * @param seconds
+ * @returns
+ */
+ async setKey<T>(key: string, value: T, seconds?: number): Promise<boolean> {
+ const inValue
+ = typeof value === 'string' || typeof value === 'number'
+ ? value
+ : JSON.stringify(value)
+
+ try {
+ if (!seconds)
+ return !!(await this.client.set(key, inValue))
+
+ return !!(await this.client.set(key, inValue, 'EX', seconds))
+ }
+ catch (error) {
+ this.logger.error('Redis set key error:', error)
+
+ return false
+ }
+ }
+
+ /**
+ * 获取值
+ * @param key
+ * @returns
+ */
+ async get<T>(key: string, isObj = true): Promise<T | null> {
+ const data = await this.client.get(key)
+ if (!data)
+ return null
+ return isObj ? (JSON.parse(data) as T) : (data as T)
+ }
+
+ /**
+ * 清除值
+ * @param key
+ * @returns
+ */
+ async del(key: string): Promise<boolean> {
+ const data = await this.client.del(key)
+ return !!data
+ }
+
+ /**
+ * 设置过期时间
+ * @param key
+ * @param times
+ * @returns
+ */
+ async setPexire(key: string, times = 0): Promise<boolean> {
+ const data = await this.client.pexpire(key, times)
+ return data === 1
+ }
+
+ /**
+ * 获取剩余时间 (秒)
+ */
+ async getPttl(key: string): Promise<number> {
+ const data = await this.client.pttl(key)
+ return data
+ }
+
+ /**
+ * 生成订单号
+ * @param h 前置标识
+ */
+ async generateOrderNumber(h = '') {
+ try {
+ // 获取今天的日期,格式化为 YYYYMMDD
+ const today = new Date()
+ const datePrefix = `${today.getFullYear()}${today.getMonth() + 1}${today.getDate()}`
+
+ // 使用 Redis 的 INCR 命令生成递增的序列号
+ const sequence = await this.client.incr(`order_seq:${h}${datePrefix}`)
+
+ // 格式化序列号,确保它有固定的位数,例如8位
+ const formattedSequence = sequence.toString().padStart(8, '0')
+
+ // 拼接日期前缀和序列号,形成完整的订单号
+ const orderNumber = `${h}${datePrefix}-${formattedSequence}`
+
+ return orderNumber
+ }
+ catch (error) {
+ this.logger.error('Error generating order number:', error)
+ throw error
+ }
+ }
+
+ /**
+ * 重置订单号
+ * @param h 前置标识
+ */
+ async resetOrderNumber(h = '') {
+ try {
+ const today = new Date()
+ const datePrefix = `${today.getFullYear()}${today.getMonth() + 1}${today.getDate()}`
+
+ // 删除前一天的序列号键
+ await this.client.del(`order_seq:${h}${datePrefix}`)
+ }
+ catch (error) {
+ this.logger.error('Error resetting order sequence:', error)
+ }
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/main.ts b/aitoearn_web/server/aitoearn-account/src/main.ts
new file mode 100644
index 00000000..b0ed3cfb
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/main.ts
@@ -0,0 +1,62 @@
+import { NestApplication, NestFactory } from '@nestjs/core'
+import { MicroserviceOptions, Transport } from '@nestjs/microservices'
+import { NestExpressApplication } from '@nestjs/platform-express'
+import { Logger } from 'nestjs-pino'
+import z from 'zod/v4'
+import { config } from '@/config'
+import { AppModule } from './app.module'
+
+// 设置zod的国际化
+z.config(z.locales.zhCN())
+
+async function bootstrap() {
+ const app = await NestFactory.create<
+ NestApplication & NestExpressApplication
+ >(AppModule)
+ app.useLogger(app.get(Logger))
+ app.connectMicroservice<MicroserviceOptions>({
+ transport: Transport.NATS,
+ options: {
+ name: config.nats.name,
+ servers: config.nats.servers,
+ user: config.nats.user,
+ pass: config.nats.pass,
+ },
+ }, {
+ inheritAppConfig: true,
+ })
+ await app.startAllMicroservices()
+
+ // if (config.docs?.enabled) {
+ // const asyncApiOptions = new AsyncApiDocumentBuilder()
+ // .setTitle('哎呦赚-user')
+ // .setDescription('哎呦赚user微服务接口')
+ // .setVersion('1.0')
+ // .setDefaultContentType('application/json')
+ // .addServer('nats', {
+ // url: config.nats.servers[0],
+ // protocol: 'nats',
+ // })
+ // .build()
+
+ // const asyncapiDocument = AsyncApiModule.createDocument(
+ // app,
+ // asyncApiOptions,
+ // )
+ // await AsyncApiModule.setup(config.docs.path, app, asyncapiDocument)
+ // }
+
+ await app.listen(config.port, () => {
+ // 获取文件package.json里的版本号的值
+ // Logger.log(`---(^_^) nats server start---: ${name}[${version}]`)
+ // Logger.log(
+ // `---(^_^) http server start---: ${name}[${version}]-- http://localhost:${config.port}`,
+ // )
+ // if (config.docs?.enabled) {
+ // Logger.log(
+ // `---(^_^) nats docs start---: ${name}[${version}]-- http://localhost:${config.port}${config.docs.path}`,
+ // )
+ // }
+ })
+}
+bootstrap()
diff --git a/aitoearn_web/server/aitoearn-account/src/transports/api.ts b/aitoearn_web/server/aitoearn-account/src/transports/api.ts
new file mode 100644
index 00000000..6536b2a0
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/transports/api.ts
@@ -0,0 +1,10 @@
+export const NatsApi = {
+ task: {
+ accountPortrait: {
+ report: 'task.account.portrait.report',
+ },
+ userPortrait: {
+ upAccountData: 'task.userPortrait.upAccountData',
+ },
+ },
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/transports/comment.ts b/aitoearn_web/server/aitoearn-account/src/transports/comment.ts
new file mode 100644
index 00000000..4c093685
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/transports/comment.ts
@@ -0,0 +1,5 @@
+export interface NatsRes<T> {
+ code: number
+ data: T
+ message: string
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/transports/nats.module.ts b/aitoearn_web/server/aitoearn-account/src/transports/nats.module.ts
new file mode 100644
index 00000000..67c9836c
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/transports/nats.module.ts
@@ -0,0 +1,39 @@
+import { Global, Module } from '@nestjs/common'
+import { ClientsModule, Transport } from '@nestjs/microservices'
+import { config } from '@/config'
+import { NatsService } from './nats.service'
+import { AccountPortraitNatsApi } from './task/accountPortrait.natsApi'
+import { UserPortraitNatsApi } from './task/userPortrait.natsApi'
+
+@Global()
+@Module({
+ imports: [
+ ClientsModule.registerAsync([
+ {
+ name: 'AITOEARN_SERVICE',
+ useFactory: () => {
+ return {
+ transport: Transport.NATS,
+ options: {
+ name: 'aitoearn-account-clent',
+ servers: config.nats.servers,
+ user: config.nats.user,
+ pass: config.nats.pass,
+ },
+ }
+ },
+ },
+ ]),
+ ],
+ providers: [
+ NatsService,
+ UserPortraitNatsApi,
+ AccountPortraitNatsApi,
+ ],
+ exports: [
+ NatsService,
+ UserPortraitNatsApi,
+ AccountPortraitNatsApi,
+ ],
+})
+export class NatsModule {}
diff --git a/aitoearn_web/server/aitoearn-account/src/transports/nats.service.ts b/aitoearn_web/server/aitoearn-account/src/transports/nats.service.ts
new file mode 100644
index 00000000..6db29ae7
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/transports/nats.service.ts
@@ -0,0 +1,53 @@
+import { Inject, Injectable, Logger } from '@nestjs/common'
+import { ClientProxy } from '@nestjs/microservices'
+import { lastValueFrom } from 'rxjs'
+import { config } from '@/config'
+
+@Injectable()
+export class NatsService {
+ private prefix = ''
+ constructor(
+ @Inject('AITOEARN_SERVICE') private readonly client: ClientProxy,
+ ) {
+ this.prefix = config.nats.prefix
+ }
+
+ /**
+ * 发送事件
+ * @param pattern
+ * @param data
+ * @param prefix
+ * @returns
+ */
+ publishEvent(pattern: string, data: any, prefix?: string) {
+ this.client.emit(`${prefix || this.prefix}.${pattern}`, data)
+ }
+
+ /**
+ * 发送消息
+ * @param pattern
+ * @param data
+ * @param prefix
+ * @returns
+ */
+ async sendMessage<T = any>(pattern: string, data: any, prefix?: string) {
+ const path = `${prefix || this.prefix}.${pattern}`
+ const ret = this.client.send<{
+ code: number
+ message: string
+ data: T
+ timestamp: number
+ }>(path, data)
+
+ try {
+ const res = await lastValueFrom(ret)
+ return res
+ }
+ catch (error) {
+ Logger.error(`-------- nats 【${path}】 message error ------`, error)
+ Logger.debug(error, `-------- nats 【${path}】 message error ------`)
+
+ throw error
+ }
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/transports/task/accountPortrait.natsApi.ts b/aitoearn_web/server/aitoearn-account/src/transports/task/accountPortrait.natsApi.ts
new file mode 100644
index 00000000..0b246afd
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/transports/task/accountPortrait.natsApi.ts
@@ -0,0 +1,23 @@
+import { Injectable } from '@nestjs/common'
+import { NatsApi } from '../api'
+import { NatsService } from '../nats.service'
+import { AccountPortraitReportData } from './common'
+
+@Injectable()
+export class AccountPortraitNatsApi {
+ constructor(private readonly natsService: NatsService) {}
+
+ /**
+ * 上报账号数据
+ * @param data
+ * @returns
+ */
+ async accountPortraitReport(
+ data: AccountPortraitReportData,
+ ) {
+ return await this.natsService.sendMessage<boolean>(
+ NatsApi.task.accountPortrait.report,
+ data,
+ )
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/transports/task/common.ts b/aitoearn_web/server/aitoearn-account/src/transports/task/common.ts
new file mode 100644
index 00000000..e0374da2
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/transports/task/common.ts
@@ -0,0 +1,32 @@
+export enum ContentTag {
+ BEAUTY = '美妆',
+ TRAVEL = '旅游',
+ FOOD = '美食',
+ FASHION = '时尚',
+ LIFESTYLE = '生活',
+ TECH = '科技',
+ SPORTS = '运动',
+ MUSIC = '音乐',
+ DANCE = '舞蹈',
+ GAME = '游戏',
+ EDUCATION = '教育',
+ ENTERTAINMENT = '娱乐',
+ HEALTH = '健康',
+ FINANCE = '金融',
+ BUSINESS = '商业',
+ ART = '艺术',
+ PHOTOGRAPHY = '摄影',
+ PETS = '宠物',
+ PARENTING = '育儿',
+ HOME = '家居',
+}
+
+export interface AccountPortraitReportData {
+ accountId: string
+ contentTags?: Record<string, number>
+ totalFollowers?: number
+ totalWorks?: number
+ totalViews?: number
+ totalLikes?: number
+ totalCollects?: number
+}
diff --git a/aitoearn_web/server/aitoearn-account/src/transports/task/userPortrait.natsApi.ts b/aitoearn_web/server/aitoearn-account/src/transports/task/userPortrait.natsApi.ts
new file mode 100644
index 00000000..f9d83486
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/src/transports/task/userPortrait.natsApi.ts
@@ -0,0 +1,22 @@
+import { Injectable } from '@nestjs/common'
+import { NatsApi } from '../api'
+import { NatsService } from '../nats.service'
+
+@Injectable()
+export class UserPortraitNatsApi {
+ constructor(private readonly natsService: NatsService) {}
+
+ /**
+ * TODO://上报用户账号数据
+ * @param data
+ * @returns
+ */
+ async upUserData(
+ data: any,
+ ) {
+ return await this.natsService.sendMessage<boolean>(
+ NatsApi.task.userPortrait.upAccountData,
+ data,
+ )
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/test/app.e2e-spec.ts b/aitoearn_web/server/aitoearn-account/test/app.e2e-spec.ts
new file mode 100644
index 00000000..9be51e7f
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/test/app.e2e-spec.ts
@@ -0,0 +1,25 @@
+import { INestApplication } from '@nestjs/common'
+import { Test, TestingModule } from '@nestjs/testing'
+import * as request from 'supertest'
+import { App } from 'supertest/types'
+import { AppModule } from './../src/app.module'
+
+describe('AppController (e2e)', () => {
+ let app: INestApplication<App>
+
+ beforeEach(async () => {
+ const moduleFixture: TestingModule = await Test.createTestingModule({
+ imports: [AppModule],
+ }).compile()
+
+ app = moduleFixture.createNestApplication()
+ await app.init()
+ })
+
+ it('/ (GET)', () => {
+ return request(app.getHttpServer())
+ .get('/')
+ .expect(200)
+ .expect('Hello World!')
+ })
+})
diff --git a/aitoearn_web/server/aitoearn-account/test/jest-e2e.json b/aitoearn_web/server/aitoearn-account/test/jest-e2e.json
new file mode 100644
index 00000000..e9d912f3
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/test/jest-e2e.json
@@ -0,0 +1,9 @@
+{
+ "moduleFileExtensions": ["js", "json", "ts"],
+ "rootDir": ".",
+ "testEnvironment": "node",
+ "testRegex": ".e2e-spec.ts$",
+ "transform": {
+ "^.+\\.(t|j)s$": "ts-jest"
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-account/tsconfig.build.json b/aitoearn_web/server/aitoearn-account/tsconfig.build.json
new file mode 100644
index 00000000..64f86c6b
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/tsconfig.build.json
@@ -0,0 +1,4 @@
+{
+ "extends": "./tsconfig.json",
+ "exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
+}
diff --git a/aitoearn_web/server/aitoearn-account/tsconfig.json b/aitoearn_web/server/aitoearn-account/tsconfig.json
new file mode 100644
index 00000000..6da13498
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-account/tsconfig.json
@@ -0,0 +1,40 @@
+{
+ "compilerOptions": {
+ "incremental": true,
+ "target": "ES2023",
+ "emitDecoratorMetadata": true,
+ "experimentalDecorators": true,
+ "baseUrl": "./",
+ "module": "commonjs",
+ "paths": {
+ "@/*": [
+ "src/*"
+ ],
+ "@common/*": [
+ "src/common/*"
+ ],
+ "@core/*": [
+ "src/core/*"
+ ],
+ "@libs/*": [
+ "src/libs/*"
+ ],
+ "@transports/*": [
+ "src/transports/*"
+ ]
+ },
+ "resolveJsonModule": true,
+ "strictBindCallApply": false,
+ "strictNullChecks": true,
+ "noFallthroughCasesInSwitch": false,
+ "noImplicitAny": false,
+ "declaration": true,
+ "outDir": "./dist",
+ "removeComments": true,
+ "sourceMap": true,
+ "allowSyntheticDefaultImports": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "skipLibCheck": true
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-channel/.github/workflows/deploy.yml b/aitoearn_web/server/aitoearn-channel/.github/workflows/deploy.yml
deleted file mode 100644
index e05c4577..00000000
--- a/aitoearn_web/server/aitoearn-channel/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,193 +0,0 @@
-name: Deploy Service
-
-on:
- workflow_dispatch:
- inputs:
- environment:
- description: 选择目标环境
- required: true
- type: choice
- options:
- - dev
- - prod
- version:
- description: 镜像版本 (留空使用默认生成规则)
- required: false
- type: string
- architectures:
- description: 目标平台 (逗号分隔,如 linux/amd64,linux/arm64)
- required: false
- type: string
- default: linux/amd64
-
-permissions:
- id-token: write
- contents: read
-
-env:
- AWS_REGION: ap-southeast-1
- ECR_REGISTRY: 339388639667.dkr.ecr.ap-southeast-1.amazonaws.com
- ROLE_TO_ASSUME: arn:aws:iam::339388639667:role/GithubActions
- IMAGE_REPO: aitoearn
- APP_NAME: aitoearn-channel
- HELM_REPO: yikart/k8s-apps
- HELM_REPO_URL: https://github.com/yikart/k8s-apps.git
-
-jobs:
- build-and-deploy:
- runs-on: ubuntu-latest
- environment: ${{ github.event.inputs.environment }}
-
- steps:
- - name: Checkout source code
- uses: actions/checkout@v4
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@v4
- with:
- role-to-assume: ${{ env.ROLE_TO_ASSUME }}
- aws-region: ${{ env.AWS_REGION }}
-
- - name: Login to Amazon ECR
- id: login-ecr
- uses: aws-actions/amazon-ecr-login@v2
-
- - name: Generate version
- id: version
- run: |
- if [ -n "${{ github.event.inputs.version }}" ]; then
- VERSION="${{ github.event.inputs.version }}"
- else
- VERSION=$(date +%Y%m%d)-$(git rev-parse --short HEAD)
- fi
- echo "version=$VERSION" >> $GITHUB_OUTPUT
-
- - name: Build and push application
- uses: docker/build-push-action@v5
- with:
- context: .
- file: ./Dockerfile
- platforms: ${{ github.event.inputs.architectures }}
- push: true
- tags: |
- ${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}
- cache-from: type=gha
- cache-to: type=gha,mode=max
-
- - uses: actions/create-github-app-token@v2
- id: generate-token
- with:
- app-id: ${{ secrets.APP_ID }}
- private-key: ${{ secrets.APP_PRIVATE_KEY }}
- owner: yikart
- repositories: k8s-apps
-
- - name: Clone Helm repository
- uses: actions/checkout@v4
- with:
- repository: ${{ env.HELM_REPO }}
- token: ${{ steps.generate-token.outputs.token }}
- path: k8s-apps
-
- - name: Update Helm values
- run: |
- cd k8s-apps
- ENV="${{ github.event.inputs.environment }}"
- VERSION="${{ steps.version.outputs.version }}"
- APP="${{ env.APP_NAME }}"
- VALUES_FILE="${ENV}/values-${APP}.yaml"
-
- if [ -f "$VALUES_FILE" ]; then
- sed -i "s|tag: .*|tag: ${VERSION}|g" "$VALUES_FILE"
- echo "Updated ${APP} tag to ${VERSION}"
- else
- echo "Warning: Values file not found: $VALUES_FILE"
- fi
-
- - name: Update config files
- run: |
- ENV="${{ github.event.inputs.environment }}"
- CONFIG_FILE="config/${ENV}.config.js"
- if [ -f "$CONFIG_FILE" ]; then
- CONFIG_DIR="k8s-apps/${ENV}/configmaps/${{ env.APP_NAME }}"
- mkdir -p "$CONFIG_DIR"
- cp "$CONFIG_FILE" "${CONFIG_DIR}/config.js"
- echo "Updated ${{ env.APP_NAME }} config for ${ENV} environment"
- else
- echo "Warning: Config file not found: $CONFIG_FILE"
- fi
-
- - name: Get source repository changes
- id: source-changes
- run: |
- COMMIT_HISTORY=$(git log --oneline -10 --pretty=format:"- [%h](${{ github.server_url }}/${{ github.repository }}/commit/%H) %s")
- echo 'commit_history<<EOF' >> $GITHUB_OUTPUT
- echo "$COMMIT_HISTORY" >> $GITHUB_OUTPUT
- echo 'EOF' >> $GITHUB_OUTPUT
-
- - name: Create Pull Request in Helm Repo
- id: create-pr
- uses: peter-evans/create-pull-request@v7
- with:
- token: ${{ steps.generate-token.outputs.token }}
- path: ./k8s-apps
- branch: deploy/${{ env.APP_NAME }}-${{ github.event.inputs.environment }}-${{ steps.version.outputs.version }}
- title: "deploy(${{ github.event.inputs.environment }}): update ${{ env.APP_NAME }} to ${{ steps.version.outputs.version }}"
- body: |
- ## 🚀 部署请求
-
- **应用**: ${{ env.APP_NAME }}
- **环境**: ${{ github.event.inputs.environment }}
- **版本**: ${{ steps.version.outputs.version }}
-
- ### 📋 变更详情
-
- - 更新镜像标签: `${{ env.APP_NAME }}:${{ steps.version.outputs.version }}`
- - 目标环境: `${{ github.event.inputs.environment }}`
-
- ### 📝 源代码变更历史
-
- 最近的提交记录:
- ${{ steps.source-changes.outputs.commit_history }}
-
- ### 🔗 相关信息
-
- - **源仓库**: ${{ github.repository }}
- - **源提交**: [`${{ github.sha }}`](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
- - **镜像地址**: `${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}`
- - **构建日志**: [GitHub Actions Run ${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
- # 提交信息
- commit-message: |
- deploy(${{ github.event.inputs.environment }}): update ${{ env.APP_NAME }} to ${{ steps.version.outputs.version }}
-
- Update image tag for ${{ env.APP_NAME }} in ${{ github.event.inputs.environment }} environment
- Source-Commit: ${{ github.sha }}
- Triggered-By: GitHub Actions
- # PR 的目标分支
- base: main
-
- - name: Summary
- if: always()
- run: |
- echo "## 📦部署摘要" >> $GITHUB_STEP_SUMMARY
- echo "- **应用**: ${{ env.APP_NAME }}" >> $GITHUB_STEP_SUMMARY
- echo "- **环境**: ${{ github.event.inputs.environment }}" >> $GITHUB_STEP_SUMMARY
- echo "- **版本**: ${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
- echo "- **镜像**: \`${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}\`" >> $GITHUB_STEP_SUMMARY
-
- # 检查 create-pr 步骤的 'created' 输出
- if [ "${{ steps.create-pr.outputs.pull-request-number }}" != "" ]; then
- echo "- **状态**: ✅ Pull Request 已创建到 Helm 仓库" >> $GITHUB_STEP_SUMMARY
- # 使用新的输出 'pull-request-url'
- echo "- **PR链接**: ${{ steps.create-pr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
- else
- echo "- **状态**: ⚠️ 无变更,未创建 Pull Request" >> $GITHUB_STEP_SUMMARY
- fi
-
- echo "" >> $GITHUB_STEP_SUMMARY
- echo "### 🔗 快速链接" >> $GITHUB_STEP_SUMMARY
- echo "- [Helm 仓库](${{ env.HELM_REPO_URL }})" >> $GITHUB_STEP_SUMMARY
- echo "- [源代码提交](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})" >> $GITHUB_STEP_SUMMARY
diff --git a/aitoearn_web/server/aitoearn-channel/Dockerfile b/aitoearn_web/server/aitoearn-channel/Dockerfile
index e7ad00f5..5c6b3931 100644
--- a/aitoearn_web/server/aitoearn-channel/Dockerfile
+++ b/aitoearn_web/server/aitoearn-channel/Dockerfile
@@ -14,7 +14,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm i --frozen-lockfile;
COPY nest-cli.json tsconfig.json ./
COPY src ./src
-COPY config ./config
+
RUN nest build;
diff --git a/aitoearn_web/server/aitoearn-channel/config/dev.config.js b/aitoearn_web/server/aitoearn-channel/config/dev.config.js
index 67f19c9d..4a8a73ad 100644
--- a/aitoearn_web/server/aitoearn-channel/config/dev.config.js
+++ b/aitoearn_web/server/aitoearn-channel/config/dev.config.js
@@ -1,21 +1,41 @@
const { REDIS_HOST, REDIS_PORT, REDIS_PASSWORD } = process.env;
const { MONGODB_HOST, MONGODB_PORT, MONGODB_USERNAME, MONGODB_PASSWORD }
= process.env;
+
const { NATS_HOST, NATS_PORT, NATS_USERNAME, NATS_PASSWORD } = process.env;
-const { AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY } = process.env;
-const { BILIBILI_ID, BILIBILI_SECRET } = process.env;
-const { KWAI_ID, KWAI_SECRET } = process.env;
-const { PINTEREST_ID, PINTEREST_SECRET, PINTEREST_TEST_AUTH } = process.env;
-const { TIKTOK_CLIENT_ID, TIKTOK_CLIENT_SECRET } = process.env;
-const { TWITTER_CLIENT_ID, TWITTER_CLIENT_SECRET } = process.env;
-const { META_FACEBOOK_CLIENT_ID, META_FACEBOOK_CLIENT_SECRET, META_FACEBOOK_CONFIG_ID } = process.env;
-const { META_THREADS_CLIENT_ID, META_THREADS_CLIENT_SECRET } = process.env;
-const { META_INSTAGRAM_CLIENT_ID, META_INSTAGRAM_CLIENT_SECRET } = process.env;
-const { WX_PLAT_ID, WX_PLAT_SECRET, WX_PLAT_TOKEN, WX_PLAT_ENCODING_AES_KEY } = process.env;
-const { MY_WX_PLAT_SECRET, MY_WX_PLAT_ID } = process.env;
-const { YOUTUBE_ID, YOUTUBE_SECRET } = process.env;
-// 添加 Google 配置环境变量
-const { GOOGLE_ID, GOOGLE_SECRET, GOOGLE_AUTH_BACK_HOST } = process.env;
+
+// 新增环境变量定义
+const {
+ CLOUDWATCH_ACCESS_KEY_ID,
+ CLOUDWATCH_SECRET_ACCESS_KEY,
+ S3_ACCESS_KEY_ID,
+ S3_SECRET_ACCESS_KEY,
+ BILIBILI_SECRET,
+ KWAI_SECRET,
+ PINTEREST_SECRET,
+ TIKTOK_CLIENT_SECRET,
+ TWITTER_CLIENT_SECRET,
+ META_FACEBOOK_CLIENT_SECRET,
+ META_THREADS_CLIENT_SECRET,
+ META_INSTAGRAM_CLIENT_SECRET,
+ WXPLAT_SECRET,
+ WXPLAT_ENCODING_AES_KEY,
+ YOUTUBE_SECRET,
+ // 新增Google OAuth相关环境变量
+ GOOGLE_OAUTH_CLIENT_ID,
+ GOOGLE_OAUTH_CLIENT_SECRET,
+ GOOGLE_AUTH_BACK_HOST,
+ BILIBILI_AUTH_BACK_HOST,
+ KWAI_AUTH_BACK_HOST,
+ PINTEREST_AUTH_BACK_HOST,
+ TIKTOK_REDIRECT_URI,
+ TWITTER_REDIRECT_URI,
+ META_FACEBOOK_REDIRECT_URI,
+ META_THREADS_REDIRECT_URI,
+ META_INSTAGRAM_REDIRECT_URI,
+ WXPLAT_AUTH_BACK_HOST,
+ YOUTUBE_AUTH_BACK_HOST
+} = process.env;
module.exports = {
port: 7001,
@@ -33,8 +53,8 @@ module.exports = {
cloudWatch: {
enable: true,
region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
+ accessKeyId: CLOUDWATCH_ACCESS_KEY_ID,
+ secretAccessKey: CLOUDWATCH_SECRET_ACCESS_KEY,
group: 'aitoearn-apps',
prefix: 'dev',
},
@@ -48,7 +68,7 @@ module.exports = {
},
mongodb: {
uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@${MONGODB_HOST}:${MONGODB_PORT}/`,
- dbName: 'aitoearn',
+ dbName: 'aitoearn_channel',
},
nats: {
name: 'aitoearn-channel-dev',
@@ -61,10 +81,10 @@ module.exports = {
},
awsS3: {
region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
+ accessKeyId: S3_ACCESS_KEY_ID,
+ secretAccessKey: S3_SECRET_ACCESS_KEY,
bucketName: 'aitoearn',
- hostUrl: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com',
+ hostUrl: 'https://x.com',
},
bullmq: {
connection: {
@@ -73,74 +93,73 @@ module.exports = {
password: REDIS_PASSWORD,
db: 2,
},
+ prefix: 'dev',
},
bilibili: {
- id: BILIBILI_ID,
+ id: '366126e90baf4f25',
secret: BILIBILI_SECRET,
- authBackHost: 'https://dev.aitoearn.ai/baseUrlProxy/plat/bilibili/auth/back',
},
google: {
- id: GOOGLE_ID,
- secret: GOOGLE_SECRET,
- authBackHost: GOOGLE_AUTH_BACK_HOST,
+ id: GOOGLE_OAUTH_CLIENT_ID || '',
+ secret: GOOGLE_OAUTH_CLIENT_SECRET || '',
+ authBackHost: GOOGLE_AUTH_BACK_HOST || '',
},
kwai: {
- id: KWAI_ID,
+ id: 'x',
secret: KWAI_SECRET,
- authBackHost: 'https://dev.aitoearn.ai/baseUrlProxy/plat/kwai/auth/back',
+ authBackHost: KWAI_AUTH_BACK_HOST,
},
pinterest: {
- id: PINTEREST_ID,
+ id: '1521759',
secret: PINTEREST_SECRET,
- authBackHost: 'https://dev.aitoearn.ai/baseUrlProxy/plat/pinterest/authWebhook',
- baseUrl: 'https://api-sandbox.pinterest.com',
- test_authorization: PINTEREST_TEST_AUTH,
+ authBackHost: PINTEREST_AUTH_BACK_HOST,
+ baseUrl: 'https://x.com',
},
tiktok: {
- clientId: TIKTOK_CLIENT_ID,
+ clientId: 'x',
clientSecret: TIKTOK_CLIENT_SECRET,
- redirectUri: 'https://dev.aitoearn.ai/platcallback/tiktok/auth/callback',
+ redirectUri: TIKTOK_REDIRECT_URI,
},
twitter: {
- clientId: TWITTER_CLIENT_ID,
+ clientId: 'x',
clientSecret: TWITTER_CLIENT_SECRET,
- redirectUri: 'https://dev.aitoearn.ai/platcallback/twitter/auth/callback',
+ redirectUri: TWITTER_REDIRECT_URI,
},
meta: {
facebook: {
- clientId: META_FACEBOOK_CLIENT_ID,
+ clientId: 'x',
clientSecret: META_FACEBOOK_CLIENT_SECRET,
- configId: META_FACEBOOK_CONFIG_ID,
- redirectUri: 'https://dev.aitoearn.ai/api/plat/meta/auth/back',
+ configId: 'x',
+ redirectUri: META_FACEBOOK_REDIRECT_URI,
},
threads: {
- clientId: META_THREADS_CLIENT_ID,
+ clientId: 'x',
clientSecret: META_THREADS_CLIENT_SECRET,
- redirectUri: 'https://dev.aitoearn.ai/api/plat/meta/auth/back',
+ redirectUri: META_THREADS_REDIRECT_URI,
},
instagram: {
- clientId: META_INSTAGRAM_CLIENT_ID,
+ clientId: 'x',
clientSecret: META_INSTAGRAM_CLIENT_SECRET,
- redirectUri: 'https://dev.aitoearn.ai/api/plat/meta/auth/back',
+ redirectUri: META_INSTAGRAM_REDIRECT_URI,
},
},
wxPlat: {
- id: WX_PLAT_ID,
- secret: WX_PLAT_SECRET,
- token: WX_PLAT_TOKEN,
- encodingAESKey: WX_PLAT_ENCODING_AES_KEY,
- authBackHost: 'https://dev.aitoearn.ai/platcallback',
+ id: 'x',
+ secret: WXPLAT_SECRET,
+ token: 'aitoearn',
+ encodingAESKey: WXPLAT_ENCODING_AES_KEY,
+ authBackHost: WXPLAT_AUTH_BACK_HOST,
},
myWxPlat: {
- id: MY_WX_PLAT_ID,
- secret: MY_WX_PLAT_SECRET,
- hostUrl: 'https://mcp.aitoearn.cn',
+ id: 'dev',
+ secret: WXPLAT_SECRET,
+ hostUrl: 'https://x.ai',
},
youtube: {
- id: YOUTUBE_ID,
+ id: 'x',
secret: YOUTUBE_SECRET,
authBackHost:
- 'https://dev.aitoearn.ai/api/plat/youtube/auth/callback',
+ YOUTUBE_AUTH_BACK_HOST,
},
};
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-channel/config/prod.config.js b/aitoearn_web/server/aitoearn-channel/config/prod.config.js
deleted file mode 100644
index d4e4fe37..00000000
--- a/aitoearn_web/server/aitoearn-channel/config/prod.config.js
+++ /dev/null
@@ -1,144 +0,0 @@
-const { REDIS_HOST, REDIS_PORT, REDIS_PASSWORD } = process.env;
-const { MONGODB_HOST, MONGODB_PORT, MONGODB_USERNAME, MONGODB_PASSWORD }
- = process.env;
-const { NATS_HOST, NATS_PORT, NATS_USERNAME, NATS_PASSWORD } = process.env;
-const { AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY } = process.env;
-const { BILIBILI_ID, BILIBILI_SECRET } = process.env;
-const { KWAI_ID, KWAI_SECRET } = process.env;
-const { PINTEREST_ID, PINTEREST_SECRET, PINTEREST_TEST_AUTH } = process.env;
-const { TIKTOK_CLIENT_ID, TIKTOK_CLIENT_SECRET } = process.env;
-const { TWITTER_CLIENT_ID, TWITTER_CLIENT_SECRET } = process.env;
-const { META_FACEBOOK_CLIENT_ID, META_FACEBOOK_CLIENT_SECRET, META_FACEBOOK_CONFIG_ID } = process.env;
-const { META_THREADS_CLIENT_ID, META_THREADS_CLIENT_SECRET } = process.env;
-const { META_INSTAGRAM_CLIENT_ID, META_INSTAGRAM_CLIENT_SECRET } = process.env;
-const { WX_PLAT_ID, WX_PLAT_SECRET, WX_PLAT_TOKEN, WX_PLAT_ENCODING_AES_KEY } = process.env;
-const { MY_WX_PLAT_SECRET } = process.env;
-const { YOUTUBE_ID, YOUTUBE_SECRET } = process.env;
-
-module.exports = {
- port: 7001,
- env: 'production',
- enableBadRequestDetails: true,
- docs: {
- enabled: false,
- path: '/doc',
- },
- logger: {
- console: {
- enable: true,
- level: 'debug',
- },
- cloudWatch: {
- enable: true,
- region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
- group: 'aitoearn-apps',
- prefix: 'dev',
- },
- },
- redis: {
- host: REDIS_HOST,
- port: Number(REDIS_PORT),
- password: REDIS_PASSWORD,
- db: 1,
- connectTimeout: 10000,
- },
- mongodb: {
- uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@${MONGODB_HOST}:${MONGODB_PORT}/`,
- dbName: 'aitoearn',
- },
- nats: {
- name: 'aitoearn-channel-dev',
- servers: [
- `nats://${NATS_USERNAME}:${NATS_PASSWORD}@${NATS_HOST}:${NATS_PORT}`,
- ],
- user: NATS_USERNAME,
- pass: NATS_PASSWORD,
- prefix: 'dev',
- },
- awsS3: {
- region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
- bucketName: 'aitoearn',
- hostUrl: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com',
- },
- bullmq: {
- connection: {
- host: REDIS_HOST,
- port: Number(REDIS_PORT),
- password: REDIS_PASSWORD,
- db: 2,
- },
- },
- bilibili: {
- id: BILIBILI_ID,
- secret: BILIBILI_SECRET,
- authBackHost: 'https://dev.aitoearn.ai/baseUrlProxy/plat/bilibili/auth/back',
- },
- google: {
- id: '',
- secret: '',
- authBackHost: '',
- },
- kwai: {
- id: KWAI_ID,
- secret: KWAI_SECRET,
- authBackHost: 'https://dev.aitoearn.ai/baseUrlProxy/plat/kwai/auth/back',
- },
- pinterest: {
- id: PINTEREST_ID,
- secret: PINTEREST_SECRET,
- authBackHost: 'https://dev.aitoearn.ai/baseUrlProxy/plat/pinterest/authWebhook',
- baseUrl: 'https://api-sandbox.pinterest.com',
- test_authorization: PINTEREST_TEST_AUTH,
- },
- tiktok: {
- clientId: TIKTOK_CLIENT_ID,
- clientSecret: TIKTOK_CLIENT_SECRET,
- redirectUri: 'https://dev.aitoearn.ai/platcallback/tiktok/auth/callback',
- },
- twitter: {
- clientId: TWITTER_CLIENT_ID,
- clientSecret: TWITTER_CLIENT_SECRET,
- redirectUri: 'https://dev.aitoearn.ai/platcallback/twitter/auth/callback',
- },
- meta: {
- facebook: {
- clientId: META_FACEBOOK_CLIENT_ID,
- clientSecret: META_FACEBOOK_CLIENT_SECRET,
- configId: META_FACEBOOK_CONFIG_ID,
- redirectUri: 'https://dev.aitoearn.ai/api/plat/meta/auth/back',
- },
- threads: {
- clientId: META_THREADS_CLIENT_ID,
- clientSecret: META_THREADS_CLIENT_SECRET,
- redirectUri: 'https://dev.aitoearn.ai/api/plat/meta/auth/back',
- },
- instagram: {
- clientId: META_INSTAGRAM_CLIENT_ID,
- clientSecret: META_INSTAGRAM_CLIENT_SECRET,
- redirectUri: 'https://dev.aitoearn.ai/api/plat/meta/auth/back',
- },
- },
-
- wxPlat: {
- id: WX_PLAT_ID,
- secret: WX_PLAT_SECRET,
- token: WX_PLAT_TOKEN,
- encodingAESKey: WX_PLAT_ENCODING_AES_KEY,
- authBackHost: 'https://dev.aitoearn.ai/platcallback',
- },
- myWxPlat: {
- id: 'aitoearnLocal',
- secret: MY_WX_PLAT_SECRET,
- hostUrl: 'https://mcp.aitoearn.cn',
- },
- youtube: {
- id: YOUTUBE_ID,
- secret: YOUTUBE_SECRET,
- authBackHost:
- 'https://dev.aitoearn.ai/api/plat/youtube/auth/callback',
- },
-};
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-channel/src/app.module.ts b/aitoearn_web/server/aitoearn-channel/src/app.module.ts
index 1119628b..545f313c 100644
--- a/aitoearn_web/server/aitoearn-channel/src/app.module.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/app.module.ts
@@ -5,8 +5,8 @@ import { BullModule } from '@nestjs/bullmq'
import { Module } from '@nestjs/common'
import { APP_FILTER, APP_INTERCEPTOR, APP_PIPE } from '@nestjs/core'
import { EventEmitterModule } from '@nestjs/event-emitter'
-import { LoggerModule } from 'nestjs-pino'
import { ScheduleModule } from '@nestjs/schedule'
+import { LoggerModule } from 'nestjs-pino'
import { TransportTargetOptions } from 'pino'
import { AppController } from './app.controller'
import { AppService } from './app.service'
diff --git a/aitoearn_web/server/aitoearn-channel/src/common/utils/file.util.ts b/aitoearn_web/server/aitoearn-channel/src/common/utils/file.util.ts
index 5ea0640b..c0104fa3 100644
--- a/aitoearn_web/server/aitoearn-channel/src/common/utils/file.util.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/common/utils/file.util.ts
@@ -2,7 +2,6 @@ import * as fs from 'node:fs'
import path from 'node:path'
import { Logger } from '@nestjs/common'
import axios, { AxiosResponse } from 'axios'
-import { firstValueFrom } from 'rxjs'
import { v4 as uuidv4 } from 'uuid'
enum Type {
@@ -165,7 +164,7 @@ export async function streamDownloadAndUpload(
let partNumber = 1
// 获取总大小
- const headResponse: AxiosResponse<unknown> = await firstValueFrom(this.httpService.head(url))
+ const headResponse: AxiosResponse<unknown> = await axios.head(url)
const totalSize = Number.parseInt(
headResponse.headers['content-length'],
10,
@@ -174,15 +173,13 @@ export async function streamDownloadAndUpload(
for (let start = 0; start < totalSize; start += chunkSize) {
const end = Math.min(start + chunkSize - 1, totalSize - 1)
const range = `bytes=${start}-${end}`
- const rangeRes: AxiosResponse<unknown> = await firstValueFrom(
- this.httpService.get(url, {
- responseType: 'stream',
- headers: {
- Range: range,
- },
- }),
- )
- const buffer = await this.incomingMessageToBuffer(rangeRes.data)
+ const rangeRes: AxiosResponse<unknown> = await axios.get(url, {
+ responseType: 'stream',
+ headers: {
+ Range: range,
+ },
+ })
+ const buffer = await incomingMessageToBuffer(rangeRes.data)
await upFn(buffer, partNumber)
partNumber++
}
@@ -201,7 +198,7 @@ export async function streamDownloadAndUpload(
*/
export async function getFileSizeFromUrl(url: string): Promise<number> {
try {
- const headResponse: AxiosResponse<unknown> = await firstValueFrom(this.httpService.head(url))
+ const headResponse: AxiosResponse<unknown> = await axios.head(url)
const contentLength = Number.parseInt(
headResponse.headers['content-length'],
10,
@@ -222,7 +219,7 @@ export async function getFileSizeFromUrl(url: string): Promise<number> {
export async function chunkedDownloadFile(
url: string,
range: [number, number],
-): Promise<Buffer> {
+): Promise<Buffer<ArrayBuffer>> {
try {
const chunk = await axios.get<ArrayBuffer>(url, {
responseType: 'arraybuffer',
@@ -252,3 +249,13 @@ export async function getRemoteFileSize(url: string): Promise<number> {
throw new Error(`Failed to get remote file metadata: ${error}, URL: ${url}`)
}
}
+
+// 将可读流转换为Buffer
+function incomingMessageToBuffer(stream: any): Promise<Buffer> {
+ return new Promise((resolve, reject) => {
+ const chunks: Buffer[] = []
+ stream.on('data', (chunk: Buffer) => chunks.push(chunk))
+ stream.on('end', () => resolve(Buffer.concat(chunks)))
+ stream.on('error', reject)
+ })
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/config.ts b/aitoearn_web/server/aitoearn-channel/src/config.ts
index 3c9e47c9..4dd49f2f 100644
--- a/aitoearn_web/server/aitoearn-channel/src/config.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/config.ts
@@ -75,6 +75,7 @@ const BullmqConnectionSchema = z.object({
})
const BullmqSchema = z.object({
connection: BullmqConnectionSchema,
+ prefix: z.string().optional(),
})
const kwaiSchema = z.object({
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/account/account.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/account/account.service.ts
index 456e8c0d..29eafd5f 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/account/account.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/account/account.service.ts
@@ -1,4 +1,5 @@
import { Injectable, Logger } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
import { InjectModel } from '@nestjs/mongoose'
import { Model, UpdateQuery } from 'mongoose'
import { TableDto } from '@/common/global/dto/table.dto'
@@ -12,6 +13,7 @@ export class AccountService {
@InjectModel(Account.name)
private readonly accountModel: Model<Account>,
private readonly accountNatsApi: AccountNatsApi,
+ private eventEmitter: EventEmitter2,
) {}
/**
@@ -60,6 +62,8 @@ export class AccountService {
})
if (natsRes.code)
throw new Error(natsRes.message)
+ // 触发账户创建或更新事件
+ this.eventEmitter.emit(`account.create.${newOrUpdatedAccount?.type}`, newOrUpdatedAccount?.id)
}
catch (error) {
Logger.error(error)
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/bilibiliData.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/bilibiliData.service.ts
index 70a9cd93..10782a81 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/bilibiliData.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/bilibiliData.service.ts
@@ -6,15 +6,30 @@
* @Description: b站-统计数据
*/
import { Injectable, Logger } from '@nestjs/common';
+import { OnEvent } from '@nestjs/event-emitter';
+import { AccountNatsApi } from '@/transports/account/account.natsApi';
+import { AccountType } from '@/transports/account/common';
import { BilibiliService } from '../plat/bilibili/bilibili.service';
import { DataCubeBase } from './data.base';
@Injectable()
export class BilibiliDataService extends DataCubeBase {
- constructor(readonly bilibiliService: BilibiliService) {
+ constructor(
+ readonly bilibiliService: BilibiliService,
+ readonly accountNatsApi: AccountNatsApi,
+ ) {
super();
}
+ @OnEvent(`account.create.${AccountType.BILIBILI}`)
+ async accountPortraitReport(accountId: string) {
+ const res = await this.getAccountDataCube(accountId)
+ this.accountNatsApi.updateAccountStatistics(accountId, {
+ workCount: res.arcNum,
+ fansCount: res.fensNum,
+ })
+ }
+
async getAccountDataCube(accountId: string) {
const res = await this.bilibiliService.getUserStat(accountId);
return {
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/data.base.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/data.base.ts
index a1c42388..4e3909ec 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/data.base.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/data.base.ts
@@ -6,29 +6,33 @@ import {
} from '../plat/common';
export abstract class DataCubeBase {
+ /**
+ * 上报用户数据
+ * @param accountId
+ */
+ abstract accountPortraitReport(
+ accountId: string,
+ ): Promise<void>;
+
// 获取账号的统计数据
abstract getAccountDataCube(
accountId: string,
- pageId?: string, // 可选参数,适用于Facebook等平台
): Promise<ChannelAccountDataCube>;
// 获取账号的增量数据
abstract getAccountDataBulk(
accountId: string,
- pageId?: string, // 可选参数,适用于Facebook等平台
): Promise<ChannelAccountDataBulk>;
// 获取作品的统计数据
abstract getArcDataCube(
accountId: string,
dataId: string,
- pageId?: string, // 可选参数,适用于Facebook等平台
): Promise<ChannelArcDataCube>;
// 获取作品的增量数据
abstract getArcDataBulk(
accountId: string,
dataId: string,
- pageId?: string, // 可选参数,适用于Facebook等平台
): Promise<ChannelArcDataBulk>;
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/dataCube.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/dataCube.controller.ts
index 585cf19d..ba3f1d53 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/dataCube.controller.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/dataCube.controller.ts
@@ -13,6 +13,7 @@ import { AccountService } from '../account/account.service';
import { BilibiliDataService } from './bilibiliData.service';
import { DataCubeBase } from './data.base';
import { AccountDto, ArcDto } from './dto/dataCube.dto';
+import { WxGzhDataService } from './wxGzhData.service';
import { YoutubeDataService } from './youtubeData.service';
@Controller()
@@ -23,9 +24,11 @@ export class DataCubeController {
readonly accountService: AccountService,
readonly bilibiliDataService: BilibiliDataService,
readonly youtubeDataService: YoutubeDataService,
+ readonly wxGzhDataService: WxGzhDataService,
) {
this.dataCubeMap.set(AccountType.BILIBILI, bilibiliDataService);
this.dataCubeMap.set(AccountType.YOUTUBE, youtubeDataService);
+ this.dataCubeMap.set(AccountType.WxGzh, wxGzhDataService);
}
private async getDataCube(accountId: string) {
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/dataCube.module.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/dataCube.module.ts
index c75e7bca..f80e3380 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/dataCube.module.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/dataCube.module.ts
@@ -1,18 +1,20 @@
import { Module } from '@nestjs/common';
import { BilibiliModule } from '../plat/bilibili/bilibili.module';
import { MetaModule } from '../plat/meta/meta.module';
+import { WxPlatModule } from '../plat/wxPlat/wxPlat.module';
import { YoutubeModule } from '../plat/youtube/youtube.module';
import { BilibiliDataService } from './bilibiliData.service';
import { DataCubeController } from './dataCube.controller';
import { FacebookDataService } from './facebookData.service';
import { InstagramDataService } from './instagram.service';
import { ThreadsDataService } from './threads.service';
+import { WxGzhDataService } from './wxGzhData.service';
import { YoutubeDataService } from './youtubeData.service'
@Module({
- imports: [BilibiliModule, MetaModule, YoutubeModule],
+ imports: [BilibiliModule, MetaModule, YoutubeModule, WxPlatModule],
controllers: [DataCubeController],
- providers: [BilibiliDataService, FacebookDataService, InstagramDataService, ThreadsDataService, YoutubeDataService],
- exports: [BilibiliDataService, FacebookDataService, InstagramDataService, ThreadsDataService, YoutubeDataService],
+ providers: [BilibiliDataService, FacebookDataService, InstagramDataService, ThreadsDataService, YoutubeDataService, WxGzhDataService],
+ exports: [BilibiliDataService, FacebookDataService, InstagramDataService, ThreadsDataService, YoutubeDataService, WxGzhDataService],
})
export class DataCubeModule {}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/facebookData.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/facebookData.service.ts
index ed850c42..57ba17a8 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/facebookData.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/facebookData.service.ts
@@ -1,13 +1,25 @@
import { Injectable, Logger } from '@nestjs/common';
+import { OnEvent } from '@nestjs/event-emitter';
+import { AccountNatsApi } from '@/transports/account/account.natsApi';
+import { AccountType } from '@/transports/account/common';
import { FacebookService } from '../plat/meta/facebook.service';
import { DataCubeBase } from './data.base';
@Injectable()
export class FacebookDataService extends DataCubeBase {
- constructor(readonly facebookService: FacebookService) {
+ constructor(readonly facebookService: FacebookService, readonly accountNatsApi: AccountNatsApi) {
super();
}
+ @OnEvent(`account.create.${AccountType.FACEBOOK}`)
+ async accountPortraitReport(accountId: string) {
+ const res = await this.getAccountDataCube(accountId)
+ this.accountNatsApi.updateAccountStatistics(accountId, {
+ readCount: res.playNum,
+ fansCount: res.fensNum,
+ })
+ }
+
async getAccountDataCube(accountId: string) {
const res = await this.facebookService.getAccountInsights(accountId);
return {
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/instagram.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/instagram.service.ts
index d0de089f..561cb9f7 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/instagram.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/instagram.service.ts
@@ -1,14 +1,26 @@
import { Injectable, Logger } from '@nestjs/common';
+import { OnEvent } from '@nestjs/event-emitter';
import { InstagramInsightsRequest, InstagramMediaInsightsRequest } from '@/libs/instagram/instagram.interfaces';
+import { AccountNatsApi } from '@/transports/account/account.natsApi';
+import { AccountType } from '@/transports/account/common';
import { InstagramService } from '../plat/meta/instagram.service';
import { DataCubeBase } from './data.base';
@Injectable()
export class InstagramDataService extends DataCubeBase {
- constructor(readonly instagramService: InstagramService) {
+ constructor(readonly instagramService: InstagramService, readonly accountNatsApi: AccountNatsApi) {
super();
}
+ @OnEvent(`account.create.${AccountType.INSTAGRAM}`)
+ async accountPortraitReport(accountId: string) {
+ const res = await this.getAccountDataCube(accountId)
+ this.accountNatsApi.updateAccountStatistics(accountId, {
+ workCount: res.arcNum,
+ fansCount: res.fensNum,
+ })
+ }
+
async getAccountDataCube(accountId: string) {
const query = {
fields: 'media_count,followers_count,follows_count',
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/threads.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/threads.service.ts
index 21bea1c6..c4a35f09 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/threads.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/threads.service.ts
@@ -1,13 +1,28 @@
import { Injectable, Logger } from '@nestjs/common';
+import { OnEvent } from '@nestjs/event-emitter';
+import { AccountNatsApi } from '@/transports/account/account.natsApi';
+import { AccountType } from '@/transports/account/common';
import { ThreadsService } from '../plat/meta/threads.service';
import { DataCubeBase } from './data.base';
@Injectable()
export class ThreadsDataService extends DataCubeBase {
- constructor(readonly threadsService: ThreadsService) {
+ constructor(readonly threadsService: ThreadsService, readonly accountNatsApi: AccountNatsApi) {
super();
}
+ @OnEvent(`account.create.${AccountType.THREADS}`)
+ async accountPortraitReport(accountId: string) {
+ const res = await this.getAccountDataCube(accountId)
+ this.accountNatsApi.updateAccountStatistics(accountId, {
+ likeCount: res.likeNum,
+ commentCount: res.commentNum,
+ readCount: res.playNum,
+ collectCount: res.shareNum,
+ fansCount: res.fensNum,
+ })
+ }
+
async getAccountDataCube(accountId: string) {
const query = {
metric: 'likes,replies,followers_count,reposts,views,quotes',
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/wxGzhData.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/wxGzhData.service.ts
new file mode 100644
index 00000000..c7a56d15
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/wxGzhData.service.ts
@@ -0,0 +1,60 @@
+/*
+ * @Author: nevin
+ * @Date: 2025-02-15 20:59:55
+ * @LastEditTime: 2025-04-27 17:58:21
+ * @LastEditors: nevin
+ * @Description: 微信公众号-统计数据
+ */
+import { Injectable, Logger } from '@nestjs/common';
+import { OnEvent } from '@nestjs/event-emitter';
+import moment from 'moment';
+import { AccountNatsApi } from '@/transports/account/account.natsApi';
+import { AccountType } from '@/transports/account/common';
+import { WxGzhService } from '../plat/wxPlat/wxGzh.service';
+import { DataCubeBase } from './data.base';
+
+@Injectable()
+export class WxGzhDataService extends DataCubeBase {
+ constructor(readonly wxGzhService: WxGzhService, readonly accountNatsApi: AccountNatsApi) {
+ super();
+ }
+
+ @OnEvent(`account.create.${AccountType.WxGzh}`)
+ async accountPortraitReport(accountId: string) {
+ const res = await this.getAccountDataCube(accountId)
+ this.accountNatsApi.updateAccountStatistics(accountId, {
+ fansCount: res.fensNum,
+ })
+ }
+
+ async getAccountDataCube(accountId: string) {
+ const [startTime, endTime] = [moment().startOf('day').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD')]
+ const res = await this.wxGzhService.getusercumulate(accountId, startTime, endTime);
+ const lastData = res.list[0];
+
+ return {
+ fensNum: lastData.cumulate_user,
+ };
+ }
+
+ async getAccountDataBulk(accountId: string) {
+ Logger.log('getAccountDataBulk', accountId);
+ return {
+ list: [],
+ };
+ }
+
+ async getArcDataCube(accountId: string, dataId: string) {
+ return {
+ };
+ }
+
+ async getArcDataBulk(accountId: string, dataId: string) {
+ Logger.log('getArcDataBulk', accountId, dataId);
+ return {
+ recordId: '',
+ dataId: '',
+ list: [],
+ };
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/youtubeData.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/youtubeData.service.ts
index 9a634e5f..24cd39ea 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/dataCube/youtubeData.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/dataCube/youtubeData.service.ts
@@ -6,15 +6,28 @@
* @Description: YouTube-统计数据
*/
import { Injectable, Logger } from '@nestjs/common';
+import { OnEvent } from '@nestjs/event-emitter';
+import { AccountNatsApi } from '@/transports/account/account.natsApi';
+import { AccountType } from '@/transports/account/common';
import { YoutubeService } from '../plat/youtube/youtube.service';
import { DataCubeBase } from './data.base';
@Injectable()
export class YoutubeDataService extends DataCubeBase {
- constructor(readonly youtubeService: YoutubeService) {
+ constructor(readonly youtubeService: YoutubeService, readonly accountNatsApi: AccountNatsApi) {
super();
}
+ @OnEvent(`account.create.${AccountType.WxGzh}`)
+ async accountPortraitReport(accountId: string) {
+ const res = await this.getAccountDataCube(accountId)
+ this.accountNatsApi.updateAccountStatistics(accountId, {
+ fansCount: res.fensNum,
+ workCount: res.arcNum,
+ readCount: res.playNum,
+ })
+ }
+
// 账户数据
async getAccountDataCube(accountId: string) {
Logger.log('getAccountDataCube', accountId);
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/interact/dto/interactionRecord.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/interact/dto/interactionRecord.dto.ts
new file mode 100644
index 00000000..ee52e7be
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/core/interact/dto/interactionRecord.dto.ts
@@ -0,0 +1,36 @@
+import { createZodDto } from '@common/utils'
+import { z } from 'zod/v4'
+import { AccountType } from '@/transports/account/common';
+
+export const AddInteractionRecordSchema = z.object({
+ userId: z.string().min(1, { message: '用户ID不能为空' }),
+ accountId: z.string().min(1, { message: '账号ID不能为空' }),
+ type: z.enum(AccountType, { message: '账号类型不能为空' }),
+ worksId: z.string().min(1, { message: '作品ID不能为空' }),
+ worksTitle: z.string().optional(),
+ worksCover: z.string().optional(),
+ worksContent: z.string().optional(),
+ commentContent: z.string().optional(),
+ commentRemark: z.string().optional(),
+ commentTime: z.date().optional(),
+ likeTime: z.date().optional(),
+ collectTime: z.date().optional(),
+});
+export class AddInteractionRecordDto extends createZodDto(AddInteractionRecordSchema) {}
+
+export const InteractionRecordFiltersSchema = z.object({
+ userId: z.string().min(1, { message: '用户ID不能为空' }),
+ accountId: z.string().optional(),
+ type: z.enum(AccountType).optional(),
+ worksId: z.string().optional(),
+ time: z.tuple([z.date(), z.date()]).optional(),
+});
+
+export const InteractionRecordListSchema = z.object({
+ filters: InteractionRecordFiltersSchema,
+ page: z.object({
+ pageNo: z.number().min(1, { message: '页码不能小于1' }),
+ pageSize: z.number().min(1, { message: '页大小不能小于1' }),
+ }),
+});
+export class InteractionRecordListDto extends createZodDto(InteractionRecordListSchema) {}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/interact/dto/replyCommentRecord.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/interact/dto/replyCommentRecord.dto.ts
new file mode 100644
index 00000000..833eaa96
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/core/interact/dto/replyCommentRecord.dto.ts
@@ -0,0 +1,30 @@
+import { createZodDto } from '@common/utils'
+import { z } from 'zod/v4'
+import { AccountType } from '@/transports/account/common';
+
+export const AddReplyCommentRecordSchema = z.object({
+ userId: z.string().min(1, { message: '用户ID不能为空' }),
+ accountId: z.string().min(1, { message: '账号ID不能为空' }),
+ type: z.enum(AccountType, { message: '账号类型不能为空' }),
+ commentId: z.string().min(1, { message: '评论ID不能为空' }),
+ commentContent: z.string().min(1, { message: '评论内容不能为空' }),
+ replyContent: z.string().min(1, { message: '回复内容不能为空' }),
+});
+export class AddReplyCommentRecordDto extends createZodDto(AddReplyCommentRecordSchema) {}
+
+export const ReplyCommentRecordFiltersSchema = z.object({
+ userId: z.string().min(1, { message: '用户ID不能为空' }),
+ accountId: z.string().optional(),
+ type: z.enum(AccountType).optional(),
+ commentId: z.string().optional(),
+ time: z.tuple([z.date(), z.date()]).optional(),
+});
+
+export const ReplyCommentRecordListSchema = z.object({
+ filters: ReplyCommentRecordFiltersSchema,
+ page: z.object({
+ pageNo: z.number().min(1, { message: '页码不能小于1' }),
+ pageSize: z.number().min(1, { message: '页大小不能小于1' }),
+ }),
+});
+export class ReplyCommentRecordListDto extends createZodDto(ReplyCommentRecordListSchema) {}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/interact/interact.module.ts b/aitoearn_web/server/aitoearn-channel/src/core/interact/interact.module.ts
index 15b3eeae..6b752a4e 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/interact/interact.module.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/interact/interact.module.ts
@@ -1,13 +1,27 @@
import { Module } from '@nestjs/common';
+import { MongooseModule } from '@nestjs/mongoose';
+import { InteractionRecord, InteractionRecordSchema } from '@/libs/database/schema/interactionRecord.schema';
+import { ReplyCommentRecord, ReplyCommentRecordSchema } from '@/libs/database/schema/replyCommentRecord.schema';
import { WxPlatModule } from '../plat/wxPlat/wxPlat.module';
import { PublishModule } from '../publish/publish.module';
import { InteracteController } from './interact.controller';
+import { InteractionRecordController } from './interactionRecord.controller';
+import { InteractionRecordService } from './interactionRecord.service';
+import { ReplyCommentRecordController } from './replyCommentRecord.controller';
+import { ReplyCommentRecordService } from './replyCommentRecord.service';
import { WxGzhInteractService } from './wxGzhInteract.service';
@Module({
- imports: [WxPlatModule, PublishModule],
- controllers: [InteracteController],
- providers: [WxGzhInteractService],
+ imports: [
+ MongooseModule.forFeature([
+ { name: InteractionRecord.name, schema: InteractionRecordSchema },
+ { name: ReplyCommentRecord.name, schema: ReplyCommentRecordSchema },
+ ]),
+ WxPlatModule,
+ PublishModule,
+ ],
+ controllers: [InteracteController, InteractionRecordController, ReplyCommentRecordController],
+ providers: [WxGzhInteractService, InteractionRecordService, ReplyCommentRecordService],
exports: [WxGzhInteractService],
})
export class InteracteModule {}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/interact/interactionRecord.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/interact/interactionRecord.controller.ts
new file mode 100644
index 00000000..cbd025b5
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/core/interact/interactionRecord.controller.ts
@@ -0,0 +1,36 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-06-17 19:19:20
+ * @LastEditTime: 2024-12-23 12:45:22
+ * @LastEditors: nevin
+ * @Description: 渠道互动记录
+ */
+import { Controller } from '@nestjs/common';
+import { Payload } from '@nestjs/microservices';
+import { NatsMessagePattern } from '@/common';
+import { AddInteractionRecordDto, InteractionRecordListDto } from './dto/interactionRecord.dto';
+import { InteractionRecordService } from './interactionRecord.service';
+
+@Controller()
+export class InteractionRecordController {
+ constructor(
+ readonly interactionRecordService: InteractionRecordService,
+ ) {
+ }
+
+ @NatsMessagePattern('channel.interactionRecord.add')
+ async add(@Payload() data: AddInteractionRecordDto) {
+ return await this.interactionRecordService.create(data);
+ }
+
+ @NatsMessagePattern('channel.interactionRecord.del')
+ async del(@Payload() data: { id: string }) {
+ return await this.interactionRecordService.delete(data.id);
+ }
+
+ @NatsMessagePattern('channel.interactionRecord.list')
+ async list(@Payload() data: InteractionRecordListDto) {
+ const res = await this.interactionRecordService.getList(data.filters, data.page);
+ return res;
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/interact/interactionRecord.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/interact/interactionRecord.service.ts
new file mode 100644
index 00000000..c4129038
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/core/interact/interactionRecord.service.ts
@@ -0,0 +1,59 @@
+import { Injectable } from '@nestjs/common';
+import { InjectModel } from '@nestjs/mongoose';
+import { Model, RootFilterQuery } from 'mongoose';
+import { TableDto } from '@/common/global/dto/table.dto';
+import { InteractionRecord } from '@/libs/database/schema/interactionRecord.schema';
+import { AddInteractionRecordDto } from './dto/interactionRecord.dto';
+
+@Injectable()
+export class InteractionRecordService {
+ constructor(
+ @InjectModel(InteractionRecord.name)
+ private readonly interactionRecordModel: Model<InteractionRecord>,
+ ) {}
+
+ async create(data: AddInteractionRecordDto): Promise<InteractionRecord> {
+ const createdRecord = new this.interactionRecordModel(data);
+ return createdRecord.save();
+ }
+
+ async getList(
+ filters: {
+ userId: string;
+ accountId?: string;
+ type?: string;
+ worksId?: string;
+ time?: [Date, Date];
+ },
+ page: TableDto,
+ ): Promise<{
+ total: number;
+ list: InteractionRecord[];
+ }> {
+ const filter: RootFilterQuery<InteractionRecord> = {
+ userId: filters.userId,
+ ...(filters.time && filters.time.length === 2 && {
+ createdAt: { $gte: filters.time[0], $lte: filters.time[1] },
+ }),
+ ...(filters.accountId && { accountId: filters.accountId }),
+ ...(filters.type && { type: filters.type }),
+ ...(filters.worksId && { worksId: filters.worksId }),
+ }
+ const list = await this.interactionRecordModel
+ .find(filter)
+ .skip(((page.pageNo || 1) - 1) * page.pageSize)
+ .limit(page.pageSize)
+ .exec();
+
+ return {
+ total: await this.interactionRecordModel.countDocuments(filter),
+ list,
+ };
+ }
+
+ // 删除
+ async delete(id: string): Promise<{ deleted: boolean }> {
+ const result = await this.interactionRecordModel.deleteOne({ _id: id }).exec();
+ return { deleted: result.deletedCount > 0 };
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/interact/replyCommentRecord.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/interact/replyCommentRecord.controller.ts
new file mode 100644
index 00000000..84cb3092
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/core/interact/replyCommentRecord.controller.ts
@@ -0,0 +1,36 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-06-17 19:19:20
+ * @LastEditTime: 2024-12-23 12:45:22
+ * @LastEditors: nevin
+ * @Description: 评论回复记录 replyCommentRecord ReplyCommentRecord
+ */
+import { Controller } from '@nestjs/common';
+import { Payload } from '@nestjs/microservices';
+import { NatsMessagePattern } from '@/common';
+import { AddReplyCommentRecordDto, ReplyCommentRecordListDto } from './dto/replyCommentRecord.dto';
+import { ReplyCommentRecordService } from './replyCommentRecord.service';
+
+@Controller()
+export class ReplyCommentRecordController {
+ constructor(
+ readonly replyCommentRecordService: ReplyCommentRecordService,
+ ) {
+ }
+
+ @NatsMessagePattern('channel.replyCommentRecord.add')
+ async add(@Payload() data: AddReplyCommentRecordDto) {
+ return await this.replyCommentRecordService.create(data);
+ }
+
+ @NatsMessagePattern('channel.replyCommentRecord.del')
+ async del(@Payload() data: { id: string }) {
+ return await this.replyCommentRecordService.delete(data.id);
+ }
+
+ @NatsMessagePattern('channel.replyCommentRecord.list')
+ async list(@Payload() data: ReplyCommentRecordListDto) {
+ const res = await this.replyCommentRecordService.getList(data.filters, data.page);
+ return res;
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/interact/replyCommentRecord.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/interact/replyCommentRecord.service.ts
new file mode 100644
index 00000000..e160f450
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/core/interact/replyCommentRecord.service.ts
@@ -0,0 +1,59 @@
+import { Injectable } from '@nestjs/common';
+import { InjectModel } from '@nestjs/mongoose';
+import { Model, RootFilterQuery } from 'mongoose';
+import { TableDto } from '@/common/global/dto/table.dto';
+import { ReplyCommentRecord } from '@/libs/database/schema/replyCommentRecord.schema';
+import { AddReplyCommentRecordDto } from './dto/replyCommentRecord.dto';
+
+@Injectable()
+export class ReplyCommentRecordService {
+ constructor(
+ @InjectModel(ReplyCommentRecord.name)
+ private readonly replyCommentRecordModel: Model<ReplyCommentRecord>,
+ ) {}
+
+ async create(data: AddReplyCommentRecordDto): Promise<ReplyCommentRecord> {
+ const createdRecord = new this.replyCommentRecordModel(data);
+ return createdRecord.save();
+ }
+
+ async getList(
+ filters: {
+ userId: string;
+ accountId?: string;
+ type?: string;
+ worksId?: string;
+ time?: [Date, Date];
+ },
+ page: TableDto,
+ ): Promise<{
+ total: number;
+ list: ReplyCommentRecord[];
+ }> {
+ const filter: RootFilterQuery<ReplyCommentRecord> = {
+ userId: filters.userId,
+ ...(filters.time && filters.time.length === 2 && {
+ createdAt: { $gte: filters.time[0], $lte: filters.time[1] },
+ }),
+ ...(filters.accountId && { accountId: filters.accountId }),
+ ...(filters.type && { type: filters.type }),
+ ...(filters.worksId && { worksId: filters.worksId }),
+ }
+ const list = await this.replyCommentRecordModel
+ .find(filter)
+ .skip(((page.pageNo || 1) - 1) * page.pageSize)
+ .limit(page.pageSize)
+ .exec();
+
+ return {
+ total: await this.replyCommentRecordModel.countDocuments(filter),
+ list,
+ };
+ }
+
+ // 删除
+ async delete(id: string): Promise<boolean> {
+ const result = await this.replyCommentRecordModel.deleteOne({ _id: id }).exec();
+ return result.deletedCount > 0
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/interact/wxGzhInteract.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/interact/wxGzhInteract.service.ts
index fd43aa62..c02060dd 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/interact/wxGzhInteract.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/interact/wxGzhInteract.service.ts
@@ -17,6 +17,13 @@ export class WxGzhInteractService extends InteracteBase {
super();
}
+ /**
+ * 创建文章评论
+ * @param account
+ * @param dataId
+ * @param content
+ * @returns
+ */
async addArcComment(account: Account, dataId: string, content: string) {
Logger.log('addArcComment', account.id, dataId, content);
return true;
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/bilibili/bilibili.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/bilibili/bilibili.service.ts
index f8d0296b..ca78e108 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/bilibili/bilibili.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/bilibili/bilibili.service.ts
@@ -23,7 +23,8 @@ export class BilibiliService {
private readonly bilibiliApiService: BilibiliApiService,
private readonly accountService: AccountService,
private readonly fileService: FileService,
- ) {}
+ ) {
+ }
async getBilibiliConfig() {
return config.bilibili;
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/kwai/kwai.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/kwai/kwai.service.ts
index da4acefd..3876d081 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/kwai/kwai.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/kwai/kwai.service.ts
@@ -7,7 +7,7 @@ import { AccountService } from '@/core/account/account.service'
import { RedisService } from '@/libs'
import { KwaiAccessTokenResponse, KwaiVideoPubParams } from '@/libs/kwai/kwaiApi.interfaces'
import { KwaiApiService } from '@/libs/kwai/kwaiApi.service'
-import { AccountType, NewAccount } from '@/transports/account/common'
+import { AccountStatus, AccountType, NewAccount } from '@/transports/account/common'
@Injectable()
export class KwaiService {
@@ -15,7 +15,7 @@ export class KwaiService {
private readonly kwaiApiService: KwaiApiService,
private readonly redisService: RedisService,
private readonly accountService: AccountService,
- ) {}
+ ) { }
// 根据accountID获取 AccessToken
async getAccountTokenInfo(accountId: string) {
@@ -124,25 +124,31 @@ export class KwaiService {
cacheKey,
)
if (!taskInfo || taskInfo.status !== 0 || !taskInfo.data)
- return null
+ return { status: 0, message: '任务不存在或已完成' }
// 延长授权时间
void this.redisService.setPexire(cacheKey, 60 * 3)
- const account = await this.addKwaiAccount(code, taskInfo.data.userId)
- if (account) {
- // 更新任务信息
- taskInfo.status = 1
- taskInfo.data['accountId'] = account.id
- await this.redisService.setKey<AuthTaskInfo<BilibiliAuthInfo>>(
- cacheKey,
- taskInfo,
- 60 * 3,
- )
- return account
+ try {
+ const account = await this.addKwaiAccount(code, taskInfo.data.userId)
+ if (account) {
+ // 更新任务信息
+ taskInfo.status = 1
+ taskInfo.data['accountId'] = account.id
+ await this.redisService.setKey<AuthTaskInfo<BilibiliAuthInfo>>(
+ cacheKey,
+ taskInfo,
+ 60 * 3,
+ )
+ return { status: 1, message: '添加账号成功', accountId: account.id }
+ }
+ else {
+ return { status: 0, message: '添加账号失败' }
+ }
}
- else {
- return null
+ catch (error) {
+ Logger.error('createAccountAndSetAccessToken error:', error)
+ return { status: 0, message: `添加账号失败: ${error.message}` }
}
}
@@ -178,6 +184,7 @@ export class KwaiService {
account: accountTokenInfo.open_id,
avatar: kwaiUserInfo.bigHead,
nickname: kwaiUserInfo.name,
+ status: AccountStatus.NORMAL,
})
const accountInfo = await this.accountService.createAccount(
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/dto/meta.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/dto/meta.dto.ts
index e895c921..586c29f6 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/dto/meta.dto.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/dto/meta.dto.ts
@@ -25,6 +25,8 @@ export class GetAuthUrlDto extends UserIdDto {
@Expose()
readonly scopes?: string[]
+ @IsString()
+ @Expose()
readonly platform: string // Optional, can be 'facebook', 'instagram', or 'thread'
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/facebook.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/facebook.service.ts
index 5beb04d0..115fc795 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/facebook.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/facebook.service.ts
@@ -21,6 +21,8 @@ import {
FacebookReelUploadResponse,
finalizeVideoUploadRequest,
finalizeVideoUploadResponse,
+ PublishFeedPostRequest,
+ publishFeedPostResponse,
PublishMediaPostResponse,
PublishVideoPostRequest,
publishVideoPostResponse,
@@ -216,6 +218,18 @@ export class FacebookService {
return this.facebookAPIService.finalizeVideoUpload(credential.id, credential.access_token, req)
}
+ async publishFeedPost(
+ accountId: string,
+ req: PublishFeedPostRequest,
+ ): Promise<publishFeedPostResponse | null> {
+ const credential = await this.authorizePage(accountId)
+ if (!credential) {
+ this.logger.error(`No valid access token found for accountId: ${accountId}`)
+ return null
+ }
+ return await this.facebookAPIService.publishFeedPost(credential.id, credential.access_token, req)
+ }
+
async publishVideoPost(
accountId: string,
req: PublishVideoPostRequest,
@@ -230,7 +244,7 @@ export class FacebookService {
async uploadImage(
accountId: string,
- file: Buffer,
+ file: Blob,
): Promise<UploadPhotoResponse | null> {
const credential = await this.authorizePage(accountId)
if (!credential) {
@@ -243,13 +257,14 @@ export class FacebookService {
async publicPhotoPost(
accountId: string,
imageUrlList: string[],
+ caption?: string,
): Promise<PublishMediaPostResponse | null> {
const credential = await this.authorizePage(accountId)
if (!credential) {
this.logger.error(`No valid access token found for accountId: ${accountId}`)
return null
}
- return await this.facebookAPIService.publishMultiplePhotoPost(credential.id, credential.access_token, imageUrlList)
+ return await this.facebookAPIService.publishMultiplePhotoPost(credential.id, credential.access_token, imageUrlList, caption)
}
async getObjectInfo(accountId, objectId: string, fields?: string): Promise<FacebookObjectInfo | null> {
@@ -393,7 +408,7 @@ export class FacebookService {
return await this.facebookAPIService.publishReelPost(credential.id, credential.access_token, req)
}
- async initStoryUpload(
+ async initVideoStoryUpload(
accountId: string,
req: FacebookReelRequest,
): Promise<FacebookReelResponse | null> {
@@ -402,10 +417,10 @@ export class FacebookService {
this.logger.error(`No valid access token found for accountId: ${accountId}`)
return null
}
- return await this.facebookAPIService.initStoryUpload(credential.id, credential.access_token, req)
+ return await this.facebookAPIService.initVideoStoryUpload(credential.id, credential.access_token, req)
}
- async uploadStory(
+ async uploadVideoStory(
accountId: string,
uploadURL: string,
req: FacebookReelUploadRequest,
@@ -415,10 +430,10 @@ export class FacebookService {
this.logger.error(`No valid access token found for accountId: ${accountId}`)
return null
}
- return await this.facebookAPIService.uploadStory(credential.access_token, uploadURL, req)
+ return await this.facebookAPIService.uploadVideoStory(credential.access_token, uploadURL, req)
}
- async publishStory(
+ async publishVideoStory(
accountId: string,
req: FacebookReelRequest,
): Promise<FacebookReelResponse | null> {
@@ -427,6 +442,18 @@ export class FacebookService {
this.logger.error(`No valid access token found for accountId: ${accountId}`)
return null
}
- return await this.facebookAPIService.publishStoryPost(credential.id, credential.access_token, req)
+ return await this.facebookAPIService.publishVideoStoryPost(credential.id, credential.access_token, req)
+ }
+
+ async publishPhotoStory(
+ accountId: string,
+ photoId: string,
+ ): Promise<FacebookReelResponse | null> {
+ const credential = await this.authorizePage(accountId)
+ if (!credential) {
+ this.logger.error(`No valid access token found for accountId: ${accountId}`)
+ return null
+ }
+ return await this.facebookAPIService.publishPhotoStoryPost(credential.id, credential.access_token, photoId)
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/meta.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/meta.controller.ts
index bfd58543..a0ea2195 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/meta.controller.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/meta.controller.ts
@@ -104,6 +104,16 @@ export class MetaController {
)
}
+ @NatsMessagePattern('plat.meta.facebook.post.insights')
+ async getFacebookPostInsights(
+ @Payload() data: { userId: string; postId: string; },
+ ) {
+ return await this.facebookService.getPostInsights(
+ data.userId,
+ data.postId,
+ )
+ }
+
@NatsMessagePattern('plat.meta.facebook.page.published_posts')
async getFacebookPagePosts(
@Payload() data: { userId: string; pageId: string; query: FacebookPublishedPostRequest },
@@ -114,6 +124,16 @@ export class MetaController {
)
}
+ @NatsMessagePattern('plat.meta.instagram.account.info')
+ async getInstagramAccountInfo(
+ @Payload() data: { accountId: string; query?: any },
+ ) {
+ return await this.instagramService.getAccountInfo(
+ data.accountId,
+ data.query,
+ )
+ }
+
@NatsMessagePattern('plat.meta.instagram.account.insights')
async getInstagramAccountInsights(
@Payload() data: { accountId: string; query: InstagramInsightsRequest },
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/meta.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/meta.service.ts
index 44a926ab..f11a0981 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/meta.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/meta/meta.service.ts
@@ -41,6 +41,7 @@ export class MetaService {
platform: string,
oAuth2Scopes?: string[],
) {
+ this.logger.log(`Generating authorize URL for userId: ${userId}, platform: ${platform}, configMap: ${JSON.stringify(metaOAuth2ConfigMap)}`)
const scopes
= oAuth2Scopes
|| metaOAuth2ConfigMap[platform].defaultScopes
@@ -327,7 +328,10 @@ export class MetaService {
)
if (!authTaskInfo) {
this.logger.error(`OAuth task not found for state: ${state}`)
- return null
+ return {
+ status: 0,
+ message: '授权任务不存在或已过期',
+ }
}
void this.redisService.setPexire(
@@ -335,65 +339,125 @@ export class MetaService {
META_TIME_CONSTANTS.AUTH_TASK_EXTEND,
)
+ try {
// get access token
- const credential = await this.getOAuthCredential(code, authTaskInfo)
- if (!credential) {
- this.logger.error(`Failed to get access token for state: ${state}`)
- return null
- }
-
- // fetch user profile
- const userProfile = await this.getUserProfile(
- credential.access_token,
- authTaskInfo.platform,
- )
+ const credential = await this.getOAuthCredential(code, authTaskInfo)
+ if (!credential) {
+ this.logger.error(`Failed to get access token for state: ${state}`)
+ return {
+ status: 0,
+ message: '获取访问令牌失败',
+ }
+ }
+ this.logger.log(`Access token retrieved for userId: ${authTaskInfo.userId}, platform: ${authTaskInfo.platform}, credential: ${JSON.stringify(credential)}`)
- //
- if (metaOAuth2ConfigMap[authTaskInfo.platform].pageAccountURL) {
- this.logger.log(
- `Fetching Facebook pages for userId: ${authTaskInfo.userId}, platform: ${authTaskInfo.platform}`,
- )
- const fbAccountInfo = await this.getFacebookAccount(
+ // fetch user profile
+ const userProfile = await this.getUserProfile(
credential.access_token,
- metaOAuth2ConfigMap[authTaskInfo.platform].pageAccountURL,
- )
- this.logger.log(
- `Fetched ${fbAccountInfo.length} pages for userId: ${authTaskInfo.userId}, platform: ${authTaskInfo.platform}`,
+ authTaskInfo.platform,
)
- if (fbAccountInfo.length > 0) {
- const pages: FacebookPage[] = []
- for (const fbAccount of fbAccountInfo) {
- const pageDetail = await this.getPageDetails(fbAccount.id, fbAccount.access_token, {
- fields: 'picture',
- })
+
+ //
+ if (metaOAuth2ConfigMap[authTaskInfo.platform].pageAccountURL) {
+ this.logger.log(
+ `Fetching Facebook pages for userId: ${authTaskInfo.userId}, platform: ${authTaskInfo.platform}`,
+ )
+ const fbAccountInfo = await this.getFacebookAccount(
+ credential.access_token,
+ metaOAuth2ConfigMap[authTaskInfo.platform].pageAccountURL,
+ )
+ this.logger.log(
+ `Fetched ${fbAccountInfo.length} pages for userId: ${authTaskInfo.userId}, platform: ${authTaskInfo.platform}`,
+ )
+ if (fbAccountInfo.length > 0) {
+ const pages: FacebookPage[] = []
+ for (const fbAccount of fbAccountInfo) {
+ const pageDetail = await this.getPageDetails(fbAccount.id, fbAccount.access_token, {
+ fields: 'picture',
+ })
+ await this.redisService.setKey(
+ MetaRedisKeys.getUserPageAccessTokenKey(
+ authTaskInfo.platform,
+ fbAccount.id,
+ ),
+ { ...fbAccount, facebook_user_id: userProfile.id, expires_in: credential.expires_in } as FacebookPageCredentials,
+ )
+ pages.push({
+ id: fbAccount.id,
+ name: fbAccount.name,
+ profile_picture_url: pageDetail?.picture?.data?.url,
+ })
+ }
await this.redisService.setKey(
- MetaRedisKeys.getUserPageAccessTokenKey(
+ MetaRedisKeys.getUserPageListKey(
authTaskInfo.platform,
- fbAccount.id,
+ authTaskInfo.userId,
),
- { ...fbAccount, facebook_user_id: userProfile.id, expires_in: credential.expires_in } as FacebookPageCredentials,
+ pages,
+ )
+ }
+ const userCredential = {
+ ...credential,
+ user_id: userProfile.id,
+ } as MetaUserOAuthCredential
+
+ const tokenSaved = await this.saveOAuthCredential(
+ authTaskInfo.userId,
+ userCredential,
+ authTaskInfo.platform,
+ )
+
+ if (!tokenSaved) {
+ this.logger.error(
+ `Failed to save access token for accountId: ${'accountInfo.id'}`,
)
- pages.push({
- id: fbAccount.id,
- name: fbAccount.name,
- profile_picture_url: pageDetail?.picture?.data?.url,
- })
+ return {
+ status: 0,
+ message: '保存访问令牌失败',
+ }
}
- await this.redisService.setKey(
- MetaRedisKeys.getUserPageListKey(
- authTaskInfo.platform,
- authTaskInfo.userId,
- ),
- pages,
+ const taskUpdated = await this.updateAuthTaskStatus(
+ state,
+ authTaskInfo,
+ authTaskInfo.userId,
+ )
+
+ if (!taskUpdated) {
+ this.logger.error(
+ `Failed to update auth task status for state: ${state}, accountId: ${authTaskInfo.userId}`,
+ )
+ return {
+ status: 0,
+ message: '更新授权任务状态失败',
+ }
+ }
+ return {
+ status: 1,
+ message: '授权成功',
+ accountId: authTaskInfo.userId,
+ };
+ }
+
+ const accountType = authTaskInfo.platform.toLowerCase() as AccountType
+ const accountInfo = await this.createAccount(
+ authTaskInfo.userId,
+ accountType,
+ userProfile,
+ )
+ if (!accountInfo) {
+ this.logger.error(
+ `Failed to create account for userId: ${authTaskInfo.userId}, twitterId: ${userProfile.id}`,
)
+ return null
}
+
const userCredential = {
...credential,
user_id: userProfile.id,
} as MetaUserOAuthCredential
const tokenSaved = await this.saveOAuthCredential(
- authTaskInfo.userId,
+ accountInfo.id,
userCredential,
authTaskInfo.platform,
)
@@ -407,64 +471,31 @@ export class MetaService {
const taskUpdated = await this.updateAuthTaskStatus(
state,
authTaskInfo,
- authTaskInfo.userId,
+ accountInfo.id,
)
if (!taskUpdated) {
this.logger.error(
- `Failed to update auth task status for state: ${state}, accountId: ${authTaskInfo.userId}`,
+ `Failed to update auth task status for state: ${state}, accountId: ${accountInfo.id}`,
)
return null
}
- return null;
- }
-
- const accountType = authTaskInfo.platform.toLowerCase() as AccountType
- const accountInfo = await this.createAccount(
- authTaskInfo.userId,
- accountType,
- userProfile,
- )
- if (!accountInfo) {
- this.logger.error(
- `Failed to create account for userId: ${authTaskInfo.userId}, twitterId: ${userProfile.id}`,
- )
- return null
+ return accountInfo
}
-
- const userCredential = {
- ...credential,
- user_id: userProfile.id,
- } as MetaUserOAuthCredential
-
- const tokenSaved = await this.saveOAuthCredential(
- accountInfo.id,
- userCredential,
- authTaskInfo.platform,
- )
-
- if (!tokenSaved) {
- this.logger.error(
- `Failed to save access token for accountId: ${'accountInfo.id'}`,
- )
- return null
- }
- const taskUpdated = await this.updateAuthTaskStatus(
- state,
- authTaskInfo,
- accountInfo.id,
- )
-
- if (!taskUpdated) {
+ catch (error) {
+ if (error.response) {
+ this.logger.error(`Error in OAuth2 callback: ${error.response.status} - ${JSON.stringify(error.response.data)}`)
+ }
this.logger.error(
- `Failed to update auth task status for state: ${state}, accountId: ${accountInfo.id}`,
+ `Error processing OAuth2 callback for state: ${state}, code: ${code}, error: ${error.message}`,
+ error.stack,
)
return null
}
- return accountInfo
}
private async createAccount(userId: string, accountType: AccountType, userProfile: Record<string, any>): Promise<Account | null> {
+ this.logger.log(`Creating account for userId: ${userId}, platform: ${accountType}, userProfile: ${JSON.stringify(userProfile)}`)
const newAccountData = new NewAccount({
userId,
type: accountType,
@@ -473,7 +504,8 @@ export class MetaService {
avatar:
userProfile.profile_picture_url
|| userProfile.threads_profile_picture_url
- || userProfile.picture?.data?.url,
+ || userProfile.picture?.data?.url
+ || '',
nickname: userProfile.username || userProfile.name,
lastStatsTime: new Date(),
loginTime: new Date(),
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/dto/pinterest.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/dto/pinterest.dto.ts
index 1831fd62..c8940860 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/dto/pinterest.dto.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/dto/pinterest.dto.ts
@@ -12,7 +12,7 @@ import {
* @LastEditors: white
* @Description: 用户
*/
-import { Country, Currency, SourceType } from '@/libs/pinterest/comment'
+import { Country, Currency, SourceType } from '@/libs/pinterest/common'
export class CreateAccountBodyDto {
@IsString({ message: '国家' })
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/pinterest.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/pinterest.controller.ts
index 48793d5f..a7c51851 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/pinterest.controller.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/pinterest.controller.ts
@@ -1,4 +1,4 @@
-import { Controller } from '@nestjs/common'
+import { Controller, Post } from '@nestjs/common'
import { Payload } from '@nestjs/microservices'
import { NatsMessagePattern } from '@/common'
import { CreateBoardBodyDto, CreatePinBodyDto, WebhookDto } from './dto/pinterest.dto';
@@ -12,12 +12,13 @@ export class PinterestController {
}
// 创建board
+ @Post('/board')
@NatsMessagePattern('plat.pinterest.createBoard')
createBoard(@Payload() data: CreateBoardBodyDto) {
return this.pinterestService.createBoard(data)
}
- // 创建board
+ // board list
@NatsMessagePattern('plat.pinterest.getBoardList')
getBoardList(@Payload() data: { accountId: string }) {
return this.pinterestService.getBoardList(data.accountId)
@@ -36,6 +37,7 @@ export class PinterestController {
}
// 创建pin
+ @Post('/pin')
@NatsMessagePattern('plat.pinterest.createPin')
createPin(@Payload() data: CreatePinBodyDto) {
return this.pinterestService.createPin(data)
@@ -48,6 +50,7 @@ export class PinterestController {
}
// 获取pin
+ @Post('')
@NatsMessagePattern('plat.pinterest.getPinList')
getPinList(@Payload() data: { accountId: string }) {
return this.pinterestService.getPinList(data.accountId)
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/pinterest.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/pinterest.service.ts
index e7cf0892..5cf4aac5 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/pinterest.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/pinterest/pinterest.service.ts
@@ -12,7 +12,7 @@ import {
CreateBoardBody,
CreatePinBody,
ILoginStatus,
-} from '@/libs/pinterest/comment';
+} from '@/libs/pinterest/common';
import { PinterestApiService } from '@/libs/pinterest/pinterestApi.service';
@Injectable()
@@ -131,7 +131,7 @@ export class PinterestService {
async getAuth(userId: string) {
const taskId = uuidv4().replace(/-/g, '')
const redisKeyByTaskId = this.getAuthDataCacheKey(taskId)
- const scope = 'scope=boards:read,boards:write,pins:write,pins:read,catalogs:read,catalogs:write,pins:write_secret,pins:read_secret'
+ const scope = 'scope=boards:read,boards:write,pins:write,pins:read,catalogs:read,catalogs:write,pins:write_secret,pins:read_secret,user_accounts:read'
const path = `response_type=code&redirect_uri=${this.authBackHost}&client_id=${this.pinterest_client_id}&${scope}&state=${taskId}`;
const uri = `https://www.pinterest.com/oauth/?${path}`;
const tokenInfo = { taskId, userId, status: ILoginStatus.wait }
@@ -145,42 +145,64 @@ export class PinterestService {
async authWebhook(data: WebhookDto) {
const { code, state } = data
- const result = await this.pinterestApiService.authWebhook(code)
- const { access_token, expires_in } = result
- // 获取到token后第一时间创建account信息
- const redisKeyByTaskId = this.getAuthDataCacheKey(state)
- const redisCache: any = await this.redisService.get<AuthInfo>(redisKeyByTaskId)
- const { userId } = redisCache
- Logger.log('redisCache-userId')
- // 创建本平台的平台账号
- const newData = new NewAccount({
- userId,
- type: AccountType.PINTEREST,
- uid: code,
- avatar: code,
- nickname: code,
- })
- const accountInfo = await this.accountService.createAccount(
- {
+ try {
+ const result = await this.pinterestApiService.authWebhook(code)
+ const { access_token, expires_in } = result
+ const userInfo = await this.pinterestApiService.getAccountInfo(access_token)
+ // 获取到token后第一时间创建account信息
+ const redisKeyByTaskId = this.getAuthDataCacheKey(state)
+ const redisCache: any = await this.redisService.get<AuthInfo>(redisKeyByTaskId)
+ const { userId } = redisCache
+ // 创建本平台的平台账号
+ // Todo: need confirm the reason for using userId.slice(0, -2)
+ const uid = userInfo.id.slice(0, -2);
+ Logger.log('redisCache-userId', userId, uid)
+ const newData = new NewAccount({
userId,
type: AccountType.PINTEREST,
- uid: code,
- },
- newData,
- )
- if (!accountInfo)
- return null
- const expires = expires_in + 60 * 10
- const tokenInfo = { taskId: state, access_token, code, accountId: accountInfo.id, expires_in, status: ILoginStatus.success }
- await this.redisService.setKey(
- this.getAccessTokenKey(accountInfo.id),
- tokenInfo,
- expires,
- )
- // 更新任务信息
- const authDataCache = { taskId: state, status: ILoginStatus.success }
- await this.redisService.setKey(redisKeyByTaskId, authDataCache, 5 * 60)
- return { code: 200 }
+ uid,
+ avatar: userInfo.profile_image,
+ nickname: userInfo.username,
+ account: uid,
+ })
+ Logger.log('NewAccount-data', JSON.stringify(newData))
+ const accountInfo = await this.accountService.createAccount(
+ {
+ userId,
+ type: AccountType.PINTEREST,
+ uid: code,
+ },
+ newData,
+ )
+ if (!accountInfo) {
+ return {
+ status: 0,
+ message: '添加账号失败',
+ }
+ }
+ const expires = expires_in + 60 * 10
+ const tokenInfo = { userInfo, result, taskId: state, access_token, code, accountId: accountInfo.id, expires_in, status: ILoginStatus.success }
+ await this.redisService.setKey(
+ this.getAccessTokenKey(accountInfo.id),
+ tokenInfo,
+ expires,
+ )
+ // 更新任务信息
+ const authDataCache = { taskId: state, status: ILoginStatus.success }
+ await this.redisService.setKey(redisKeyByTaskId, authDataCache, 5 * 60)
+ return {
+ status: 1,
+ message: '授权成功',
+ accountId: accountInfo.id,
+ }
+ }
+ catch (error) {
+ Logger.error('----- pinterest Error authWebhook: ----', error.message);
+ return {
+ status: 0,
+ message: `获取授权失败: ${error.message}`,
+ }
+ }
}
private getAuthDataCacheKey(taskId: string) {
@@ -207,13 +229,16 @@ export class PinterestService {
async getAccessToken(accountId: string) {
Logger.log(accountId)
- // const tokenInfo: AuthInfo | null = await this.redisService.get<AuthInfo>(userId)
- // if (_.isEmpty(tokenInfo)) throw new AppException(100011, '授权已过期');
- // const { access_token } = tokenInfo
- // if (_.isEmpty(access_token)) throw new AppException(100011, '授权已过期');
+ const redisKey = this.getAccessTokenKey(accountId)
+ const tokenInfo: AuthInfo | null = await this.redisService.get<AuthInfo>(redisKey)
+ if (_.isEmpty(tokenInfo))
+ throw new AppException(100011, '授权已过期');
+ const { access_token } = tokenInfo
+ if (_.isEmpty(access_token))
+ throw new AppException(100011, '授权已过期');
return {
'Content-Type': 'application/json',
- 'Authorization': this.authorization,
+ 'Authorization': `Bearer ${access_token}`,
}
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/tiktok/dto/tiktok.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/tiktok/dto/tiktok.dto.ts
index 8d99cdcd..cc9c8550 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/tiktok/dto/tiktok.dto.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/tiktok/dto/tiktok.dto.ts
@@ -142,10 +142,6 @@ export class GetAuthInfoDto {
}
export class CreateAccountAndSetAccessTokenDto {
- @IsString()
- @Expose()
- readonly taskId: string
-
@IsString()
@Expose()
readonly code: string
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/tiktok/tiktok.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/tiktok/tiktok.service.ts
index b0299440..02e29f17 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/tiktok/tiktok.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/tiktok/tiktok.service.ts
@@ -120,12 +120,13 @@ export class TiktokService {
message: '获取访问令牌失败',
}
}
+ this.logger.log(`获取访问令牌成功: ${JSON.stringify(accessTokenInfo)}`)
// 获取TikTok用户信息
const userInfo = await this.fetchUserInfo(
accessTokenInfo.access_token,
)
- this.logger.debug(`TikTok user info: ${JSON.stringify(userInfo)}`)
+ this.logger.log(`TikTok user info: ${JSON.stringify(userInfo)}`)
// 创建账号数据
const newAccountData = new NewAccount({
userId: authTaskInfo.userId,
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/dto/twitter.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/dto/twitter.dto.ts
index 51e38e65..050bf151 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/dto/twitter.dto.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/dto/twitter.dto.ts
@@ -27,10 +27,6 @@ export class GetAuthInfoDto {
}
export class CreateAccountAndSetAccessTokenDto {
- @IsString()
- @Expose()
- readonly taskId: string
-
@IsString()
@Expose()
readonly code: string
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/twitter.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/twitter.controller.ts
index bcabc668..01fa0f55 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/twitter.controller.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/twitter.controller.ts
@@ -1,4 +1,4 @@
-import { Body, Controller, Get, Post, Query } from '@nestjs/common'
+import { Body, Controller, Get, Logger, Post, Query } from '@nestjs/common'
import { Payload } from '@nestjs/microservices'
import { NatsMessagePattern } from '@/common'
import {
@@ -10,6 +10,7 @@ import { TwitterService } from './twitter.service'
@Controller('twitter')
export class TwitterController {
+ private readonly logger = new Logger(TwitterController.name)
constructor(private readonly twitterService: TwitterService) {}
// generate authorization URL
@@ -51,10 +52,12 @@ export class TwitterController {
state: string
},
) {
- return await this.twitterService.postOAuth2Callback(query.state, {
+ const result = await this.twitterService.postOAuth2Callback(query.state, {
code: query.code,
state: query.state,
})
+ this.logger.error('postOAuth2CallbackByRestFul result:', result)
+ return result
}
@Post('publish')
@@ -73,4 +76,39 @@ export class TwitterController {
state: data.state,
})
}
+
+ @NatsMessagePattern('plat.twitter.tweet.detail')
+ async getTweetDetail(@Payload() data: { userId, tweetId: string }) {
+ return await this.twitterService.getTweetDetail(data.userId, data.tweetId)
+ }
+
+ @NatsMessagePattern('plat.twitter.tweet.repost')
+ async repostTweet(@Payload() data: { userId, tweetId: string }) {
+ return await this.twitterService.repost(data.userId, data.tweetId)
+ }
+
+ @NatsMessagePattern('plat.twitter.tweet.like')
+ async likeTweet(@Payload() data: { userId, tweetId: string }) {
+ return await this.twitterService.likePost(data.userId, data.tweetId)
+ }
+
+ @NatsMessagePattern('plat.twitter.tweet.unlike')
+ async unlikeTweet(@Payload() data: { userId, tweetId: string }) {
+ return await this.twitterService.unlikePost(data.userId, data.tweetId)
+ }
+
+ @NatsMessagePattern('plat.twitter.tweet.delete')
+ async deleteTweet(@Payload() data: { userId, tweetId: string }) {
+ return await this.twitterService.deletePost(data.userId, data.tweetId)
+ }
+
+ @NatsMessagePattern('plat.twitter.tweet.reply')
+ async replyTweet(@Payload() data: { userId, tweetId, text: string }) {
+ return await this.twitterService.replyPost(data.userId, data.tweetId, data.text)
+ }
+
+ @NatsMessagePattern('plat.twitter.tweet.quote')
+ async quoteTweet(@Payload() data: { userId, tweetId, text: string }) {
+ return await this.twitterService.quotePost(data.userId, data.tweetId, data.text)
+ }
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/twitter.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/twitter.service.ts
index e41a4f86..a9a75522 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/twitter.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/twitter/twitter.service.ts
@@ -6,7 +6,7 @@ import { config } from '@/config'
import { AccountService } from '@/core/account/account.service'
import { RedisService } from '@/libs'
import { XMediaCategory, XMediaType } from '@/libs/twitter/twitter.enum'
-import { TwitterOAuthCredential, XChunkedMediaUploadRequest, XCreatePostRequest, XMediaUploadInitRequest, XMediaUploadResponse } from '@/libs/twitter/twitter.interfaces'
+import { TwitterOAuthCredential, XChunkedMediaUploadRequest, XCreatePostRequest, XCreatePostResponse, XDeletePostResponse, XLikePostResponse, XMediaUploadInitRequest, XMediaUploadResponse, XPostDetailResponse, XRePostResponse } from '@/libs/twitter/twitter.interfaces'
import { TwitterService as TwitterApiService } from '@/libs/twitter/twitter.service'
import { AccountType, NewAccount } from '@/transports/account/common'
import { TWITTER_TIME_CONSTANTS, TwitterRedisKeys } from './constants'
@@ -64,10 +64,7 @@ export class TwitterService {
return null
}
const now = getCurrentTimestamp()
- const tokenExpiredAt = now + credential.expires_in
- const requestTime
- = tokenExpiredAt - TWITTER_TIME_CONSTANTS.TOKEN_REFRESH_MARGIN
- if (requestTime <= now) {
+ if (now >= credential.expires_in) {
this.logger.debug(
`Access token for accountId: ${accountId} is expired, refreshing...`,
)
@@ -239,12 +236,13 @@ export class TwitterService {
accountId: string,
tokenInfo: TwitterOAuthCredential,
): Promise<boolean> {
+ const now = getCurrentTimestamp()
const expireTime
- = tokenInfo.expires_in - TWITTER_TIME_CONSTANTS.TOKEN_REFRESH_MARGIN
+ = now + tokenInfo.expires_in - TWITTER_TIME_CONSTANTS.TOKEN_REFRESH_MARGIN
+ tokenInfo.expires_in = expireTime
return await this.redisService.setKey(
TwitterRedisKeys.getAccessTokenKey(accountId),
tokenInfo,
- expireTime,
)
}
@@ -329,6 +327,18 @@ export class TwitterService {
return await this.twitterApiService.createPost(credential.access_token, post)
}
+ public async deletePost(userId: string, tweetId: string): Promise<XDeletePostResponse | null> {
+ const credential = await this.authorize(userId)
+ if (!credential) {
+ this.logger.warn(`No access token found for userId: ${userId}`)
+ return null
+ }
+ return await this.twitterApiService.deletePost(
+ credential.access_token,
+ tweetId,
+ )
+ }
+
public async getMediaUploadStatus(
userId: string,
mediaId: string,
@@ -381,7 +391,7 @@ export class TwitterService {
}
const uploadReq: XChunkedMediaUploadRequest = {
media_id: initUploadRes.data.id,
- media: Buffer.from(await imgBlob.blob.arrayBuffer()),
+ media: await imgBlob.blob,
segment_index: 0,
}
this.logger.log('chunkedMediaUploadRequest', uploadReq)
@@ -447,7 +457,7 @@ export class TwitterService {
}
this.logger.log('start', start, 'end', end, 'size', videoBlob.length)
const uploadReq: XChunkedMediaUploadRequest = {
- media: videoBlob,
+ media: new Blob([videoBlob]),
media_id: initUploadRes.data.id,
segment_index: partNumber,
}
@@ -479,21 +489,114 @@ export class TwitterService {
twitterMediaIDs[0],
)
this.logger.log('getMediaUploadStatus', status)
- // const postMedia: PostMedia = {
- // media_ids: twitterMediaIDs,
- // }
- // const post: XCreatePostRequest = {
- // text,
- // media: postMedia,
- // }
- // const createPostRes = await this.createPost(
- // accountId,
- // post,
- // )
- // this.logger.log(createPostRes)
- // if (!createPostRes || !createPostRes.data.id) {
- // this.logger.error('推文创建失败')
- // return null
- // }
+ }
+
+ async getTweetDetail(
+ userId: string,
+ tweetId: string,
+ ): Promise<XPostDetailResponse | null> {
+ const credential = await this.authorize(userId)
+ if (!credential) {
+ this.logger.warn(`No access token found for userId: ${userId}`)
+ return null
+ }
+ return await this.twitterApiService.getPostDetail(
+ credential.access_token,
+ tweetId,
+ )
+ }
+
+ async repost(
+ userId: string,
+ tweetId: string,
+ ): Promise<XRePostResponse | null> {
+ const credential = await this.authorize(userId)
+ if (!credential) {
+ this.logger.warn(`No access token found for userId: ${userId}`)
+ return null
+ }
+ return await this.twitterApiService.repost(
+ userId,
+ credential.access_token,
+ tweetId,
+ )
+ }
+
+ async unRepost(
+ userId: string,
+ tweetId: string,
+ ): Promise<XRePostResponse | null> {
+ const credential = await this.authorize(userId)
+ if (!credential) {
+ this.logger.warn(`No access token found for userId: ${userId}`)
+ return null
+ }
+ return await this.twitterApiService.unRepost(
+ userId,
+ credential.access_token,
+ tweetId,
+ )
+ }
+
+ async likePost(
+ userId: string,
+ tweetId: string,
+ ): Promise<XLikePostResponse | null> {
+ const credential = await this.authorize(userId)
+ if (!credential) {
+ this.logger.warn(`No access token found for userId: ${userId}`)
+ return null
+ }
+ return await this.twitterApiService.likePost(
+ userId,
+ credential.access_token,
+ tweetId,
+ )
+ }
+
+ async unlikePost(
+ userId: string,
+ tweetId: string,
+ ): Promise<XLikePostResponse | null> {
+ const credential = await this.authorize(userId)
+ if (!credential) {
+ this.logger.warn(`No access token found for userId: ${userId}`)
+ return null
+ }
+ return await this.twitterApiService.unlikePost(
+ userId,
+ credential.access_token,
+ tweetId,
+ )
+ }
+
+ public async replyPost(userId: string, tweetId: string, text: string):
+ Promise<XCreatePostResponse | null> {
+ const credential = await this.authorize(userId)
+ if (!credential) {
+ this.logger.warn(`No access token found for userId: ${userId}`)
+ return null
+ }
+ const post: XCreatePostRequest = {
+ text,
+ reply: {
+ in_reply_to_tweet_id: tweetId,
+ },
+ }
+ return await this.twitterApiService.createPost(credential.access_token, post)
+ }
+
+ public async quotePost(userId: string, tweetId: string, text: string):
+ Promise<XCreatePostResponse | null> {
+ const credential = await this.authorize(userId)
+ if (!credential) {
+ this.logger.warn(`No access token found for userId: ${userId}`)
+ return null
+ }
+ const post: XCreatePostRequest = {
+ text,
+ quote_tweet_id: tweetId,
+ }
+ return await this.twitterApiService.createPost(credential.access_token, post)
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxGzh.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxGzh.service.ts
index cfac5002..d3d6fb85 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxGzh.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxGzh.service.ts
@@ -94,8 +94,8 @@ export class WxGzhService {
introduction?: string
},
) {
- const blobFile = await fileUrlToBlob(this.fileService.filePathToUrl(fileUrl))
const accessToken = await this.getAccessToken(accountId)
+ const blobFile = await fileUrlToBlob(this.fileService.filePathToUrl(fileUrl))
const res = await this.wxGzhApiService.addMaterial(
accessToken,
type,
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxPlat.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxPlat.controller.ts
index 97e5781e..89bca68d 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxPlat.controller.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxPlat.controller.ts
@@ -1,22 +1,10 @@
import {
- Body,
Controller,
- Get,
- HttpCode,
Logger,
- Param,
- Post,
- Query,
- UseGuards,
- UseInterceptors,
} from '@nestjs/common';
import { Payload } from '@nestjs/microservices';
-import { NatsMessagePattern, OrgGuard } from '@/common';
-import { XmlParseInterceptor } from '@/common/interceptors/xml.interceptor';
+import { NatsMessagePattern } from '@/common';
import { PublishRecordService } from '@/core/publish/publishRecord.service';
-import {
- CallbackMsgData,
-} from '@/libs/wxPlat/comment';
import {
DisposeAuthTaskDto,
GetAuthUrlDto,
@@ -94,7 +82,6 @@ export class WxPlatController {
*/
@NatsMessagePattern('channel.wxPlat.createAccountAndSetAccessToken')
async disposeAuthTask(@Payload() data: DisposeAuthTaskDto) {
- Logger.log('createAccountAndSetAccessToken---', data);
const res = await this.wxPlatService.createAccountAndSetAccessToken(
data.taskId,
{
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxPlat.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxPlat.service.ts
index 5c136e0e..4eb08bb0 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxPlat.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/wxPlat/wxPlat.service.ts
@@ -142,84 +142,92 @@ export class WxPlatService {
taskId: string,
authData: { authCode: string; expiresIn: number },
) {
- const taskInfo = await this.redisService.get<AuthTaskInfo<WxPlatAuthInfo>>(
- this.getAuthDataCacheKey(taskId),
- );
- if (!taskInfo || !taskInfo.data)
- return null;
- if (taskInfo.status === 1)
- return null;
-
- // 计算是否超时
- if (Date.now() - taskInfo.data.createTime > authData.expiresIn * 1000) {
- void this.redisService.del(this.getAuthDataCacheKey(taskId));
- return null;
- }
+ try {
+ const taskInfo = await this.redisService.get<AuthTaskInfo<WxPlatAuthInfo>>(
+ this.getAuthDataCacheKey(taskId),
+ );
+ if (!taskInfo || !taskInfo.data)
+ return { status: 0, message: '任务不存在或已完成' };
+ if (taskInfo.status === 1)
+ return { status: 0, message: '任务已完成' };
+
+ // 计算是否超时
+ if (Date.now() - taskInfo.data.createTime > authData.expiresIn * 1000) {
+ void this.redisService.del(this.getAuthDataCacheKey(taskId));
+ return { status: 0, message: '任务已超时' };
+ }
- // 延长授权时间
- void this.redisService.setPexire(this.getAuthDataCacheKey(taskId), 60 * 3);
+ // 延长授权时间
+ void this.redisService.setPexire(this.getAuthDataCacheKey(taskId), 60 * 3);
- // 根据授权码获取授权信息
- const auth = await this.myWxPlatApiService.getQueryAuth(authData.authCode);
- if (!auth) {
- void this.redisService.del(this.getAuthDataCacheKey(taskId));
- return null;
- }
- const { authorizer_appid, expires_in } = auth;
-
- const authInfo = await this.myWxPlatApiService.getAuthorizerInfo(authorizer_appid);
- if (!authInfo)
- return null;
-
- // 创建本平台的平台账号
- const newData = new NewAccount({
- userId: taskInfo.data.userId,
- type: AccountType.WxGzh,
- uid: authorizer_appid,
- account: authInfo.user_name,
- avatar: authInfo.head_img,
- nickname: authInfo.nick_name,
- });
-
- const accountInfo = await this.accountService.createAccount(
- {
+ // 根据授权码获取授权信息
+ const auth = await this.myWxPlatApiService.getQueryAuth(authData.authCode);
+ if (!auth) {
+ void this.redisService.del(this.getAuthDataCacheKey(taskId));
+ return { status: 0, message: '获取授权信缓存失败' };
+ }
+ const { authorizer_appid, expires_in } = auth;
+
+ const authInfo = await this.myWxPlatApiService.getAuthorizerInfo(authorizer_appid);
+ if (!authInfo)
+ return { status: 0, message: '获取授权信息失败' };
+
+ // 创建本平台的平台账号
+ const newData = new NewAccount({
userId: taskInfo.data.userId,
type: AccountType.WxGzh,
uid: authorizer_appid,
- },
- newData,
- );
- if (!accountInfo)
- return null;
-
- // 设置授权信息
- const setRes = await this.redisService.setKey<WxPlatAuthorizerInfo>(
- this.getAuthAccessTokenCacheKey(accountInfo.id),
- auth,
- expires_in,
- );
+ account: authInfo.user_name,
+ avatar: authInfo.head_img,
+ nickname: authInfo.nick_name,
+ });
+
+ const accountInfo = await this.accountService.createAccount(
+ {
+ userId: taskInfo.data.userId,
+ type: AccountType.WxGzh,
+ uid: authorizer_appid,
+ },
+ newData,
+ );
+ if (!accountInfo)
+ return { status: 0, message: '添加账号失败' };
+
+ // 设置授权信息
+ const setRes = await this.redisService.setKey<WxPlatAuthorizerInfo>(
+ this.getAuthAccessTokenCacheKey(accountInfo.id),
+ auth,
+ expires_in,
+ );
- // 设置29天的刷新令牌
- await this.redisService.setKey<string>(
- this.getAuthRefreshTokenCacheKey(accountInfo.id),
- auth.authorizer_refresh_token,
- 2592000,
- );
+ // 设置29天的刷新令牌
+ await this.redisService.setKey<string>(
+ this.getAuthRefreshTokenCacheKey(accountInfo.id),
+ auth.authorizer_refresh_token,
+ 2592000,
+ );
- if (!setRes)
- return null;
+ if (!setRes)
+ return { status: 0, message: '设置授权信息缓存失败' };
- // 更新任务信息
- taskInfo.status = 1;
- taskInfo.data.accountId = accountInfo.id;
+ // 更新任务信息
+ taskInfo.status = 1;
+ taskInfo.data.accountId = accountInfo.id;
- const res = await this.redisService.setKey<AuthTaskInfo<WxPlatAuthInfo>>(
- this.getAuthDataCacheKey(taskId),
- taskInfo,
- 60 * 5,
- );
+ const res = await this.redisService.setKey<AuthTaskInfo<WxPlatAuthInfo>>(
+ this.getAuthDataCacheKey(taskId),
+ taskInfo,
+ 60 * 5,
+ );
+ if (!res)
+ return { status: 0, message: '更新任务信息失败' };
- return res ? accountInfo : null;
+ return { status: 1, message: '添加账号成功', accountId: accountInfo.id };
+ }
+ catch (error) {
+ Logger.error('createAccountAndSetAccessToken error:', error);
+ return { status: 0, message: `添加账号失败: ${error.message}` };
+ }
}
/**
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/dto/youtube.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/dto/youtube.dto.ts
index 52a48037..8627e46c 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/dto/youtube.dto.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/dto/youtube.dto.ts
@@ -1,4 +1,4 @@
-import { Expose, Type } from 'class-transformer'
+import { Expose, Transform, Type } from 'class-transformer'
import {
IsBoolean,
IsEmail,
@@ -83,6 +83,7 @@ export class VideosListDto extends AccountIdDto {
readonly id?: string
@IsBoolean({ message: '是否喜欢' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly myRating?: boolean
@@ -238,6 +239,7 @@ export class GetChannelsListDto extends AccountIdDto {
readonly id?: string
@IsBoolean({ message: '我的频道,注意:forHandle、forUsername、id、mine 必须有且只能有一个' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly mine?: boolean
@@ -270,6 +272,7 @@ export class UpdateChannelsDto extends AccountIdDto {
readonly userName?: string
@IsString({ message: 'mine' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly mine?: boolean
@@ -388,6 +391,7 @@ export class SetCommentThreadsModerationStatusDto extends AccountIdDto {
readonly moderationStatus: string
@IsBoolean({ message: '是否自动拒绝评论作者撰写的任何其他评论 将作者加入黑名单,' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly banAuthor?: boolean
@@ -500,6 +504,7 @@ export class GetPlayListDto extends AccountIdDto {
readonly id?: string
@IsBoolean({ message: '我的播放列表, 注意:channelId、id、mine,必须有且只能有一个' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly mine?: boolean
@@ -666,6 +671,7 @@ export class ChannelsSectionsListDto extends AccountIdDto {
readonly id?: string
@IsBoolean({ message: '是否查询自己的板块, 注意:channelId、id、mine,必须有且只能有一个' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly mine?: boolean
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/youtube.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/youtube.controller.ts
index 57d4cc52..d9578cb0 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/youtube.controller.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/youtube.controller.ts
@@ -2,6 +2,8 @@ import {
Controller,
Get,
Logger,
+ Param,
+ Post,
Query,
} from '@nestjs/common'
@@ -79,8 +81,8 @@ export class YoutubeController {
// 获取页面的认证URL
@NatsMessagePattern('plat.youtube.authUrl')
- getAuthUrl(@Payload() data: GetAuthUrlDto) {
- const res = this.youtubeService.getAuthUrl(
+ async getAuthUrl(@Payload() data: GetAuthUrlDto) {
+ const res = await this.youtubeService.getAuthUrl(
data.userId,
data.mail,
data.type,
@@ -91,16 +93,16 @@ export class YoutubeController {
// 查询用户的认证信息
@NatsMessagePattern('plat.youtube.getAuthInfo')
- getAuthInfo(@Payload() data: GetAuthInfoDto) {
+ async getAuthInfo(@Payload() data: GetAuthInfoDto) {
this.logger.log('taskId--', data.taskId)
- const res = this.youtubeService.getAuthInfo(data.taskId)
+ const res = await this.youtubeService.getAuthInfo(data.taskId)
return res
}
// 查询账号的认证信息
@NatsMessagePattern('plat.youtube.getAccountAuthInfo')
- getAccountAuthInfo(@Payload() data: AccountIdDto) {
- const res = this.youtubeService.getUserAccessToken(data.accountId)
+ async getAccountAuthInfo(@Payload() data: AccountIdDto) {
+ const res = await this.youtubeService.getUserAccessToken(data.accountId)
return res
}
@@ -129,22 +131,31 @@ export class YoutubeController {
// 查询账号是否授权
@NatsMessagePattern('plat.youtube.isAuthorized')
- isAuthorized(@Payload() data: AccountIdDto) {
- const res = this.youtubeService.isAuthorized(data.accountId)
+ async isAuthorized(@Payload() data: AccountIdDto) {
+ const res = await this.youtubeService.isAuthorized(data.accountId)
+ return res
+ }
+
+ // 刷新令牌token
+ @Post('auth/crawler/refresh-token/:accountId')
+ async PostRefreshToken(
+ @Param('accountId') accountId: string,
+ ) {
+ const res = this.youtubeService.getUserAccessToken(accountId)
return res
}
// 刷新令牌token
@NatsMessagePattern('plat.youtube.refreshToken')
- refreshToken(@Payload() data: AccountIdDto) {
- const res = this.youtubeService.getUserAccessToken(data.accountId)
+ async refreshToken(@Payload() data: AccountIdDto) {
+ const res = await this.youtubeService.getUserAccessToken(data.accountId)
return res
}
// 获取视频类别
@NatsMessagePattern('plat.youtube.getVideoCategories')
- getVideoCategories(@Payload() data: VideoCategoriesDto) {
- const res = this.youtubeService.getVideoCategoriesList(
+ async getVideoCategories(@Payload() data: VideoCategoriesDto) {
+ const res = await this.youtubeService.getVideoCategoriesList(
data.accountId,
data?.id,
data?.regionCode,
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/youtube.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/youtube.service.ts
index 396ac095..8289af42 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/youtube.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/plat/youtube/youtube.service.ts
@@ -25,6 +25,7 @@ import {
} from '@/libs/database/schema/platToken.schema'
import { GetChannelsListParams, GetVideosListParams } from '@/libs/youtube/comment'
import { YoutubeApiService } from '@/libs/youtube/youtubeApi.service'
+import { AccountNatsApi } from '@/transports/account/account.natsApi'
import { AccountType, NewAccount } from '@/transports/account/common'
interface AuthTaskInfo {
@@ -52,6 +53,7 @@ export class YoutubeService {
private readonly redisService: RedisService,
private readonly youtubeApiService: YoutubeApiService,
private readonly accountService: AccountService,
+ private readonly accountNatsApi: AccountNatsApi,
@InjectModel(PlatToken.name)
private PlatTokenModel: Model<PlatToken>,
@@ -80,14 +82,14 @@ export class YoutubeService {
) {
const { code } = data
- const hadState = await this.redisService.get<AuthTaskInfo>(
+ const authTask = await this.redisService.get<AuthTaskInfo>(
`youtube:authTask:${taskId}`,
)
- if (!hadState)
- return null
- if (hadState?.state !== taskId)
- return null
+ if (!authTask || authTask?.state !== taskId) {
+ this.logger.error(`无效的任务ID: ${taskId}`)
+ return { status: 0, message: '无效的任务ID' }
+ }
try {
// 使用授权码获取访问令牌和刷新令牌
const params = new URLSearchParams({
@@ -121,7 +123,7 @@ export class YoutubeService {
const googleId = payload.sub
const email = payload.email
// console.log("payload:", payload);
- const userId = hadState.userId
+ const userId = authTask.userId
// console.log('-----userId:----', userId)
// 获取YouTube频道信息,用于更新账号数据库
const accountInfo: any = await this.updateYouTubeAccountInfo(
@@ -178,24 +180,26 @@ export class YoutubeService {
}
// 更新任务信息
- hadState.status = 1
- hadState.accountId = accountInfo.id
- hadState.mail = email
+ authTask.status = 1
+ authTask.accountId = accountInfo.id
+ authTask.mail = email
res = await this.redisService.setKey<AuthTaskInfo>(
`youtube:authTask:${taskId}`,
- hadState,
+ authTask,
60 * 3,
)
// // 返回系统令牌
this.logger.log('最终返回', res)
- return res ? { accountInfo, expires_in } : null
+ if (!res)
+ return { status: 0, message: '更新任务信息失败' }
+ return { status: 1, message: '添加账号成功', accountId: accountInfo.id }
// return results;
}
catch (error) {
this.logger.log('处理授权码失败:', error)
- return error
+ return { status: 0, message: `授权失败: ${error.message}` }
}
}
@@ -265,46 +269,12 @@ export class YoutubeService {
// console.log('获取到的accountInfo:', accountInfo);
// 缓存令牌
- let res = await this.redisService.setKey(
+ await this.redisService.setKey(
`youtube:accessToken:${accountInfo.id}`,
accessTokenInfo,
expires_in,
)
- // 查询AccountToken数据库里是否存在令牌,如果存在,且上面获得refresh_token 存在,且不为空或null,则更新
- // 如果不存在,则创建
- let accountToken = await this.PlatTokenModel.findOne({
- platform: AccountType.YOUTUBE,
- accountId: accountInfo.id,
- })
-
- if (accountToken) {
- // 更新现有令牌
- if (refresh_token && refresh_token.trim() !== '') {
- accountToken.refreshToken = refresh_token
- }
-
- accountToken.expiresAt = new Date(
- (getCurrentTimestamp() + expires_in) * 1000,
- )
- accountToken.updatedAt = new Date()
- await accountToken.save()
- }
- else {
- // 创建新的令牌记录
- accountToken = await this.PlatTokenModel.create({
- userId,
- platform: AccountType.YOUTUBE,
- accountId: accountInfo.id,
- uid: googleId,
- refreshToken: refresh_token,
- status: TokenStatus.NORMAL,
- createTime: new Date(),
- updateTime: new Date(),
- expiresAt: new Date((getCurrentTimestamp() + expires_in) * 1000),
- })
- }
-
// 更新任务信息
hadState.status = 1
hadState.accountId = accountInfo.id
@@ -312,23 +282,31 @@ export class YoutubeService {
hadState.nickname = accountInfo.nickname
hadState.mail = email
hadState.uid = googleId
- res = await this.redisService.setKey<AuthTaskInfo>(
+ await this.redisService.setKey<AuthTaskInfo>(
`youtube:authTask:${taskId}`,
hadState,
60 * 3,
)
// // 返回系统令牌
- // console.log('最终返回', res);
- return res ? { accountInfo, expires_in } : null
+ console.log('最终返回', accountInfo);
+ return {
+ status: 1,
+ message: '授权成功',
+ accountId: accountInfo.id,
+ }
// return results;
}
catch (error) {
- this.logger.log('处理授权码失败:', error)
+ this.logger.log(`处理授权码失败: ${error}`)
// console.error('处理授权码失败:', error)
// throw new Error('授权失败');
- return null
+ return {
+ status: 0,
+ message: '处理授权码失败',
+ accountId: error,
+ }
}
}
@@ -354,6 +332,7 @@ export class YoutubeService {
let newAccount = email
let newNickname = ''
let newAvatar = ''
+ let channelId = ''
let hasChannel = false
// 获取当前用户的YouTube频道信息
@@ -398,25 +377,25 @@ export class YoutubeService {
hasChannel = true
const channel = response.data.items[0]
// 使用频道信息更新账号数据
- // newAccount = channel.snippet.customUrl || channel.id
+ channelId = channel.id
newAccount = channel.id
newNickname = channel.snippet.title
newAvatar = channel.snippet.thumbnails.default.url
// channelInfo.fansCount = parseInt(channel.statistics.subscriberCount) || 0;
// channelInfo.workCount = parseInt(channel.statistics.videoCount) || 0;
// channelInfo.readCount = parseInt(channel.statistics.viewCount) || 0;
- this.logger.log('成功获取YouTube频道信息:', channel.snippet.title)
+ this.logger.log(`成功获取YouTube频道信息: ${channel.snippet.title}`)
}
const channelInfo = new NewAccount({
userId,
type: AccountType.YOUTUBE,
uid: googleId,
- // googleId: googleId,
+ channelId,
account: newAccount,
nickname: newNickname,
avatar: newAvatar,
- // loginTime: new Date(),
+ refresh_token: refreshToken,
});
// console.log("youtube channelInfo:",channelInfo);
@@ -434,51 +413,16 @@ export class YoutubeService {
channelInfo,
)
// console.log('----- accountInfo', accountInfo)
- // this.logger.log('----- accountInfo', accountInfo)
if (!accountInfo)
- return null
-
- // 检查是否存在账号Token
- const existingToken = await this.PlatTokenModel.findOne({
- // userId: userId,
- accountId: accountInfo.id,
- platform: AccountType.YOUTUBE,
- })
-
- this.logger.log(`--是否存在accountToken账号-- ${existingToken}`)
- if (existingToken) {
- // console.log("存在YouTube账号Token");
- // 更新现有Token
- await this.PlatTokenModel.findOneAndUpdate(
- { accountId: accountInfo.id, platform: AccountType.YOUTUBE },
- { refreshToken, updateTime: new Date() },
- )
- this.logger.log('成功更新YouTube账号Token')
- }
- else {
- // console.log("不存在YouTube账号Token");
- // 创建新Token
- await this.PlatTokenModel.create({
- userId,
- accountId: accountInfo.id,
- uid: googleId,
- platform: AccountType.YOUTUBE,
- refreshToken,
- expiresAt: new Date((getCurrentTimestamp() + expires_in) * 1000),
- status: TokenStatus.NORMAL,
- createTime: new Date(),
- updateTime: new Date(),
- })
- this.logger.log('成功创建YouTube账号Token')
- }
+ return '创建账号失败'
return accountInfo
}
catch (error) {
this.logger.error('更新YouTube账号信息失败:', error)
// 不抛出异常,避免影响授权流程
- return null
+ return `更新YouTube账号信息失败`
}
}
@@ -492,6 +436,7 @@ export class YoutubeService {
accountId: string,
refreshToken: string,
): Promise<string> {
+ console.log(accountId, refreshToken)
const accessTokenInfo
= await this.youtubeApiService.refreshAccessToken(refreshToken)
if (!accessTokenInfo)
@@ -515,7 +460,8 @@ export class YoutubeService {
* @returns 访问令牌
*/
async getUserAccessToken(accountId: string): Promise<string> {
- // this.logger.log('获取访问令牌,accountId:', accountId)
+ this.logger.log('获取访问令牌,accountId:', accountId)
+ console.log(accountId)
// 先检查Redis缓存
const cachedToken = await this.redisService.get<AccessToken>(
@@ -527,24 +473,26 @@ export class YoutubeService {
}
// 如果缓存中没有,尝试刷新
- const accountTokenInfo = await this.PlatTokenModel.findOne({
- accountId,
- })
- // this.logger.log('accountTokenInfo:', accountTokenInfo)
- // console.log('accountTokenInfo:', accountTokenInfo);
- if (!accountTokenInfo || !accountTokenInfo.refreshToken) {
+ // const accountTokenInfo = await this.accountService.findOne({
+ // accountId,
+ // })
+ const result = await this.accountNatsApi.getAccountByParam({ account: accountId })
+ // 从结果中获取refresh_token - 根据实际返回结构处理
+ const refreshToken = result.data?.refresh_token || (result as any).refresh_token
+ console.log('resolved refresh_token:', refreshToken)
+ if (!refreshToken) {
this.logger.error('无效的账号或刷新令牌丢失')
- return ''
+ return '无效的账号或刷新令牌丢失'
}
// 刷新并获取新令牌
const refreshResult = await this.refreshAccessToken(
accountId,
- accountTokenInfo.refreshToken,
+ refreshToken,
)
if (!refreshResult) {
this.logger.error('刷新令牌后未能获取访问令牌')
- return ''
+ return '刷新令牌失败'
}
// 刷新后再次从Redis获取
@@ -553,7 +501,6 @@ export class YoutubeService {
)
// console.log('newToken:', newToken);
if (!newToken || !newToken.access_token) {
- // throw new BadRequestException('刷新令牌后未能获取访问令牌');
// console.log('刷新令牌后未能获取访问令牌');
return ''
}
@@ -628,7 +575,7 @@ export class YoutubeService {
{ state, status: 0, userId, mail },
60 * 5,
)
- this.logger.log('youtubeService getAuthUrl rRes:', rRes)
+ this.logger.log(`youtubeService getAuthUrl rRes: ${rRes}`)
return rRes
? {
url: authUrl.toString(),
@@ -1902,6 +1849,7 @@ export class YoutubeService {
this.logger.error('获取访问令牌失败')
return '获取访问令牌失败'
}
+
this.initializeYouTubeClient(accessToken)
// 根据传入的参数来选择一个有效的请求参数
const requestParams: any = {
@@ -1919,7 +1867,8 @@ export class YoutubeService {
// const channels
// = await this.youtubeApiService.getChannelsList(requestParams)
// return channels
- this.logger.log(requestParams)
+ // this.logger.log(requestParams)
+ console.log(requestParams)
const response = await this.youtubeClient.channels.list(requestParams)
return response
}
@@ -1949,11 +1898,6 @@ export class YoutubeService {
// 构造请求体
const requestBody: any = {
id: ChannelId,
- // snippet: {
- // playlistId: playlistId,
- // resourceId: resourceId,
- // },
- // contentDetails: {},
}
// 如果传递了 note,则添加到请求体
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/common.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/common.ts
index ecb6341b..c85d10a7 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/common.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/common.ts
@@ -34,7 +34,7 @@ export interface PlatPulOption {
export interface NewPulData<T extends PlatPulOption>
extends Omit<
PublishTask,
- 'id' | 'option' | 'status' | 'createAt' | 'updatedAt'
+ 'id' | 'option' | 'status' | 'createdAt' | 'updatedAt'
> {
option?: T;
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/constant.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/constant.ts
index 41765d97..422028f5 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/constant.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/constant.ts
@@ -1,10 +1,11 @@
-// 定时任务间隔时间,一小时
-export const TIMED_TASK_INTERVAL = 1000 * 60 * 60
+import { CronExpression } from '@nestjs/schedule'
+
+// 定时任务间隔时间,1 分钟
+export const PUSH_SCHEDULED_TASK_CRON_EXPRESSION = CronExpression.EVERY_10_MINUTES
// export const TIMED_TASK_INTERVAL = 2000
// 定时任务扫码跨度,在当前时间前后 ‘CRON_SCAN_WINDOW_MS’ 分钟内时间的任务才会被推送到任务队列
-export const CRON_SCAN_WINDOW_MS = 1000 * 60 * 90
-
+export const PUSH_SCHEDULED_TASK_QUERY_WINDOW_MS = 10 * 60 * 1000
// 发布任务时,如果在当前时间 + 'IMMEDIATE_PUBLISH_THRESHOLD_MS'内,则直接推送到任务队列
-export const IMMEDIATE_PUSH_THRESHOLD_MS = 2 * 60 * 60 * 1000
+export const IMMEDIATE_PUSH_THRESHOLD_MS = 60 * 60 * 1000 * 2
// export const IMMEDIATE_PUSH_THRESHOLD_MS = 2 * 60 * 60 * 100000
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/dto/meta.container.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/dto/meta.container.dto.ts
index 8ff30ac9..8a27990a 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/dto/meta.container.dto.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/dto/meta.container.dto.ts
@@ -1,20 +1,26 @@
import { z } from 'zod'
-import { MetaMediaStatus } from '@/libs/database/schema/metaContainer.schema'
+import { PostCategory, PostMediaStatus, PostSubCategory } from '@/libs/database/schema/postMediaContainer.schema'
-export const MetaContainer = z.object({
+export const PostMediaContainer = z.object({
publishId: z.string({ required_error: '发布任务ID不能为空' }),
userId: z.string({ required_error: '用户ID不能为空' }),
platform: z.string({ required_error: '平台不能为空' }),
taskId: z.string({ required_error: '任务ID不能为空' }),
- status: z.nativeEnum(MetaMediaStatus, {
+ status: z.nativeEnum(PostMediaStatus, {
required_error: '任务状态不能为空',
- }).default(MetaMediaStatus.CREATED),
+ }).default(PostMediaStatus.CREATED),
+ category: z.nativeEnum(PostCategory, {
+ required_error: '任务类别不能为空',
+ }).default(PostCategory.POST),
+ subCategory: z.nativeEnum(PostSubCategory, {
+ required_error: '任务子类别不能为空',
+ }).default(PostSubCategory.PLAINTEXT),
accountId: z.string({ required_error: '账户ID不能为空' }),
option: z.any().optional(),
})
-export class CreateMetaContainerDto {
- constructor(data: z.infer<typeof MetaContainer>) {
+export class CreatePostMediaContainerDto {
+ constructor(data: z.infer<typeof PostMediaContainer>) {
Object.assign(this, data);
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/dto/publish.dto.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/dto/publish.dto.ts
index e178f5ae..1e65173b 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/dto/publish.dto.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/dto/publish.dto.ts
@@ -68,6 +68,55 @@ export const BiliBiliPublishOptionSchema = z.object({
source: z.string().optional(),
})
+export const WxGzhPublishOptionSchema = z.object({
+ open_comment: z.number().int().optional(),
+ only_fans_can_comment: z.number().int().optional(),
+})
+
+export const YouTubePublishOptionSchema = z.object({
+ privacyStatus: z.string(),
+ tag: z.string(),
+ categoryId: z.string(),
+ publishAt: z.string().datetime(),
+})
+
+export const FacebookPublishOptionSchema = z.object({
+ page_id: z.string().optional(),
+ content_category: z.string().optional(),
+ content_tags: z.array(z.string()).optional(),
+ custom_labels: z.array(z.string()).optional(),
+ direct_share_status: z.number().int().optional(),
+ embeddable: z.boolean().optional(),
+})
+
+export const InstagramPublishOptionSchema = z.object({
+ content_category: z.string().optional(),
+ alt_text: z.string().optional(),
+ caption: z.string().optional(),
+ collaborators: z.array(z.string()).optional(),
+ cover_url: z.string().optional(),
+ image_url: z.string().optional(),
+ location_id: z.string().optional(),
+ product_tags: z.array(z.object({
+ product_id: z.string(),
+ x: z.number(),
+ y: z.number(),
+ })).optional(),
+ user_tags: z.array(z.object({
+ username: z.string(),
+ x: z.number(),
+ y: z.number(),
+ })).optional(),
+})
+
+export const threadsPublishOptionSchema = z.object({
+ reply_control: z.string().optional(),
+ allowlisted_country_codes: z.array(z.string()).optional(),
+ alt_text: z.string().optional(),
+ auto_publish_text: z.boolean().optional(),
+ topic_tags: z.string().optional(),
+})
+
export const CreatePublishSchema = z.object({
flowId: z.string({ required_error: '流水ID' }).optional(),
accountId: z.string({ required_error: '账户ID' }),
@@ -77,13 +126,16 @@ export const CreatePublishSchema = z.object({
desc: z.string().optional(),
videoUrl: z.string().optional(),
coverUrl: z.string().optional(),
- imgList: z.array(z.string()).optional(),
- publishTime: z
- .date()
- .default(() => new Date()),
+ imgUrlList: z.array(z.string()).optional(),
+ publishTime: z.union([z.date(), z.string().datetime()]).transform(arg => new Date(arg)),
topics: z.array(z.string()),
option: z.object({
bilibili: BiliBiliPublishOptionSchema.optional(),
+ wxGzh: WxGzhPublishOptionSchema.optional(),
+ youtube: YouTubePublishOptionSchema.optional(),
+ facebook: FacebookPublishOptionSchema.optional(),
+ instagram: InstagramPublishOptionSchema.optional(),
+ threads: threadsPublishOptionSchema.optional(),
}).optional(),
})
export class CreatePublishDto extends createZodDto(CreatePublishSchema) {}
@@ -105,6 +157,11 @@ export const CreatePublishRecordSchema = z.object({
topics: z.array(z.string()),
option: z.object({
bilibili: BiliBiliPublishOptionSchema.optional(),
+ // wxGzh: WxGzhPublishOptionSchema.optional(),
+ youtube: YouTubePublishOptionSchema.optional(),
+ facebook: FacebookPublishOptionSchema.optional(),
+ instagram: InstagramPublishOptionSchema.optional(),
+ threads: threadsPublishOptionSchema.optional(),
}).optional(),
})
export class CreatePublishRecordDto extends createZodDto(CreatePublishRecordSchema) {}
@@ -170,3 +227,18 @@ export const NowPubTaskSchema = z.object({
id: z.string({ required_error: '任务ID' }),
})
export class NowPubTaskDto extends createZodDto(NowPubTaskSchema) {}
+
+export const PublishDayInfoListFiltersSchema = z.object({
+ userId: z.string().optional(),
+ time: z.tuple([z.date(), z.date()]).optional(),
+})
+export class PublishDayInfoListFiltersDto extends createZodDto(PublishDayInfoListFiltersSchema) {}
+
+export const PublishDayInfoListSchema = z.object({
+ filters: PublishDayInfoListFiltersSchema,
+ page: z.object({
+ pageNo: z.number().min(1, { message: '页码不能小于1' }),
+ pageSize: z.number().min(1, { message: '页大小不能小于1' }),
+ }),
+})
+export class PublishDayInfoListDto extends createZodDto(PublishDayInfoListSchema) {}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/bilibiliPub.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/bilibiliPub.service.ts
index 854d4b3f..bb9a80e5 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/bilibiliPub.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/bilibiliPub.service.ts
@@ -1,12 +1,12 @@
import { InjectQueue } from '@nestjs/bullmq'
import { Injectable, Logger } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
import { InjectModel } from '@nestjs/mongoose'
import { AccountType } from '@transports/account/common'
import { Queue } from 'bullmq'
import { Model } from 'mongoose'
import { fileUrlToBase64, getFileTypeFromUrl, streamDownloadAndUpload } from '@/common'
import { BilibiliService } from '@/core/plat/bilibili/bilibili.service'
-import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema'
import { DoPubRes } from '../common'
import { PublishBase } from './publish.base'
@@ -16,14 +16,14 @@ export class BilibiliPubService extends PublishBase {
queueName: string = AccountType.BILIBILI
constructor(
+ readonly eventEmitter: EventEmitter2,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
readonly bilibiliService: BilibiliService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue)
+ super(eventEmitter, publishTaskModel, publishQueue)
+ // this.createPublishRecord(null as any)
}
// TODO: 校验账户授权状态
@@ -132,7 +132,7 @@ export class BilibiliPubService extends PublishBase {
).catch((e) => {
resolve({
message: e.message,
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
})
})
})
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/kwaiPub.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/kwaiPub.service.ts
index e69c8506..8e414cdd 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/kwaiPub.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/kwaiPub.service.ts
@@ -16,20 +16,20 @@ import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema'
import { DoPubRes } from '../common'
import { PublishBase } from './publish.base'
+import { EventEmitter2 } from '@nestjs/event-emitter'
@Injectable()
export class kwaiPubService extends PublishBase {
queueName: string = AccountType.KWAI
constructor(
+ readonly eventEmitter: EventEmitter2,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
readonly kwaiService: KwaiService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue)
+ super(eventEmitter, publishTaskModel, publishQueue)
}
// TODO: 校验账户授权状态
@@ -59,20 +59,20 @@ export class kwaiPubService extends PublishBase {
})
return {
message: '发布成功',
- status: PublishStatus.RELEASED,
+ status: PublishStatus.PUBLISHED,
}
}
else {
return {
message: res.failMsg || '发布失败,未知原因',
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
}
}
}
catch (e) {
return {
message: e.message || '发布失败,未知原因',
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
}
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/container.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/container.service.ts
index 348830c1..10dcc3a4 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/container.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/container.service.ts
@@ -1,38 +1,38 @@
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/mongoose';
import { Model } from 'mongoose';
-import { MetaContainer, MetaMediaStatus } from '@/libs/database/schema/metaContainer.schema';
-import { CreateMetaContainerDto } from '../../dto/meta.container.dto';
+import { PostMediaContainer, PostMediaStatus } from '@/libs/database/schema/postMediaContainer.schema';
+import { CreatePostMediaContainerDto } from '../../dto/meta.container.dto';
@Injectable()
-export class MetaContainerService {
+export class PostMediaContainerService {
constructor(
- @InjectModel(MetaContainer.name)
- private readonly metaPostMediaModel: Model<MetaContainer>,
+ @InjectModel(PostMediaContainer.name)
+ private readonly metaPostMediaModel: Model<PostMediaContainer>,
) {}
async createMetaPostMedia(
- data: CreateMetaContainerDto,
- ): Promise<MetaContainer> {
+ data: CreatePostMediaContainerDto,
+ ): Promise<PostMediaContainer> {
const subPublishTask = new this.metaPostMediaModel(data);
return subPublishTask.save();
}
- async getContainers(publishId: string): Promise<MetaContainer[]> {
+ async getContainers(publishId: string): Promise<PostMediaContainer[]> {
return this.metaPostMediaModel.find({ publishId }).exec();
}
- async getUnProcessedContainers(publishId: string): Promise<MetaContainer[]> {
+ async getUnProcessedContainers(publishId: string): Promise<PostMediaContainer[]> {
return this.metaPostMediaModel.find({ publishId, $or: [
- { status: MetaMediaStatus.CREATED },
- { status: MetaMediaStatus.IN_PROGRESS },
+ { status: PostMediaStatus.CREATED },
+ { status: PostMediaStatus.IN_PROGRESS },
] }).exec();
}
async updateContainer(
id: string,
- data: Partial<CreateMetaContainerDto>,
- ): Promise<MetaContainer | null> {
+ data: Partial<CreatePostMediaContainerDto>,
+ ): Promise<PostMediaContainer | null> {
return this.metaPostMediaModel.findByIdAndUpdate(
id,
data,
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/facebook.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/facebook.service.ts
index bac933db..f33b3e69 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/facebook.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/facebook.service.ts
@@ -1,5 +1,6 @@
import { InjectQueue } from '@nestjs/bullmq';
import { Injectable, Logger } from '@nestjs/common';
+import { EventEmitter2 } from '@nestjs/event-emitter';
import { InjectModel } from '@nestjs/mongoose';
import { Queue } from 'bullmq';
import { Model } from 'mongoose';
@@ -9,19 +10,19 @@ import {
getRemoteFileSize,
} from '@/common';
import { FacebookService } from '@/core/plat/meta/facebook.service';
-import { MetaMediaStatus } from '@/libs/database/schema/metaContainer.schema';
-import { PublishRecord } from '@/libs/database/schema/publishRecord.schema';
+import { PostCategory, PostMediaStatus, PostSubCategory } from '@/libs/database/schema/postMediaContainer.schema';
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema';
import {
ChunkedVideoUploadRequest,
FacebookInitialVideoUploadRequest,
FacebookReelRequest,
finalizeVideoUploadRequest,
+ PublishFeedPostRequest,
PublishVideoPostRequest,
} from '@/libs/facebook/facebook.interfaces';
import { DoPubRes } from '../../common';
import { PublishBase } from '../publish.base';
-import { MetaContainerService } from './container.service';
+import { PostMediaContainerService } from './container.service';
import { MetaPostPublisher, PublishMetaPostTask } from './meta.interface';
@Injectable()
@@ -34,18 +35,17 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
});
constructor(
+ readonly eventEmitter: EventEmitter2,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
- @InjectQueue('meta_media_task') metaMediaTaskQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
+ @InjectQueue('post_media_task') metaMediaTaskQueue: Queue,
readonly facebookService: FacebookService,
- private readonly metaContainerService: MetaContainerService,
+ private readonly postMediaContainerService: PostMediaContainerService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue);
+ super(eventEmitter, publishTaskModel, publishQueue)
this.metaMediaTaskQueue = metaMediaTaskQueue
- this.metaContainerService = metaContainerService
+ this.postMediaContainerService = postMediaContainerService
}
// TODO: 校验账户授权状态
@@ -60,6 +60,71 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
};
}
+ async uploadImage(accountId: string, imgUrl: string): Promise<string> {
+ const imgBlob = await fileUrlToBlob(imgUrl);
+ if (!imgBlob) {
+ throw new Error(`上传图片失败: 下载图片失败 ${imgUrl}`);
+ }
+ try {
+ const uploadReq = await this.facebookService.uploadImage(
+ accountId,
+ imgBlob.blob,
+ );
+ this.logger.log(`上传图片成功: ${JSON.stringify(uploadReq)}`);
+ if (!uploadReq || !uploadReq.id) {
+ throw new Error(`上传图片失败: 图片上传到facebook失败 ${imgUrl}`);
+ }
+ return uploadReq.id
+ }
+ catch (error) {
+ Logger.error(`上传图片失败: ${error.message}`, error.stack);
+ throw new Error(`上传图片失败: ${error.message}`);
+ }
+ }
+
+ async publishFeedPost(publishTask: PublishTask): Promise<DoPubRes> {
+ this.logger.log(`Received publish task: ${publishTask.id} for Facebook Feed Post`);
+ this.logger.debug(`Publish task details: ${JSON.stringify(publishTask)}`);
+ try {
+ const res: DoPubRes = {
+ status: -1,
+ message: '任务不存在',
+ };
+
+ if (!publishTask.desc) {
+ res.message = 'Feed Post 发布需要描述';
+ return res;
+ }
+ const feedPostReq: PublishFeedPostRequest = {
+ message: publishTask.desc,
+ published: true,
+ };
+ const postRes = await this.facebookService.publishFeedPost(
+ publishTask.accountId,
+ feedPostReq,
+ );
+ if (!postRes || !postRes.id) {
+ res.message = 'Feed Post 发布失败';
+ return res;
+ }
+
+ const permalink = `https://www.facebook.com/${publishTask.uid}_${postRes.id}`;
+ await this.overPublishTask(publishTask, postRes.id, {
+ workLink: permalink,
+ });
+ res.status = 1;
+ res.message = '视频发布成功';
+ return res;
+ }
+ catch (error) {
+ this.logger.error(`发布任务失败: ${error.message}`, error.stack);
+ return {
+ status: -1,
+ message: `发布任务失败: ${error.message}`,
+ };
+ }
+ }
+
async publishReelPost(publishTask: PublishTask): Promise<DoPubRes> {
this.logger.log(`Received publish task: ${publishTask.id} for Facebook Reel`);
this.logger.debug(`Publish task details: ${JSON.stringify(publishTask)}`);
@@ -115,28 +180,37 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
res.message = '视频上传失败';
return res;
}
- await this.metaContainerService.createMetaPostMedia({
+ await this.postMediaContainerService.createMetaPostMedia({
accountId: publishTask.accountId,
publishId: publishTask.id,
userId: publishTask.userId,
- platform: 'instagram',
+ platform: 'facebook',
taskId: initUploadRes.video_id,
- status: MetaMediaStatus.CREATED,
+ status: PostMediaStatus.CREATED,
+ category: PostCategory.STORY,
+ subCategory: PostSubCategory.VIDEO,
})
const task: PublishMetaPostTask = {
id: publishTask.id,
}
await this.metaMediaTaskQueue.add(
- 'instagram:media:task',
- task,
+ `facebook:reel:media:task:${task.id}`,
{
+ taskId: task.id,
attempts: 0,
+ },
+ {
+ attempts: 3,
+ backoff: {
+ type: 'fixed',
+ delay: 20000, // 每次重试间隔 5 秒
+ },
removeOnComplete: true,
removeOnFail: true,
},
)
- res.status = PublishStatus.PUB_LOADING
+ res.status = PublishStatus.PUBLISHING
res.message = '发布中'
return res;
}
@@ -149,6 +223,59 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
}
}
+ async publishPhotoStory(publishTask: PublishTask): Promise<DoPubRes> {
+ this.logger.log(`Received publish task: ${publishTask.id} for Facebook Story`);
+ this.logger.debug(`Publish task details: ${JSON.stringify(publishTask)}`);
+ try {
+ const res: DoPubRes = {
+ status: -1,
+ message: '任务不存在',
+ };
+ const { imgUrlList, accountId } = publishTask;
+ if (!imgUrlList) {
+ res.message = 'Story 发布需要图片';
+ return res;
+ }
+
+ if (imgUrlList && imgUrlList.length < 1) {
+ res.message = 'Facebook Story 发布需要图片';
+ return res;
+ }
+
+ const imgUrl = imgUrlList[0];
+ const containerId = await this.uploadImage(accountId, imgUrl);
+ if (!containerId) {
+ res.message = '图片上传失败';
+ return res;
+ }
+
+ const storyRes = await this.facebookService.publishPhotoStory(
+ accountId,
+ containerId,
+ );
+ this.logger.log(`Publish Story response: ${JSON.stringify(storyRes)}`);
+ if (!storyRes || !storyRes.post_id) {
+ res.message = '图片 Story 发布失败';
+ return res;
+ }
+ const permalink = `https://www.facebook.com/stories/${containerId}`;
+ await this.overPublishTask(publishTask, containerId, {
+ workLink: permalink,
+ });
+ await this.overPublishTask(publishTask, containerId);
+ res.status = 1;
+ res.message = '图片 Story 发布成功';
+ return res;
+ }
+ catch (error) {
+ this.logger.error(`发布任务失败: ${error.message}`, error.stack);
+ return {
+ status: -1,
+ message: `发布任务失败: ${error.message}`,
+ };
+ }
+ }
+
async publishStory(publishTask: PublishTask): Promise<DoPubRes> {
this.logger.log(`Received publish task: ${publishTask.id} for Facebook Story`);
this.logger.debug(`Publish task details: ${JSON.stringify(publishTask)}`);
@@ -158,12 +285,17 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
message: '任务不存在',
};
const { imgUrlList, accountId, videoUrl } = publishTask;
- if (imgUrlList && imgUrlList.length > 0) {
- res.message = 'Facebook 不支持图片 Story 发布';
+ if (!videoUrl && !imgUrlList) {
+ res.message = 'Story 发布需要视频或图片';
return res;
}
+
+ if (imgUrlList && imgUrlList.length > 0) {
+ return await this.publishPhotoStory(publishTask);
+ }
+
if (!videoUrl) {
- res.message = 'Story 发布需要视频';
+ res.message = 'Story 发布需要视频 URL';
return res;
}
const contentLength = await getRemoteFileSize(videoUrl);
@@ -174,7 +306,7 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
const initUploadReq: FacebookReelRequest = {
upload_phase: 'start',
};
- const initUploadRes = await this.facebookService.initStoryUpload(
+ const initUploadRes = await this.facebookService.initVideoStoryUpload(
accountId,
initUploadReq,
);
@@ -187,7 +319,7 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
res.message = '视频下载失败';
return res;
}
- const uploadRes = await this.facebookService.uploadStory(
+ const uploadRes = await this.facebookService.uploadVideoStory(
accountId,
initUploadRes.upload_url,
{
@@ -200,27 +332,36 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
res.message = '视频上传失败';
return res;
}
- await this.metaContainerService.createMetaPostMedia({
+ await this.postMediaContainerService.createMetaPostMedia({
accountId: publishTask.accountId,
publishId: publishTask.id,
userId: publishTask.userId,
platform: 'facebook',
taskId: initUploadRes.video_id,
- status: MetaMediaStatus.CREATED,
+ status: PostMediaStatus.CREATED,
+ category: PostCategory.STORY,
+ subCategory: PostSubCategory.VIDEO,
});
const task: PublishMetaPostTask = {
id: publishTask.id,
};
await this.metaMediaTaskQueue.add(
- 'facebook:media:task',
- task,
+ `facebook:story:media:task:${task.id}`,
{
+ taskId: task.id,
attempts: 0,
+ },
+ {
+ attempts: 3,
+ backoff: {
+ type: 'fixed',
+ delay: 20000,
+ },
removeOnComplete: true,
removeOnFail: true,
},
);
- res.status = PublishStatus.PUB_LOADING;
+ res.status = PublishStatus.PUBLISHING;
res.message = '发布中';
return res;
}
@@ -233,7 +374,6 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
}
}
- // async publishStory
async publishVideo(publishTask: PublishTask): Promise<DoPubRes> {
this.logger.log(`Received publish task: ${publishTask.id} for Facebook`);
this.logger.debug(`Publish task details: ${JSON.stringify(publishTask)}`);
@@ -253,7 +393,7 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
}
const uploadReq = await this.facebookService.uploadImage(
accountId,
- Buffer.from(await imgBlob.blob.arrayBuffer()),
+ imgBlob.blob,
);
if (!uploadReq || !uploadReq.id) {
res.message = '图片初始化上传失败';
@@ -268,6 +408,7 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
const publishMediaPost = await this.facebookService.publicPhotoPost(
accountId,
facebookMediaIdList,
+ publishTask.desc,
);
if (!publishMediaPost || !publishMediaPost.id) {
res.message = '图片发布失败';
@@ -295,6 +436,7 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
accountId,
initUploadReq,
);
+ this.logger.log(`Video upload initialization response: ${JSON.stringify(initUploadRes)}`);
if (!initUploadRes || !initUploadRes.upload_session_id) {
res.message = '视频初始化上传失败';
return res;
@@ -318,6 +460,7 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
video_file_chunk: videoBlob,
published: false,
};
+ this.logger.log(`Chunked upload request: start_offset=${startOffset}, end_offset=${endOffset}`);
const chunkedUploadRes
= await this.facebookService.chunkedMediaUpload(
accountId,
@@ -391,14 +534,31 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
res.message = '未指定 Facebook 页面 contentCategory';
return res;
}
+ // publish feed post when no media
+ const { imgUrlList, videoUrl } = publishTask;
+ if (!imgUrlList && !videoUrl) {
+ return await this.publishFeedPost(publishTask);
+ }
try {
- if (contentCategory === 'video') {
+ if (contentCategory === 'post') {
+ if (!videoUrl && !imgUrlList) {
+ res.message = 'Post 发布需要视频或图片';
+ return res;
+ }
return await this.publishVideo(publishTask);
}
if (contentCategory === 'reel') {
+ if (!videoUrl) {
+ res.message = 'Reel 发布需要视频 URL';
+ return res;
+ }
return await this.publishReelPost(publishTask);
}
if (contentCategory === 'story') {
+ if (!videoUrl && !imgUrlList) {
+ res.message = 'Story 发布需要视频或图片';
+ return res;
+ }
return await this.publishStory(publishTask);
}
res.message = '不支持的平台';
@@ -414,15 +574,15 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
async publish(task: PublishTask): Promise<DoPubRes> {
try {
this.logger.log(`publish: Starting to process task ID: ${task.id}`);
- const medias = await this.metaContainerService.getContainers(task.id);
+ const medias = await this.postMediaContainerService.getContainers(task.id);
if (!medias || medias.length === 0) {
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '没有找到媒体文件',
noRetry: true,
}
}
- const unProcessedMedias = medias.filter(media => media.status !== MetaMediaStatus.FINISHED);
+ const unProcessedMedias = medias.filter(media => media.status !== PostMediaStatus.FINISHED);
this.logger.log(`Found ${medias.length} media files for task ID: ${task.id}`);
let processedCount = 0;
for (const media of unProcessedMedias) {
@@ -434,31 +594,32 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
this.logger.log(`Media status for task ID ${task.id}, media ID ${media.taskId}: ${JSON.stringify(mediaStatusInfo)}`);
if (mediaStatusInfo.status.video_status === 'error') {
this.logger.error(`Media processing failed for task ID: ${task.id}, media ID: ${media.taskId}`);
- await this.metaContainerService.updateContainer(media.id, { status: MetaMediaStatus.FAILED });
+ await this.postMediaContainerService.updateContainer(media.id, { status: PostMediaStatus.FAILED });
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '资源处理失败',
noRetry: true,
}
}
- let mediaStatus = MetaMediaStatus.CREATED
+ let mediaStatus = PostMediaStatus.CREATED
if (mediaStatusInfo.status.video_status === 'processing' || mediaStatusInfo.status.video_status === 'encoded') {
- mediaStatus = MetaMediaStatus.IN_PROGRESS;
+ mediaStatus = PostMediaStatus.IN_PROGRESS;
}
- if (mediaStatusInfo.status.video_status === 'ready') {
+ if (mediaStatusInfo.status.video_status === 'upload_complete') {
this.logger.log(`Media processing finished for task ID: ${task.id}, media ID: ${media.taskId}`);
- mediaStatus = MetaMediaStatus.FINISHED;
+ mediaStatus = PostMediaStatus.FINISHED;
processedCount++;
}
- await this.metaContainerService.updateContainer(media.id, { status: mediaStatus });
+ await this.postMediaContainerService.updateContainer(media.id, { status: mediaStatus });
}
const isMediaCompleted = processedCount === unProcessedMedias.length;
if (!isMediaCompleted) {
this.logger.warn(`Not all media files processed for task ID: ${task.id}. Processed: ${processedCount}, Total: ${medias.length}`);
- return {
- status: PublishStatus.PUB_LOADING,
- message: '媒体文件处理中',
- }
+ // return {
+ // status: PublishStatus.PUB_LOADING,
+ // message: '媒体文件处理中',
+ // }
+ throw new Error(`媒体文件处理中,已处理 ${processedCount} 个,未处理 ${unProcessedMedias.length - processedCount} 个`);
}
this.logger.log(`All media files processed for task ID: ${task.id}`);
let publishRes;
@@ -474,7 +635,7 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
)
}
if (task.option?.facebook?.content_category === 'story') {
- publishRes = await this.facebookService.publishStory(
+ publishRes = await this.facebookService.publishVideoStory(
task.accountId,
{
upload_phase: 'finish',
@@ -488,28 +649,54 @@ export class FacebookPublishService extends PublishBase implements MetaPostPubli
if (!publishRes || !publishRes.success) {
this.logger.log(`Failed to publish media container for task ID: ${task.id}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '发布媒体容器失败',
noRetry: true,
}
}
- const permalink = `https://www.facebook.com/${task.uid}_${unProcessedMedias[0].taskId}`;
+ let category = 'stories'
+ if (task.option?.facebook?.content_category === 'reel') {
+ category = 'reel'
+ }
+ const permalink = `https://www.facebook.com/${category}/${unProcessedMedias[0].taskId}`;
this.logger.log(`Successfully published media container for task ID: ${task.id}`);
await this.overPublishTask(task, unProcessedMedias[0].taskId, { workLink: permalink });
this.logger.log(`completed: Task ID ${task.id} processed successfully`);
return {
- status: PublishStatus.RELEASED,
+ status: PublishStatus.PUBLISHED,
message: '所有媒体文件已处理完成',
}
}
catch (error) {
this.logger.error(`Error processing task ID ${task.id}: ${error.message || error}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: `发布失败: ${error.message || error}`,
noRetry: true,
}
}
}
+
+ async pushPubTask(newData: PublishTask, attempts = 0): Promise<boolean> {
+ await this.publishQueueOpen(newData.id)
+ const jobRes = await this.publishQueue.add(
+ `publish_${this.queueName}`,
+ {
+ taskId: newData.id,
+ attempts: attempts++, // 进行次数
+ jobId: newData.queueId,
+ },
+ {
+ attempts: this.queueAttempts,
+ backoff: {
+ type: 'exponential',
+ delay: 20000, // 每次重试间隔 5 秒
+ },
+ removeOnComplete: true,
+ jobId: newData.queueId, // 确保任务id唯一,防止重复执行
+ },
+ )
+ return jobRes.id === newData.queueId
+ }
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/instgram.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/instgram.service.ts
index dc1b0df5..eb3dfd5a 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/instgram.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/instgram.service.ts
@@ -1,18 +1,18 @@
import { InjectQueue } from '@nestjs/bullmq'
import { Injectable, Logger } from '@nestjs/common'
-import { InjectModel } from '@nestjs/mongoose'
+import { EventEmitter2 } from '@nestjs/event-emitter'
+import { InjectModel } from '@nestjs/mongoose'
import { Queue } from 'bullmq'
import { Model } from 'mongoose'
import { InstagramService } from '@/core/plat/meta/instagram.service'
-import { MetaMediaStatus } from '@/libs/database/schema/metaContainer.schema'
-import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
+import { PostCategory, PostMediaStatus, PostSubCategory } from '@/libs/database/schema/postMediaContainer.schema'
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema'
import { InstagramMediaType } from '@/libs/instagram/instagram.enum'
import { CreateMediaContainerRequest } from '@/libs/instagram/instagram.interfaces'
import { DoPubRes } from '../../common'
import { PublishBase } from '../publish.base'
-import { MetaContainerService } from './container.service'
+import { PostMediaContainerService } from './container.service'
import { MetaPostPublisher, PublishMetaPostTask } from './meta.interface'
@Injectable()
@@ -24,18 +24,17 @@ export class InstagramPublishService extends PublishBase implements MetaPostPubl
})
constructor(
+ readonly eventEmitter: EventEmitter2,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
- @InjectQueue('meta_media_task') metaMediaTaskQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
+ @InjectQueue('post_media_task') metaMediaTaskQueue: Queue,
readonly instagramService: InstagramService,
- private readonly metaContainerService: MetaContainerService,
+ private readonly postMediaContainerService: PostMediaContainerService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue)
+ super(eventEmitter, publishTaskModel, publishQueue)
this.metaMediaTaskQueue = metaMediaTaskQueue
- this.metaContainerService = metaContainerService
+ this.postMediaContainerService = postMediaContainerService
}
// TODO: 校验账户授权状态
@@ -50,84 +49,284 @@ export class InstagramPublishService extends PublishBase implements MetaPostPubl
}
}
- async doPub(publishTask: PublishTask): Promise<DoPubRes> {
+ async publishPost(publishTask: PublishTask): Promise<DoPubRes> {
const res: DoPubRes = {
status: -1,
message: '任务不存在',
}
+ if (!publishTask.imgUrlList || publishTask.imgUrlList.length === 0) {
+ res.message = '没有图片资源'
+ return res
+ }
try {
- const { imgUrlList, accountId, videoUrl } = publishTask
- let containerType = InstagramMediaType.CAROUSEL
- // Instagram no longer supports standard video posts. Videos will be published as Reels
- if (!(imgUrlList && imgUrlList.length > 1) && videoUrl) {
- containerType = InstagramMediaType.REELS
+ if (publishTask.imgUrlList.length === 1) {
+ const createContainerReq: CreateMediaContainerRequest = {
+ media_type: InstagramMediaType.IMAGE,
+ image_url: publishTask.imgUrlList[0],
+ caption: publishTask.desc || publishTask.title || '',
+ }
+ const initUploadRes = await this.instagramService.createMediaContainer(
+ publishTask.accountId,
+ createContainerReq,
+ )
+ if (!initUploadRes || !initUploadRes.id) {
+ res.message = '图片初始化上传失败'
+ return res
+ }
+ await this.postMediaContainerService.createMetaPostMedia({
+ accountId: publishTask.accountId,
+ publishId: publishTask.id,
+ userId: publishTask.userId,
+ platform: 'instagram',
+ taskId: initUploadRes.id,
+ status: PostMediaStatus.CREATED,
+ category: PostCategory.POST,
+ subCategory: PostSubCategory.PHOTO,
+ })
}
- if (imgUrlList && imgUrlList.length > 1) {
- for (const imgUrl of imgUrlList) {
+ else {
+ for (const imgUrl of publishTask.imgUrlList) {
const createContainerReq: CreateMediaContainerRequest = {
is_carousel_item: true,
media_type: InstagramMediaType.IMAGE,
image_url: imgUrl,
+ caption: publishTask.desc || publishTask.title || '',
}
const initUploadRes = await this.instagramService.createMediaContainer(
- accountId,
+ publishTask.accountId,
createContainerReq,
)
if (!initUploadRes || !initUploadRes.id) {
res.message = '图片初始化上传失败'
return res
}
- await this.metaContainerService.createMetaPostMedia({
+ await this.postMediaContainerService.createMetaPostMedia({
+ accountId: publishTask.accountId,
publishId: publishTask.id,
userId: publishTask.userId,
platform: 'instagram',
taskId: initUploadRes.id,
- status: MetaMediaStatus.CREATED,
+ status: PostMediaStatus.CREATED,
+ category: PostCategory.POST,
+ subCategory: PostSubCategory.PHOTO,
})
}
}
+ const task: PublishMetaPostTask = {
+ id: publishTask.id,
+ }
+ await this.metaMediaTaskQueue.add(
+ `instagram:post:task:${task.id}`,
+ {
+ taskId: task.id,
+ attempts: 0,
+ },
+ {
+ attempts: 3,
+ backoff: {
+ type: 'fixed',
+ delay: 20000,
+ },
+ removeOnComplete: true,
+ removeOnFail: true,
+ },
+ )
- if (videoUrl) {
- const createContainerReq: CreateMediaContainerRequest = {
- video_url: videoUrl,
- media_type: containerType,
- caption: publishTask.desc || publishTask.title || '',
- }
- if (containerType === 'CAROUSEL') {
- createContainerReq.is_carousel_item = true
- }
- const initUploadRes = await this.instagramService.createMediaContainer(
- accountId,
- createContainerReq,
- )
- if (!initUploadRes || !initUploadRes.id) {
- res.message = '视频初始化上传失败'
- return res
- }
- await this.metaContainerService.createMetaPostMedia({
- accountId: publishTask.accountId,
- publishId: publishTask.id,
- userId: publishTask.userId,
- platform: 'instagram',
- taskId: initUploadRes.id,
- status: MetaMediaStatus.CREATED,
- })
+ res.status = PublishStatus.PUBLISHING
+ res.message = '发布中'
+ return res;
+ }
+ catch (error) {
+ this.logger.error(`发布失败: ${error.message || error}`, error.stack)
+ res.message = `发布失败: ${error.message || error}`
+ return res
+ }
+ }
+
+ async publishReel(publishTask: PublishTask): Promise<DoPubRes> {
+ const res: DoPubRes = {
+ status: -1,
+ message: '任务不存在',
+ }
+ if (!publishTask.videoUrl) {
+ res.message = '没有视频资源'
+ return res
+ }
+ try {
+ const createContainerReq: CreateMediaContainerRequest = {
+ video_url: publishTask.videoUrl,
+ media_type: InstagramMediaType.REELS,
+ caption: publishTask.desc || publishTask.title || '',
+ }
+ const initUploadRes = await this.instagramService.createMediaContainer(
+ publishTask.accountId,
+ createContainerReq,
+ )
+ if (!initUploadRes || !initUploadRes.id) {
+ res.message = '视频初始化上传失败'
+ return res
+ }
+ await this.postMediaContainerService.createMetaPostMedia({
+ accountId: publishTask.accountId,
+ publishId: publishTask.id,
+ userId: publishTask.userId,
+ platform: 'instagram',
+ taskId: initUploadRes.id,
+ status: PostMediaStatus.CREATED,
+ category: PostCategory.REELS,
+ subCategory: PostSubCategory.VIDEO,
+ })
+
+ const task: PublishMetaPostTask = {
+ id: publishTask.id,
+ }
+ await this.metaMediaTaskQueue.add(
+ `instagram:reel:task:${task.id}`,
+ {
+ taskId: task.id,
+ attempts: 0,
+ },
+ {
+ attempts: 3,
+ backoff: {
+ type: 'fixed',
+ delay: 20000,
+ },
+ removeOnComplete: true,
+ removeOnFail: true,
+ },
+ )
+
+ res.status = PublishStatus.PUBLISHING
+ res.message = '发布中'
+ return res;
+ }
+ catch (error) {
+ this.logger.error(`发布失败: ${error.message || error}`, error.stack)
+ res.message = `发布失败: ${error.message || error}`
+ return res
+ }
+ }
+
+ async publishVideoStory(publishTask: PublishTask): Promise<DoPubRes> {
+ const res: DoPubRes = {
+ status: -1,
+ message: '任务不存在',
+ }
+ if (!publishTask.videoUrl) {
+ res.message = '没有视频资源'
+ return res
+ }
+ try {
+ const createContainerReq: CreateMediaContainerRequest = {
+ video_url: publishTask.videoUrl,
+ media_type: InstagramMediaType.STORIES,
+ caption: publishTask.desc || publishTask.title || '',
+ }
+ const initUploadRes = await this.instagramService.createMediaContainer(
+ publishTask.accountId,
+ createContainerReq,
+ )
+ if (!initUploadRes || !initUploadRes.id) {
+ res.message = '视频初始化上传失败'
+ return res
+ }
+ await this.postMediaContainerService.createMetaPostMedia({
+ accountId: publishTask.accountId,
+ publishId: publishTask.id,
+ userId: publishTask.userId,
+ platform: 'instagram',
+ taskId: initUploadRes.id,
+ status: PostMediaStatus.CREATED,
+ category: PostCategory.STORY,
+ subCategory: PostSubCategory.VIDEO,
+ })
+
+ const task: PublishMetaPostTask = {
+ id: publishTask.id,
+ }
+ await this.metaMediaTaskQueue.add(
+ `instagram:story:task:${task.id}`,
+ {
+ taskId: task.id,
+ attempts: 0,
+ },
+ {
+ attempts: 3,
+ backoff: {
+ type: 'fixed',
+ delay: 20000,
+ },
+ removeOnComplete: true,
+ removeOnFail: true,
+ },
+ )
+
+ res.status = PublishStatus.PUBLISHING
+ res.message = '发布中'
+ return res;
+ }
+ catch (error) {
+ this.logger.error(`发布失败: ${error.message || error}`, error.stack)
+ res.message = `发布失败: ${error.message || error}`
+ return res
+ }
+ }
+
+ async publishPhotoStory(publishTask: PublishTask): Promise<DoPubRes> {
+ const res: DoPubRes = {
+ status: -1,
+ message: '任务不存在',
+ }
+ if (!publishTask.imgUrlList || publishTask.imgUrlList.length === 0) {
+ res.message = '没有图片资源'
+ return res
+ }
+ try {
+ const createContainerReq: CreateMediaContainerRequest = {
+ media_type: InstagramMediaType.STORIES,
+ image_url: publishTask.imgUrlList[0],
+ }
+ const initUploadRes = await this.instagramService.createMediaContainer(
+ publishTask.accountId,
+ createContainerReq,
+ )
+ if (!initUploadRes || !initUploadRes.id) {
+ res.message = '图片初始化上传失败'
+ return res
}
+ await this.postMediaContainerService.createMetaPostMedia({
+ accountId: publishTask.accountId,
+ publishId: publishTask.id,
+ userId: publishTask.userId,
+ platform: 'instagram',
+ taskId: initUploadRes.id,
+ status: PostMediaStatus.CREATED,
+ category: PostCategory.STORY,
+ subCategory: PostSubCategory.PHOTO,
+ })
const task: PublishMetaPostTask = {
id: publishTask.id,
}
await this.metaMediaTaskQueue.add(
- 'instagram:media:task',
- task,
+ `instagram:photo:story:task:${task.id}`,
{
+ taskId: task.id,
attempts: 0,
+ },
+ {
+ attempts: 3,
+ backoff: {
+ type: 'fixed',
+ delay: 20000,
+ },
removeOnComplete: true,
removeOnFail: true,
},
)
- res.status = PublishStatus.PUB_LOADING
+ res.status = PublishStatus.PUBLISHING
res.message = '发布中'
return res;
}
@@ -141,15 +340,14 @@ export class InstagramPublishService extends PublishBase implements MetaPostPubl
async publish(task: PublishTask): Promise<DoPubRes> {
try {
this.logger.log(`publish: Starting to process task ID: ${task.id}`);
- const medias = await this.metaContainerService.getContainers(task.id);
+ const medias = await this.postMediaContainerService.getContainers(task.id);
if (!medias || medias.length === 0) {
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '没有找到媒体文件',
- noRetry: true,
}
}
- const unProcessedMedias = medias.filter(media => media.status !== MetaMediaStatus.FINISHED);
+ const unProcessedMedias = medias.filter(media => media.status !== PostMediaStatus.FINISHED);
this.logger.log(`Found ${medias.length} media files for task ID: ${task.id}`);
let processedCount = 0;
for (const media of unProcessedMedias) {
@@ -161,43 +359,53 @@ export class InstagramPublishService extends PublishBase implements MetaPostPubl
this.logger.log(`Media status for task ID ${task.id}, media ID ${media.taskId}: ${JSON.stringify(mediaStatusInfo)}`);
if (mediaStatusInfo.status === 'FAILED') {
this.logger.error(`Media processing failed for task ID: ${task.id}, media ID: ${media.taskId}`);
- await this.metaContainerService.updateContainer(media.id, { status: MetaMediaStatus.FAILED });
+ await this.postMediaContainerService.updateContainer(media.id, { status: PostMediaStatus.FAILED });
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '资源处理失败',
noRetry: true,
}
}
- let mediaStatus = MetaMediaStatus.CREATED
+ let mediaStatus = PostMediaStatus.CREATED
if (mediaStatusInfo.status === 'IN_PROGRESS') {
- mediaStatus = MetaMediaStatus.IN_PROGRESS;
+ mediaStatus = PostMediaStatus.IN_PROGRESS;
}
if (mediaStatusInfo.status === 'FINISHED') {
this.logger.log(`Media processing finished for task ID: ${task.id}, media ID: ${media.taskId}`);
- mediaStatus = MetaMediaStatus.FINISHED;
+ mediaStatus = PostMediaStatus.FINISHED;
processedCount++;
}
- await this.metaContainerService.updateContainer(media.id, { status: mediaStatus });
+ await this.postMediaContainerService.updateContainer(media.id, { status: mediaStatus });
}
const isMediaCompleted = processedCount === unProcessedMedias.length;
if (!isMediaCompleted) {
this.logger.warn(`Not all media files processed for task ID: ${task.id}. Processed: ${processedCount}, Total: ${medias.length}`);
return {
- status: PublishStatus.PUB_LOADING,
+ status: PublishStatus.PUBLISHING,
message: '媒体文件处理中',
}
}
this.logger.log(`All media files processed for task ID: ${task.id}`);
- let containerTypes = InstagramMediaType.REELS;
+
+ const postCategory = unProcessedMedias[0].category;
+
+ let containerTypes = InstagramMediaType.IMAGE;
+ if (postCategory === PostCategory.STORY) {
+ containerTypes = InstagramMediaType.STORIES;
+ }
+ else if (postCategory === PostCategory.REELS) {
+ containerTypes = InstagramMediaType.REELS;
+ }
+
let containerId = medias[0].taskId;
- if (medias.length > 1) {
+ if (postCategory === PostCategory.POST && medias.length > 1) {
containerTypes = InstagramMediaType.CAROUSEL;
const containerIdList = medias.map(media => media.taskId);
const createContainerReq: CreateMediaContainerRequest = {
media_type: containerTypes,
children: containerIdList,
- caption: task.title,
+ caption: task.desc || task.title || '',
}
const postContainer = await this.instagramService.createMediaContainer(
task.accountId,
@@ -206,7 +414,7 @@ export class InstagramPublishService extends PublishBase implements MetaPostPubl
if (!postContainer || !postContainer.id) {
this.logger.error(`Failed to create media container for task ID: ${task.id}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '创建媒体容器失败',
noRetry: true,
}
@@ -222,7 +430,7 @@ export class InstagramPublishService extends PublishBase implements MetaPostPubl
if (!publishRes || !publishRes.id) {
this.logger.log(`Failed to publish media container for task ID: ${task.id}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '发布媒体容器失败',
noRetry: true,
}
@@ -247,17 +455,48 @@ export class InstagramPublishService extends PublishBase implements MetaPostPubl
await this.overPublishTask(task, publishRes.id, { workLink: permalink });
this.logger.log(`completed: Task ID ${task.id} processed successfully`);
return {
- status: PublishStatus.RELEASED,
+ status: PublishStatus.PUBLISHED,
message: '所有媒体文件已处理完成',
}
}
catch (error) {
this.logger.error(`Error processing task ID ${task.id}: ${error.message || error}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: `发布失败: ${error.message || error}`,
noRetry: true,
}
}
}
+
+ async doPub(publishTask: PublishTask): Promise<DoPubRes> {
+ const res: DoPubRes = {
+ status: -1,
+ message: '任务不存在',
+ }
+ try {
+ const postCategory = publishTask.option?.instagram?.content_category;
+ switch (postCategory) {
+ case 'post':
+ return await this.publishPost(publishTask);
+ case 'reel':
+ return await this.publishReel(publishTask);
+ case 'story':
+ if (publishTask.videoUrl) {
+ return await this.publishVideoStory(publishTask);
+ }
+ else {
+ return await this.publishPhotoStory(publishTask);
+ }
+ default:
+ res.message = '不支持的发布类型';
+ return res;
+ }
+ }
+ catch (error) {
+ this.logger.error(`发布失败: ${error.message || error}`, error.stack)
+ res.message = `发布失败: ${error.message || error}`
+ return res
+ }
+ }
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/meta.module.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/meta.module.ts
index 125ab73e..8e1686d7 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/meta.module.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/meta.module.ts
@@ -3,10 +3,11 @@ import { Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose';
import { MetaModule } from '@/core/plat/meta/meta.module';
import { TwitterModule } from '@/core/plat/twitter/twitter.module';
-import { MetaContainer, MetaContainerSchema } from '@/libs/database/schema/metaContainer.schema';
+import { Account, AccountSchema } from '@/libs/database/schema/account.schema';
+import { PostMediaContainer, PostMediaContainerSchema } from '@/libs/database/schema/postMediaContainer.schema';
import { PublishRecord, PublishRecordSchema } from '@/libs/database/schema/publishRecord.schema';
import { PublishTask, PublishTaskSchema } from '@/libs/database/schema/publishTask.schema';
-import { MetaContainerService } from './container.service';
+import { PostMediaContainerService } from './container.service';
import { FacebookPublishService } from './facebook.service';
import { InstagramPublishService } from './instgram.service';
import { MetaPublishService } from './meta.service';
@@ -20,7 +21,7 @@ import { TwitterPublishService } from './twitter.service';
FacebookPublishService,
InstagramPublishService,
ThreadsPublishService,
- MetaContainerService,
+ PostMediaContainerService,
TwitterPublishService,
],
exports: [
@@ -28,28 +29,27 @@ import { TwitterPublishService } from './twitter.service';
FacebookPublishService,
InstagramPublishService,
ThreadsPublishService,
- MetaContainerService,
+ PostMediaContainerService,
TwitterPublishService,
],
imports: [
MetaModule,
TwitterModule,
BullModule.registerQueue({
- name: 'bull_publish',
+ name: 'post_publish',
}),
BullModule.registerQueue({
- name: 'meta_media_task',
- prefix: 'meta:',
+ name: 'post_media_task',
defaultJobOptions: {
- attempts: 0,
- delay: 20000, // 20 seconds
+ delay: 60000, // 60 seconds
removeOnComplete: true,
},
}),
MongooseModule.forFeature([
+ { name: Account.name, schema: AccountSchema },
{ name: PublishRecord.name, schema: PublishRecordSchema },
{ name: PublishTask.name, schema: PublishTaskSchema },
- { name: MetaContainer.name, schema: MetaContainerSchema },
+ { name: PostMediaContainer.name, schema: PostMediaContainerSchema },
]),
],
})
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/meta.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/meta.service.ts
index e80d020c..2b8cc684 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/meta.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/meta.service.ts
@@ -2,9 +2,11 @@ import { Injectable, Logger } from '@nestjs/common';
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema';
import { AccountType } from '@/transports/account/common';
import { DoPubRes } from '../../common';
+import { FacebookPublishService } from './facebook.service';
import { InstagramPublishService } from './instgram.service';
import { MetaPostPublisher } from './meta.interface';
import { ThreadsPublishService } from './threads.service';
+import { TwitterPublishService } from './twitter.service';
@Injectable()
export class MetaPublishService {
@@ -13,12 +15,13 @@ export class MetaPublishService {
constructor(
private readonly instagramPublishService: InstagramPublishService,
private readonly threadPublishService: ThreadsPublishService,
+ private readonly twitterPublishService: TwitterPublishService,
+ private readonly facebookPublishService: FacebookPublishService,
) {
- this.logger.log('Initializing MetaPublishService');
this.publishSrvMap.set(AccountType.INSTAGRAM, this.instagramPublishService);
- this.logger.log(this.publishSrvMap.keys());
this.publishSrvMap.set(AccountType.THREADS, this.threadPublishService);
- this.logger.log(this.publishSrvMap.keys());
+ this.publishSrvMap.set(AccountType.TWITTER, this.twitterPublishService);
+ this.publishSrvMap.set(AccountType.FACEBOOK, this.facebookPublishService);
}
async publishPost(publishTask: PublishTask): Promise<DoPubRes> {
@@ -27,7 +30,7 @@ export class MetaPublishService {
const service = this.publishSrvMap.get(publishTask.accountType)
if (!service) {
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '未找到该平台的发布服务',
noRetry: true,
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/publish.woker.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/publish.woker.ts
index 4a2336b7..710abf32 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/publish.woker.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/publish.woker.ts
@@ -1,13 +1,16 @@
-import { Processor, WorkerHost } from '@nestjs/bullmq';
-import { Logger } from '@nestjs/common';
+import { OnWorkerEvent, Processor, WorkerHost } from '@nestjs/bullmq';
+import { Logger, OnModuleDestroy } from '@nestjs/common';
import { Job } from 'bullmq';
import { PublishStatus } from '@/libs/database/schema/publishTask.schema';
import { PublishTaskService } from '../../publishTask.service';
-import { PublishMetaPostTask } from './meta.interface';
import { MetaPublishService } from './meta.service';
-@Processor('meta_media_task', {})
-export class MetaPublishWorker extends WorkerHost {
+@Processor('post_media_task', {
+ concurrency: 3,
+ stalledInterval: 15000,
+ maxStalledCount: 1,
+})
+export class MetaPublishWorker extends WorkerHost implements OnModuleDestroy {
private readonly logger = new Logger(MetaPublishWorker.name);
constructor(
readonly publishTaskService: PublishTaskService,
@@ -16,31 +19,76 @@ export class MetaPublishWorker extends WorkerHost {
super();
}
- async process(job: Job<PublishMetaPostTask>): Promise<any> {
- this.logger.log(`Processing Meta Post Publish Task: ${job.data.id}`);
- const publishTaskInfo = await this.publishTaskService.getPublishTaskInfo(job.data.id);
- const publishTask = publishTaskInfo!.toObject()
- if (!publishTask) {
- this.logger.error(`Publish task not found: ${job.data.id}`);
- throw new Error(`Publish task not found: ${job.data.id}`);
+ async process(job: Job<{
+ taskId: string,
+ attempts: number
+ }>): Promise<any> {
+ this.logger.log(`[task-${job.data.taskId}] Processing Meta Post Publish Task: ${job.data.taskId}`);
+ try {
+ const publishTaskInfo = await this.publishTaskService.getPublishTaskInfo(job.data.taskId);
+ const publishTask = publishTaskInfo!.toObject()
+ if (!publishTask) {
+ this.logger.error(`[task-${job.data.taskId}] Publish task not found: ${job.data.taskId}`);
+ return;
+ }
+ publishTask.publishTime = new Date()
+ this.logger.log(`[task-${job.data.taskId}] Publish task details: ${JSON.stringify(publishTask)}`);
+ const { status, message } = await this.metaPublishService.publishPost(publishTask);
+
+ if (status !== PublishStatus.PUBLISHED) {
+ this.logger.error(`[task-${job.data.taskId}] Publish task failed: ${job.data.taskId}, Message: ${message}`);
+ throw new Error(message);
+ }
+ this.logger.debug(`[task-${job.data.taskId}] Publish task details: ${JSON.stringify(publishTask)}`);
+ return { status: 'success', message: 'Post published successfully' };
+ }
+ catch (error) {
+ this.logger.error(`[task-${job.data.taskId}] Error processing job ${job.id}: ${error.message}`, error.stack);
+ throw new Error(`[task-${job.data.taskId}] Job ${job.id} failed: ${error.message}`, { cause: error });
}
- publishTask.publishTime = new Date()
- this.logger.log(`Publish task details: ${JSON.stringify(publishTask)}`);
- const { status, message, noRetry }
- = await this.metaPublishService.publishPost(publishTask)
+ }
+
+ @OnWorkerEvent('completed')
+ async onCompleted(job: Job<{
+ taskId: string
+ attempts: number,
+ jobId?: string
+ }>) {
+ const { taskId, attempts, jobId } = job.data
+ this.logger.log(`[task-${job.data.taskId}] Processing completed for job ${jobId}, taskId: ${taskId}, Attempts: ${attempts}`);
+ }
- this.logger.log(`Publish task status: ${status}, message: ${message}`);
- if (status === PublishStatus.FAIL) {
- if (!noRetry)
- throw new Error(message)
- await job.moveToFailed(new Error('任务失败,不再重试'), 'completed') // 直接标记为失败且不重试
+ @OnWorkerEvent('failed')
+ async onFailed(job: Job<{
+ taskId: string
+ attempts: number,
+ jobId?: string
+ }>, error: Error) {
+ const { taskId } = job.data
+ if (job.attemptsMade === job.opts.attempts) {
+ this.logger.error(`[task-${job.data.taskId}] Job ${taskId} failed after all attempts: ${error.message}`);
+ await this.publishTaskService.updatePublishTaskStatus(taskId, {
+ status: PublishStatus.FAILED,
+ errorMsg: error.message,
+ })
+ this.logger.log(`[task-${job.data.taskId}] Publish task ${taskId} marked as failed after all attempts. and removed from queue.`);
return
}
+ this.logger.warn(`[task-${job.data.taskId}] Job ${taskId} failed, retrying... Attempts made: ${job.attemptsMade}`);
+ }
- if (status === PublishStatus.RELEASED) {
- void job.isCompleted()
- }
- this.logger.debug(`Publish task details: ${JSON.stringify(publishTask)}`);
- return { status: 'success', message: 'Post published successfully' };
+ @OnWorkerEvent('stalled')
+ onStalled(job: Job<{
+ taskId: string
+ attempts: number,
+ jobId?: string
+ }>) {
+ this.logger.error(`[task-${job.data.taskId}] Job stalled: ${job.id}`);
+ }
+
+ async onModuleDestroy() {
+ this.logger.log('PostMediaTaskWorker is being destroyed, closing worker...');
+ await this.worker.close();
+ this.logger.log('PostMediaTaskWorker closed successfully');
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/threads.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/threads.service.ts
index 247d1ab8..b906d79f 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/threads.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/threads.service.ts
@@ -1,18 +1,18 @@
import { InjectQueue } from '@nestjs/bullmq'
import { Injectable, Logger } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
import { InjectModel } from '@nestjs/mongoose'
-import { Queue } from 'bullmq'
+import { Queue } from 'bullmq'
import { Model } from 'mongoose'
import { ThreadsService } from '@/core/plat/meta/threads.service'
-import { MetaMediaStatus } from '@/libs/database/schema/metaContainer.schema'
-import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
+import { PostMediaStatus } from '@/libs/database/schema/postMediaContainer.schema'
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema'
import { ThreadsMediaType } from '@/libs/threads/threads.enum'
import { ThreadsContainerRequest } from '@/libs/threads/threads.interfaces'
import { DoPubRes } from '../../common'
import { PublishBase } from '../publish.base'
-import { MetaContainerService } from './container.service'
+import { PostMediaContainerService } from './container.service'
import { MetaPostPublisher, PublishMetaPostTask } from './meta.interface'
@Injectable()
@@ -24,17 +24,16 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
})
constructor(
+ readonly eventEmitter: EventEmitter2,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
readonly threadsService: ThreadsService,
- @InjectQueue('meta_media_task') metaMediaTaskQueue: Queue,
- private readonly metaContainerService: MetaContainerService,
+ @InjectQueue('post_media_task') metaMediaTaskQueue: Queue,
+ private readonly postMediaContainerService: PostMediaContainerService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue)
+ super(eventEmitter, publishTaskModel, publishQueue)
this.metaMediaTaskQueue = metaMediaTaskQueue
}
@@ -58,31 +57,36 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
try {
const { imgUrlList, accountId, videoUrl } = publishTask
if (imgUrlList && imgUrlList.length > 0) {
+ const isCarouselItem = imgUrlList.length > 1;
for (const imgUrl of imgUrlList) {
const createContainerReq: ThreadsContainerRequest = {
- is_carousel_item: true,
media_type: 'IMAGE',
image_url: imgUrl,
+ text: publishTask.desc || '',
+ }
+ if (isCarouselItem) {
+ createContainerReq.is_carousel_item = true;
}
const container = await this.threadsService.createItemContainer(accountId, createContainerReq)
if (!container) {
res.message = '创建容器失败'
return res
}
- await this.metaContainerService.createMetaPostMedia({
+ await this.postMediaContainerService.createMetaPostMedia({
accountId: publishTask.accountId,
publishId: publishTask.id,
userId: publishTask.userId,
platform: 'threads',
taskId: container.id,
- status: MetaMediaStatus.CREATED,
+ status: PostMediaStatus.CREATED,
})
}
}
- if (videoUrl) {
+ else if (videoUrl) {
const createContainerReq: ThreadsContainerRequest = {
media_type: 'VIDEO',
video_url: videoUrl,
+ text: publishTask.desc || '',
}
if (imgUrlList && imgUrlList.length > 0) {
createContainerReq.is_carousel_item = true;
@@ -92,33 +96,37 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
res.message = '创建视频容器失败'
return res
}
- await this.metaContainerService.createMetaPostMedia({
+ await this.postMediaContainerService.createMetaPostMedia({
accountId: publishTask.accountId,
publishId: publishTask.id,
userId: publishTask.userId,
platform: 'threads',
taskId: container.id,
- status: MetaMediaStatus.CREATED,
+ status: PostMediaStatus.CREATED,
})
}
const task: PublishMetaPostTask = {
id: publishTask.id,
}
- await this.metaMediaTaskQueue.add(
- 'threads:media:task',
- task,
+ const result = await this.metaMediaTaskQueue.add(
+ `threads:media:task:${task.id}`,
+ {
+ taskId: task.id,
+ attempts: 0,
+ },
{
attempts: 3,
backoff: {
type: 'fixed',
- delay: 5000,
+ delay: 10000,
},
removeOnComplete: true,
removeOnFail: true,
},
)
- res.status = PublishStatus.PUB_LOADING
+ this.logger.log(`Media task added to queue: ${result}`)
+ res.status = PublishStatus.PUBLISHING
res.message = '发布中'
return res;
}
@@ -129,15 +137,15 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
}
async publish(task: PublishTask): Promise<DoPubRes> {
- const containers = await this.metaContainerService.getContainers(task.id);
+ const containers = await this.postMediaContainerService.getContainers(task.id);
if (!containers || containers.length === 0) {
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '没有找到媒体文件',
noRetry: true,
}
}
- const unProcessedContainers = containers.filter(media => media.status !== MetaMediaStatus.FINISHED);
+ const unProcessedContainers = containers.filter(media => media.status !== PostMediaStatus.FINISHED);
this.logger.log(`Found ${containers.length} media files for task ID: ${task.id}`);
let processedCount = 0;
for (const media of unProcessedContainers) {
@@ -149,29 +157,29 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
this.logger.log(`Media status for task ID ${task.id}, media ID ${media.taskId}: ${JSON.stringify(mediaStatusInfo)}`);
if (mediaStatusInfo.status === 'FAILED') {
this.logger.error(`Media processing failed for task ID: ${task.id}, media ID: ${media.taskId}`);
- await this.metaContainerService.updateContainer(media.id, { status: MetaMediaStatus.FAILED });
+ await this.postMediaContainerService.updateContainer(media.id, { status: PostMediaStatus.FAILED });
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '资源处理失败',
noRetry: true,
}
}
- let mediaStatus = MetaMediaStatus.CREATED
+ let mediaStatus = PostMediaStatus.CREATED
if (mediaStatusInfo.status === 'IN_PROGRESS') {
- mediaStatus = MetaMediaStatus.IN_PROGRESS;
+ mediaStatus = PostMediaStatus.IN_PROGRESS;
}
if (mediaStatusInfo.status === 'FINISHED') {
this.logger.log(`Media processing finished for task ID: ${task.id}, media ID: ${media.taskId}`);
- mediaStatus = MetaMediaStatus.FINISHED;
+ mediaStatus = PostMediaStatus.FINISHED;
processedCount++;
}
- await this.metaContainerService.updateContainer(media.id, { status: mediaStatus });
+ await this.postMediaContainerService.updateContainer(media.id, { status: mediaStatus });
}
const isMediaCompleted = processedCount === unProcessedContainers.length;
if (!isMediaCompleted) {
this.logger.warn(`Not all media files processed for task ID: ${task.id}. Processed: ${processedCount}, Total: ${containers.length}`);
return {
- status: PublishStatus.PUB_LOADING,
+ status: PublishStatus.PUBLISHING,
message: '媒体文件处理中',
}
}
@@ -185,6 +193,7 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
const createContainerReq: ThreadsContainerRequest = {
media_type: containerTypes,
children: containerIdList,
+ text: task.desc || '',
}
const postContainer = await this.threadsService.createItemContainer(
task.accountId,
@@ -193,7 +202,7 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
if (!postContainer || !postContainer.id) {
this.logger.error(`Failed to create media container for task ID: ${task.id}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '创建媒体容器失败',
noRetry: true,
}
@@ -208,7 +217,7 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
if (!publishRes || !publishRes.id) {
this.logger.error(`Failed to publish media container for task ID: ${task.id}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '发布媒体容器失败',
noRetry: true,
}
@@ -227,7 +236,7 @@ export class ThreadsPublishService extends PublishBase implements MetaPostPublis
await this.overPublishTask(task, publishRes.id, { workLink: permalink });
this.logger.log(`completed: Task ID ${task.id} processed successfully`);
return {
- status: PublishStatus.RELEASED,
+ status: PublishStatus.PUBLISHED,
message: '所有媒体文件已处理完成',
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/twitter.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/twitter.service.ts
index 9867be9e..3bc1829f 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/twitter.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/meta/twitter.service.ts
@@ -1,19 +1,20 @@
import { InjectQueue } from '@nestjs/bullmq'
import { Injectable, Logger } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
import { InjectModel } from '@nestjs/mongoose'
import { AccountType } from '@transports/account/common'
import { Queue } from 'bullmq'
import { Model } from 'mongoose'
import { chunkedDownloadFile, fileUrlToBlob, getFileTypeFromUrl, getRemoteFileSize } from '@/common'
import { TwitterService } from '@/core/plat/twitter/twitter.service'
-import { MetaMediaStatus } from '@/libs/database/schema/metaContainer.schema'
-import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
+import { Account } from '@/libs/database/schema/account.schema'
+import { PostMediaStatus, PostSubCategory } from '@/libs/database/schema/postMediaContainer.schema'
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema'
import { XMediaCategory, XMediaType } from '@/libs/twitter/twitter.enum'
import { PostMedia, XChunkedMediaUploadRequest, XCreatePostRequest, XMediaUploadInitRequest } from '@/libs/twitter/twitter.interfaces'
import { DoPubRes } from '../../common'
import { PublishBase } from '../publish.base'
-import { MetaContainerService } from './container.service'
+import { PostMediaContainerService } from './container.service'
import { MetaPostPublisher, PublishMetaPostTask } from './meta.interface'
@Injectable()
@@ -26,18 +27,19 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
})
constructor(
+ readonly eventEmitter: EventEmitter2,
+ @InjectModel(Account.name)
+ readonly AccountModel: Model<Account>,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
- @InjectQueue('meta_media_task') metaMediaTaskQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
+ @InjectQueue('post_media_task') metaMediaTaskQueue: Queue,
readonly twitterService: TwitterService,
- private readonly metaContainerService: MetaContainerService,
+ private readonly postMediaContainerService: PostMediaContainerService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue)
+ super(eventEmitter, publishTaskModel, publishQueue)
this.metaMediaTaskQueue = metaMediaTaskQueue
- this.metaContainerService = metaContainerService
+ this.postMediaContainerService = postMediaContainerService
}
// TODO: 校验账户授权状态
@@ -83,8 +85,9 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
res.message = '图片初始化上传失败'
return res
}
+ this.logger.log(`initUploadRes: ${JSON.stringify(initUploadRes)}`)
const uploadReq: XChunkedMediaUploadRequest = {
- media: Buffer.from(await imgBlob.blob.arrayBuffer()),
+ media: await imgBlob.blob,
media_id: initUploadRes.data.id,
segment_index: 0,
}
@@ -97,6 +100,7 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
res.message = '图片分片上传失败'
return res
}
+ this.logger.log(`chunkedMediaUploadRequest: ${JSON.stringify(updateRes)}`)
const finalizeUploadRes = await this.twitterService.finalizeMediaUpload(
accountId,
initUploadRes.data.id,
@@ -105,12 +109,15 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
res.message = '确认图片上传失败'
return res
}
- await this.metaContainerService.createMetaPostMedia({
+ this.logger.log(`finalizeMediaUpload: ${JSON.stringify(finalizeUploadRes)}`)
+ await this.postMediaContainerService.createMetaPostMedia({
+ accountId: publishTask.accountId,
publishId: publishTask.id,
userId: publishTask.userId,
platform: 'twitter',
taskId: initUploadRes.data.id,
- status: MetaMediaStatus.CREATED,
+ status: PostMediaStatus.FINISHED,
+ subCategory: PostSubCategory.PHOTO,
})
}
}
@@ -153,7 +160,7 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
}
const uploadReq: XChunkedMediaUploadRequest = {
- media: videoBlob,
+ media: new Blob([videoBlob]),
media_id: initUploadRes.data.id,
segment_index: partNumber,
}
@@ -174,21 +181,25 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
res.message = '确认视频上传完成失败'
return res
}
- await this.metaContainerService.createMetaPostMedia({
+ await this.postMediaContainerService.createMetaPostMedia({
accountId: publishTask.accountId,
publishId: publishTask.id,
userId: publishTask.userId,
platform: 'twitter',
taskId: initUploadRes.data.id,
- status: MetaMediaStatus.CREATED,
+ status: PostMediaStatus.CREATED,
+ subCategory: PostSubCategory.VIDEO,
})
}
const task: PublishMetaPostTask = {
id: publishTask.id,
}
await this.metaMediaTaskQueue.add(
- 'twitter:media:task',
- task,
+ `twitter:media:task:${task.id}`,
+ {
+ taskId: task.id,
+ attempts: 0,
+ },
{
attempts: 0,
removeOnComplete: true,
@@ -196,7 +207,7 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
},
)
- res.status = PublishStatus.PUB_LOADING
+ res.status = PublishStatus.PUBLISHING
res.message = '发布中'
return res;
}
@@ -204,15 +215,15 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
async publish(task: PublishTask): Promise<DoPubRes> {
try {
this.logger.log(`publish: Starting to process task ID: ${task.id}`);
- const medias = await this.metaContainerService.getContainers(task.id);
+ const medias = await this.postMediaContainerService.getContainers(task.id);
if (!medias || medias.length === 0) {
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '没有找到媒体文件',
noRetry: true,
}
}
- const unProcessedMedias = medias.filter(media => media.status !== MetaMediaStatus.FINISHED);
+ const unProcessedMedias = medias.filter(media => media.status !== PostMediaStatus.FINISHED);
this.logger.log(`Found ${medias.length} media files for task ID: ${task.id}`);
let processedCount = 0;
for (const media of unProcessedMedias) {
@@ -224,29 +235,29 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
this.logger.log(`Media status for task ID ${task.id}, media ID ${media.taskId}: ${JSON.stringify(mediaStatusInfo)}`);
if (mediaStatusInfo.data.processing_info.state === 'failed') {
this.logger.error(`Media processing failed for task ID: ${task.id}, media ID: ${media.taskId}`);
- await this.metaContainerService.updateContainer(media.id, { status: MetaMediaStatus.FAILED });
+ await this.postMediaContainerService.updateContainer(media.id, { status: PostMediaStatus.FAILED });
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '资源处理失败',
noRetry: true,
}
}
- let mediaStatus = MetaMediaStatus.CREATED
+ let mediaStatus = PostMediaStatus.CREATED
if (mediaStatusInfo.data.processing_info.state === 'in_progress') {
- mediaStatus = MetaMediaStatus.IN_PROGRESS;
+ mediaStatus = PostMediaStatus.IN_PROGRESS;
}
if (mediaStatusInfo.data.processing_info.state === 'succeeded') {
this.logger.log(`Media processing finished for task ID: ${task.id}, media ID: ${media.taskId}`);
- mediaStatus = MetaMediaStatus.FINISHED;
+ mediaStatus = PostMediaStatus.FINISHED;
processedCount++;
}
- await this.metaContainerService.updateContainer(media.id, { status: mediaStatus });
+ await this.postMediaContainerService.updateContainer(media.id, { status: mediaStatus });
}
const isMediaCompleted = processedCount === unProcessedMedias.length;
if (!isMediaCompleted) {
this.logger.warn(`Not all media files processed for task ID: ${task.id}. Processed: ${processedCount}, Total: ${medias.length}`);
return {
- status: PublishStatus.PUB_LOADING,
+ status: PublishStatus.PUBLISHING,
message: '媒体文件处理中',
}
}
@@ -266,25 +277,29 @@ export class TwitterPublishService extends PublishBase implements MetaPostPublis
if (!createPostRes || !createPostRes.data.id) {
this.logger.log(`Failed to publish media container for task ID: ${task.id}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: '发布媒体容器失败',
noRetry: true,
}
}
- const permalink = `https://x.com/${task.accountId}/status/${createPostRes.data.id}`;
+ let permalink = `https://x.com/${task.uid}/status/${createPostRes.data.id}`;
+ const account = await this.AccountModel.findOne({ _id: task.accountId });
+ if (account && account.account) {
+ permalink = `https://x.com/${account.account}/status/${createPostRes.data.id}`;
+ }
this.logger.log(`Successfully published media container for task ID: ${task.id}`);
await this.overPublishTask(task, createPostRes.data.id, { workLink: permalink });
this.logger.log(`completed: Task ID ${task.id} processed successfully`);
return {
- status: PublishStatus.RELEASED,
+ status: PublishStatus.PUBLISHED,
message: '所有媒体文件已处理完成',
}
}
catch (error) {
this.logger.error(`Error processing task ID ${task.id}: ${error.message || error}`);
return {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
message: `发布失败: ${error.message || error}`,
noRetry: true,
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/publish.base.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/publish.base.ts
index b6189759..1dd3345f 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/publish.base.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/publish.base.ts
@@ -1,23 +1,22 @@
+import { Injectable } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
import { Queue } from 'bullmq'
import { Model } from 'mongoose'
import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema'
import { DoPubRes } from '../common'
-// @Injectable()
+@Injectable()
export abstract class PublishBase {
protected readonly queueName: string = 'unknown'
- // 并发数量
- protected readonly queueAttempts: number = 3
- // 延迟时间
- protected readonly queueDelay: number = 5
+ protected readonly queueAttempts: number = 3 // 并发数量
+ protected readonly queueDelay: number = 5 // 延迟时间
constructor(
+ readonly eventEmitter: EventEmitter2,
readonly publishTaskModel: Model<PublishTask>,
- readonly publishRecordModel: Model<PublishRecord>,
readonly publishQueue: Queue,
- ) {
- }
+ ) {}
// 检测授权是否失效
abstract checkAuth(accountId: string): Promise<{
@@ -32,11 +31,17 @@ export abstract class PublishBase {
return await this.publishTaskModel.create(newData)
}
- private async createPublishRecord(newData: PublishRecord) {
- return await this.publishRecordModel.create({
- ...newData,
- publishTime: new Date(),
- })
+ protected async createPublishRecord(newData: PublishRecord) {
+ newData.publishTime = newData.publishTime || new Date()
+ this.eventEmitter.emit(
+ 'publishRecord.create',
+ newData,
+ );
+
+ // return await this.publishRecordService.createPublishRecord({
+ // ...newData,
+ // publishTime: new Date(),
+ // })
}
/**
@@ -45,13 +50,14 @@ export abstract class PublishBase {
* @param doNum
* @returns
*/
- async pushPubTask(newData: PublishTask, doNum = 0): Promise<boolean> {
- await this.publishQueueOpen(newData.id)
+ async pushPubTask(task: PublishTask, attempts = 0): Promise<boolean> {
+ await this.publishQueueOpen(task.id)
const jobRes = await this.publishQueue.add(
`publish_${this.queueName}`,
{
- id: newData.id,
- doNum: doNum++, // 进行次数
+ taskId: task.id,
+ attempts: attempts++,
+ jobId: task.queueId,
},
{
attempts: this.queueAttempts,
@@ -60,14 +66,15 @@ export abstract class PublishBase {
delay: this.queueDelay, // 每次重试间隔 5 秒
},
removeOnComplete: true,
- jobId: newData.queueId, // 确保任务id唯一,防止重复执行
+ removeOnFail: true,
+ jobId: task.queueId, // 确保任务id唯一,防止重复执行
},
)
- return jobRes.id === newData.queueId
+ return jobRes.id === task.queueId
}
// 将数据的队列状态改为 true
- private async publishQueueOpen(id: string) {
+ async publishQueueOpen(id: string) {
this.publishTaskModel.updateOne({ _id: id }, { inQueue: true })
}
@@ -87,7 +94,7 @@ export abstract class PublishBase {
workLink: string
dataOption?: Record<string, any>
}) {
- newData.status = PublishStatus.RELEASED
+ newData.status = PublishStatus.PUBLISHED
await this.createPublishRecord({
...newData,
...(data || {}),
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/tiktokPub.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/tiktokPub.service.ts
index 6013971b..84824d89 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/tiktokPub.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/tiktokPub.service.ts
@@ -1,9 +1,10 @@
import { InjectQueue } from '@nestjs/bullmq'
import { Injectable, Logger } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
import { InjectModel } from '@nestjs/mongoose'
import { Queue } from 'bullmq'
import { Model } from 'mongoose'
-import { chunkedDownloadFile, getFileSizeFromUrl, getFileTypeFromUrl } from '@/common'
+import { chunkedDownloadFile, getFileTypeFromUrl, getRemoteFileSize } from '@/common'
import { PostInfoDto, VideoFileUploadSourceDto } from '@/core/plat/tiktok/dto/tiktok.dto'
import { TiktokService } from '@/core/plat/tiktok/tiktok.service'
import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
@@ -16,16 +17,20 @@ import { PublishBase } from './publish.base'
@Injectable()
export class TiktokPubService extends PublishBase {
queueName: string = 'tiktok'
+ private readonly logger = new Logger(TiktokPubService.name, {
+ timestamp: true,
+ });
constructor(
+ readonly eventEmitter: EventEmitter2,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
+ @InjectModel(PublishRecord.name)
readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
readonly tiktokService: TiktokService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue)
+ super(eventEmitter, publishTaskModel, publishQueue)
}
// TODO: 校验账户授权状态
@@ -49,12 +54,11 @@ export class TiktokPubService extends PublishBase {
const { accountId, videoUrl } = publishTask
if (videoUrl) {
- const downloadULR = videoUrl.replace('undefined', 'https://ai-to-earn.oss-cn-beijing.aliyuncs.com/')
- const fileName = getFileTypeFromUrl(downloadULR, true)
+ const fileName = getFileTypeFromUrl(videoUrl, true)
const ext = fileName.split('.').pop()?.toLowerCase()
const mimeType = ext === 'mp4' ? 'video/mp4' : `video/${ext}`
- const contentLength = await getFileSizeFromUrl(downloadULR)
+ const contentLength = await getRemoteFileSize(videoUrl)
if (!contentLength) {
res.message = '视频信息解析失败'
return res
@@ -65,8 +69,8 @@ export class TiktokPubService extends PublishBase {
}
const postInfo: PostInfoDto = {
- description: publishTask.desc,
- privacy_level: TiktokPrivacyLevel.SELF_ONLY,
+ title: publishTask.desc,
+ privacy_level: TiktokPrivacyLevel.PUBLIC,
brand_content_toggle: false,
brand_organic_toggle: false,
}
@@ -82,6 +86,7 @@ export class TiktokPubService extends PublishBase {
postInfo,
sourceInfo,
)
+ this.logger.log(`视频初始化上传结果: ${JSON.stringify(initUploadRes)}`)
if (!initUploadRes || !initUploadRes.upload_url) {
res.message = '视频初始化上传失败'
return res
@@ -91,27 +96,29 @@ export class TiktokPubService extends PublishBase {
const start = partNumber * chunkSize
const end = Math.min(start + chunkSize - 1, contentLength - 1)
const range: [number, number] = [start, end]
- const videoBlob = await chunkedDownloadFile(downloadULR, range)
+ const videoBlob = await chunkedDownloadFile(videoUrl, range)
if (!videoBlob) {
res.message = '视频分片下载失败'
return res
}
- await this.tiktokService.chunkedUploadVideoFile(
+ const uploadResult = await this.tiktokService.chunkedUploadVideoFile(
initUploadRes.upload_url,
videoBlob,
partNumber,
contentLength,
mimeType,
)
+ this.logger.log(`视频分片上传完成: ${JSON.stringify(uploadResult)}`)
}
- publishTask.status = PublishStatus.PUB_LOADING
- await this.publishRecordModel.create({
+
+ publishTask.status = PublishStatus.PUBLISHING
+ await this.createPublishRecord({
...publishTask,
dataId: initUploadRes.publish_id,
publishTime: new Date(),
})
- res.status = PublishStatus.RELEASED
+ res.status = PublishStatus.PUBLISHING
res.message = '发布任务已提交,等待处理'
// 完成发布任务
// await this.overPublishTask(publishTask, initUploadRes.publish_id)
@@ -130,34 +137,37 @@ export class TiktokPubService extends PublishBase {
async handleTiktokPostWebhook(dto: TiktokWebhookDto): Promise<void> {
try {
const content = JSON.parse(dto.content);
- if (dto.event.startsWith('post.publish')) {
+ if (!dto.event.startsWith('post.publish')) {
+ this.logger.error(`未知 TikTok 事件类型: ${dto.event}`);
return
}
const publishId = content?.publish_id;
if (!publishId) {
- Logger.error(`invalid publish_id in webhook: ${JSON.stringify(content)}`);
+ this.logger.error(`invalid publish_id in webhook: ${JSON.stringify(content)}`);
return;
}
const publishRecord = await this.getPublishRecord(dto.user_openid, publishId);
if (!publishRecord) {
- Logger.error(`未找到发布记录: ${publishId}, 用户: ${dto.user_openid}`);
+ this.logger.error(`未找到发布记录: ${publishId}, 用户: ${dto.user_openid}`);
return;
}
switch (dto.event) {
case 'post.publish.failed':
- publishRecord.status = PublishStatus.FAIL;
+ this.logger.error(`发布失败: ${JSON.stringify(content)}`);
+ publishRecord.status = PublishStatus.FAILED;
publishRecord.errorMsg = content.reason || '发布失败';
await this.publishRecordModel.updateOne(
{ _id: publishRecord._id },
{ $set: publishRecord },
);
await this.publishTaskModel.updateOne({ _id: publishRecord._id }, {
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
errorMsg: content.reason || '发布失败',
});
break;
case 'post.publish.complete':
- publishRecord.status = PublishStatus.RELEASED;
+ this.logger.log(`发布成功: ${JSON.stringify(content)}`);
+ publishRecord.status = PublishStatus.PUBLISHED;
await this.publishRecordModel.updateOne(
{ _id: publishRecord._id },
{ $set: publishRecord },
@@ -165,7 +175,8 @@ export class TiktokPubService extends PublishBase {
this.publishTaskModel.deleteOne({ _id: publishRecord.id });
break;
case 'post.publish.inbox_delivered':
- publishRecord.status = PublishStatus.RELEASED;
+ this.logger.log(`发布已送达: ${JSON.stringify(content)}`);
+ publishRecord.status = PublishStatus.PUBLISHED;
await this.publishRecordModel.updateOne(
{ _id: publishRecord._id },
{ $set: publishRecord },
@@ -173,7 +184,7 @@ export class TiktokPubService extends PublishBase {
this.publishTaskModel.deleteOne({ _id: publishRecord.id });
break;
case 'post.publish.publicly_available':
- publishRecord.status = PublishStatus.RELEASED;
+ publishRecord.status = PublishStatus.PUBLISHED;
publishRecord.dataId = content.post_id || publishRecord.dataId;
await this.publishRecordModel.updateOne(
{ _id: publishRecord._id },
@@ -181,12 +192,12 @@ export class TiktokPubService extends PublishBase {
);
break;
default:
- Logger.warn(`未知事件类型: ${dto.event}`);
+ this.logger.error(`未知事件类型: ${dto.event}`);
break;
}
}
catch (error) {
- Logger.error(`处理 TikTok webhook 失败: ${error.message}`, error.stack);
+ this.logger.error(`处理 TikTok webhook 失败: ${error.message}`, error.stack);
}
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/wxGzhPub.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/wxGzhPub.service.ts
index e721a9e1..9a505a59 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/wxGzhPub.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/wxGzhPub.service.ts
@@ -1,11 +1,11 @@
import { InjectQueue } from '@nestjs/bullmq'
import { Injectable, Logger } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
import { InjectModel } from '@nestjs/mongoose'
import { AccountType } from '@transports/account/common'
import { Queue } from 'bullmq'
import { Model } from 'mongoose'
import { WxGzhService } from '@/core/plat/wxPlat/wxGzh.service'
-import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
import {
PublishTask,
PublishType,
@@ -20,14 +20,13 @@ export class WxGzhPubService extends PublishBase {
queueName: string = AccountType.WxGzh
constructor(
+ readonly eventEmitter: EventEmitter2,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
readonly wxGzhService: WxGzhService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue)
+ super(eventEmitter, publishTaskModel, publishQueue)
}
async checkAuth(accountId: string): Promise<{
@@ -38,6 +37,7 @@ export class WxGzhPubService extends PublishBase {
}
async doPub(publishTask: PublishTask) {
+ // 开始任务
const res: DoPubRes = {
status: -1,
message: '任务不存在',
@@ -123,6 +123,7 @@ export class WxGzhPubService extends PublishBase {
accountId,
draftAddRes.media_id,
)
+
if (freePublishRes.errcode) {
res.message = `发布任务创建失败: ${freePublishRes.errmsg}`
return res
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/youtubePub.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/youtubePub.service.ts
index 4da959e1..6a657a64 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/youtubePub.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/plat/youtubePub.service.ts
@@ -1,12 +1,12 @@
import { InjectQueue } from '@nestjs/bullmq'
import { Injectable, Logger } from '@nestjs/common'
+import { EventEmitter2 } from '@nestjs/event-emitter'
import { InjectModel } from '@nestjs/mongoose'
import { AccountType } from '@transports/account/common'
import { Queue } from 'bullmq'
import { Model } from 'mongoose'
import { getFileSizeFromUrl, streamDownloadAndUpload } from '@/common'
import { YoutubeService } from '@/core/plat/youtube/youtube.service'
-import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema'
import { DoPubRes } from '../common'
import { PublishBase } from './publish.base'
@@ -16,14 +16,13 @@ export class YoutubePubService extends PublishBase {
queueName: string = AccountType.YOUTUBE
constructor(
+ readonly eventEmitter: EventEmitter2,
@InjectModel(PublishTask.name)
readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- readonly publishRecordModel: Model<PublishRecord>,
- @InjectQueue('bull_publish') publishQueue: Queue,
+ @InjectQueue('post_publish') publishQueue: Queue,
readonly youtubeService: YoutubeService,
) {
- super(publishTaskModel, publishRecordModel, publishQueue)
+ super(eventEmitter, publishTaskModel, publishQueue)
}
// TODO: 校验账户授权状态
@@ -157,7 +156,7 @@ export class YoutubePubService extends PublishBase {
).catch((e) => {
resolve({
message: e.message,
- status: PublishStatus.FAIL,
+ status: PublishStatus.FAILED,
})
})
})
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/postPublish.worker.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/postPublish.worker.ts
new file mode 100644
index 00000000..32fa320a
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/postPublish.worker.ts
@@ -0,0 +1,121 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-07-03 15:16:12
+ * @LastEditTime: 2025-02-10 17:18:50
+ * @LastEditors: nevin
+ * @Description: 视频发布队列
+ */
+import { OnWorkerEvent, Processor, WorkerHost } from '@nestjs/bullmq'
+import { Logger, OnModuleDestroy } from '@nestjs/common'
+import { Job } from 'bullmq'
+import { PublishStatus } from '@/libs/database/schema/publishTask.schema'
+import { PublishTaskService } from './publishTask.service'
+
+@Processor('post_publish', {
+ concurrency: 3,
+ stalledInterval: 15000,
+ maxStalledCount: 1,
+})
+export class PostPublishWorker extends WorkerHost implements OnModuleDestroy {
+ private readonly logger = new Logger(PostPublishWorker.name);
+ constructor(readonly publishTaskService: PublishTaskService) {
+ super()
+ }
+
+ // Todo: doPub timeout control
+ async process(
+ job: Job<{
+ taskId: string
+ attempts: number,
+ jobId?: string
+ timeout?: number
+ }>,
+ ): Promise<any> {
+ const { taskId, attempts, timeout } = job.data
+ this.logger.log(`[task-${taskId}] Processing Publish Task, data: ${JSON.stringify(job.data)}, Attempts: ${attempts}`)
+
+ try {
+ const taskDoc = await this.publishTaskService.getPublishTaskInfo(taskId)
+ if (!taskDoc) {
+ this.logger.error(`[task-${taskId}] Publish task not found: ${taskId}`)
+ return;
+ }
+
+ const taskInfo = taskDoc.toObject()
+ if (timeout && timeout > 0) {
+ this.logger.log(`[task-${taskId}] Publish task timeout set to ${timeout}ms`)
+
+ const publishPromise = this.publishTaskService.doPub(taskInfo)
+ const timeoutPromise = new Promise<never>((_, reject) => {
+ setTimeout(() => {
+ reject(new Error(`[task-${taskId}] Publish task timeout after ${timeout}ms`))
+ }, timeout)
+ })
+
+ const result = await Promise.race([publishPromise, timeoutPromise])
+
+ if (result.status === PublishStatus.FAILED) {
+ this.logger.error(`[task-${taskId}] Publish task failed: ${taskId}, Message: ${result.message}`)
+ throw new Error(result.message)
+ }
+
+ this.logger.log(`[task-${taskId}] Publish task completed successfully with timeout control`)
+ return result
+ }
+ else {
+ const result = await this.publishTaskService.doPub(taskInfo)
+
+ if (result.status === PublishStatus.FAILED) {
+ this.logger.error(`[task-${taskId}] Publish task failed: ${taskId}, Message: ${result.message}`)
+ throw new Error(result.message)
+ }
+
+ this.logger.log(`[task-${taskId}] Publish task completed successfully`)
+ return result
+ }
+ }
+ catch (error) {
+ this.logger.error(`[task-${taskId}] Error processing job ${job.id}: ${error.message}`, error.stack)
+ throw new Error(`[task-${taskId}] Job ${job.id} failed: ${error.message}`, { cause: error });
+ }
+ }
+
+ @OnWorkerEvent('completed')
+ async onCompleted(job: Job<{
+ taskId: string
+ attempts: number,
+ jobId?: string
+ }>) {
+ const { taskId, attempts, jobId } = job.data
+ this.logger.log(`[task-${taskId}] Processing completed for job ${jobId}, taskId: ${taskId}, Attempts: ${attempts}`);
+ }
+
+ @OnWorkerEvent('failed')
+ async onFailed(job: Job<{
+ taskId: string
+ attempts: number,
+ jobId?: string
+ }>, error: Error) {
+ if (job.attemptsMade === job.opts.attempts) {
+ this.logger.error(`[task-${job.data.taskId}] Job ${job.id} failed after all attempts: ${error.message}`);
+ await this.publishTaskService.updatePublishTaskStatus(job.data.taskId, {
+ status: PublishStatus.FAILED,
+ errorMsg: error.message,
+ })
+ this.logger.log(`[task-${job.data.taskId}] Publish task ${job.data.taskId} marked as failed after all attempts.`);
+ return;
+ }
+ this.logger.warn(`[task-${job.data.taskId}] Job ${job.data.taskId} failed, retrying... Attempts made: ${job.attemptsMade}`);
+ }
+
+ @OnWorkerEvent('stalled')
+ onStalled(job: Job<{ taskId: string }>) {
+ this.logger.error(`[task-${job.data.taskId}] Job stalled: ${job.data.taskId}`);
+ }
+
+ async onModuleDestroy() {
+ this.logger.log('PostPublishWorker is being destroyed, closing worker...');
+ await this.worker.close();
+ this.logger.log('PostPublishWorker closed successfully');
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/publish.module.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/publish.module.ts
index 38de60a2..0557bb6f 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/publish.module.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/publish.module.ts
@@ -1,10 +1,13 @@
import { BullModule } from '@nestjs/bullmq'
import { forwardRef, Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
+import { Account, AccountSchema } from '@/libs/database/schema/account.schema'
import {
- MetaContainer,
- MetaContainerSchema,
-} from '@/libs/database/schema/metaContainer.schema'
+ PostMediaContainer,
+ PostMediaContainerSchema,
+} from '@/libs/database/schema/postMediaContainer.schema'
+import { PublishDayInfo, PublishDayInfoSchema } from '@/libs/database/schema/publishDayInfo.schema'
+import { PublishInfo, PublishInfoSchema } from '@/libs/database/schema/publishInfo.schema'
import {
PublishRecord,
PublishRecordSchema,
@@ -30,7 +33,7 @@ import { ThreadsPublishService } from './plat/meta/threads.service'
import { TiktokPubService } from './plat/tiktokPub.service'
import { WxGzhPubService } from './plat/wxGzhPub.service'
import { YoutubePubService } from './plat/youtubePub.service'
-import { BullPublish } from './publish.bull'
+import { PostPublishWorker } from './postPublish.worker'
import { PublishRecordController } from './publishRecord.controller'
import { PublishRecordService } from './publishRecord.service'
import { PublishTaskController } from './publishTask.controller'
@@ -39,18 +42,19 @@ import { PublishTaskService } from './publishTask.service'
@Module({
imports: [
MongooseModule.forFeature([
+ { name: Account.name, schema: AccountSchema },
+ { name: PublishInfo.name, schema: PublishInfoSchema },
+ { name: PublishDayInfo.name, schema: PublishDayInfoSchema },
{ name: PublishRecord.name, schema: PublishRecordSchema },
{ name: PublishTask.name, schema: PublishTaskSchema },
- { name: MetaContainer.name, schema: MetaContainerSchema },
+ { name: PostMediaContainer.name, schema: PostMediaContainerSchema },
]),
BullModule.registerQueue({
- name: 'bull_publish',
+ name: 'post_publish',
}),
BullModule.registerQueue({
- name: 'meta_media_task',
- prefix: 'meta:',
+ name: 'post_media_task',
defaultJobOptions: {
- attempts: 3,
delay: 20000, // 20 seconds
removeOnComplete: true,
},
@@ -67,7 +71,7 @@ import { PublishTaskService } from './publishTask.service'
providers: [
PublishRecordService,
PublishTaskService,
- BullPublish,
+ PostPublishWorker,
BilibiliPubService,
kwaiPubService,
YoutubePubService,
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/publishRecord.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/publishRecord.controller.ts
index ec59390d..0861a67e 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/publishRecord.controller.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/publishRecord.controller.ts
@@ -9,7 +9,7 @@ import { Controller } from '@nestjs/common'
import { Payload } from '@nestjs/microservices'
import { AsyncApiSub } from 'nestjs-asyncapi'
import { NatsMessagePattern } from '@/common'
-import { CreatePublishRecordDto, PublishRecordIdDto, PublishRecordListFilterDto } from './dto/publish.dto'
+import { CreatePublishRecordDto, PublishDayInfoListDto, PublishRecordIdDto, PublishRecordListFilterDto } from './dto/publish.dto'
import { PublishRecordService } from './publishRecord.service'
@Controller()
@@ -73,4 +73,16 @@ export class PublishRecordController {
const res = await this.publishRecordService.getPublishRecordList(data)
return res
}
+
+ @NatsMessagePattern('publish.publishInfo.data')
+ async getPublishInfoData(@Payload() data: { userId: string }) {
+ const res = await this.publishRecordService.getPublishInfoData(data.userId)
+ return res
+ }
+
+ @NatsMessagePattern('publish.PublishDayInfo.list')
+ async getPublishDayInfoList(@Payload() data: PublishDayInfoListDto) {
+ const res = await this.publishRecordService.getPublishDayInfoList(data.filters, data.page)
+ return res
+ }
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/publishRecord.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/publishRecord.service.ts
index b8fc12f9..b0bb3d9c 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/publishRecord.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/publishRecord.service.ts
@@ -6,11 +6,17 @@
* @Description: PublishRecord
*/
import { Injectable } from '@nestjs/common';
+import { OnEvent } from '@nestjs/event-emitter';
import { InjectModel } from '@nestjs/mongoose';
+import moment from 'moment';
import { Model, RootFilterQuery } from 'mongoose';
+import { TableDto } from '@/common/global/dto/table.dto';
+import { PublishDayInfo } from '@/libs/database/schema/publishDayInfo.schema';
+import { PublishInfo } from '@/libs/database/schema/publishInfo.schema';
import { PublishRecord } from '@/libs/database/schema/publishRecord.schema';
import { PublishTask } from '@/libs/database/schema/publishTask.schema';
-import { PublishRecordListFilterDto } from './dto/publish.dto';
+import { PointsNatsApi } from '@/transports/user/points.natsApi';
+import { PublishDayInfoListFiltersDto, PublishRecordListFilterDto } from './dto/publish.dto';
@Injectable()
export class PublishRecordService {
@@ -19,8 +25,12 @@ export class PublishRecordService {
private readonly publishRecordModel: Model<PublishRecord>,
@InjectModel(PublishTask.name)
private readonly publishTaskModel: Model<PublishTask>,
- ) {
- }
+ @InjectModel(PublishInfo.name)
+ private readonly publishInfoModel: Model<PublishInfo>,
+ @InjectModel(PublishDayInfo.name)
+ private readonly publishDayInfoModel: Model<PublishDayInfo>,
+ private readonly pointsNatsApi: PointsNatsApi,
+ ) {}
/**
* 获取发布记录列表
@@ -78,8 +88,130 @@ export class PublishRecordService {
}
// 创建
+ @OnEvent('publishRecord.create', { async: true })
async createPublishRecord(data: Partial<PublishRecord>) {
const res = await this.publishRecordModel.create(data);
+ // Conduct daily data release statistics
+ this.upDayPublishInfo(res);
+ this.grantPublishReward(res)
+ return res;
+ }
+
+ private addPoints(userId: string, amount: number) {
+ this.pointsNatsApi.addPoints({
+ userId,
+ amount,
+ type: 'publish',
+ description: '发布奖励',
+ metadata: {},
+ })
+ }
+
+ private getNeedPubPoints(days: number) {
+ return days <= 7 ? 1 : days <= 21 ? 2 : 3;
+ }
+
+ /**
+ * change day publish info
+ * if data had publish record, update it
+ * @param data
+ */
+ private async upDayPublishInfo(data: PublishRecord) {
+ const today = new Date();
+ this.publishDayInfoModel.findOneAndUpdate(
+ {
+ userId: data.userId,
+ createdAt: {
+ $gte: new Date(today.getFullYear(), today.getMonth(), today.getDate()),
+ $lt: new Date(today.getFullYear(), today.getMonth(), today.getDate() + 1),
+ },
+ },
+ {
+ $inc: { publishTotal: 1 },
+ },
+ {
+ upsert: true,
+ new: true,
+ },
+ ).exec();
+ }
+
+ /**
+ * 获取发布每日信息列表
+ * @param inFilter
+ * @param pageInfo
+ * @returns
+ */
+ async getPublishDayInfoList(inFilter: PublishDayInfoListFiltersDto, pageInfo: TableDto) {
+ const { pageNo, pageSize } = pageInfo
+
+ const filter: RootFilterQuery<PublishDayInfo> = {
+ userId: inFilter.userId,
+ ...(inFilter.time && { createAt: { $gte: inFilter.time[0], $lte: inFilter.time[1] } }),
+ }
+
+ const total = await this.publishDayInfoModel.countDocuments(filter)
+ const list = await this.publishDayInfoModel
+ .find(filter)
+ .sort({ createdAt: -1 })
+ .skip((pageNo! - 1) * pageSize)
+ .limit(pageSize)
+ .lean()
+
+ return {
+ total,
+ list,
+ }
+ }
+
+ // 发放发布奖励
+ async grantPublishReward(data: PublishRecord) {
+ // 1. 查询发放状态
+ const recordInfo = await this.publishInfoModel.findOne({
+ userId: data.userId,
+ });
+ // 2. 第一次发布
+ if (!recordInfo) {
+ this.addPoints(data.userId, 1)
+ this.publishInfoModel.create({
+ userId: data.userId,
+ upInfoDate: new Date(),
+ days: 1,
+ });
+ return
+ }
+
+ const { upInfoDate } = recordInfo;
+ // 如果是今天,直接返回
+ if (moment(upInfoDate).isSame(moment(), 'day')) {
+ return
+ }
+ // 3. 判断upInfoDate时间是否是昨天
+ const isYesterday = moment(upInfoDate).isSame(moment().subtract(1, 'day'), 'day');
+ // 3.1 不是昨天
+ if (!isYesterday) {
+ this.addPoints(data.userId, 1)
+ this.publishInfoModel.updateOne({
+ userId: data.userId,
+ }, {
+ $set: { upInfoDate: new Date(), days: 1 },
+ });
+ return
+ }
+
+ // 3.2 是昨天
+ const { days } = recordInfo;
+ this.addPoints(data.userId, this.getNeedPubPoints(days + 1))
+ this.publishInfoModel.updateOne({
+ userId: data.userId,
+ }, {
+ $set: { upInfoDate: new Date(), days: days + 1 },
+ });
+ }
+
+ // 获取发布信息数据
+ async getPublishInfoData(userId: string) {
+ const res = await this.publishInfoModel.findOne({ userId });
return res;
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/publishTask.controller.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/publishTask.controller.ts
index 05957462..e679a694 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/publishTask.controller.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/publishTask.controller.ts
@@ -21,6 +21,7 @@ import { PublishTaskService } from './publishTask.service';
@Controller()
export class PublishTaskController {
+ private readonly logger = new Logger(PublishTaskController.name);
constructor(
private readonly publishTaskService: PublishTaskService,
private readonly accountService: AccountService,
@@ -30,6 +31,7 @@ export class PublishTaskController {
@NatsMessagePattern('plat.publish.create')
async createPub(@Payload() data: CreatePublishDto) {
try {
+ this.logger.log(`Creating publish task with data: ${JSON.stringify(data)}`);
data.publishTime = new Date(data.publishTime);
const accountInfo = await this.accountService.getAccountInfo(
@@ -48,7 +50,7 @@ export class PublishTaskController {
return res;
}
catch (e) {
- Logger.log(e);
+ this.logger.error(e);
return new AppException(ExceptionCode.File, e);
}
}
@@ -83,20 +85,21 @@ export class PublishTaskController {
const { status, message, noRetry }
= await this.publishTaskService.doPub(info);
- Logger.log(`发布任务${info.id}执行结果:${status} ${message} ${noRetry}`);
+ this.logger.log(`立即发布任务${info.id}执行结果:${status} ${message} ${noRetry}`);
+ this.logger.log(`发布任务${info.id}执行结果:${status} ${message} ${noRetry}`);
return status;
}
@NatsMessagePattern('publish.tiktok.post.webhook')
async handleTiktokWebhook(@Payload() data: any) {
- Logger.log(`Received TikTok webhook: ${JSON.stringify(data)}`);
+ this.logger.log(`Received TikTok webhook: ${JSON.stringify(data)}`);
try {
const dto: TiktokWebhookDto = TiktokWebhookSchema.parse(data);
await this.publishTaskService.handleTiktokPostWebhook(dto);
}
catch (error) {
- Logger.error(`Error handling TikTok webhook: ${error.message}`, error.stack);
+ this.logger.error(`Error handling TikTok webhook: ${error.message}`, error.stack);
throw new AppException(ExceptionCode.File, '处理 TikTok webhook 失败');
}
return { status: 'success', message: 'Webhook processed' };
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/publish/publishTask.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/publish/publishTask.service.ts
index 5c14eebc..92df75f6 100644
--- a/aitoearn_web/server/aitoearn-channel/src/core/publish/publishTask.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/core/publish/publishTask.service.ts
@@ -1,13 +1,12 @@
-import { CRON_SCAN_WINDOW_MS, IMMEDIATE_PUSH_THRESHOLD_MS, TIMED_TASK_INTERVAL } from '@core/publish/constant'
+import { IMMEDIATE_PUSH_THRESHOLD_MS, PUSH_SCHEDULED_TASK_CRON_EXPRESSION, PUSH_SCHEDULED_TASK_QUERY_WINDOW_MS } from '@core/publish/constant'
import { InjectQueue } from '@nestjs/bullmq'
-import { Injectable, Logger } from '@nestjs/common'
+import { Injectable, Logger, OnModuleDestroy } from '@nestjs/common'
import { InjectModel } from '@nestjs/mongoose'
-import { Interval } from '@nestjs/schedule'
+import { Cron } from '@nestjs/schedule'
import { Queue } from 'bullmq'
import { Model, RootFilterQuery } from 'mongoose'
import { v4 as uuidv4 } from 'uuid'
-import { AppException, sleep } from '@/common'
-import { RedisService } from '@/libs'
+import { AppException } from '@/common'
import { PublishRecord } from '@/libs/database/schema/publishRecord.schema'
import { PublishStatus, PublishTask } from '@/libs/database/schema/publishTask.schema'
import { AccountType } from '@/transports/account/common'
@@ -25,70 +24,47 @@ import { WxGzhPubService } from './plat/wxGzhPub.service'
import { YoutubePubService } from './plat/youtubePub.service'
@Injectable()
-export class PublishTaskService {
- private readonly publishMap = new Map<AccountType, PublishBase>()
+export class PublishTaskService implements OnModuleDestroy {
+ private readonly publishServiceMap = new Map<AccountType, PublishBase>()
+ private readonly logger = new Logger(PublishTaskService.name)
constructor(
@InjectModel(PublishTask.name)
private readonly publishTaskModel: Model<PublishTask>,
- @InjectModel(PublishRecord.name)
- private readonly publishRecordModel: Model<PublishRecord>,
private readonly bilibiliPubService: BilibiliPubService,
private readonly kwaiPubService: kwaiPubService,
private readonly youtubePubService: YoutubePubService,
- private readonly redisService: RedisService,
private readonly wxGzhPubService: WxGzhPubService,
private readonly facebookPubService: FacebookPublishService,
private readonly instagramPubService: InstagramPublishService,
private readonly threadPubService: ThreadsPublishService,
private readonly tiktokPubService: TiktokPubService,
private readonly twitterPubService: TwitterPublishService,
- @InjectQueue('bull_publish') private readonly publishQueue: Queue,
+ @InjectQueue('post_publish') private readonly publishQueue: Queue,
) {
- this.publishMap.set(AccountType.BILIBILI, this.bilibiliPubService)
- this.publishMap.set(AccountType.KWAI, this.kwaiPubService)
- this.publishMap.set(AccountType.YOUTUBE, this.youtubePubService);
- this.publishMap.set(AccountType.FACEBOOK, this.facebookPubService)
- this.publishMap.set(AccountType.INSTAGRAM, this.instagramPubService)
- this.publishMap.set(AccountType.THREADS, this.threadPubService)
- this.publishMap.set(AccountType.WxGzh, this.wxGzhPubService)
- this.publishMap.set(AccountType.TIKTOK, this.tiktokPubService)
- this.publishMap.set(AccountType.TWITTER, this.twitterPubService)
-
- // 清除队列中的任务
- // (async () => {
- // Logger.log('------------------------------')
- // const waitingCount = await this.publishQueue.getWaitingCount()
- // const delayedCount = await this.publishQueue.getDelayedCount()
- // const active = await this.publishQueue.getActive()
- // Logger.log(`waitingCount:${waitingCount}`)
- // Logger.log(`delayedCount:${delayedCount}`)
- // Logger.log(`active:${active}`)
- //
- // await this.publishQueue.pause()
- // while (!(await this.publishQueue.isPaused())) {
- // await new Promise(resolve => setTimeout(resolve, 100)) // 等待队列真正暂停
- // }
- // await this.publishQueue.obliterate({ force: true })
- // })()
+ this.publishServiceMap.set(AccountType.BILIBILI, this.bilibiliPubService)
+ this.publishServiceMap.set(AccountType.KWAI, this.kwaiPubService)
+ this.publishServiceMap.set(AccountType.YOUTUBE, this.youtubePubService);
+ this.publishServiceMap.set(AccountType.FACEBOOK, this.facebookPubService)
+ this.publishServiceMap.set(AccountType.INSTAGRAM, this.instagramPubService)
+ this.publishServiceMap.set(AccountType.THREADS, this.threadPubService)
+ this.publishServiceMap.set(AccountType.WxGzh, this.wxGzhPubService)
+ this.publishServiceMap.set(AccountType.TIKTOK, this.tiktokPubService)
+ this.publishServiceMap.set(AccountType.TWITTER, this.twitterPubService)
}
- async createPub(newData: NewPulData<PlatPulOption>) {
- const { publishTime } = newData
- newData['queueId'] = `publish_${newData.accountType}:${uuidv4()}`
- const newTask = await this.publishTaskModel.create(newData)
+ async createPub(taskInfo: NewPulData<PlatPulOption>) {
+ const { publishTime, accountType } = taskInfo
+ taskInfo['queueId'] = `publish:${accountType}:${uuidv4()}`
+ const newTask = await this.publishTaskModel.create(taskInfo)
- if (publishTime.getTime() > Date.now() + IMMEDIATE_PUSH_THRESHOLD_MS)
+ const publishImmediately = publishTime.getTime() < (Date.now() + IMMEDIATE_PUSH_THRESHOLD_MS)
+ if (!publishImmediately)
return newTask
- // 两小时内,直接推送任务
- const server = this.publishMap.get(newData.accountType)
- if (!server)
- throw new AppException(1, '未找到该平台的发布服务')
-
- const res = await server.pushPubTask(newTask)
+ const res = await this.pushPubTask(newTask)
if (!res)
- throw new AppException(1, '创建发布任务失败!')
+ throw new AppException(1, `task publish failed, accountType: ${accountType}`)
return newTask
}
@@ -98,14 +74,13 @@ export class PublishTaskService {
* @returns
*/
async pushPubTask(publishTask: PublishTask) {
- // 两小时内,直接推送任务
- const server = this.publishMap.get(publishTask.accountType)
- if (!server)
- throw new AppException(1, '未找到该平台的发布服务')
+ const pubService = this.publishServiceMap.get(publishTask.accountType)
+ if (!pubService)
+ throw new AppException(1, `publish service for ${publishTask.accountType} not found`)
- const res = await server.pushPubTask(publishTask)
+ const res = await pubService.pushPubTask(publishTask)
if (!res)
- throw new AppException(1, '推送发布任务失败')
+ throw new AppException(1, `task publish failed, accountType: ${publishTask.accountType}`)
return res
}
@@ -115,19 +90,23 @@ export class PublishTaskService {
* @returns 推送结果
*/
async doPub(publishTask: PublishTask) {
- const server = this.publishMap.get(publishTask.accountType)
- Logger.log(`开始执行发布任务 ${publishTask.id}`, server)
- if (!server) {
+ const pubService = this.publishServiceMap.get(publishTask.accountType)
+ this.logger.log(`Processing Publish Task: ${publishTask.id}, Account Type: ${publishTask.accountType}`)
+ if (!pubService) {
return {
- status: PublishStatus.FAIL,
- message: '未找到该平台的发布服务',
+ status: PublishStatus.FAILED,
+ message: `publish service for ${publishTask.accountType} not found`,
noRetry: true,
}
}
- await this.upPublishTaskStatus(publishTask.id, {
- status: PublishStatus.PUB_LOADING,
+ await this.updatePublishTaskStatus(publishTask.id, {
+ status: PublishStatus.PUBLISHING,
})
- const res = await server.doPub(publishTask)
+ console.log('doPublishTask-------------', pubService);
+
+ const res = await pubService.doPub(publishTask)
+ console.log('doPublishTask-------------222222222', res);
+
return res
}
@@ -143,7 +122,7 @@ export class PublishTaskService {
): Promise<PublishTask[]> {
const filters: RootFilterQuery<PublishTask> = {
publishTime: { $gte: start, $lte: end },
- status: PublishStatus.UNPUBLISH,
+ status: PublishStatus.WaitingForPublish,
}
const list = await this.publishTaskModel.find(filters).sort({
publishTime: 1,
@@ -158,7 +137,7 @@ export class PublishTaskService {
* @param newData
* @returns
*/
- async upPublishTaskStatus(
+ async updatePublishTaskStatus(
id: string,
newData: {
errorMsg?: string
@@ -225,20 +204,20 @@ export class PublishTaskService {
}
// 立即发布任务
- async nowPubTask(id: string) {
- const newDataDoc = await this.getPublishTaskInfo(id)
- const newData = newDataDoc!.toObject()
- if (!newData) {
- throw new AppException(1, '任务不存在')
+ async publishTaskNow(id: string) {
+ const taskDoc = await this.getPublishTaskInfo(id)
+ const taskInfo = taskDoc!.toObject()
+ if (!taskInfo) {
+ throw new AppException(1, 'publish task not found')
}
- if (newData.status !== PublishStatus.UNPUBLISH) {
- throw new AppException(1, '任务无法发布')
+ if (taskInfo.status !== PublishStatus.WaitingForPublish) {
+ throw new AppException(1, 'task has been published or is in progress')
}
- const server = this.publishMap.get(newData.accountType)
+ const pubService = this.publishServiceMap.get(taskInfo.accountType)
- newData.publishTime = new Date()
- await this.publishTaskModel.updateOne({ _id: id }, newData)
- server?.pushPubTask(newData)
+ taskInfo.publishTime = new Date()
+ await this.publishTaskModel.updateOne({ _id: id }, taskInfo)
+ await pubService?.pushPubTask(taskInfo)
return true
}
@@ -246,23 +225,38 @@ export class PublishTaskService {
return this.tiktokPubService.handleTiktokPostWebhook(data)
}
- // 定时任务
- @Interval(TIMED_TASK_INTERVAL)
- async handleCron() {
- void this.redisService.setKey('platPublish:task', Date.now(), 60 * 30)
- // 获取当前时间和一个半小时后的时间
- const start = new Date()
- const end = new Date(start.getTime() + CRON_SCAN_WINDOW_MS)
+ // push scheduled publish tasks
+ @Cron(PUSH_SCHEDULED_TASK_CRON_EXPRESSION, { waitForCompletion: true })
+ async pushScheduledPubTasks() {
+ this.logger.log(`Start pushing scheduled publish tasks, current time: ${new Date().toISOString()}`)
+ try {
+ const start = new Date()
+ const end = new Date(start.getTime() + PUSH_SCHEDULED_TASK_QUERY_WINDOW_MS)
- const taskList = await this.getPublishTaskListByTime(start, end)
- Logger.log(
- `--------- 定时任务检测 start(${start.toUTCString()})- end(${end.toUTCString()}),推送${taskList.length}条任务 ---------`,
- )
+ const tasks = await this.getPublishTaskListByTime(start, end)
+ if (tasks.length === 0) {
+ this.logger.log(`Pushing scheduled publish tasks from ${start.toISOString()} to ${end.toISOString()}: No scheduled publish tasks found`)
+ this.logger.log(`Pushing scheduled publish tasks completed, current time: ${new Date().toISOString()}`)
+ return
+ }
+ this.logger.log(
+ `Pushing scheduled publish tasks from ${start.toISOString()} to ${end.toISOString()}, found ${tasks.length} tasks`,
+ )
- taskList.forEach((pubilshTask) => {
- void this.pushPubTask(pubilshTask)
- })
- await sleep(1000 * 60)
- void this.redisService.del('platPublish:task')
+ for (const task of tasks) {
+ await this.pushPubTask(task)
+ }
+ this.logger.log(`Pushing scheduled publish tasks completed, current time: ${new Date().toISOString()}`)
+ }
+ catch (error) {
+ this.logger.error(`Error pushing scheduled publish tasks: ${error.message}`, error.stack)
+ this.logger.log(`Pushing scheduled publish tasks completed, current time: ${new Date().toISOString()}`)
+ }
+ }
+
+ async onModuleDestroy() {
+ this.logger.log('Module is being destroyed, closing publish queue...')
+ await this.publishQueue.close()
+ this.logger.log('Publish queue closed successfully')
}
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/account.schema.ts b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/account.schema.ts
index 0a1bb296..720cc646 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/account.schema.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/account.schema.ts
@@ -45,9 +45,9 @@ export class Account extends BaseTemp {
loginTime?: Date
@Prop({
- required: true,
+ required: false,
})
- avatar: string
+ avatar?: string
@Prop({
required: true,
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/interactionRecord.schema.ts b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/interactionRecord.schema.ts
new file mode 100644
index 00000000..0f307754
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/interactionRecord.schema.ts
@@ -0,0 +1,99 @@
+/*
+ * @Author: nevin
+ * @Date: 2021-12-24 13:46:31
+ * @LastEditors: nevin
+ * @LastEditTime: 2024-08-30 15:01:32
+ * @Description: 互动记录记录 interactionRecord
+ */
+import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
+import { AccountType } from '@/transports/account/common';
+import { BaseTemp } from './time.tamp';
+
+@Schema({
+ collection: 'interactionRecord',
+ versionKey: false,
+ toJSON: { virtuals: true },
+ toObject: { virtuals: true },
+ timestamps: true,
+})
+export class InteractionRecord extends BaseTemp {
+ id: string;
+
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ })
+ userId: string
+
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ })
+ accountId: string
+
+ @Prop({
+ required: true,
+ enum: AccountType,
+ })
+ type: AccountType
+
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ })
+ worksId: string
+
+ // 作品标题
+ @Prop({
+ type: String,
+ default: '',
+ })
+ worksTitle?: string
+
+ // 作品封面
+ @Prop({
+ type: String,
+ })
+ worksCover?: string
+
+ @Prop({
+ type: String,
+ default: '',
+ })
+ worksContent?: string
+
+ @Prop({
+ type: String,
+ })
+ commentContent?: string
+
+ // 评论时间
+ @Prop({
+ type: Date,
+ default: null,
+ })
+ commentTime?: Date
+
+ // 评论备注
+ @Prop({
+ type: String,
+ })
+ commentRemark?: string
+
+ // 点赞时间
+ @Prop({
+ type: Date,
+ })
+ likeTime?: Date
+
+ // 收藏时间
+ @Prop({
+ type: Date,
+ })
+ collectTime?: Date
+}
+
+export const InteractionRecordSchema = SchemaFactory.createForClass(InteractionRecord)
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/postMediaContainer.schema.ts b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/postMediaContainer.schema.ts
new file mode 100644
index 00000000..47aee7aa
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/postMediaContainer.schema.ts
@@ -0,0 +1,89 @@
+import { PlatPulOption } from '@core/publish/common'
+import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
+import mongoose from 'mongoose'
+import { BaseTemp } from './time.tamp'
+
+export enum PostMediaStatus {
+ FAILED = -1,
+ CREATED = 0,
+ IN_PROGRESS = 1,
+ FINISHED = 2,
+}
+
+export enum PostCategory {
+ POST = 'POST',
+ REELS = 'REELS',
+ STORY = 'STORY',
+}
+
+export enum PostSubCategory {
+ PLAINTEXT = 'PLAINTEXT',
+ PHOTO = 'PHOTO',
+ VIDEO = 'VIDEO',
+}
+
+@Schema({
+ collection: 'postMediaContainer',
+ versionKey: false,
+ toJSON: { virtuals: true },
+ toObject: { virtuals: true },
+ timestamps: true,
+})
+
+export class PostMediaContainer extends BaseTemp {
+ id: string
+
+ @Prop({
+ required: true,
+ })
+ publishId: string
+
+ @Prop({
+ required: true,
+ })
+ userId: string
+
+ @Prop({
+ required: true,
+ })
+ platform: string
+
+ @Prop({
+ required: true,
+ })
+ taskId: string
+
+ @Prop({
+ required: true,
+ enum: PostCategory,
+ default: PostCategory.POST,
+ })
+ category: PostCategory
+
+ @Prop({
+ required: true,
+ enum: PostSubCategory,
+ default: PostSubCategory.PLAINTEXT,
+ })
+ subCategory: PostSubCategory
+
+ @Prop({
+ required: true,
+ enum: PostMediaStatus,
+ default: PostMediaStatus.CREATED,
+ })
+ status: PostMediaStatus
+
+ @Prop({
+ required: true,
+ })
+ accountId: string
+
+ @Prop({
+ required: false,
+ type: mongoose.Schema.Types.Mixed,
+ })
+ option: PlatPulOption
+}
+
+export const PostMediaContainerSchema = SchemaFactory.createForClass(PostMediaContainer)
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishDayInfo.schema.ts b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishDayInfo.schema.ts
new file mode 100644
index 00000000..de477fdf
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishDayInfo.schema.ts
@@ -0,0 +1,36 @@
+/*
+ * @Author: nevin
+ * @Date: 2021-12-24 13:46:31
+ * @LastEditors: nevin
+ * @LastEditTime: 2024-08-30 15:01:32
+ * @Description: 每日发布信息
+ */
+import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
+import { BaseTemp } from './time.tamp'
+
+@Schema({
+ collection: 'publishDayInfo',
+ versionKey: false,
+ toJSON: { virtuals: true },
+ toObject: { virtuals: true },
+ timestamps: true,
+})
+export class PublishDayInfo extends BaseTemp {
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ default: '',
+ })
+ userId: string
+
+ // 发布总数
+ @Prop({
+ required: true,
+ type: Number,
+ default: 0,
+ })
+ publishTotal: number
+}
+
+export const PublishDayInfoSchema = SchemaFactory.createForClass(PublishDayInfo)
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishInfo.schema.ts b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishInfo.schema.ts
new file mode 100644
index 00000000..63bd34b2
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishInfo.schema.ts
@@ -0,0 +1,41 @@
+/*
+ * @Author: nevin
+ * @Date: 2021-12-24 13:46:31
+ * @LastEditors: nevin
+ * @LastEditTime: 2024-08-30 15:01:32
+ * @Description: 发布信息
+ */
+import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
+
+@Schema({
+ collection: 'publishInfo',
+ versionKey: false,
+ toJSON: { virtuals: true },
+ toObject: { virtuals: true },
+ timestamps: true,
+})
+export class PublishInfo {
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ default: '',
+ })
+ userId: string
+
+ @Prop({
+ index: true,
+ required: true,
+ type: Date,
+ })
+ upInfoDate: Date
+
+ // 已经连续发布的天数
+ @Prop({
+ type: Number,
+ default: 0,
+ })
+ days: number
+}
+
+export const PublishInfoSchema = SchemaFactory.createForClass(PublishInfo)
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishTask.schema.ts b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishTask.schema.ts
index 5d81777e..aa863e32 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishTask.schema.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/publishTask.schema.ts
@@ -10,10 +10,10 @@ export enum PublishType {
}
export enum PublishStatus {
- FAIL = -1, // 发布失败
- UNPUBLISH = 0, // 未发布
- RELEASED = 1, // 已发布
- PUB_LOADING = 2, // 发布中
+ FAILED = -1, // 发布失败
+ WaitingForPublish = 0, // 未发布
+ PUBLISHED = 1, // 已发布
+ PUBLISHING = 2, // 发布中
}
@Schema({
@@ -102,7 +102,7 @@ export class PublishTask extends BaseTemp {
@Prop({
required: true,
enum: PublishStatus,
- default: PublishStatus.UNPUBLISH,
+ default: PublishStatus.WaitingForPublish,
})
status: PublishStatus
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/replyCommentRecord.schema.ts b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/replyCommentRecord.schema.ts
new file mode 100644
index 00000000..3920607f
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/replyCommentRecord.schema.ts
@@ -0,0 +1,71 @@
+/*
+ * @Author: nevin
+ * @Date: 2021-12-24 13:46:31
+ * @LastEditors: nevin
+ * @LastEditTime: 2024-08-30 15:01:32
+ * @Description: 回复评论的记录 replyCommentRecord
+ */
+import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
+import { AccountType } from '@/transports/account/common';
+import { BaseTemp } from './time.tamp';
+
+@Schema({
+ collection: 'replyCommentRecord',
+ versionKey: false,
+ toJSON: { virtuals: true },
+ toObject: { virtuals: true },
+ timestamps: true,
+})
+export class ReplyCommentRecord extends BaseTemp {
+ id: string;
+
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ })
+ userId: string
+
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ })
+ accountId: string
+
+ // 作品ID
+ @Prop({
+ index: true,
+ type: String,
+ })
+ worksId?: string
+
+ @Prop({
+ required: true,
+ enum: AccountType,
+ })
+ type: AccountType
+
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ })
+ commentId: string
+
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ })
+ commentContent: string
+
+ @Prop({
+ required: true,
+ index: true,
+ type: String,
+ })
+ replyContent: string
+}
+
+export const ReplyCommentRecordSchema = SchemaFactory.createForClass(ReplyCommentRecord)
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/time.tamp.ts b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/time.tamp.ts
index dddb3322..7b949648 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/time.tamp.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/database/schema/time.tamp.ts
@@ -6,6 +6,6 @@
* @Description: 时间模板
*/
export class BaseTemp {
- createAt: Date
+ createdAt: Date
updatedAt: Date
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/facebook/facebook.interfaces.ts b/aitoearn_web/server/aitoearn-channel/src/libs/facebook/facebook.interfaces.ts
index 9be1f114..9a967974 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/facebook/facebook.interfaces.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/facebook/facebook.interfaces.ts
@@ -17,7 +17,7 @@ export interface ChunkedVideoUploadRequest {
upload_session_id: string
start_offset: number
end_offset: number
- video_file_chunk: Buffer
+ video_file_chunk: Buffer<ArrayBuffer>
}
export interface finalizeVideoUploadRequest {
@@ -40,7 +40,7 @@ export interface ResumeVideoUploadRequest {
}
export interface FacebookPost {
- page_id: string
+ page_id?: string
content_category?: string
content_tags?: string[]
custom_labels?: string[]
@@ -48,6 +48,16 @@ export interface FacebookPost {
embeddable?: boolean
}
+export interface PublishFeedPostRequest {
+ message: string
+ published: boolean
+ link?: string
+}
+
+export interface publishFeedPostResponse {
+ id: string
+}
+
export interface PublishVideoPostRequest {
description?: string
title?: string
@@ -246,9 +256,13 @@ export interface FacebookReelResponse {
export interface FacebookReelUploadRequest {
offset: number
file_size: number
- file: Buffer
+ file: Buffer<ArrayBuffer>
}
export interface FacebookReelUploadResponse {
success: boolean
}
+
+export interface FacebookPhotoStoryRequest {
+ photo_id: string
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/facebook/facebook.service.ts b/aitoearn_web/server/aitoearn-channel/src/libs/facebook/facebook.service.ts
index c3f7d11f..c70dc7e8 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/facebook/facebook.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/facebook/facebook.service.ts
@@ -26,6 +26,7 @@ import {
finalizeVideoUploadRequest,
finalizeVideoUploadResponse,
PageAccessTokenResponse,
+ PublishFeedPostRequest,
PublishMediaPostResponse,
PublishVideoForPageRequest,
PublishVideoForPageResponse,
@@ -44,7 +45,7 @@ export class FacebookService {
private readonly apiHost: string = 'https://graph.facebook.com/'
private readonly apiBaseUrl: string = 'https://graph.facebook.com/v23.0'
- constructor() {}
+ constructor() { }
async refreshOAuthCredential(refresh_token: string) {
const lParams: Record<string, string> = {
@@ -63,22 +64,30 @@ export class FacebookService {
}
async initVideoUpload(pageId: string, pageAccessToken: string, req: FacebookInitialVideoUploadRequest): Promise<FacebookInitialVideoUploadResponse> {
- const url = `${this.apiBaseUrl}/${pageId}/videos`
- const config: AxiosRequestConfig = {
- headers: {
- Authorization: `Bearer ${pageAccessToken}`,
- },
+ try {
+ const url = `${this.apiBaseUrl}/${pageId}/videos`
+ const config: AxiosRequestConfig = {
+ headers: {
+ Authorization: `Bearer ${pageAccessToken}`,
+ },
+ }
+ const formData = new FormData()
+ formData.append('upload_phase', req.upload_phase)
+ formData.append('file_size', req.file_size.toString())
+ formData.append('published', req.published.toString())
+ const response: AxiosResponse<FacebookInitialVideoUploadResponse> = await axios.post(
+ url,
+ formData,
+ config,
+ )
+ return response.data
+ }
+ catch (error) {
+ if (error.response) {
+ this.logger.error(`Error initializing video upload for pageId: ${pageId}, error: ${error.response.status} - ${JSON.stringify(error.response.data)}`)
+ }
+ throw new Error(`Error initializing video upload for pageId: ${pageId}`, { cause: error })
}
- const formData = new FormData()
- formData.append('upload_phase', req.upload_phase)
- formData.append('file_size', req.file_size.toString())
- formData.append('published', req.published.toString())
- const response: AxiosResponse<FacebookInitialVideoUploadResponse> = await axios.post(
- url,
- formData,
- config,
- )
- return response.data
}
async getPageAccessToken(accessToken: string): Promise<PageAccessTokenResponse> {
@@ -221,7 +230,7 @@ export class FacebookService {
async uploadPostPhotoByFile(
pageId: string,
pageAccessToken: string,
- file: Buffer,
+ file: Blob,
): Promise<UploadPhotoResponse> {
const url = `${this.apiBaseUrl}/${pageId}/photos`
const config: AxiosRequestConfig = {
@@ -234,8 +243,12 @@ export class FacebookService {
source: file,
},
}
+ const formData = new FormData()
+ formData.append('published', 'false')
+ formData.append('source', file) // assuming JPEG, adjust as needed
const response: AxiosResponse<UploadPhotoResponse> = await axios.postForm(
url,
+ formData,
config,
)
return response.data
@@ -271,32 +284,49 @@ export class FacebookService {
pageId: string,
pageAccessToken: string,
imageIDList: string[],
+ caption?: string,
): Promise<PublishMediaPostResponse> {
- const url = `${this.apiBaseUrl}/${pageId}/photos`
+ const url = `${this.apiBaseUrl}/${pageId}/feed`
const config: AxiosRequestConfig = {
headers: {
'Authorization': `Bearer ${pageAccessToken}`,
'Content-Type': 'application/json',
},
- data: {
- published: true, // immediately publish
+ }
+ try {
+ this.logger.log(`Publishing multiple photo post for pageId: ${pageId}, imageIDList: ${JSON.stringify(imageIDList)}, caption: ${caption}`)
+ // formData.append('attached_media', JSON.stringify(imageIDList.map(id => ({ media_fbid: id }))))
+ // if (caption) {
+ // formData.append('caption', caption)
+ // }
+ const data = {
attached_media: imageIDList.map(id => ({ media_fbid: id })),
- },
+ message: caption || '',
+ published: true,
+ }
+ const response: AxiosResponse<PublishMediaPostResponse> = await axios.post(
+ url,
+ data,
+ config,
+ )
+ return response.data
+ }
+ catch (error) {
+ if (error.response) {
+ this.logger.error(`Failed to publish multiple photo post: ${error.response.status} - ${JSON.stringify(error.response.data)}`)
+ }
+ this.logger.error(`Failed to publish multiple photo post: ${error.message}`)
+ throw new Error(`Failed to publish multiple photo post: ${error.message}`, { cause: error })
}
- const response: AxiosResponse<PublishMediaPostResponse> = await axios.post(
- url,
- config,
- )
- return response.data
}
// https://developers.facebook.com/docs/graph-api/reference/page/photos/#Creating
// https://developers.facebook.com/docs/graph-api/reference/v23.0/page/feed#publish
// https://developers.facebook.com/docs/graph-api/reference/page/photos/#upload
- async publishPlainTextPost(
+ async publishFeedPost(
pageId: string,
pageAccessToken: string,
- message: string,
+ req: PublishFeedPostRequest,
): Promise<PublishMediaPostResponse> {
const url = `${this.apiBaseUrl}/${pageId}/feed`
const config: AxiosRequestConfig = {
@@ -304,13 +334,10 @@ export class FacebookService {
'Authorization': `Bearer ${pageAccessToken}`,
'Content-Type': 'application/json',
},
- data: {
- message,
- published: true, // immediately publish
- },
}
const response: AxiosResponse<PublishMediaPostResponse> = await axios.post(
url,
+ req,
config,
)
return response.data
@@ -559,15 +586,33 @@ export class FacebookService {
): Promise<FacebookReelUploadResponse> {
const config: AxiosRequestConfig = {
headers: {
- Authorization: `Bearer ${pageAccessToken}`,
+ 'Authorization': `Bearer ${pageAccessToken}`,
+ 'Content-type': 'application/octet-stream',
+ 'offset': req.offset.toString(),
+ 'file_size': req.file_size.toString(),
},
}
- const response: AxiosResponse<FacebookReelUploadResponse> = await axios.post(
- uploadURL,
- req,
- config,
- )
- return response.data
+ this.logger.log(`Authorization: Bearer ${pageAccessToken}`)
+ this.logger.log(`Uploading reel with offset: ${req.offset}, file_size: ${req.file_size}`)
+ this.logger.log(`Upload URL: ${uploadURL}`)
+ this.logger.log(`file size: ${req.file.length}`)
+ try {
+ const response: AxiosResponse<FacebookReelUploadResponse> = await axios.post(
+ uploadURL,
+ req.file,
+ config,
+ )
+ const data = response.data
+ this.logger.log(`Reel upload response: ${JSON.stringify(data)}`)
+ return data
+ }
+ catch (error) {
+ if (error.response) {
+ this.logger.error(`Error uploading reel: ${error.response.status} - ${JSON.stringify(error.response.data)}`)
+ }
+ this.logger.error(`Error uploading reel: ${error.message}`)
+ throw new Error(`Error uploading reel: ${error.message}`, { cause: error })
+ }
}
async publishReelPost(
@@ -589,7 +634,7 @@ export class FacebookService {
return response.data
}
- async initStoryUpload(
+ async initVideoStoryUpload(
pageId: string,
pageAccessToken: string,
req: FacebookReelRequest,
@@ -610,25 +655,28 @@ export class FacebookService {
return response.data
}
- async uploadStory(
+ async uploadVideoStory(
pageAccessToken: string,
uploadURL: string,
req: FacebookReelUploadRequest,
): Promise<FacebookReelUploadResponse> {
const config: AxiosRequestConfig = {
headers: {
- Authorization: `Bearer ${pageAccessToken}`,
+ 'Authorization': `Bearer ${pageAccessToken}`,
+ 'Content-type': 'application/octet-stream',
+ 'offset': req.offset.toString(),
+ 'file_size': req.file_size.toString(),
},
}
const response: AxiosResponse<FacebookReelUploadResponse> = await axios.post(
uploadURL,
- req,
+ req.file,
config,
)
return response.data
}
- async publishStoryPost(
+ async publishVideoStoryPost(
pageId: string,
pageAccessToken: string,
req: FacebookReelRequest,
@@ -646,4 +694,25 @@ export class FacebookService {
)
return response.data
}
+
+ async publishPhotoStoryPost(
+ pageId: string,
+ pageAccessToken: string,
+ photo_id: string,
+ ): Promise<FacebookReelResponse> {
+ const url = `${this.apiBaseUrl}/${pageId}/photo_stories`
+ const config: AxiosRequestConfig = {
+ headers: {
+ Authorization: `Bearer ${pageAccessToken}`,
+ },
+ }
+ const response: AxiosResponse<FacebookReelResponse> = await axios.post(
+ url,
+ {
+ photo_id,
+ },
+ config,
+ )
+ return response.data
+ }
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/instagram/instagram.interfaces.ts b/aitoearn_web/server/aitoearn-channel/src/libs/instagram/instagram.interfaces.ts
index 050e2f85..d88a19dd 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/instagram/instagram.interfaces.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/instagram/instagram.interfaces.ts
@@ -13,6 +13,7 @@ export interface UserTag {
}
export interface InstagramPost {
+ content_category?: string
alt_text?: string
caption?: string
collaborators?: string[]
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/instagram/instagram.service.ts b/aitoearn_web/server/aitoearn-channel/src/libs/instagram/instagram.service.ts
index 8d946bd6..62d78c2f 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/instagram/instagram.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/instagram/instagram.service.ts
@@ -70,6 +70,9 @@ export class InstagramService {
return response.data
}
catch (error) {
+ if (error.response) {
+ this.logger.error(`Error response from Instagram API: ${JSON.stringify(error.response.data)}`, error.stack)
+ }
this.logger.error(`Failed to create media container: ${error.message}`, error.stack)
throw new Error('Failed to create media container')
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/pinterest/common.ts b/aitoearn_web/server/aitoearn-channel/src/libs/pinterest/common.ts
new file mode 100644
index 00000000..bcaefa67
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/pinterest/common.ts
@@ -0,0 +1,86 @@
+export interface PinterestApp {
+ id: string
+ secret: string
+ authBackHost: string
+ baseUrl: string
+}
+
+export enum Country {
+ US = 'US',
+ CN = 'CN',
+ UK = 'UK',
+}
+
+export enum Currency {
+ USD = 'USD',
+ UNK = 'UNK',
+}
+
+export interface CreateBoardBody {
+ name: string // board名称;
+ accountId?: string
+}
+
+export interface CreatePinBody {
+ link: string // 点击链接;
+ title: string // 标题
+ description: string // 描述
+ dominant_color: string // RGB表示的颜色 主引脚颜色。十六进制数,例如“#6E7874”。
+ alt_text: string
+ board_id: string // 此 Pin 所属的板块。
+ media_source: MediaSource
+ media_id?: string
+ url?: string
+ items?: CreatePinBodyItem[]
+ accountId?: string
+
+}
+
+interface CreatePinBodyItem {
+ url: string
+ title?: string //
+ description?: string
+ link?: string
+}
+
+interface MediaSource {
+ source_type: SourceType
+}
+
+export interface SourceType {
+ multiple_image_base64: 'multiple_image_base64' //
+ image_base64: 'image_base64' //
+ multiple_image_url: 'multiple_image_url' //
+ image_url: 'image_url' //
+ video_id: 'video_id' //
+}
+
+export enum ILoginStatus {
+ wait = 0,
+ success = 1,
+ expired = 2,
+}
+
+export interface AuthInfo {
+ status: number
+ userId?: string
+ taskId?: string
+ accountId?: string
+ access_token?: string
+ expires_in?: number
+}
+
+export interface UserInfo {
+ account_type: string
+ id: string
+ profile_image: string
+ website_url?: string
+ username: string
+ about?: string
+ business_name?: string
+ board_count?: number
+ pin_count?: number
+ follower_count?: number
+ following_count?: number
+ monthly_views?: number
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/pinterest/pinterestApi.service.ts b/aitoearn_web/server/aitoearn-channel/src/libs/pinterest/pinterestApi.service.ts
index 9ee626f9..25042dac 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/pinterest/pinterestApi.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/pinterest/pinterestApi.service.ts
@@ -5,7 +5,7 @@
* @Description: Pinterest
*/
import { Injectable, Logger } from '@nestjs/common';
-import axios from 'axios';
+import axios, { AxiosResponse } from 'axios';
import * as _ from 'lodash';
import { base64encode } from 'nodejs-base64';
import qs from 'qs';
@@ -13,7 +13,8 @@ import { config } from '@/config';
import {
CreateBoardBody,
CreatePinBody,
-} from './comment';
+ UserInfo,
+} from './common';
@Injectable()
export class PinterestApiService {
@@ -30,6 +31,23 @@ export class PinterestApiService {
this.redirect_uri = cfg.authBackHost;
}
+ /**
+ * 获取用户信息
+ * @param access_token
+ * @returns
+ */
+ async getAccountInfo(access_token: string): Promise<UserInfo> {
+ const uri = `${this.baseUrl}/v5/user_account?`;
+ const headers = {
+ 'Content-Type': 'application/json',
+ 'Authorization': `Bearer ${access_token}`,
+ }
+ const response: AxiosResponse<UserInfo> = await axios
+ .get(uri, { headers })
+
+ return response.data;
+ }
+
/**
* 获取用户的授权Token
* @returns
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/threads/threads.interfaces.ts b/aitoearn_web/server/aitoearn-channel/src/libs/threads/threads.interfaces.ts
index 1e805b89..f95746f9 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/threads/threads.interfaces.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/threads/threads.interfaces.ts
@@ -61,11 +61,11 @@ export interface publicProfileResponse {
views_count: number
}
-export interface ThreadsPost {
+export interface ThreadsPostItem {
id: string
}
export interface ThreadsPostResponse {
- data: ThreadsPost[],
+ data: ThreadsPostItem[],
paging: ThreadsPagination
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/threads/threads.service.ts b/aitoearn_web/server/aitoearn-channel/src/libs/threads/threads.service.ts
index 5990c86f..46d2bf10 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/threads/threads.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/threads/threads.service.ts
@@ -32,11 +32,11 @@ export class ThreadsService {
}
async createItemContainer(
- igUserId: string,
+ threadUserId: string,
accessToken: string,
req: ThreadsContainerRequest,
): Promise<ThreadsPostResponse> {
- const url = `${this.apiBaseUrl}${igUserId}/threads`
+ const url = `${this.apiBaseUrl}${threadUserId}/threads`
const config: AxiosRequestConfig = {
headers: {
Authorization: `Bearer ${accessToken}`,
@@ -58,26 +58,23 @@ export class ThreadsService {
}
async publishPost(
- igUserId: string,
+ threadUserId: string,
accessToken: string,
creationId: string,
): Promise<ThreadsPostResponse> {
+ const url = `${this.apiBaseUrl}${threadUserId}/threads_publish?creation_id=${creationId}`
try {
- const url = `${this.apiBaseUrl}${igUserId}/threads_publish`
const config: AxiosRequestConfig = {
headers: {
Authorization: `Bearer ${accessToken}`,
},
- params: {
- creation_id: creationId,
- },
}
- const response: AxiosResponse<any> = await axios.post(url, config)
+ const response: AxiosResponse<any> = await axios.post(url, {}, config)
return response.data
}
catch (error) {
if (error.response) {
- this.logger.error(`Error response from Threads API: ${JSON.stringify(error.response.data)}`, error.stack)
+ this.logger.error(`Error response from Threads API,URI ${url} thread userId ${threadUserId}, token ${accessToken}, ${JSON.stringify(error.response.error)}`, error.stack)
}
this.logger.error(`Error publishing post: ${error.message}`, error.stack)
throw new Error(`Failed to publish post: ${error.message}`)
@@ -153,11 +150,11 @@ export class ThreadsService {
}
async getAccountAllPosts(
- igUserId: string,
+ threadUserId: string,
accessToken: string,
reqURL?: string,
): Promise<ThreadsPostResponse> {
- const url = reqURL || `${this.apiBaseUrl}${igUserId}/threads`
+ const url = reqURL || `${this.apiBaseUrl}${threadUserId}/threads`
const config: AxiosRequestConfig = {
headers: {
Authorization: `Bearer ${accessToken}`,
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/twitter/twitter.interfaces.ts b/aitoearn_web/server/aitoearn-channel/src/libs/twitter/twitter.interfaces.ts
index 485b55b0..3429e0d8 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/twitter/twitter.interfaces.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/twitter/twitter.interfaces.ts
@@ -72,7 +72,7 @@ export interface XMediaUploadResponse {
}
export interface XChunkedMediaUploadRequest {
- media: Buffer
+ media: Blob,
media_id: string,
segment_index: number
}
@@ -110,23 +110,13 @@ export interface XCreatePostRequest {
direct_message_deep_link?: string
for_super_followers_only?: boolean
geo?: Geo
- media: PostMedia
+ media?: PostMedia
nullcast?: boolean
poll?: PostPoll
quote_tweet_id?: string
reply?: postReply
reply_settings?: PostPollReplySettings
- text: string
-}
-
-export interface XCreatePostResponseData {
- id: string
- text: string
-}
-
-export interface XCreatePostResponse {
- data: XCreatePostResponseData
- errors?: TwitterAPIError[]
+ text?: string
}
export interface XGetPostDetailRequest {
@@ -173,3 +163,59 @@ export interface XGetPostDetailResponse {
data: XGetPostDetailResponseData
errors?: TwitterAPIError[]
}
+
+export interface RePostResponseData {
+ id: string
+ retweeted: boolean
+}
+
+export interface LikePostResponseData {
+ liked: boolean
+}
+
+export interface CreatePostResponseData {
+ id: string
+ text: string
+}
+
+export interface DeletePostResponseData {
+ deleted: boolean
+}
+
+export interface PublicMetrics {
+ retweet_count: number
+ reply_count: number
+ like_count: number
+ quote_count: number
+ impression_count: number
+ bookmark_count: number
+}
+export interface XPostDetailResponseData {
+ public_metrics: PublicMetrics
+ id: string
+ text: string
+}
+export interface XCreatePostResponse {
+ data: CreatePostResponseData
+ errors?: TwitterAPIError[]
+}
+
+export interface XDeletePostResponse {
+ data: DeletePostResponseData
+ errors?: TwitterAPIError[]
+}
+
+export interface XLikePostResponse {
+ data: LikePostResponseData
+ errors?: TwitterAPIError[]
+}
+
+export interface XRePostResponse {
+ data: RePostResponseData
+ errors?: TwitterAPIError[]
+}
+
+export interface XPostDetailResponse {
+ data: XPostDetailResponseData
+ errors?: TwitterAPIError[]
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/libs/twitter/twitter.service.ts b/aitoearn_web/server/aitoearn-channel/src/libs/twitter/twitter.service.ts
index 2fe0a1d0..d3526a27 100644
--- a/aitoearn_web/server/aitoearn-channel/src/libs/twitter/twitter.service.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/libs/twitter/twitter.service.ts
@@ -10,8 +10,12 @@ import {
XChunkedMediaUploadRequest,
XCreatePostRequest,
XCreatePostResponse,
+ XDeletePostResponse,
+ XLikePostResponse,
XMediaUploadInitRequest,
XMediaUploadResponse,
+ XPostDetailResponse,
+ XRePostResponse,
} from './twitter.interfaces'
@Injectable()
@@ -267,10 +271,27 @@ export class TwitterService {
}
}
+ async deletePost(
+ accessToken: string,
+ postId: string,
+ ): Promise<XDeletePostResponse> {
+ const url = `${this.apiBaseUrl}/tweets/${postId}`
+ const config: AxiosRequestConfig = {
+ headers: {
+ Authorization: `Bearer ${accessToken}`,
+ },
+ }
+ const response: AxiosResponse<XDeletePostResponse> = await axios.delete(
+ url,
+ config,
+ )
+ return response.data
+ }
+
async getPostDetail(
accessToken: string,
postId: string,
- ): Promise<XCreatePostResponse> {
+ ): Promise<XPostDetailResponse> {
const url = `${this.apiBaseUrl}/tweets/${postId}`
const config: AxiosRequestConfig = {
headers: {
@@ -282,7 +303,7 @@ export class TwitterService {
'user.fields': 'id,name,username,profile_image_url,verified',
},
}
- const response: AxiosResponse<XCreatePostResponse> = await axios.get(
+ const response: AxiosResponse<XPostDetailResponse> = await axios.get(
url,
config,
)
@@ -308,4 +329,80 @@ export class TwitterService {
)
return response.data
}
+
+ async repost(
+ userId: string,
+ accessToken: string,
+ tweetId: string,
+ ): Promise<XRePostResponse> {
+ const url = `${this.apiBaseUrl}/2/${userId}/retweets`
+ const config: AxiosRequestConfig = {
+ headers: {
+ 'Authorization': `Bearer ${accessToken}`,
+ 'Content-Type': 'application/json',
+ },
+ }
+ const response: AxiosResponse<XRePostResponse> = await axios.post(
+ url,
+ { tweet_id: tweetId },
+ config,
+ )
+ return response.data
+ }
+
+ async unRepost(
+ userId: string,
+ accessToken: string,
+ tweetId: string,
+ ): Promise<XRePostResponse> {
+ const url = `${this.apiBaseUrl}/2/${userId}/retweets/${tweetId}`
+ const config: AxiosRequestConfig = {
+ headers: {
+ Authorization: `Bearer ${accessToken}`,
+ },
+ }
+ const response: AxiosResponse<XRePostResponse> = await axios.delete(
+ url,
+ config,
+ )
+ return response.data
+ }
+
+ async likePost(
+ userId: string,
+ accessToken: string,
+ tweetId: string,
+ ): Promise<XLikePostResponse> {
+ const url = `${this.apiBaseUrl}/2/${userId}/likes`
+ const config: AxiosRequestConfig = {
+ headers: {
+ 'Authorization': `Bearer ${accessToken}`,
+ 'Content-Type': 'application/json',
+ },
+ }
+ const response: AxiosResponse<XLikePostResponse> = await axios.post(
+ url,
+ { tweet_id: tweetId },
+ config,
+ )
+ return response.data
+ }
+
+ async unlikePost(
+ userId: string,
+ accessToken: string,
+ tweetId: string,
+ ): Promise<XLikePostResponse> {
+ const url = `${this.apiBaseUrl}/2/${userId}/likes/${tweetId}`
+ const config: AxiosRequestConfig = {
+ headers: {
+ Authorization: `Bearer ${accessToken}`,
+ },
+ }
+ const response: AxiosResponse<XLikePostResponse> = await axios.delete(
+ url,
+ config,
+ )
+ return response.data
+ }
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/main.ts b/aitoearn_web/server/aitoearn-channel/src/main.ts
index 9ecf3128..0d873156 100644
--- a/aitoearn_web/server/aitoearn-channel/src/main.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/main.ts
@@ -1,4 +1,4 @@
-import { Logger } from '@nestjs/common'
+import { Logger, ShutdownSignal } from '@nestjs/common'
import { NestApplication, NestFactory } from '@nestjs/core'
import { MicroserviceOptions, Transport } from '@nestjs/microservices'
import { NestExpressApplication } from '@nestjs/platform-express'
@@ -26,6 +26,8 @@ async function bootstrap() {
user: config.nats.user,
pass: config.nats.pass,
},
+ }, {
+ inheritAppConfig: true,
})
await app.startAllMicroservices()
@@ -51,6 +53,9 @@ async function bootstrap() {
// @nestjs/schedule 必须依赖 HTTP 服务启动(即 app.listen(...)),否则定时任务不会执行。
app.use(bodyParser.text({ type: 'application/xml' }))
app.use(bodyParser.text({ type: 'text/xml' }))
+ // enable shutdown hooks
+ app.enableShutdownHooks([ShutdownSignal.SIGTERM, ShutdownSignal.SIGINT])
+
await app.listen(config.port, () => {
Logger.log(`---(^_^) nats server start---`)
Logger.log(
diff --git a/aitoearn_web/server/aitoearn-channel/src/transports/account/account.natsApi.ts b/aitoearn_web/server/aitoearn-channel/src/transports/account/account.natsApi.ts
index b33e5614..7510bda9 100644
--- a/aitoearn_web/server/aitoearn-channel/src/transports/account/account.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/transports/account/account.natsApi.ts
@@ -1,7 +1,7 @@
import { Injectable } from '@nestjs/common'
import { NatsApi } from '../api'
import { NatsService } from '../nats.service'
-import { Account, AccountType, NewAccount } from './common'
+import { Account, AccountType, NewAccount, UpdateAccountStatisticsData } from './common'
@Injectable()
export class AccountNatsApi {
@@ -47,4 +47,29 @@ export class AccountNatsApi {
{ accountId },
)
}
+
+ /**
+ * 获取账户ID
+ * @param accountId
+ * @returns
+ */
+ async getAccountByParam(params: { [key: string]: string }) {
+ return await this.natsService.sendMessage<Account>(
+ NatsApi.account.account.getAccountByParam,
+ params,
+ )
+ }
+
+ /**
+ * 更新用户账户统计信息
+ * @param accountId
+ * @param data
+ * @returns
+ */
+ async updateAccountStatistics(accountId: string, data: UpdateAccountStatisticsData) {
+ return await this.natsService.sendMessage<Account>(
+ NatsApi.account.account.updateAccountStatistics,
+ { accountId, ...data },
+ )
+ }
}
diff --git a/aitoearn_web/server/aitoearn-channel/src/transports/account/common.ts b/aitoearn_web/server/aitoearn-channel/src/transports/account/common.ts
index c32a2daf..aaaa408f 100644
--- a/aitoearn_web/server/aitoearn-channel/src/transports/account/common.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/transports/account/common.ts
@@ -33,6 +33,7 @@ export interface Account {
avatar: string
nickname: string
status: AccountStatus // 登录状态,用于判断是否失效
+ channelId?: string
}
export class NewAccount implements Partial<Account> {
@@ -40,16 +41,28 @@ export class NewAccount implements Partial<Account> {
userId: string
type: AccountType
uid: string
- account?: string // 部分平台的补充ID
+ account: string
loginCookie?: string
access_token?: string
refresh_token?: string
token?: string
- avatar: string
+ avatar?: string
nickname: string
lastStatsTime?: Date
loginTime?: Date
+ channelId?: string
+ status?: AccountStatus
}) {
Object.assign(this, data)
}
}
+
+export interface UpdateAccountStatisticsData {
+ workCount?: number
+ fansCount?: number
+ readCount?: number
+ likeCount?: number
+ collectCount?: number
+ commentCount?: number
+ income?: number
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/transports/api.ts b/aitoearn_web/server/aitoearn-channel/src/transports/api.ts
index b990f7bc..456fa634 100644
--- a/aitoearn_web/server/aitoearn-channel/src/transports/api.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/transports/api.ts
@@ -1,9 +1,16 @@
export const NatsApi = {
+ user: {
+ points: {
+ add: 'user.points.add',
+ },
+ },
account: {
account: {
create: 'account.account.create',
getAccountInfo: 'account.account.getAccountInfo',
updateAccountInfo: 'account.account.updateAccountInfo',
+ getAccountByParam: 'account.account.getAccountByParam',
+ updateAccountStatistics: 'account.account.updateAccountStatistics',
},
},
channel: {
diff --git a/aitoearn_web/server/aitoearn-channel/src/transports/nats.module.ts b/aitoearn_web/server/aitoearn-channel/src/transports/nats.module.ts
index 3a15fdc2..b9f37052 100644
--- a/aitoearn_web/server/aitoearn-channel/src/transports/nats.module.ts
+++ b/aitoearn_web/server/aitoearn-channel/src/transports/nats.module.ts
@@ -3,6 +3,7 @@ import { ClientsModule, Transport } from '@nestjs/microservices'
import { config } from '@/config'
import { AccountNatsApi } from './account/account.natsApi'
import { NatsService } from './nats.service'
+import { PointsNatsApi } from './user/points.natsApi'
@Global()
@Module({
@@ -14,7 +15,7 @@ import { NatsService } from './nats.service'
return {
transport: Transport.NATS,
options: {
- name: 'aitoearn-plat-clent',
+ name: config.nats.name,
servers: config.nats.servers,
user: config.nats.user,
pass: config.nats.pass,
@@ -27,10 +28,12 @@ import { NatsService } from './nats.service'
providers: [
NatsService,
AccountNatsApi,
+ PointsNatsApi,
],
exports: [
NatsService,
AccountNatsApi,
+ PointsNatsApi,
],
})
export class NatsModule {}
diff --git a/aitoearn_web/server/aitoearn-channel/src/transports/user/common.ts b/aitoearn_web/server/aitoearn-channel/src/transports/user/common.ts
new file mode 100644
index 00000000..9b88f30f
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/transports/user/common.ts
@@ -0,0 +1,7 @@
+export interface AddPoints {
+ userId: string
+ amount: number
+ type: string
+ description: string
+ metadata: Record<string, any>
+}
diff --git a/aitoearn_web/server/aitoearn-channel/src/transports/user/points.natsApi.ts b/aitoearn_web/server/aitoearn-channel/src/transports/user/points.natsApi.ts
new file mode 100644
index 00000000..2fab13cc
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-channel/src/transports/user/points.natsApi.ts
@@ -0,0 +1,21 @@
+import { Injectable } from '@nestjs/common'
+import { NatsApi } from '../api'
+import { NatsService } from '../nats.service'
+import { AddPoints } from './common'
+
+@Injectable()
+export class PointsNatsApi {
+ constructor(private readonly natsService: NatsService) {}
+
+ /**
+ * 添加积分
+ * @param data
+ * @returns
+ */
+ async addPoints(data: AddPoints) {
+ return await this.natsService.sendMessage<void>(
+ NatsApi.user.points.add,
+ data,
+ )
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/.github/workflows/deploy.yml b/aitoearn_web/server/aitoearn-gateway/.github/workflows/deploy.yml
deleted file mode 100644
index 27e993ba..00000000
--- a/aitoearn_web/server/aitoearn-gateway/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,193 +0,0 @@
-name: Deploy Service
-
-on:
- workflow_dispatch:
- inputs:
- environment:
- description: 选择目标环境
- required: true
- type: choice
- options:
- - dev
- - prod
- version:
- description: 镜像版本 (留空使用默认生成规则)
- required: false
- type: string
- architectures:
- description: 目标平台 (逗号分隔,如 linux/amd64,linux/arm64)
- required: false
- type: string
- default: linux/amd64
-
-permissions:
- id-token: write
- contents: read
-
-env:
- AWS_REGION: ap-southeast-1
- ECR_REGISTRY: 339388639667.dkr.ecr.ap-southeast-1.amazonaws.com
- ROLE_TO_ASSUME: arn:aws:iam::339388639667:role/GithubActions
- IMAGE_REPO: aitoearn
- APP_NAME: aitoearn-gateway
- HELM_REPO: yikart/k8s-apps
- HELM_REPO_URL: https://github.com/yikart/k8s-apps.git
-
-jobs:
- build-and-deploy:
- runs-on: ubuntu-latest
- environment: ${{ github.event.inputs.environment }}
-
- steps:
- - name: Checkout source code
- uses: actions/checkout@v4
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@v4
- with:
- role-to-assume: ${{ env.ROLE_TO_ASSUME }}
- aws-region: ${{ env.AWS_REGION }}
-
- - name: Login to Amazon ECR
- id: login-ecr
- uses: aws-actions/amazon-ecr-login@v2
-
- - name: Generate version
- id: version
- run: |
- if [ -n "${{ github.event.inputs.version }}" ]; then
- VERSION="${{ github.event.inputs.version }}"
- else
- VERSION=$(date +%Y%m%d)-$(git rev-parse --short HEAD)
- fi
- echo "version=$VERSION" >> $GITHUB_OUTPUT
-
- - name: Build and push application
- uses: docker/build-push-action@v5
- with:
- context: .
- file: ./Dockerfile
- platforms: ${{ github.event.inputs.architectures }}
- push: true
- tags: |
- ${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}
- cache-from: type=gha
- cache-to: type=gha,mode=max
-
- - uses: actions/create-github-app-token@v2
- id: generate-token
- with:
- app-id: ${{ secrets.APP_ID }}
- private-key: ${{ secrets.APP_PRIVATE_KEY }}
- owner: yikart
- repositories: k8s-apps
-
- - name: Clone Helm repository
- uses: actions/checkout@v4
- with:
- repository: ${{ env.HELM_REPO }}
- token: ${{ steps.generate-token.outputs.token }}
- path: k8s-apps
-
- - name: Update Helm values
- run: |
- cd k8s-apps
- ENV="${{ github.event.inputs.environment }}"
- VERSION="${{ steps.version.outputs.version }}"
- APP="${{ env.APP_NAME }}"
- VALUES_FILE="${ENV}/values-${APP}.yaml"
-
- if [ -f "$VALUES_FILE" ]; then
- sed -i "s|tag: .*|tag: ${VERSION}|g" "$VALUES_FILE"
- echo "Updated ${APP} tag to ${VERSION}"
- else
- echo "Warning: Values file not found: $VALUES_FILE"
- fi
-
- - name: Update config files
- run: |
- ENV="${{ github.event.inputs.environment }}"
- CONFIG_FILE="config/${ENV}.config.js"
- if [ -f "$CONFIG_FILE" ]; then
- CONFIG_DIR="k8s-apps/${ENV}/configmaps/${{ env.APP_NAME }}"
- mkdir -p "$CONFIG_DIR"
- cp "$CONFIG_FILE" "${CONFIG_DIR}/config.js"
- echo "Updated ${{ env.APP_NAME }} config for ${ENV} environment"
- else
- echo "Warning: Config file not found: $CONFIG_FILE"
- fi
-
- - name: Get source repository changes
- id: source-changes
- run: |
- COMMIT_HISTORY=$(git log --oneline -10 --pretty=format:"- [%h](${{ github.server_url }}/${{ github.repository }}/commit/%H) %s")
- echo 'commit_history<<EOF' >> $GITHUB_OUTPUT
- echo "$COMMIT_HISTORY" >> $GITHUB_OUTPUT
- echo 'EOF' >> $GITHUB_OUTPUT
-
- - name: Create Pull Request in Helm Repo
- id: create-pr
- uses: peter-evans/create-pull-request@v7
- with:
- token: ${{ steps.generate-token.outputs.token }}
- path: ./k8s-apps
- branch: deploy/${{ env.APP_NAME }}-${{ github.event.inputs.environment }}-${{ steps.version.outputs.version }}
- title: 'deploy(${{ github.event.inputs.environment }}): update ${{ env.APP_NAME }} to ${{ steps.version.outputs.version }}'
- body: |
- ## 🚀 部署请求
-
- **应用**: ${{ env.APP_NAME }}
- **环境**: ${{ github.event.inputs.environment }}
- **版本**: ${{ steps.version.outputs.version }}
-
- ### 📋 变更详情
-
- - 更新镜像标签: `${{ env.APP_NAME }}:${{ steps.version.outputs.version }}`
- - 目标环境: `${{ github.event.inputs.environment }}`
-
- ### 📝 源代码变更历史
-
- 最近的提交记录:
- ${{ steps.source-changes.outputs.commit_history }}
-
- ### 🔗 相关信息
-
- - **源仓库**: ${{ github.repository }}
- - **源提交**: [`${{ github.sha }}`](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
- - **镜像地址**: `${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}`
- - **构建日志**: [GitHub Actions Run ${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
- # 提交信息
- commit-message: |
- deploy(${{ github.event.inputs.environment }}): update ${{ env.APP_NAME }} to ${{ steps.version.outputs.version }}
-
- Update image tag for ${{ env.APP_NAME }} in ${{ github.event.inputs.environment }} environment
- Source-Commit: ${{ github.sha }}
- Triggered-By: GitHub Actions
- # PR 的目标分支
- base: main
-
- - name: Summary
- if: always()
- run: |
- echo "## 📦部署摘要" >> $GITHUB_STEP_SUMMARY
- echo "- **应用**: ${{ env.APP_NAME }}" >> $GITHUB_STEP_SUMMARY
- echo "- **环境**: ${{ github.event.inputs.environment }}" >> $GITHUB_STEP_SUMMARY
- echo "- **版本**: ${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
- echo "- **镜像**: \`${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}\`" >> $GITHUB_STEP_SUMMARY
-
- # 检查 create-pr 步骤的 'created' 输出
- if [ "${{ steps.create-pr.outputs.pull-request-number }}" != "" ]; then
- echo "- **状态**: ✅ Pull Request 已创建到 Helm 仓库" >> $GITHUB_STEP_SUMMARY
- # 使用新的输出 'pull-request-url'
- echo "- **PR链接**: ${{ steps.create-pr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
- else
- echo "- **状态**: ⚠️ 无变更,未创建 Pull Request" >> $GITHUB_STEP_SUMMARY
- fi
-
- echo "" >> $GITHUB_STEP_SUMMARY
- echo "### 🔗 快速链接" >> $GITHUB_STEP_SUMMARY
- echo "- [Helm 仓库](${{ env.HELM_REPO_URL }})" >> $GITHUB_STEP_SUMMARY
- echo "- [源代码提交](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})" >> $GITHUB_STEP_SUMMARY
diff --git a/aitoearn_web/server/aitoearn-gateway/.gitignore b/aitoearn_web/server/aitoearn-gateway/.gitignore
index cc582b05..8cfc5bd9 100644
--- a/aitoearn_web/server/aitoearn-gateway/.gitignore
+++ b/aitoearn_web/server/aitoearn-gateway/.gitignore
@@ -55,3 +55,4 @@ pids
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
package-lock.json
+/config/local.config.js
diff --git a/aitoearn_web/server/aitoearn-gateway/Dockerfile b/aitoearn_web/server/aitoearn-gateway/Dockerfile
index e7ad00f5..5c6b3931 100644
--- a/aitoearn_web/server/aitoearn-gateway/Dockerfile
+++ b/aitoearn_web/server/aitoearn-gateway/Dockerfile
@@ -14,7 +14,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm i --frozen-lockfile;
COPY nest-cli.json tsconfig.json ./
COPY src ./src
-COPY config ./config
+
RUN nest build;
diff --git a/aitoearn_web/server/aitoearn-gateway/config/dev.config.js b/aitoearn_web/server/aitoearn-gateway/config/dev.config.js
index 6240e642..debbb9e2 100644
--- a/aitoearn_web/server/aitoearn-gateway/config/dev.config.js
+++ b/aitoearn_web/server/aitoearn-gateway/config/dev.config.js
@@ -11,19 +11,19 @@ const {
NATS_PASSWORD,
} = process.env
-// 添加 AWS 凭证环境变量
-const { AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY } = process.env;
-
-// 添加邮件认证环境变量
-const { MAIL_USER, MAIL_PASS } = process.env;
-
-// 添加 Qwen API 密钥环境变量
-const { QWEN_API_KEY } = process.env;
-
-// 添加 JWT 密钥环境变量
-const { JWT_SECRET } = process.env;
+const {
+ MONGODB_USERNAME,
+ MONGODB_PASSWORD,
+ CLOUDWATCH_ACCESS_KEY_ID,
+ CLOUDWATCH_SECRET_ACCESS_KEY,
+ S3_ACCESS_KEY_ID,
+ S3_SECRET_ACCESS_KEY,
+ MAIL_PASSWORD,
+ AI_QWEN_KEY,
+ JWT_SECRET
+} = process.env
-module.exports = {
+module.exports = {
port: 7000,
enableBadRequestDetails: true,
docs: {
@@ -38,8 +38,8 @@ module.exports = {
cloudWatch: {
enable: true,
region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
+ accessKeyId: CLOUDWATCH_ACCESS_KEY_ID,
+ secretAccessKey: CLOUDWATCH_SECRET_ACCESS_KEY,
group: 'aitoearn-apps',
prefix: 'dev',
},
@@ -52,7 +52,7 @@ module.exports = {
connectTimeout: 10000,
},
mongodb: {
- uri: `mongodb://root:yikart%[email protected]:27017/aitoearn?authSource=admin&directConnection=true`,
+ uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@dev.x.ai:27017/aitoearn?authSource=admin&directConnection=true`,
dbName: 'aitoearn',
},
nats: {
@@ -62,44 +62,51 @@ module.exports = {
pass: NATS_PASSWORD,
prefix: 'dev',
},
+
+ // 邮件配置
mail: {
transport: {
- host: 'smtp.feishu.cn',
+ host: 'smtp.x.cn',
port: 587,
secure: false,
auth: {
- user: MAIL_USER,
- pass: MAIL_PASS,
+ pass: MAIL_PASSWORD,
},
},
defaults: {
},
},
awsS3: {
region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
- bucketName: 'aitoearn',
+ accessKeyId: S3_ACCESS_KEY_ID,
+ secretAccessKey: S3_SECRET_ACCESS_KEY,
+ bucketName: 'x',
},
payment: {
- successfulCallback: 'https://dev.aitoearn.ai',
+ successfulCallback: 'https://dev.x.ai',
},
pinterest: {
redirect_url: '/en/pinterest',
},
ai: {
- qwenKey: QWEN_API_KEY,
+ qwenKey: AI_QWEN_KEY,
},
+
+ // JWT 配置
jwt: {
secret: JWT_SECRET,
expiresIn: '30d',
},
+
tms: {
},
+
+ // 环境配置
environment: 'development',
- mailBackHost: 'https://dev.aitoearn.ai',
- channelAuthBackUrl: 'https://dev.aitoearn.ai/en/accounts',
+ mailBackHost: 'https://x.ai',
+ channelAuthBackUrl: 'https://x.ai/en/accounts',
}
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-gateway/config/prod.config.js b/aitoearn_web/server/aitoearn-gateway/config/prod.config.js
deleted file mode 100644
index 18d8bae2..00000000
--- a/aitoearn_web/server/aitoearn-gateway/config/prod.config.js
+++ /dev/null
@@ -1,105 +0,0 @@
-const {
- REDIS_HOST,
- REDIS_PORT,
- REDIS_PASSWORD,
-} = process.env
-
-const {
- NATS_HOST,
- NATS_PORT,
- NATS_USERNAME,
- NATS_PASSWORD,
-} = process.env
-
-// 添加 AWS 凭证环境变量
-const { AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY } = process.env;
-
-// 添加邮件认证环境变量
-const { MAIL_USER, MAIL_PASS } = process.env;
-
-// 添加 Qwen API 密钥环境变量
-const { QWEN_API_KEY } = process.env;
-
-// 添加 JWT 密钥环境变量
-const { JWT_SECRET } = process.env;
-
-module.exports = {
- port: 7000,
- enableBadRequestDetails: true,
- docs: {
- enabled: true,
- path: '/api/docs',
- },
- logger: {
- console: {
- enable: true,
- level: 'debug',
- },
- cloudWatch: {
- enable: true,
- region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
- group: 'aitoearn-apps',
- prefix: 'dev',
- },
- },
- redis: {
- host: REDIS_HOST,
- port: Number(REDIS_PORT),
- password: REDIS_PASSWORD,
- db: 1,
- connectTimeout: 10000,
- },
- mongodb: {
- uri: `mongodb://root:yikart%[email protected]:27017/aitoearn?authSource=admin&directConnection=true`,
- dbName: 'aitoearn',
- },
- nats: {
- name: 'aitoearn-gateway-dev',
- servers: [`nats://${NATS_USERNAME}:${NATS_PASSWORD}@${NATS_HOST}:${NATS_PORT}`],
- user: NATS_USERNAME,
- pass: NATS_PASSWORD,
- prefix: 'dev',
- },
- mail: {
- transport: {
- host: 'smtp.feishu.cn',
- port: 587,
- secure: false,
- auth: {
- user: MAIL_USER,
- pass: MAIL_PASS,
- },
- },
- defaults: {
- },
- },
-
- awsS3: {
- region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
- bucketName: 'aitoearn',
- },
- payment: {
- successfulCallback: 'https://dev.aitoearn.ai',
- },
- pinterest: {
- redirect_url: '/en/pinterest',
- },
- ai: {
- qwenKey: QWEN_API_KEY,
- },
- jwt: {
- secret: JWT_SECRET,
- expiresIn: '30d',
- },
- tms: {
-
- },
- environment: 'production',
- mailBackHost: 'https://dev.aitoearn.ai',
- channelAuthBackUrl: 'https://dev.aitoearn.ai/en/accounts',
-}
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-gateway/ecosystem.config.js b/aitoearn_web/server/aitoearn-gateway/ecosystem.config.js
deleted file mode 100644
index e1ae064e..00000000
--- a/aitoearn_web/server/aitoearn-gateway/ecosystem.config.js
+++ /dev/null
@@ -1,19 +0,0 @@
-module.exports = {
- apps: [
- {
- name: 'aitoearn-gateway-server',
- script: 'dist/main.js',
- args: '-c config/dev.config.js',
- instances: '1',
- exec_mode: 'cluster',
- env: {
- NODE_ENV: 'development',
- },
- env_production: {
- NODE_ENV: 'production',
- },
- log_date_format: 'YYYY-MM-DD_HH:mm Z',
- merge_logs: true,
- },
- ],
-}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/app.module.ts b/aitoearn_web/server/aitoearn-gateway/src/app.module.ts
index 855fba48..bd884acd 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/app.module.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/app.module.ts
@@ -1,5 +1,5 @@
import * as path from 'node:path'
-import { AppExceptionFilter } from '@common/filters/AppException.filter'
+import { GlobalExceptionFilter } from '@common/filters/global-exception.filter'
import { LoggerMiddleware } from '@common/middleware/log.middleware'
import { ZodValidationPipe } from '@common/pipes'
import { CoreModule } from '@core/core.module'
@@ -73,7 +73,7 @@ if (config.logger.console?.enable) {
},
{
provide: APP_FILTER,
- useClass: AppExceptionFilter,
+ useValue: new GlobalExceptionFilter({ returnBadRequestDetails: true }),
},
AppService,
],
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/constants/constants.ts b/aitoearn_web/server/aitoearn-gateway/src/common/constants/constants.ts
index dfc17c6c..e69de29b 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/common/constants/constants.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/constants/constants.ts
@@ -1,24 +0,0 @@
-export const organList = [
- '脑',
- '眼',
- '口腔',
- '耳鼻喉',
- '甲状腺',
- '乳腺',
- '心脏',
- '肺',
- '肝',
- '胆',
- '脾',
- '胃',
- '肾',
- '胰',
- '输尿管',
- '膀胱',
- '前列腺',
- '肛肠',
- '骨骼',
- '血管',
- '血液',
- '其他位置',
-]
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/enums/exception-code.enum.ts b/aitoearn_web/server/aitoearn-gateway/src/common/enums/exception-code.enum.ts
index 1de29cb8..ba13c2c2 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/common/enums/exception-code.enum.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/enums/exception-code.enum.ts
@@ -1,6 +1,7 @@
export enum ExceptionCode {
Success = 0,
+ NatsMessageError = 10000,
// 通用错误码 (10xxx)
InvalidRequest = 10001,
Unauthorized = 10002,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/filters/AppException.filter.ts b/aitoearn_web/server/aitoearn-gateway/src/common/filters/AppException.filter.ts
index 780e9142..fcfc3560 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/common/filters/AppException.filter.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/filters/AppException.filter.ts
@@ -12,25 +12,31 @@ import {
HttpStatus,
Logger,
} from '@nestjs/common'
-import { HttpResult } from './httpException.filter'
// 全部错误
-@Catch(Error)
+@Catch()
export class AppExceptionFilter implements ExceptionFilter {
+ private readonly logger = new Logger(AppExceptionFilter.name)
+ constructor() {
+ console.log('AppExceptionFilter init')
+ }
+
catch(error: Error, host: ArgumentsHost) {
+ console.log('AppExceptionFilter catch---------')
const ctx = host.switchToHttp()
const response = ctx.getResponse()
const request = ctx.getRequest()
- Logger.error({
+ this.logger.error({
url: request.originalUrl,
- level: 'error',
message: `系统出错:${response.originalUrl}`,
mate: error.stack,
stack: error.stack,
})
- const errorResponse: HttpResult<string> = {
+ console.log('xxxxxxxxxxxxxx', error)
+
+ const errorResponse = {
message: '系统出错:',
code: 1, // 自定义code
url: request.originalUrl, // 错误的url地址
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/filters/global-exception.filter.ts b/aitoearn_web/server/aitoearn-gateway/src/common/filters/global-exception.filter.ts
new file mode 100644
index 00000000..fbc1589f
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/filters/global-exception.filter.ts
@@ -0,0 +1,68 @@
+import {
+ ArgumentsHost,
+ Catch,
+ ExceptionFilter,
+ HttpException,
+ InternalServerErrorException,
+ Logger,
+} from '@nestjs/common'
+
+import { Response } from 'express'
+import { Observable, of } from 'rxjs'
+import { CommonResponse } from '../interfaces'
+import { getExceptionPayload } from '../utils/exception.util'
+
+export interface GlobalExceptionFilterOptions {
+ returnBadRequestDetails?: boolean
+}
+
+@Catch()
+export class GlobalExceptionFilter<T> implements ExceptionFilter<T> {
+ protected readonly logger = new Logger(GlobalExceptionFilter.name)
+ constructor(private options: GlobalExceptionFilterOptions = {}) {}
+
+ catch(exception: T, host: ArgumentsHost): void | Observable<CommonResponse<unknown>> {
+ if (
+ !(exception instanceof HttpException)
+ || exception instanceof InternalServerErrorException
+ ) {
+ this.logger.fatal(exception)
+ }
+ else {
+ this.logger.error(exception)
+ }
+
+ const payload = getExceptionPayload(exception, this.options.returnBadRequestDetails)
+
+ return this.handleError(host, {
+ ...payload,
+ timestamp: Date.now(),
+ })
+ }
+
+ handleError(host: ArgumentsHost, payload: CommonResponse<unknown>) {
+ // const type = host.getType()
+
+ // if (type === 'rpc') {
+ // return this.handleRpcError(host, payload)
+ // }
+ return this.handleHttpError(host, payload)
+ }
+
+ // private handleRpcError(
+ // host: ArgumentsHost,
+ // payload: CommonResponse<unknown>,
+ // ) {
+ // return of(payload)
+ // }
+
+ private handleHttpError(
+ host: ArgumentsHost,
+ payload: CommonResponse<unknown>,
+ ) {
+ const ctx = host.switchToHttp()
+ const response = ctx.getResponse<Response>()
+
+ response.status(200).json(payload)
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/filters/httpException.code.ts b/aitoearn_web/server/aitoearn-gateway/src/common/filters/httpException.code.ts
index 8a88f424..eed5c2c0 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/common/filters/httpException.code.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/filters/httpException.code.ts
@@ -21,6 +21,7 @@ export enum ErrHttpBack {
err_user_pop_code_null = 10001005,
err_user_status = 10001006,
err_user_password = 10001007,
+ err_user_vip_had = 10010001,
}
export const ErrHttpBackMap: Map<ErrHttpBack, ErrorHttpBack> = new Map([
@@ -55,4 +56,8 @@ export const ErrHttpBackMap: Map<ErrHttpBack, ErrorHttpBack> = new Map([
ErrHttpBack.err_user_pop_code_null,
{ errCode: 1, message: '用户推广码不存在' },
],
+ [
+ ErrHttpBack.err_user_vip_had,
+ { errCode: ErrHttpBack.err_user_vip_had, message: '请勿重复设置体验VIP' },
+ ],
])
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/interceptor/transform.interceptor.ts b/aitoearn_web/server/aitoearn-gateway/src/common/interceptor/transform.interceptor.ts
index 47650e3b..39668c5a 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/common/interceptor/transform.interceptor.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/interceptor/transform.interceptor.ts
@@ -15,7 +15,7 @@ import {
} from '@nestjs/common'
import { Observable } from 'rxjs'
import { map } from 'rxjs/operators'
-import { HttpResult } from 'src/common/filters/httpException.filter'
+import { HttpResult } from '../interfaces'
@Injectable()
export class OrgGuard implements CanActivate {
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/interfaces/index.ts b/aitoearn_web/server/aitoearn-gateway/src/common/interfaces/index.ts
new file mode 100644
index 00000000..134ce107
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/interfaces/index.ts
@@ -0,0 +1,2 @@
+export * from './response.interface'
+export * from './table.interface'
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/interfaces/response.interface.ts b/aitoearn_web/server/aitoearn-gateway/src/common/interfaces/response.interface.ts
index 2f7feb46..a874f1c8 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/common/interfaces/response.interface.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/interfaces/response.interface.ts
@@ -1,6 +1,13 @@
+export interface CommonResponse<T> {
+ data?: T
+ code: number
+ message: string
+ timestamp?: number
+}
+
export interface HttpResult<T> {
- data: T
- msg: string
- code: 0 | string
- url: string
+ data?: T // 数据
+ message: string // 信息
+ code: number // 自定义code
+ url: string // 错误的url地址
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/common/utils/exception.util.ts b/aitoearn_web/server/aitoearn-gateway/src/common/utils/exception.util.ts
new file mode 100644
index 00000000..f073531b
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/common/utils/exception.util.ts
@@ -0,0 +1,76 @@
+import { BadRequestException, HttpException } from '@nestjs/common'
+import { AppException } from '../exceptions/app.exception'
+import { CommonResponse } from '../interfaces'
+
+const MESSAGES = {
+ UNKNOWN_EXCEPTION_MESSAGE: 'Internal server error',
+ BAD_REQUEST_MESSAGE: 'Bad request',
+}
+
+export function getExceptionPayload(exception: unknown, returnBadRequestDetails = false): Omit<CommonResponse<unknown>, 'url' | 'timestamp'> {
+ if (exception instanceof AppException) {
+ return getPayloadFromAppException(exception)
+ }
+
+ if (exception instanceof BadRequestException) {
+ return getPayloadFromBadRequestException(exception, returnBadRequestDetails)
+ }
+
+ if (exception instanceof HttpException) {
+ return getPayloadFromHttpException(exception)
+ }
+
+ return getDefaultPayload()
+}
+
+function getPayloadFromAppException(exception: AppException) {
+ const response = exception.getResponse() as CommonResponse<unknown>
+
+ return {
+ data: response.data || {},
+ code: response.code,
+ message: response.message,
+ }
+}
+
+function getPayloadFromHttpException(exception: HttpException) {
+ // eslint-disable-next-line ts/no-explicit-any
+ const response: any = exception.getResponse()
+ const code = exception.getStatus()
+
+ const data = {}
+
+ if (typeof response === 'string') {
+ return {
+ data,
+ code,
+ message: response,
+ }
+ }
+
+ return {
+ data: response.data ?? data,
+ code: response.code ?? code,
+ message: response.message ?? MESSAGES.UNKNOWN_EXCEPTION_MESSAGE,
+ }
+}
+
+function getPayloadFromBadRequestException(exception: BadRequestException, returnBadRequestDetails: boolean) {
+ if (returnBadRequestDetails) {
+ return getPayloadFromHttpException(exception)
+ }
+
+ return {
+ data: {},
+ code: 400,
+ message: MESSAGES.BAD_REQUEST_MESSAGE,
+ }
+}
+
+function getDefaultPayload() {
+ return {
+ data: {},
+ code: 500,
+ message: MESSAGES.UNKNOWN_EXCEPTION_MESSAGE,
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/account/accountGroup/comment.ts b/aitoearn_web/server/aitoearn-gateway/src/core/account/accountGroup/comment.ts
index b7337605..4bf1211a 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/account/accountGroup/comment.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/account/accountGroup/comment.ts
@@ -2,6 +2,9 @@ export interface AccountGroup {
id: string
userId: string
isDefault: boolean
+ ip?: string
+ location?: string
+ proxyIp?: string
name: string
rank: number
createAt: Date
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/account/accountGroup/dto/accountGroup.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/account/accountGroup/dto/accountGroup.dto.ts
index 3da237e6..b8e43d52 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/account/accountGroup/dto/accountGroup.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/account/accountGroup/dto/accountGroup.dto.ts
@@ -15,6 +15,22 @@ export class CreateAccountGroupDto {
@Expose()
rank?: number
+ @IsString({ message: 'IP' })
+ @IsOptional()
+ @Expose()
+ ip?: string
+
+ @IsString({ message: '地址' })
+ @IsOptional()
+ @Expose()
+ location?: string
+
+ @ApiProperty({ description: '代理IP' })
+ @IsString({ message: '代理IP' })
+ @IsOptional()
+ @Expose()
+ proxyIp?: string
+
@ApiProperty({ description: '浏览器配置必须为JSON格式' })
@IsJSON()
@IsOptional()
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.controller.ts
index bdb39406..cfc6967a 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.controller.ts
@@ -1,9 +1,10 @@
import { Body, Controller, Get, Param, Post, Query } from '@nestjs/common'
import { ApiOperation, ApiTags } from '@nestjs/swagger'
-import { GetToken } from '@/auth/auth.guard'
+import { GetToken, Public } from '@/auth/auth.guard'
import { TokenInfo } from '@/auth/interfaces/auth.interfaces'
import { AiService } from './ai.service'
import {
+ ChatModelVo,
FireflycardResponseVo,
ImageEditModelVo,
ImageGenerationModelVo,
@@ -212,6 +213,7 @@ export class AiController {
}
@ApiOperation({ summary: '获取图片生成模型参数' })
+ @Public()
@Get('models/image/generation')
async getImageGenerationModels(): Promise<ImageGenerationModelVo[]> {
const response = await this.aiService.getImageGenerationModels()
@@ -219,6 +221,7 @@ export class AiController {
}
@ApiOperation({ summary: '获取图片编辑模型参数' })
+ @Public()
@Get('models/image/edit')
async getImageEditModels(): Promise<ImageEditModelVo[]> {
const response = await this.aiService.getImageEditModels()
@@ -226,9 +229,18 @@ export class AiController {
}
@ApiOperation({ summary: '获取视频生成模型参数' })
+ @Public()
@Get('models/video/generation')
async getVideoGenerationModels(): Promise<VideoGenerationModelVo[]> {
const response = await this.aiService.getVideoGenerationModels()
return response.map(item => VideoGenerationModelVo.create(item))
}
+
+ @ApiOperation({ summary: '获取对话模型参数' })
+ @Public()
+ @Get('models/chat')
+ async getChatModels(): Promise<ChatModelVo[]> {
+ const response = await this.aiService.getChatModels()
+ return response.map(item => ChatModelVo.create(item))
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.service.ts
index 68739d8e..eceba32b 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.service.ts
@@ -1,5 +1,6 @@
import { Injectable } from '@nestjs/common'
import {
+ ChatModel,
FireflycardGenerationRequest,
ImageEditModel,
ImageGenerationModel,
@@ -143,4 +144,12 @@ export class AiService {
async getVideoGenerationModels(): Promise<VideoGenerationModel[]> {
return await this.aiNatsApi.getVideoGenerationModels()
}
+
+ /**
+ * 获取对话模型参数
+ * @returns 对话模型参数列表
+ */
+ async getChatModels(): Promise<ChatModel[]> {
+ return await this.aiNatsApi.getChatModels()
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.vo.ts b/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.vo.ts
index a28f4b88..90377d2f 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.vo.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/ai/ai.vo.ts
@@ -137,9 +137,26 @@ export class ImageEditModelVo extends createZodDto(imageEditModelSchema) {}
const videoGenerationModelSchema = z.object({
name: z.string().describe('模型名称'),
description: z.string().describe('模型描述'),
- modes: z.array(z.string()).describe('支持的模式'),
+ modes: z.array(z.string()).describe('支持的模式, text2video, image2video'),
sizes: z.array(z.string()).describe('支持的尺寸'),
durations: z.array(z.number()).describe('支持的时长'),
+ supportedParameters: z.array(z.string()).describe('支持的参数, image, image_tail'),
})
export class VideoGenerationModelVo extends createZodDto(videoGenerationModelSchema) {}
+
+// 对话模型参数 VO
+const chatModelSchema = z.object({
+ name: z.string(),
+ description: z.string(),
+ inputModalities: z.array(z.enum(['text', 'image', 'video', 'audio'])).describe('输入模态'),
+ outputModalities: z.array(z.enum(['text', 'image', 'video', 'audio'])).describe('输出模态'),
+ pricing: z.object({
+ prompt: z.string(),
+ completion: z.string(),
+ image: z.string().optional(),
+ audio: z.string().optional(),
+ }),
+})
+
+export class ChatModelVo extends createZodDto(chatModelSchema) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/ai/dto/ai-chat.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/ai/dto/ai-chat.dto.ts
index 2e7da144..424b19b3 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/ai/dto/ai-chat.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/ai/dto/ai-chat.dto.ts
@@ -10,10 +10,23 @@ const messageContentSchema = z.discriminatedUnion('type', [
z.object({
type: z.literal('image_url'),
image_url: z.object({
- url: z.string().url().describe('图片链接'),
+ url: z.url().describe('图片链接'),
detail: z.enum(['auto', 'low', 'high']).optional().describe('图片处理质量'),
}),
}),
+ z.object({
+ type: z.literal('video_url'),
+ video_url: z.object({
+ url: z.url().describe('图片链接'),
+ }),
+ }),
+ z.object({
+ type: z.literal('input_audio'),
+ input_audio: z.object({
+ data: z.url().describe('图片链接'),
+ format: z.string(),
+ }),
+ }),
])
// 聊天消息Schema
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/ai/dto/ai-video.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/ai/dto/ai-video.dto.ts
index 237f4e89..54732390 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/ai/dto/ai-video.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/ai/dto/ai-video.dto.ts
@@ -21,6 +21,7 @@ const userVideoGenerationSchema = z.object({
model: z.string().min(1).describe('模型名称'),
prompt: z.string().min(1).max(4000).describe('提示词'),
image: z.string().optional().describe('图片URL或base64'),
+ image_tail: z.string().optional().describe('尾帧图片URL或base64'),
mode: z.string().optional().describe('生成模式'),
size: z.string().optional().describe('尺寸'),
duration: z.number().optional().describe('时长'),
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/channel/channel.module.ts b/aitoearn_web/server/aitoearn-gateway/src/core/channel/channel.module.ts
new file mode 100644
index 00000000..9ae38d4c
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/channel/channel.module.ts
@@ -0,0 +1,7 @@
+import { Module } from '@nestjs/common'
+import { InteractModule } from './interact/interact.module'
+
+@Module({
+ imports: [InteractModule],
+})
+export class ChannelModule {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/dto/interactionRecord.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/dto/interactionRecord.dto.ts
new file mode 100644
index 00000000..dfaf431f
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/dto/interactionRecord.dto.ts
@@ -0,0 +1,50 @@
+import { createZodDto } from '@common/utils'
+import { z } from 'zod/v4'
+import { AccountType } from '@/transports/account/comment'
+
+export const AddInteractionRecordSchema = z.object({
+ accountId: z.string().min(1, { message: '账号ID不能为空' }),
+ type: z.enum(AccountType, { message: '账号类型不能为空' }),
+ worksId: z.string().min(1, { message: '作品ID不能为空' }),
+ worksTitle: z.string().optional(),
+ worksCover: z.string().optional(),
+ worksContent: z.string().optional(),
+ commentContent: z.string().optional(),
+ commentRemark: z.string().optional(),
+ commentTime: z.string().optional().transform((str) => {
+ if (!str)
+ return undefined
+ const date = new Date(str)
+ return Number.isNaN(date.getTime()) ? undefined : date
+ }),
+ likeTime: z.string().optional().transform((str) => {
+ if (!str)
+ return undefined
+ const date = new Date(str)
+ return Number.isNaN(date.getTime()) ? undefined : date
+ }),
+ collectTime: z.string().optional().transform((str) => {
+ if (!str)
+ return undefined
+ const date = new Date(str)
+ return Number.isNaN(date.getTime()) ? undefined : date
+ }),
+})
+export class AddInteractionRecordDto extends createZodDto(AddInteractionRecordSchema) {}
+
+export const InteractionRecordFiltersSchema = z.object({
+ accountId: z.string().optional(),
+ type: z.enum(AccountType).optional(),
+ worksId: z.string().optional(),
+ time: z.tuple([z.date(), z.date()]).optional(),
+})
+export class InteractionRecordFiltersDto extends createZodDto(InteractionRecordFiltersSchema) {}
+
+export const InteractionRecordListSchema = z.object({
+ filters: InteractionRecordFiltersSchema,
+ page: z.object({
+ pageNo: z.number().min(1, { message: '页码不能小于1' }),
+ pageSize: z.number().min(1, { message: '页大小不能小于1' }),
+ }),
+})
+export class InteractionRecordListDto extends createZodDto(InteractionRecordListSchema) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/dto/replyCommentRecord.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/dto/replyCommentRecord.dto.ts
new file mode 100644
index 00000000..7368ddbd
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/dto/replyCommentRecord.dto.ts
@@ -0,0 +1,30 @@
+import { createZodDto } from '@common/utils'
+import { z } from 'zod/v4'
+import { AccountType } from '@/transports/account/comment'
+
+export const AddReplyCommentRecordSchema = z.object({
+ accountId: z.string().min(1, { message: '账号ID不能为空' }),
+ type: z.enum(AccountType, { message: '账号类型不能为空' }),
+ commentId: z.string().min(1, { message: '评论ID不能为空' }),
+ worksId: z.string().optional(),
+ commentContent: z.string().min(1, { message: '评论内容不能为空' }),
+ replyContent: z.string().min(1, { message: '回复内容不能为空' }),
+})
+export class AddReplyCommentRecordDto extends createZodDto(AddReplyCommentRecordSchema) {}
+
+export const ReplyCommentRecordFiltersSchema = z.object({
+ accountId: z.string().optional(),
+ type: z.enum(AccountType).optional(),
+ commentId: z.string().optional(),
+ time: z.tuple([z.date(), z.date()]).optional(),
+})
+export class ReplyCommentRecordFiltersDto extends createZodDto(ReplyCommentRecordFiltersSchema) {}
+
+export const ReplyCommentRecordListSchema = z.object({
+ filters: ReplyCommentRecordFiltersSchema,
+ page: z.object({
+ pageNo: z.number().min(1, { message: '页码不能小于1' }),
+ pageSize: z.number().min(1, { message: '页大小不能小于1' }),
+ }),
+})
+export class ReplyCommentRecordListDto extends createZodDto(ReplyCommentRecordListSchema) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interact.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interact.controller.ts
new file mode 100644
index 00000000..68622e86
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interact.controller.ts
@@ -0,0 +1,65 @@
+/*
+ * @Author: nevin
+ * @Date: 2025-02-15 20:59:55
+ * @LastEditTime: 2025-04-27 18:00:18
+ * @LastEditors: nevin
+ * @Description: 互动
+ */
+import { Body, Controller, Delete, Get, Param, Post, Query } from '@nestjs/common'
+import { ApiOperation, ApiTags } from '@nestjs/swagger'
+import { GetToken } from 'src/auth/auth.guard'
+import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
+import { TableDto } from '@/common/dto/table.dto'
+import { InteractNatsApi } from '@/transports/channel/interact/interact.natsApi'
+import { AddArcCommentDto, DelCommentDto, ReplyCommentDto } from '../../plat/dto/interact.dto'
+
+@ApiTags('渠道互动')
+@Controller('channel/interact')
+export class InteractController {
+ constructor(private readonly interactNatsApi: InteractNatsApi) {}
+
+ @ApiOperation({ summary: '添加作品评论' })
+ @Post('addArcComment')
+ async addArcComment(
+ @GetToken() token: TokenInfo,
+ @Body() data: AddArcCommentDto,
+ ) {
+ return this.interactNatsApi.addArcComment(
+ data.accountId,
+ data.dataId,
+ data.content,
+ )
+ }
+
+ @ApiOperation({ summary: '获取作品的评论列表' })
+ @Get('getArcCommentList/:pageNo/:pageSize')
+ async getArcCommentList(
+ @GetToken() token: TokenInfo,
+ @Query('recordId') recordId: string,
+ @Param() query: TableDto,
+ ) {
+ return this.interactNatsApi.getArcCommentList(recordId, query)
+ }
+
+ @ApiOperation({ summary: '回复评论' })
+ @Post('replyComment')
+ async replyComment(
+ @GetToken() token: TokenInfo,
+ @Body() data: ReplyCommentDto,
+ ) {
+ return this.interactNatsApi.replyComment(
+ data.accountId,
+ data.commentId,
+ data.content,
+ )
+ }
+
+ @ApiOperation({ summary: '删除评论' })
+ @Delete('delComment')
+ async delComment(
+ @GetToken() token: TokenInfo,
+ @Body() data: DelCommentDto,
+ ) {
+ return this.interactNatsApi.delComment(data.accountId, data.commentId)
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interact.module.ts b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interact.module.ts
new file mode 100644
index 00000000..e79c5a89
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interact.module.ts
@@ -0,0 +1,11 @@
+import { Module } from '@nestjs/common'
+import { InteractController } from './interact.controller'
+import { InteractionRecordController } from './interactionRecord.controller'
+import { ReplyCommentRecordController } from './replyCommentRecord.controller'
+
+@Module({
+ imports: [],
+ controllers: [InteractController, InteractionRecordController, ReplyCommentRecordController],
+ providers: [],
+})
+export class InteractModule {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interactionRecord.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interactionRecord.controller.ts
new file mode 100644
index 00000000..1f270439
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/interactionRecord.controller.ts
@@ -0,0 +1,50 @@
+/*
+ * @Author: nevin
+ * @Date: 2025-02-15 20:59:55
+ * @LastEditTime: 2025-04-27 18:00:18
+ * @LastEditors: nevin
+ * @Description: 互动记录
+ */
+import { Body, Controller, Delete, Get, Param, Post, Query } from '@nestjs/common'
+import { ApiOperation, ApiTags } from '@nestjs/swagger'
+import { GetToken } from 'src/auth/auth.guard'
+import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
+import { TableDto } from '@/common/dto/table.dto'
+import { InteractionRecordNatsApi } from '@/transports/channel/interact/interactionRecord.natsApi'
+import { AddInteractionRecordDto, InteractionRecordFiltersDto } from './dto/interactionRecord.dto'
+
+@ApiTags('渠道互动记录')
+@Controller('channel/interactionRecord')
+export class InteractionRecordController {
+ constructor(private readonly interactionRecordNatsApi: InteractionRecordNatsApi) {}
+
+ @ApiOperation({ summary: '添加渠道互动记录' })
+ @Post()
+ async add(
+ @GetToken() token: TokenInfo,
+ @Body() data: AddInteractionRecordDto,
+ ) {
+ return this.interactionRecordNatsApi.add({
+ userId: token.id,
+ ...data,
+ })
+ }
+
+ @ApiOperation({ summary: '获取渠道互动记录列表' })
+ @Get('list/:pageNo/:pageSize')
+ async getArcCommentList(
+ @GetToken() token: TokenInfo,
+ @Query() query: InteractionRecordFiltersDto,
+ @Param() param: TableDto,
+ ) {
+ return this.interactionRecordNatsApi.list(token.id, query, param)
+ }
+
+ @ApiOperation({ summary: '删除记录' })
+ @Delete(':id')
+ async replyComment(
+ @Param('id') id: string,
+ ) {
+ return this.interactionRecordNatsApi.del(id)
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/replyCommentRecord.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/replyCommentRecord.controller.ts
new file mode 100644
index 00000000..af6b198d
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/channel/interact/replyCommentRecord.controller.ts
@@ -0,0 +1,50 @@
+/*
+ * @Author: nevin
+ * @Date: 2025-02-15 20:59:55
+ * @LastEditTime: 2025-04-27 18:00:18
+ * @LastEditors: nevin
+ * @Description: 评论回复
+ */
+import { Body, Controller, Delete, Get, Param, Post, Query } from '@nestjs/common'
+import { ApiOperation, ApiTags } from '@nestjs/swagger'
+import { GetToken } from 'src/auth/auth.guard'
+import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
+import { TableDto } from '@/common/dto/table.dto'
+import { ReplyCommentRecordNatsApi } from '@/transports/channel/interact/replyCommentRecord.natsApi'
+import { AddReplyCommentRecordDto, ReplyCommentRecordFiltersDto } from './dto/replyCommentRecord.dto'
+
+@ApiTags('评论回复记录')
+@Controller('channel/replyCommentRecord')
+export class ReplyCommentRecordController {
+ constructor(private readonly interactionRecordNatsApi: ReplyCommentRecordNatsApi) {}
+
+ @ApiOperation({ summary: '添加评论回复记录' })
+ @Post()
+ async add(
+ @GetToken() token: TokenInfo,
+ @Body() data: AddReplyCommentRecordDto,
+ ) {
+ return this.interactionRecordNatsApi.add({
+ userId: token.id,
+ ...data,
+ })
+ }
+
+ @ApiOperation({ summary: '获取评论回复记录列表' })
+ @Get('list/:pageNo/:pageSize')
+ async getArcCommentList(
+ @GetToken() token: TokenInfo,
+ @Query() query: ReplyCommentRecordFiltersDto,
+ @Param() param: TableDto,
+ ) {
+ return this.interactionRecordNatsApi.list(token.id, query, param)
+ }
+
+ @ApiOperation({ summary: '删除评论回复记录' })
+ @Delete(':id')
+ async replyComment(
+ @Param('id') id: string,
+ ) {
+ return this.interactionRecordNatsApi.del(id)
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/content/material.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/content/material.controller.ts
index 9d8f97ea..79644ff0 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/content/material.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/content/material.controller.ts
@@ -35,18 +35,6 @@ export class MaterialController {
constructor(private readonly materialService: MaterialService, private readonly materialNatsApi: MaterialNatsApi,
) {}
- @ApiOperation({
- summary: '初始化草稿',
- description: '初始化草稿',
- })
- @Post('default')
- async createDefault(
- @GetToken() token: TokenInfo,
- ) {
- const res = await this.materialNatsApi.createDefault(token.id)
- return res
- }
-
@ApiOperation({
summary: '创建草稿',
description: '创建草稿',
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/content/material.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/content/material.service.ts
index 0a535a6e..1ab67104 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/content/material.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/content/material.service.ts
@@ -1,4 +1,4 @@
-import { Injectable, Logger } from '@nestjs/common'
+import { Injectable } from '@nestjs/common'
import { OnEvent } from '@nestjs/event-emitter'
import { TableDto } from 'src/common/dto/table.dto'
import {
@@ -16,11 +16,6 @@ import { User } from '@/transports/user/comment'
export class MaterialService {
constructor(private readonly materialNatsApi: MaterialNatsApi) { }
- @OnEvent('user.created', { async: true })
- async createDefault(data: { user: User }) {
- return this.materialNatsApi.createDefault(data.user.id)
- }
-
/**
* 创建
* @param newData
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/content/media.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/content/media.controller.ts
index 45754df8..61a8a160 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/content/media.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/content/media.controller.ts
@@ -18,7 +18,7 @@ import { ApiOperation, ApiTags } from '@nestjs/swagger'
import { GetToken } from 'src/auth/auth.guard'
import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
import { TableDto } from 'src/common/dto/table.dto'
-import { MediaGroup, MediaType } from 'src/transports/content/common'
+import { MediaGroup } from 'src/transports/content/common'
import { MediaNatsApi } from '@/transports/content/media.natsApi'
import { CreateMediaDto, MediaFilterDto } from './dto/media.dto'
import {
@@ -34,18 +34,6 @@ export class MediaController {
constructor(private readonly mediaService: MediaService, private readonly mediaNatsApi: MediaNatsApi,
) { }
- @ApiOperation({
- summary: '初始化媒体库',
- description: '初始化媒体库',
- })
- @Post('default')
- async createDefault(
- @GetToken() token: TokenInfo,
- ) {
- const res = await this.mediaNatsApi.createDefault(token.id)
- return res
- }
-
@ApiOperation({
description: '创建媒体资源',
summary: '创建媒体资源',
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/content/media.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/content/media.service.ts
index 30f66ba6..5704669f 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/content/media.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/content/media.service.ts
@@ -1,19 +1,12 @@
import { Injectable } from '@nestjs/common'
-import { OnEvent } from '@nestjs/event-emitter'
import { TableDto } from 'src/common/dto/table.dto'
import { Media, MediaType, NewMedia } from 'src/transports/content/common'
import { MediaNatsApi } from 'src/transports/content/media.natsApi'
-import { User } from '@/transports/user/comment'
@Injectable()
export class MediaService {
constructor(private readonly mediaNatsApi: MediaNatsApi) {}
- @OnEvent('user.created', { async: true })
- async createDefault(data: { user: User }) {
- return this.mediaNatsApi.createDefault(data.user.id)
- }
-
/**
* 创建
* @param newData
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/core.module.ts b/aitoearn_web/server/aitoearn-gateway/src/core/core.module.ts
index fc58cb9a..b4fce83e 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/core.module.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/core.module.ts
@@ -1,4 +1,3 @@
-import { HttpExceptionFilter } from '@common/filters/httpException.filter'
import { TransformInterceptor } from '@common/interceptor/transform.interceptor'
import { TmsModule } from '@libs/tms/tms.module'
import { Module } from '@nestjs/common'
@@ -6,12 +5,14 @@ import { APP_FILTER, APP_INTERCEPTOR } from '@nestjs/core'
import { config } from '@/config'
import { AccountModule } from './account/account.module'
import { AiModule } from './ai/ai.module'
+import { ChannelModule } from './channel/channel.module'
import { ContentModule } from './content/content.module'
import { FileModule } from './file/file.module'
import { NotificationModule } from './notification/notification.module'
import { OtherModule } from './other/other.module'
import { PaymentModule } from './payment/payment.module'
import { PlatModule } from './plat/plat.module'
+import { StatisticsModule } from './statistics/statistics.module'
import { TaskModule } from './task/task.module'
import { TestModule } from './test/test.module'
import { ToolsModule } from './tools/tools.module'
@@ -25,6 +26,7 @@ import { UserModule } from './user/user.module'
FileModule,
UserModule,
PlatModule,
+ ChannelModule,
AccountModule,
ToolsModule,
ContentModule,
@@ -32,12 +34,9 @@ import { UserModule } from './user/user.module'
TaskModule,
NotificationModule,
AiModule,
+ StatisticsModule,
],
providers: [
- {
- provide: APP_FILTER,
- useClass: HttpExceptionFilter,
- },
{
provide: APP_INTERCEPTOR,
useClass: TransformInterceptor,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/file/file.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/file/file.service.ts
index 75bfdb08..af87c70c 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/file/file.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/file/file.service.ts
@@ -2,8 +2,8 @@ import { Injectable, Logger } from '@nestjs/common'
import * as mime from 'mime-types'
import * as moment from 'moment'
import { v4 as uuidv4 } from 'uuid'
+import { AppException } from '@/common/exceptions'
import { ErrHttpBack } from '@/common/filters/httpException.code'
-import { AppHttpException } from '@/common/filters/httpException.filter'
import { config } from '@/config'
import { S3Service } from '@/libs/aws-s3/s3.service'
@@ -174,7 +174,7 @@ export class FileService {
}
catch (error) {
Logger.error(error)
- throw new AppHttpException(ErrHttpBack.fail)
+ throw new AppException(ErrHttpBack.fail)
}
}
@@ -204,7 +204,7 @@ export class FileService {
}
catch (error) {
Logger.error(error)
- throw new AppHttpException(ErrHttpBack.fail)
+ throw new AppException(ErrHttpBack.fail)
}
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/notification/notification.interface.ts b/aitoearn_web/server/aitoearn-gateway/src/core/notification/notification.interface.ts
index 055b29b3..85e8686c 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/notification/notification.interface.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/notification/notification.interface.ts
@@ -12,11 +12,8 @@ export interface NotificationDetail {
}
export interface NotificationListResult {
- items: NotificationDetail[]
+ list: NotificationDetail[]
total: number
- page: number
- pageSize: number
- totalPages: number
}
export interface UnreadCountResult {
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/notification/notification.vo.ts b/aitoearn_web/server/aitoearn-gateway/src/core/notification/notification.vo.ts
index e0b9d8db..010cfbeb 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/notification/notification.vo.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/notification/notification.vo.ts
@@ -15,11 +15,8 @@ const notificationVoSchema = z.object({
})
const notificationListVoSchema = z.object({
- items: z.array(notificationVoSchema),
+ list: z.array(notificationVoSchema),
total: z.number().int().min(0),
- page: z.number().int().min(1),
- pageSize: z.number().int().min(1),
- totalPages: z.number().int().min(0),
})
const unreadCountVoSchema = z.object({
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/other/appConfigs.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/other/appConfigs.controller.ts
new file mode 100644
index 00000000..152b7638
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/other/appConfigs.controller.ts
@@ -0,0 +1,33 @@
+/*
+ * @Author: nevin
+ * @Date: 2024-06-17 19:19:20
+ * @LastEditTime: 2024-12-23 12:45:22
+ * @LastEditors: nevin
+ * @Description: 应用配置
+ */
+import { Body, Controller, Get, Param, Post } from '@nestjs/common'
+import { ApiOperation, ApiTags } from '@nestjs/swagger'
+import { Public } from 'src/auth/auth.guard'
+import { AppConfigsService } from './appConfigs.service'
+import { GetAppConfigListDto } from './dto/appConfigs.dto'
+
+@ApiTags('应用配置')
+@Controller('appConfigs')
+export class AppConfigsController {
+ constructor(
+ private readonly appConfigsService: AppConfigsService,
+ ) {}
+
+ @ApiOperation({
+ description: '获取配置',
+ summary: '获取配置',
+ })
+ @Public()
+ @Get('/:appId')
+ async getAppConfigList(
+ @Param() param: GetAppConfigListDto,
+ ) {
+ const res = await this.appConfigsService.getAppConfigList(param)
+ return res
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/other/appConfigs.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/other/appConfigs.service.ts
new file mode 100644
index 00000000..67e58758
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/other/appConfigs.service.ts
@@ -0,0 +1,12 @@
+import { Injectable } from '@nestjs/common'
+import { AppConfigsNatsApi } from '@/transports/other/appConfigs.natsApi'
+
+@Injectable()
+export class AppConfigsService {
+ constructor(private readonly appConfigsNatsApi: AppConfigsNatsApi) {}
+
+ async getAppConfigList(newData: { appId: string }) {
+ const res = await this.appConfigsNatsApi.getAppConfigList(newData)
+ return res
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/other/dto/appConfigs.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/other/dto/appConfigs.dto.ts
new file mode 100644
index 00000000..5884cecd
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/other/dto/appConfigs.dto.ts
@@ -0,0 +1,9 @@
+import { createZodDto } from '@common/utils'
+import { z } from 'zod/v4'
+
+export const getAppConfigListSchema = z.object({
+ appId: z.string().min(1),
+})
+export class GetAppConfigListDto extends createZodDto(
+ getAppConfigListSchema,
+) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/other/other.module.ts b/aitoearn_web/server/aitoearn-gateway/src/core/other/other.module.ts
index 98c6922c..89e8167c 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/other/other.module.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/other/other.module.ts
@@ -1,5 +1,7 @@
import { Module } from '@nestjs/common'
import { UserModule } from '../user/user.module'
+import { AppConfigsController } from './appConfigs.controller'
+import { AppConfigsService } from './appConfigs.service'
import { FeedbackController } from './feedback.controller'
import { FeedbackService } from './feedback.service'
import { GologinController } from './gologin.controller'
@@ -7,7 +9,7 @@ import { GologinService } from './gologin.service'
@Module({
imports: [UserModule],
- providers: [FeedbackService, GologinService],
- controllers: [FeedbackController, GologinController],
+ providers: [FeedbackService, GologinService, AppConfigsService],
+ controllers: [FeedbackController, GologinController, AppConfigsController],
})
export class OtherModule {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/payment/dto/payment.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/payment/dto/payment.dto.ts
index 871b8193..975c0b2a 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/payment/dto/payment.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/payment/dto/payment.dto.ts
@@ -18,6 +18,7 @@ import {
import {
ICheckoutMode,
ICheckoutStatus,
+ IFlagTrialPeriodDays,
IMetadata,
IPayment,
IWebhookType,
@@ -69,6 +70,12 @@ export class CheckoutBodyDto {
@Expose()
readonly mode: ICheckoutMode
+ @ApiProperty({ title: '订阅模式下是否给七天免费试用时长, 0 - 不给, 1-给', enum: IFlagTrialPeriodDays })
+ @IsNumber({}, { message: '订阅模式下是否给七天免费试用时长, 0 - 不给, 1-给' })
+ @Expose()
+ @IsOptional()
+ readonly flagTrialPeriodDays: IFlagTrialPeriodDays = IFlagTrialPeriodDays.false
+
@ApiProperty({ title: 'aitoearn订单信息', required: false })
@ValidateNested()
@Type(() => MetadataDto)
@@ -76,6 +83,7 @@ export class CheckoutBodyDto {
@IsOptional()
metadata: MetadataDto
}
+
export class DiscountsDto {
@IsString({ message: '优惠券id' })
@IsOptional()
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/common.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/common.ts
index 2fea5bb3..81ee4c8f 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/common.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/common.ts
@@ -4,7 +4,7 @@ import { AccountType } from '@/transports/account/comment'
import { FacebookPostOptions, InstagramPostOptions, ThreadsPostOptions } from '@/transports/channel/meta.common'
import { WxGzhPublishOption } from '@/transports/channel/wxGzh.common'
-export interface PlatOptons {
+export interface PlatOptions {
bilibili?: BilibiliPublishOption
youtube?: YoutubePublishOption
wxGzh?: WxGzhPublishOption
@@ -18,7 +18,7 @@ export enum PublishType {
ARTICLE = 'article', // 文章
}
-export interface NewPublishData<T extends PlatOptons> {
+export interface NewPublishData<T extends PlatOptions> {
readonly flowId: string
readonly accountId: string
readonly type: PublishType
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/dto/publish.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/dto/publish.dto.ts
index 3c180137..ba1b21c7 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/dto/publish.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/dto/publish.dto.ts
@@ -33,7 +33,7 @@ import { z } from 'zod/v4'
import { FacebookPostOptions, InstagramPostOptions, ThreadsPostOptions } from '@/transports/channel/meta.common'
import { WxGzhPublishOption } from '@/transports/channel/wxGzh.common'
import { YoutubePublishOption } from '@/transports/plat/youtube.common'
-import { PlatOptons, PublishType } from '../common'
+import { PlatOptions, PublishType } from '../common'
class GzhPublishOptionDto implements WxGzhPublishOption {
@ApiProperty({
@@ -324,7 +324,7 @@ class ThreadsPostOptionsDto implements ThreadsPostOptions {
readonly topic_tags?: string
}
-class PublishOptionDto implements PlatOptons {
+class PublishOptionDto implements PlatOptions {
@ApiProperty({
title: 'B站参数',
required: false,
@@ -472,7 +472,7 @@ export class CreatePublishDto {
@IsOptional()
@Expose()
topics?: string[]
-
+
@ApiProperty({
title: '其他配置',
required: false,
@@ -539,14 +539,18 @@ export class PubRecordListFilterDto {
export class UpdatePublishRecordTimeDto {
@ApiProperty({ title: '数据ID' })
+ @IsString({ message: '数据ID' })
@Expose()
id: string
- @ApiProperty({ title: '新的发布时间' })
- @IsDate({ message: '新的发布时间必须是有效的日期,日期为UTC时间' })
- @Transform(({ value }) =>
- value ? value.map((v: string) => new Date(v)) : undefined,
- )
+ @ApiProperty({ title: '新的发布时间', required: false })
+ @IsDate({ message: '新的发布时间必须是有效的日期,日期为UTC时间\'' })
+ @Transform(({ value }) => {
+ if (!value)
+ return undefined
+ return new Date(value)
+ })
+ @IsOptional()
@Expose()
publishTime: Date
}
@@ -570,3 +574,8 @@ export const createPublishRecordSchema = z.object({
option: z.any(),
})
export class CreatePublishRecordDto extends createZodDto(createPublishRecordSchema) {}
+
+export const PublishDayInfoListFiltersSchema = z.object({
+ time: z.tuple([z.date(), z.date()]).optional(),
+})
+export class PublishDayInfoListFiltersDto extends createZodDto(PublishDayInfoListFiltersSchema) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/kwai/kwai.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/kwai/kwai.controller.ts
index d577d211..20850606 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/kwai/kwai.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/kwai/kwai.controller.ts
@@ -1,5 +1,5 @@
import { OrgGuard } from '@common/interceptor/transform.interceptor'
-import { Controller, Get, Param, Post, Query, UseGuards } from '@nestjs/common'
+import { Controller, Get, Param, Post, Query, Render, UseGuards } from '@nestjs/common'
import { ApiOperation, ApiTags } from '@nestjs/swagger'
import { AccountNatsApi } from '@transports/account/account.natsApi'
import { PlatKwaiNatsApi } from '@transports/plat/kwai.natsApi'
@@ -41,6 +41,7 @@ export class KwaiController {
@Public()
@UseGuards(OrgGuard)
@Get('auth/back/:taskId')
+ @Render('auth/back')
async getAccessToken(
@Param('taskId') taskId: string,
@Query()
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/meta/meta.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/meta/meta.controller.ts
index 8a4c7e24..1e18b510 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/meta/meta.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/meta/meta.controller.ts
@@ -67,20 +67,9 @@ export class MetaController {
)
}
- // Todo: Only allow internal service access
- @ApiOperation({ summary: '获取指定用户的Facebook Pages' })
- @Get('facebook/:userId/pages')
- async getFacebookPagesByUserId(
- @GetToken() token: TokenInfo,
- @Param('userId') userId: string,
- ) {
- const res = await this.platMetaNatsApi.getFacebookPages(userId)
- return res
- }
-
// Todo: Only allow internal service access
@ApiOperation({ summary: '获取Facebook Page的已发布帖子列表' })
- @Get('facebook/:accountId/:pageId/published_posts')
+ @Get('facebook/:accountId/published_posts')
async getFacebookPagePublishedPosts(
@GetToken() token: TokenInfo,
@Param('accountId') accountId: string,
@@ -89,20 +78,86 @@ export class MetaController {
) {
return await this.platMetaNatsApi.getFacebookPagePublishedPosts(
accountId,
- pageId,
query,
)
}
// Todo: Only allow internal service access
@ApiOperation({ summary: '获取Facebook Page的Insights数据' })
- @Get('facebook/:accountId/:pageId/insights')
+ @Get('facebook/:accountId/insights')
async getFacebookPageInsights(
@GetToken() token: TokenInfo,
@Param('accountId') accountId: string,
- @Param('pageId') pageId: string,
@Query() query: any,
) {
- return await this.platMetaNatsApi.getFacebookPageInsights(accountId, pageId, query)
+ return await this.platMetaNatsApi.getFacebookPageInsights(accountId, query)
+ }
+
+ @ApiOperation({ summary: '获取Facebook Page的Insights数据' })
+ @Get('facebook/:accountId/:postId/insights')
+ async getFacebookPostInsights(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ @Param('postId') postId: string,
+ @Query() query: any,
+ ) {
+ return await this.platMetaNatsApi.getFacebookPostInsights(accountId, postId, query)
+ }
+
+ // Todo: Only allow internal service access
+ @ApiOperation({ summary: '获取Instagram Account的Insights数据' })
+ @Get('instagram/:accountId')
+ async getInstagramAccountInfo(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ @Query() query: any,
+ ) {
+ return await this.platMetaNatsApi.getInstagramAccountInfo(accountId, query)
+ }
+
+ // Todo: Only allow internal service access
+ @ApiOperation({ summary: '获取Instagram Account的Insights数据' })
+ @Get('instagram/:accountId/insights')
+ async getInstagramAccountInsights(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ @Query() query: any,
+ ) {
+ return await this.platMetaNatsApi.getInstagramAccountInsights(accountId, query)
+ }
+
+ // Todo: Only allow internal service access
+ @ApiOperation({ summary: 'Instagram Post的Insights数据' })
+ @Get('instagram/:accountId/:postId/insights')
+ async getInstagramPostInsights(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ @Param('postId') postId: string,
+ @Query() query: any,
+ ) {
+ return await this.platMetaNatsApi.getInstagramPostInsights(accountId, postId, query)
+ }
+
+ // Todo: Only allow internal service access
+ @ApiOperation({ summary: 'threads Account的Insights数据' })
+ @Get('threads/:accountId/insights')
+ async getThreadsAccountInsights(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ @Query() query: any,
+ ) {
+ return await this.platMetaNatsApi.getThreadsAccountInsights(accountId, query)
+ }
+
+ // Todo: Only allow internal service access
+ @ApiOperation({ summary: '获取Facebook Page的Insights数据' })
+ @Get('threads/:accountId/:postId/insights')
+ async getThreadsPostInsights(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ @Param('postId') postId: string,
+ @Query() query: any,
+ ) {
+ return await this.platMetaNatsApi.getThreadsPostInsights(accountId, postId, query)
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/pinterest/pinterest.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/pinterest/pinterest.controller.ts
index 5d8ceec9..9488b36c 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/pinterest/pinterest.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/pinterest/pinterest.controller.ts
@@ -13,12 +13,15 @@ import {
Param,
Post,
Query,
+ Render,
Res,
+ UseGuards,
} from '@nestjs/common'
import { ApiOperation, ApiTags } from '@nestjs/swagger'
import { Response } from 'express'
import { GetToken, Public } from 'src/auth/auth.guard'
import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
+import { OrgGuard } from '@/common/interceptor/transform.interceptor'
import { config } from '@/config'
import {
CreateBoardBodyDto,
@@ -103,10 +106,10 @@ export class PinterestController {
}
@Public()
+ @UseGuards(OrgGuard)
@Get('authWebhook')
+ @Render('auth/back')
authWebhook(@Query() query: any, @Res() res: Response) {
- this.pinterestService.authWebhook(query)
- const url = ` ${this.mailBackHost}${this.redirect_url}`
- res.redirect(301, url)
+ return this.pinterestService.authWebhook(query)
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/plat.module.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/plat.module.ts
index 291af4e8..1c28b8c3 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/plat.module.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/plat.module.ts
@@ -1,7 +1,7 @@
import { Module } from '@nestjs/common'
import { BilibiliModule } from './bilibili/bilibili.module'
import { DataCubeModule } from './dataCube/dataCube.module'
-import { InteractController } from './interact.controller'
+import { InteractController } from '../channel/interact/interact.controller'
import { KwaiModule } from './kwai/kwai.module'
import { MetaModule } from './meta/meta.module'
import { PinterestModule } from './pinterest/pinterest.module'
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/publish.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/publish.controller.ts
index 2e7c9427..fbcfb6a7 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/publish.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/publish.controller.ts
@@ -5,16 +5,18 @@
* @LastEditors: nevin
* @Description: 发布
*/
-import { Body, Controller, Delete, Get, Param, Post } from '@nestjs/common'
+import { Body, Controller, Delete, Get, Param, Post, Query } from '@nestjs/common'
import { ApiOkResponse, ApiOperation, ApiTags } from '@nestjs/swagger'
import { PlatPublishNatsApi } from '@transports/plat/publish.natsApi'
import { plainToInstance } from 'class-transformer'
import { GetToken } from '@/auth/auth.guard'
import { TokenInfo } from '@/auth/interfaces/auth.interfaces'
+import { TableDto } from '@/common/dto/table.dto'
import { PublishRecordItemDto } from './dto/publish-response.dto'
import {
CreatePublishDto,
CreatePublishRecordDto,
+ PublishDayInfoListFiltersDto,
PubRecordListFilterDto,
UpdatePublishRecordTimeDto,
} from './dto/publish.dto'
@@ -96,4 +98,20 @@ export class PublishController {
async nowPubTask(@GetToken() token: TokenInfo, @Param('id') id: string) {
return this.platPublishNatsApi.nowPubTask(id)
}
+
+ @ApiOperation({ summary: '获取发布信息数据' })
+ @Get('publishInfo/data')
+ async publishInfoData(@GetToken() token: TokenInfo) {
+ return this.publishService.publishInfoData(token.id)
+ }
+
+ @ApiOperation({ summary: '获取每天发布信息数据列表' })
+ @Get('publishDayInfo/list/:pageNo/:pageSize')
+ async publishDataInfoList(
+ @GetToken() token: TokenInfo,
+ @Param() param: TableDto,
+ @Query() query: PublishDayInfoListFiltersDto,
+ ) {
+ return this.publishService.publishDataInfoList(token.id, query, param)
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/publish.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/publish.service.ts
index bff55020..0a7676d7 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/publish.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/publish.service.ts
@@ -1,13 +1,14 @@
import { Injectable } from '@nestjs/common'
import { PlatPublishNatsApi } from 'src/transports/plat/publish.natsApi'
-import { NewPublishData, NewPublishRecordData, PlatOptons } from './common'
-import { PubRecordListFilterDto } from './dto/publish.dto'
+import { TableDto } from '@/common/dto/table.dto'
+import { NewPublishData, NewPublishRecordData, PlatOptions } from './common'
+import { PublishDayInfoListFiltersDto, PubRecordListFilterDto } from './dto/publish.dto'
@Injectable()
export class PublishService {
constructor(private readonly platPublishNatsApi: PlatPublishNatsApi) {}
- async create(newData: NewPublishData<PlatOptons>) {
+ async create(newData: NewPublishData<PlatOptions>) {
const res = await this.platPublishNatsApi.create(newData)
return res
}
@@ -28,4 +29,13 @@ export class PublishService {
userId,
})
}
+
+ async publishInfoData(userId: string) {
+ const res = await this.platPublishNatsApi.getPublishInfoData(userId)
+ return res
+ }
+
+ async publishDataInfoList(userId: string, data: PublishDayInfoListFiltersDto, page: TableDto) {
+ return await this.platPublishNatsApi.publishDataInfoList(userId, data, page)
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/dto/tiktok.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/dto/tiktok.dto.ts
index f9468f6d..3b610582 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/dto/tiktok.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/dto/tiktok.dto.ts
@@ -26,11 +26,6 @@ export class GetAuthInfoDto {
}
export class CreateAccountAndSetAccessTokenDto {
- @ApiProperty({ title: '任务ID', required: true })
- @IsString({ message: '任务ID不能为空' })
- @Expose()
- readonly taskId: string
-
@ApiProperty({ title: '授权码', required: true })
@IsString({ message: '授权码不能为空' })
@Expose()
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/tiktok.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/tiktok.controller.ts
index 90dd0ef1..0a51114a 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/tiktok.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/tiktok.controller.ts
@@ -11,8 +11,10 @@ import {
Get,
Param,
Post,
+ Query,
Render,
UploadedFile,
+ UseGuards,
UseInterceptors,
} from '@nestjs/common'
import { FileInterceptor } from '@nestjs/platform-express'
@@ -20,6 +22,7 @@ import { ApiOperation, ApiTags } from '@nestjs/swagger'
import { GetToken, Public } from 'src/auth/auth.guard'
import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
import { PlatTiktokNatsApi } from 'src/transports/plat/tiktok.natsApi'
+import { OrgGuard } from '@/common/interceptor/transform.interceptor'
import { AccountNatsApi } from '../../../transports/account/account.natsApi'
import {
CreateAccountAndSetAccessTokenDto,
@@ -57,11 +60,12 @@ export class TiktokController {
}
@Public()
+ @UseGuards(OrgGuard)
@ApiOperation({ summary: '创建账号并设置授权Token' })
@Get('auth/back')
@Render('auth/back')
async createAccountAndSetAccessToken(
- @Body() data: CreateAccountAndSetAccessTokenDto,
+ @Query() data: CreateAccountAndSetAccessTokenDto,
) {
return await this.platTiktokNatsApi.createAccountAndSetAccessToken(
data.code,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/tiktok.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/tiktok.service.ts
index b27daac8..0b8e709f 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/tiktok.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/tiktok/tiktok.service.ts
@@ -1,13 +1,6 @@
-/*
- * @Author: AI Assistant
- * @Date: 2025-01-08 00:00:00
- * @LastEditTime: 2025-01-08 00:00:00
- * @LastEditors: AI Assistant
- * @Description: TikTok Platform Service
- */
import { Injectable } from '@nestjs/common'
-import { AppHttpException } from 'src/common/filters/httpException.filter'
import { PlatTiktokNatsApi } from 'src/transports/plat/tiktok.natsApi'
+import { AppException } from '@/common/exceptions'
@Injectable()
export class TiktokService {
@@ -36,7 +29,7 @@ export class TiktokService {
contentType,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -67,7 +60,7 @@ export class TiktokService {
return await this.platTiktokNatsApi.handleWebhookEvent(event)
}
catch (error) {
- throw new AppHttpException(500, '处理Webhook事件失败')
+ throw new AppException(500, '处理Webhook事件失败')
}
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/twitter/dto/twitter.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/twitter/dto/twitter.dto.ts
index 08ea1f79..f5bf6fcf 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/twitter/dto/twitter.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/twitter/dto/twitter.dto.ts
@@ -16,11 +16,6 @@ export class GetAuthInfoDto {
}
export class CreateAccountAndSetAccessTokenDto {
- @ApiProperty({ title: '任务ID', required: true })
- @IsString({ message: '任务ID不能为空' })
- @Expose()
- readonly taskId: string
-
@ApiProperty({ title: '授权码', required: true })
@IsString({ message: '授权码不能为空' })
@Expose()
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/twitter/twitter.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/twitter/twitter.controller.ts
index eb31faff..5acb248f 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/twitter/twitter.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/twitter/twitter.controller.ts
@@ -1,8 +1,9 @@
-import { Body, Controller, Get, Param, Post, Render } from '@nestjs/common'
+import { Body, Controller, Get, Param, Post, Query, Render, UseGuards } from '@nestjs/common'
import { ApiOperation, ApiTags } from '@nestjs/swagger'
import { GetToken, Public } from 'src/auth/auth.guard'
import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
import { PlatTwitterNatsApi } from 'src/transports/plat/twitter.natsApi'
+import { OrgGuard } from '@/common/interceptor/transform.interceptor'
import { AccountNatsApi } from '../../../transports/account/account.natsApi'
import {
CreateAccountAndSetAccessTokenDto,
@@ -35,11 +36,12 @@ export class TwitterController {
}
@Public()
+ @UseGuards(OrgGuard)
@ApiOperation({ summary: 'oAuth认证回调后续操作, 保存AccessToken并创建用户' })
@Get('auth/back')
@Render('auth/back')
async createAccountAndSetAccessToken(
- @Body() data: CreateAccountAndSetAccessTokenDto,
+ @Query() data: CreateAccountAndSetAccessTokenDto,
) {
return await this.platTwitterNatsApi.createAccountAndSetAccessToken(
data.code,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/common.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/common.ts
index 19b0a6fa..23bed691 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/common.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/common.ts
@@ -59,4 +59,4 @@ export interface CallbackMsgData {
article_url?: string
// 当发布状态为2或4时,返回不通过的文章编号,第一篇为 1;其他发布状态则为空
fail_idx?: number
-}
\ No newline at end of file
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/wxGzh.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/wxGzh.controller.ts
index 0bdd6e1d..c4cbd89e 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/wxGzh.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/wxGzh.controller.ts
@@ -5,12 +5,11 @@
* @LastEditors: nevin
* @Description: wxgzh
*/
-import { Controller, Get, Param, Query, UseGuards } from '@nestjs/common'
+import { Controller, Get, Param, Query } from '@nestjs/common'
import { ApiOperation, ApiTags } from '@nestjs/swagger'
import { GetToken } from '@/auth/auth.guard'
import { TokenInfo } from '@/auth/interfaces/auth.interfaces'
-import { OrgGuard } from '@/common/interceptor/transform.interceptor'
-import { AuthBackQueryDto, GetUserCumulateData } from './dto/wxGzh.dto'
+import { GetUserCumulateData } from './dto/wxGzh.dto'
import { WxGzhService } from './wxGzh.service'
@ApiTags('plat/wxGzh - 微信公众号')
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/wxPlat.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/wxPlat.controller.ts
index db03bd57..17070380 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/wxPlat.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/wxGzh/wxPlat.controller.ts
@@ -1,4 +1,4 @@
-import { Body, Controller, Get, Post, Query, UseGuards } from '@nestjs/common'
+import { Body, Controller, Post, UseGuards } from '@nestjs/common'
import { Public } from '@/auth/auth.guard'
import { OrgGuard } from '@/common/interceptor/transform.interceptor'
import { PlatWxGzhNatsApi } from '@/transports/channel/wxGzh.natsApi'
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/dto/youtube.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/dto/youtube.dto.ts
index 45904da4..563ad59e 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/dto/youtube.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/dto/youtube.dto.ts
@@ -1,5 +1,5 @@
import { ApiProperty } from '@nestjs/swagger'
-import { Expose, Type } from 'class-transformer'
+import { Expose, Transform, Type } from 'class-transformer'
import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator'
/**
@@ -70,6 +70,7 @@ export class GetVideosListDto extends AccountIdDto {
required: false,
})
@IsBoolean({ message: 'myRating必须是布尔值' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly myRating?: boolean
@@ -441,6 +442,7 @@ export class SetCommentThreadsModerationStatusDto extends AccountIdDto {
@IsBoolean({
message: '是否自动拒绝评论作者撰写的任何其他评论 将作者加入黑名单,',
})
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly banAuthor?: boolean
@@ -635,6 +637,7 @@ export class GetPlayListDto extends AccountIdDto {
required: false,
})
@IsBoolean({ message: '我的播放列表' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly mine?: boolean
@@ -733,6 +736,7 @@ export class GetPlayItemsDto extends AccountIdDto {
required: false,
})
@IsBoolean({ message: '我的播放列表' })
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly playlistId?: string
@@ -947,6 +951,7 @@ export class GetChannelsListDto extends AccountIdDto {
message:
'我的频道,注意:forHandle、forUsername、id、mine 必须有且只能有一个',
})
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly mine?: boolean
@@ -1006,6 +1011,7 @@ export class GetChannelsSectionsListDto extends AccountIdDto {
message:
'是否查询自己的板块, 注意:channelId、id、mine,必须有且只能有一个',
})
+ @Transform(({ value }) => value === true || value === 'true' || value === 1 || value === '1')
@IsOptional()
@Expose()
readonly mine?: boolean
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/youtube.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/youtube.controller.ts
index 3c38901b..c0530319 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/youtube.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/youtube.controller.ts
@@ -13,6 +13,7 @@ import {
Param,
Post,
Query,
+ Render,
UploadedFile,
UseGuards,
UseInterceptors,
@@ -37,7 +38,7 @@ import {
GetVideoCategoriesDto,
GetVideoRateDto,
GetVideosListDto,
- InitVideoUploadDto,
+ // InitVideoUploadDto,
InsertCommentDto,
InsertCommentThreadsDto,
InsertPlayItemsDto,
@@ -47,9 +48,9 @@ import {
UpdatePlayItemsDto,
UpdatePlayListDto,
UpdateVideoDto,
- UploadSmallVideoDto,
- UploadVideoCompleteDto,
- UploadVideoPartDto,
+ // UploadSmallVideoDto,
+ // UploadVideoCompleteDto,
+ // UploadVideoPartDto,
VideoRateDto,
} from './dto/youtube.dto'
import { YoutubeService } from './youtube.service'
@@ -86,6 +87,7 @@ export class YoutubeController {
@Public()
@UseGuards(OrgGuard)
@Get('auth/callback')
+ @Render('auth/back')
async getAccessToken(
@Query()
query: {
@@ -165,96 +167,96 @@ export class YoutubeController {
)
}
- @ApiOperation({ summary: '上传视频到YouTube' })
- @Post('video/upload/small')
- @UseInterceptors(FileInterceptor('file'))
- async uploadVideo(
- @GetToken() token: TokenInfo,
- @Body() body: UploadSmallVideoDto,
- @UploadedFile() file: Express.Multer.File,
- ) {
- return await this.youtubeService.uploadVideo(
- body.accountId,
- file.buffer,
- file.originalname,
- body.title,
- body.description,
- body.privacyStatus,
- body.keywords,
- body.categoryId,
- body.publishAt,
- )
- }
-
- @ApiOperation({ summary: '初始化视频分片上传' })
- @Post('video/upload/init')
- async initVideoUpload(
- @GetToken() token: TokenInfo,
- @Body()
- body: InitVideoUploadDto,
- ) {
- this.logger.log('接收到初始化视频上传请求:', {
- ...body,
- contentLength: body.contentLength,
- })
-
- return await this.youtubeService.initVideoUpload(
- body.accountId,
- body.title,
- body.description,
- body.keywords,
- body.categoryId,
- body.privacyStatus,
- body.publishAt,
- body.contentLength,
- )
- }
-
- @ApiOperation({ summary: '上传视频分片' })
- @Post('video/upload/part')
- @UseInterceptors(FileInterceptor('file'))
- async uploadVideoPart(
- @GetToken() token: TokenInfo,
- @Body()
- body: UploadVideoPartDto,
- @UploadedFile() file: Express.Multer.File,
- ) {
- // 确保partNumber是有效值,并转换为数字
- const partNumber
- = body.partNumber !== undefined
- ? typeof body.partNumber === 'string'
- ? Number.parseInt(body.partNumber, 10)
- : body.partNumber
- : 0
-
- console.log('接收到上传视频分片请求:', {
- accountId: body.accountId,
- uploadToken: body.uploadToken,
- partNumber,
- fileSize: file?.buffer?.length || 0,
- })
-
- return await this.youtubeService.uploadVideoPart(
- body.accountId,
- file.buffer,
- body.uploadToken,
- partNumber,
- )
- }
-
- @ApiOperation({ summary: '完成视频上传' })
- @Post('video/upload/complete')
- async videoComplete(
- @GetToken() token: TokenInfo,
- @Body()
- body: UploadVideoCompleteDto,
- ) {
- return await this.youtubeService.videoComplete(
- body.accountId,
- body.uploadToken,
- body.totalSize,
- )
- }
+ // @ApiOperation({ summary: '上传视频到YouTube' })
+ // @Post('video/upload/small')
+ // @UseInterceptors(FileInterceptor('file'))
+ // async uploadVideo(
+ // @GetToken() token: TokenInfo,
+ // @Body() body: UploadSmallVideoDto,
+ // @UploadedFile() file: Express.Multer.File,
+ // ) {
+ // return await this.youtubeService.uploadVideo(
+ // body.accountId,
+ // file.buffer,
+ // file.originalname,
+ // body.title,
+ // body.description,
+ // body.privacyStatus,
+ // body.keywords,
+ // body.categoryId,
+ // body.publishAt,
+ // )
+ // }
+
+ // @ApiOperation({ summary: '初始化视频分片上传' })
+ // @Post('video/upload/init')
+ // async initVideoUpload(
+ // @GetToken() token: TokenInfo,
+ // @Body()
+ // body: InitVideoUploadDto,
+ // ) {
+ // this.logger.log('接收到初始化视频上传请求:', {
+ // ...body,
+ // contentLength: body.contentLength,
+ // })
+
+ // return await this.youtubeService.initVideoUpload(
+ // body.accountId,
+ // body.title,
+ // body.description,
+ // body.keywords,
+ // body.categoryId,
+ // body.privacyStatus,
+ // body.publishAt,
+ // body.contentLength,
+ // )
+ // }
+
+ // @ApiOperation({ summary: '上传视频分片' })
+ // @Post('video/upload/part')
+ // @UseInterceptors(FileInterceptor('file'))
+ // async uploadVideoPart(
+ // @GetToken() token: TokenInfo,
+ // @Body()
+ // body: UploadVideoPartDto,
+ // @UploadedFile() file: Express.Multer.File,
+ // ) {
+ // // 确保partNumber是有效值,并转换为数字
+ // const partNumber
+ // = body.partNumber !== undefined
+ // ? typeof body.partNumber === 'string'
+ // ? Number.parseInt(body.partNumber, 10)
+ // : body.partNumber
+ // : 0
+
+ // console.log('接收到上传视频分片请求:', {
+ // accountId: body.accountId,
+ // uploadToken: body.uploadToken,
+ // partNumber,
+ // fileSize: file?.buffer?.length || 0,
+ // })
+
+ // return await this.youtubeService.uploadVideoPart(
+ // body.accountId,
+ // file.buffer,
+ // body.uploadToken,
+ // partNumber,
+ // )
+ // }
+
+ // @ApiOperation({ summary: '完成视频上传' })
+ // @Post('video/upload/complete')
+ // async videoComplete(
+ // @GetToken() token: TokenInfo,
+ // @Body()
+ // body: UploadVideoCompleteDto,
+ // ) {
+ // return await this.youtubeService.videoComplete(
+ // body.accountId,
+ // body.uploadToken,
+ // body.totalSize,
+ // )
+ // }
// 创建评论会话
@ApiOperation({ summary: '创建评论会话' })
@@ -553,6 +555,18 @@ export class YoutubeController {
)
}
+ // 更新账号频道ID
+ @ApiOperation({ summary: '获取频道列表' })
+ @Get('channel/update/channelId/:accountId')
+ async updateChannelId(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ ) {
+ return await this.youtubeService.updateChannelId(
+ accountId,
+ )
+ }
+
// 获取频道板块列表
@ApiOperation({ summary: '获取频道板块列表' })
@Post('channel/sections/list')
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/youtube.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/youtube.service.ts
index 185d149d..2445a9ef 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/youtube.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/plat/youtube/youtube.service.ts
@@ -1,9 +1,9 @@
import { Injectable, Logger } from '@nestjs/common'
-import { AppHttpException } from 'src/common/filters/httpException.filter'
import { RedisService } from 'src/libs/redis/redis.service'
import { AccountNatsApi } from 'src/transports/account/account.natsApi'
import { PlatYoutubeNatsApi } from 'src/transports/plat/youtube.natsApi'
import { AddAccount } from '../plat.utils'
+import { AppException } from '@/common/exceptions'
@Injectable()
export class YoutubeService {
@@ -66,7 +66,7 @@ export class YoutubeService {
)
this.logger.log(code, data, message)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -97,7 +97,7 @@ export class YoutubeService {
pageToken,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -138,7 +138,7 @@ export class YoutubeService {
publishAt,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -183,7 +183,7 @@ export class YoutubeService {
contentLength,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -216,7 +216,7 @@ export class YoutubeService {
partNumber,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -238,7 +238,7 @@ export class YoutubeService {
totalSize,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -268,7 +268,7 @@ export class YoutubeService {
pageToken,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -288,7 +288,7 @@ export class YoutubeService {
textOriginal,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -316,7 +316,7 @@ export class YoutubeService {
searchTerms,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -333,7 +333,7 @@ export class YoutubeService {
textOriginal,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -346,7 +346,7 @@ export class YoutubeService {
textOriginal,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -366,7 +366,7 @@ export class YoutubeService {
banAuthor,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -378,7 +378,7 @@ export class YoutubeService {
id,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -390,7 +390,7 @@ export class YoutubeService {
id,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -403,7 +403,7 @@ export class YoutubeService {
rating,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -415,7 +415,7 @@ export class YoutubeService {
id,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -446,7 +446,7 @@ export class YoutubeService {
recordingDate,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -466,7 +466,7 @@ export class YoutubeService {
privacyStatus,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -486,7 +486,7 @@ export class YoutubeService {
description,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -496,7 +496,7 @@ export class YoutubeService {
const { code, data, message }
= await this.platYoutubeNatsApi.deletePlaylist(accountId, id)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -519,7 +519,7 @@ export class YoutubeService {
pageToken,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -545,7 +545,7 @@ export class YoutubeService {
endAt,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -569,7 +569,7 @@ export class YoutubeService {
videoId,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -597,7 +597,7 @@ export class YoutubeService {
endAt,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -607,7 +607,7 @@ export class YoutubeService {
const { code, data, message }
= await this.platYoutubeNatsApi.deletePlayListItems(accountId, id)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -632,7 +632,7 @@ export class YoutubeService {
pageToken,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -651,7 +651,7 @@ export class YoutubeService {
mine,
)
if (code)
- throw new AppHttpException(code, message)
+ throw new AppException(code, message)
return data
}
@@ -661,4 +661,27 @@ export class YoutubeService {
true,
)
}
+
+ // 更新账号 channelId
+ async updateChannelId(accountId: string) {
+ const accountInfo = await this.accountNatsApi.getAccountByParam({ account: accountId })
+
+ const channelInfo = await this.getChannelsList(accountId, undefined, undefined, undefined, true)
+
+ const fetchedChannelId = channelInfo.id
+
+ if (fetchedChannelId && typeof fetchedChannelId === 'string' && fetchedChannelId.trim() !== '') {
+ if (accountInfo) {
+ const currentChannelId = accountInfo.channelId || ''
+ if (currentChannelId !== fetchedChannelId) {
+ this.logger.log(`更新频道 channelId: ${currentChannelId} -> ${fetchedChannelId}`)
+ await this.accountNatsApi.updateAccountInfo(
+ accountInfo.id,
+ { channelId: fetchedChannelId },
+ )
+ }
+ }
+ }
+ return fetchedChannelId
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/statistics/dto/statistics.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/statistics/dto/statistics.dto.ts
new file mode 100644
index 00000000..af5b4ddb
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/statistics/dto/statistics.dto.ts
@@ -0,0 +1,28 @@
+import { ApiProperty } from '@nestjs/swagger'
+import { Expose } from 'class-transformer'
+import { IsString } from 'class-validator'
+
+/**
+ * 获取日期 DTO
+ */
+export class getPeriodDateDto {
+ @ApiProperty({
+ description: '开始日期',
+ required: true,
+ })
+ @IsString({
+ message: '开始日期',
+ })
+ @Expose()
+ readonly startDate: string
+
+ @ApiProperty({
+ description: '结束日期',
+ required: true,
+ })
+ @IsString({
+ message: '结束日期',
+ })
+ @Expose()
+ readonly endDate: string
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.controller.ts
new file mode 100644
index 00000000..3fdd78a3
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.controller.ts
@@ -0,0 +1,66 @@
+import {
+ Controller,
+ Get,
+ Logger,
+ Param,
+ Query,
+} from '@nestjs/common'
+import { ApiOperation, ApiTags } from '@nestjs/swagger'
+import { GetToken } from 'src/auth/auth.guard'
+import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
+import { StatisticsNatsApi } from '@/transports/statistics/statistics.natsApi'
+import {
+ getPeriodDateDto,
+} from './dto/statistics.dto'
+
+import { StatisticsService } from './statistics.service'
+
+@ApiTags('statistics - 数据统计')
+@Controller('statistics')
+export class StatisticsController {
+ private readonly logger = new Logger(StatisticsController.name)
+
+ constructor(
+ private readonly statisticsService: StatisticsService,
+ private readonly statisticsNatsApi: StatisticsNatsApi,
+ ) {}
+
+ @ApiOperation({ summary: '获取账号最新数据' })
+ @Get('account/latest/:accountId')
+ async getAccountDataLatest(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ ) {
+ console.log(accountId)
+ return await this.statisticsService.getAccountDataLatest(
+ accountId,
+ )
+ }
+
+ @ApiOperation({ summary: '获取账号增量' })
+ @Get('account/increase/:accountId')
+ async getAccountDataIncrease(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ ) {
+ console.log(accountId)
+ return await this.statisticsService.getAccountDataIncrease(
+ accountId,
+ )
+ }
+
+ @ApiOperation({ summary: '获取账号一段时间内数据' })
+ @Get('account/period/:accountId')
+ async getAccountDataPeriod(
+ @GetToken() token: TokenInfo,
+ @Param('accountId') accountId: string,
+ @Query() query: getPeriodDateDto,
+ ) {
+ console.log(accountId, query.startDate, query.endDate)
+ return await this.statisticsService.getAccountDataPeriod(
+ accountId,
+ query.startDate,
+ query.endDate,
+ )
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.module.ts b/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.module.ts
new file mode 100644
index 00000000..3993fc74
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.module.ts
@@ -0,0 +1,11 @@
+import { Module } from '@nestjs/common'
+import { StatisticsController } from './statistics.controller'
+import { StatisticsService } from './statistics.service'
+
+@Module({
+ imports: [],
+ controllers: [StatisticsController],
+ providers: [StatisticsService],
+ exports: [StatisticsService],
+})
+export class StatisticsModule {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.service.ts
new file mode 100644
index 00000000..4df1b4b2
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/statistics/statistics.service.ts
@@ -0,0 +1,35 @@
+import { Injectable } from '@nestjs/common'
+import { AccountNatsApi } from 'src/transports/account/account.natsApi'
+import { StatisticsNatsApi } from '@/transports/statistics/statistics.natsApi'
+
+@Injectable()
+export class StatisticsService {
+ constructor(
+ private readonly accountNatsApi: AccountNatsApi,
+ private readonly statisticsNatsApi: StatisticsNatsApi,
+ ) {}
+
+ // 获取账号最新数据
+ async getAccountDataLatest(accountId: string) {
+ // 获取账号基础信息
+ const accountInfo = await this.accountNatsApi.getAccountInfoById(accountId)
+ console.log(accountInfo)
+ return await this.statisticsNatsApi.getAccountDataLatest(accountId, accountInfo.type, accountInfo.uid)
+ }
+
+ // 获取账号增量数据
+ async getAccountDataIncrease(accountId: string) {
+ // 获取账号基础信息
+ const accountInfo = await this.accountNatsApi.getAccountInfoById(accountId)
+ console.log(accountInfo)
+ return await this.statisticsNatsApi.getAccountDataIncrease(accountId, accountInfo.type, accountInfo.uid)
+ }
+
+ // 获取账号一段时间数据
+ async getAccountDataPeriod(accountId: string, startDate: string, endDate: string) {
+ // 获取账号基础信息
+ const accountInfo = await this.accountNatsApi.getAccountInfoById(accountId)
+ console.log(accountInfo)
+ return await this.statisticsNatsApi.getAccountDataPeriod(accountId, accountInfo.type, accountInfo.uid, startDate, endDate)
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.controller.ts
index cbb2c55f..06976bfd 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.controller.ts
@@ -4,7 +4,7 @@ import { GetToken } from '@/auth/auth.guard'
import { TokenInfo } from '@/auth/interfaces/auth.interfaces'
import { AcceptTaskDto } from './task.dto'
import { TaskService } from './task.service'
-import { TaskVo, TotalAmountVo, UserTaskVo } from './task.vo'
+import { TaskWithOpportunityVo, TotalAmountVo, UserTaskVo } from './task.vo'
@ApiTags('task - 任务')
@Controller('task')
@@ -12,10 +12,10 @@ export class TaskController {
constructor(private readonly taskService: TaskService) {}
@ApiOperation({ summary: '获取任务信息' })
- @Get(':id')
- async getTaskInfo(@Param('id') id: string): Promise<TaskVo> {
- const result = await this.taskService.getTaskInfo(id)
- return TaskVo.create(result)
+ @Get('opportunity/:opportunityId')
+ async getTaskInfo(@Param('opportunityId') opportunityId: string): Promise<TaskWithOpportunityVo> {
+ const result = await this.taskService.getTaskInfoByOpportunityId(opportunityId)
+ return TaskWithOpportunityVo.create(result)
}
@ApiOperation({ summary: '获取进行中任务的金额总数' })
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.dto.ts
index b91e5a21..37a8c737 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.dto.ts
@@ -1,11 +1,11 @@
import { createZodDto } from '@common/utils'
import { z } from 'zod/v4'
-export const getTaskSchema = z.object({
- id: z.string().min(1),
+export const getTaskByOpportunityIdSchema = z.object({
+ opportunityId: z.string().min(1),
})
-export class GetTaskDto extends createZodDto(getTaskSchema) {}
+export class GetTaskByOpportunityIdDto extends createZodDto(getTaskByOpportunityIdSchema) {}
export const getUserRewardAmountSchema = z.object({
userId: z.string().min(1),
@@ -16,10 +16,7 @@ export class GetUserRewardAmountDto extends createZodDto(
) {}
export const acceptTaskSchema = z.object({
- taskId: z.string().min(1),
- accountType: z.string().min(1),
- uid: z.string().min(1),
- account: z.string().min(1),
+ opportunityId: z.string().min(1),
})
export class AcceptTaskDto extends createZodDto(acceptTaskSchema) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.interface.ts b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.interface.ts
index bd1fde67..452bccde 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.interface.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.interface.ts
@@ -5,18 +5,24 @@ export interface TaskDetail {
type: string
maxRecruits: number
currentRecruits: number
- deadline: Date
+ deadline: string
reward: number
status: string
accountTypes: string[]
taskData?: {
- type: string
targetWorksId?: string
targetAuthorId?: string
platform?: string
}
- createdAt: Date
- updatedAt: Date
+ createdAt: string
+ updatedAt: string
+}
+
+export interface TaskWithOpportunityDetail extends TaskDetail {
+ opportunityId: string
+ opportunityStatus: string
+ expiredAt: string
+ accountId: string
}
export interface TotalAmountResult {
@@ -31,6 +37,7 @@ export interface UserTaskDetail {
accountType: string
uid: string
account: string
+ accountId: string
reward: number
- createdAt: Date
+ createdAt: string
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.service.ts
index f8ecee38..b612817d 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.service.ts
@@ -6,8 +6,8 @@ import { AcceptTaskDto } from './task.dto'
export class TaskService {
constructor(private readonly taskNatsApi: TaskNatsApi) {}
- async getTaskInfo(taskId: string) {
- return await this.taskNatsApi.getTaskInfo(taskId)
+ async getTaskInfoByOpportunityId(opportunityId: string) {
+ return await this.taskNatsApi.getTaskInfoByOpportunityId(opportunityId)
}
async getTotalRewardAmount(userId: string) {
@@ -16,7 +16,7 @@ export class TaskService {
async acceptTask(userId: string, acceptTaskDto: AcceptTaskDto) {
return await this.taskNatsApi.acceptTask({
- ...acceptTaskDto,
+ opportunityId: acceptTaskDto.opportunityId,
userId,
})
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.vo.ts b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.vo.ts
index 47a220c7..39b979a9 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/task/task.vo.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/task/task.vo.ts
@@ -8,20 +8,50 @@ export const taskVoSchema = z.object({
type: z.string(),
maxRecruits: z.number(),
currentRecruits: z.number(),
- deadline: z.date(),
+ deadline: z.string(),
reward: z.number(),
status: z.string(),
accountTypes: z.array(z.string()),
taskData: z
.object({
- type: z.string(),
+ // infoByOpportunityId 返回的 taskData 不包含 type 字段
targetWorksId: z.string().optional(),
targetAuthorId: z.string().optional(),
platform: z.string().optional(),
})
.optional(),
- createdAt: z.date(),
- updatedAt: z.date(),
+ materials: z.array(z.any()).optional(),
+ createdAt: z.string(),
+ updatedAt: z.string(),
+})
+
+export const taskWithOpportunityVoSchema = z.object({
+ // task fields
+ id: z.string(),
+ title: z.string(),
+ description: z.string(),
+ type: z.string(),
+ maxRecruits: z.number(),
+ currentRecruits: z.number(),
+ deadline: z.string(),
+ reward: z.number(),
+ status: z.string(),
+ accountTypes: z.array(z.string()),
+ taskData: z
+ .object({
+ targetWorksId: z.string().optional(),
+ targetAuthorId: z.string().optional(),
+ platform: z.string().optional(),
+ })
+ .optional(),
+ materials: z.array(z.any()).optional(),
+ createdAt: z.string(),
+ updatedAt: z.string(),
+ // opportunity fields (flattened)
+ opportunityId: z.string(),
+ opportunityStatus: z.string(),
+ expiredAt: z.string(),
+ accountId: z.string(),
})
export const totalAmountVoSchema = z.object({
@@ -33,13 +63,11 @@ export const userTaskVoSchema = z.object({
taskId: z.string(),
userId: z.string(),
status: z.string(),
- accountType: z.string(),
- uid: z.string(),
- account: z.string(),
reward: z.number(),
- createdAt: z.date(),
+ accountId: z.string(),
})
export class TaskVo extends createZodDto(taskVoSchema) {}
+export class TaskWithOpportunityVo extends createZodDto(taskWithOpportunityVoSchema) {}
export class TotalAmountVo extends createZodDto(totalAmountVoSchema) {}
export class UserTaskVo extends createZodDto(userTaskVoSchema) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.controller.ts
index edcebc98..974ad568 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.controller.ts
@@ -1,9 +1,9 @@
-import { Controller, Get, Query } from '@nestjs/common'
+import { Controller, Get, Param, Query } from '@nestjs/common'
import { ApiOperation, ApiTags } from '@nestjs/swagger'
import { GetToken } from '@/auth/auth.guard'
import { TokenInfo } from '@/auth/interfaces/auth.interfaces'
import { UserTaskService } from './user-task.service'
-import { UserTaskWithTaskVo } from './user-task.vo'
+import { UserTaskVo, UserTaskWithTaskVo } from './user-task.vo'
@ApiTags('task/user-task - 用户任务')
@Controller('task/user-task')
@@ -15,10 +15,18 @@ export class UserTaskController {
async getUserTaskList(
@GetToken() token: TokenInfo,
@Query('status') status?: string,
- ): Promise<UserTaskWithTaskVo[]> {
+ ): Promise<UserTaskVo[]> {
const result = await this.userTaskService.getUserTaskList(token.id, status)
- return Array.isArray(result)
- ? result.map(item => UserTaskWithTaskVo.create(item))
- : []
+ return result.map(item => UserTaskVo.create(item))
+ }
+
+ @ApiOperation({ summary: '获取用户任务详情' })
+ @Get('/:id')
+ async getUserTaskById(
+ @GetToken() token: TokenInfo,
+ @Param('id') id: string,
+ ): Promise<UserTaskWithTaskVo> {
+ const result = await this.userTaskService.getUserTask(token.id, id)
+ return UserTaskWithTaskVo.create(result)
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.service.ts
index 773ed589..c099bb77 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.service.ts
@@ -8,4 +8,8 @@ export class UserTaskService {
async getUserTaskList(userId: string, status?: string) {
return await this.userTaskNatsApi.getUserTaskList(userId, status)
}
+
+ async getUserTask(userId: string, id: string) {
+ return await this.userTaskNatsApi.getUserTask(userId, id)
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.vo.ts b/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.vo.ts
index d82a30c4..59df0df0 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.vo.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/task/user-task/user-task.vo.ts
@@ -1,51 +1,43 @@
import { createZodDto } from '@common/utils'
+import { taskVoSchema } from '@core/task/task.vo'
import { z } from 'zod/v4'
-export const userTaskVoSchema = z.object({
- id: z.string(),
- taskId: z.string(),
- userId: z.string(),
- status: z.string(),
- accountType: z.string(),
- uid: z.string(),
- account: z.string(),
- reward: z.number(),
- createdAt: z.date(),
- updatedAt: z.date().optional(),
+export const autoDataVoSchema = z.object({
+ status: z.union([z.literal(-1), z.literal(0), z.literal(1)]).optional(),
+ message: z.string().optional(),
})
-export class UserTaskVo extends createZodDto(userTaskVoSchema) {}
-
-export const userTaskWithTaskVoSchema = z.object({
+export const userTaskVoSchema = z.object({
id: z.string(),
- taskId: z.string(),
- userId: z.string(),
+ userId: z.any(),
+ taskId: z.any(),
+ accountId: z.string(),
status: z.string(),
- accountType: z.string(),
- uid: z.string(),
- account: z.string(),
+ keepTime: z.number(),
+ submissionUrl: z.string().optional(),
+ taskMaterialId: z.string().optional(),
+ screenshotUrls: z.array(z.string()).optional(),
+ qrCodeScanResult: z.string().optional(),
+ submissionTime: z.date().optional(),
+ completionTime: z.date().optional(),
+ rejectionReason: z.string().optional(),
+ metadata: z.record(z.string(), z.any()).optional(),
+ isFirstTimeSubmission: z.boolean(),
+ verificationNote: z.string().optional(),
reward: z.number(),
- createdAt: z.date(),
- updatedAt: z.date().optional(),
- task: z
- .object({
- id: z.string(),
- title: z.string(),
- description: z.string(),
- type: z.string(),
- deadline: z.date(),
- status: z.string(),
- })
- .optional(),
+ rewardTime: z.date().optional(),
+ verifiedBy: z.any().optional(),
+ autoData: autoDataVoSchema.optional(),
})
-export class UserTaskWithTaskVo extends createZodDto(
- userTaskWithTaskVoSchema,
-) {}
-
export const userTaskListVoSchema = z.object({
- list: z.array(userTaskWithTaskVoSchema),
+ list: z.array(userTaskVoSchema),
total: z.number(),
})
+export const userTaskWithTaskVoSchema = userTaskVoSchema.extend({
+ task: taskVoSchema,
+})
+export class UserTaskVo extends createZodDto(userTaskVoSchema) {}
export class UserTaskListVo extends createZodDto(userTaskListVoSchema) {}
+export class UserTaskWithTaskVo extends createZodDto(userTaskWithTaskVoSchema) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/test/test.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/test/test.controller.ts
index f38e2f83..b0e2fc6c 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/test/test.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/test/test.controller.ts
@@ -5,7 +5,7 @@
* @LastEditors: nevin
* @Description: 测试
*/
-import { Controller, Get } from '@nestjs/common'
+import { Controller, Get, HttpException } from '@nestjs/common'
import { ApiTags } from '@nestjs/swagger'
import { Public } from 'src/auth/auth.guard'
import { TestService } from './test.service'
@@ -18,8 +18,9 @@ export class TestController {
) {}
@Public()
- @Get('addDefaultContent')
+ @Get('test')
addDefaultContent() {
- this.testService.addDefaultContent()
+ return this.testService.addDefaultContent()
+ // throw new Error('测试异常')
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/test/test.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/test/test.service.ts
index 8a9690a0..39a58c7f 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/test/test.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/test/test.service.ts
@@ -1,20 +1,12 @@
import { Injectable } from '@nestjs/common'
-import { EventEmitter2 } from '@nestjs/event-emitter'
-import { UserCreatedEvent } from '@/transports/user/comment'
-import { UserNatsApi } from '@/transports/user/user.natsApi'
+import { MaterialNatsApi } from '@/transports/content/material.natsApi'
@Injectable()
export class TestService {
- constructor(private readonly userNatsApi: UserNatsApi, private eventEmitter: EventEmitter2) { }
+ constructor(private readonly materialNatsApi: MaterialNatsApi) { }
async addDefaultContent() {
- const res = await this.userNatsApi.getUserInfoById(
- '6890bb09bd3530b1fc1e7c36',
- )
- this.eventEmitter.emit(
- 'user.created',
- new UserCreatedEvent(res),
- )
+ const res = await this.materialNatsApi.test()
return res
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/tools/ai.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/tools/ai.controller.ts
index 907cd5db..e16464a5 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/tools/ai.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/tools/ai.controller.ts
@@ -20,8 +20,6 @@ import {
import {
AdminAiIdDto,
AdminAiMarkdownDto,
- AdminFireflycardDto,
- AdminJmTaskDto,
} from './dto/aiAdmin.dto'
@ApiTags('AI工具')
@@ -136,33 +134,6 @@ export class AiToolsController {
return this.aiToolsService.aiArticleHtmlSse(body.content)
}
- @ApiOperation({
- summary: '流光卡片',
- description: 'AI文字转绚丽卡片图',
- })
- @ApiResponse({
- description: '返回图片地址',
- type: String,
- })
- @Post('fireflycard')
- async fireflycard(
- @Body() body: AdminFireflycardDto,
- ) {
- // 二进制文件流
- const res = await this.aiToolsService.fireflycard(
- body.content,
- body.temp,
- body.title,
- )
-
- const fileRes = await this.fileService.uploadByStream(res, {
- path: 'fireflycard',
- fileType: 'png',
- })
-
- return fileRes
- }
-
@ApiOperation({
summary: '文字转Markdown',
description: '文字转Markdown',
@@ -190,34 +161,4 @@ export class AiToolsController {
const res = await this.aiToolsService.getAiMarkdown(param.id)
return res
}
-
- @ApiOperation({
- summary: '即梦文生图',
- description:
- '获取即梦文生图任务ID,0e2bdef17755a3f121b608ec8a763f6b,7e90a4c9bb3c6c8b7056267f27395c78',
- })
- @ApiResponse({
- description: '任务ID',
- type: String,
- })
- @Post('jm/task')
- async upJmImgTask(@Body() body: AdminJmTaskDto) {
- const res = await this.aiToolsService.upJmImgTask(body)
-
- return res
- }
-
- @ApiOperation({
- summary: '获取即梦文生图结果',
- description: '获取即梦文生图结果',
- })
- @ApiResponse({
- description: 'Markdown文本',
- type: Object,
- })
- @Get('jm/task/:id')
- async getJmImgTaskRes(@Param('id') id: string) {
- const res = await this.aiToolsService.getJmImgTaskRes(id)
- return res
- }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/tools/dto/aiAdmin.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/tools/dto/aiAdmin.dto.ts
index 2cc37346..a40ae756 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/tools/dto/aiAdmin.dto.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/tools/dto/aiAdmin.dto.ts
@@ -6,34 +6,10 @@
* @Description: AI工具
*/
import { ApiProperty } from '@nestjs/swagger'
-import { Expose, Type } from 'class-transformer'
+import { Expose } from 'class-transformer'
import {
- IsEnum,
- IsNumber,
- IsOptional,
IsString,
- Max,
- Min,
} from 'class-validator'
-import { FireflycardTempTypes } from '../ai.service'
-
-export class AdminFireflycardDto {
- @ApiProperty({ title: '内容', required: true })
- @IsString({ message: '内容' })
- @Expose()
- readonly content: string
-
- @ApiProperty({ description: '模板', enum: FireflycardTempTypes })
- @IsEnum(FireflycardTempTypes)
- @Expose()
- temp: FireflycardTempTypes
-
- @ApiProperty({ title: '标题', required: false })
- @IsString({ message: '标题' })
- @IsOptional()
- @Expose()
- readonly title?: string
-}
export class AdminAiMarkdownDto {
@ApiProperty({ title: '系统提示词', required: true })
@@ -47,44 +23,6 @@ export class AdminAiMarkdownDto {
readonly content: string
}
-export class AdminJmTaskDto {
- @ApiProperty({ title: '提示词', required: true })
- @IsString({ message: '提示词' })
- @Expose()
- readonly prompt: string
-
- @ApiProperty({ title: '宽度', required: true })
- @Min(520, { message: '最小520' })
- @Max(1300, { message: '最大1300' })
- @IsNumber(
- {
- allowNaN: false,
- },
- { message: '宽度' },
- )
- @Type(() => Number)
- @Expose()
- readonly width: number
-
- @ApiProperty({ title: '高度', required: true })
- @Min(520, { message: '最小520' })
- @Max(1300, { message: '最大1300' })
- @IsNumber(
- {
- allowNaN: false,
- },
- { message: '高度' },
- )
- @Type(() => Number)
- @Expose()
- readonly height: number
-
- @ApiProperty({ title: 'sessionIds', required: true, type: [String] })
- @IsString({ each: true, message: 'sessionIds' })
- @Expose()
- readonly sessionIds: string[]
-}
-
export class AdminAiIdDto {
@ApiProperty({ title: 'ID', required: true })
@IsString({ message: 'ID' })
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/user/dto/points.dto.ts b/aitoearn_web/server/aitoearn-gateway/src/core/user/dto/points.dto.ts
new file mode 100644
index 00000000..746846ed
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/user/dto/points.dto.ts
@@ -0,0 +1,21 @@
+import { ApiProperty } from '@nestjs/swagger'
+import { Expose, Type } from 'class-transformer'
+import { IsNumber, IsOptional, Min } from 'class-validator'
+
+export class GetPointsRecordsDto {
+ @ApiProperty({ description: '页码', default: 1 })
+ @Type(() => Number)
+ @IsNumber({}, { message: '页码必须是数字' })
+ @Min(1, { message: '页码最小为1' })
+ @IsOptional()
+ @Expose()
+ readonly page?: number = 1
+
+ @ApiProperty({ description: '每页数量', default: 10 })
+ @Type(() => Number)
+ @IsNumber({}, { message: '每页数量必须是数字' })
+ @Min(1, { message: '每页数量最小为1' })
+ @IsOptional()
+ @Expose()
+ readonly pageSize?: number = 10
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/user/login.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/user/login.controller.ts
index 3c38b7a2..63c38182 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/user/login.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/user/login.controller.ts
@@ -1,5 +1,4 @@
import { ErrHttpBack } from '@common/filters/httpException.code'
-import { AppHttpException } from '@common/filters/httpException.filter'
import { OrgGuard } from '@common/interceptor/transform.interceptor'
import { getRandomString } from '@common/utils'
import { encryptPassword, validatePassWord } from '@common/utils/password.util'
@@ -21,6 +20,7 @@ import {
UserCancelDto,
} from './dto/login.dto'
import { UserService } from './user.service'
+import { AppException } from '@/common/exceptions'
interface UserMailRegistCache {
code: string
@@ -49,7 +49,7 @@ export class LoginController {
const userInfo = await this.userService.getUserInfoByMail(mail, true)
if (!!userInfo && userInfo.status !== UserStatus.DELETE) {
if (userInfo.status === UserStatus.STOP)
- throw new AppHttpException(ErrHttpBack.err_user_status)
+ throw new AppException(ErrHttpBack.err_user_status)
// 校验密码
const isOk = validatePassWord(
@@ -59,8 +59,7 @@ export class LoginController {
)
if (!isOk)
- throw new AppHttpException(ErrHttpBack.err_user_password)
-
+ throw new AppException(ErrHttpBack.err_user_password, 'password is error')
const token = this.authService.generateToken(userInfo)
const TokenInfo = this.authService.decodeToken(token)
@@ -91,7 +90,7 @@ export class LoginController {
})
if (!mailRes)
- throw new AppHttpException(ErrHttpBack.err_mail_send_fail)
+ throw new AppException(ErrHttpBack.err_mail_send_fail)
await this.redisService.setKey<UserMailRegistCache>(
`userMailRegist:${mail}`,
@@ -170,7 +169,7 @@ export class LoginController {
`userMailRegist:${mail}`,
)
if (!rData)
- throw new AppHttpException(ErrHttpBack.err_user_code_nohad)
+ throw new AppException(ErrHttpBack.err_user_code_nohad)
if (rData.status !== 1) {
return {
@@ -179,13 +178,13 @@ export class LoginController {
}
if (rData.code !== code)
- throw new AppHttpException(ErrHttpBack.err_user_code_nohad)
+ throw new AppException(ErrHttpBack.err_user_code_nohad)
if (inviteCode) {
const inviteUserInfo
= await this.userService.getUserByPopularizeCode(inviteCode)
if (!inviteUserInfo)
- throw new AppHttpException(ErrHttpBack.err_user_pop_code_null)
+ throw new AppException(ErrHttpBack.err_user_pop_code_null)
}
// 生成加盐密码
@@ -221,7 +220,7 @@ export class LoginController {
const userInfo = await this.userService.getUserInfoByMail(mail)
if (!userInfo || userInfo.status === UserStatus.DELETE)
- throw new AppHttpException(ErrHttpBack.err_user_no_had)
+ throw new AppException(ErrHttpBack.err_user_no_had)
// 没有进行创建逻辑
const code = getRandomString(6, true)
@@ -232,7 +231,7 @@ export class LoginController {
60 * 5,
)
if (!rRes)
- throw new AppHttpException(ErrHttpBack.err_mail_send_fail)
+ throw new AppException(ErrHttpBack.err_mail_send_fail)
// 发验证码邮件,邮箱号和code
const mailRes = await this.mailService.sendEmail({
@@ -245,7 +244,7 @@ export class LoginController {
})
if (!mailRes)
- throw new AppHttpException(ErrHttpBack.err_mail_send_fail)
+ throw new AppException(ErrHttpBack.err_mail_send_fail)
return code
}
@@ -296,7 +295,7 @@ export class LoginController {
`userMailRepassword:${mail}`,
)
if (!rRes || rRes.code !== code)
- throw new AppHttpException(ErrHttpBack.err_user_code_nohad)
+ throw new AppException(ErrHttpBack.err_user_code_nohad)
if (!rRes.status) {
return {
@@ -306,7 +305,7 @@ export class LoginController {
const userInfo = await this.userService.getUserInfoByMail(mail)
if (!userInfo || userInfo.status === UserStatus.DELETE)
- throw new AppHttpException(ErrHttpBack.err_user_had)
+ throw new AppException(ErrHttpBack.err_user_had)
const { password: resPassword, salt: resSalt } = encryptPassword(password)
@@ -317,7 +316,7 @@ export class LoginController {
)
if (!res)
- throw new AppHttpException(ErrHttpBack.fail)
+ throw new AppException(ErrHttpBack.fail)
const token = this.authService.generateToken(userInfo)
const TokenInfo = this.authService.decodeToken(token)
@@ -343,7 +342,7 @@ export class LoginController {
)
if (!!userInfo && userInfo.status !== UserStatus.DELETE) {
if (userInfo.status === UserStatus.STOP)
- throw new AppHttpException(ErrHttpBack.err_user_status)
+ throw new AppException(ErrHttpBack.err_user_status)
}
const tokenInfo = {
id: userInfo.id,
@@ -369,7 +368,7 @@ export class LoginController {
async getCancelMailCode(@GetToken() token: TokenInfo) {
const userInfo = await this.userService.getUserInfoById(token.id)
if (!userInfo || userInfo.status === UserStatus.DELETE)
- throw new AppHttpException(ErrHttpBack.err_user_status)
+ throw new AppException(ErrHttpBack.err_user_status)
const code = getRandomString(6, true)
@@ -403,7 +402,7 @@ export class LoginController {
`userCancelCode:${token.mail}`,
)
if (cacheCode !== code)
- throw new AppHttpException(ErrHttpBack.err_user_code_nohad)
+ throw new AppException(ErrHttpBack.err_user_code_nohad)
const res = await this.userService.updateUserStatus(token.id, UserStatus.DELETE)
return res
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/user/user.controller.ts b/aitoearn_web/server/aitoearn-gateway/src/core/user/user.controller.ts
index 2924423b..e2278945 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/user/user.controller.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/user/user.controller.ts
@@ -1,17 +1,20 @@
-import { Body, Controller, Get, Param, Put } from '@nestjs/common'
+import { Body, Controller, Get, Param, Put, Query } from '@nestjs/common'
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger'
import { GetToken, Public } from 'src/auth/auth.guard'
import { TokenInfo } from 'src/auth/interfaces/auth.interfaces'
import { ErrHttpBack } from 'src/common/filters/httpException.code'
-import { AppHttpException } from 'src/common/filters/httpException.filter'
-import { UpdateUserInfoDto, UpdateVipInfoDto } from './dto/user.dto'
+import { AppException } from '@/common/exceptions'
+import { UserVipCycleType } from '@/transports/user/comment'
+import { GetPointsRecordsDto } from './dto/points.dto'
+import { UpdateUserInfoDto } from './dto/user.dto'
import { UserResDto } from './dto/userRes.dto'
import { UserService } from './user.service'
+import { PointsRecordsVo } from './user.vo'
@ApiTags('用户')
@Controller('user')
export class UserController {
- constructor(private readonly userService: UserService) {}
+ constructor(private readonly userService: UserService) { }
@ApiOperation({
summary: '用户信息',
@@ -41,23 +44,38 @@ export class UserController {
) {
const userInfo = await this.userService.getUserInfoById(token.id)
if (!userInfo)
- throw new AppHttpException(ErrHttpBack.err_user_no_had)
+ throw new AppException(ErrHttpBack.err_user_no_had)
const res = await this.userService.updateUserInfo(token.id, body)
return res
}
- @ApiOperation({ description: '更新用户VIP信息', summary: '更新用户VIP信息' })
- @Put('vip/set')
- async updateVipInfo(
+ @ApiOperation({
+ description: '设置用户体验VIP信息',
+ summary: '设置用户体验VIP信息',
+ })
+ @Put('vip/set/experience')
+ async setVipExperience(
@GetToken() token: TokenInfo,
- @Body() body: UpdateVipInfoDto,
) {
const userInfo = await this.userService.getUserInfoById(token.id)
if (!userInfo)
- throw new AppHttpException(ErrHttpBack.err_user_no_had)
+ throw new AppException(ErrHttpBack.err_user_no_had)
+ if (userInfo.vipInfo)
+ throw new AppException(ErrHttpBack.err_user_vip_had)
- const res = await this.userService.setUserVipInfo(token.id, body.cycleType)
+ const res = await this.userService.setUserVipInfo(token.id, UserVipCycleType.EXPERIENCE)
return res
}
+
+ // 积分相关
+ @ApiOperation({ summary: '获取我的积分记录' })
+ @Get('points/records')
+ getMyPointsRecords(
+ @GetToken() token: TokenInfo,
+ @Query() query: GetPointsRecordsDto,
+ ): Promise<PointsRecordsVo> {
+ const { page = 1, pageSize = 10 } = query
+ return this.userService.getMyPointsRecords(token.id, page, pageSize)
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/user/user.service.ts b/aitoearn_web/server/aitoearn-gateway/src/core/user/user.service.ts
index 3f584353..1522799b 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/core/user/user.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/user/user.service.ts
@@ -2,6 +2,7 @@ import { Injectable } from '@nestjs/common'
import { User, UserStatus, UserVipCycleType } from 'src/transports/user/comment'
import { UserNatsApi } from 'src/transports/user/user.natsApi'
import { UserVipNatsApi } from 'src/transports/user/vip.natsApi'
+import { UserPointsNatsApi } from '@/transports/user/points.natsApi'
import { UpdateUserInfoDto } from './dto/user.dto'
@Injectable()
@@ -9,6 +10,7 @@ export class UserService {
constructor(
private readonly userNatsApi: UserNatsApi,
private readonly userVipNatsApi: UserVipNatsApi,
+ private readonly userPointsNatsApi: UserPointsNatsApi,
) {}
/**
@@ -64,8 +66,9 @@ export class UserService {
/**
* 更新用户密码
- * @param mail
+ * @param id
* @param password
+ * @param salt
* @returns
*/
async updateUserPassword(id: string, password: string, salt: string): Promise<boolean> {
@@ -133,4 +136,9 @@ export class UserService {
return res
}
+
+ /** 获取我的积分记录 */
+ async getMyPointsRecords(userId: string, page = 1, pageSize = 10) {
+ return await this.userPointsNatsApi.getRecords(userId, page, pageSize)
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/core/user/user.vo.ts b/aitoearn_web/server/aitoearn-gateway/src/core/user/user.vo.ts
new file mode 100644
index 00000000..61b743f5
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/core/user/user.vo.ts
@@ -0,0 +1,23 @@
+import { createZodDto } from '@common/utils'
+import { z } from 'zod/v4'
+
+// 积分记录 VO
+export const pointsRecordVoSchema = z.object({
+ id: z.string().describe('记录ID'),
+ userId: z.string().describe('用户ID'),
+ amount: z.number().describe('积分变动数量'),
+ balance: z.number().describe('变动后余额'),
+ type: z.string().describe('积分变动类型, ai_service ai 生成, user_register 用户注册'),
+ description: z.string().optional().describe('积分变动描述'),
+ metadata: z.record(z.string(), z.any()).optional().describe('额外信息'),
+})
+
+export class PointsRecordVo extends createZodDto(pointsRecordVoSchema) {}
+
+// 积分记录列表 VO
+export const pointsRecordsVoSchema = z.object({
+ list: z.array(pointsRecordVoSchema).describe('积分记录列表'),
+ total: z.number().describe('总记录数'),
+})
+
+export class PointsRecordsVo extends createZodDto(pointsRecordsVoSchema) {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/libs/aws-s3/s3.service.ts b/aitoearn_web/server/aitoearn-gateway/src/libs/aws-s3/s3.service.ts
index 80c2f206..7b396d0e 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/libs/aws-s3/s3.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/libs/aws-s3/s3.service.ts
@@ -9,8 +9,8 @@ import {
} from '@aws-sdk/client-s3'
import { getSignedUrl } from '@aws-sdk/s3-request-presigner'
import { Injectable, Logger } from '@nestjs/common'
+import { AppException } from '@/common/exceptions'
import { ErrHttpBack } from '@/common/filters/httpException.code'
-import { AppHttpException } from '@/common/filters/httpException.filter'
@Injectable()
export class S3Service {
@@ -54,7 +54,7 @@ export class S3Service {
}
catch (error) {
Logger.debug(error)
- throw new AppHttpException(ErrHttpBack.fail)
+ throw new AppException(ErrHttpBack.fail)
}
}
@@ -101,7 +101,7 @@ export class S3Service {
}
catch (error) {
Logger.debug(error)
- throw new AppHttpException(ErrHttpBack.fail)
+ throw new AppException(ErrHttpBack.fail)
}
}
@@ -215,4 +215,32 @@ export class S3Service {
await client.send(command)
}
+
+ /**
+ * 获取某个目录的总空间大小
+ * @param prefix
+ * @param bucketName
+ * @returns
+ */
+ async getDirectorySize(
+ prefix: string,
+ bucketName?: string,
+ ): Promise<number> {
+ bucketName = bucketName || this.defaultBucket
+ const client = this.getClient(bucketName)
+ let totalSize = 0
+
+ const command = new GetObjectCommand({
+ Bucket: bucketName,
+ Key: prefix,
+ })
+ try {
+ const response = await client.send(command)
+ totalSize += response.ContentLength || 0
+ }
+ catch (error) {
+ Logger.debug(error)
+ }
+ return totalSize
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/account/account.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/account/account.natsApi.ts
index c4aa753d..a2f95229 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/account/account.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/account/account.natsApi.ts
@@ -1,19 +1,17 @@
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
import { Account, AccountStatus, AccountType } from './comment'
@Injectable()
-export class AccountNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class AccountNatsApi extends BaseNatsApi {
/**
* 添加或更新账号
@param newData
* @returns
*/
async createAccount(newData: Partial<Account>): Promise<Account> {
- const res = await this.natsService.sendMessage<Account>(
+ const res = await this.sendMessage<Account>(
NatsApi.account.account.create,
{
account: {
@@ -35,7 +33,7 @@ export class AccountNatsApi {
* @returns
*/
async updateAccountInfo(id: string, data: any) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.account.account.updateAccountInfo,
{ id, ...data },
)
@@ -46,10 +44,10 @@ export class AccountNatsApi {
/**
* 根据用户id获取账号
*/
- async getAccountInfoById(id: string) {
- const res = await this.natsService.sendMessage<Account>(
+ async getAccountInfoById(accountId: string) {
+ const res = await this.sendMessage<Account>(
NatsApi.account.account.getAccountInfoById,
- { id },
+ { accountId },
)
return res
@@ -62,7 +60,7 @@ export class AccountNatsApi {
* @returns
*/
async updateAccountStatus(id: string, status: AccountStatus) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.account.account.updateAccountStatus,
{ id, status },
)
@@ -76,7 +74,7 @@ export class AccountNatsApi {
* @returns
*/
async getUserAccounts(userId: string) {
- const res = await this.natsService.sendMessage<Account[]>(
+ const res = await this.sendMessage<Account[]>(
NatsApi.account.account.getUserAccounts,
{ userId },
)
@@ -91,7 +89,7 @@ export class AccountNatsApi {
* @returns
*/
async getAccountListByIds(userId: string, ids: string[]) {
- const res = await this.natsService.sendMessage<Account[]>(
+ const res = await this.sendMessage<Account[]>(
NatsApi.account.account.getAccountListByIds,
{ userId, ids },
)
@@ -106,7 +104,7 @@ export class AccountNatsApi {
* @returns
*/
async getAccountStatistics(userId: string, type?: AccountType) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
accountTotal: number
list: Account[]
fansCount?: number
@@ -126,7 +124,7 @@ export class AccountNatsApi {
* @returns
*/
async getUserAccountCount(userId: string) {
- const res = await this.natsService.sendMessage<number>(
+ const res = await this.sendMessage<number>(
NatsApi.account.account.getUserAccountCount,
{ userId },
)
@@ -141,7 +139,7 @@ export class AccountNatsApi {
* @returns
*/
async deleteAccount(id: string, userId: string): Promise<boolean> {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.account.account.deleteUserAccount,
{ userId, accountId: id },
)
@@ -151,7 +149,7 @@ export class AccountNatsApi {
// 删除多个账户
async deleteAccounts(ids: string[], userId: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.account.account.deleteUserAccounts,
{ userId, ids },
)
@@ -170,7 +168,7 @@ export class AccountNatsApi {
income?: number,
workCount?: number,
) {
- const res = await this.natsService.sendMessage<number>(
+ const res = await this.sendMessage<number>(
NatsApi.account.account.updateAccountStatistics,
{
account: id,
@@ -191,7 +189,7 @@ export class AccountNatsApi {
* 根据查询参数获取账号
*/
async getAccountByParam(param: { [key: string]: string }) {
- const res = await this.natsService.sendMessage<Account>(
+ const res = await this.sendMessage<Account>(
NatsApi.account.account.getAccountByParam,
{ param },
)
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/account/accountGroup.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/account/accountGroup.natsApi.ts
index 3899ad3a..f7b71c64 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/account/accountGroup.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/account/accountGroup.natsApi.ts
@@ -1,18 +1,16 @@
import { Injectable } from '@nestjs/common'
import { AccountGroup } from 'src/core/account/accountGroup/comment'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class AccountGroupNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class AccountGroupNatsApi extends BaseNatsApi {
/**
* 添加或者更新组
* @param accountGroup
*/
async createGroup(newData: Partial<AccountGroup>) {
- const res = await this.natsService.sendMessage<AccountGroup>(
+ const res = await this.sendMessage<AccountGroup>(
NatsApi.account.group.create,
newData,
)
@@ -26,7 +24,7 @@ export class AccountGroupNatsApi {
* @param newData
*/
async updateGroup(id: string, newData: Partial<AccountGroup>) {
- const res = await this.natsService.sendMessage<AccountGroup>(
+ const res = await this.sendMessage<AccountGroup>(
NatsApi.account.group.update,
{ id, ...newData },
)
@@ -40,7 +38,7 @@ export class AccountGroupNatsApi {
* @param userId
*/
async deleteAccountGroup(ids: string[], userId: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.account.group.deleteList,
{ ids, userId },
)
@@ -50,7 +48,7 @@ export class AccountGroupNatsApi {
// 获取所有组
async getAccountGroup(userId: string) {
- const res = await this.natsService.sendMessage<AccountGroup[]>(
+ const res = await this.sendMessage<AccountGroup[]>(
NatsApi.account.group.getList,
{ userId },
)
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/account/comment.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/account/comment.ts
index 65ed2d5a..e3a156f8 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/account/comment.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/account/comment.ts
@@ -11,6 +11,7 @@ export enum AccountType {
Facebook = 'facebook', // Facebook
Instagram = 'instagram', // Instagram
Threads = 'threads', // Threads
+ Pinterest = 'pinterest', // Pinterest
}
export enum AccountStatus {
@@ -41,6 +42,7 @@ export interface Account {
income: number
groupId: string
status: AccountStatus // 登录状态,用于判断是否失效
+ channelId: string
}
export interface AccountGroup {
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/account/fingerprint.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/account/fingerprint.natsApi.ts
index 8a040d64..ce915650 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/account/fingerprint.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/account/fingerprint.natsApi.ts
@@ -1,14 +1,12 @@
import { GenerateFingerprintDto } from '@core/other/dto/fingerprint.dto'
import { Injectable } from '@nestjs/common'
-import { NatsService } from '@transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class FingerprintNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class FingerprintNatsApi extends BaseNatsApi {
async generateFingerprint(data: GenerateFingerprintDto) {
- return await this.natsService.sendMessage<any>(
+ return await this.sendMessage<any>(
NatsApi.account.fingerprint.generateFingerprint,
data,
)
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/ai/ai.interface.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/ai/ai.interface.ts
index b627c8a9..6e22b72e 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/ai/ai.interface.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/ai/ai.interface.ts
@@ -1,11 +1,12 @@
// 消息内容类型
export interface MessageContent {
- type: 'text' | 'image_url'
+ type: 'text' | 'image_url' | string
text?: string
image_url?: {
url: string
detail?: 'auto' | 'low' | 'high'
}
+ [key: string]: unknown
}
// 聊天消息
@@ -310,9 +311,24 @@ export interface VideoGenerationModel {
modes: string[]
sizes: string[]
durations: number[]
+ supportedParameters: string[]
}
// 获取模型参数请求接口
export interface GetModelParamsRequest {
userId: string
}
+
+// 对话模型参数接口
+export interface ChatModel {
+ name: string
+ description: string
+ inputModalities: ('text' | 'image' | 'video' | 'audio')[]
+ outputModalities: ('text' | 'image' | 'video' | 'audio')[]
+ pricing: {
+ prompt: string
+ completion: string
+ image: string
+ audio: string
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/ai/ai.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/ai/ai.natsApi.ts
index 98a49d5e..238f5a62 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/ai/ai.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/ai/ai.natsApi.ts
@@ -2,6 +2,7 @@ import { Injectable } from '@nestjs/common'
import { NatsApi } from '../api'
import { BaseNatsApi } from '../base.natsApi'
import {
+ ChatModel,
FireflycardGenerationRequest,
FireflycardGenerationResponse,
ImageEditModel,
@@ -199,4 +200,15 @@ export class AiNatsApi extends BaseNatsApi {
{},
)
}
+
+ /**
+ * 获取图片编辑模型参数
+ * @returns 图片编辑模型参数列表
+ */
+ async getChatModels(): Promise<ChatModel[]> {
+ return await this.sendMessage<ChatModel[]>(
+ NatsApi.ai.chat.models,
+ {},
+ )
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/api.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/api.ts
index 395ff5ab..e294b835 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/api.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/api.ts
@@ -16,13 +16,20 @@ export const NatsApi = {
},
task: {
list: 'user.task.list',
+ get: 'user.task.get',
+ },
+ points: {
+ get: 'user.points.get',
+ getRecords: 'user.points.getRecords',
+ add: 'user.points.add',
+ deduct: 'user.points.deduct',
},
},
account: {
account: {
create: 'account.account.create',
getUserAccounts: 'account.account.getUserAccounts',
- getAccountInfoById: 'account.account.getAccountInfoById',
+ getAccountInfoById: 'account.account.getAccountInfo',
updateAccountInfo: 'account.account.updateAccountInfo',
updateAccountStatistics: 'account.account.updateAccountStatistics',
updateAccountStatus: 'account.account.updateAccountStatus',
@@ -55,6 +62,16 @@ export const NatsApi = {
replyComment: 'channel.interact.replyComment',
delComment: 'channel.interact.delComment',
},
+ interactionRecord: {
+ add: 'channel.interactionRecord.add',
+ list: 'channel.interactionRecord.list',
+ del: 'channel.interactionRecord.del',
+ },
+ replyCommentRecord: {
+ add: 'channel.replyCommentRecord.add',
+ list: 'channel.replyCommentRecord.list',
+ del: 'channel.replyCommentRecord.del',
+ },
skKey: {
create: 'channel.skKey.create',
del: 'channel.skKey.del',
@@ -65,6 +82,14 @@ export const NatsApi = {
delRefAccount: 'channel.skKey.delRefAccount',
getRefAccountList: 'channel.skKey.getRefAccountList',
},
+ publish: {
+ publishInfo: {
+ data: 'publish.publishInfo.data',
+ },
+ PublishDayInfo: {
+ list: 'publish.PublishDayInfo.list',
+ },
+ },
},
plat: {
publish: {
@@ -74,7 +99,7 @@ export const NatsApi = {
getList: 'publish.publishRecord.list',
changeTime: 'publish.task.changeTime',
delete: 'publish.task.delete',
- nowPubTask: 'publish.task.nowPubTask',
+ nowPubTask: 'publish.task.run',
},
bilibili: {
getHeader: 'plat.bilibili.getHeader',
@@ -192,7 +217,13 @@ export const NatsApi = {
getFacebookPages: 'plat.meta.facebook.pages',
getFacebookPagePublishedPosts: 'plat.meta.facebook.page.published_posts',
getFacebookPageInsights: 'plat.meta.facebook.page.insights',
+ getFacebookPostInsights: 'plat.meta.facebook.post.insights',
selectFacebookPages: 'plat.meta.facebook.pages.selection',
+ getInstagramAccountInfo: 'plat.meta.instagram.account.info',
+ getInstagramAccountInsights: 'plat.meta.instagram.account.insights',
+ getInstagramPostInsights: 'plat.meta.instagram.post.insights',
+ getThreadsAccountInsights: 'plat.meta.threads.account.insights',
+ getThreadsPostInsights: 'plat.meta.threads.post.insights',
},
},
publish: {
@@ -216,7 +247,6 @@ export const NatsApi = {
list: 'content.material.list',
},
materialGroup: {
- createDefault: 'content.materialGroup.createDefault',
create: 'content.materialGroup.create',
del: 'content.materialGroup.delete',
updateInfo: 'content.materialGroup.update',
@@ -230,7 +260,6 @@ export const NatsApi = {
list: 'content.media.list',
},
mediaGroup: {
- createDefault: 'content.mediaGroup.createDefault',
create: 'content.mediaGroup.create',
del: 'content.mediaGroup.delete',
update: 'content.mediaGroup.update',
@@ -242,6 +271,9 @@ export const NatsApi = {
feedback: {
create: 'other.feedback.create',
},
+ appConfigs: {
+ list: 'other.appConfigs.list',
+ },
gologin: {
doTest: 'other.gologin.doTest',
},
@@ -257,7 +289,7 @@ export const NatsApi = {
},
task: {
task: {
- info: 'task.task.info',
+ infoByOpportunityId: 'task.task.infoByOpportunityId',
rewardAmount: 'task.task.rewardAmount',
accept: 'task.task.accept',
},
@@ -277,6 +309,9 @@ export const NatsApi = {
},
},
ai: {
+ chat: {
+ models: 'ai.chat.models',
+ },
user: {
chat: 'ai.user.chat',
logs: 'ai.user.logs',
@@ -294,4 +329,12 @@ export const NatsApi = {
videoGenerationModels: 'ai.user.video.generation.models',
},
},
+ statistics: {
+ account: {
+ getAccountDataLatest: 'statistics.account.getAccountDataLatest',
+ getAccountDataIncrease: 'statistics.account.getAccountDataIncrease',
+ getAccountDataByParams: 'statistics.account.getAccountDataByParams',
+ getAccountDataPeriod: 'statistics.account.getAccountDataPeriod',
+ },
+ },
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/base.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/base.natsApi.ts
index 5bb0a921..8fd2692d 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/base.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/base.natsApi.ts
@@ -8,24 +8,22 @@ export class BaseNatsApi {
private readonly logger = new Logger(BaseNatsApi.name)
constructor(private readonly natsService: NatsService) {}
- async sendMessage<T>(pattern: string, request: any): Promise<T> {
+ async sendMessage<T>(pattern: string, request: any, prefix?: string): Promise<T> {
try {
const res = await this.natsService.sendMessage<{
code: number
message: string
data: T
timestamp: number
- }>(pattern, request)
+ }>(pattern, request, prefix)
if (res.code !== ExceptionCode.Success) {
throw new AppException(res.code, res.message)
}
return res.data
}
catch (error) {
- this.logger.error(`-------- nats 【${pattern}】 message error ------`, error)
- this.logger.debug(error, `-------- nats 【${pattern}】 message error ------`)
-
- throw new AppException(ExceptionCode.ExternalServiceError)
+ this.logger.error(`-------- nats--- ${pattern} --- message error ------`, error)
+ throw new AppException(ExceptionCode.NatsMessageError)
}
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/bilibili.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/bilibili.natsApi.ts
index 4cf4f3b8..c30034f3 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/bilibili.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/bilibili.natsApi.ts
@@ -1,20 +1,18 @@
import { Injectable } from '@nestjs/common'
import { TableDto } from 'src/common/dto/table.dto'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
import { AccessToken, AddArchiveData, ArchiveStatus } from './bilibili.common'
@Injectable()
-export class PlatBilibiliNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatBilibiliNatsApi extends BaseNatsApi {
/**
* 获取账号的授权信息
* @param accountId
* @returns
*/
async getAccountAuthInfo(accountId: string) {
- const res = await this.natsService.sendMessage<AccessToken | null>(
+ const res = await this.sendMessage<AccessToken | null>(
NatsApi.plat.bilibili.getAccountAuthInfo,
{
accountId,
@@ -31,7 +29,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async getAuth(userId: string, type: 'pc' | 'h5') {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
url: string
taskId: string
}>(NatsApi.plat.bilibili.auth, {
@@ -52,7 +50,7 @@ export class PlatBilibiliNatsApi {
code: string
state: string
}) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
status: 0 | 1
message?: string
accountId?: string
@@ -72,7 +70,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async videoInit(accountId: string, name: string, utype = 0) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.bilibili.videoInit,
{
accountId,
@@ -98,7 +96,7 @@ export class PlatBilibiliNatsApi {
uploadToken: string,
partNumber: number,
) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
code: number
message: string
}>(NatsApi.plat.bilibili.uploadVideoPart, {
@@ -118,7 +116,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async videoComplete(accountId: string, uploadToken: string) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
code: number
message: string
}>(NatsApi.plat.bilibili.videoComplete, {
@@ -136,7 +134,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async coverUpload(accountId: string, file: string) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
code: number
message: string
}>(NatsApi.plat.bilibili.coverUpload, {
@@ -155,7 +153,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async uploadLitVideo(accountId: string, file: string, uploadToken: string) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
code: number
message: string
}>(NatsApi.plat.bilibili.uploadLitVideo, {
@@ -170,6 +168,8 @@ export class PlatBilibiliNatsApi {
/**
* 稿件发布
* @param userId
+ * @param uploadToken
+ * @param data
* @returns
*/
async archiveAddByUtoken(
@@ -177,7 +177,7 @@ export class PlatBilibiliNatsApi {
uploadToken: string,
data: AddArchiveData,
) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.bilibili.archiveAddByUtoken,
{
accountId,
@@ -195,7 +195,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async archiveTypeList(accountId: string) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.bilibili.archiveTypeList,
{
accountId,
@@ -208,11 +208,10 @@ export class PlatBilibiliNatsApi {
/**
* 创建账号并设置授权Token
* @param taskId 任务ID
- * @param data 授权数据
* @returns
*/
async getAuthInfo(taskId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.bilibili.getAuthInfo,
{
taskId,
@@ -234,7 +233,7 @@ export class PlatBilibiliNatsApi {
status?: ArchiveStatus
},
) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.bilibili.archiveList,
{
accountId,
@@ -252,7 +251,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async getUserStat(accountId: string) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.bilibili.userStat,
{
accountId,
@@ -269,7 +268,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async getArcStat(accountId: string, resourceId: string) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.bilibili.arcStat,
{
accountId,
@@ -286,7 +285,7 @@ export class PlatBilibiliNatsApi {
* @returns
*/
async getArcIncStat(accountId: string) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.bilibili.arcIncStat,
{
accountId,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/dataCube.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/dataCube.natsApi.ts
index 61b4631f..ed516263 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/dataCube.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/dataCube.natsApi.ts
@@ -1,6 +1,6 @@
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
import {
ChannelAccountDataBulk,
ChannelAccountDataCube,
@@ -9,15 +9,13 @@ import {
} from './common'
@Injectable()
-export class DataCubeNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class DataCubeNatsApi extends BaseNatsApi {
/**
* 获取账号数据
* @returns
*/
async getAccountDataCube(accountId: string) {
- const res = await this.natsService.sendMessage<ChannelAccountDataCube>(
+ const res = await this.sendMessage<ChannelAccountDataCube>(
NatsApi.channel.dataCube.getAccountDataCube,
{
accountId,
@@ -31,7 +29,7 @@ export class DataCubeNatsApi {
* @returns
*/
async getAccountDataBulk(accountId: string) {
- const res = await this.natsService.sendMessage<ChannelAccountDataBulk>(
+ const res = await this.sendMessage<ChannelAccountDataBulk>(
NatsApi.channel.dataCube.getAccountDataBulk,
{
accountId,
@@ -47,7 +45,7 @@ export class DataCubeNatsApi {
* @returns
*/
async getArcDataCube(accountId: string, dataId: string) {
- const res = await this.natsService.sendMessage<ChannelArcDataCube>(
+ const res = await this.sendMessage<ChannelArcDataCube>(
NatsApi.channel.dataCube.getArcDataCube,
{
accountId,
@@ -64,7 +62,7 @@ export class DataCubeNatsApi {
* @returns
*/
async getArcDataBulk(accountId: string, dataId: string) {
- const res = await this.natsService.sendMessage<ChannelArcDataBulk>(
+ const res = await this.sendMessage<ChannelArcDataBulk>(
NatsApi.channel.dataCube.getArcDataBulk,
{
accountId,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/common.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/common.ts
new file mode 100644
index 00000000..f340e959
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/common.ts
@@ -0,0 +1,29 @@
+import { AccountType } from '@/transports/account/comment'
+
+export interface InteractionRecord {
+ id: string
+ userId: string
+ accountId: string
+ type: AccountType
+ worksId: string
+ worksTitle?: string
+ commentRemark?: string
+ worksCover?: string
+ commentContent: string
+ isLike: 0 | 1
+ isCollect: 0 | 1
+ createAt: Date
+ updatedAt: Date
+}
+
+export interface ReplyCommentRecord {
+ id: string
+ userId: string
+ accountId: string
+ type: AccountType
+ commentId: string
+ commentContent: string
+ replyContent: string
+ createAt: Date
+ updatedAt: Date
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/interact.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/interact.natsApi.ts
new file mode 100644
index 00000000..be8cea98
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/interact.natsApi.ts
@@ -0,0 +1,77 @@
+import { Injectable } from '@nestjs/common'
+import { TableDto } from '@/common/dto/table.dto'
+import { BaseNatsApi } from '@/transports/base.natsApi'
+import { NatsApi } from '../../api'
+
+@Injectable()
+export class InteractNatsApi extends BaseNatsApi {
+ /**
+ * 添加作品评论
+ * @returns
+ */
+ async addArcComment(accountId: string, dataId: string, content: string) {
+ const res = await this.sendMessage<boolean>(
+ NatsApi.channel.interact.addArcComment,
+ {
+ accountId,
+ dataId,
+ content,
+ },
+ )
+ return res
+ }
+
+ /**
+ * 获取作品评论列表
+ * @returns
+ */
+ async getArcCommentList(recordId: string, query: TableDto) {
+ const res = await this.sendMessage<{
+ list: any[]
+ total: number
+ }>(
+ NatsApi.channel.interact.getArcCommentList,
+ {
+ recordId,
+ pageNo: query.pageNo,
+ pageSize: query.pageSize,
+ },
+ )
+ return res
+ }
+
+ /**
+ * 回复评论
+ * @param accountId
+ * @param commentId
+ * @returns
+ */
+ async replyComment(accountId: string, commentId: string, content: string) {
+ const res = await this.sendMessage<boolean>(
+ NatsApi.channel.interact.replyComment,
+ {
+ accountId,
+ commentId,
+ content,
+ },
+ )
+ return res
+ }
+
+ /**
+ * 删除评论
+ * @param accountId
+ * @param commentId
+ * @returns
+ */
+ async delComment(accountId: string, commentId: string) {
+ const res = await this.sendMessage<boolean>(
+ NatsApi.channel.interact.delComment,
+ {
+ accountId,
+ commentId,
+ },
+ )
+ return res
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/interactionRecord.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/interactionRecord.natsApi.ts
new file mode 100644
index 00000000..dbd509ad
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/interactionRecord.natsApi.ts
@@ -0,0 +1,71 @@
+import { Injectable } from '@nestjs/common'
+import { TableDto } from '@/common/dto/table.dto'
+import { BaseNatsApi } from '@/transports/base.natsApi'
+import { AccountType } from '../../account/comment'
+import { NatsApi } from '../../api'
+import { InteractionRecord } from './common'
+
+@Injectable()
+export class InteractionRecordNatsApi extends BaseNatsApi {
+ async add(data: {
+ userId: string
+ accountId: string
+ type: AccountType
+ worksId: string
+ worksTitle?: string
+ worksCover?: string
+ worksContent?: string
+ commentContent?: string
+ commentRemark?: string
+ commentTime?: Date
+ likeTime?: Date
+ collectTime?: Date
+ }) {
+ const res = await this.sendMessage<boolean>(
+ NatsApi.channel.interactionRecord.add,
+ data,
+ )
+ return res
+ }
+
+ /**
+ * 获取作品评论列表
+ * @returns
+ */
+ async list(userId: string, filters: {
+ accountId?: string
+ type?: AccountType
+ worksId?: string
+ time?: [Date, Date]
+ }, page: TableDto) {
+ const res = await this.sendMessage<{
+ list: InteractionRecord[]
+ total: number
+ }>(
+ NatsApi.channel.interactionRecord.list,
+ {
+ filters: {
+ userId,
+ ...filters,
+ },
+ page,
+ },
+ )
+ return res
+ }
+
+ /**
+ * 删除
+ * @param id
+ * @returns
+ */
+ async del(id: string) {
+ const res = await this.sendMessage<boolean>(
+ NatsApi.channel.interactionRecord.del,
+ {
+ id,
+ },
+ )
+ return res
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/replyCommentRecord.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/replyCommentRecord.natsApi.ts
new file mode 100644
index 00000000..0bc46b3e
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/interact/replyCommentRecord.natsApi.ts
@@ -0,0 +1,62 @@
+import { Injectable } from '@nestjs/common'
+import { TableDto } from '@/common/dto/table.dto'
+import { BaseNatsApi } from '@/transports/base.natsApi'
+import { AccountType } from '../../account/comment'
+import { NatsApi } from '../../api'
+import { ReplyCommentRecord } from './common'
+
+@Injectable()
+export class ReplyCommentRecordNatsApi extends BaseNatsApi {
+ async add(data: {
+ userId: string
+ accountId: string
+ type: AccountType
+ worksId?: string
+ commentId: string
+ commentContent: string
+ replyContent: string
+ }) {
+ const res = await this.sendMessage<boolean>(
+ NatsApi.channel.replyCommentRecord.add,
+ data,
+ )
+ return res
+ }
+
+ async list(userId: string, filters: {
+ accountId?: string
+ type?: AccountType
+ commentId?: string
+ time?: [Date, Date]
+ }, page: TableDto) {
+ const res = await this.sendMessage<{
+ list: ReplyCommentRecord[]
+ total: number
+ }>(
+ NatsApi.channel.replyCommentRecord.list,
+ {
+ filters: {
+ userId,
+ ...filters,
+ },
+ page,
+ },
+ )
+ return res
+ }
+
+ /**
+ * 删除
+ * @param id
+ * @returns
+ */
+ async del(id: string) {
+ const res = await this.sendMessage<boolean>(
+ NatsApi.channel.replyCommentRecord.del,
+ {
+ id,
+ },
+ )
+ return res
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/meta.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/meta.natsApi.ts
index 02cd6292..533150d7 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/meta.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/meta.natsApi.ts
@@ -1,13 +1,12 @@
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class PlatMetaNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatMetaNatsApi extends BaseNatsApi {
async getAuthUrl(userId: string, platform: string) {
- const res = await this.natsService.sendMessage<string>(
+ console.log('getAuthUrl', userId, platform)
+ const res = await this.sendMessage<any>(
NatsApi.plat.meta.authUrl,
{
userId,
@@ -18,7 +17,7 @@ export class PlatMetaNatsApi {
}
async getAuthInfo(taskId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.meta.getAuthInfo,
{
taskId,
@@ -29,7 +28,7 @@ export class PlatMetaNatsApi {
}
async getFacebookPages(userId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.meta.getFacebookPages,
{
userId,
@@ -42,7 +41,7 @@ export class PlatMetaNatsApi {
userId: string,
pageIds: string[],
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.meta.selectFacebookPages,
{
userId,
@@ -56,7 +55,7 @@ export class PlatMetaNatsApi {
code: string,
state: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.meta.createAccountAndSetAccessToken,
{
code,
@@ -68,14 +67,12 @@ export class PlatMetaNatsApi {
async getFacebookPagePublishedPosts(
userId: string,
- pageId: string,
query: any,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.meta.getFacebookPagePublishedPosts,
{
userId,
- pageId,
query,
},
)
@@ -84,14 +81,102 @@ export class PlatMetaNatsApi {
async getFacebookPageInsights(
userId: string,
- pageId: string,
query: any,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.meta.getFacebookPageInsights,
{
userId,
- pageId,
+ query,
+ },
+ )
+ return res
+ }
+
+ async getFacebookPostInsights(
+ userId: string,
+ postId: string,
+ query: any,
+ ) {
+ const res = await this.sendMessage<any>(
+ NatsApi.plat.meta.getFacebookPostInsights,
+ {
+ userId,
+ postId,
+ query,
+ },
+ )
+ return res
+ }
+
+ async getInstagramAccountInfo(
+ userId: string,
+ query: any,
+ ) {
+ const res = await this.sendMessage<any>(
+ NatsApi.plat.meta.getInstagramAccountInfo,
+ {
+ userId,
+ query,
+ },
+ )
+ return res
+ }
+
+ async getInstagramAccountInsights(
+ userId: string,
+ query: any,
+ ) {
+ const res = await this.sendMessage<any>(
+ NatsApi.plat.meta.getInstagramAccountInsights,
+ {
+ userId,
+ query,
+ },
+ )
+ return res
+ }
+
+ async getInstagramPostInsights(
+ userId: string,
+ postId: string,
+ query: any,
+ ) {
+ const res = await this.sendMessage<any>(
+ NatsApi.plat.meta.getInstagramPostInsights,
+ {
+ userId,
+ postId,
+ query,
+ },
+ )
+ return res
+ }
+
+ async getThreadsAccountInsights(
+ userId: string,
+ query: any,
+ ) {
+ const res = await this.sendMessage<any>(
+ NatsApi.plat.meta.getThreadsAccountInsights,
+ {
+ userId,
+ query,
+ },
+ )
+ return res
+ }
+
+ async getThreadsPostInsights(
+ userId: string,
+ postId: string,
+ query: any,
+ ) {
+ const res = await this.sendMessage<any>(
+ NatsApi.plat.meta.getThreadsPostInsights,
+ {
+ userId,
+ postId,
query,
},
)
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/wxGzh.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/wxGzh.natsApi.ts
index b7e20303..f81edb07 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/channel/wxGzh.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/channel/wxGzh.natsApi.ts
@@ -1,12 +1,9 @@
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
-import { AuthBackQueryDto } from '@/core/plat/wxGzh/dto/wxGzh.dto'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class PlatWxGzhNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatWxGzhNatsApi extends BaseNatsApi {
/**
* 创建授权任务
* @param userId
@@ -15,7 +12,7 @@ export class PlatWxGzhNatsApi {
* @returns
*/
async createAuthTask(userId: string, type: 'pc' | 'h5', prefix?: string) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
url: string
taskId: string
}>(NatsApi.plat.wxGzh.auth, {
@@ -33,7 +30,7 @@ export class PlatWxGzhNatsApi {
* @returns
*/
async getAuthTaskInfo(taskId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.wxGzh.getAuthInfo,
{
taskId,
@@ -48,7 +45,7 @@ export class PlatWxGzhNatsApi {
auth_code: string
expires_in: number
}) {
- const res = await this.natsService.sendMessage<null>(
+ const res = await this.sendMessage<null>(
NatsApi.plat.wxGzh.createAccountAndSetAccessToken,
query,
)
@@ -62,7 +59,7 @@ export class PlatWxGzhNatsApi {
article_url?: string
article_id: string
}) {
- const res = await this.natsService.sendMessage<null>(
+ const res = await this.sendMessage<null>(
NatsApi.plat.wxGzh.updatePublishRecord,
data,
)
@@ -76,7 +73,7 @@ export class PlatWxGzhNatsApi {
* @returns
*/
async getAccountAuthInfo(accountId: string) {
- const res = await this.natsService.sendMessage<null>(
+ const res = await this.sendMessage<null>(
NatsApi.plat.bilibili.getAccountAuthInfo,
{
accountId,
@@ -94,7 +91,7 @@ export class PlatWxGzhNatsApi {
* @returns
*/
async getUserCumulate(accountId: string, beginDate: string, endDate: string) {
- const res = await this.natsService.sendMessage<null>(
+ const res = await this.sendMessage<null>(
NatsApi.plat.wxGzh.getUserCumulate,
{
accountId,
@@ -114,7 +111,7 @@ export class PlatWxGzhNatsApi {
* @returns
*/
async getUserRead(accountId: string, beginDate: string, endDate: string) {
- const res = await this.natsService.sendMessage<null>(
+ const res = await this.sendMessage<null>(
NatsApi.plat.wxGzh.getUserRead,
{
accountId,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/comment.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/comment.ts
index 4c093685..15e43585 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/comment.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/comment.ts
@@ -1,5 +1,5 @@
export interface NatsRes<T> {
code: number
data: T
- message: string
+ message?: string
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/content/material.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/content/material.natsApi.ts
index 91e7347a..b612f6a7 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/content/material.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/content/material.natsApi.ts
@@ -7,8 +7,8 @@
*/
import { Injectable, Logger } from '@nestjs/common'
import { TableDto } from 'src/common/dto/table.dto'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
import {
Material,
MaterialFilter,
@@ -22,23 +22,16 @@ import {
} from './common'
@Injectable()
-export class MaterialNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class MaterialNatsApi extends BaseNatsApi {
/**
- * 初始化组
- * @param userId
+ * 测试
* @returns
*/
- async createDefault(userId: string) {
- Logger.log('createDefault====================', userId)
- const res = await this.natsService.sendMessage<boolean>(
- NatsApi.content.materialGroup.createDefault,
- {
- userId,
- },
+ async test() {
+ const res = await this.sendMessage<Material>(
+ 'content.material.test',
+ { id: 1 },
)
-
return res
}
@@ -48,7 +41,7 @@ export class MaterialNatsApi {
* @returns
*/
async create(newData: NewMaterial) {
- const res = await this.natsService.sendMessage<Material>(
+ const res = await this.sendMessage<Material>(
NatsApi.content.material.create,
newData,
)
@@ -62,7 +55,7 @@ export class MaterialNatsApi {
* @returns
*/
async createTask(newData: NewMaterialTask) {
- const res = await this.natsService.sendMessage<MaterialTask>(
+ const res = await this.sendMessage<MaterialTask>(
NatsApi.content.material.createTask,
newData,
)
@@ -76,7 +69,7 @@ export class MaterialNatsApi {
* @returns
*/
async preview(taskId: string) {
- const res = await this.natsService.sendMessage<Material>(
+ const res = await this.sendMessage<Material>(
NatsApi.content.material.preview,
{ id: taskId },
)
@@ -90,7 +83,7 @@ export class MaterialNatsApi {
* @returns
*/
async startTask(taskId: string) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.content.material.startTask,
{ id: taskId },
)
@@ -104,7 +97,7 @@ export class MaterialNatsApi {
* @returns
*/
async del(id: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.content.material.del,
{ id },
)
@@ -119,7 +112,7 @@ export class MaterialNatsApi {
* @returns
*/
async updateInfo(id: string, newData: UpMaterial) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.content.material.updateInfo,
{ id, ...newData },
)
@@ -133,7 +126,7 @@ export class MaterialNatsApi {
* @returns
*/
async getInfo(id: string) {
- const res = await this.natsService.sendMessage<Material>(
+ const res = await this.sendMessage<Material>(
NatsApi.content.material.info,
{ id },
)
@@ -148,7 +141,7 @@ export class MaterialNatsApi {
* @returns
*/
async getList(page: TableDto, filter: MaterialFilter) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
list: Material[]
total: number
}>(NatsApi.content.material.list, {
@@ -166,7 +159,7 @@ export class MaterialNatsApi {
* @returns
*/
async createGroup(newData: NewMaterialGroup) {
- const res = await this.natsService.sendMessage<MaterialGroup>(
+ const res = await this.sendMessage<MaterialGroup>(
NatsApi.content.materialGroup.create,
newData,
)
@@ -180,7 +173,7 @@ export class MaterialNatsApi {
* @returns
*/
async delGroup(id: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.content.materialGroup.del,
{ id },
)
@@ -195,7 +188,7 @@ export class MaterialNatsApi {
* @returns
*/
async updateGroupInfo(id: string, newData: UpdateMaterialGroup) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.content.materialGroup.updateInfo,
{ id, ...newData },
)
@@ -209,7 +202,7 @@ export class MaterialNatsApi {
* @returns
*/
async getGroupInfo(id: string) {
- const res = await this.natsService.sendMessage<MaterialGroup>(
+ const res = await this.sendMessage<MaterialGroup>(
NatsApi.content.materialGroup.info,
{ id },
)
@@ -230,7 +223,7 @@ export class MaterialNatsApi {
title?: string
},
) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
list: MaterialGroup[]
total: number
}>(NatsApi.content.materialGroup.list, {
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/content/media.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/content/media.natsApi.ts
index 8e444811..6aae46b3 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/content/media.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/content/media.natsApi.ts
@@ -7,37 +7,19 @@
*/
import { Injectable } from '@nestjs/common'
import { TableDto } from 'src/common/dto/table.dto'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
import { Media, MediaGroup, MediaType, NewMedia } from './common'
@Injectable()
-export class MediaNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
- /**
- * 初始化组
- * @param userId
- * @returns
- */
- async createDefault(userId: string) {
- const res = await this.natsService.sendMessage<boolean>(
- NatsApi.content.mediaGroup.createDefault,
- {
- userId,
- },
- )
-
- return res
- }
-
+export class MediaNatsApi extends BaseNatsApi {
/**
* 创建媒体
* @param newData
* @returns
*/
async create(newData: NewMedia) {
- const res = await this.natsService.sendMessage<Media>(
+ const res = await this.sendMessage<Media>(
NatsApi.content.media.create,
newData,
)
@@ -51,7 +33,7 @@ export class MediaNatsApi {
* @returns
*/
async del(id: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.content.media.del,
{ id },
)
@@ -65,7 +47,7 @@ export class MediaNatsApi {
* @returns
*/
async getInfo(id: string) {
- const res = await this.natsService.sendMessage<Media>(
+ const res = await this.sendMessage<Media>(
NatsApi.content.media.info,
{ id },
)
@@ -80,7 +62,7 @@ export class MediaNatsApi {
* @returns
*/
async getList(page: TableDto, filter: { userId: string, groupId?: string, type?: MediaType }) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
list: Media[]
total: number
}>(NatsApi.content.media.list, {
@@ -103,7 +85,7 @@ export class MediaNatsApi {
type: MediaType
desc?: string
}) {
- const res = await this.natsService.sendMessage<MediaGroup>(
+ const res = await this.sendMessage<MediaGroup>(
NatsApi.content.mediaGroup.create,
newData,
)
@@ -117,7 +99,7 @@ export class MediaNatsApi {
* @returns
*/
async delGroup(id: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.content.mediaGroup.del,
{ id },
)
@@ -135,7 +117,7 @@ export class MediaNatsApi {
id: string,
newData: { title?: string, desc?: string },
) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.content.mediaGroup.update,
{ id, ...newData },
)
@@ -149,7 +131,7 @@ export class MediaNatsApi {
* @returns
*/
async getGroupInfo(id: string) {
- const res = await this.natsService.sendMessage<MediaGroup>(
+ const res = await this.sendMessage<MediaGroup>(
NatsApi.content.mediaGroup.info,
{ id },
)
@@ -171,7 +153,7 @@ export class MediaNatsApi {
type?: MediaType
},
) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
list: MediaGroup[]
total: number
}>(NatsApi.content.mediaGroup.list, {
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/nats.module.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/nats.module.ts
index 152df05e..68fbcb80 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/nats.module.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/nats.module.ts
@@ -1,6 +1,4 @@
-import { HttpExceptionFilter } from '@common/filters/httpException.filter'
import { Global, Module } from '@nestjs/common'
-import { APP_FILTER } from '@nestjs/core'
import { ClientsModule, Transport } from '@nestjs/microservices'
import { FingerprintNatsApi } from '@transports/account/fingerprint.natsApi'
import { config } from '@/config'
@@ -9,13 +7,16 @@ import { AccountGroupNatsApi } from './account/accountGroup.natsApi'
import { AiNatsApi } from './ai/ai.natsApi'
import { PlatBilibiliNatsApi } from './channel/bilibili.natsApi'
import { DataCubeNatsApi } from './channel/dataCube.natsApi'
-import { InteractNatsApi } from './channel/interact.natsApi'
+import { InteractNatsApi } from './channel/interact/interact.natsApi'
+import { InteractionRecordNatsApi } from './channel/interact/interactionRecord.natsApi'
+import { ReplyCommentRecordNatsApi } from './channel/interact/replyCommentRecord.natsApi'
import { PlatMetaNatsApi } from './channel/meta.natsApi'
import { PlatWxGzhNatsApi } from './channel/wxGzh.natsApi'
import { MaterialNatsApi } from './content/material.natsApi'
import { MediaNatsApi } from './content/media.natsApi'
import { NatsService } from './nats.service'
import { NotificationNatsApi } from './notification/notification.natsApi'
+import { AppConfigsNatsApi } from './other/appConfigs.natsApi'
import { FeedbackNatsApi } from './other/feedback.natsApi'
import { GologinNatsApi } from './other/gologin.natsApi'
import { PaymentNatsApi } from './payment/payment.natsApi'
@@ -26,9 +27,11 @@ import { ChannelSkKeyNatsApi } from './plat/skKeyNatsApi.natsApi'
import { PlatTiktokNatsApi } from './plat/tiktok.natsApi'
import { PlatTwitterNatsApi } from './plat/twitter.natsApi'
import { PlatYoutubeNatsApi } from './plat/youtube.natsApi'
+import { StatisticsNatsApi } from './statistics/statistics.natsApi'
import { TaskMaterialNatsApi } from './task/material.natsApi'
import { TaskNatsApi } from './task/task.natsApi'
import { UserTaskNatsApi } from './task/user-task.natsApi'
+import { UserPointsNatsApi } from './user/points.natsApi'
import { UserNatsApi } from './user/user.natsApi'
import { UserVipNatsApi } from './user/vip.natsApi'
@@ -49,10 +52,6 @@ import { UserVipNatsApi } from './user/vip.natsApi'
]),
],
providers: [
- {
- provide: APP_FILTER,
- useClass: HttpExceptionFilter,
- },
NatsService,
AccountNatsApi,
AccountGroupNatsApi,
@@ -67,6 +66,7 @@ import { UserVipNatsApi } from './user/vip.natsApi'
MaterialNatsApi,
MediaNatsApi,
UserVipNatsApi,
+ UserPointsNatsApi,
PlatWxGzhNatsApi,
PlatPublishNatsApi,
PlatPinterestNatsApi,
@@ -81,6 +81,10 @@ import { UserVipNatsApi } from './user/vip.natsApi'
InteractNatsApi,
ChannelSkKeyNatsApi,
FingerprintNatsApi,
+ StatisticsNatsApi,
+ AppConfigsNatsApi,
+ ReplyCommentRecordNatsApi,
+ InteractionRecordNatsApi,
],
exports: [
NatsService,
@@ -98,6 +102,7 @@ import { UserVipNatsApi } from './user/vip.natsApi'
MaterialNatsApi,
MediaNatsApi,
UserVipNatsApi,
+ UserPointsNatsApi,
PlatWxGzhNatsApi,
PlatPublishNatsApi,
PlatPinterestNatsApi,
@@ -111,6 +116,10 @@ import { UserVipNatsApi } from './user/vip.natsApi'
DataCubeNatsApi,
InteractNatsApi,
ChannelSkKeyNatsApi,
+ StatisticsNatsApi,
+ AppConfigsNatsApi,
+ ReplyCommentRecordNatsApi,
+ InteractionRecordNatsApi,
],
})
export class NatsModule {}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/nats.service.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/nats.service.ts
index daec45da..431217db 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/nats.service.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/nats.service.ts
@@ -2,11 +2,14 @@ import { Inject, Injectable, Logger } from '@nestjs/common'
import { ClientProxy } from '@nestjs/microservices'
import { lastValueFrom } from 'rxjs'
import { ErrHttpBack } from 'src/common/filters/httpException.code'
-import { AppHttpException } from 'src/common/filters/httpException.filter'
+import { AppException } from '@/common/exceptions'
import { config } from '@/config'
+import { NatsRes } from './comment'
@Injectable()
export class NatsService {
+ logger = new Logger(NatsService.name)
+
private prefix = ''
constructor(
@Inject('AITOEARN_SERVICE') private readonly client: ClientProxy,
@@ -29,19 +32,20 @@ export class NatsService {
* @param data
* @returns
*/
- async sendMessage<T>(pattern: string, data: unknown, prefix?: string) {
+ async sendMessage<T>(pattern: string, data: unknown, prefix?: string): Promise<T> {
const path = `${prefix || this.prefix}.${pattern}`
const ret = this.client.send<T>(path, data)
try {
- const res = await lastValueFrom(ret)
+ const res = await lastValueFrom<T>(ret)
return res
}
catch (error) {
- Logger.error(`-------- nats 【${path}】 message error ------`, error)
- Logger.debug(error, `-------- nats 【${path}】 message error ------`)
-
- throw new AppHttpException(ErrHttpBack.fail)
+ this.logger.error({
+ error,
+ pattern,
+ })
+ throw new AppException(ErrHttpBack.fail, error.message)
}
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/other/appConfigs.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/other/appConfigs.natsApi.ts
new file mode 100644
index 00000000..a50ee309
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/other/appConfigs.natsApi.ts
@@ -0,0 +1,24 @@
+import { Injectable } from '@nestjs/common'
+import { NatsService } from 'src/transports/nats.service'
+import { NatsApi } from '../api'
+import { AppConfigs } from './comment'
+
+@Injectable()
+export class AppConfigsNatsApi {
+ constructor(private readonly natsService: NatsService) {}
+
+ /**
+ * 获取配置列表
+ * @returns
+ */
+ async getAppConfigList(data: {
+ appId: string
+ }) {
+ const res = await this.natsService.sendMessage<AppConfigs[]>(
+ NatsApi.other.appConfigs.list,
+ data,
+ )
+
+ return res
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/other/comment.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/other/comment.ts
index 37bf510c..31ba8d43 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/other/comment.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/other/comment.ts
@@ -25,3 +25,15 @@ export interface CreateFeedback {
tagList?: string[]
fileUrlList?: string[]
}
+
+export interface AppConfigs {
+ id: string
+ appId: string
+ key: string
+ value: Record<string, any>
+ description?: string
+ enabled: boolean
+ metadata?: Record<string, any>
+ createAt: Date
+ updatedAt: Date
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/payment/comment.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/payment/comment.ts
index 08a50960..b5636f1d 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/payment/comment.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/payment/comment.ts
@@ -88,3 +88,8 @@ export enum ICheckoutStatus {
refunded = 3, // --status 3 退款成功
expired = 4, // 订单取消
}
+
+export enum IFlagTrialPeriodDays {
+ false = 0,
+ true = 1,
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/payment/payment.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/payment/payment.natsApi.ts
index 1e958b07..fc1fdd9a 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/payment/payment.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/payment/payment.natsApi.ts
@@ -1,6 +1,5 @@
import { Injectable } from '@nestjs/common'
import * as _ from 'lodash'
-import { NatsService } from 'src/transports/nats.service'
import {
CheckoutBodyDto,
CheckoutListBody,
@@ -10,22 +9,21 @@ import {
WebhookDto,
} from '../../core/payment/dto/payment.dto'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class PaymentNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PaymentNatsApi extends BaseNatsApi {
/**
* 获取订单列表
* @returns
* @param body
*/
async list(body: CheckoutListBody) {
- const result = await this.natsService.sendMessage<string>(
+ const result = await this.sendMessage<string>(
NatsApi.payment.list,
body,
)
- return _.get(result, 'data')
+ return result
}
/**
@@ -35,11 +33,11 @@ export class PaymentNatsApi {
* @param userId
*/
async getById(id: string, userId: string) {
- const result = await this.natsService.sendMessage<string>(
+ const result = await this.sendMessage<string>(
NatsApi.payment.getById,
{ id, userId },
)
- return _.get(result, 'data')
+ return result
}
/**
@@ -48,11 +46,11 @@ export class PaymentNatsApi {
* @param body
*/
async create(body: CheckoutBodyDto) {
- const result = await this.natsService.sendMessage(
+ const result = await this.sendMessage(
NatsApi.payment.create,
body,
)
- return _.get(result, 'data')
+ return result
}
/**
@@ -61,11 +59,11 @@ export class PaymentNatsApi {
* @param body
*/
async refund(body: RefundBodyDto) {
- const result = await this.natsService.sendMessage(
+ const result = await this.sendMessage(
NatsApi.payment.refund,
body,
)
- return _.get(result, 'data')
+ return result
}
/**
@@ -74,11 +72,11 @@ export class PaymentNatsApi {
* @param body
*/
async subscription(body: SubscriptionBodyDto) {
- const result = await this.natsService.sendMessage(
+ const result = await this.sendMessage(
NatsApi.payment.subscription,
body,
)
- return _.get(result, 'data')
+ return result
}
/**
@@ -87,11 +85,11 @@ export class PaymentNatsApi {
* @param body
*/
async unsubscribe(body: UnSubscriptionBodyDto) {
- const result = await this.natsService.sendMessage(
+ const result = await this.sendMessage(
NatsApi.payment.unsubscribe,
body,
)
- return _.get(result, 'data')
+ return result
}
/**
@@ -100,11 +98,11 @@ export class PaymentNatsApi {
* @param body
*/
async webhook(body: WebhookDto, prefix?: string) {
- const result = await this.natsService.sendMessage(
+ const result = await this.sendMessage(
NatsApi.payment.webhook,
body,
prefix,
)
- return _.get(result, 'data')
+ return result
}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/kwai.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/kwai.natsApi.ts
index 57709e75..c1bed2cc 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/kwai.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/kwai.natsApi.ts
@@ -1,22 +1,20 @@
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { Account } from '../account/comment'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class PlatKwaiNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatKwaiNatsApi extends BaseNatsApi {
// 获取页面的认证URL
getAuth(data: { type: 'h5' | 'pc', userId: string }) {
- return this.natsService.sendMessage<{
+ return this.sendMessage<{
url: string
taskId: string
}>(NatsApi.plat.kwai.auth, data)
}
getAuthInfo(taskId: string) {
- return this.natsService.sendMessage<any>(NatsApi.plat.kwai.getAuthInfo, {
+ return this.sendMessage<any>(NatsApi.plat.kwai.getAuthInfo, {
taskId,
})
}
@@ -26,7 +24,7 @@ export class PlatKwaiNatsApi {
code: string
state: string
}) {
- return this.natsService.sendMessage<Account>(
+ return this.sendMessage<Account>(
NatsApi.plat.kwai.createAccountAndSetAccessToken,
data,
)
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/pinterest.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/pinterest.natsApi.ts
index d23c44a2..753e29e8 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/pinterest.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/pinterest.natsApi.ts
@@ -5,19 +5,17 @@ import {
WebhookDto,
} from '@core/plat/pinterest/dto/pinterest.dto'
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class PlatPinterestNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatPinterestNatsApi extends BaseNatsApi {
/**
* 创建board
* @param data
*/
async createBoard(data: CreateBoardBodyDto) {
- return this.natsService.sendMessage<CreateBoardBodyDto | null>(
+ return this.sendMessage<CreateBoardBodyDto | null>(
NatsApi.plat.pinterest.createBoard,
data,
)
@@ -27,7 +25,7 @@ export class PlatPinterestNatsApi {
* 获取boardList
*/
async getBoardList(body: ListBodyDto) {
- return this.natsService.sendMessage<CreateBoardBodyDto | null>(
+ return this.sendMessage<CreateBoardBodyDto | null>(
NatsApi.plat.pinterest.getBoardList,
body,
)
@@ -37,7 +35,7 @@ export class PlatPinterestNatsApi {
* 获取单个board
*/
async getBoardById(id: string, accountId: string) {
- return this.natsService.sendMessage<CreateBoardBodyDto | null>(
+ return this.sendMessage<CreateBoardBodyDto | null>(
NatsApi.plat.pinterest.getBoardById,
{ id, accountId },
)
@@ -47,7 +45,7 @@ export class PlatPinterestNatsApi {
* 删除单个board
*/
async delBoardById(id: string, accountId: string) {
- return this.natsService.sendMessage<any>(
+ return this.sendMessage<any>(
NatsApi.plat.pinterest.delBoardById,
{ id, accountId },
)
@@ -58,7 +56,7 @@ export class PlatPinterestNatsApi {
*
*/
async createPin(data: CreatePinBodyDto) {
- return this.natsService.sendMessage<any>(
+ return this.sendMessage<any>(
NatsApi.plat.pinterest.createPin,
data,
)
@@ -69,7 +67,7 @@ export class PlatPinterestNatsApi {
*
*/
async getPinById(id: string, accountId: string) {
- return this.natsService.sendMessage<any>(
+ return this.sendMessage<any>(
NatsApi.plat.pinterest.getPinById,
{ id, accountId },
)
@@ -79,7 +77,7 @@ export class PlatPinterestNatsApi {
* 获取pin List
*/
async getPinList(body: ListBodyDto) {
- return this.natsService.sendMessage<any>(
+ return this.sendMessage<any>(
NatsApi.plat.pinterest.getPinList,
body,
)
@@ -89,7 +87,7 @@ export class PlatPinterestNatsApi {
* 删除pin
*/
async delPinById(id: string, accountId: string) {
- const result: any = await this.natsService.sendMessage<any>(
+ const result: any = await this.sendMessage<any>(
NatsApi.plat.pinterest.delPinById,
{ id, accountId },
)
@@ -100,7 +98,7 @@ export class PlatPinterestNatsApi {
* 获取用户授权地址
*/
async getAuth(userId: string) {
- return this.natsService.sendMessage<any>(
+ return this.sendMessage<any>(
NatsApi.plat.pinterest.getAuth,
{ userId },
)
@@ -110,7 +108,7 @@ export class PlatPinterestNatsApi {
* 查询授权结果
*/
async checkAuth(taskId: string) {
- return this.natsService.sendMessage<any>(
+ return this.sendMessage<any>(
NatsApi.plat.pinterest.checkAuth,
{ taskId },
)
@@ -120,7 +118,7 @@ export class PlatPinterestNatsApi {
* 回调地址
*/
async authWebhook(data: WebhookDto) {
- return this.natsService.sendMessage<any>(
+ return this.sendMessage<any>(
NatsApi.plat.pinterest.authWebhook,
data,
)
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/publish.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/publish.natsApi.ts
index ddc8f94f..9d27bd22 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/publish.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/publish.natsApi.ts
@@ -1,10 +1,12 @@
import { Injectable } from '@nestjs/common'
-import { NewPublishData, NewPublishRecordData, PlatOptons } from 'src/core/plat/common'
-import { NatsService } from 'src/transports/nats.service'
+import { NewPublishData, NewPublishRecordData, PlatOptions } from 'src/core/plat/common'
+import { TableDto } from '@/common/dto/table.dto'
+import { PublishDayInfoListFiltersDto } from '@/core/plat/dto/publish.dto'
import { AccountType } from '../account/comment'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
import { PubType } from '../content/common'
-import { PublishRecordItem } from './types/publish.interfaces'
+import { PublishDayInfo, PublishRecordItem } from './types/publish.interfaces'
export enum PublishStatus {
FAIL = -1, // 发布失败
@@ -14,16 +16,14 @@ export enum PublishStatus {
}
@Injectable()
-export class PlatPublishNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatPublishNatsApi extends BaseNatsApi {
/**
* 创建发布
* @returns
* @param newData
*/
- async create(newData: NewPublishData<PlatOptons>) {
- const res = await this.natsService.sendMessage<boolean>(
+ async create(newData: NewPublishData<PlatOptions>) {
+ const res = await this.sendMessage<boolean>(
NatsApi.plat.publish.create,
newData,
)
@@ -37,7 +37,7 @@ export class PlatPublishNatsApi {
* @param id
*/
async run(id: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.plat.publish.run,
{ id },
)
@@ -51,7 +51,7 @@ export class PlatPublishNatsApi {
* @param newData
*/
async createRecord(newData: NewPublishRecordData) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.plat.publish.createRecord,
newData,
)
@@ -68,7 +68,7 @@ export class PlatPublishNatsApi {
status?: PublishStatus
time?: [Date, Date]
}) {
- return await this.natsService.sendMessage<{
+ return await this.sendMessage<{
totalCount: number
list: PublishRecordItem[]
}>(NatsApi.plat.publish.getList, {
@@ -82,7 +82,7 @@ export class PlatPublishNatsApi {
userId: string
id: string
}) {
- return await this.natsService.sendMessage<boolean>(
+ return await this.sendMessage<boolean>(
NatsApi.plat.publish.changeTime,
data,
)
@@ -90,7 +90,7 @@ export class PlatPublishNatsApi {
// 删除发布任务
async deletePublishRecord(data: { userId: string, id: string }) {
- return await this.natsService.sendMessage<boolean>(
+ return await this.sendMessage<boolean>(
NatsApi.plat.publish.delete,
data,
)
@@ -98,11 +98,34 @@ export class PlatPublishNatsApi {
// 立即发布任务
async nowPubTask(id: string) {
- return await this.natsService.sendMessage<boolean>(
+ return await this.sendMessage<boolean>(
NatsApi.plat.publish.nowPubTask,
{
id,
},
)
}
+
+ // 获取发布数据信息
+ async getPublishInfoData(userId: string) {
+ return await this.sendMessage<{
+ totalCount: number
+ list: PublishRecordItem[]
+ }>(NatsApi.channel.publish.publishInfo.data, {
+ userId,
+ })
+ }
+
+ async publishDataInfoList(userId: string, data: PublishDayInfoListFiltersDto, page: TableDto) {
+ return await this.sendMessage<{
+ total: number
+ list: PublishDayInfo[]
+ }>(NatsApi.channel.publish.PublishDayInfo.list, {
+ filters: {
+ userId,
+ ...data,
+ },
+ page,
+ })
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/skKeyNatsApi.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/skKeyNatsApi.natsApi.ts
index a80a2b18..94c66f11 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/skKeyNatsApi.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/skKeyNatsApi.natsApi.ts
@@ -1,15 +1,13 @@
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { TableDto } from '@/common/dto/table.dto'
import { SkKey } from '@/core/plat/skKey/common'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class ChannelSkKeyNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class ChannelSkKeyNatsApi extends BaseNatsApi {
async create(userId: string, desc?: string) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
key: string
}>(NatsApi.channel.skKey.create, {
userId,
@@ -20,7 +18,7 @@ export class ChannelSkKeyNatsApi {
}
async del(key: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.channel.skKey.del,
{
key,
@@ -31,7 +29,7 @@ export class ChannelSkKeyNatsApi {
}
async upInfo(key: string, desc: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.channel.skKey.upInfo,
{
key,
@@ -43,7 +41,7 @@ export class ChannelSkKeyNatsApi {
}
async getInfo(key: string) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
key: string
desc: string
}>(NatsApi.channel.skKey.getInfo, {
@@ -59,7 +57,7 @@ export class ChannelSkKeyNatsApi {
userId: string
},
) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
list: SkKey
total: number
}>(NatsApi.channel.skKey.list, {
@@ -71,7 +69,7 @@ export class ChannelSkKeyNatsApi {
}
async addRefAccount(key: string, accountId: string) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
key: string
accountId: string
}>(NatsApi.channel.skKey.addRefAccount, {
@@ -83,7 +81,7 @@ export class ChannelSkKeyNatsApi {
}
async delRefAccount(key: string, accountId: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.channel.skKey.delRefAccount,
{
key,
@@ -95,7 +93,7 @@ export class ChannelSkKeyNatsApi {
}
async getRefAccountList(key: string, page: TableDto) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.channel.skKey.getRefAccountList,
{
key,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/tiktok.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/tiktok.natsApi.ts
index 237adfe0..22891690 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/tiktok.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/tiktok.natsApi.ts
@@ -6,13 +6,11 @@
* @Description: TikTok Platform NATS API
*/
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class PlatTiktokNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatTiktokNatsApi extends BaseNatsApi {
/**
* 获取授权页面URL
* @param userId 用户ID
@@ -20,7 +18,7 @@ export class PlatTiktokNatsApi {
* @returns
*/
async getAuthUrl(userId: string, scopes?: string[]) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.tiktok.authUrl,
{
userId,
@@ -37,7 +35,7 @@ export class PlatTiktokNatsApi {
* @returns
*/
async getAuthInfo(taskId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.getAuthInfo,
{
taskId,
@@ -58,7 +56,7 @@ export class PlatTiktokNatsApi {
code: string,
state: string,
) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
status: 0 | 1
message?: string
accountId?: string
@@ -80,7 +78,7 @@ export class PlatTiktokNatsApi {
* @returns
*/
async refreshAccessToken(accountId: string, refreshToken: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.refreshAccessToken,
{
accountId,
@@ -97,7 +95,7 @@ export class PlatTiktokNatsApi {
* @returns
*/
async revokeAccessToken(accountId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.revokeAccessToken,
{
accountId,
@@ -113,7 +111,7 @@ export class PlatTiktokNatsApi {
* @returns
*/
async getCreatorInfo(accountId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.getCreatorInfo,
{
accountId,
@@ -131,7 +129,7 @@ export class PlatTiktokNatsApi {
* @returns
*/
async initVideoPublish(accountId: string, postInfo: any, sourceInfo: any) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.initVideoPublish,
{
accountId,
@@ -157,7 +155,7 @@ export class PlatTiktokNatsApi {
postInfo: any,
sourceInfo: any,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.initPhotoPublish,
{
accountId,
@@ -177,7 +175,7 @@ export class PlatTiktokNatsApi {
* @returns
*/
async getPublishStatus(accountId: string, publishId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.getPublishStatus,
{
accountId,
@@ -200,7 +198,7 @@ export class PlatTiktokNatsApi {
videoBase64: string,
contentType: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.uploadVideoFile,
{
uploadUrl,
@@ -218,7 +216,7 @@ export class PlatTiktokNatsApi {
* @returns
*/
async handleWebhookEvent(event: any) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.tiktok.handleWebhookEvent,
event,
)
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/twitter.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/twitter.natsApi.ts
index 18e1a196..f7b64ef4 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/twitter.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/twitter.natsApi.ts
@@ -1,13 +1,11 @@
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
@Injectable()
-export class PlatTwitterNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatTwitterNatsApi extends BaseNatsApi {
async getAuthUrl(userId: string, scopes?: string[]) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.twitter.authUrl,
{
userId,
@@ -18,7 +16,7 @@ export class PlatTwitterNatsApi {
}
async getAuthInfo(taskId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.twitter.getAuthInfo,
{
taskId,
@@ -32,7 +30,7 @@ export class PlatTwitterNatsApi {
code: string,
state: string,
) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
status: 0 | 1
message?: string
accountId?: string
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/types/publish.interfaces.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/types/publish.interfaces.ts
index e17e531d..952f763d 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/types/publish.interfaces.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/types/publish.interfaces.ts
@@ -20,3 +20,10 @@ export interface PublishRecordItem {
errorMsg: string
option: any
}
+
+export interface PublishDayInfo {
+ userId: string
+ publishTotal: number
+ createAt: Date
+ updatedAt: Date
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/youtube.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/youtube.natsApi.ts
index 5fad176c..ba963383 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/plat/youtube.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/plat/youtube.natsApi.ts
@@ -1,15 +1,16 @@
import { Injectable } from '@nestjs/common'
-import { NatsService } from 'src/transports/nats.service'
import { NatsApi } from '../api'
+import { BaseNatsApi } from '../base.natsApi'
import { AccessToken } from '../channel/bilibili.common'
@Injectable()
-export class PlatYoutubeNatsApi {
- constructor(private readonly natsService: NatsService) {}
-
+export class PlatYoutubeNatsApi extends BaseNatsApi {
/**
* 获取授权页面URL
+ * @param userId
* @param mail
+ * @param type
+ * @param prefix
* @returns
*/
async getAuthUrl(
@@ -18,7 +19,7 @@ export class PlatYoutubeNatsApi {
type: 'pc' | 'h5',
prefix?: string,
) {
- const res = await this.natsService.sendMessage<string>(
+ const res = await this.sendMessage<string>(
NatsApi.plat.youtube.authUrl,
{
userId,
@@ -33,7 +34,8 @@ export class PlatYoutubeNatsApi {
/**
* 创建账号
- * @param mail
+ * @param data
+ * @param prefix
* @returns
*/
async setAccessToken(
@@ -44,7 +46,7 @@ export class PlatYoutubeNatsApi {
},
prefix?: string,
) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.plat.youtube.setAccessToken,
data,
prefix,
@@ -59,7 +61,7 @@ export class PlatYoutubeNatsApi {
* @returns
*/
async getAccountAuthInfo(accountId: string) {
- const res = await this.natsService.sendMessage<AccessToken | null>(
+ const res = await this.sendMessage<AccessToken | null>(
NatsApi.plat.youtube.getAccountAuthInfo,
{
accountId,
@@ -72,11 +74,10 @@ export class PlatYoutubeNatsApi {
/**
* 创建账号并设置授权Token
* @param taskId 任务ID
- * @param data 授权数据
* @returns
*/
async getAuthInfo(taskId: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getAuthInfo,
{
taskId,
@@ -92,7 +93,7 @@ export class PlatYoutubeNatsApi {
* @returns
*/
async isAuthorized(accountId: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.plat.youtube.isAuthorized,
{
accountId,
@@ -108,7 +109,7 @@ export class PlatYoutubeNatsApi {
* @returns
*/
async refreshToken(accountId: string) {
- const res = await this.natsService.sendMessage<boolean>(
+ const res = await this.sendMessage<boolean>(
NatsApi.plat.youtube.refreshToken,
{
accountId,
@@ -130,7 +131,7 @@ export class PlatYoutubeNatsApi {
id?: string,
regionCode?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getVideoCategories,
{
accountId,
@@ -138,8 +139,6 @@ export class PlatYoutubeNatsApi {
regionCode,
},
)
- // console.log('----------');
- // console.log(res);
return res
}
@@ -160,7 +159,7 @@ export class PlatYoutubeNatsApi {
maxResults?: number,
pageToken?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getVideosList,
{
accountId,
@@ -199,7 +198,7 @@ export class PlatYoutubeNatsApi {
categoryId?: string,
publishAt?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.uploadVideo,
{
accountId,
@@ -260,7 +259,7 @@ export class PlatYoutubeNatsApi {
console.log('实际发送的NATS负载:', JSON.stringify(payload))
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.initVideoUpload,
payload,
)
@@ -282,7 +281,7 @@ export class PlatYoutubeNatsApi {
uploadToken: string,
partNumber: number,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.uploadVideoPart,
{
accountId,
@@ -322,7 +321,7 @@ export class PlatYoutubeNatsApi {
console.log('实际发送的NATS负载:', JSON.stringify(payload))
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.videoComplete,
payload,
)
@@ -346,7 +345,7 @@ export class PlatYoutubeNatsApi {
maxResults?: number,
pageToken?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getCommentsList,
{
accountId,
@@ -367,7 +366,7 @@ export class PlatYoutubeNatsApi {
videoId: string,
textOriginal: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.insertCommentThreads,
{
accountId,
@@ -391,7 +390,7 @@ export class PlatYoutubeNatsApi {
order?: string,
searchTerms?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getCommentThreadsList,
{
accountId,
@@ -414,7 +413,7 @@ export class PlatYoutubeNatsApi {
parentId: string,
textOriginal: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.insertComment,
{
accountId,
@@ -432,7 +431,7 @@ export class PlatYoutubeNatsApi {
parentId: string,
textOriginal: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.updateComment,
{
accountId,
@@ -446,7 +445,7 @@ export class PlatYoutubeNatsApi {
// 删除评论
async deleteComment(accountId: string, id: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.deleteComment,
{
accountId,
@@ -464,7 +463,7 @@ export class PlatYoutubeNatsApi {
moderationStatus?: string,
banAuthor?: boolean,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.setModerationStatusComments,
{
accountId,
@@ -479,7 +478,7 @@ export class PlatYoutubeNatsApi {
// 对视频点赞、踩
async setVideoRate(accountId: string, id: string, rating: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.setVideoRate,
{
accountId,
@@ -493,7 +492,7 @@ export class PlatYoutubeNatsApi {
// 获取视频的点赞、踩数
async getVideoRate(accountId: string, id: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getVideoRate,
{
accountId,
@@ -506,7 +505,7 @@ export class PlatYoutubeNatsApi {
// 删除视频
async deleteVideo(accountId: string, id: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.deleteVideo,
{
accountId,
@@ -530,7 +529,7 @@ export class PlatYoutubeNatsApi {
publishAt?: string,
recordingDate?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.updateVideo,
{
accountId,
@@ -556,7 +555,7 @@ export class PlatYoutubeNatsApi {
description?: string,
privacyStatus?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.createPlaylist,
{
accountId,
@@ -578,7 +577,7 @@ export class PlatYoutubeNatsApi {
maxResults?: number,
pageToken?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getPlayList,
{
accountId,
@@ -600,7 +599,7 @@ export class PlatYoutubeNatsApi {
title: string,
description?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.updatePlaylist,
{
accountId,
@@ -615,7 +614,7 @@ export class PlatYoutubeNatsApi {
// 删除播放列表
async deletePlaylist(accountId: string, id: string) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.deletePlaylist,
{
accountId,
@@ -636,7 +635,7 @@ export class PlatYoutubeNatsApi {
startAt?: string,
endAt?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.insertPlayListItems,
{
accountId,
@@ -661,7 +660,7 @@ export class PlatYoutubeNatsApi {
pageToken?: string,
videoId?: string,
) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
code: number
message: string
data: any
@@ -688,7 +687,7 @@ export class PlatYoutubeNatsApi {
startAt?: string,
endAt?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.updatePlayListItems,
{
accountId,
@@ -707,7 +706,7 @@ export class PlatYoutubeNatsApi {
// 删除播放列表项
async deletePlayListItems(accountId: string, id: string) {
- const res = await this.natsService.sendMessage<{
+ const res = await this.sendMessage<{
code: number
message: string
data: any
@@ -729,7 +728,7 @@ export class PlatYoutubeNatsApi {
maxResults?: number,
pageToken?: string,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getChannelsList,
{
accountId,
@@ -752,7 +751,7 @@ export class PlatYoutubeNatsApi {
id?: string,
mine?: boolean,
) {
- const res = await this.natsService.sendMessage<any>(
+ const res = await this.sendMessage<any>(
NatsApi.plat.youtube.getChannelsSectionsList,
{
accountId,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/statistics/statistics.interface.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/statistics/statistics.interface.ts
new file mode 100644
index 00000000..71f565f0
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/statistics/statistics.interface.ts
@@ -0,0 +1,3 @@
+// 账号最新数据查询请求接口
+export interface AccountDataLatestRequest {
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/statistics/statistics.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/statistics/statistics.natsApi.ts
new file mode 100644
index 00000000..f2180c93
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/statistics/statistics.natsApi.ts
@@ -0,0 +1,113 @@
+import { Injectable } from '@nestjs/common'
+import { NatsService } from 'src/transports/nats.service'
+import { NatsApi } from '../api'
+
+@Injectable()
+export class StatisticsNatsApi {
+ constructor(private readonly natsService: NatsService) {}
+
+ /**
+ * 获取账号最新数据
+ * @param accountId 账户ID
+ * @param platform 平台
+ * @param uid 频道唯一标识符
+ * @returns
+ */
+ async getAccountDataLatest(
+ accountId: string,
+ platform: string,
+ uid: string,
+ ) {
+ const res = await this.natsService.sendMessage<string>(
+ NatsApi.statistics.account.getAccountDataLatest,
+ {
+ accountId,
+ platform,
+ uid,
+ },
+ )
+
+ return res
+ }
+
+ /**
+ * 获取账号增量数据
+ * @param accountId 账户ID
+ * @param platform 平台
+ * @param uid 频道唯一标识符
+ * @returns
+ */
+ async getAccountDataIncrease(
+ accountId: string,
+ platform: string,
+ uid: string,
+ ) {
+ const res = await this.natsService.sendMessage<string>(
+ NatsApi.statistics.account.getAccountDataIncrease,
+ {
+ accountId,
+ platform,
+ uid,
+ },
+ )
+
+ return res
+ }
+
+ /**
+ * 根据查询条件筛选频道
+ * @param params 查询参数
+ * @param sort 排序
+ * @param pageNo 页码
+ * @param pageSize 每页数据量
+ * @returns
+ */
+ async getAccountDataByParams(
+ params: any,
+ sort?: any,
+ pageNo?: number,
+ pageSize?: number,
+ ) {
+ const res = await this.natsService.sendMessage<string>(
+ NatsApi.statistics.account.getAccountDataByParams,
+ {
+ params,
+ sort,
+ pageNo,
+ pageSize,
+ },
+ )
+
+ return res
+ }
+
+ /**
+ * 获取账号一段时间数据
+ * @param accountId 账户ID
+ * @param platform 平台
+ * @param uid 频道唯一标识符
+ * @param startDate 开始日期
+ * @param endDate 结束日期
+ * @returns
+ */
+ async getAccountDataPeriod(
+ accountId: string,
+ platform: string,
+ uid: string,
+ startDate: string,
+ endDate: string,
+ ) {
+ const res = await this.natsService.sendMessage<string>(
+ NatsApi.statistics.account.getAccountDataPeriod,
+ {
+ accountId,
+ platform,
+ uid,
+ startDate,
+ endDate,
+ },
+ )
+
+ return res
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/task/task.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/task/task.natsApi.ts
index 4ede2232..646e0242 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/task/task.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/task/task.natsApi.ts
@@ -1,5 +1,5 @@
import {
- TaskDetail,
+ TaskWithOpportunityDetail,
TotalAmountResult,
UserTaskDetail,
} from '@core/task/task.interface'
@@ -9,11 +9,11 @@ import { BaseNatsApi } from '../base.natsApi'
@Injectable()
export class TaskNatsApi extends BaseNatsApi {
- async getTaskInfo(taskId: string): Promise<TaskDetail> {
- return await this.sendMessage<TaskDetail>(
- NatsApi.task.task.info,
+ async getTaskInfoByOpportunityId(opportunityId: string): Promise<TaskWithOpportunityDetail> {
+ return await this.sendMessage<TaskWithOpportunityDetail>(
+ NatsApi.task.task.infoByOpportunityId,
{
- id: taskId,
+ opportunityId,
},
)
}
@@ -28,11 +28,8 @@ export class TaskNatsApi extends BaseNatsApi {
}
async acceptTask(acceptTaskData: {
- taskId: string
+ opportunityId: string
userId: string
- accountType: string
- uid: string
- account: string
}): Promise<UserTaskDetail> {
return await this.sendMessage<UserTaskDetail>(
NatsApi.task.task.accept,
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/task/user-task.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/task/user-task.natsApi.ts
index d2f2dfd0..b2a2ba69 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/task/user-task.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/task/user-task.natsApi.ts
@@ -11,9 +11,22 @@ export class UserTaskNatsApi extends BaseNatsApi {
* @returns 用户任务列表
*/
async getUserTaskList(userId: string, status?: string) {
- return await this.sendMessage(NatsApi.user.task.list, {
+ return await this.sendMessage<any[]>(NatsApi.user.task.list, {
userId,
status,
})
}
+
+ /**
+ * 获取用户任务列表
+ * @param userId 用户ID
+ * @param id 任务id
+ * @returns 用户任务列表
+ */
+ async getUserTask(userId: string, id: string) {
+ return await this.sendMessage<any>(NatsApi.user.task.get, {
+ userId,
+ id,
+ })
+ }
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/user/comment.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/user/comment.ts
index ffe7c7ac..3cf6879a 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/user/comment.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/user/comment.ts
@@ -14,6 +14,17 @@ export interface UserEarnInfo {
cycleInterval: number
}
+export enum UserVipCycleType {
+ NONE = 0, // 未认证
+ MONTH = 1, // 月
+ YEAR = 2, // 年
+ EXPERIENCE = 3, // 体验
+}
+export class UserVipInfo {
+ cycleType: UserVipCycleType
+ expireTime: Date
+}
+
export interface User {
id: string
name: string
@@ -27,6 +38,8 @@ export interface User {
inviteCode?: string // 我填写的邀请码
earnInfo?: UserEarnInfo
googleAccount?: GoogleAccount // 谷歌账号信息
+ vipInfo?: UserVipInfo // 会员信息
+ score: number // 积分字段
}
export interface GoogleLoginInfo {
@@ -41,12 +54,6 @@ export interface GoogleAccount {
expiresAt?: number
}
-export enum UserVipCycleType {
- NONE = 0, // 未认证
- MONTH = 1, // 月
- YEAR = 2, // 年
-}
-
export class UserCreatedEvent {
constructor(public readonly user: User) {}
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/user/points.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/user/points.natsApi.ts
new file mode 100644
index 00000000..e2341415
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/user/points.natsApi.ts
@@ -0,0 +1,18 @@
+import { Injectable } from '@nestjs/common'
+import { NatsApi } from '@transports/api'
+import { NatsService } from '../nats.service'
+
+@Injectable()
+export class UserPointsNatsApi {
+ constructor(
+ private readonly natsService: NatsService,
+ ) {}
+
+ /** 获取积分记录列表 */
+ async getRecords(userId: string, page = 1, pageSize = 10): Promise<{ list: any[], total: number }> {
+ return this.natsService.sendMessage<{ list: any[], total: number }>(
+ NatsApi.user.points.getRecords,
+ { userId, page, pageSize },
+ )
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/transports/user/user.natsApi.ts b/aitoearn_web/server/aitoearn-gateway/src/transports/user/user.natsApi.ts
index fbc64f2a..def98581 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/transports/user/user.natsApi.ts
+++ b/aitoearn_web/server/aitoearn-gateway/src/transports/user/user.natsApi.ts
@@ -88,11 +88,6 @@ export class UserNatsApi {
},
)
- this.eventEmitter.emit(
- 'user.created',
- new UserCreatedEvent(res),
- )
-
return res
}
diff --git a/aitoearn_web/server/aitoearn-gateway/src/views/auth/back.ejs b/aitoearn_web/server/aitoearn-gateway/src/views/auth/back.ejs
index 9f988c47..1373d671 100644
--- a/aitoearn_web/server/aitoearn-gateway/src/views/auth/back.ejs
+++ b/aitoearn_web/server/aitoearn-gateway/src/views/auth/back.ejs
@@ -1,11 +1,11 @@
<!DOCTYPE html>
-<html lang="zh-CN">
+<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>授权登录结果</title>
+ <title>Authorization Result</title>
<style>
* {
margin: 0;
@@ -215,70 +215,61 @@
<div class="logo-icon"></div>
</div>
- <h3>授权登录</h3>
+ <h3>Authorization Login</h3>
- <div class="status-card <%= status === 'success' ? 'success' : (status === 'error' ? 'error' : 'processing') %>">
+ <div class="status-card <%= status === 1 ? 'success' : (status === 0 ? 'error' : 'processing') %>">
<div class="status-item">
<span class="status-indicator"></span>
- <span class="status-label">状态:</span>
+ <span class="status-label">Status:</span>
<span class="status-value">
- <% if (status==='success' ) { %>
- 授权成功
+ <% if (status===1 ) { %>
+ Authorization Successful
<% } else if (status==='error' ) { %>
- 授权失败
+ Authorization Failed
<% } else { %>
- 处理中
+ Processing
<% } %>
</span>
</div>
<% if (typeof message !=='undefined' && message) { %>
<div class="status-item">
- <span class="status-label">信息:</span>
+ <span class="status-label">Message:</span>
<span class="status-value">
<%= message %>
</span>
</div>
<% } %>
-
- <% if (typeof accountId !=='undefined' && accountId) { %>
- <div class="status-item">
- <span class="status-label">账户:</span>
- <span class="status-value">
- <%= accountId %>
- </span>
- </div>
- <% } %>
</div>
- <% if (status==='success' ) { %>
+ <% if (status===1 ) { %>
<div class="message">
- 授权登录已完成,您现在可以关闭此页面或返回应用。
+ Authorization completed. You can now close this page or return to the application.
</div>
- <% } else if (status==='error' ) { %>
+ <% } else if (status===0 ) { %>
<div class="message">
- 授权登录失败,请检查信息后重试。
+ Authorization failed. Please check the information and try again.
</div>
<% } else { %>
<div class="message">
<span class="spinner"></span>
- 正在处理授权请求,请稍候...
+ Processing authorization request, please wait...
</div>
<% } %>
<% if (typeof accountId !=='undefined' && accountId) { %>
<div class="account-info">
- 账户ID: <%= accountId %>
+ Account ID: <%= accountId %>
</div>
<% } %>
<div class="redirect-message">
- 页面将在 <span id="countdown">5</span> 秒后自动关闭
+ Page will automatically close in <span id="countdown">5</span> seconds
</div>
</div>
<script>
- // 自动倒计时关闭页面
+ // Auto countdown to close page
let countdown = 5;
const countdownElement = document.getElementById('countdown');
@@ -288,15 +279,15 @@
if (countdown <= 0) {
clearInterval(countdownInterval);
- // 尝试关闭窗口,如果无法关闭则提示用户手动关闭
+ // Try to close window, if unable to close then prompt user to close manually
window.close();
}
}, 1000);
- // 如果是成功状态,可以考虑自动跳转到应用主页
+ // If successful status, consider auto redirect to application homepage
// if (status === 'success') {
// setTimeout(() => {
- // // 这里可以添加跳转逻辑,如果需要的话
+ // // Can add redirect logic here if needed
// // window.location.href = '/dashboard';
// }, 3000);
// }
diff --git a/aitoearn_web/server/aitoearn-other/config/dev.config.js b/aitoearn_web/server/aitoearn-other/config/dev.config.js
index 4fc1d001..e3c73ec0 100644
--- a/aitoearn_web/server/aitoearn-other/config/dev.config.js
+++ b/aitoearn_web/server/aitoearn-other/config/dev.config.js
@@ -11,7 +11,6 @@ const {
NATS_PASSWORD,
} = process.env
-// 新增环境变量定义
const {
MONGODB_USERNAME,
MONGODB_PASSWORD,
@@ -40,7 +39,7 @@ module.exports = {
region: 'ap-southeast-1',
accessKeyId: CLOUDWATCH_ACCESS_KEY_ID,
secretAccessKey: CLOUDWATCH_SECRET_ACCESS_KEY,
- group: 'aitoearn-apps',
+ group: 'x-apps',
prefix: 'dev',
},
},
@@ -52,11 +51,11 @@ module.exports = {
connectTimeout: 10000,
},
mongodb: {
- uri: `mongodb://${MONGODB_USERNAME}:${MONGODB_PASSWORD}@${MONGODB_HOST}:${MONGODB_PORT}/aitoearn?authSource=${MONGODB_AUTH_SOURCE}&directConnection=true`,
- dbName: 'aitoearn',
+ uri: `mongodb://${MONGODB_USERNAME}:${MONGODB_PASSWORD}@${MONGODB_HOST}:${MONGODB_PORT}/x?authSource=${MONGODB_AUTH_SOURCE}&directConnection=true`,
+ dbName: 'x',
},
nats: {
- name: 'aitoearn-other-dev',
+ name: 'x-other-dev',
servers: [`nats://${NATS_USERNAME}:${NATS_PASSWORD}@${NATS_HOST}:${NATS_PORT}`],
user: NATS_USERNAME,
pass: NATS_PASSWORD,
diff --git a/aitoearn_web/server/aitoearn-other/config/prod.config.js b/aitoearn_web/server/aitoearn-other/config/prod.config.js
index 7b0cde3e..e3c73ec0 100644
--- a/aitoearn_web/server/aitoearn-other/config/prod.config.js
+++ b/aitoearn_web/server/aitoearn-other/config/prod.config.js
@@ -4,13 +4,6 @@ const {
REDIS_PASSWORD,
} = process.env
-const {
- MONGODB_HOST,
- MONGODB_PORT,
- MONGODB_USERNAME,
- MONGODB_PASSWORD,
-} = process.env
-
const {
NATS_HOST,
NATS_PORT,
@@ -18,8 +11,12 @@ const {
NATS_PASSWORD,
} = process.env
-// 新增环境变量定义
const {
+ MONGODB_USERNAME,
+ MONGODB_PASSWORD,
+ MONGODB_HOST,
+ MONGODB_PORT,
+ MONGODB_AUTH_SOURCE,
CLOUDWATCH_ACCESS_KEY_ID,
CLOUDWATCH_SECRET_ACCESS_KEY,
GOLOGIN_TOKEN,
@@ -42,8 +39,8 @@ module.exports = {
region: 'ap-southeast-1',
accessKeyId: CLOUDWATCH_ACCESS_KEY_ID,
secretAccessKey: CLOUDWATCH_SECRET_ACCESS_KEY,
- group: 'aitoearn-apps',
- prefix: 'prod',
+ group: 'x-apps',
+ prefix: 'dev',
},
},
redis: {
@@ -54,15 +51,15 @@ module.exports = {
connectTimeout: 10000,
},
mongodb: {
- uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@${MONGODB_HOST}:${MONGODB_PORT}/?tls=true&tlsCAFile=global-bundle.pem&replicaSet=rs0&readPreference=secondaryPreferred&retryWrites=false`,
- dbName: 'aitoearn',
+ uri: `mongodb://${MONGODB_USERNAME}:${MONGODB_PASSWORD}@${MONGODB_HOST}:${MONGODB_PORT}/x?authSource=${MONGODB_AUTH_SOURCE}&directConnection=true`,
+ dbName: 'x',
},
nats: {
- name: 'aitoearn-other-dev',
+ name: 'x-other-dev',
servers: [`nats://${NATS_USERNAME}:${NATS_PASSWORD}@${NATS_HOST}:${NATS_PORT}`],
user: NATS_USERNAME,
pass: NATS_PASSWORD,
- prefix: 'prod',
+ prefix: 'dev',
},
gologin: {
token: GOLOGIN_TOKEN,
diff --git a/aitoearn_web/server/aitoearn-user/.github/workflows/deploy.yml b/aitoearn_web/server/aitoearn-user/.github/workflows/deploy.yml
deleted file mode 100644
index e84e23e5..00000000
--- a/aitoearn_web/server/aitoearn-user/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,193 +0,0 @@
-name: Deploy Service
-
-on:
- workflow_dispatch:
- inputs:
- environment:
- description: 选择目标环境
- required: true
- type: choice
- options:
- - dev
- - prod
- version:
- description: 镜像版本 (留空使用默认生成规则)
- required: false
- type: string
- architectures:
- description: 目标平台 (逗号分隔,如 linux/amd64,linux/arm64)
- required: false
- type: string
- default: linux/amd64
-
-permissions:
- id-token: write
- contents: read
-
-env:
- AWS_REGION: ap-southeast-1
- ECR_REGISTRY: 339388639667.dkr.ecr.ap-southeast-1.amazonaws.com
- ROLE_TO_ASSUME: arn:aws:iam::339388639667:role/GithubActions
- IMAGE_REPO: aitoearn
- APP_NAME: aitoearn-user
- HELM_REPO: yikart/k8s-apps
- HELM_REPO_URL: https://github.com/yikart/k8s-apps.git
-
-jobs:
- build-and-deploy:
- runs-on: ubuntu-latest
- environment: ${{ github.event.inputs.environment }}
-
- steps:
- - name: Checkout source code
- uses: actions/checkout@v4
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@v4
- with:
- role-to-assume: ${{ env.ROLE_TO_ASSUME }}
- aws-region: ${{ env.AWS_REGION }}
-
- - name: Login to Amazon ECR
- id: login-ecr
- uses: aws-actions/amazon-ecr-login@v2
-
- - name: Generate version
- id: version
- run: |
- if [ -n "${{ github.event.inputs.version }}" ]; then
- VERSION="${{ github.event.inputs.version }}"
- else
- VERSION=$(date +%Y%m%d)-$(git rev-parse --short HEAD)
- fi
- echo "version=$VERSION" >> $GITHUB_OUTPUT
-
- - name: Build and push application
- uses: docker/build-push-action@v5
- with:
- context: .
- file: ./Dockerfile
- platforms: ${{ github.event.inputs.architectures }}
- push: true
- tags: |
- ${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}
- cache-from: type=gha
- cache-to: type=gha,mode=max
-
- - uses: actions/create-github-app-token@v2
- id: generate-token
- with:
- app-id: ${{ secrets.APP_ID }}
- private-key: ${{ secrets.APP_PRIVATE_KEY }}
- owner: yikart
- repositories: k8s-apps
-
- - name: Clone Helm repository
- uses: actions/checkout@v4
- with:
- repository: ${{ env.HELM_REPO }}
- token: ${{ steps.generate-token.outputs.token }}
- path: k8s-apps
-
- - name: Update Helm values
- run: |
- cd k8s-apps
- ENV="${{ github.event.inputs.environment }}"
- VERSION="${{ steps.version.outputs.version }}"
- APP="${{ env.APP_NAME }}"
- VALUES_FILE="${ENV}/values-${APP}.yaml"
-
- if [ -f "$VALUES_FILE" ]; then
- sed -i "s|tag: .*|tag: ${VERSION}|g" "$VALUES_FILE"
- echo "Updated ${APP} tag to ${VERSION}"
- else
- echo "Warning: Values file not found: $VALUES_FILE"
- fi
-
- - name: Update config files
- run: |
- ENV="${{ github.event.inputs.environment }}"
- CONFIG_FILE="config/${ENV}.config.js"
- if [ -f "$CONFIG_FILE" ]; then
- CONFIG_DIR="k8s-apps/${ENV}/configmaps/${{ env.APP_NAME }}"
- mkdir -p "$CONFIG_DIR"
- cp "$CONFIG_FILE" "${CONFIG_DIR}/config.js"
- echo "Updated ${{ env.APP_NAME }} config for ${ENV} environment"
- else
- echo "Warning: Config file not found: $CONFIG_FILE"
- fi
-
- - name: Get source repository changes
- id: source-changes
- run: |
- COMMIT_HISTORY=$(git log --oneline -10 --pretty=format:"- [%h](${{ github.server_url }}/${{ github.repository }}/commit/%H) %s")
- echo 'commit_history<<EOF' >> $GITHUB_OUTPUT
- echo "$COMMIT_HISTORY" >> $GITHUB_OUTPUT
- echo 'EOF' >> $GITHUB_OUTPUT
-
- - name: Create Pull Request in Helm Repo
- id: create-pr
- uses: peter-evans/create-pull-request@v7
- with:
- token: ${{ steps.generate-token.outputs.token }}
- path: ./k8s-apps
- branch: deploy/${{ env.APP_NAME }}-${{ github.event.inputs.environment }}-${{ steps.version.outputs.version }}
- title: 'deploy(${{ github.event.inputs.environment }}): update ${{ env.APP_NAME }} to ${{ steps.version.outputs.version }}'
- body: |
- ## 🚀 部署请求
-
- **应用**: ${{ env.APP_NAME }}
- **环境**: ${{ github.event.inputs.environment }}
- **版本**: ${{ steps.version.outputs.version }}
-
- ### 📋 变更详情
-
- - 更新镜像标签: `${{ env.APP_NAME }}:${{ steps.version.outputs.version }}`
- - 目标环境: `${{ github.event.inputs.environment }}`
-
- ### 📝 源代码变更历史
-
- 最近的提交记录:
- ${{ steps.source-changes.outputs.commit_history }}
-
- ### 🔗 相关信息
-
- - **源仓库**: ${{ github.repository }}
- - **源提交**: [`${{ github.sha }}`](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
- - **镜像地址**: `${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}`
- - **构建日志**: [GitHub Actions Run ${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
- # 提交信息
- commit-message: |
- deploy(${{ github.event.inputs.environment }}): update ${{ env.APP_NAME }} to ${{ steps.version.outputs.version }}
-
- Update image tag for ${{ env.APP_NAME }} in ${{ github.event.inputs.environment }} environment
- Source-Commit: ${{ github.sha }}
- Triggered-By: GitHub Actions
- # PR 的目标分支
- base: main
-
- - name: Summary
- if: always()
- run: |
- echo "## 📦部署摘要" >> $GITHUB_STEP_SUMMARY
- echo "- **应用**: ${{ env.APP_NAME }}" >> $GITHUB_STEP_SUMMARY
- echo "- **环境**: ${{ github.event.inputs.environment }}" >> $GITHUB_STEP_SUMMARY
- echo "- **版本**: ${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
- echo "- **镜像**: \`${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}\`" >> $GITHUB_STEP_SUMMARY
-
- # 检查 create-pr 步骤的 'created' 输出
- if [ "${{ steps.create-pr.outputs.pull-request-number }}" != "" ]; then
- echo "- **状态**: ✅ Pull Request 已创建到 Helm 仓库" >> $GITHUB_STEP_SUMMARY
- # 使用新的输出 'pull-request-url'
- echo "- **PR链接**: ${{ steps.create-pr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
- else
- echo "- **状态**: ⚠️ 无变更,未创建 Pull Request" >> $GITHUB_STEP_SUMMARY
- fi
-
- echo "" >> $GITHUB_STEP_SUMMARY
- echo "### 🔗 快速链接" >> $GITHUB_STEP_SUMMARY
- echo "- [Helm 仓库](${{ env.HELM_REPO_URL }})" >> $GITHUB_STEP_SUMMARY
- echo "- [源代码提交](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})" >> $GITHUB_STEP_SUMMARY
diff --git a/aitoearn_web/server/aitoearn-user/Dockerfile b/aitoearn_web/server/aitoearn-user/Dockerfile
index e7ad00f5..5c6b3931 100644
--- a/aitoearn_web/server/aitoearn-user/Dockerfile
+++ b/aitoearn_web/server/aitoearn-user/Dockerfile
@@ -14,7 +14,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm i --frozen-lockfile;
COPY nest-cli.json tsconfig.json ./
COPY src ./src
-COPY config ./config
+
RUN nest build;
diff --git a/aitoearn_web/server/aitoearn-user/config/dev.config.js b/aitoearn_web/server/aitoearn-user/config/dev.config.js
index c67236a7..3eae7f5e 100644
--- a/aitoearn_web/server/aitoearn-user/config/dev.config.js
+++ b/aitoearn_web/server/aitoearn-user/config/dev.config.js
@@ -11,13 +11,13 @@ const {
NATS_PASSWORD,
} = process.env
-// 添加 MongoDB 认证信息环境变量
-const {
+const {
MONGODB_USERNAME,
- MONGODB_PASSWORD
+ MONGODB_PASSWORD,
+ CLOUDWATCH_ACCESS_KEY_ID,
+ CLOUDWATCH_SECRET_ACCESS_KEY
} = process.env
-// 添加 AWS 凭证环境变量
-const { AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY } = process.env;
+
module.exports = {
port: 3001,
enableBadRequestDetails: true,
@@ -33,9 +33,9 @@ module.exports = {
cloudWatch: {
enable: true,
region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
- group: 'aitoearn-apps',
+ accessKeyId: CLOUDWATCH_ACCESS_KEY_ID,
+ secretAccessKey: CLOUDWATCH_SECRET_ACCESS_KEY,
+ group: 'x-apps',
prefix: 'dev',
},
},
@@ -47,12 +47,11 @@ module.exports = {
connectTimeout: 10000,
},
mongodb: {
- // 使用环境变量替换硬编码的 MongoDB 认证信息
- uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@dev.aitoearn.ai:27017/aitoearn?authSource=admin&directConnection=true`,
- dbName: 'aitoearn',
+ uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@dev.x.ai:27017/x?authSource=admin&directConnection=true`,
+ dbName: 'x',
},
nats: {
- name: 'aitoearn-user-dev',
+ name: 'x-user-dev',
servers: [`nats://${NATS_USERNAME}:${NATS_PASSWORD}@${NATS_HOST}:${NATS_PORT}`],
user: NATS_USERNAME,
pass: NATS_PASSWORD,
diff --git a/aitoearn_web/server/aitoearn-user/config/generate-local-config.js b/aitoearn_web/server/aitoearn-user/config/generate-local-config.js
new file mode 100644
index 00000000..69699ca5
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/config/generate-local-config.js
@@ -0,0 +1,142 @@
+#!/usr/bin/env node
+
+const fs = require('node:fs')
+const path = require('node:path')
+
+/**
+ * 深度合并两个对象,local 对象中的值优先
+ * @param {object} dev - dev.config.js 的配置对象
+ * @param {object} local - local.config.js 的配置对象
+ * @returns {object} 合并后的配置对象
+ */
+function deepMerge(dev, local) {
+ const result = { ...dev }
+
+ for (const key in local) {
+ if (local.hasOwnProperty(key)) {
+ if (typeof local[key] === 'object' && local[key] !== null && !Array.isArray(local[key])) {
+ // 如果是对象,递归合并
+ result[key] = deepMerge(dev[key] || {}, local[key])
+ }
+ else {
+ // 如果是基本类型或数组,local 优先
+ result[key] = local[key]
+ }
+ }
+ }
+
+ return result
+}
+
+/**
+ * 将对象转换为格式化的 JavaScript 代码字符串
+ * @param {object} obj - 要转换的对象
+ * @param {number} indent - 缩进级别
+ * @returns {string} 格式化的 JavaScript 代码
+ */
+function objectToString(obj, indent = 0) {
+ const spaces = ' '.repeat(indent)
+ const entries = []
+
+ for (const [key, value] of Object.entries(obj)) {
+ let valueStr
+
+ if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
+ valueStr = `{\n${objectToString(value, indent + 1)}\n${spaces} }`
+ }
+ else if (Array.isArray(value)) {
+ if (value.length === 0) {
+ valueStr = '[]'
+ }
+ else {
+ const arrayItems = value.map((v) => {
+ if (typeof v === 'string') {
+ return `'${v}'`
+ }
+ else if (typeof v === 'object' && v !== null) {
+ return JSON.stringify(v)
+ }
+ else {
+ return String(v)
+ }
+ })
+ valueStr = `[${arrayItems.join(', ')}]`
+ }
+ }
+ else if (typeof value === 'string') {
+ valueStr = `'${value}'`
+ }
+ else if (typeof value === 'boolean') {
+ valueStr = String(value)
+ }
+ else if (typeof value === 'number') {
+ valueStr = String(value)
+ }
+ else {
+ valueStr = String(value)
+ }
+
+ entries.push(`${spaces} ${key}: ${valueStr}`)
+ }
+
+ return entries.join(',\n')
+}
+
+/**
+ * 生成 local config 文件
+ */
+function generateLocalConfig() {
+ const configDir = __dirname
+ const devConfigPath = path.join(configDir, 'dev.config.js')
+ const localConfigPath = path.join(configDir, 'local.config.js')
+
+ try {
+ console.log('📖 正在读取 dev.config.js...')
+
+ // 读取 dev.config.js
+ if (!fs.existsSync(devConfigPath)) {
+ console.error('❌ dev.config.js 文件不存在')
+ process.exit(1)
+ }
+
+ const devConfig = require(devConfigPath)
+
+ // 读取现有的 local.config.js(如果存在)
+ let localConfig = {}
+ if (fs.existsSync(localConfigPath)) {
+ console.log('📖 正在读取现有的 local.config.js...')
+ localConfig = require(localConfigPath)
+ }
+ else {
+ console.log('📝 local.config.js 不存在,将创建新文件')
+ }
+
+ // 合并配置
+ console.log('🔧 正在合并配置...')
+ const mergedConfig = deepMerge(devConfig, localConfig)
+
+ // 生成新的 local.config.js 内容
+ const configContent = `module.exports = {\n${objectToString(mergedConfig, 0)}\n};\n`
+
+ // 写入文件
+ fs.writeFileSync(localConfigPath, configContent, 'utf8')
+
+ console.log('✅ local.config.js 已成功生成/更新')
+ console.log(`📄 文件路径: ${localConfigPath}`)
+ }
+ catch (error) {
+ console.error('❌ 生成 local.config.js 时发生错误:', error)
+ process.exit(1)
+ }
+}
+
+// 如果直接运行此脚本
+if (require.main === module) {
+ generateLocalConfig()
+}
+
+module.exports = {
+ generateLocalConfig,
+ deepMerge,
+ objectToString,
+}
diff --git a/aitoearn_web/server/aitoearn-user/config/prod.config.js b/aitoearn_web/server/aitoearn-user/config/prod.config.js
index cd4a83d3..3eae7f5e 100644
--- a/aitoearn_web/server/aitoearn-user/config/prod.config.js
+++ b/aitoearn_web/server/aitoearn-user/config/prod.config.js
@@ -11,13 +11,13 @@ const {
NATS_PASSWORD,
} = process.env
-// 添加 MongoDB 认证信息环境变量
-const {
+const {
MONGODB_USERNAME,
- MONGODB_PASSWORD
+ MONGODB_PASSWORD,
+ CLOUDWATCH_ACCESS_KEY_ID,
+ CLOUDWATCH_SECRET_ACCESS_KEY
} = process.env
-// 添加 AWS 凭证环境变量
-const { AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY } = process.env;
+
module.exports = {
port: 3001,
enableBadRequestDetails: true,
@@ -33,10 +33,10 @@ module.exports = {
cloudWatch: {
enable: true,
region: 'ap-southeast-1',
- accessKeyId: AWS_ACCESS_KEY_ID,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
- group: 'aitoearn-apps',
- prefix: 'prod',
+ accessKeyId: CLOUDWATCH_ACCESS_KEY_ID,
+ secretAccessKey: CLOUDWATCH_SECRET_ACCESS_KEY,
+ group: 'x-apps',
+ prefix: 'dev',
},
},
redis: {
@@ -47,15 +47,14 @@ module.exports = {
connectTimeout: 10000,
},
mongodb: {
- // 使用环境变量替换硬编码的 MongoDB 认证信息
- uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@dev.aitoearn.ai:27017/aitoearn?authSource=admin&directConnection=true`,
- dbName: 'aitoearn',
+ uri: `mongodb://${MONGODB_USERNAME}:${encodeURIComponent(MONGODB_PASSWORD)}@dev.x.ai:27017/x?authSource=admin&directConnection=true`,
+ dbName: 'x',
},
nats: {
- name: 'aitoearn-user-dev',
+ name: 'x-user-dev',
servers: [`nats://${NATS_USERNAME}:${NATS_PASSWORD}@${NATS_HOST}:${NATS_PORT}`],
user: NATS_USERNAME,
pass: NATS_PASSWORD,
- prefix: 'prod',
+ prefix: 'dev',
},
}
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-user/ecosystem.config.js b/aitoearn_web/server/aitoearn-user/ecosystem.config.js
deleted file mode 100644
index 201fcfb6..00000000
--- a/aitoearn_web/server/aitoearn-user/ecosystem.config.js
+++ /dev/null
@@ -1,19 +0,0 @@
-module.exports = {
- apps: [
- {
- name: 'aitoearn-user-server',
- script: 'dist/main.js',
- args: '-c config/dev.config.js',
- instances: '1',
- exec_mode: 'cluster',
- env: {
- NODE_ENV: 'development',
- },
- env_production: {
- NODE_ENV: 'production',
- },
- log_date_format: 'YYYY-MM-DD_HH:mm Z',
- merge_logs: true,
- },
- ],
-}
diff --git a/aitoearn_web/server/aitoearn-user/src/app.controller.ts b/aitoearn_web/server/aitoearn-user/src/app.controller.ts
index c52d5b3c..9456d2b0 100644
--- a/aitoearn_web/server/aitoearn-user/src/app.controller.ts
+++ b/aitoearn_web/server/aitoearn-user/src/app.controller.ts
@@ -2,6 +2,7 @@ import { NatsMessagePattern } from '@common/decorators'
import { Controller, Get, Logger } from '@nestjs/common'
import { Ctx, NatsContext, Payload } from '@nestjs/microservices'
import { AppService } from './app.service'
+import { AppException } from './common'
@Controller()
export class AppController {
@@ -16,8 +17,9 @@ export class AppController {
@NatsMessagePattern('user.ping')
pong(@Payload() data: number[], @Ctx() context: NatsContext) {
- this.logger.debug(`Subject: ${context.getSubject()}`)
- this.logger.debug(`Data:`, data)
+ console.log('------------')
+ throw new AppException(10001, '1111')
+
return {
message: 'Pong',
}
diff --git a/aitoearn_web/server/aitoearn-user/src/app.module.ts b/aitoearn_web/server/aitoearn-user/src/app.module.ts
index 4b9daf23..e9484042 100644
--- a/aitoearn_web/server/aitoearn-user/src/app.module.ts
+++ b/aitoearn_web/server/aitoearn-user/src/app.module.ts
@@ -2,15 +2,15 @@ import { ZodValidationPipe } from '@common/pipes/zod-validation.pipe'
import { DbMongoModule } from '@libs/database'
import { RedisModule } from '@libs/redis'
import { Module } from '@nestjs/common'
-import { APP_FILTER, APP_INTERCEPTOR, APP_PIPE } from '@nestjs/core'
+import { APP_FILTER, APP_PIPE } from '@nestjs/core'
import { LoggerModule } from 'nestjs-pino'
import { TransportTargetOptions } from 'pino'
import { AppController } from './app.controller'
import { AppService } from './app.service'
-import { ResponseInterceptor } from './common'
import { GlobalExceptionFilter } from './common/filters/global-exception.filter'
import { config } from './config'
import { CoreModule } from './core/core.module'
+import { NatsModule } from './transports/nats.module'
const targets: TransportTargetOptions[] = []
if (config.logger.cloudWatch?.enable) {
@@ -43,6 +43,7 @@ if (config.logger.console?.enable) {
},
},
}),
+ NatsModule,
RedisModule,
DbMongoModule,
CoreModule,
diff --git a/aitoearn_web/server/aitoearn-user/src/core/core.module.ts b/aitoearn_web/server/aitoearn-user/src/core/core.module.ts
index 7ad73fbd..84f42b3d 100644
--- a/aitoearn_web/server/aitoearn-user/src/core/core.module.ts
+++ b/aitoearn_web/server/aitoearn-user/src/core/core.module.ts
@@ -4,7 +4,6 @@ import { UserModule } from './user/user.module'
@Module({
imports: [UserModule, PointsModule],
- providers: [
- ],
+ providers: [],
})
export class CoreModule { }
diff --git a/aitoearn_web/server/aitoearn-user/src/core/points/points.controller.ts b/aitoearn_web/server/aitoearn-user/src/core/points/points.controller.ts
new file mode 100644
index 00000000..9ce53a00
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/core/points/points.controller.ts
@@ -0,0 +1,61 @@
+import { NatsMessagePattern } from '@common/decorators'
+import { Controller, Logger } from '@nestjs/common'
+import { Payload } from '@nestjs/microservices'
+import {
+ AddPointsDto,
+ DeductPointsDto,
+ PointsBalanceDto,
+ PointsRecordsDto,
+} from './points.dto'
+import { PointsService } from './points.service'
+import {
+ PointsBalanceVo,
+ PointsRecordsVo,
+} from './points.vo'
+
+@Controller()
+export class PointsController {
+ private readonly logger = new Logger(PointsController.name)
+
+ constructor(private readonly pointsService: PointsService) {}
+
+ /**
+ * 获取用户积分余额
+ */
+ @NatsMessagePattern('user.points.get')
+ async getBalance(@Payload() data: PointsBalanceDto): Promise<PointsBalanceVo> {
+ const balance = await this.pointsService.getBalance(data.userId)
+ return PointsBalanceVo.create({ balance })
+ }
+
+ /**
+ * 获取积分记录列表
+ */
+ @NatsMessagePattern('user.points.getRecords')
+ async getRecords(@Payload() data: PointsRecordsDto): Promise<PointsRecordsVo> {
+ const { page, pageSize } = data
+ const [list, total] = await this.pointsService.getRecords(data.userId, page, pageSize)
+ return PointsRecordsVo.create({
+ list,
+ total,
+ })
+ }
+
+ /**
+ * 增加积分
+ */
+ @NatsMessagePattern('user.points.add')
+ async addPoints(@Payload() data: AddPointsDto) {
+ await this.pointsService.addPoints(data)
+ return { success: true }
+ }
+
+ /**
+ * 扣减积分
+ */
+ @NatsMessagePattern('user.points.deduct')
+ async deductPoints(@Payload() data: DeductPointsDto) {
+ await this.pointsService.deductPoints(data)
+ return { success: true }
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/points/points.dto.ts b/aitoearn_web/server/aitoearn-user/src/core/points/points.dto.ts
new file mode 100644
index 00000000..23c5e5f1
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/core/points/points.dto.ts
@@ -0,0 +1,40 @@
+import { createZodDto } from '@common/utils'
+import { z } from 'zod/v4'
+
+// 添加积分的 DTO
+export const addPointsSchema = z.object({
+ userId: z.string().min(1).describe('用户ID'),
+ amount: z.number().min(0).describe('积分数量'),
+ type: z.string().min(1).describe('积分类型'),
+ description: z.string().optional().describe('积分描述'),
+ metadata: z.record(z.string(), z.any()).optional().describe('额外信息'),
+})
+
+export class AddPointsDto extends createZodDto(addPointsSchema) {}
+
+// 扣减积分的 DTO
+export const deductPointsSchema = z.object({
+ userId: z.string().min(1).describe('用户ID'),
+ amount: z.number().min(0).describe('积分数量'),
+ type: z.string().min(1).describe('积分类型'),
+ description: z.string().optional().describe('积分描述'),
+ metadata: z.record(z.string(), z.any()).optional().describe('额外信息'),
+})
+
+export class DeductPointsDto extends createZodDto(deductPointsSchema) {}
+
+// 查询用户积分余额的 DTO
+export const pointsBalanceSchema = z.object({
+ userId: z.string().min(1).describe('用户ID'),
+})
+
+export class PointsBalanceDto extends createZodDto(pointsBalanceSchema) {}
+
+// 查询积分记录列表的 DTO
+export const pointsRecordsSchema = z.object({
+ userId: z.string().min(1).describe('用户ID'),
+ page: z.int().min(1).describe('页码'),
+ pageSize: z.int().min(1).describe('每页数量'),
+})
+
+export class PointsRecordsDto extends createZodDto(pointsRecordsSchema) {}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/points/points.module.ts b/aitoearn_web/server/aitoearn-user/src/core/points/points.module.ts
new file mode 100644
index 00000000..c1389bc6
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/core/points/points.module.ts
@@ -0,0 +1,20 @@
+import { User, UserSchema } from '@libs/database/schema'
+import { PointsRecord, PointsRecordSchema } from '@libs/database/schema/points-record.schema'
+import { Global, Module } from '@nestjs/common'
+import { MongooseModule } from '@nestjs/mongoose'
+import { PointsController } from './points.controller'
+import { PointsService } from './points.service'
+
+@Global()
+@Module({
+ imports: [
+ MongooseModule.forFeature([
+ { name: User.name, schema: UserSchema },
+ { name: PointsRecord.name, schema: PointsRecordSchema },
+ ]),
+ ],
+ controllers: [PointsController],
+ providers: [PointsService],
+ exports: [PointsService],
+})
+export class PointsModule {}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/points/points.service.ts b/aitoearn_web/server/aitoearn-user/src/core/points/points.service.ts
new file mode 100644
index 00000000..7594f8eb
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/core/points/points.service.ts
@@ -0,0 +1,115 @@
+import { User } from '@libs/database/schema'
+import { PointsRecord } from '@libs/database/schema/points-record.schema'
+import { Injectable, Logger } from '@nestjs/common'
+import { InjectModel } from '@nestjs/mongoose'
+import { Model } from 'mongoose'
+import { AppException } from '@/common'
+import { ExceptionCode } from '@/common/enums/exception-code.enum'
+import { AddPointsDto, DeductPointsDto } from './points.dto'
+
+@Injectable()
+export class PointsService {
+ private readonly logger = new Logger(PointsService.name)
+
+ constructor(
+ @InjectModel(User.name)
+ private readonly userModel: Model<User>,
+
+ @InjectModel(PointsRecord.name)
+ private readonly pointsRecordModel: Model<PointsRecord>,
+ ) {}
+
+ /**
+ * 获取用户积分余额
+ * @param userId 用户ID
+ * @returns 用户积分余额
+ */
+ async getBalance(userId: string): Promise<number> {
+ const user = await this.userModel.findById(userId).exec()
+ if (!user) {
+ throw new AppException(ExceptionCode.UserNotFound)
+ }
+ return user.score || 0
+ }
+
+ /**
+ * 获取积分记录列表
+ * @param userId 用户ID
+ * @param limit 每页数量
+ * @param offset 偏移量
+ * @returns 积分记录列表
+ */
+ async getRecords(userId: string, page = 1, pageSize = 10) {
+ return await Promise.all([
+ this.pointsRecordModel
+ .find({ userId })
+ .sort({ createdAt: -1 })
+ .skip((page - 1) * pageSize)
+ .limit(pageSize)
+ .exec(),
+ this.pointsRecordModel.countDocuments({ userId }).exec(),
+ ])
+ }
+
+ /**
+ * 增加积分
+ * @param data 添加积分的数据
+ */
+ async addPoints(data: AddPointsDto): Promise<void> {
+ const { userId, amount, type, description, metadata } = data
+
+ await this.userModel.db.transaction(async () => {
+ const user = await this.userModel.findById(userId).exec()
+ if (!user) {
+ throw new AppException(ExceptionCode.UserNotFound)
+ }
+
+ await this.userModel.updateOne(
+ { _id: userId },
+ { $inc: { score: amount } },
+ )
+
+ await this.pointsRecordModel.create([{
+ userId,
+ amount,
+ balance: user.score + amount,
+ type,
+ description,
+ metadata,
+ }])
+ })
+ }
+
+ /**
+ * 扣减积分
+ * @param data 扣减积分的数据
+ */
+ async deductPoints(data: DeductPointsDto): Promise<void> {
+ const { userId, amount, type, description, metadata } = data
+
+ await this.userModel.db.transaction(async () => {
+ const user = await this.userModel.findById(userId).exec()
+ if (!user) {
+ throw new AppException(ExceptionCode.UserNotFound)
+ }
+
+ const currentBalance = user.score || 0
+ const newBalance = currentBalance - amount
+
+ await this.userModel.updateOne(
+ { _id: userId },
+ { $set: { points: newBalance } },
+ )
+
+ await this.pointsRecordModel.create([{
+ userId,
+ amount: -amount,
+ balance: newBalance,
+ type,
+ description,
+ metadata,
+ createdAt: new Date(),
+ }])
+ })
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/points/points.vo.ts b/aitoearn_web/server/aitoearn-user/src/core/points/points.vo.ts
new file mode 100644
index 00000000..16a73885
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/core/points/points.vo.ts
@@ -0,0 +1,31 @@
+import { createZodDto } from '@common/utils'
+import { z } from 'zod/v4'
+
+// 用户积分余额 VO
+export const pointsBalanceVoSchema = z.object({
+ balance: z.number().describe('用户积分余额'),
+})
+
+export class PointsBalanceVo extends createZodDto(pointsBalanceVoSchema) {}
+
+// 积分记录 VO
+export const pointsRecordVoSchema = z.object({
+ id: z.string().describe('记录ID'),
+ userId: z.string().describe('用户ID'),
+ amount: z.number().describe('积分变动数量'),
+ balance: z.number().describe('变动后余额'),
+ type: z.string().describe('积分变动类型'),
+ description: z.string().optional().describe('积分变动描述'),
+ metadata: z.record(z.string(), z.any()).optional().describe('额外信息'),
+ createdAt: z.date().or(z.string()).describe('创建时间'),
+})
+
+export class PointsRecordVo extends createZodDto(pointsRecordVoSchema) {}
+
+// 积分记录列表 VO
+export const pointsRecordsVoSchema = z.object({
+ list: z.array(pointsRecordVoSchema).describe('积分记录列表'),
+ total: z.number().describe('总记录数'),
+})
+
+export class PointsRecordsVo extends createZodDto(pointsRecordsVoSchema) {}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/user/class/user.class.ts b/aitoearn_web/server/aitoearn-user/src/core/user/class/user.class.ts
index 484c59a2..f35ee8fd 100644
--- a/aitoearn_web/server/aitoearn-user/src/core/user/class/user.class.ts
+++ b/aitoearn_web/server/aitoearn-user/src/core/user/class/user.class.ts
@@ -1,29 +1,25 @@
-/*
- * @Author: nevin
- * @Date: 2024-06-28 11:00:39
- * @LastEditTime: 2025-02-26 09:37:18
- * @LastEditors: nevin
- * @Description:
- */
-
import { getRandomString } from '@common/utils'
import { User } from '@libs/database/schema'
-export class NewUserByMail extends User {
- constructor(mail: string, password: string, salt: string) {
- super()
- this.mail = mail
- this.name = `用户_${getRandomString(8)}`
- this.password = password
- this.salt = salt
- }
+export enum UserCreateType {
+ mail = 'mail',
+ google = 'google',
}
-
-export class NewUserByGoogle extends User {
- constructor(mail: string, googleAccount: User['googleAccount']) {
+export class NewUser extends User {
+ static createType: UserCreateType
+ constructor(type: UserCreateType, mail: string, option: { password: string, salt: string })
+ constructor(type: UserCreateType, mail: string, googleAccount: User['googleAccount'])
+ constructor(type: UserCreateType, mail: string, params: { password: string, salt: string } | User['googleAccount']) {
super()
this.mail = mail
this.name = `用户_${getRandomString(8)}`
- this.googleAccount = googleAccount
+
+ if (type === UserCreateType.mail) {
+ const mailParams = params as { password: string, salt: string }
+ this.password = mailParams.password
+ this.salt = mailParams.salt
+ }
+ if (type === UserCreateType.google)
+ this.googleAccount = params as User['googleAccount']
}
}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/user/dto/user.dto.ts b/aitoearn_web/server/aitoearn-user/src/core/user/dto/user.dto.ts
index e9be7bbf..8358bbbd 100644
--- a/aitoearn_web/server/aitoearn-user/src/core/user/dto/user.dto.ts
+++ b/aitoearn_web/server/aitoearn-user/src/core/user/dto/user.dto.ts
@@ -183,3 +183,9 @@ export class GoogleLoginDto {
@Expose()
credential: string
}
+
+export class GetUserByPopularizeCodeDto {
+ @IsString({ message: '推广码' })
+ @Expose()
+ readonly code: string
+}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/user/user.controller.ts b/aitoearn_web/server/aitoearn-user/src/core/user/user.controller.ts
index dc69d491..2cb95374 100644
--- a/aitoearn_web/server/aitoearn-user/src/core/user/user.controller.ts
+++ b/aitoearn_web/server/aitoearn-user/src/core/user/user.controller.ts
@@ -1,5 +1,4 @@
import { NatsMessagePattern } from '@common/decorators'
-import { encryptPassword } from '@common/utils'
import { Controller, Logger } from '@nestjs/common'
import { Payload } from '@nestjs/microservices'
import {
diff --git a/aitoearn_web/server/aitoearn-user/src/core/user/user.service.ts b/aitoearn_web/server/aitoearn-user/src/core/user/user.service.ts
index 4efa4480..0c6a06aa 100644
--- a/aitoearn_web/server/aitoearn-user/src/core/user/user.service.ts
+++ b/aitoearn_web/server/aitoearn-user/src/core/user/user.service.ts
@@ -1,11 +1,13 @@
import * as crypto from 'node:crypto'
-import { User, UserStatus, UserWallet } from '@libs/database/schema'
+import { User, UserStatus } from '@libs/database/schema'
import { RedisService } from '@libs/redis'
import { Injectable, Logger } from '@nestjs/common'
import { InjectModel } from '@nestjs/mongoose'
import { google } from 'googleapis'
import { Model } from 'mongoose'
-import { NewUserByGoogle, NewUserByMail } from './class/user.class'
+import { NatsService } from '@/transports/nats.service'
+import { PointsService } from '../points/points.service'
+import { NewUser, UserCreateType } from './class/user.class'
@Injectable()
export class UserService {
@@ -14,12 +16,10 @@ export class UserService {
constructor(
private readonly redisService: RedisService,
-
@InjectModel(User.name)
private readonly userModel: Model<User>,
-
- @InjectModel(UserWallet.name)
- private readonly userWalletModel: Model<UserWallet>,
+ private readonly pointsService: PointsService,
+ private readonly natsService: NatsService,
) {
this.oauth2Client = new google.auth.OAuth2()
}
@@ -85,10 +85,14 @@ export class UserService {
salt: string,
inviteCode?: string,
): Promise<User> {
- const newData = new NewUserByMail(mail, password, salt)
+ const newData = new NewUser(UserCreateType.mail, mail, {
+ password,
+ salt,
+ })
newData.inviteCode = inviteCode
const res = await this.userModel.create(newData)
+ this.afterCreate(res)
return res
}
@@ -112,11 +116,10 @@ export class UserService {
/**
* 生成推广码
- * @param userId
+ * @param userInfo
* @returns
*/
- async generateUsePopularizeCode(userId: string) {
- const userInfo = await this.getUserInfoById(userId)
+ async generateUsePopularizeCode(userInfo: User) {
if (!userInfo)
return null
// 先对手机号进行哈希处理
@@ -130,7 +133,7 @@ export class UserService {
const hash = crypto
.createHash('sha256')
- .update(userId)
+ .update(userInfo.id)
.update(combinedSalt)
.digest('hex')
@@ -144,10 +147,10 @@ export class UserService {
// 更新用户的推广码
await this.userModel.updateOne(
- { _id: userId },
+ { _id: userInfo.id },
{ $set: { popularizeCode: code } },
)
- this.redisService.del(`UserInfo:${userId}`)
+ this.redisService.del(`UserInfo:${userInfo.id}`)
return code
}
@@ -155,10 +158,9 @@ export class UserService {
/**
* 更新用户密码
* @param mail
- * @param password
+ * @param newData
* @returns
*/
- // 更新密码
async updateUserPassword(
id: string,
newData: {
@@ -182,7 +184,8 @@ export class UserService {
/**
* 邮箱创建谷歌用户
- * @param googleAccount
+ * @param clientId
+ * @param credential
* @returns
*/
async getUserInfoByGoogle(
@@ -219,9 +222,52 @@ export class UserService {
refreshToken: null,
}
- const newData = new NewUserByGoogle(googleUser.email, googleAccount)
+ const newData = new NewUser(UserCreateType.google, googleUser.email, googleAccount)
- await this.userModel.create(newData)
- return newData
+ const res = await this.userModel.create(newData)
+ this.afterCreate(res)
+ return res
+ }
+
+ /**
+ * 用户创建后
+ * @param user
+ * @returns
+ */
+ private async afterCreate(
+ user: User,
+ ) {
+ // 发送用户创建广播
+ this.natsService.publishEvent('user.create', { userId: user.id })
+
+ // 生成推广码
+ this.generateUsePopularizeCode(user)
+ // 用户创建积分
+ this.pointsService.addPoints({
+ userId: user.id,
+ amount: 10,
+ type: 'user_register',
+ description: '用户注册成功,获得10积分',
+ })
+
+ if (user.inviteCode) {
+ const inviteUser = await this.getUserByPopularizeCode(user.inviteCode)
+ if (inviteUser) {
+ this.pointsService.addPoints({
+ userId: inviteUser.id,
+ amount: 20,
+ type: 'user_invite',
+ description: '用户邀请成功,获得20积分',
+ })
+
+ this.pointsService.addPoints({
+ userId: user.id,
+ amount: 20,
+ type: 'user_invite',
+ description: '被用户邀请成功,获得20积分',
+ })
+ }
+ }
+ // 积分
}
}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/user/userPop.controller.ts b/aitoearn_web/server/aitoearn-user/src/core/user/userPop.controller.ts
index 71d1fba0..805cce35 100644
--- a/aitoearn_web/server/aitoearn-user/src/core/user/userPop.controller.ts
+++ b/aitoearn_web/server/aitoearn-user/src/core/user/userPop.controller.ts
@@ -12,7 +12,7 @@ import { Controller } from '@nestjs/common'
import { Payload } from '@nestjs/microservices'
import { ExceptionCode } from '@/common/enums/exception-code.enum'
import { AppException } from '@/common/exceptions'
-import { UserIdDto } from './dto/user.dto'
+import { GetUserByPopularizeCodeDto, UserIdDto } from './dto/user.dto'
import { UserService } from './user.service'
@Controller('user/pop')
@@ -31,4 +31,13 @@ export class UserPopController {
const res = await this.userService.generateUsePopularizeCode(userInfo.id)
return res
}
+
+ @NatsMessagePattern('user.user.getUserByPopularizeCode')
+ async getUserByPopularizeCode(@Payload() data: GetUserByPopularizeCodeDto) {
+ const userInfo = await this.userService.getUserByPopularizeCode(data.code)
+ if (!userInfo)
+ throw new AppException(ExceptionCode.UserNotFound)
+
+ return userInfo
+ }
}
diff --git a/aitoearn_web/server/aitoearn-user/src/core/user/vip.service.ts b/aitoearn_web/server/aitoearn-user/src/core/user/vip.service.ts
index d23804b2..8f032b75 100644
--- a/aitoearn_web/server/aitoearn-user/src/core/user/vip.service.ts
+++ b/aitoearn_web/server/aitoearn-user/src/core/user/vip.service.ts
@@ -13,6 +13,34 @@ export class VipService {
private readonly userModel: Model<User>,
) { }
+ private vipAddExpireTime(userVipCycleType: UserVipCycleType): {
+ num: number
+ type: 'day' | 'month' | 'year'
+ } {
+ switch (userVipCycleType) {
+ case UserVipCycleType.EXPERIENCE:
+ return {
+ num: 7,
+ type: 'day',
+ }
+ case UserVipCycleType.MONTH:
+ return {
+ num: 1,
+ type: 'month',
+ }
+ case UserVipCycleType.YEAR:
+ return {
+ num: 12,
+ type: 'month',
+ }
+ default:
+ return {
+ num: 0,
+ type: 'day',
+ }
+ }
+ }
+
/**
* 设置会员信息
* @param userId
@@ -29,14 +57,12 @@ export class VipService {
if (!user)
throw new AppException(ExceptionCode.UserNotFound)
- // 根据充值的时间类型决定过期时间,使用day.js
+ const addInfo = this.vipAddExpireTime(userVipCycleType)
+
+ // 根据充值的时间类型决定过期时间
const expireTime = dayjs().add(
- userVipCycleType === UserVipCycleType.MONTH
- ? 1
- : userVipCycleType === UserVipCycleType.YEAR
- ? 12
- : 0,
- 'month',
+ addInfo.num,
+ addInfo.type,
)
// 2. 没有会员信息或者已经过期,设置会员信息
@@ -53,12 +79,8 @@ export class VipService {
const tartTime = user.vipInfo.expireTime
user.vipInfo.expireTime = dayjs(tartTime)
.add(
- userVipCycleType === UserVipCycleType.MONTH
- ? 1
- : userVipCycleType === UserVipCycleType.YEAR
- ? 12
- : 0,
- 'month',
+ addInfo.num,
+ addInfo.type,
)
.toDate()
}
diff --git a/aitoearn_web/server/aitoearn-user/src/libs/database/schema/points-record.schema.ts b/aitoearn_web/server/aitoearn-user/src/libs/database/schema/points-record.schema.ts
index 80469dac..6c91f955 100644
--- a/aitoearn_web/server/aitoearn-user/src/libs/database/schema/points-record.schema.ts
+++ b/aitoearn_web/server/aitoearn-user/src/libs/database/schema/points-record.schema.ts
@@ -45,12 +45,6 @@ export class PointsRecord extends BaseTemp {
default: {},
})
metadata?: Record<string, any>
-
- @Prop({
- required: true,
- default: Date.now,
- })
- createdAt: Date
}
export const PointsRecordSchema = SchemaFactory.createForClass(PointsRecord)
diff --git a/aitoearn_web/server/aitoearn-user/src/libs/database/schema/time.tamp.ts b/aitoearn_web/server/aitoearn-user/src/libs/database/schema/time.tamp.ts
index dddb3322..7b949648 100644
--- a/aitoearn_web/server/aitoearn-user/src/libs/database/schema/time.tamp.ts
+++ b/aitoearn_web/server/aitoearn-user/src/libs/database/schema/time.tamp.ts
@@ -6,6 +6,6 @@
* @Description: 时间模板
*/
export class BaseTemp {
- createAt: Date
+ createdAt: Date
updatedAt: Date
}
diff --git a/aitoearn_web/server/aitoearn-user/src/libs/database/schema/user.schema.ts b/aitoearn_web/server/aitoearn-user/src/libs/database/schema/user.schema.ts
index dec34e26..5b42e2de 100644
--- a/aitoearn_web/server/aitoearn-user/src/libs/database/schema/user.schema.ts
+++ b/aitoearn_web/server/aitoearn-user/src/libs/database/schema/user.schema.ts
@@ -29,6 +29,7 @@ export enum UserVipCycleType {
NONE = 0, // 未认证
MONTH = 1, // 月
YEAR = 2, // 年
+ EXPERIENCE = 3, // 体验
}
@Schema({
diff --git a/aitoearn_web/server/aitoearn-user/src/transports/api.ts b/aitoearn_web/server/aitoearn-user/src/transports/api.ts
new file mode 100644
index 00000000..c895bb0d
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/transports/api.ts
@@ -0,0 +1,3 @@
+export const NatsApi = {
+
+}
diff --git a/aitoearn_web/server/aitoearn-user/src/transports/comment.ts b/aitoearn_web/server/aitoearn-user/src/transports/comment.ts
new file mode 100644
index 00000000..4c093685
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/transports/comment.ts
@@ -0,0 +1,5 @@
+export interface NatsRes<T> {
+ code: number
+ data: T
+ message: string
+}
diff --git a/aitoearn_web/server/aitoearn-user/src/transports/nats.module.ts b/aitoearn_web/server/aitoearn-user/src/transports/nats.module.ts
new file mode 100644
index 00000000..3d83e6de
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/transports/nats.module.ts
@@ -0,0 +1,33 @@
+import { Global, Module } from '@nestjs/common'
+import { ClientsModule, Transport } from '@nestjs/microservices'
+import { config } from '@/config'
+import { NatsService } from './nats.service'
+
+@Global()
+@Module({
+ imports: [
+ ClientsModule.registerAsync([
+ {
+ name: 'AITOEARN_SERVICE',
+ useFactory: () => {
+ return {
+ transport: Transport.NATS,
+ options: {
+ name: config.nats.name,
+ servers: config.nats.servers,
+ user: config.nats.user,
+ pass: config.nats.pass,
+ },
+ }
+ },
+ },
+ ]),
+ ],
+ providers: [
+ NatsService,
+ ],
+ exports: [
+ NatsService,
+ ],
+})
+export class NatsModule {}
diff --git a/aitoearn_web/server/aitoearn-user/src/transports/nats.service.ts b/aitoearn_web/server/aitoearn-user/src/transports/nats.service.ts
new file mode 100644
index 00000000..6c535167
--- /dev/null
+++ b/aitoearn_web/server/aitoearn-user/src/transports/nats.service.ts
@@ -0,0 +1,54 @@
+import { Inject, Injectable, Logger } from '@nestjs/common'
+import { ClientProxy } from '@nestjs/microservices'
+import { lastValueFrom } from 'rxjs'
+import { config } from '@/config'
+
+@Injectable()
+export class NatsService {
+ private prefix = ''
+ constructor(
+ @Inject('AITOEARN_SERVICE') private readonly client: ClientProxy,
+ ) {
+ this.prefix = config.nats.prefix
+ }
+
+ /**
+ * 发送事件
+ * @param pattern
+ * @param data
+ * @param prefix
+ */
+ publishEvent(pattern: string, data: any, prefix?: string) {
+ const path = `${prefix || this.prefix}.${pattern}`
+ console.log('---------', path);
+ this.client.emit(path, data)
+ }
+
+ /**
+ * 发送消息
+ * @param pattern
+ * @param data
+ * @param prefix
+ * @returns
+ */
+ async sendMessage<T = any>(pattern: string, data: any, prefix?: string) {
+ const path = `${prefix || this.prefix}.${pattern}`
+ const ret = this.client.send<{
+ code: number
+ message: string
+ data: T
+ timestamp: number
+ }>(path, data)
+
+ try {
+ const res = await lastValueFrom(ret)
+ return res
+ }
+ catch (error) {
+ Logger.error(`-------- nats 【${path}】 message error ------`, error)
+ Logger.debug(error, `-------- nats 【${path}】 message error ------`)
+
+ throw error
+ }
+ }
+}
diff --git a/aitoearn_web/server/aitoearn-wxplat/.github/workflows/deploy.yml b/aitoearn_web/server/aitoearn-wxplat/.github/workflows/deploy.yml
deleted file mode 100644
index d768c0fc..00000000
--- a/aitoearn_web/server/aitoearn-wxplat/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,192 +0,0 @@
-name: Deploy Service
-
-on:
- workflow_dispatch:
- inputs:
- environment:
- description: 选择目标环境
- required: true
- type: choice
- options:
- - dev
- - prod
- version:
- description: 镜像版本 (留空使用默认生成规则)
- required: false
- type: string
- architectures:
- description: 目标平台 (逗号分隔,如 linux/amd64,linux/arm64)
- required: false
- type: string
- default: linux/amd64
-
-permissions:
- id-token: write
- contents: read
-
-env:
- AWS_REGION: ap-southeast-1
- ECR_REGISTRY: 339388639667.dkr.ecr.ap-southeast-1.amazonaws.com
- ROLE_TO_ASSUME: arn:aws:iam::339388639667:role/GithubActions
- IMAGE_REPO: aitoearn
- APP_NAME: aitoearn-channel
- HELM_REPO: yikart/k8s-apps
- HELM_REPO_URL: https://github.com/yikart/k8s-apps.git
-
-jobs:
- build-and-deploy:
- runs-on: ubuntu-latest
- environment: ${{ github.event.inputs.environment }}
-
- steps:
- - name: Checkout source code
- uses: actions/checkout@v4
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@v4
- with:
- role-to-assume: ${{ env.ROLE_TO_ASSUME }}
- aws-region: ${{ env.AWS_REGION }}
-
- - name: Login to Amazon ECR
- id: login-ecr
- uses: aws-actions/amazon-ecr-login@v2
-
- - name: Generate version
- id: version
- run: |
- if [ -n "${{ github.event.inputs.version }}" ]; then
- VERSION="${{ github.event.inputs.version }}"
- else
- VERSION=$(date +%Y%m%d)-$(git rev-parse --short HEAD)
- fi
- echo "version=$VERSION" >> $GITHUB_OUTPUT
-
- - name: Build and push application
- uses: docker/build-push-action@v5
- with:
- context: .
- file: ./Dockerfile
- platforms: ${{ github.event.inputs.architectures }}
- push: true
- tags: |
- ${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.APP_NAME }}:${{ steps.version.outputs.version }}
- cache-from: type=gha
- cache-to: type=gha,mode=max
-
- - uses: actions/create-github-app-token@v2
- id: generate-token
- with:
- app-id: ${{ secrets.APP_ID }}
- private-key: ${{ secrets.APP_PRIVATE_KEY }}
- owner: yikart
- repositories: k8s-apps
-
- - name: Clone Helm repository
- uses: actions/checkout@v4
- with:
- repository: ${{ env.HELM_REPO }}
- token: ${{ steps.generate-token.outputs.token }}
- path: k8s-apps
-
- - name: Update Helm values
- run: |
- cd k8s-apps
- ENV="${{ github.event.inputs.environment }}"
- VERSION="${{ steps.version.outputs.version }}"
- APP="${{ env.APP_NAME }}"
- VALUES_FILE="${ENV}/values-${APP}.yaml"
-
- if [ -f "$VALUES_FILE" ]; then
- sed -i "s|tag: .*|tag: ${VERSION}|g" "$VALUES_FILE"
- echo "Updated ${APP} tag to ${VERSION}"
- else
- echo "Warning: Values file not found: $VALUES_FILE"
- fi
-
- - name: Update config files
- run: |
- CONFIG_FILE="config/${{ github.event.inputs.environment }}.config.js"
- if [ -f "$CONFIG_FILE" ]; then
- CONFIG_DIR="k8s-apps/${{ github.event.inputs.environment }}/configmaps/${{ env.APP_NAME }}"
- mkdir -p "$CONFIG_DIR"
- cp "$CONFIG_FILE" "${CONFIG_DIR}/config.js"
- echo "Updated ${{ env.APP_NAME }} config for ${{ env.environment }} environment"
- else
- echo "Warning: Config file not found: $CONFIG_FILE"
- fi
-
- - name: Get source repository changes
- id: source-changes
- run: |
- COMMIT_HISTORY=$(git log --oneline -10 --pretty=format:"- [%h](${{ github.server_url }}/${{ github.repository }}/commit/%H) %s")
- echo 'commit_history<<EOF' >> $GITHUB_OUTPUT
- echo "$COMMIT_HISTORY" >> $GITHUB_OUTPUT
- echo 'EOF' >> $GITHUB_OUTPUT
-
- - name: Create Pull Request in Helm Repo
- id: create-pr
- uses: peter-evans/create-pull-request@v7
- with:
- token: ${{ steps.generate-token.outputs.token }}
- path: ./k8s-apps
- branch: deploy/${{ env.APP_NAME }}-${{ github.event.inputs.environment }}-${{ steps.version.outputs.version }}
- title: deploy(${{ github.event.inputs.environment }}) update ${{ env.APP_NAME }} to ${{ steps.version.outputs.version }}
- body: |
- ## 🚀 部署请求
-
- **应用**: ${{ env.APP_NAME }}
- **环境**: ${{ github.event.inputs.environment }}
- **版本**: ${{ steps.version.outputs.version }}
-
- ### 📋 变更详情
-
- - 更新镜像标签: `${{ env.APP_NAME }}:${{ steps.version.outputs.version }}`
- - 目标环境: `${{ github.event.inputs.environment }}`
-
- ### 📝 源代码变更历史
-
- 最近的提交记录:
- ${{ steps.source-changes.outputs.commit_history }}
-
- ### 🔗 相关信息
-
- - **源仓库**: ${{ github.repository }}
- - **源提交**: [`${{ github.sha }}`](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
- - **镜像地址**: `${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}:${{ steps.version.outputs.version }}`
- - **构建日志**: [GitHub Actions Run ${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
- # 提交信息
- commit-message: |
- deploy(${{ github.event.inputs.environment }}): update ${{ env.APP_NAME }} to ${{ steps.version.outputs.version }}
-
- Update image tag for ${{ env.APP_NAME }} in ${{ github.event.inputs.environment }} environment
- Source-Commit: ${{ github.sha }}
- Triggered-By: GitHub Actions
- # PR 的目标分支
- base: main
-
- - name: Summary
- if: always()
- run: |
- echo "## 📦部署摘要" >> $GITHUB_STEP_SUMMARY
- echo "- **应用**: ${{ env.APP_NAME }}" >> $GITHUB_STEP_SUMMARY
- echo "- **环境**: ${{ github.event.inputs.environment }}" >> $GITHUB_STEP_SUMMARY
- echo "- **版本**: ${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
- echo "- **镜像**: \`${{ env.ECR_REGISTRY }}/${{ env.IMAGE_REPO }}:${{ steps.version.outputs.version }}\`" >> $GITHUB_STEP_SUMMARY
-
- # 检查 create-pr 步骤的 'created' 输出
- if [ "${{ steps.create-pr.outputs.pull-request-number }}" != "" ]; then
- echo "- **状态**: ✅ Pull Request 已创建到 Helm 仓库" >> $GITHUB_STEP_SUMMARY
- # 使用新的输出 'pull-request-url'
- echo "- **PR链接**: ${{ steps.create-pr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
- else
- echo "- **状态**: ⚠️ 无变更,未创建 Pull Request" >> $GITHUB_STEP_SUMMARY
- fi
-
- echo "" >> $GITHUB_STEP_SUMMARY
- echo "### 🔗 快速链接" >> $GITHUB_STEP_SUMMARY
- echo "- [Helm 仓库](${{ env.HELM_REPO_URL }})" >> $GITHUB_STEP_SUMMARY
- echo "- [源代码提交](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})" >> $GITHUB_STEP_SUMMARY
diff --git a/aitoearn_web/server/aitoearn-wxplat/config/dev.config.js b/aitoearn_web/server/aitoearn-wxplat/config/dev.config.js
index 29803b55..467bff20 100644
--- a/aitoearn_web/server/aitoearn-wxplat/config/dev.config.js
+++ b/aitoearn_web/server/aitoearn-wxplat/config/dev.config.js
@@ -1,15 +1,13 @@
-const {
- REDIS_HOST,
- REDIS_PORT,
+const {
+ REDIS_HOST,
+ REDIS_PORT,
REDIS_PASSWORD,
- WX_PLAT_ID,
- WX_PLAT_SECRET,
- WX_PLAT_TOKEN,
- WX_PLAT_ENCODING_AES_KEY
+ WXPLAT_SECRET,
+ WXPLAT_ENCODING_AES_KEY
} = process.env;
module.exports = {
- port: 7001,
+ port: 7000,
env: 'development',
enableBadRequestDetails: true,
docs: {
@@ -24,20 +22,18 @@ module.exports = {
connectTimeout: 10000,
},
wxPlat: {
- id: WX_PLAT_ID,
- secret: WX_PLAT_SECRET,
- token: WX_PLAT_TOKEN,
- encodingAESKey: WX_PLAT_ENCODING_AES_KEY,
- authBackHost: 'https://mcp.aitoearn.cn',
+ id: 'x',
+ secret: WXPLAT_SECRET,
+ token: 'x',
+ encodingAESKey: WXPLAT_ENCODING_AES_KEY,
+ authBackHost: 'https://mcp.x.cn',
},
msgUrlList: [
- 'https://local.aitoearn.ai',
- 'https://dev.aitoearn.ai',
- 'https://aitoearn.ai',
+ 'https://dev.x.ai/api/plat/wx/callback/msg',
+ 'https://x.ai/api/plat/wx/callback/msg',
],
authUrlMap: {
- local: 'https://local.aitoearn.ai',
- dev: 'https://dev.aitoearn.ai',
- prod: 'https://aitoearn.ai',
+ dev: 'https://dev.x.ai/api/plat/wx/auth/back',
+ prod: 'https://x.ai/api/plat/wx/auth/back',
},
-};
+};
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-wxplat/config/prod.config.js b/aitoearn_web/server/aitoearn-wxplat/config/prod.config.js
index 17549fb6..467bff20 100644
--- a/aitoearn_web/server/aitoearn-wxplat/config/prod.config.js
+++ b/aitoearn_web/server/aitoearn-wxplat/config/prod.config.js
@@ -1,16 +1,14 @@
-const {
- REDIS_HOST,
- REDIS_PORT,
+const {
+ REDIS_HOST,
+ REDIS_PORT,
REDIS_PASSWORD,
- WX_PLAT_ID,
- WX_PLAT_SECRET,
- WX_PLAT_TOKEN,
- WX_PLAT_ENCODING_AES_KEY
+ WXPLAT_SECRET,
+ WXPLAT_ENCODING_AES_KEY
} = process.env;
module.exports = {
- port: 7001,
- env: 'production',
+ port: 7000,
+ env: 'development',
enableBadRequestDetails: true,
docs: {
enabled: false,
@@ -24,20 +22,18 @@ module.exports = {
connectTimeout: 10000,
},
wxPlat: {
- id: WX_PLAT_ID,
- secret: WX_PLAT_SECRET,
- token: WX_PLAT_TOKEN,
- encodingAESKey: WX_PLAT_ENCODING_AES_KEY,
- authBackHost: 'https://mcp.aitoearn.cn',
+ id: 'x',
+ secret: WXPLAT_SECRET,
+ token: 'x',
+ encodingAESKey: WXPLAT_ENCODING_AES_KEY,
+ authBackHost: 'https://mcp.x.cn',
},
msgUrlList: [
- 'https://local.aitoearn.ai',
- 'https://dev.aitoearn.ai',
- 'https://aitoearn.ai',
+ 'https://dev.x.ai/api/plat/wx/callback/msg',
+ 'https://x.ai/api/plat/wx/callback/msg',
],
authUrlMap: {
- local: 'https://local.aitoearn.ai',
- dev: 'https://dev.aitoearn.ai',
- prod: 'https://aitoearn.ai',
+ dev: 'https://dev.x.ai/api/plat/wx/auth/back',
+ prod: 'https://x.ai/api/plat/wx/auth/back',
},
-};
+};
\ No newline at end of file
diff --git a/aitoearn_web/server/aitoearn-wxplat/ecosystem.config.js b/aitoearn_web/server/aitoearn-wxplat/ecosystem.config.js
deleted file mode 100644
index 53d046e3..00000000
--- a/aitoearn_web/server/aitoearn-wxplat/ecosystem.config.js
+++ /dev/null
@@ -1,19 +0,0 @@
-module.exports = {
- apps: [
- {
- name: 'aitoearn-channel-server',
- script: 'dist/src/main.js',
- args: '-c config/local.config.js',
- instances: '1',
- exec_mode: 'cluster',
- env: {
- NODE_ENV: 'development',
- },
- env_production: {
- NODE_ENV: 'production',
- },
- log_date_format: 'YYYY-MM-DD_HH:mm Z',
- merge_logs: true,
- },
- ],
-}
diff --git a/aitoearn_web/server/aitoearn-wxplat/package.json b/aitoearn_web/server/aitoearn-wxplat/package.json
index 4e3a7ad6..9c3ccf63 100644
--- a/aitoearn_web/server/aitoearn-wxplat/package.json
+++ b/aitoearn_web/server/aitoearn-wxplat/package.json
@@ -1,5 +1,5 @@
{
- "name": "aitoearn-channel",
+ "name": "aitoearn-wxplat",
"version": "0.0.1",
"private": true,
"description": "",
diff --git a/aitoearn_web/server/aitoearn-wxplat/src/config.ts b/aitoearn_web/server/aitoearn-wxplat/src/config.ts
index 2146fe9d..39178c5c 100644
--- a/aitoearn_web/server/aitoearn-wxplat/src/config.ts
+++ b/aitoearn_web/server/aitoearn-wxplat/src/config.ts
@@ -38,7 +38,7 @@ export const configSchema = z.object({
redis: redisConfigSchema,
wxPlat: WxPlatSchema,
msgUrlList: z.array(z.string()).default([]),
- authUrlMap: z.any().default({}),
+ authUrlMap: z.any().default({}), // 无法使用z.object()
})
export class AppConfig extends createZodDto(configSchema) {}
diff --git a/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.controller.ts b/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.controller.ts
index 5c0dfe57..47607a46 100644
--- a/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.controller.ts
+++ b/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.controller.ts
@@ -216,11 +216,11 @@ export class WxPlatController {
@Get('authorizerAccessToken')
async getAuthorizerAccessToken(
@Query() query: {
- authorizerAppid: string;
+ authorizerAppId: string;
authorizerRefreshToken: string;
},
) {
- const res = await this.wxPlatService.getAuthorizerAccessToken(query.authorizerAppid, query.authorizerRefreshToken);
+ const res = await this.wxPlatService.getAuthorizerAccessToken(query.authorizerAppId, query.authorizerRefreshToken);
return res;
}
}
diff --git a/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.module.ts b/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.module.ts
index 49557834..ac16825f 100644
--- a/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.module.ts
+++ b/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.module.ts
@@ -1,8 +1,8 @@
import { Module } from '@nestjs/common';
import { WxPlatApiModule } from '@/libs/wxPlat/wxPlatApi.module';
+import { ServerService } from './server.service';
import { WxPlatController } from './wxPlat.controller';
import { WxPlatService } from './wxPlat.service';
-import { ServerService } from './server.service';
@Module({
imports: [WxPlatApiModule],
diff --git a/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.service.ts b/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.service.ts
index 482655d4..182b43e3 100644
--- a/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.service.ts
+++ b/aitoearn_web/server/aitoearn-wxplat/src/core/wxPlat/wxPlat.service.ts
@@ -101,7 +101,6 @@ export class WxPlatService {
if (!componentAccessToken)
throw new AppException(ExceptionCode.File, '不存在平台授权令牌');
-
const res
= await this.wxPlatApiService.getPreAuthCode(componentAccessToken);
if (!res)
diff --git a/aitoearn_web/server/aitoearn-wxplat/src/libs/wxPlat/wxPlatApi.service.ts b/aitoearn_web/server/aitoearn-wxplat/src/libs/wxPlat/wxPlatApi.service.ts
index 27fb4645..aefd5663 100644
--- a/aitoearn_web/server/aitoearn-wxplat/src/libs/wxPlat/wxPlatApi.service.ts
+++ b/aitoearn_web/server/aitoearn-wxplat/src/libs/wxPlat/wxPlatApi.service.ts
@@ -137,6 +137,8 @@ export class WxPlatApiService {
authorizerAppId: string,
authorizerRefreshToken: string,
) {
+ console.log('getAuthorizerAccessToken---args', { componentAccessToken, authorizerAppId, authorizerRefreshToken });
+
try {
const result = await axios.post<{
authorizer_access_token: string
@@ -152,6 +154,7 @@ export class WxPlatApiService {
authorizer_refresh_token: authorizerRefreshToken,
},
)
+ console.log('getAuthorizerAccessToken---result', result.data);
if (result.data.errcode)
throw new Error(result.data.errcode + (result.data.errmsg || ''))