diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1816ebc96f..6cc873ddffd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + overrides: redux: 4.2.1 '@babel/runtime': 7.21.0 @@ -423,7 +427,7 @@ importers: version: 4.9.4 webpack: specifier: 5.75.0 - version: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + version: 5.75.0(esbuild@0.15.18) client/packages/plugin-declaration-generator: dependencies: @@ -889,7 +893,7 @@ importers: version: 5.2.7(webpack@5.75.0) css-minimizer-webpack-plugin: specifier: ^4.2.2 - version: 4.2.2(clean-css@5.3.2)(esbuild@0.15.18)(webpack@5.75.0) + version: 4.2.2(esbuild@0.12.29)(webpack@5.75.0) dotenv: specifier: ^10.0.0 version: 10.0.0 @@ -1579,6 +1583,9 @@ importers: swagger-jsdoc: specifier: ^6.2.8 version: 6.2.8(openapi-types@12.1.0) + tailchat-service-openapi-generator: + specifier: workspace:^ + version: link:packages/openapi-generator tailchat-service-swagger-generator: specifier: workspace:^1.0.0 version: link:packages/swagger-jsdoc-generator @@ -1692,6 +1699,31 @@ importers: specifier: ^4.2.0 version: 4.2.0(@types/node@18.11.9) + server/packages/openapi-generator: + dependencies: + '@apidevtools/swagger-parser': + specifier: ^10.1.0 + version: 10.1.0(openapi-types@12.1.0) + globby: + specifier: 11.1.0 + version: 11.1.0 + openapi3-ts: + specifier: ^4.3.1 + version: 4.3.1 + tailchat-server-sdk: + specifier: workspace:^ + version: link:../sdk + ts-node: + specifier: 10.9.1 + version: 10.9.1(@types/node@18.11.9)(typescript@4.9.4) + devDependencies: + '@types/node': + specifier: 18.11.9 + version: 18.11.9 + typescript: + specifier: 4.9.4 + version: 4.9.4 + server/packages/sdk: dependencies: '@fastify/busboy': @@ -2552,9 +2584,18 @@ packages: leven: 3.1.0 dev: true + /@apidevtools/json-schema-ref-parser@9.0.6: + resolution: {integrity: sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==} + dependencies: + '@jsdevtools/ono': 7.1.3 + call-me-maybe: 1.0.1 + js-yaml: 3.14.1 + dev: false + /@apidevtools/json-schema-ref-parser@9.1.1: resolution: {integrity: sha512-Qx3hKlS1bNLQKLKJF90gb4t9C5mzvoIwL6SwchZUg25qi64yL9POVbtZYNxhnBX8ToXw3hASbHbhMJ0w3m+HYQ==} engines: {node: '>= 17'} + deprecated: This version contained an accidental bc-break, please update to 9.1.2. dependencies: '@jsdevtools/ono': 7.1.3 '@types/json-schema': 7.0.11 @@ -2565,11 +2606,9 @@ packages: /@apidevtools/openapi-schemas@2.1.0: resolution: {integrity: sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==} engines: {node: '>=10'} - dev: true /@apidevtools/swagger-methods@3.0.2: resolution: {integrity: sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==} - dev: true /@apidevtools/swagger-parser@10.0.3(openapi-types@12.1.0): resolution: {integrity: sha512-sNiLY51vZOmSPFZA5TF35KZ2HbgYklQnTSDnkghamzLb3EkNtcQnrBQEj5AOCxHpTtXpqMCRM1CrmV2rG6nw4g==} @@ -2585,6 +2624,21 @@ packages: z-schema: 5.0.5 dev: true + /@apidevtools/swagger-parser@10.1.0(openapi-types@12.1.0): + resolution: {integrity: sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==} + peerDependencies: + openapi-types: '>=7' + dependencies: + '@apidevtools/json-schema-ref-parser': 9.0.6 + '@apidevtools/openapi-schemas': 2.1.0 + '@apidevtools/swagger-methods': 3.0.2 + '@jsdevtools/ono': 7.1.3 + ajv: 8.12.0 + ajv-draft-04: 1.0.0(ajv@8.12.0) + call-me-maybe: 1.0.1 + openapi-types: 12.1.0 + dev: false + /@arco-design/color@0.4.0: resolution: {integrity: sha512-s7p9MSwJgHeL8DwcATaXvWT3m2SigKpxx4JA1BGPHL4gfvaQsmQfrLBDpjOJFJuJ2jG2dMt3R3P8Pm9E65q18g==} dependencies: @@ -2640,7 +2694,7 @@ packages: '@babel/helpers': 7.21.0 '@babel/parser': 7.21.2 '@babel/template': 7.20.7 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 convert-source-map: 1.9.0 debug: 4.3.4(supports-color@9.2.2) @@ -2687,7 +2741,7 @@ packages: '@babel/helpers': 7.21.0 '@babel/parser': 7.21.2 '@babel/template': 7.20.7 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 convert-source-map: 1.9.0 debug: 4.3.4(supports-color@9.2.2) @@ -2855,7 +2909,7 @@ packages: '@babel/helper-compilation-targets': 7.20.7(@babel/core@7.21.0) '@babel/helper-module-imports': 7.18.6 '@babel/helper-plugin-utils': 7.20.2 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 debug: 4.3.4(supports-color@9.2.2) lodash.debounce: 4.0.8 resolve: 1.22.2 @@ -2940,7 +2994,7 @@ packages: '@babel/helper-split-export-declaration': 7.18.6 '@babel/helper-validator-identifier': 7.19.1 '@babel/template': 7.20.7 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 transitivePeerDependencies: - supports-color @@ -2955,7 +3009,7 @@ packages: '@babel/helper-split-export-declaration': 7.18.6 '@babel/helper-validator-identifier': 7.19.1 '@babel/template': 7.20.7 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 transitivePeerDependencies: - supports-color @@ -3010,7 +3064,7 @@ packages: '@babel/helper-member-expression-to-functions': 7.21.0 '@babel/helper-optimise-call-expression': 7.18.6 '@babel/template': 7.20.7 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 transitivePeerDependencies: - supports-color @@ -3055,7 +3109,7 @@ packages: dependencies: '@babel/helper-function-name': 7.21.0 '@babel/template': 7.20.7 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 transitivePeerDependencies: - supports-color @@ -3065,7 +3119,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.20.7 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 transitivePeerDependencies: - supports-color @@ -3075,7 +3129,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.20.7 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 transitivePeerDependencies: - supports-color @@ -5091,6 +5145,23 @@ packages: transitivePeerDependencies: - supports-color + /@babel/traverse@7.21.2: + resolution: {integrity: sha512-ts5FFU/dSUPS13tv8XiEObDu9K+iagEKME9kAbaP7r0Y9KtZJZ+NGndDvWoRAYNpeWafbpFeki3q9QoMD6gxyw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.18.6 + '@babel/generator': 7.21.1 + '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-hoist-variables': 7.18.6 + '@babel/helper-split-export-declaration': 7.18.6 + '@babel/parser': 7.21.2 + '@babel/types': 7.21.2 + debug: 4.3.4(supports-color@9.2.2) + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + /@babel/traverse@7.21.2(supports-color@5.5.0): resolution: {integrity: sha512-ts5FFU/dSUPS13tv8XiEObDu9K+iagEKME9kAbaP7r0Y9KtZJZ+NGndDvWoRAYNpeWafbpFeki3q9QoMD6gxyw==} engines: {node: '>=6.9.0'} @@ -5430,7 +5501,7 @@ packages: /@design-systems/utils@2.12.0(@types/react@18.0.20)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Y/d2Zzr+JJfN6u1gbuBUb1ufBuLMJJRZQk+dRmw8GaTpqKx5uf7cGUYGTwN02dIb3I+Tf+cW8jcGBTRiFxdYFg==} peerDependencies: - '@types/react': '*' + '@types/react': 18.0.20 react: '>= 16.8.6' react-dom: '>= 16.8.6' dependencies: @@ -5504,7 +5575,7 @@ packages: /@docsearch/react@3.3.3(@algolia/client-search@4.14.3)(@types/react@18.0.20)(react-dom@17.0.2)(react@17.0.2): resolution: {integrity: sha512-pLa0cxnl+G0FuIDuYlW+EBK6Rw2jwLw9B1RHIeS4N4s2VhsfJ/wzeCi3CWcs5yVfxLd5ZK50t//TMA5e79YT7Q==} peerDependencies: - '@types/react': '>= 16.8.0 < 19.0.0' + '@types/react': 18.0.20 react: '>= 16.8.0 < 19.0.0' react-dom: '>= 16.8.0 < 19.0.0' peerDependenciesMeta: @@ -5543,7 +5614,7 @@ packages: '@babel/preset-typescript': 7.21.0(@babel/core@7.21.0) '@babel/runtime': 7.21.0 '@babel/runtime-corejs3': 7.21.0 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@docusaurus/cssnano-preset': 2.4.0 '@docusaurus/logger': 2.4.0 '@docusaurus/mdx-loader': 2.4.0(@docusaurus/types@2.4.0)(esbuild@0.15.18)(react-dom@17.0.2)(react@17.0.2) @@ -5602,9 +5673,9 @@ packages: update-notifier: 5.1.0 url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.75.0) wait-on: 6.0.1 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) webpack-bundle-analyzer: 4.8.0 - webpack-dev-server: 4.11.1(webpack-cli@4.10.0)(webpack@5.75.0) + webpack-dev-server: 4.11.1(webpack@5.75.0) webpack-merge: 5.8.0 webpackbar: 5.0.2(webpack@5.75.0) transitivePeerDependencies: @@ -5652,7 +5723,7 @@ packages: react-dom: ^16.8.4 || ^17.0.0 dependencies: '@babel/parser': 7.21.2 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@docusaurus/logger': 2.4.0 '@docusaurus/utils': 2.4.0(@docusaurus/types@2.4.0)(esbuild@0.15.18) '@mdx-js/mdx': 1.6.22 @@ -5669,7 +5740,7 @@ packages: unified: 9.2.2 unist-util-visit: 2.0.3 url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.75.0) - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@docusaurus/types' - '@swc/core' @@ -5725,7 +5796,7 @@ packages: tslib: 2.5.0 unist-util-visit: 2.0.3 utility-types: 3.10.0 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@parcel/css' - '@swc/core' @@ -5768,7 +5839,7 @@ packages: react-dom: 17.0.2(react@17.0.2) tslib: 2.5.0 utility-types: 3.10.0 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@parcel/css' - '@swc/core' @@ -5803,7 +5874,7 @@ packages: react: 17.0.2 react-dom: 17.0.2(react@17.0.2) tslib: 2.5.0 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@parcel/css' - '@swc/core' @@ -6202,7 +6273,7 @@ packages: react-dom: 17.0.2(react@17.0.2) react-helmet-async: 1.3.0(react-dom@17.0.2)(react@17.0.2) utility-types: 3.10.0 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) webpack-merge: 5.8.0 transitivePeerDependencies: - '@swc/core' @@ -6266,7 +6337,7 @@ packages: shelljs: 0.8.5 tslib: 2.5.0 url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.75.0) - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@swc/core' - esbuild @@ -7241,7 +7312,6 @@ packages: /@jsdevtools/ono@7.1.3: resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==} - dev: true /@juggle/resize-observer@3.4.0: resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} @@ -7411,7 +7481,7 @@ packages: resolution: {integrity: sha512-KPwb1iYPXsV/P8uu0SNQrj7v7YU6wdN4Eccc2lZQyRDW+f6PJYjHBuFUTYKc408B98Jvs1XbC/z5MN45a2DWrQ==} engines: {node: '>=12.0.0'} peerDependencies: - '@types/react': ^17.0.0 || ^18.0.0 + '@types/react': 18.0.20 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -7441,7 +7511,7 @@ packages: peerDependencies: '@emotion/react': ^11.5.0 '@emotion/styled': ^11.3.0 - '@types/react': ^17.0.0 || ^18.0.0 + '@types/react': 18.0.20 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -7475,7 +7545,7 @@ packages: resolution: {integrity: sha512-hnJ0svNI1TPeWZ18E6DvES8PB4NyMLwal6EyXf69rTrYqT6wZPLjB+HiCYfSOCqU/fwArhupSqIIkQpDs8CkAw==} engines: {node: '>=12.0.0'} peerDependencies: - '@types/react': ^17.0.0 || ^18.0.0 + '@types/react': 18.0.20 react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@types/react': @@ -7516,7 +7586,7 @@ packages: peerDependencies: '@emotion/react': ^11.5.0 '@emotion/styled': ^11.3.0 - '@types/react': ^17.0.0 || ^18.0.0 + '@types/react': 18.0.20 react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@emotion/react': @@ -7543,7 +7613,7 @@ packages: /@mui/types@7.2.3(@types/react@18.0.20): resolution: {integrity: sha512-tZ+CQggbe9Ol7e/Fs5RcKwg/woU+o8DCtOnccX6KmbBc7YrfqMYEYuaIcXHuhpT880QwNkZZ3wQwvtlDFA2yOw==} peerDependencies: - '@types/react': '*' + '@types/react': 18.0.20 peerDependenciesMeta: '@types/react': optional: true @@ -8050,7 +8120,7 @@ packages: /@perfsee/webpack@1.0.0-alpha.4(webpack@5.75.0): resolution: {integrity: sha512-3+c/X3PPGzpICNF3NkmNCBhubcd99tPtAXODyWNQAlz3ncesAmx1yLgaPKbN5lMT0A+1vBOTWDJZGKAt5/dYfA==} peerDependencies: - webpack: '>= 4' + webpack: 5.75.0 dependencies: '@perfsee/bundle-analyzer': 1.0.0-alpha.4 '@perfsee/plugin-utils': 1.0.0-alpha.4 @@ -8077,7 +8147,7 @@ packages: react-refresh: '>=0.10.0 <1.0.0' sockjs-client: ^1.4.0 type-fest: '>=0.17.0 <3.0.0' - webpack: '>=4.43.0 <6.0.0' + webpack: 5.75.0 webpack-dev-server: 3.x || 4.x webpack-hot-middleware: 2.x webpack-plugin-serve: 0.x || 1.x @@ -8105,7 +8175,7 @@ packages: react-refresh: 0.11.0 schema-utils: 3.1.1 source-map: 0.7.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /@pnpm/network.ca-file@1.0.2: @@ -8333,7 +8403,7 @@ packages: resolution: {integrity: sha512-jtve7xCgoRh9/ytvYPlf78cxzSXsQzauIxnuxioZq0+Rr9rOFShlaL/4u8r50b1QrFjIFq2yajcj2ug0auMStg==} peerDependencies: '@remirror/pm': ^2.0.0 - '@types/node': '*' + '@types/node': 18.11.9 peerDependenciesMeta: '@types/node': optional: true @@ -8474,8 +8544,6 @@ packages: peerDependenciesMeta: '@types/prettier': optional: true - '@types/refractor': - optional: true prettier: optional: true dependencies: @@ -8951,7 +9019,7 @@ packages: resolution: {integrity: sha512-FRCVCmeo4ETLrQH/z6kZJW71ETbKA6WFWkNMzU5Qh3xQyTWbPthvrQnEpqVrgH0F3Gu8tXJ3Ss9gsBPT1agr9w==} peerDependencies: '@remirror/pm': ^2.0.0 - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 '@types/react-dom': ^16.9.0 || ^17 || ^18 react: ^16.14.0 || ^17 || ^18 react-dom: ^16.14.0 || ^17 || ^18 @@ -9322,7 +9390,7 @@ packages: resolution: {integrity: sha512-bxYuYdLn6JTiKODm3T3yCdYulqVe58qtBy1RgxksFYMDtnlFLla6LCAXvYbmDd0/fg3+UYBV9jiRHT3anbYDmg==} peerDependencies: '@remirror/pm': ^2.0.0 - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 '@types/react-dom': ^16.9.0 || ^17 || ^18 react: ^16.14.0 || ^17 || ^18 react-dom: ^16.14.0 || ^17 || ^18 @@ -9387,7 +9455,7 @@ packages: resolution: {integrity: sha512-xFk2TB9Ltbk6H9aKyLIE3tGAGocjCqOJ2jV6+sjyN9kMqimaLDrrqmpxjQQgMIqo4qg168FnKgGVR/DoUW3JQw==} peerDependencies: '@remirror/pm': ^2.0.0 - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 '@types/react-dom': ^16.9.0 || ^17 || ^18 react: ^16.14.0 || ^17 || ^18 react-dom: ^16.14.0 || ^17 || ^18 @@ -9436,7 +9504,7 @@ packages: resolution: {integrity: sha512-FScylKU8XY+mIKo1wzz/GnxVdERYn/3srpu/YDizjcpR88Ezr0cgqGCXkCL3nFJEVURkZo20ErGyflOaslIy4g==} peerDependencies: '@remirror/pm': ^2.0.0 - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 '@types/react-dom': ^16.9.0 || ^17 || ^18 react: ^16.14.0 || ^17 || ^18 react-dom: ^16.14.0 || ^17 || ^18 @@ -9475,7 +9543,7 @@ packages: resolution: {integrity: sha512-ItZjp2TpsITYem068HxOpAOTWjzXLs6IBiRcnxouex3sMbKEuLVmg2Z/I6tUyf/y2Hg3LdNaq7dXeHMX09n84g==} peerDependencies: '@remirror/pm': ^2.0.0 - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 '@types/react-dom': ^16.9.0 || ^17 || ^18 react: ^16.14.0 || ^17 || ^18 react-dom: ^16.14.0 || ^17 || ^18 @@ -9516,7 +9584,7 @@ packages: /@remirror/react-renderer@2.0.5(@remirror/pm@2.0.0)(@types/node@18.11.9)(@types/react@18.0.20)(react@18.2.0): resolution: {integrity: sha512-z34bb4pkxiemfSXga0haY1VDsIZJraLp9wfx2+ygre+za+4CEEMNLMTMzVRmltpHKqx0dX4XXW3iBC5YoABTgg==} peerDependencies: - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 react: ^16.14.0 || ^17 || ^18 peerDependenciesMeta: '@types/react': @@ -9535,7 +9603,7 @@ packages: /@remirror/react-utils@2.0.0(@remirror/pm@2.0.0)(@types/react@18.0.20)(react@18.2.0): resolution: {integrity: sha512-/G0EmigoDxkTivsivh03jdPK+/rOiOgKt58LwO8CiC4olTLykwvljJNu8uKm81bNADkKb8y2rfH+5FaP0JAX5g==} peerDependencies: - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 react: ^16.14.0 || ^17 || ^18 peerDependenciesMeta: '@types/react': @@ -9554,7 +9622,7 @@ packages: /@remirror/react@2.0.9(@babel/core@7.18.13)(@remirror/pm@2.0.0)(@types/node@18.11.9)(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0)(react@18.2.0)(remirror@2.0.9): resolution: {integrity: sha512-rba75RLd9ZS2gkLb1ipylKrqfB7+40VY8Vb4e8xKuIcdKl5CNCp5oE+6FbbCGNZLjpopr+yS/x/stAkTYSq7IA==} peerDependencies: - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 '@types/react-dom': ^16.9.0 || ^17 || ^18 react: ^16.14.0 || ^17 || ^18 react-dom: ^16.14.0 || ^17 || ^18 @@ -10218,7 +10286,7 @@ packages: react-dom: 18.2.0(react@18.2.0) regenerator-runtime: 0.13.9 ts-dedent: 2.2.0 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@storybook/mdx2-csf' - '@swc/core' @@ -10497,7 +10565,7 @@ packages: typescript: 4.9.4 url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.75.0) util-deprecate: 1.0.2 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) webpack-dev-middleware: 3.7.3(webpack@5.75.0) webpack-filter-warnings-plugin: 1.2.1(webpack@5.75.0) webpack-hot-middleware: 2.25.2 @@ -10604,7 +10672,7 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 typescript: '*' - webpack: '*' + webpack: 5.75.0 peerDependenciesMeta: typescript: optional: true @@ -10632,7 +10700,7 @@ packages: typescript: 4.9.4 unfetch: 4.2.0 util-deprecate: 1.0.2 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /@storybook/core-common@6.5.10(esbuild@0.15.18)(eslint@8.34.0)(react-dom@18.2.0)(react@18.2.0)(typescript@4.9.4): @@ -10697,7 +10765,7 @@ packages: ts-dedent: 2.2.0 typescript: 4.9.4 util-deprecate: 1.0.2 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@swc/core' - esbuild @@ -10775,7 +10843,7 @@ packages: typescript: 4.9.4 util-deprecate: 1.0.2 watchpack: 2.4.0 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) ws: 8.13.0 x-default-browser: 0.4.0 transitivePeerDependencies: @@ -10801,7 +10869,7 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 typescript: '*' - webpack: '*' + webpack: 5.75.0 peerDependenciesMeta: '@storybook/builder-webpack5': optional: true @@ -10815,7 +10883,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) typescript: 4.9.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@storybook/mdx2-csf' - '@swc/core' @@ -10844,7 +10912,7 @@ packages: '@babel/parser': 7.21.2 '@babel/plugin-transform-react-jsx': 7.18.10(@babel/core@7.21.0) '@babel/preset-env': 7.20.2(@babel/core@7.21.0) - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 '@storybook/csf': 0.0.2--canary.4566f4d.1 '@storybook/mdx1-csf': 0.0.1(@babel/core@7.21.0) @@ -10937,7 +11005,7 @@ packages: typescript: 4.9.4 url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.75.0) util-deprecate: 1.0.2 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) webpack-dev-middleware: 3.7.3(webpack@5.75.0) webpack-virtual-modules: 0.2.2 transitivePeerDependencies: @@ -11035,8 +11103,8 @@ packages: /@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0(typescript@4.9.4)(webpack@5.75.0): resolution: {integrity: sha512-eVg3BxlOm2P+chijHBTByr90IZVUtgRW56qEOLX7xlww2NBuKrcavBlcmn+HH7GIUktquWkMPtvy6e0W0NgA5w==} peerDependencies: - typescript: '>= 3.x' - webpack: '>= 4' + typescript: 4.9.4 + webpack: 5.75.0 dependencies: debug: 4.3.4(supports-color@9.2.2) endent: 2.1.0 @@ -11046,7 +11114,7 @@ packages: react-docgen-typescript: 2.2.2(typescript@4.9.4) tslib: 2.5.0 typescript: 4.9.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - supports-color dev: true @@ -11118,7 +11186,7 @@ packages: ts-dedent: 2.2.0 typescript: 4.9.4 util-deprecate: 1.0.2 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - '@storybook/mdx2-csf' - '@swc/core' @@ -11641,7 +11709,7 @@ packages: /@tanstack/react-query-devtools@4.33.0(@tanstack/react-query@4.33.0)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-6gegkuDmOoiY5e6ZKj1id48vlCXchjfE/6tIpYO8dFlVMQ7t1bYna/Ce6qQJ69+kfEHbYiTTn2lj+FDjIBH7Hg==} peerDependencies: - '@tanstack/react-query': ^4.33.0 + '@tanstack/react-query': 4.33.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: @@ -11656,7 +11724,7 @@ packages: /@tanstack/react-query-persist-client@4.33.0(@tanstack/react-query@4.33.0): resolution: {integrity: sha512-B3q0r1tqTTSkd9vctyqFj28xdGZJ+Dnr/7H05Ta1JF1w7EauVQl8ILrmXADecwvILnr1xoZO6lvi2W+mZxMinw==} peerDependencies: - '@tanstack/react-query': ^4.33.0 + '@tanstack/react-query': 4.33.0 dependencies: '@tanstack/query-persist-client-core': 4.33.0 '@tanstack/react-query': 4.33.0(react-dom@18.2.0)(react@18.2.0) @@ -11727,7 +11795,7 @@ packages: resolution: {integrity: sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==} engines: {node: '>=12'} peerDependencies: - '@types/react': ^16.9.0 || ^17.0.0 + '@types/react': 18.0.20 react: ^16.9.0 || ^17.0.0 react-dom: ^16.9.0 || ^17.0.0 react-test-renderer: ^16.9.0 || ^17.0.0 @@ -11820,7 +11888,7 @@ packages: resolution: {integrity: sha512-sdH1lpqZRIQYioffUq/EMhZlZsTP+8SNhmEaoULiFsRd0Go0QxuiUzy1DFHHMA8+k8h2XDIs1EGzqChih91jhw==} engines: {node: '>=12.22.0'} peerDependencies: - mongoose: ~6.0.14 + mongoose: 6.1.1 dependencies: lodash: 4.17.21 loglevel: 1.8.0 @@ -13201,7 +13269,7 @@ packages: /@webpack-cli/configtest@1.2.0(webpack-cli@4.10.0)(webpack@5.75.0): resolution: {integrity: sha512-4FB8Tj6xyVkyqjj1OaTqCjXYULB9FMkqQ8yGrZjRDrYh0nOE+7Lhs45WioWQQMV+ceFlE368Ukhe6xdvJM9Egg==} peerDependencies: - webpack: 4.x.x || 5.x.x + webpack: 5.75.0 webpack-cli: 4.x.x dependencies: webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) @@ -13490,6 +13558,17 @@ packages: symbol.prototype.description: 1.0.5 dev: true + /ajv-draft-04@1.0.0(ajv@8.12.0): + resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==} + peerDependencies: + ajv: ^8.5.0 + peerDependenciesMeta: + ajv: + optional: true + dependencies: + ajv: 8.12.0 + dev: false + /ajv-formats@2.1.1(ajv@8.12.0): resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} peerDependencies: @@ -13820,6 +13899,7 @@ packages: /array-find-index@1.0.2: resolution: {integrity: sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==} engines: {node: '>=0.10.0'} + requiresBuild: true dev: true optional: true @@ -14185,14 +14265,14 @@ packages: engines: {node: '>= 8.9'} peerDependencies: '@babel/core': ^7.0.0 - webpack: '>=2' + webpack: 5.75.0 dependencies: '@babel/core': 7.18.13 find-cache-dir: 3.3.2 loader-utils: 2.0.2 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /babel-loader@8.3.0(@babel/core@7.18.13)(webpack@5.75.0): @@ -14200,14 +14280,14 @@ packages: engines: {node: '>= 8.9'} peerDependencies: '@babel/core': ^7.0.0 - webpack: '>=2' + webpack: 5.75.0 dependencies: '@babel/core': 7.18.13 find-cache-dir: 3.3.2 loader-utils: 2.0.4 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /babel-loader@8.3.0(@babel/core@7.21.0)(webpack@5.75.0): @@ -14215,14 +14295,14 @@ packages: engines: {node: '>= 8.9'} peerDependencies: '@babel/core': ^7.0.0 - webpack: '>=2' + webpack: 5.75.0 dependencies: '@babel/core': 7.21.0 find-cache-dir: 3.3.2 loader-utils: 2.0.4 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) /babel-plugin-add-react-displayname@0.0.5: resolution: {integrity: sha512-LY3+Y0XVDYcShHHorshrDbt4KFWL4bSeniCtl4SYZbask+Syngk1uMPCeN9+nSiZo6zX5s0RTq/J9Pnaaf/KHw==} @@ -14520,6 +14600,7 @@ packages: /big-integer@1.6.51: resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==} engines: {node: '>=0.6'} + requiresBuild: true dev: true optional: true @@ -14673,6 +14754,7 @@ packages: /bplist-parser@0.1.1: resolution: {integrity: sha512-2AEM0FXy8ZxVLBuqX0hqt1gDwcnz2zygEkQ6zaD5Wko/sB9paUNwlpawrFtKeHUAQUOzjVy9AO4oeonqIHKA9Q==} + requiresBuild: true dependencies: big-integer: 1.6.51 dev: true @@ -14809,6 +14891,7 @@ packages: /buildcheck@0.0.3: resolution: {integrity: sha512-pziaA+p/wdVImfcbsZLNF32EiWyujlQLwolMqUQE8xpKNOH7KmZQaY8sXN7DGOEzPAElo9QTaeNRfGnf3iOJbA==} engines: {node: '>=10.0.0'} + requiresBuild: true dev: false optional: true @@ -14820,7 +14903,7 @@ packages: resolution: {integrity: sha512-k4YK+Ofn77HDffUThCehdrDc8vLU3xwegYN4XVG1PKY4EKchSaI+rAbofg2kr82JdXzjlOEZ921VBEgQ4Zo9XQ==} engines: {node: '>= 14.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: '@bundle-stats/cli-utils': 4.2.3(lodash@4.17.21)(react-dom@18.2.0)(react@18.2.0) core-js: 3.28.0 @@ -14962,7 +15045,6 @@ packages: /call-me-maybe@1.0.1: resolution: {integrity: sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw==} - dev: true /caller-callsite@2.0.0: resolution: {integrity: sha512-JuG3qI4QOftFsZyOn1qq87fq5grLIyk1JYd5lJmdA+fG7aQ9pA/i3JIJGcO3q0MrRcHlOt1U+ZeHW8Dq9axALQ==} @@ -15004,6 +15086,7 @@ packages: /camelcase-keys@2.1.0: resolution: {integrity: sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: camelcase: 2.1.1 map-obj: 1.0.1 @@ -15032,6 +15115,7 @@ packages: /camelcase@2.1.1: resolution: {integrity: sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==} engines: {node: '>=0.10.0'} + requiresBuild: true dev: true optional: true @@ -16225,7 +16309,7 @@ packages: resolution: {integrity: sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ==} engines: {node: '>= 14.15.0'} peerDependencies: - webpack: ^5.1.0 + webpack: 5.75.0 dependencies: fast-glob: 3.2.12 glob-parent: 6.0.2 @@ -16277,10 +16361,10 @@ packages: resolution: {integrity: sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==} engines: {node: '>=12', npm: '>=6'} peerDependencies: - '@types/node': '*' + '@types/node': 18.11.9 cosmiconfig: '>=7' - ts-node: '>=10' - typescript: '>=3' + ts-node: 10.9.1 + typescript: 4.9.4 dependencies: '@types/node': 18.11.9 cosmiconfig: 8.0.0 @@ -16373,7 +16457,7 @@ packages: /create-context-state@2.0.0(@types/react@18.0.20)(react@18.2.0): resolution: {integrity: sha512-lJsJ9XTsFLQpeXQkowyT3v2vWdxsYWoUCntUjdUCBzLqhTeGSkuCP4SrBUmkKaDDCzxJEDlmqM4HH2KD+YXVHQ==} peerDependencies: - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 react: ^16.14.0 || ^17 || ^18 peerDependenciesMeta: '@types/react': @@ -16492,7 +16576,7 @@ packages: resolution: {integrity: sha512-M5lSukoWi1If8dhQAUCvj4H8vUt3vOnwbQBH9DdTm/s4Ym2B/3dPMtYZeJmq7Q3S3Pa+I94DcZ7pc9bP14cWIQ==} engines: {node: '>= 8.9.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: camelcase: 5.3.1 cssesc: 3.0.0 @@ -16507,14 +16591,14 @@ packages: postcss-value-parser: 4.2.0 schema-utils: 2.7.1 semver: 6.3.0 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /css-loader@5.2.7(webpack@5.75.0): resolution: {integrity: sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==} engines: {node: '>= 10.13.0'} peerDependencies: - webpack: ^4.27.0 || ^5.0.0 + webpack: 5.75.0 dependencies: icss-utils: 5.1.0(postcss@8.4.21) loader-utils: 2.0.4 @@ -16533,7 +16617,7 @@ packages: resolution: {integrity: sha512-qhOH1KlBMnZP8FzRO6YCH9UHXQhVMcEGLyNdb7Hv2cpcmJbW0YrddO+tG1ab5nT41KpHIYGsbeHqxB9xPu1pKQ==} engines: {node: '>= 12.13.0'} peerDependencies: - webpack: ^5.0.0 + webpack: 5.75.0 dependencies: icss-utils: 5.1.0(postcss@8.4.27) postcss: 8.4.27 @@ -16543,7 +16627,7 @@ packages: postcss-modules-values: 4.0.0(postcss@8.4.27) postcss-value-parser: 4.2.0 semver: 7.5.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: false /css-minimizer-webpack-plugin@4.2.2(clean-css@5.3.2)(esbuild@0.15.18)(webpack@5.75.0): @@ -16556,7 +16640,7 @@ packages: csso: '*' esbuild: '*' lightningcss: '*' - webpack: ^5.0.0 + webpack: 5.75.0 peerDependenciesMeta: '@parcel/css': optional: true @@ -16579,7 +16663,43 @@ packages: schema-utils: 4.0.0 serialize-javascript: 6.0.1 source-map: 0.6.1 + webpack: 5.75.0(esbuild@0.15.18) + dev: false + + /css-minimizer-webpack-plugin@4.2.2(esbuild@0.12.29)(webpack@5.75.0): + resolution: {integrity: sha512-s3Of/4jKfw1Hj9CxEO1E5oXhQAxlayuHO2y/ML+C6I9sQ7FdzfEV6QgMLN3vI+qFsjJGIAFLKtQK7t8BOXAIyA==} + engines: {node: '>= 14.15.0'} + peerDependencies: + '@parcel/css': '*' + '@swc/css': '*' + clean-css: '*' + csso: '*' + esbuild: '*' + lightningcss: '*' + webpack: 5.75.0 + peerDependenciesMeta: + '@parcel/css': + optional: true + '@swc/css': + optional: true + clean-css: + optional: true + csso: + optional: true + esbuild: + optional: true + lightningcss: + optional: true + dependencies: + cssnano: 5.1.15(postcss@8.4.27) + esbuild: 0.12.29 + jest-worker: 29.4.3 + postcss: 8.4.27 + schema-utils: 4.0.0 + serialize-javascript: 6.0.1 + source-map: 0.6.1 webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + dev: true /css-select-base-adapter@0.1.1: resolution: {integrity: sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==} @@ -16876,6 +16996,7 @@ packages: /currently-unhandled@0.4.1: resolution: {integrity: sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: array-find-index: 1.0.2 dev: true @@ -18231,7 +18352,7 @@ packages: /esbuild-loader@2.21.0(webpack@5.75.0): resolution: {integrity: sha512-k7ijTkCT43YBSZ6+fBCW1Gin7s46RrJ0VQaM8qA7lq7W+OLsGgtLyFV8470FzYi/4TeDexniTBTPTwZUnXXR5g==} peerDependencies: - webpack: ^4.40.0 || ^5.0.0 + webpack: 5.75.0 dependencies: esbuild: 0.16.17 joycon: 3.1.1 @@ -18612,7 +18733,7 @@ packages: resolution: {integrity: sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg==} engines: {node: '>=8.3.0'} dependencies: - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 c8: 7.12.0 transitivePeerDependencies: @@ -18805,7 +18926,7 @@ packages: resolution: {integrity: sha512-y/Z5zb3RWVsCLgof8MMWMmpyAe2ZUEy6sYqczELOqaCr0cChbI9Y1VNr5DcbwEjqWmEIoU9aqcsURoUse8r/gw==} peerDependencies: express: ^4.0.0 || ^3.0.0 - mongoose: ^6.0.0 || ^5.0.0 + mongoose: 6.1.1 dependencies: escape-string-regexp: 4.0.0 express: 4.18.2 @@ -19121,7 +19242,7 @@ packages: resolution: {integrity: sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==} engines: {node: '>= 10.13.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: loader-utils: 2.0.4 schema-utils: 3.1.1 @@ -19266,6 +19387,7 @@ packages: /find-up@1.1.2: resolution: {integrity: sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: path-exists: 2.1.0 pinkie-promise: 2.0.1 @@ -19439,9 +19561,9 @@ packages: engines: {node: '>=6.11.5', yarn: '>=1.0.0'} peerDependencies: eslint: '>= 6' - typescript: '>= 2.7' + typescript: 4.9.4 vue-template-compiler: '*' - webpack: '>= 4' + webpack: 5.75.0 peerDependenciesMeta: eslint: optional: true @@ -19456,7 +19578,7 @@ packages: semver: 5.7.1 tapable: 1.1.3 typescript: 4.9.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) worker-rpc: 0.1.1 transitivePeerDependencies: - supports-color @@ -19467,9 +19589,9 @@ packages: engines: {node: '>=10', yarn: '>=1.0.0'} peerDependencies: eslint: '>= 6' - typescript: '>= 2.7' + typescript: 4.9.4 vue-template-compiler: '*' - webpack: '>= 4' + webpack: 5.75.0 peerDependenciesMeta: eslint: optional: true @@ -19491,7 +19613,7 @@ packages: semver: 7.5.4 tapable: 1.1.3 typescript: 4.9.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) /form-data@2.3.3: resolution: {integrity: sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==} @@ -19751,6 +19873,7 @@ packages: /get-stdin@4.0.1: resolution: {integrity: sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==} engines: {node: '>=0.10.0'} + requiresBuild: true dev: true optional: true @@ -20621,7 +20744,7 @@ packages: resolution: {integrity: sha512-q5oYdzjKUIPQVjOosjgvCHQOv9Ett9CYYHlgvJeXG0qQvdSojnBq4vAdQBwn1+yGveAwHCoe/rMR86ozX3+c2A==} engines: {node: '>=6.9'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: '@types/html-minifier-terser': 5.1.2 '@types/tapable': 1.0.8 @@ -20632,14 +20755,14 @@ packages: pretty-error: 2.1.2 tapable: 1.1.3 util.promisify: 1.0.0 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /html-webpack-plugin@5.5.0(webpack@5.75.0): resolution: {integrity: sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw==} engines: {node: '>=10.13.0'} peerDependencies: - webpack: ^5.20.0 + webpack: 5.75.0 dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -21011,6 +21134,7 @@ packages: /indent-string@2.1.0: resolution: {integrity: sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: repeating: 2.0.1 dev: true @@ -21083,7 +21207,7 @@ packages: resolution: {integrity: sha512-firNp1q3xxTzoItj/eOOSZQnYSlyrWks5llCTVX37nJ59K3eXbQ8PtzCguqo8YI19EELo5QxaKnJd4VxzhU8tg==} engines: {node: '>=10'} peerDependencies: - '@types/react': '>=16.8.0' + '@types/react': 18.0.20 react: '>=16.8.0' peerDependenciesMeta: '@types/react': @@ -22104,7 +22228,7 @@ packages: resolution: {integrity: sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} peerDependencies: - ts-node: '>=9.0.0' + ts-node: 10.9.1 peerDependenciesMeta: ts-node: optional: true @@ -22502,7 +22626,7 @@ packages: '@babel/core': 7.21.0 '@babel/generator': 7.21.1 '@babel/plugin-syntax-typescript': 7.20.0(@babel/core@7.21.0) - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 @@ -23069,7 +23193,7 @@ packages: engines: {node: '>= 12.13.0'} peerDependencies: less: ^3.5.0 || ^4.0.0 - webpack: ^5.0.0 + webpack: 5.75.0 dependencies: klona: 2.0.6 less: 4.1.3 @@ -23251,6 +23375,7 @@ packages: /load-json-file@1.1.0: resolution: {integrity: sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: graceful-fs: 4.2.10 parse-json: 2.2.0 @@ -23521,6 +23646,7 @@ packages: /loud-rejection@1.6.0: resolution: {integrity: sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: currently-unhandled: 0.4.1 signal-exit: 3.0.7 @@ -23920,11 +24046,13 @@ packages: /memory-pager@1.5.0: resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==} + requiresBuild: true optional: true /meow@3.7.0: resolution: {integrity: sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: camelcase-keys: 2.1.0 decamelize: 1.2.0 @@ -24347,7 +24475,7 @@ packages: resolution: {integrity: sha512-EdlUizq13o0Pd+uCp+WO/JpkLvHRVGt97RqfeGhXqAcorYo1ypJSpkV+WDT0vY/kmh/p7wRdJNJtuyK540PXDw==} engines: {node: '>= 12.13.0'} peerDependencies: - webpack: ^5.0.0 + webpack: 5.75.0 dependencies: schema-utils: 4.0.0 webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) @@ -24914,7 +25042,7 @@ packages: /multishift@2.0.1(@remirror/pm@2.0.0)(@types/react@18.0.20)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-2JX3QeJflvDDkxPSLTg94XYJGPR8jWrnu1o7rXP8qRZclzvWuK4iWlRJJ9U027WEkN+ORDt/x9jeaaJFahHfHw==} peerDependencies: - '@types/react': ^16.14.0 || ^17 || ^18 + '@types/react': 18.0.20 react: ^16.14.0 || ^17 || ^18 peerDependenciesMeta: '@types/react': @@ -25670,7 +25798,12 @@ packages: /openapi-types@12.1.0: resolution: {integrity: sha512-XpeCy01X6L5EpP+6Hc3jWN7rMZJ+/k1lwki/kTmWzbVhdPie3jd5O2ZtedEx8Yp58icJ0osVldLMrTB/zslQXA==} - dev: true + + /openapi3-ts@4.3.1: + resolution: {integrity: sha512-ha/kTOLhMQL7MvS9Abu/cpCXx5qwHQ++88YkUzn1CGfmM8JvCOG/4ZE6tRsexgXRFaoJrcwLyf81H2Y/CXALtA==} + dependencies: + yaml: 2.4.1 + dev: false /opencollective-postinstall@2.0.3: resolution: {integrity: sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==} @@ -25774,6 +25907,7 @@ packages: /os-homedir@1.0.2: resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==} engines: {node: '>=0.10.0'} + requiresBuild: true dev: true optional: true @@ -26034,6 +26168,7 @@ packages: /parse-json@2.2.0: resolution: {integrity: sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: error-ex: 1.3.2 dev: true @@ -26164,6 +26299,7 @@ packages: /path-exists@2.1.0: resolution: {integrity: sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: pinkie-promise: 2.0.1 dev: true @@ -26242,6 +26378,7 @@ packages: /path-type@1.1.0: resolution: {integrity: sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: graceful-fs: 4.2.10 pify: 2.3.0 @@ -26673,7 +26810,7 @@ packages: engines: {node: '>= 10'} peerDependencies: postcss: '>=8.0.9' - ts-node: '>=9.0.0' + ts-node: 10.9.1 peerDependenciesMeta: postcss: optional: true @@ -26691,7 +26828,7 @@ packages: engines: {node: '>= 14'} peerDependencies: postcss: '>=8.0.9' - ts-node: '>=9.0.0' + ts-node: 10.9.1 peerDependenciesMeta: postcss: optional: true @@ -26701,7 +26838,7 @@ packages: lilconfig: 2.1.0 postcss: 8.4.27 ts-node: 10.9.1(@types/node@18.11.9)(typescript@4.9.4) - yaml: 2.2.1 + yaml: 2.4.1 dev: false /postcss-loader@4.3.0(postcss@7.0.39)(webpack@5.75.0): @@ -26709,7 +26846,7 @@ packages: engines: {node: '>= 10.13.0'} peerDependencies: postcss: ^7.0.0 || ^8.0.1 - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: cosmiconfig: 7.1.0 klona: 2.0.6 @@ -26717,7 +26854,7 @@ packages: postcss: 7.0.39 schema-utils: 3.1.1 semver: 7.5.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /postcss-loader@6.2.1(postcss@8.4.21)(webpack@5.75.0): @@ -26725,7 +26862,7 @@ packages: engines: {node: '>= 12.13.0'} peerDependencies: postcss: ^7.0.0 || ^8.0.1 - webpack: ^5.0.0 + webpack: 5.75.0 dependencies: cosmiconfig: 7.1.0 klona: 2.0.6 @@ -26739,13 +26876,13 @@ packages: engines: {node: '>= 14.15.0'} peerDependencies: postcss: ^7.0.0 || ^8.0.1 - webpack: ^5.0.0 + webpack: 5.75.0 dependencies: cosmiconfig: 7.1.0 klona: 2.0.6 postcss: 8.4.21 semver: 7.5.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: false /postcss-merge-idents@5.1.1(postcss@8.4.27): @@ -28043,6 +28180,7 @@ packages: /prr@1.0.1: resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} + requiresBuild: true /psl@1.9.0: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} @@ -28241,11 +28379,11 @@ packages: resolution: {integrity: sha512-ZnScIV3ag9A4wPX/ZayxL/jZH+euYb6FcUinPcgiQW0+UBtEv0O6Q3lGd3cqJ+GHH+rksEv3Pj99oxJ3u3VIKA==} engines: {node: '>= 10.13.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: loader-utils: 2.0.4 schema-utils: 3.1.1 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /rc-align@4.0.15(react-dom@18.2.0)(react@18.2.0): @@ -28834,8 +28972,8 @@ packages: resolution: {integrity: sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==} engines: {node: '>=14'} peerDependencies: - typescript: '>=2.7' - webpack: '>=4' + typescript: 4.9.4 + webpack: 5.75.0 peerDependenciesMeta: typescript: optional: true @@ -28865,7 +29003,7 @@ packages: strip-ansi: 6.0.1 text-table: 0.2.0 typescript: 4.9.4 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) transitivePeerDependencies: - eslint - supports-color @@ -28892,8 +29030,8 @@ packages: resolution: {integrity: sha512-QeoM/i73HHu2XF9aKksIUuamHPDvRglEwdHL4jsp784BgUuWcg6mzfxT0QDdQz8Wj0qyRKx2eMg8iZtWvU4E2Q==} peerDependencies: '@types/hoist-non-react-statics': '>= 3.3.1' - '@types/node': '>= 12' - '@types/react': '>= 16' + '@types/node': 18.11.9 + '@types/react': 18.0.20 react: '>= 16.14' peerDependenciesMeta: '@types/hoist-non-react-statics': @@ -28916,7 +29054,7 @@ packages: /react-docgen-typescript@2.2.2(typescript@4.9.4): resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==} peerDependencies: - typescript: '>= 4.3.x' + typescript: 4.9.4 dependencies: typescript: 4.9.4 dev: true @@ -29031,7 +29169,7 @@ packages: /react-focus-lock@2.9.5(@types/react@18.0.20)(react@18.2.0): resolution: {integrity: sha512-h6vrdgUbsH2HeD5I7I3Cx1PPrmwGuKYICS+kB9m+32X/9xHRrAbxgvaBpG7BFBN9h3tO+C3qX1QAVESmi4CiIA==} peerDependencies: - '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 + '@types/react': 18.0.20 react: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@types/react': @@ -29188,17 +29326,17 @@ packages: engines: {node: '>=10.13.0'} peerDependencies: react-loadable: '*' - webpack: '>=4.41.1 || 5.x' + webpack: 5.75.0 dependencies: '@babel/runtime': 7.21.0 react-loadable: /@docusaurus/react-loadable@5.5.2(react@17.0.2) - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: false /react-markdown@8.0.5(@types/react@18.0.20)(react@18.2.0): resolution: {integrity: sha512-jGJolWWmOWAvzf+xMdB9zwStViODyyFQhNB/bwCerbBKmrTmgmA599CGiOlP58OId1IMoIRsA8UdI1Lod4zb5A==} peerDependencies: - '@types/react': '>=16' + '@types/react': 18.0.20 react: '>=16' dependencies: '@types/hast': 2.3.4 @@ -29259,12 +29397,12 @@ packages: /react-redux@8.0.2(@types/react@18.0.20)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1): resolution: {integrity: sha512-nBwiscMw3NoP59NFCXFf02f8xdo+vSHT/uZ1ldDwF7XaTpzm+Phk97VT4urYBl5TYAPNVaFm12UHAEyzkpNzRA==} peerDependencies: - '@types/react': ^16.8 || ^17.0 || ^18.0 + '@types/react': 18.0.20 '@types/react-dom': ^16.8 || ^17.0 || ^18.0 react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 react-native: '>=0.59' - redux: ^4 + redux: 4.2.1 peerDependenciesMeta: '@types/react': optional: true @@ -29314,7 +29452,7 @@ packages: resolution: {integrity: sha512-DuanZjaD8mQp1ppHjgnnUnyOlqYXZVjnov/JzFhjLEwd3Z4dYjMSnqrEzzGThH47vpCOqPPwJM2FtthLeJ8Pbg==} peerDependencies: react: '>=15' - react-router: '>=5' + react-router: 6.11.0 dependencies: '@babel/runtime': 7.21.0 react: 17.0.2 @@ -29550,6 +29688,7 @@ packages: /read-pkg-up@1.0.1: resolution: {integrity: sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: find-up: 1.1.2 read-pkg: 1.1.0 @@ -29576,6 +29715,7 @@ packages: /read-pkg@1.1.0: resolution: {integrity: sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: load-json-file: 1.1.0 normalize-package-data: 2.5.0 @@ -29710,6 +29850,7 @@ packages: /redent@1.0.0: resolution: {integrity: sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: indent-string: 2.1.0 strip-indent: 1.0.1 @@ -29753,7 +29894,7 @@ packages: /redux-thunk@2.4.1(redux@4.2.1): resolution: {integrity: sha512-OOYGNY5Jy2TWvTL1KgAlVy6dcx3siPJ1wTq741EPyUKfn6W6nChdICjZwCd0p8AZBs5kWpZlbkXW2nE/zjUa+Q==} peerDependencies: - redux: ^4 + redux: 4.2.1 dependencies: redux: 4.2.1 dev: false @@ -30175,6 +30316,7 @@ packages: /repeating@2.0.1: resolution: {integrity: sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: is-finite: 1.1.0 dev: true @@ -31434,7 +31576,7 @@ packages: dependencies: '@babel/generator': 7.21.1 '@babel/parser': 7.21.2 - '@babel/traverse': 7.21.2(supports-color@5.5.0) + '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 transitivePeerDependencies: - supports-color @@ -31465,6 +31607,7 @@ packages: /sparse-bitfield@3.0.3: resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==} + requiresBuild: true dependencies: memory-pager: 1.5.0 optional: true @@ -31855,6 +31998,7 @@ packages: /strip-bom@2.0.0: resolution: {integrity: sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: is-utf8: 0.2.1 dev: true @@ -31898,6 +32042,7 @@ packages: resolution: {integrity: sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==} engines: {node: '>=0.10.0'} hasBin: true + requiresBuild: true dependencies: get-stdin: 4.0.1 dev: true @@ -31941,18 +32086,18 @@ packages: resolution: {integrity: sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q==} engines: {node: '>= 8.9.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: loader-utils: 2.0.4 schema-utils: 2.7.1 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /style-loader@3.3.1(webpack@5.75.0): resolution: {integrity: sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ==} engines: {node: '>= 12.13.0'} peerDependencies: - webpack: ^5.0.0 + webpack: 5.75.0 dependencies: webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) dev: true @@ -32504,7 +32649,7 @@ packages: resolution: {integrity: sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==} engines: {node: '>= 10.13.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: cacache: 15.3.0 find-cache-dir: 3.3.2 @@ -32514,7 +32659,7 @@ packages: serialize-javascript: 5.0.1 source-map: 0.6.1 terser: 5.16.5 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) webpack-sources: 1.4.3 transitivePeerDependencies: - bluebird @@ -32527,7 +32672,7 @@ packages: '@swc/core': '*' esbuild: '*' uglify-js: '*' - webpack: ^5.1.0 + webpack: 5.75.0 peerDependenciesMeta: '@swc/core': optional: true @@ -32551,7 +32696,7 @@ packages: '@swc/core': '*' esbuild: '*' uglify-js: '*' - webpack: ^5.1.0 + webpack: 5.75.0 peerDependenciesMeta: '@swc/core': optional: true @@ -32566,8 +32711,7 @@ packages: schema-utils: 3.1.1 serialize-javascript: 6.0.1 terser: 5.16.5 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) - dev: false + webpack: 5.75.0(esbuild@0.15.18) /terser@4.8.1: resolution: {integrity: sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==} @@ -32870,6 +33014,7 @@ packages: /trim-newlines@1.0.0: resolution: {integrity: sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw==} engines: {node: '>=0.10.0'} + requiresBuild: true dev: true optional: true @@ -32925,7 +33070,7 @@ packages: babel-jest: '>=27.0.0 <28' esbuild: '*' jest: ^27.0.0 - typescript: '>=3.8 <5.0' + typescript: 4.9.4 peerDependenciesMeta: '@babel/core': optional: true @@ -32961,7 +33106,7 @@ packages: babel-jest: '>=27.0.0 <28' esbuild: '*' jest: ^27.0.0 - typescript: '>=3.8 <5.0' + typescript: 4.9.4 peerDependenciesMeta: '@babel/core': optional: true @@ -32997,7 +33142,7 @@ packages: babel-jest: '>=27.0.0 <28' esbuild: '*' jest: ^27.0.0 - typescript: '>=3.8 <5.0' + typescript: 4.9.4 peerDependenciesMeta: '@babel/core': optional: true @@ -33033,7 +33178,7 @@ packages: babel-jest: '>=27.0.0 <28' esbuild: '*' jest: ^27.0.0 - typescript: '>=3.8 <5.0' + typescript: 4.9.4 peerDependenciesMeta: '@babel/core': optional: true @@ -33077,8 +33222,8 @@ packages: peerDependencies: '@swc/core': '>=1.2.50' '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' + '@types/node': 18.11.9 + typescript: 4.9.4 peerDependenciesMeta: '@swc/core': optional: true @@ -33163,7 +33308,7 @@ packages: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' + typescript: 4.9.4 dependencies: tslib: 1.14.1 typescript: 4.9.4 @@ -33614,6 +33759,7 @@ packages: /untildify@2.1.0: resolution: {integrity: sha512-sJjbDp2GodvkB0FZZcn7k6afVisqX5BZD7Yq3xp4nN2O15BBK0cLm3Vwn2vQaF7UDS0UUsrQMkkplmDI5fskig==} engines: {node: '>=0.10.0'} + requiresBuild: true dependencies: os-homedir: 1.0.2 dev: true @@ -33753,7 +33899,7 @@ packages: engines: {node: '>= 10.13.0'} peerDependencies: file-loader: '*' - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 peerDependenciesMeta: file-loader: optional: true @@ -33795,7 +33941,7 @@ packages: resolution: {integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==} engines: {node: '>=10'} peerDependencies: - '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 + '@types/react': 18.0.20 react: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@types/react': @@ -33902,7 +34048,7 @@ packages: resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==} engines: {node: '>=10'} peerDependencies: - '@types/react': ^16.9.0 || ^17.0.0 || ^18.0.0 + '@types/react': 18.0.20 react: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@types/react': @@ -34194,7 +34340,7 @@ packages: engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: - '@types/node': '>= 14' + '@types/node': 18.11.9 less: '*' sass: '*' stylus: '*' @@ -34367,7 +34513,7 @@ packages: peerDependencies: '@webpack-cli/generators': '*' '@webpack-cli/migrate': '*' - webpack: 4.x.x || 5.x.x + webpack: 5.75.0 webpack-bundle-analyzer: '*' webpack-dev-server: '*' peerDependenciesMeta: @@ -34400,13 +34546,13 @@ packages: resolution: {integrity: sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ==} engines: {node: '>= 6'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: memory-fs: 0.4.1 mime: 2.6.0 mkdirp: 0.5.6 range-parser: 1.2.1 - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) webpack-log: 2.0.0 dev: true @@ -34414,7 +34560,7 @@ packages: resolution: {integrity: sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==} engines: {node: '>= 12.13.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: colorette: 2.0.19 memfs: 3.4.13 @@ -34428,7 +34574,7 @@ packages: engines: {node: '>= 12.13.0'} hasBin: true peerDependencies: - webpack: ^4.37.0 || ^5.0.0 + webpack: 5.75.0 webpack-cli: '*' peerDependenciesMeta: webpack-cli: @@ -34471,13 +34617,61 @@ packages: - supports-color - utf-8-validate + /webpack-dev-server@4.11.1(webpack@5.75.0): + resolution: {integrity: sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw==} + engines: {node: '>= 12.13.0'} + hasBin: true + peerDependencies: + webpack: 5.75.0 + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + dependencies: + '@types/bonjour': 3.5.10 + '@types/connect-history-api-fallback': 1.3.5 + '@types/express': 4.17.17 + '@types/serve-index': 1.9.1 + '@types/serve-static': 1.15.1 + '@types/sockjs': 0.3.33 + '@types/ws': 8.5.4 + ansi-html-community: 0.0.8 + bonjour-service: 1.1.0 + chokidar: 3.5.3 + colorette: 2.0.19 + compression: 1.7.4 + connect-history-api-fallback: 2.0.0 + default-gateway: 6.0.3 + express: 4.18.2 + graceful-fs: 4.2.10 + html-entities: 2.3.3 + http-proxy-middleware: 2.0.6(@types/express@4.17.17) + ipaddr.js: 2.0.1 + open: 8.4.2 + p-retry: 4.6.2 + rimraf: 3.0.2 + schema-utils: 4.0.0 + selfsigned: 2.1.1 + serve-index: 1.9.1 + sockjs: 0.3.24 + spdy: 4.0.2 + webpack: 5.75.0(esbuild@0.15.18) + webpack-dev-middleware: 5.3.3(webpack@5.75.0) + ws: 8.13.0 + transitivePeerDependencies: + - bufferutil + - debug + - supports-color + - utf-8-validate + dev: false + /webpack-filter-warnings-plugin@1.2.1(webpack@5.75.0): resolution: {integrity: sha512-Ez6ytc9IseDMLPo0qCuNNYzgtUl8NovOqjIq4uAU8LTD4uoa1w1KpZyyzFtLTEMZpkkOkLfL9eN+KGYdk1Qtwg==} engines: {node: '>= 4.3 < 5.0.0 || >= 5.10'} peerDependencies: - webpack: ^2.0.0 || ^3.0.0 || ^4.0.0 + webpack: 5.75.0 dependencies: - webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) + webpack: 5.75.0(esbuild@0.15.18) dev: true /webpack-hot-middleware@2.25.2: @@ -34506,7 +34700,7 @@ packages: /webpack-retry-chunk-load-plugin@3.1.1(webpack@5.75.0): resolution: {integrity: sha512-BKq/7EcelyWUUI6SeBaUKB1G+fSZP0rlxIwRQ+aO6mK5tffljaHdpJ4I2q54rpaaKjSbwbZRQlaITXe93SL9nA==} peerDependencies: - webpack: '>=5.0.0' + webpack: 5.75.0 dependencies: prettier: 2.8.4 webpack: 5.75.0(esbuild@0.12.29)(webpack-cli@4.10.0) @@ -34527,7 +34721,7 @@ packages: resolution: {integrity: sha512-Ls1CncDcLg+7B2P7NHi9tAYVlPtVS8YZ6HYIApVbafx4Bd6RbwQ+eiOBWUPs6ij+Rihh1lR3YACTaz+IvHHtWQ==} engines: {node: '>= 14.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: 5.75.0 dependencies: chalk: 4.1.2 fs-extra: 10.1.0 @@ -34584,11 +34778,50 @@ packages: - esbuild - uglify-js + /webpack@5.75.0(esbuild@0.15.18): + resolution: {integrity: sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + dependencies: + '@types/eslint-scope': 3.7.4 + '@types/estree': 0.0.51 + '@webassemblyjs/ast': 1.11.1 + '@webassemblyjs/wasm-edit': 1.11.1 + '@webassemblyjs/wasm-parser': 1.11.1 + acorn: 8.8.2 + acorn-import-assertions: 1.8.0(acorn@8.8.2) + browserslist: 4.21.5 + chrome-trace-event: 1.0.3 + enhanced-resolve: 5.12.0 + es-module-lexer: 0.9.3 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.10 + 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: 3.1.1 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.6(esbuild@0.15.18)(webpack@5.75.0) + watchpack: 2.4.0 + webpack-sources: 3.2.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + /webpackbar@5.0.2(webpack@5.75.0): resolution: {integrity: sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ==} engines: {node: '>=12'} peerDependencies: - webpack: 3 || 4 || 5 + webpack: 5.75.0 dependencies: chalk: 4.1.2 consola: 2.15.3 @@ -34891,7 +35124,7 @@ packages: resolution: {integrity: sha512-LmWm/zoaahe0EGmMTrSLUi+BjyR3cdGEfU3fS6PN1zKFYbqAKuQ+Oy/27e4VSXsyIwAw8+QDfk1XHNGtZu9nQg==} engines: {node: '>=10.0.0'} peerDependencies: - webpack: ^4.4.0 || ^5.9.0 + webpack: 5.75.0 dependencies: fast-json-stable-stringify: 2.1.0 pretty-bytes: 5.6.0 @@ -35140,6 +35373,13 @@ packages: /yaml@2.2.1: resolution: {integrity: sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==} engines: {node: '>= 14'} + dev: true + + /yaml@2.4.1: + resolution: {integrity: sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==} + engines: {node: '>= 14'} + hasBin: true + dev: false /yargs-parser@18.1.3: resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} @@ -35279,7 +35519,7 @@ packages: resolution: {integrity: sha512-6J5zDxjxLE+yukC2XZWf/IyWVKnXT9b9HUv09VJ/bwGCpKNcaTqp7Ws28Xr8jnbvnZcdRaidztAPsXFBIqufiw==} engines: {node: '>=12.7.0'} peerDependencies: - immer: '>=9.0' + immer: 9.0.21 react: '>=16.8' peerDependenciesMeta: immer: diff --git a/server/openapi.json b/server/openapi.json new file mode 100644 index 00000000000..6bac963a9d1 --- /dev/null +++ b/server/openapi.json @@ -0,0 +1,3361 @@ +{ + "openapi": "3.1.0", + "info": { + "title": "Tailchat Openapi", + "version": "0.0.0" + }, + "paths": { + "/debug/hello": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": [ + { + "type": "string", + "optional": true + } + ] + } + } + } + } + } + } + }, + "/debug/sleep": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "second": { + "type": "number" + } + } + } + } + } + } + } + }, + "/config/client": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/config/setClientConfig": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + } + } + } + } + } + } + }, + "/config/all": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/config/get": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string" + } + } + } + } + } + } + } + }, + "/config/set": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + } + } + } + } + } + } + }, + "/config/addToSet": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + } + } + } + } + } + } + }, + "/file/save": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/file/saveFileWithUrl": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fileUrl": { + "type": "string" + } + } + } + } + } + } + } + }, + "/file/get": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "objectName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/file/stat": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "objectName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/file/delete": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "objectName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/openapi.app/authToken": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + }, + "token": { + "type": "string" + }, + "capability": { + "type": "array", + "items": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/openapi.app/all": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/openapi.app/get": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/openapi.app/create": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appName": { + "type": "string" + }, + "appDesc": { + "type": "string" + }, + "appIcon": { + "type": "string" + } + } + } + } + } + } + } + }, + "/openapi.app/delete": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/openapi.app/setAppInfo": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + }, + "fieldName": { + "type": "string" + }, + "fieldValue": { + "type": "string" + } + } + } + } + } + } + } + }, + "/openapi.app/setAppCapability": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + }, + "capability": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/openapi.app/setAppOAuthInfo": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + }, + "fieldName": { + "type": "string" + }, + "fieldValue": { + "type": "any" + } + } + } + } + } + } + } + }, + "/openapi.app/setAppBotInfo": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + }, + "fieldName": { + "type": "string" + }, + "fieldValue": { + "type": "any" + } + } + } + } + } + } + } + }, + "/openapi.bot/login": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + }, + "token": { + "type": "string" + } + } + } + } + } + } + } + }, + "/openapi.bot/getOrCreateBotAccount": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/openapi.integration/addBotUser": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appId": { + "type": "string" + }, + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/chat.ack/update": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "converseId": { + "type": "string" + }, + "lastMessageId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/chat.ack/all": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/chat.converse/createDMConverse": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "memberIds": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/chat.converse/appendDMConverseMembers": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "converseId": { + "type": "string" + }, + "memberIds": { + "type": "array" + } + } + } + } + } + } + } + }, + "/chat.converse/findConverseInfo": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "converseId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/chat.converse/findAndJoinRoom": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/chat.inbox/append": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "optional": true + }, + "type": { + "type": "string" + }, + "payload": { + "type": "any" + } + } + } + } + } + } + } + }, + "/chat.inbox/batchAppend": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userIds": { + "type": "array", + "items": "string" + }, + "type": { + "type": "string" + }, + "payload": { + "type": "any" + } + } + } + } + } + } + } + }, + "/chat.inbox/removeMessage": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "optional": true + }, + "groupId": { + "type": "string", + "optional": true + }, + "converseId": { + "type": "string" + }, + "messageId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/chat.inbox/all": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/chat.inbox/ack": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "inboxItemIds": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/chat.inbox/clear": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/chat.message/fetchConverseMessage": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "converseId": { + "type": "string" + }, + "startId": { + "type": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/chat.message/fetchNearbyMessage": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "optional": true + }, + "converseId": { + "type": "string" + }, + "messageId": { + "type": "string" + }, + "num": { + "type": "number", + "optional": true + } + } + } + } + } + } + } + }, + "/chat.message/sendMessage": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "converseId": { + "type": "string" + }, + "groupId": [ + { + "type": "string", + "optional": true + } + ], + "content": { + "type": "string" + }, + "plain": { + "type": "string", + "optional": true + }, + "meta": { + "type": "any", + "optional": true + } + } + } + } + } + } + } + }, + "/chat.message/recallMessage": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/chat.message/deleteMessage": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/chat.message/searchMessage": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "optional": true + }, + "converseId": { + "type": "string" + }, + "text": { + "type": "string" + } + } + } + } + } + } + } + }, + "/chat.message/fetchConverseLastMessages": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "converseIds": { + "type": "array" + } + } + } + } + } + } + } + }, + "/chat.message/addReaction": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string" + }, + "emoji": { + "type": "string" + } + } + } + } + } + } + } + }, + "/chat.message/removeReaction": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string" + }, + "emoji": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/createGroup": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "panels": { + "type": "array" + } + } + } + } + } + } + } + }, + "/group/getUserGroups": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/group/getJoinedGroupAndPanelIds": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/group/getGroupBasicInfo": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/getGroupInfo": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/updateGroupField": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "fieldName": { + "type": "string" + }, + "fieldValue": { + "type": "any" + } + } + } + } + } + } + } + }, + "/group/updateGroupConfig": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "configName": { + "type": "string" + }, + "configValue": { + "type": "any" + } + } + } + } + } + } + } + }, + "/group/isGroupOwner": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/addMember": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "userId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/joinGroup": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/quitGroup": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/isMember": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/appendGroupMemberRoles": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "memberIds": { + "type": "array", + "items": "string" + }, + "roles": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/group/removeGroupMemberRoles": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "memberIds": { + "type": "array", + "items": "string" + }, + "roles": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/group/createGroupPanel": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "number" + }, + "parentId": { + "type": "string", + "optional": true + }, + "provider": { + "type": "string", + "optional": true + }, + "pluginPanelName": { + "type": "string", + "optional": true + }, + "meta": { + "type": "object", + "optional": true + } + } + } + } + } + } + } + }, + "/group/modifyGroupPanel": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "panelId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "number" + }, + "provider": { + "type": "string", + "optional": true + }, + "pluginPanelName": { + "type": "string", + "optional": true + }, + "meta": { + "type": "object", + "optional": true + }, + "permissionMap": { + "type": "object", + "optional": true + }, + "fallbackPermissions": { + "type": "array", + "items": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/group/deleteGroupPanel": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "panelId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/getGroupLobbyConverseId": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/createGroupRole": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "roleName": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/group/deleteGroupRole": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "roleId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/updateGroupRoleName": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "roleId": { + "type": "string" + }, + "roleName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/updateGroupRolePermission": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "roleId": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/group/getPermissions": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/getUserAllPermissions": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "userId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group/muteGroupMember": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "memberId": { + "type": "string" + }, + "muteMs": { + "type": "number" + } + } + } + } + } + } + } + }, + "/group/deleteGroupMember": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "memberId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group.extra/getGroupData": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group.extra/saveGroupData": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "data": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group.extra/getPanelData": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "panelId": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group.extra/savePanelData": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "panelId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "data": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group.invite/createGroupInvite": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "inviteType": { + "type": "enum", + "values": [ + "normal", + "permanent" + ] + } + } + } + } + } + } + } + }, + "/group.invite/editGroupInvite": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "groupId": { + "type": "string" + }, + "expiredAt": { + "type": "number", + "optional": true + }, + "usageLimit": { + "type": "number", + "optional": true + } + } + } + } + } + } + } + }, + "/group.invite/getAllGroupInviteCode": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group.invite/findInviteByCode": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group.invite/applyInvite": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + } + } + } + } + } + } + } + }, + "/group.invite/deleteInvite": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "inviteId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin.registry/list": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/user.dmlist/addConverse": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "converseId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user.dmlist/removeConverse": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "converseId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user.dmlist/getAllConverse": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/friend/getAllFriends": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/friend/buildFriendRelation": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "user1": { + "type": "string" + }, + "user2": { + "type": "string" + } + } + } + } + } + } + } + }, + "/friend/removeFriend": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "friendUserId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/friend/checkIsFriend": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/friend/setFriendNickname": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string" + }, + "nickname": { + "type": "string" + } + } + } + } + } + } + } + }, + "/friend.request/add": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "to": { + "type": "string" + }, + "message": [ + { + "type": "string", + "optional": true + } + ] + } + } + } + } + } + } + }, + "/friend.request/allRelated": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/friend.request/accept": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "requestId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/friend.request/deny": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "requestId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/friend.request/cancel": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "requestId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/mail/sendMail": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "to": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "html": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/login": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "username": [ + { + "type": "string", + "optional": true + } + ], + "email": [ + { + "type": "email", + "optional": true + } + ], + "password": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/verifyEmail": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "email" + } + } + } + } + } + } + } + }, + "/user/verifyEmailWithOTP": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "emailOTP": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/register": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "username": { + "type": "string", + "optional": true, + "max": 40 + }, + "email": { + "type": "email", + "optional": true, + "max": 40 + }, + "nickname": { + "type": "string", + "optional": true, + "max": 40 + }, + "password": { + "type": "string", + "max": 40 + }, + "emailOTP": { + "type": "string", + "optional": true + }, + "avatar": { + "type": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/user/signUserToken": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/modifyPassword": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "oldPassword": { + "type": "string" + }, + "newPassword": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/createTemporaryUser": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "nickname": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/claimTemporaryUser": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "username": { + "type": "string", + "optional": true, + "max": 40 + }, + "email": { + "type": "email", + "max": 40 + }, + "password": { + "type": "string", + "max": 40 + }, + "emailOTP": { + "type": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/user/forgetPassword": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "email" + } + } + } + } + } + } + } + }, + "/user/resetPassword": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "email" + }, + "password": { + "type": "string" + }, + "otp": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/resolveToken": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/checkTokenValid": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/banUser": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/unbanUser": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/whoami": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/user/searchUserWithUniqueName": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "uniqueName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/getUserInfo": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/getUserInfoList": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userIds": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/user/findUserByEmail": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/findUserByUsername": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/updateUserField": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fieldName": { + "type": "string" + }, + "fieldValue": { + "type": "any" + } + } + } + } + } + } + } + }, + "/user/updateUserExtra": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fieldName": { + "type": "string" + }, + "fieldValue": { + "type": "any" + } + } + } + } + } + } + } + }, + "/user/getUserSettings": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/user/setUserSettings": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "settings": { + "type": "object" + } + } + } + } + } + } + } + }, + "/user/ensurePluginBot": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "botId": { + "type": "string" + }, + "nickname": { + "type": "string" + }, + "avatar": { + "type": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/user/findOpenapiBotId": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string" + } + } + } + } + } + } + } + }, + "/user/ensureOpenapiBot": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "botId": { + "type": "string" + }, + "nickname": { + "type": "string" + }, + "avatar": { + "type": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/user/generateUserToken": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "nickname": { + "type": "string" + }, + "email": { + "type": "string" + }, + "avatar": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.agora/available": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.agora/generateJoinInfo": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "channelName": { + "type": "string" + }, + "userId": { + "type": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.agora/getChannelUserList": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "channelName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.agora/webhook": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "noticeId": { + "type": "string" + }, + "productId": { + "type": "number" + }, + "eventType": { + "type": "number" + }, + "notifyMs": { + "type": "number" + }, + "payload": { + "type": "any" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.discover/all": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "page": { + "type": "number", + "default": 1 + }, + "size": { + "type": "number", + "default": 20 + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.discover/join": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.getui/available": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.github.subscribe/add": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "textPanelId": { + "type": "string" + }, + "repoName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.github.subscribe/list": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.github.subscribe/delete": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "subscribeId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.github.subscribe/webhook.callback": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.iam/availableStrategies": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.iam/github.loginUrl": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.iam/github.redirect": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.linkmeta/fetch": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.livekit/available": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.livekit/url": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.livekit/generateToken": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "roomName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.livekit/roomMembers": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "roomName": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.livekit/inviteCall": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "roomName": { + "type": "string" + }, + "targetUserIds": { + "type": "array", + "items": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.livekit/webhook": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.prettyinvite/badge": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "inviteCode": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.simplenotify/addGroupSubscribe": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "textPanelId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.simplenotify/addUserSubscribe": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.simplenotify/list": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "type": { + "type": "enum", + "values": [ + "user", + "group" + ] + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.simplenotify/delete": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "subscribeId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.simplenotify/webhook.callback": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "subscribeId": { + "type": "string" + }, + "text": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.tasks/all": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "/plugin:com.msgbyte.tasks/add": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "assignee": { + "optional": true, + "type": "array", + "items": "string" + }, + "description": { + "optional": true, + "type": "string" + }, + "expiredAt": { + "optional": true, + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.tasks/done": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.tasks/undone": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.tasks/update": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + }, + "title": { + "optional": true, + "type": "string" + }, + "assignee": { + "optional": true, + "type": "string" + }, + "description": { + "optional": true, + "type": "string" + }, + "expiredAt": { + "optional": true, + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.topic/list": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "panelId": { + "type": "string" + }, + "page": { + "type": "number", + "optional": true + }, + "size": { + "type": "number", + "optional": true + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.topic/create": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "panelId": { + "type": "string" + }, + "content": { + "type": "string" + }, + "meta": { + "type": "object", + "optional": true + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.topic/createComment": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "panelId": { + "type": "string" + }, + "topicId": { + "type": "string" + }, + "content": { + "type": "string" + }, + "replyCommentId": { + "type": "string", + "optional": true + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.topic/delete": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "panelId": { + "type": "string" + }, + "topicId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.welcome/joinGroupCallback": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/plugin:com.msgbyte.wxpusher/available": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } +} diff --git a/server/package.json b/server/package.json index 767b2ae68b2..79d8b35a1bf 100644 --- a/server/package.json +++ b/server/package.json @@ -24,7 +24,8 @@ "admin": "cd admin && pnpm run build && pnpm run start", "plugin:install": "node ./scripts/installPlugin.js", "protobuf": "proto-loader-gen-types --longs=String --enums=String --defaults --oneofs --grpcLib=@grpc/grpc-js --outDir=proto/ proto/*.proto", - "gen:swagger": "ts-node ./scripts/swagger.ts" + "gen:swagger:old": "ts-node ./scripts/swagger.ts", + "gen:openapi": "tailchat-service-openapi-generator" }, "pnpm": { "peerDependencyRules": { @@ -117,6 +118,7 @@ "prettier": "^2.3.2", "socket.io-client": "^4.1.3", "swagger-jsdoc": "^6.2.8", + "tailchat-service-openapi-generator": "workspace:^", "tailchat-service-swagger-generator": "workspace:^1.0.0", "ts-jest": "27.1.4", "vinyl-fs": "^3.0.3" diff --git a/server/packages/openapi-generator/package.json b/server/packages/openapi-generator/package.json new file mode 100644 index 00000000000..7ed6361cc48 --- /dev/null +++ b/server/packages/openapi-generator/package.json @@ -0,0 +1,31 @@ +{ + "name": "tailchat-service-openapi-generator", + "private": true, + "version": "1.0.0", + "description": "", + "main": "index.js", + "bin": "./dist/index.js", + "scripts": { + "dev": "tsc --watch", + "prepare": "tsc", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [ + "msgbyte", + "moonrailgun", + "tailchat" + ], + "author": "moonrailgun ", + "license": "MIT", + "dependencies": { + "@apidevtools/swagger-parser": "^10.1.0", + "globby": "11.1.0", + "openapi3-ts": "^4.3.1", + "tailchat-server-sdk": "workspace:^", + "ts-node": "^10.9.1" + }, + "devDependencies": { + "@types/node": "^18.11.18", + "typescript": "^4.9.4" + } +} diff --git a/server/packages/openapi-generator/src/generateOpenapiPath.ts b/server/packages/openapi-generator/src/generateOpenapiPath.ts new file mode 100644 index 00000000000..732cb050425 --- /dev/null +++ b/server/packages/openapi-generator/src/generateOpenapiPath.ts @@ -0,0 +1,38 @@ +import _ from 'lodash'; +import type { TcService } from 'tailchat-server-sdk'; +import type { PathsObject, SchemaObject } from 'openapi3-ts/oas31'; + +export function generateOpenapiPath(service: TcService): PathsObject { + const serviceName = service.serviceName; + const actions = service.getActionList(); + + const paths: PathsObject = {}; + + for (const action of actions) { + const pathName = '/' + serviceName + '/' + action.name; + paths[pathName] = { + post: { + requestBody: { + content: { + 'application/json': { + schema: { + type: 'object', + properties: generateRequestBodyProperties(action.params), + }, + }, + }, + }, + }, + }; + } + + return paths; +} + +function generateRequestBodyProperties(params: { + [x: string]: any; +}): Record { + return _.mapValues(params, (type) => { + return type; + }); +} diff --git a/server/packages/openapi-generator/src/index.ts b/server/packages/openapi-generator/src/index.ts new file mode 100644 index 00000000000..da780dcc7cc --- /dev/null +++ b/server/packages/openapi-generator/src/index.ts @@ -0,0 +1,70 @@ +import globby from 'globby'; +import { TcBroker, TcService } from 'tailchat-server-sdk'; +import { generateOpenapiPath } from './generateOpenapiPath'; +import type { OpenAPIObject } from 'openapi3-ts/oas31'; +import SwaggerParser from '@apidevtools/swagger-parser'; +import fs from 'fs-extra'; +import path from 'path'; +import 'ts-node/register'; + +/** + * https://ts-morph.com/setup/ + */ + +/** + * 扫描服务 + */ +async function scanServices(): Promise { + const packageJsonPath = path.resolve(__dirname, '../../../../package.json'); + const version = (await fs.readJson(packageJsonPath)).verson || '0.0.0'; + const serviceFiles = await globby( + ['./services/**/*.service.ts', './plugins/**/*.service.ts'], + { + absolute: true, + } + ); + + console.log('Service List:', serviceFiles); + + const openapiObj: OpenAPIObject = { + openapi: '3.1.0', + info: { + title: 'Tailchat Openapi', + version, + }, + paths: {}, + }; + const broker = new TcBroker({ + logger: false, + }); + for (const servicePath of serviceFiles) { + const { default: serviceCls } = await import(servicePath); + + if (TcService.prototype.isPrototypeOf(serviceCls.prototype)) { + const service: TcService = new serviceCls(broker); + + openapiObj.paths = { + ...openapiObj.paths, + ...generateOpenapiPath(service), + }; + } + } + broker.stop(); + + try { + await SwaggerParser.validate(openapiObj as any); + + return openapiObj; + } catch (err) { + console.error(err); + } +} + +scanServices().then(async (openapiObj) => { + await fs.writeJSON('./openapi.json', openapiObj, { + spaces: 2, + }); + console.log( + 'generate completed, if process not exist auto, you can exit it by yourself' + ); +}); diff --git a/server/packages/openapi-generator/tsconfig.json b/server/packages/openapi-generator/tsconfig.json new file mode 100644 index 00000000000..844f574508f --- /dev/null +++ b/server/packages/openapi-generator/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "declaration": true, + "outDir": "./dist", + "paths": {} + }, + "include": ["./src/**/*"], + "exclude": ["./node_modules/**/*", "./dist/**/*"] +} diff --git a/server/packages/sdk/package.json b/server/packages/sdk/package.json index c6227384087..2fc761e60fb 100644 --- a/server/packages/sdk/package.json +++ b/server/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "tailchat-server-sdk", - "version": "0.0.17", + "version": "0.0.18", "description": "", "main": "dist/index.js", "bin": { @@ -10,7 +10,7 @@ "build": "tsc", "watch": "tsc --watch", "test": "echo \"Error: no test specified\" && exit 1", - "prepare": "pnpm build", + "prepare": "tsc", "release": "npm version patch && npm publish --registry https://registry.npmjs.com/" }, "repository": { diff --git a/server/packages/sdk/src/services/base.ts b/server/packages/sdk/src/services/base.ts index d4b637e5cb5..a01db2841dc 100644 --- a/server/packages/sdk/src/services/base.ts +++ b/server/packages/sdk/src/services/base.ts @@ -197,6 +197,26 @@ export abstract class TcService extends Service { }; } + /** + * 获取服务操作列表 + */ + getActionList() { + return Object.entries(this._actions).map( + ([name, schema]: [string, ServiceActionSchema]) => { + return { + name, + params: _.mapValues(schema.params, (type) => { + if (typeof type === 'string') { + return { type: type }; + } else { + return type; + } + }), + }; + } + ); + } + registerMixin(mixin: Partial): void { this._mixins.push(mixin); } @@ -423,6 +443,10 @@ export abstract class TcService extends Service { * NOTICE: 这里使用Redis作为缓存管理器,因此不需要通知所有的service */ async cleanActionCache(actionName: string, keys: string[] = []) { + if (!this.broker.cacher) { + console.error('Can not clean cache because no cacher existed.'); + } + if (keys.length === 0) { await this.broker.cacher.clean(`${this.serviceName}.${actionName}`); } else {