diff --git a/.github/scripts/check-file-size.sh b/.github/scripts/check-file-size.sh index a0506485..e2ce0887 100644 --- a/.github/scripts/check-file-size.sh +++ b/.github/scripts/check-file-size.sh @@ -1,4 +1,20 @@ #!/bin/bash +# +# Copyright 2025 coze-dev Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Set default value TARGET_BRANCH=${targetBranch} @@ -67,14 +83,13 @@ if [ -n "$large_files_info" ]; then \"name\": \"文件体积\", \"conclusion\": \"failed\", \"output\": { - \"summary\": \"

错误: 文件体积过大


以下文件体积超过限制 (${size_limit}KB): \\n \\n $large_files_info \\n \\n
你可以将资源上传到CDN并通过URL使用。详情请参考此[文档](https://bytedance.larkoffice.com/wiki/MjoIwfyGyiVCBFkBgnXc8LFTniX)。
如遇紧急情况,可以联系 [@fanwenjie.fe](https://code.byted.org/fanwenjie.fe) 跳过此错误。\" + \"summary\": \"

错误: 文件体积过大


以下文件体积超过限制 (${size_limit}KB): \\n \\n $large_files_info \\n \\n
\" } }" output_conclusion "$CONCLUSION" else echo "错误: 以下文件体积超过限制 (${size_limit}KB):" echo -e "$large_files_info" - echo "请将大文件上传到CDN并通过URL使用。详情请参考: https://bytedance.larkoffice.com/wiki/MjoIwfyGyiVCBFkBgnXc8LFTniX" exit 1 fi else diff --git a/frontend/apps/coze-studio/rsbuild.config.ts b/frontend/apps/coze-studio/rsbuild.config.ts index 91916f56..0dc9b1e2 100644 --- a/frontend/apps/coze-studio/rsbuild.config.ts +++ b/frontend/apps/coze-studio/rsbuild.config.ts @@ -19,7 +19,9 @@ import path from 'path'; import { defineConfig } from '@coze-arch/rsbuild-config'; import { GLOBAL_ENVS } from '@coze-arch/bot-env'; -const API_PROXY_TARGET = `http://localhost:${process.env.WEB_SERVER_PORT || 8888}/`; +const API_PROXY_TARGET = `http://localhost:${ + process.env.WEB_SERVER_PORT || 8888 +}/`; const mergedConfig = defineConfig({ server: { diff --git a/frontend/apps/coze-studio/src/app.tsx b/frontend/apps/coze-studio/src/app.tsx index 7e1bea7e..6c8059e6 100644 --- a/frontend/apps/coze-studio/src/app.tsx +++ b/frontend/apps/coze-studio/src/app.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RouterProvider } from 'react-router-dom'; import { Suspense } from 'react'; diff --git a/frontend/apps/coze-studio/src/global.d.ts b/frontend/apps/coze-studio/src/global.d.ts index 89c61964..1aef2f00 100644 --- a/frontend/apps/coze-studio/src/global.d.ts +++ b/frontend/apps/coze-studio/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_OVERSEA: boolean; diff --git a/frontend/apps/coze-studio/src/index.tsx b/frontend/apps/coze-studio/src/index.tsx index 8ede3aa5..57db27c0 100644 --- a/frontend/apps/coze-studio/src/index.tsx +++ b/frontend/apps/coze-studio/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createRoot } from 'react-dom/client'; import { initI18nInstance } from '@coze-arch/i18n/raw'; import { dynamicImportMdBoxStyle } from '@coze-arch/bot-md-box-adapter/style'; diff --git a/frontend/apps/coze-studio/src/layout.tsx b/frontend/apps/coze-studio/src/layout.tsx index 334192d6..7196d480 100644 --- a/frontend/apps/coze-studio/src/layout.tsx +++ b/frontend/apps/coze-studio/src/layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GlobalLayout, useAppInit } from '@coze-foundation/global-adapter'; export const Layout = () => { diff --git a/frontend/apps/coze-studio/src/pages/develop.tsx b/frontend/apps/coze-studio/src/pages/develop.tsx index 0a651fa3..e6c9ae56 100644 --- a/frontend/apps/coze-studio/src/pages/develop.tsx +++ b/frontend/apps/coze-studio/src/pages/develop.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { Develop } from '@coze-studio/workspace-adapter/develop'; diff --git a/frontend/apps/coze-studio/src/pages/docs.tsx b/frontend/apps/coze-studio/src/pages/docs.tsx index 0c727c94..6f687b77 100644 --- a/frontend/apps/coze-studio/src/pages/docs.tsx +++ b/frontend/apps/coze-studio/src/pages/docs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; const DocsRedirect = () => { diff --git a/frontend/apps/coze-studio/src/pages/explore.tsx b/frontend/apps/coze-studio/src/pages/explore.tsx index 21d4c328..7a187371 100644 --- a/frontend/apps/coze-studio/src/pages/explore.tsx +++ b/frontend/apps/coze-studio/src/pages/explore.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Navigate, type RouteObject } from 'react-router-dom'; import { lazy } from 'react'; diff --git a/frontend/apps/coze-studio/src/pages/library.tsx b/frontend/apps/coze-studio/src/pages/library.tsx index 1e5c87f9..9725c8aa 100644 --- a/frontend/apps/coze-studio/src/pages/library.tsx +++ b/frontend/apps/coze-studio/src/pages/library.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { LibraryPage } from '@coze-studio/workspace-adapter/library'; diff --git a/frontend/apps/coze-studio/src/pages/plugin/layout.tsx b/frontend/apps/coze-studio/src/pages/plugin/layout.tsx index b21b0ae0..95a183c3 100644 --- a/frontend/apps/coze-studio/src/pages/plugin/layout.tsx +++ b/frontend/apps/coze-studio/src/pages/plugin/layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Outlet, useNavigate, useParams } from 'react-router-dom'; import { pluginResourceNavigate } from '@coze-studio/workspace-base'; diff --git a/frontend/apps/coze-studio/src/pages/plugin/page.tsx b/frontend/apps/coze-studio/src/pages/plugin/page.tsx index 16ba4d9e..4364e8a9 100644 --- a/frontend/apps/coze-studio/src/pages/plugin/page.tsx +++ b/frontend/apps/coze-studio/src/pages/plugin/page.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/apps/coze-studio/src/pages/plugin/tool/page.tsx b/frontend/apps/coze-studio/src/pages/plugin/tool/page.tsx index 1904cdf1..943cfefd 100644 --- a/frontend/apps/coze-studio/src/pages/plugin/tool/page.tsx +++ b/frontend/apps/coze-studio/src/pages/plugin/tool/page.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/apps/coze-studio/src/pages/plugin/tool/plugin-mock-set/detail/page.tsx b/frontend/apps/coze-studio/src/pages/plugin/tool/plugin-mock-set/detail/page.tsx index b072cf9a..ee2e6c6e 100644 --- a/frontend/apps/coze-studio/src/pages/plugin/tool/plugin-mock-set/detail/page.tsx +++ b/frontend/apps/coze-studio/src/pages/plugin/tool/plugin-mock-set/detail/page.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { MocksetDetail } from '@coze-studio/workspace-base'; diff --git a/frontend/apps/coze-studio/src/pages/plugin/tool/plugin-mock-set/page.tsx b/frontend/apps/coze-studio/src/pages/plugin/tool/plugin-mock-set/page.tsx index feeeee9d..d1b93685 100644 --- a/frontend/apps/coze-studio/src/pages/plugin/tool/plugin-mock-set/page.tsx +++ b/frontend/apps/coze-studio/src/pages/plugin/tool/plugin-mock-set/page.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/apps/coze-studio/src/pages/redirect.tsx b/frontend/apps/coze-studio/src/pages/redirect.tsx index 44ef444c..77da3c25 100644 --- a/frontend/apps/coze-studio/src/pages/redirect.tsx +++ b/frontend/apps/coze-studio/src/pages/redirect.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; const Redirect = () => { diff --git a/frontend/apps/coze-studio/src/routes.tsx b/frontend/apps/coze-studio/src/routes.tsx index 7e7621cd..6f8d296e 100644 --- a/frontend/apps/coze-studio/src/routes.tsx +++ b/frontend/apps/coze-studio/src/routes.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createBrowserRouter, Navigate } from 'react-router-dom'; import { lazy } from 'react'; diff --git a/frontend/apps/coze-studio/src/routes/async-components.tsx b/frontend/apps/coze-studio/src/routes/async-components.tsx index f812a0c8..80574ab7 100644 --- a/frontend/apps/coze-studio/src/routes/async-components.tsx +++ b/frontend/apps/coze-studio/src/routes/async-components.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { lazy } from 'react'; // login page diff --git a/frontend/apps/coze-studio/src/routes/index.tsx b/frontend/apps/coze-studio/src/routes/index.tsx index db73e97a..a8b79957 100644 --- a/frontend/apps/coze-studio/src/routes/index.tsx +++ b/frontend/apps/coze-studio/src/routes/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createBrowserRouter, Navigate } from 'react-router-dom'; import { SpaceSubModuleEnum } from '@coze-foundation/space-ui-adapter'; diff --git a/frontend/apps/coze-studio/tailwind.config.ts b/frontend/apps/coze-studio/tailwind.config.ts index f04210ca..0cd71e99 100644 --- a/frontend/apps/coze-studio/tailwind.config.ts +++ b/frontend/apps/coze-studio/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; import { designTokenToTailwindConfig, diff --git a/frontend/apps/coze-studio/vitest.config.ts b/frontend/apps/coze-studio/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/apps/coze-studio/vitest.config.ts +++ b/frontend/apps/coze-studio/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/config/eslint-config/package.json b/frontend/config/eslint-config/package.json index 49f83587..0178cab0 100644 --- a/frontend/config/eslint-config/package.json +++ b/frontend/config/eslint-config/package.json @@ -74,3 +74,4 @@ "typescript": "~5.8.2" } } + diff --git a/frontend/config/eslint-config/src/define-config.ts b/frontend/config/eslint-config/src/define-config.ts index c52a1c49..9494a93d 100644 --- a/frontend/config/eslint-config/src/define-config.ts +++ b/frontend/config/eslint-config/src/define-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import fs from 'fs'; diff --git a/frontend/config/postcss-config/package.json b/frontend/config/postcss-config/package.json index 4329affa..09f5c926 100644 --- a/frontend/config/postcss-config/package.json +++ b/frontend/config/postcss-config/package.json @@ -25,3 +25,4 @@ "@types/node": "^18" } } + diff --git a/frontend/config/rsbuild-config/src/index.ts b/frontend/config/rsbuild-config/src/index.ts index 776fb841..1572c55a 100644 --- a/frontend/config/rsbuild-config/src/index.ts +++ b/frontend/config/rsbuild-config/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { pluginSvgr } from '@rsbuild/plugin-svgr'; @@ -48,7 +48,9 @@ export const overrideBrowserslist = [ const generateCdnPrefix = () => { if (process.env.CDN_INNER_CN) { - return `https://${process.env.CDN_INNER_CN}/${process.env.CDN_PATH_PREFIX ? `${process.env.CDN_PATH_PREFIX}/` : ''}`; + return `https://${process.env.CDN_INNER_CN}/${ + process.env.CDN_PATH_PREFIX ? `${process.env.CDN_PATH_PREFIX}/` : '' + }`; } return '/'; }; diff --git a/frontend/config/rsbuild-config/vitest.config.ts b/frontend/config/rsbuild-config/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/config/rsbuild-config/vitest.config.ts +++ b/frontend/config/rsbuild-config/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/config/stylelint-config/package.json b/frontend/config/stylelint-config/package.json index 117a8550..cef3bfab 100644 --- a/frontend/config/stylelint-config/package.json +++ b/frontend/config/stylelint-config/package.json @@ -25,3 +25,4 @@ "sucrase": "^3.32.0" } } + diff --git a/frontend/config/stylelint-config/src/define-config.ts b/frontend/config/stylelint-config/src/define-config.ts index e65c5e13..1e8dacbd 100644 --- a/frontend/config/stylelint-config/src/define-config.ts +++ b/frontend/config/stylelint-config/src/define-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { type Config } from 'stylelint'; diff --git a/frontend/config/tailwind-config/src/design-token.ts b/frontend/config/tailwind-config/src/design-token.ts index e36b6fdf..8884a2f3 100644 --- a/frontend/config/tailwind-config/src/design-token.ts +++ b/frontend/config/tailwind-config/src/design-token.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Common tailwind configurations and tool functions for consumers and producers export function designTokenToTailwindConfig( diff --git a/frontend/config/ts-config/global.d.ts b/frontend/config/ts-config/global.d.ts index 26a79f3b..ea43f318 100644 --- a/frontend/config/ts-config/global.d.ts +++ b/frontend/config/ts-config/global.d.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/config/ts-config/package.json b/frontend/config/ts-config/package.json index 226317d9..5980e896 100644 --- a/frontend/config/ts-config/package.json +++ b/frontend/config/ts-config/package.json @@ -20,3 +20,4 @@ "typescript": "~5.8.2" } } + diff --git a/frontend/config/vitest-config/package.json b/frontend/config/vitest-config/package.json index 20f9acd6..120ef4c6 100644 --- a/frontend/config/vitest-config/package.json +++ b/frontend/config/vitest-config/package.json @@ -23,3 +23,4 @@ "vitest": "~3.0.5" } } + diff --git a/frontend/config/vitest-config/src/define-config.ts b/frontend/config/vitest-config/src/define-config.ts index 0c45abad..600e82c6 100644 --- a/frontend/config/vitest-config/src/define-config.ts +++ b/frontend/config/vitest-config/src/define-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { resolve } from 'path'; import { mergeConfig, type UserConfig } from 'vitest/config'; diff --git a/frontend/config/vitest-config/src/preset-default.ts b/frontend/config/vitest-config/src/preset-default.ts index d7a2ee63..af17afd2 100644 --- a/frontend/config/vitest-config/src/preset-default.ts +++ b/frontend/config/vitest-config/src/preset-default.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { coverageConfigDefaults, type UserConfig } from 'vitest/config'; import tsconfigPaths from 'vite-tsconfig-paths'; diff --git a/frontend/config/vitest-config/src/preset-node.ts b/frontend/config/vitest-config/src/preset-node.ts index 3848550c..22bec93f 100644 --- a/frontend/config/vitest-config/src/preset-node.ts +++ b/frontend/config/vitest-config/src/preset-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { mergeConfig } from 'vitest/config'; import { defaultVitestConfig } from './preset-default'; diff --git a/frontend/config/vitest-config/src/preset-web.ts b/frontend/config/vitest-config/src/preset-web.ts index fc9ec1dd..0a15844a 100644 --- a/frontend/config/vitest-config/src/preset-web.ts +++ b/frontend/config/vitest-config/src/preset-web.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { mergeConfig } from 'vitest/config'; import react from '@vitejs/plugin-react'; diff --git a/frontend/config/vitest-config/src/tsc-only.ts b/frontend/config/vitest-config/src/tsc-only.ts index 8eb135c9..0a42c26c 100644 --- a/frontend/config/vitest-config/src/tsc-only.ts +++ b/frontend/config/vitest-config/src/tsc-only.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // TODO: should be remove diff --git a/frontend/infra/eslint-plugin/package.json b/frontend/infra/eslint-plugin/package.json index 102cae52..eb8a491c 100644 --- a/frontend/infra/eslint-plugin/package.json +++ b/frontend/infra/eslint-plugin/package.json @@ -27,8 +27,8 @@ "devDependencies": { "@babel/eslint-parser": "~7.25.8", "@babel/eslint-plugin": "~7.25.7", - "@eslint/js": "~9.12.0", "@coze-arch/ts-config": "workspace:*", + "@eslint/js": "~9.12.0", "@types/eslint": "~9.6.1", "@types/estree": "^1.0.1", "@types/node": "^18", @@ -47,3 +47,4 @@ "vitest": "~3.0.5" } } + diff --git a/frontend/infra/eslint-plugin/src/index.ts b/frontend/infra/eslint-plugin/src/index.ts index 28f8d51e..ffe2cfff 100644 --- a/frontend/infra/eslint-plugin/src/index.ts +++ b/frontend/infra/eslint-plugin/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { jsonParser } from './processors/json'; import { disallowDepRule } from './rules/package-disallow-deps'; import { noDeepRelativeImportRule } from './rules/no-deep-relative-import'; diff --git a/frontend/infra/eslint-plugin/src/processors/json.ts b/frontend/infra/eslint-plugin/src/processors/json.ts index 37204f03..9c95efd1 100644 --- a/frontend/infra/eslint-plugin/src/processors/json.ts +++ b/frontend/infra/eslint-plugin/src/processors/json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const prefix = 'module.exports = '; export const jsonParser = { diff --git a/frontend/infra/eslint-plugin/src/rules/max-lines-per-function/index.test.ts b/frontend/infra/eslint-plugin/src/rules/max-lines-per-function/index.test.ts index fed5dbcb..28af5381 100644 --- a/frontend/infra/eslint-plugin/src/rules/max-lines-per-function/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/max-lines-per-function/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import { maxLinePerFunctionRule } from './index'; diff --git a/frontend/infra/eslint-plugin/src/rules/max-lines-per-function/index.ts b/frontend/infra/eslint-plugin/src/rules/max-lines-per-function/index.ts index 07647d38..6532f383 100644 --- a/frontend/infra/eslint-plugin/src/rules/max-lines-per-function/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/max-lines-per-function/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Rule } from 'eslint'; const getStaticStringValue = node => { diff --git a/frontend/infra/eslint-plugin/src/rules/no-batch-import-or-export/index.test.ts b/frontend/infra/eslint-plugin/src/rules/no-batch-import-or-export/index.test.ts index 1c775f94..3d7dee19 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-batch-import-or-export/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-batch-import-or-export/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import { noBatchImportOrExportRule } from './index'; diff --git a/frontend/infra/eslint-plugin/src/rules/no-batch-import-or-export/index.ts b/frontend/infra/eslint-plugin/src/rules/no-batch-import-or-export/index.ts index 3d1e6983..efb0377a 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-batch-import-or-export/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-batch-import-or-export/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Rule } from 'eslint'; export const noBatchImportOrExportRule: Rule.RuleModule = { diff --git a/frontend/infra/eslint-plugin/src/rules/no-deep-relative-import/index.test.ts b/frontend/infra/eslint-plugin/src/rules/no-deep-relative-import/index.test.ts index 7d835e8e..d2dc6b5c 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-deep-relative-import/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-deep-relative-import/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import { noDeepRelativeImportRule } from './index'; diff --git a/frontend/infra/eslint-plugin/src/rules/no-deep-relative-import/index.ts b/frontend/infra/eslint-plugin/src/rules/no-deep-relative-import/index.ts index d5dc7637..7c6f5161 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-deep-relative-import/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-deep-relative-import/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Rule } from 'eslint'; const isTooDeep = (declare: string, maxLevel: number) => { diff --git a/frontend/infra/eslint-plugin/src/rules/no-duplicated-deps/index.test.ts b/frontend/infra/eslint-plugin/src/rules/no-duplicated-deps/index.test.ts index 479a4c58..7941d10d 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-duplicated-deps/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-duplicated-deps/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import { jsonParser } from '../../processors/json'; import { noDuplicatedDepsRule } from './index'; diff --git a/frontend/infra/eslint-plugin/src/rules/no-duplicated-deps/index.ts b/frontend/infra/eslint-plugin/src/rules/no-duplicated-deps/index.ts index 6e846150..14f6e9c1 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-duplicated-deps/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-duplicated-deps/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import type { Rule } from 'eslint'; diff --git a/frontend/infra/eslint-plugin/src/rules/no-empty-catch/index.test.ts b/frontend/infra/eslint-plugin/src/rules/no-empty-catch/index.test.ts index 0311d7e9..678fd2db 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-empty-catch/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-empty-catch/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import { noEmptyCatch } from './index'; diff --git a/frontend/infra/eslint-plugin/src/rules/no-empty-catch/index.ts b/frontend/infra/eslint-plugin/src/rules/no-empty-catch/index.ts index 625e6ceb..0da95910 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-empty-catch/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-empty-catch/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Rule } from 'eslint'; export const noEmptyCatch: Rule.RuleModule = { diff --git a/frontend/infra/eslint-plugin/src/rules/no-new-error/index.test.ts b/frontend/infra/eslint-plugin/src/rules/no-new-error/index.test.ts index 27c038b9..0d9fb2f8 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-new-error/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-new-error/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import { noNewErrorRule } from './index'; diff --git a/frontend/infra/eslint-plugin/src/rules/no-new-error/index.ts b/frontend/infra/eslint-plugin/src/rules/no-new-error/index.ts index 6f1b0bf9..c0bc68f8 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-new-error/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-new-error/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Rule } from 'eslint'; export const noNewErrorRule: Rule.RuleModule = { @@ -37,8 +37,14 @@ export const noNewErrorRule: Rule.RuleModule = { node, messageId: 'no-new-error', fix(fixer) { - const args = node.arguments.map(arg => context.sourceCode.getText(arg)).join(',') || '\'custom error\''; - return fixer.replaceText(node, `new CustomError('normal_error', ${args})`); + const args = + node.arguments + .map(arg => context.sourceCode.getText(arg)) + .join(',') || "'custom error'"; + return fixer.replaceText( + node, + `new CustomError('normal_error', ${args})`, + ); }, }); } diff --git a/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/index.ts b/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/index.ts index cda8c9e8..4056f48a 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path, { relative } from 'path'; import { Rule } from 'eslint'; import readPkgUp from 'eslint-module-utils/readPkgUp'; diff --git a/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/test/index.test.ts b/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/test/index.test.ts index 46f64890..3b4cf4e0 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/test/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/test/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import resolve from 'eslint-module-utils/resolve'; import readPkgUp from 'eslint-module-utils/readPkgUp'; diff --git a/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/test/utils.test.ts b/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/test/utils.test.ts index 95704529..2a74d543 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/test/utils.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/test/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { exportPathMatch } from '../utils'; describe('exportPathMatch', () => { diff --git a/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/utils.ts b/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/utils.ts index 3f55eb92..e6b52db4 100644 --- a/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/utils.ts +++ b/frontend/infra/eslint-plugin/src/rules/no-pkg-dir-import/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; export function exportPathMatch(importPath: string, pkgExportPath: string) { diff --git a/frontend/infra/eslint-plugin/src/rules/package-disallow-deps/index.test.ts b/frontend/infra/eslint-plugin/src/rules/package-disallow-deps/index.test.ts index b6996f99..e99a0265 100644 --- a/frontend/infra/eslint-plugin/src/rules/package-disallow-deps/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/package-disallow-deps/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import { jsonParser } from '../../processors/json'; import { disallowDepRule } from './index'; diff --git a/frontend/infra/eslint-plugin/src/rules/package-disallow-deps/index.ts b/frontend/infra/eslint-plugin/src/rules/package-disallow-deps/index.ts index 56981f59..b70836e7 100644 --- a/frontend/infra/eslint-plugin/src/rules/package-disallow-deps/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/package-disallow-deps/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import type { Rule } from 'eslint'; import semver from 'semver'; diff --git a/frontend/infra/eslint-plugin/src/rules/package-require-author/index.ts b/frontend/infra/eslint-plugin/src/rules/package-require-author/index.ts index 85b0defc..288d5a79 100644 --- a/frontend/infra/eslint-plugin/src/rules/package-require-author/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/package-require-author/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import type { Rule } from 'eslint'; diff --git a/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx b/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx +++ b/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/index.test.ts b/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/index.test.ts index 6b5706c0..db00a134 100644 --- a/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/index.test.ts @@ -13,14 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { RuleTester } from 'eslint'; import parser from '@typescript-eslint/parser'; import { tsxNoLeakedRender } from '.'; - const ruleTester = new RuleTester({ languageOptions: { parser, diff --git a/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/index.ts b/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/index.ts index ab5a7476..4eee7864 100644 --- a/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ruleComposer from 'eslint-rule-composer'; import { AST_NODE_TYPES } from '@typescript-eslint/utils'; import reactPlugin from 'eslint-plugin-react'; diff --git a/frontend/infra/eslint-plugin/src/rules/use-error-in-catch/index.test.ts b/frontend/infra/eslint-plugin/src/rules/use-error-in-catch/index.test.ts index 20127705..04ae085e 100644 --- a/frontend/infra/eslint-plugin/src/rules/use-error-in-catch/index.test.ts +++ b/frontend/infra/eslint-plugin/src/rules/use-error-in-catch/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RuleTester } from 'eslint'; import { useErrorInCatch } from './index'; diff --git a/frontend/infra/eslint-plugin/src/rules/use-error-in-catch/index.ts b/frontend/infra/eslint-plugin/src/rules/use-error-in-catch/index.ts index d4519062..e94ba926 100644 --- a/frontend/infra/eslint-plugin/src/rules/use-error-in-catch/index.ts +++ b/frontend/infra/eslint-plugin/src/rules/use-error-in-catch/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Rule } from 'eslint'; import traverse from 'eslint-traverse'; diff --git a/frontend/infra/eslint-plugin/src/zustand/index.ts b/frontend/infra/eslint-plugin/src/zustand/index.ts index 6250f42a..bb04522d 100644 --- a/frontend/infra/eslint-plugin/src/zustand/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Linter } from '@typescript-eslint/utils/ts-eslint'; import { noGetStateInComp } from './rules/no-get-state-in-comp'; import { noStateMutation } from './rules/no-state-mutation'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/__tests__/utils.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/__tests__/utils.test.ts index af21e711..8890c8df 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/__tests__/utils.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/__tests__/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; import { diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/no-get-state-in-comp/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/no-get-state-in-comp/index.test.ts index 4489274d..ebcb1c16 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/no-get-state-in-comp/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/no-get-state-in-comp/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { noGetStateInComp } from './index'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/no-get-state-in-comp/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/no-get-state-in-comp/index.ts index b32e744c..1d7a674c 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/no-get-state-in-comp/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/no-get-state-in-comp/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; import { createRule, getZustandSetting, isNameMatchPattern } from '../utils'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/no-state-mutation/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/no-state-mutation/index.test.ts index 9146363e..bfe2761f 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/no-state-mutation/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/no-state-mutation/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { noStateMutation } from './index'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/no-state-mutation/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/no-state-mutation/index.ts index 697baf2b..e31f5f74 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/no-state-mutation/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/no-state-mutation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findVariable } from '@typescript-eslint/utils/ast-utils'; import { TSESTree } from '@typescript-eslint/utils'; import { diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-curry-create/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-curry-create/index.test.ts index a96eae85..bfdf84e8 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-curry-create/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-curry-create/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { preferCurryCreate } from '.'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-curry-create/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-curry-create/index.ts index 4b83426f..adb3cd42 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-curry-create/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-curry-create/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; import { findVariable } from '@typescript-eslint/utils/ast-utils'; import { accessImportedIds, createRule, isSameIdentifier } from '../utils'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-selector/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-selector/index.test.ts index 4ce5e9f0..865ce7a7 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-selector/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-selector/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { preferSelector } from './index'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-selector/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-selector/index.ts index 6c54e7fe..f35c8f73 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-selector/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-selector/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TSESTree } from '@typescript-eslint/utils'; import { RuleFixer } from '@typescript-eslint/utils/ts-eslint'; import { createRule, getZustandSetting, isNameMatchPattern } from '../utils'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-shallow/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-shallow/index.test.ts index 24c317a5..e43d6a8c 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-shallow/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-shallow/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { preferShallow } from './index'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-shallow/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-shallow/index.ts index 7fa390a5..f9ae3bf5 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/prefer-shallow/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/prefer-shallow/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ASTUtils, AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; import { createRule, diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/proper-store-typing/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/proper-store-typing/index.test.ts index ab850bd7..f3b37d7b 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/proper-store-typing/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/proper-store-typing/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { properStoreTyping } from '.'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/proper-store-typing/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/proper-store-typing/index.ts index 614d1f8a..9492bdfc 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/proper-store-typing/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/proper-store-typing/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findVariable } from '@typescript-eslint/utils/ast-utils'; import { TSESTree, AST_NODE_TYPES } from '@typescript-eslint/utils'; import { accessImportedIds, isSameIdentifier, createRule } from '../utils'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/store-filename-convention/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/store-filename-convention/index.test.ts index 75418e3f..61a728e3 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/store-filename-convention/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/store-filename-convention/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { storeFilenameConvention } from './index'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/store-filename-convention/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/store-filename-convention/index.ts index 6af1f429..eb89ad63 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/store-filename-convention/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/store-filename-convention/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { TSESTree } from '@typescript-eslint/utils'; import { findVariable } from '@typescript-eslint/utils/ast-utils'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/store-name-convention/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/store-name-convention/index.test.ts index b464f4e5..50e54b02 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/store-name-convention/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/store-name-convention/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { storeNameConvention } from './index'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/store-name-convention/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/store-name-convention/index.ts index 2aa4f386..c5fd6e7a 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/store-name-convention/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/store-name-convention/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TSESTree } from '@typescript-eslint/utils'; import { findVariable } from '@typescript-eslint/utils/ast-utils'; import { diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/tester.ts b/frontend/infra/eslint-plugin/src/zustand/rules/tester.ts index 1c5bcbd1..a159189a 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/tester.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/tester.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as vitest from 'vitest'; import { RuleTester } from '@typescript-eslint/rule-tester'; import parser from '@typescript-eslint/parser'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/utils.ts b/frontend/infra/eslint-plugin/src/zustand/rules/utils.ts index d30a4c5b..c97a1dfa 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/utils.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AST_NODE_TYPES, ESLintUtils, diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/zustand-devtools-config/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/zustand-devtools-config/index.test.ts index f9cbff1d..0b887791 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/zustand-devtools-config/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/zustand-devtools-config/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { devtoolsConfig } from '.'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/zustand-devtools-config/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/zustand-devtools-config/index.ts index 52af662b..87d1f237 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/zustand-devtools-config/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/zustand-devtools-config/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; import { findVariable } from '@typescript-eslint/utils/ast-utils'; import { accessImportedIds, createRule, isSameIdentifier } from '../utils'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/zustand-prefer-middlewares/index.test.ts b/frontend/infra/eslint-plugin/src/zustand/rules/zustand-prefer-middlewares/index.test.ts index d7c9acbc..66d4b904 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/zustand-prefer-middlewares/index.test.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/zustand-prefer-middlewares/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ruleTester } from '../tester'; import { preferMiddlewares } from '.'; diff --git a/frontend/infra/eslint-plugin/src/zustand/rules/zustand-prefer-middlewares/index.ts b/frontend/infra/eslint-plugin/src/zustand/rules/zustand-prefer-middlewares/index.ts index 8498db4c..438f689b 100644 --- a/frontend/infra/eslint-plugin/src/zustand/rules/zustand-prefer-middlewares/index.ts +++ b/frontend/infra/eslint-plugin/src/zustand/rules/zustand-prefer-middlewares/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; import { findVariable } from '@typescript-eslint/utils/ast-utils'; import { ReportSuggestionArray } from '@typescript-eslint/utils/ts-eslint'; diff --git a/frontend/infra/idl/idl-parser/__tests__/common.ts b/frontend/infra/idl/idl-parser/__tests__/common.ts index 0801e36b..7601ebfe 100644 --- a/frontend/infra/idl/idl-parser/__tests__/common.ts +++ b/frontend/infra/idl/idl-parser/__tests__/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function filterKeys(obj: Record, keys: string[]) { const newObj: Record = {}; for (const key of keys) { diff --git a/frontend/infra/idl/idl-parser/__tests__/demo.proto.ts b/frontend/infra/idl/idl-parser/__tests__/demo.proto.ts index f2a156b5..134c140e 100644 --- a/frontend/infra/idl/idl-parser/__tests__/demo.proto.ts +++ b/frontend/infra/idl/idl-parser/__tests__/demo.proto.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable */ import * as t from '../src/proto'; diff --git a/frontend/infra/idl/idl-parser/__tests__/demo.thrift.ts b/frontend/infra/idl/idl-parser/__tests__/demo.thrift.ts index 8bd1582c..43bdce86 100644 --- a/frontend/infra/idl/idl-parser/__tests__/demo.thrift.ts +++ b/frontend/infra/idl/idl-parser/__tests__/demo.thrift.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable */ import * as t from '../src/thrift'; diff --git a/frontend/infra/idl/idl-parser/__tests__/demo.unify.ts b/frontend/infra/idl/idl-parser/__tests__/demo.unify.ts index 8457b7e1..7e3ff834 100644 --- a/frontend/infra/idl/idl-parser/__tests__/demo.unify.ts +++ b/frontend/infra/idl/idl-parser/__tests__/demo.unify.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable */ import * as t from '../src/unify/index'; @@ -182,7 +182,7 @@ const document = t.parse( 'index.proto': indexContent, 'base.proto': baseContent, 'extra.proto': extraContent, - } + }, ); const statement = document.statements[0] as t.InterfaceWithFields; console.log(statement); diff --git a/frontend/infra/idl/idl-parser/__tests__/proto.field.test.ts b/frontend/infra/idl/idl-parser/__tests__/proto.field.test.ts index b7dc1e55..cbfbf14a 100644 --- a/frontend/infra/idl/idl-parser/__tests__/proto.field.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/proto.field.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src/proto'; describe('ferry-parser', () => { diff --git a/frontend/infra/idl/idl-parser/__tests__/proto.index.test.ts b/frontend/infra/idl/idl-parser/__tests__/proto.index.test.ts index 8a9cb3cc..136b5804 100644 --- a/frontend/infra/idl/idl-parser/__tests__/proto.index.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/proto.index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as path from 'path'; import * as t from '../src/proto'; diff --git a/frontend/infra/idl/idl-parser/__tests__/proto.method.test.ts b/frontend/infra/idl/idl-parser/__tests__/proto.method.test.ts index dd05e8a6..33140f45 100644 --- a/frontend/infra/idl/idl-parser/__tests__/proto.method.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/proto.method.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src/proto'; describe('ferry-parser', () => { diff --git a/frontend/infra/idl/idl-parser/__tests__/proto.service.test.ts b/frontend/infra/idl/idl-parser/__tests__/proto.service.test.ts index 6da8c47d..5de57526 100644 --- a/frontend/infra/idl/idl-parser/__tests__/proto.service.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/proto.service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src/proto'; describe('ferry-parser', () => { diff --git a/frontend/infra/idl/idl-parser/__tests__/thrift.enum.test.ts b/frontend/infra/idl/idl-parser/__tests__/thrift.enum.test.ts index cc8a502e..5276a72e 100644 --- a/frontend/infra/idl/idl-parser/__tests__/thrift.enum.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/thrift.enum.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src/thrift'; describe('ferry-parser', () => { diff --git a/frontend/infra/idl/idl-parser/__tests__/thrift.field.test.ts b/frontend/infra/idl/idl-parser/__tests__/thrift.field.test.ts index a8b16814..26e4e35a 100644 --- a/frontend/infra/idl/idl-parser/__tests__/thrift.field.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/thrift.field.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src/thrift'; describe('ferry-parser', () => { diff --git a/frontend/infra/idl/idl-parser/__tests__/thrift.function.test.ts b/frontend/infra/idl/idl-parser/__tests__/thrift.function.test.ts index be06916f..fab6eabb 100644 --- a/frontend/infra/idl/idl-parser/__tests__/thrift.function.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/thrift.function.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src/thrift'; describe('ferry-parser', () => { diff --git a/frontend/infra/idl/idl-parser/__tests__/thrift.index.test.ts b/frontend/infra/idl/idl-parser/__tests__/thrift.index.test.ts index 29bcb7c3..dfe9f535 100644 --- a/frontend/infra/idl/idl-parser/__tests__/thrift.index.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/thrift.index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as path from 'path'; import * as t from '../src/thrift'; diff --git a/frontend/infra/idl/idl-parser/__tests__/thrift.service.test.ts b/frontend/infra/idl/idl-parser/__tests__/thrift.service.test.ts index 015b1cff..63684d41 100644 --- a/frontend/infra/idl/idl-parser/__tests__/thrift.service.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/thrift.service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src/thrift'; describe('ferry-parser', () => { diff --git a/frontend/infra/idl/idl-parser/__tests__/unify.enum.test.ts b/frontend/infra/idl/idl-parser/__tests__/unify.enum.test.ts index 0cca21a0..ef48cfa5 100644 --- a/frontend/infra/idl/idl-parser/__tests__/unify.enum.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/unify.enum.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src'; import { filterKeys } from './common'; diff --git a/frontend/infra/idl/idl-parser/__tests__/unify.field.test.ts b/frontend/infra/idl/idl-parser/__tests__/unify.field.test.ts index 08f2d420..5a30a771 100644 --- a/frontend/infra/idl/idl-parser/__tests__/unify.field.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/unify.field.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src'; import { filterKeys } from './common'; diff --git a/frontend/infra/idl/idl-parser/__tests__/unify.function.test.ts b/frontend/infra/idl/idl-parser/__tests__/unify.function.test.ts index 25e75f8c..4bb0880d 100644 --- a/frontend/infra/idl/idl-parser/__tests__/unify.function.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/unify.function.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src'; import { filterKeys } from './common'; diff --git a/frontend/infra/idl/idl-parser/__tests__/unify.index.test.ts b/frontend/infra/idl/idl-parser/__tests__/unify.index.test.ts index 76d810c0..ac7d8ca4 100644 --- a/frontend/infra/idl/idl-parser/__tests__/unify.index.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/unify.index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as path from 'path'; import * as t from '../src/unify'; diff --git a/frontend/infra/idl/idl-parser/__tests__/unify.other.test.ts b/frontend/infra/idl/idl-parser/__tests__/unify.other.test.ts index b4a5f4d0..4245be1c 100644 --- a/frontend/infra/idl/idl-parser/__tests__/unify.other.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/unify.other.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src'; import { filterKeys } from './common'; diff --git a/frontend/infra/idl/idl-parser/__tests__/unify.service.test.ts b/frontend/infra/idl/idl-parser/__tests__/unify.service.test.ts index 5a4f5ba4..013f31d4 100644 --- a/frontend/infra/idl/idl-parser/__tests__/unify.service.test.ts +++ b/frontend/infra/idl/idl-parser/__tests__/unify.service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as t from '../src'; import { filterKeys } from './common'; diff --git a/frontend/infra/idl/idl-parser/src/common/extension_type.ts b/frontend/infra/idl/idl-parser/src/common/extension_type.ts index bf38c7bf..88c79ec1 100644 --- a/frontend/infra/idl/idl-parser/src/common/extension_type.ts +++ b/frontend/infra/idl/idl-parser/src/common/extension_type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const POSITIONS = [ 'query', 'body', diff --git a/frontend/infra/idl/idl-parser/src/common/extension_util.ts b/frontend/infra/idl/idl-parser/src/common/extension_util.ts index acf51d6a..8f8292ae 100644 --- a/frontend/infra/idl/idl-parser/src/common/extension_util.ts +++ b/frontend/infra/idl/idl-parser/src/common/extension_util.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { POSITIONS, SERIALIZERS, diff --git a/frontend/infra/idl/idl-parser/src/index.ts b/frontend/infra/idl/idl-parser/src/index.ts index 77190dfb..9a50098a 100644 --- a/frontend/infra/idl/idl-parser/src/index.ts +++ b/frontend/infra/idl/idl-parser/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './unify'; diff --git a/frontend/infra/idl/idl-parser/src/proto/index.ts b/frontend/infra/idl/idl-parser/src/proto/index.ts index c91489a8..114f5b42 100644 --- a/frontend/infra/idl/idl-parser/src/proto/index.ts +++ b/frontend/infra/idl/idl-parser/src/proto/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint no-param-reassign: ["error", { "props": false }] */ import * as path from 'path'; diff --git a/frontend/infra/idl/idl-parser/src/proto/type.ts b/frontend/infra/idl/idl-parser/src/proto/type.ts index 9dd2fbb2..f8e5ed9c 100644 --- a/frontend/infra/idl/idl-parser/src/proto/type.ts +++ b/frontend/infra/idl/idl-parser/src/proto/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldExtensionConfig, type ServiceExtensionConfig, diff --git a/frontend/infra/idl/idl-parser/src/thrift/index.ts b/frontend/infra/idl/idl-parser/src/thrift/index.ts index fb4d47a2..5c52b061 100644 --- a/frontend/infra/idl/idl-parser/src/thrift/index.ts +++ b/frontend/infra/idl/idl-parser/src/thrift/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint no-param-reassign: ["error", { "props": false }] */ import * as path from 'path'; @@ -155,7 +155,9 @@ function reviseFieldComments(struct: InterfaceWithFields) { const { fields } = struct; /* istanbul ignore next */ - if (fields.length < 2) {return;} + if (fields.length < 2) { + return; + } for (let i = fields.length - 1; i > 0; i--) { const currentField = fields[i]; @@ -183,7 +185,9 @@ function reviseEnumMemberComments(enm: EnumDefinition) { const { members } = enm; /* istanbul ignore next */ - if (members.length < 2) {return;} + if (members.length < 2) { + return; + } for (let i = 0; i < members.length - 1; i++) { const currentMember = members[i]; @@ -203,7 +207,9 @@ function reviseEnumMemberComments(enm: EnumDefinition) { function reviseFunctionComments(service: ServiceDefinition) { const { functions } = service; - if (functions.length < 2) {return;} + if (functions.length < 2) { + return; + } for (let i = 0; i < functions.length - 1; i++) { const currentFunction = functions[i]; diff --git a/frontend/infra/idl/idl-parser/src/thrift/type.ts b/frontend/infra/idl/idl-parser/src/thrift/type.ts index 4779e6e2..ab9681ea 100644 --- a/frontend/infra/idl/idl-parser/src/thrift/type.ts +++ b/frontend/infra/idl/idl-parser/src/thrift/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldExtensionConfig, type ServiceExtensionConfig, diff --git a/frontend/infra/idl/idl-parser/src/unify/index.ts b/frontend/infra/idl/idl-parser/src/unify/index.ts index f56ab3b2..393272ef 100644 --- a/frontend/infra/idl/idl-parser/src/unify/index.ts +++ b/frontend/infra/idl/idl-parser/src/unify/index.ts @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as path from 'path'; import * as fs from 'fs'; -import { logAndThrowError , mergeObject, getPosixPath } from '../utils'; +import { logAndThrowError, mergeObject, getPosixPath } from '../utils'; import { parseThriftContent } from './thrift'; import { parseProtoContent } from './proto'; import { type UnifyDocument } from './type'; diff --git a/frontend/infra/idl/idl-parser/src/unify/proto.ts b/frontend/infra/idl/idl-parser/src/unify/proto.ts index 4a5f0187..97f31331 100644 --- a/frontend/infra/idl/idl-parser/src/unify/proto.ts +++ b/frontend/infra/idl/idl-parser/src/unify/proto.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint import/prefer-default-export: off */ import * as path from 'path'; import * as fs from 'fs'; diff --git a/frontend/infra/idl/idl-parser/src/unify/thrift.ts b/frontend/infra/idl/idl-parser/src/unify/thrift.ts index 854772ff..b4da2968 100644 --- a/frontend/infra/idl/idl-parser/src/unify/thrift.ts +++ b/frontend/infra/idl/idl-parser/src/unify/thrift.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint no-param-reassign: ["error", { "props": false }], import/prefer-default-export: off */ import * as path from 'path'; import * as fs from 'fs'; @@ -317,13 +317,15 @@ function createAddNamespaceReferValue( const identifierValue = (fieldType as Identifier).value; if (!identifierValue.includes('.')) { - (fieldType as Identifier).namespaceValue = - `${namespace}.${identifierValue}`; + ( + fieldType as Identifier + ).namespaceValue = `${namespace}.${identifierValue}`; } else { const parts = identifierValue.split('.'); if (parts.length === 2 && enumNames.includes(parts[0])) { - (fieldType as Identifier).namespaceValue = - `${namespace}.${identifierValue}`; + ( + fieldType as Identifier + ).namespaceValue = `${namespace}.${identifierValue}`; } else { for (const regExp of regExpNamespaceMap.keys()) { if (regExp.test(identifierValue)) { diff --git a/frontend/infra/idl/idl-parser/src/unify/type.ts b/frontend/infra/idl/idl-parser/src/unify/type.ts index aaa54407..2bdcf001 100644 --- a/frontend/infra/idl/idl-parser/src/unify/type.ts +++ b/frontend/infra/idl/idl-parser/src/unify/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldExtensionConfig, type ServiceExtensionConfig, diff --git a/frontend/infra/idl/idl-parser/src/unify/util.ts b/frontend/infra/idl/idl-parser/src/unify/util.ts index fd25c4ce..3e8a7400 100644 --- a/frontend/infra/idl/idl-parser/src/unify/util.ts +++ b/frontend/infra/idl/idl-parser/src/unify/util.ts @@ -13,8 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { SyntaxType, type ContainerType, type MapType, type FieldType } from './type'; + +import { + SyntaxType, + type ContainerType, + type MapType, + type FieldType, +} from './type'; export function convertIntToString(fType: FieldType): FieldType { const fieldType = { ...fType }; diff --git a/frontend/infra/idl/idl-parser/src/utils/index.ts b/frontend/infra/idl/idl-parser/src/utils/index.ts index b48c8765..154bdb0c 100644 --- a/frontend/infra/idl/idl-parser/src/utils/index.ts +++ b/frontend/infra/idl/idl-parser/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger } from '@coze-arch/rush-logger'; export const logAndThrowError = (logMessage: string, errorMessage?: string) => { @@ -27,7 +27,9 @@ export function mergeObject( ...sources: { [key: string]: any }[] ): { [key: string]: any } { const newObj = { ...target }; - if (!sources) {return newObj;} + if (!sources) { + return newObj; + } for (const source of sources) { for (const key of Object.keys(source)) { diff --git a/frontend/infra/idl/idl-parser/vitest.config.ts b/frontend/infra/idl/idl-parser/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/infra/idl/idl-parser/vitest.config.ts +++ b/frontend/infra/idl/idl-parser/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/infra/idl/idl2ts-cli/package.json b/frontend/infra/idl/idl2ts-cli/package.json index 815b8477..51d4eaa8 100644 --- a/frontend/infra/idl/idl2ts-cli/package.json +++ b/frontend/infra/idl/idl2ts-cli/package.json @@ -36,3 +36,4 @@ "vitest": "~3.0.5" } } + diff --git a/frontend/infra/idl/idl2ts-cli/src/actions.ts b/frontend/infra/idl/idl2ts-cli/src/actions.ts index e96d9677..b8de23fc 100644 --- a/frontend/infra/idl/idl2ts-cli/src/actions.ts +++ b/frontend/infra/idl/idl2ts-cli/src/actions.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { genClient } from '@coze-arch/idl2ts-generator'; diff --git a/frontend/infra/idl/idl2ts-cli/src/cli.ts b/frontend/infra/idl/idl2ts-cli/src/cli.ts index 19293774..d1566955 100644 --- a/frontend/infra/idl/idl2ts-cli/src/cli.ts +++ b/frontend/infra/idl/idl2ts-cli/src/cli.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ora from 'ora'; import { Command } from 'commander'; diff --git a/frontend/infra/idl/idl2ts-cli/src/mock-dev.ts b/frontend/infra/idl/idl2ts-cli/src/mock-dev.ts index 421cdf0e..692b1f33 100644 --- a/frontend/infra/idl/idl2ts-cli/src/mock-dev.ts +++ b/frontend/infra/idl/idl2ts-cli/src/mock-dev.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { type ApiConfig } from './types'; diff --git a/frontend/infra/idl/idl2ts-cli/src/optional/forward.ts b/frontend/infra/idl/idl2ts-cli/src/optional/forward.ts index 035cb3b2..876d8017 100644 --- a/frontend/infra/idl/idl2ts-cli/src/optional/forward.ts +++ b/frontend/infra/idl/idl2ts-cli/src/optional/forward.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IPlugin, type Program, after } from '@coze-arch/idl2ts-plugin'; import { type IParseEntryCtx, diff --git a/frontend/infra/idl/idl2ts-cli/src/optional/index.ts b/frontend/infra/idl/idl2ts-cli/src/optional/index.ts index 0e1fdd83..a8c54672 100644 --- a/frontend/infra/idl/idl2ts-cli/src/optional/index.ts +++ b/frontend/infra/idl/idl2ts-cli/src/optional/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PatchPlugin } from './forward'; diff --git a/frontend/infra/idl/idl2ts-cli/src/plugins/alias.ts b/frontend/infra/idl/idl2ts-cli/src/plugins/alias.ts index 79d9dc4b..51d8a1b0 100644 --- a/frontend/infra/idl/idl2ts-cli/src/plugins/alias.ts +++ b/frontend/infra/idl/idl2ts-cli/src/plugins/alias.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Program, on } from '@coze-arch/idl2ts-plugin'; import { type IParseEntryCtx, diff --git a/frontend/infra/idl/idl2ts-cli/src/plugins/comment.ts b/frontend/infra/idl/idl2ts-cli/src/plugins/comment.ts index 1990c8e4..24ae5751 100644 --- a/frontend/infra/idl/idl2ts-cli/src/plugins/comment.ts +++ b/frontend/infra/idl/idl2ts-cli/src/plugins/comment.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IPlugin, type Program, after } from '@coze-arch/idl2ts-plugin'; import { type IParseEntryCtx } from '@coze-arch/idl2ts-helper'; import { HOOK } from '@coze-arch/idl2ts-generator'; diff --git a/frontend/infra/idl/idl2ts-cli/src/plugins/filter-types-plugin.ts b/frontend/infra/idl/idl2ts-cli/src/plugins/filter-types-plugin.ts index 0fe19788..288cbdbc 100644 --- a/frontend/infra/idl/idl2ts-cli/src/plugins/filter-types-plugin.ts +++ b/frontend/infra/idl/idl2ts-cli/src/plugins/filter-types-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { type Program, after } from '@coze-arch/idl2ts-plugin'; diff --git a/frontend/infra/idl/idl2ts-cli/src/plugins/formatter.ts b/frontend/infra/idl/idl2ts-cli/src/plugins/formatter.ts index fec10b31..d24bde85 100644 --- a/frontend/infra/idl/idl2ts-cli/src/plugins/formatter.ts +++ b/frontend/infra/idl/idl2ts-cli/src/plugins/formatter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import fs from 'fs'; import { format } from 'prettier'; diff --git a/frontend/infra/idl/idl2ts-cli/src/plugins/local-config.ts b/frontend/infra/idl/idl2ts-cli/src/plugins/local-config.ts index 20481ef9..fbd46440 100644 --- a/frontend/infra/idl/idl2ts-cli/src/plugins/local-config.ts +++ b/frontend/infra/idl/idl2ts-cli/src/plugins/local-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { type IPlugin, type Program, after } from '@coze-arch/idl2ts-plugin'; diff --git a/frontend/infra/idl/idl2ts-cli/src/plugins/mock-plugin.ts b/frontend/infra/idl/idl2ts-cli/src/plugins/mock-plugin.ts index 0f2cbd97..3f5e06f8 100644 --- a/frontend/infra/idl/idl2ts-cli/src/plugins/mock-plugin.ts +++ b/frontend/infra/idl/idl2ts-cli/src/plugins/mock-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjs from 'dayjs'; import { faker } from '@faker-js/faker'; import { type IPlugin, type Program, before } from '@coze-arch/idl2ts-plugin'; diff --git a/frontend/infra/idl/idl2ts-cli/src/types.ts b/frontend/infra/idl/idl2ts-cli/src/types.ts index 08a82849..c9f550c2 100644 --- a/frontend/infra/idl/idl2ts-cli/src/types.ts +++ b/frontend/infra/idl/idl2ts-cli/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IPlugin } from '@coze-arch/idl2ts-generator'; export interface ApiConfig { diff --git a/frontend/infra/idl/idl2ts-cli/src/utils.ts b/frontend/infra/idl/idl2ts-cli/src/utils.ts index 9936b8a6..494403fc 100644 --- a/frontend/infra/idl/idl2ts-cli/src/utils.ts +++ b/frontend/infra/idl/idl2ts-cli/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { type ApiConfig } from './types'; diff --git a/frontend/infra/idl/idl2ts-cli/vitest.config.ts b/frontend/infra/idl/idl2ts-cli/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/infra/idl/idl2ts-cli/vitest.config.ts +++ b/frontend/infra/idl/idl2ts-cli/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/infra/idl/idl2ts-generator/package.json b/frontend/infra/idl/idl2ts-generator/package.json index 750c9f3f..f9e4f283 100644 --- a/frontend/infra/idl/idl2ts-generator/package.json +++ b/frontend/infra/idl/idl2ts-generator/package.json @@ -45,3 +45,4 @@ "vitest": "~3.0.5" } } + diff --git a/frontend/infra/idl/idl2ts-generator/src/context.ts b/frontend/infra/idl/idl2ts-generator/src/context.ts index d1e3c107..8ddf65f1 100644 --- a/frontend/infra/idl/idl2ts-generator/src/context.ts +++ b/frontend/infra/idl/idl2ts-generator/src/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { SchemaObject, JSONSchemaType } from 'ajv'; import { type Ctxs } from '@coze-arch/idl2ts-plugin'; import { diff --git a/frontend/infra/idl/idl2ts-generator/src/core.ts b/frontend/infra/idl/idl2ts-generator/src/core.ts index 188e80c2..682d8a34 100644 --- a/frontend/infra/idl/idl2ts-generator/src/core.ts +++ b/frontend/infra/idl/idl2ts-generator/src/core.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import fs from 'fs-extra'; diff --git a/frontend/infra/idl/idl2ts-generator/src/index.ts b/frontend/infra/idl/idl2ts-generator/src/index.ts index e19ff29b..abad6de7 100644 --- a/frontend/infra/idl/idl2ts-generator/src/index.ts +++ b/frontend/infra/idl/idl2ts-generator/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IGenOptions } from './types'; import { ClientGenerator } from './core'; diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/adapter-plugin.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/adapter-plugin.ts index 2aeddf81..9f105d2d 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/adapter-plugin.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/adapter-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import fs from 'fs-extra'; diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/auto-fix-duplicate-plugin.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/auto-fix-duplicate-plugin.ts index b0f263ad..21ecc06e 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/auto-fix-duplicate-plugin.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/auto-fix-duplicate-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Program, after, type IPlugin } from '@coze-arch/idl2ts-plugin'; import { type IParseEntryCtx, isPbFile } from '@coze-arch/idl2ts-helper'; diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/auto-fix-path-plugin.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/auto-fix-path-plugin.ts index 08444036..847ab41c 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/auto-fix-path-plugin.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/auto-fix-path-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isAbsolute } from 'path'; import { type Program, after, type IPlugin } from '@coze-arch/idl2ts-plugin'; diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/client-plugin.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/client-plugin.ts index 19352c4f..68b1c27d 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/client-plugin.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/client-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/comment-format-plugin.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/comment-format-plugin.ts index 487dc1f3..88ec2940 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/comment-format-plugin.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/comment-format-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Program, after, before } from '@coze-arch/idl2ts-plugin'; import { isStructDefinition } from '@coze-arch/idl2ts-helper'; diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/ignore-struct-field.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/ignore-struct-field.ts index 83225775..f86e52ef 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/ignore-struct-field.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/ignore-struct-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Program, after } from '@coze-arch/idl2ts-plugin'; import { isStructDefinition, diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/index.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/index.ts index 2ecebed7..a7f3e7eb 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/index.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './adapter-plugin'; export * from './client-plugin'; export * from './meta-plugin'; diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/meta-plugin.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/meta-plugin.ts index f84d1c08..e8761d7e 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/meta-plugin.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/meta-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IPlugin, type Program, on } from '@coze-arch/idl2ts-plugin'; import { type Identifier, diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/mock-transformer.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/mock-transformer.ts index 8a9357be..0794d648 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/mock-transformer.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/mock-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { faker } from '@faker-js/faker'; import { type IPlugin, @@ -196,7 +196,9 @@ export class MockTransformerPlugin implements IPlugin { const { name, returnType, fields } = f; const reqType = fields[0].fieldType as any; const resType = this.processReqResPramsType(returnType, ctx.ast); - return `${name.value}:{req:${parseId(reqType.value)},res:${parseId(resType)}}`; + return `${name.value}:{req:${parseId(reqType.value)},res:${parseId( + resType, + )}}`; })}}`, ) as t.ExpressionStatement; return variableDeclaration; @@ -260,8 +262,8 @@ export class MockTransformerPlugin implements IPlugin { const key = t.isStringLiteral(i.key) ? i.key.value : t.isIdentifier(i.key) - ? i.key.name - : ''; + ? i.key.name + : ''; fieldNames.delete(key); } newPros.push(i); diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/pkg-entry-plugin.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/pkg-entry-plugin.ts index f9b85254..d4d6d16a 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/pkg-entry-plugin.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/pkg-entry-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EOL } from 'os'; import { type IPlugin, type Program, after } from '@coze-arch/idl2ts-plugin'; diff --git a/frontend/infra/idl/idl2ts-generator/src/plugin/schema-plugin.ts b/frontend/infra/idl/idl2ts-generator/src/plugin/schema-plugin.ts index b321a6c1..a33a9bdd 100644 --- a/frontend/infra/idl/idl2ts-generator/src/plugin/schema-plugin.ts +++ b/frontend/infra/idl/idl2ts-generator/src/plugin/schema-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IPlugin, type Program, diff --git a/frontend/infra/idl/idl2ts-generator/src/template.ts b/frontend/infra/idl/idl2ts-generator/src/template.ts index 58741847..29244f0d 100644 --- a/frontend/infra/idl/idl2ts-generator/src/template.ts +++ b/frontend/infra/idl/idl2ts-generator/src/template.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import { EOL } from 'os'; diff --git a/frontend/infra/idl/idl2ts-generator/src/type-mapper.ts b/frontend/infra/idl/idl2ts-generator/src/type-mapper.ts index b3e38d7e..db97a082 100644 --- a/frontend/infra/idl/idl2ts-generator/src/type-mapper.ts +++ b/frontend/infra/idl/idl2ts-generator/src/type-mapper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/prefer-literal-enum-member */ import { SyntaxType } from '@coze-arch/idl-parser'; diff --git a/frontend/infra/idl/idl2ts-generator/src/types.ts b/frontend/infra/idl/idl2ts-generator/src/types.ts index 48184b12..47647354 100644 --- a/frontend/infra/idl/idl2ts-generator/src/types.ts +++ b/frontend/infra/idl/idl2ts-generator/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IPlugin } from '@coze-arch/idl2ts-plugin'; import { type IParseResultItem } from '@coze-arch/idl2ts-helper'; diff --git a/frontend/infra/idl/idl2ts-generator/vitest.config.ts b/frontend/infra/idl/idl2ts-generator/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/infra/idl/idl2ts-generator/vitest.config.ts +++ b/frontend/infra/idl/idl2ts-generator/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/infra/idl/idl2ts-helper/package.json b/frontend/infra/idl/idl2ts-helper/package.json index e8d819a3..a37f1431 100644 --- a/frontend/infra/idl/idl2ts-helper/package.json +++ b/frontend/infra/idl/idl2ts-helper/package.json @@ -33,3 +33,4 @@ "vitest": "~3.0.5" } } + diff --git a/frontend/infra/idl/idl2ts-helper/src/constant.ts b/frontend/infra/idl/idl2ts-helper/src/constant.ts index 0ada9238..9e568db0 100644 --- a/frontend/infra/idl/idl2ts-helper/src/constant.ts +++ b/frontend/infra/idl/idl2ts-helper/src/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const ReservedKeyWord = [ 'class', 'const', diff --git a/frontend/infra/idl/idl2ts-helper/src/ctx.ts b/frontend/infra/idl/idl2ts-helper/src/ctx.ts index 469fa962..f48e5f2c 100644 --- a/frontend/infra/idl/idl2ts-helper/src/ctx.ts +++ b/frontend/infra/idl/idl2ts-helper/src/ctx.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type t from '@babel/types'; import { diff --git a/frontend/infra/idl/idl2ts-helper/src/helper.ts b/frontend/infra/idl/idl2ts-helper/src/helper.ts index 3b730d5d..f0659863 100644 --- a/frontend/infra/idl/idl2ts-helper/src/helper.ts +++ b/frontend/infra/idl/idl2ts-helper/src/helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import prettier, { type Options } from 'prettier'; diff --git a/frontend/infra/idl/idl2ts-helper/src/index.ts b/frontend/infra/idl/idl2ts-helper/src/index.ts index e8733771..f2227643 100644 --- a/frontend/infra/idl/idl2ts-helper/src/index.ts +++ b/frontend/infra/idl/idl2ts-helper/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './parser'; export * from './types'; export * from './ctx'; diff --git a/frontend/infra/idl/idl2ts-helper/src/parser.ts b/frontend/infra/idl/idl2ts-helper/src/parser.ts index 6bd8fae4..8c5634a8 100644 --- a/frontend/infra/idl/idl2ts-helper/src/parser.ts +++ b/frontend/infra/idl/idl2ts-helper/src/parser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as path from 'path'; import { parse, type UnifyDocument } from '@coze-arch/idl-parser'; diff --git a/frontend/infra/idl/idl2ts-helper/src/types.ts b/frontend/infra/idl/idl2ts-helper/src/types.ts index d1a6e1b4..58d87df7 100644 --- a/frontend/infra/idl/idl2ts-helper/src/types.ts +++ b/frontend/infra/idl/idl2ts-helper/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UnifyStatement, SyntaxType, diff --git a/frontend/infra/idl/idl2ts-helper/src/utils.ts b/frontend/infra/idl/idl2ts-helper/src/utils.ts index 3b619ece..c4811c4a 100644 --- a/frontend/infra/idl/idl2ts-helper/src/utils.ts +++ b/frontend/infra/idl/idl2ts-helper/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import fs from 'fs'; diff --git a/frontend/infra/idl/idl2ts-helper/vitest.config.ts b/frontend/infra/idl/idl2ts-helper/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/infra/idl/idl2ts-helper/vitest.config.ts +++ b/frontend/infra/idl/idl2ts-helper/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/infra/idl/idl2ts-plugin/__tests__/plugin.test.ts b/frontend/infra/idl/idl2ts-plugin/__tests__/plugin.test.ts index 233b976a..0b30592a 100644 --- a/frontend/infra/idl/idl2ts-plugin/__tests__/plugin.test.ts +++ b/frontend/infra/idl/idl2ts-plugin/__tests__/plugin.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Ctxs, type IPlugin, Program, on, before, after } from '../src'; interface Ctx { diff --git a/frontend/infra/idl/idl2ts-plugin/src/hooks.ts b/frontend/infra/idl/idl2ts-plugin/src/hooks.ts index cd5e5f83..27c70b06 100644 --- a/frontend/infra/idl/idl2ts-plugin/src/hooks.ts +++ b/frontend/infra/idl/idl2ts-plugin/src/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum Phases { BEFORE = 'BEFORE', ON = 'ON', diff --git a/frontend/infra/idl/idl2ts-plugin/src/index.ts b/frontend/infra/idl/idl2ts-plugin/src/index.ts index d83ebe42..f857acec 100644 --- a/frontend/infra/idl/idl2ts-plugin/src/index.ts +++ b/frontend/infra/idl/idl2ts-plugin/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './hooks'; export * from './program'; diff --git a/frontend/infra/idl/idl2ts-plugin/src/program.ts b/frontend/infra/idl/idl2ts-plugin/src/program.ts index ed77fa20..90987d58 100644 --- a/frontend/infra/idl/idl2ts-plugin/src/program.ts +++ b/frontend/infra/idl/idl2ts-plugin/src/program.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { joinPhases, Phases } from './hooks'; type IHookHandler = (args: T) => T; diff --git a/frontend/infra/idl/idl2ts-plugin/vitest.config.ts b/frontend/infra/idl/idl2ts-plugin/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/infra/idl/idl2ts-plugin/vitest.config.ts +++ b/frontend/infra/idl/idl2ts-plugin/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/infra/idl/idl2ts-runtime/src/config-center.ts b/frontend/infra/idl/idl2ts-runtime/src/config-center.ts index 68c1484f..08c163f5 100644 --- a/frontend/infra/idl/idl2ts-runtime/src/config-center.ts +++ b/frontend/infra/idl/idl2ts-runtime/src/config-center.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { IdlConfig } from './utils'; class ConfigCenter { @@ -30,7 +30,9 @@ export const configCenter = new ConfigCenter(); export function registerConfig(service: string, config: IdlConfig): void { if (configCenter.getConfig(service)) { - console.warn(`${service} api config has already been set,make sure they are the same`); + console.warn( + `${service} api config has already been set,make sure they are the same`, + ); } configCenter.register(service, config); } diff --git a/frontend/infra/idl/idl2ts-runtime/src/create-api.ts b/frontend/infra/idl/idl2ts-runtime/src/create-api.ts index f69b8018..a1d7fb14 100644 --- a/frontend/infra/idl/idl2ts-runtime/src/create-api.ts +++ b/frontend/infra/idl/idl2ts-runtime/src/create-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IOptions, normalizeRequest } from './utils'; import type { IMeta, CustomAPIMeta } from './types'; @@ -40,7 +40,12 @@ export interface CancelAbleApi * @returns */ // eslint-disable-next-line max-params -export function createAPI( +export function createAPI< + T extends {}, + K, + O = unknown, + B extends boolean = false, +>( meta: IMeta, cancelable?: B, useCustom = false, diff --git a/frontend/infra/idl/idl2ts-runtime/src/index.ts b/frontend/infra/idl/idl2ts-runtime/src/index.ts index 7e3c749b..b41aa106 100644 --- a/frontend/infra/idl/idl2ts-runtime/src/index.ts +++ b/frontend/infra/idl/idl2ts-runtime/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './create-api'; export * from './config-center'; export { type IMeta } from './types'; diff --git a/frontend/infra/idl/idl2ts-runtime/src/types.ts b/frontend/infra/idl/idl2ts-runtime/src/types.ts index 9f108633..b4d71ec7 100644 --- a/frontend/infra/idl/idl2ts-runtime/src/types.ts +++ b/frontend/infra/idl/idl2ts-runtime/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface IMeta { reqType: string; resType: string; diff --git a/frontend/infra/idl/idl2ts-runtime/src/utils.ts b/frontend/infra/idl/idl2ts-runtime/src/utils.ts index 12f42b38..b574c88e 100644 --- a/frontend/infra/idl/idl2ts-runtime/src/utils.ts +++ b/frontend/infra/idl/idl2ts-runtime/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import qs from 'qs'; import type { IMeta } from './types'; diff --git a/frontend/infra/idl/idl2ts-runtime/vitest.config.ts b/frontend/infra/idl/idl2ts-runtime/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/infra/idl/idl2ts-runtime/vitest.config.ts +++ b/frontend/infra/idl/idl2ts-runtime/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/infra/plugins/import-watch-loader/package.json b/frontend/infra/plugins/import-watch-loader/package.json index 9e3749b7..6d89ac6a 100644 --- a/frontend/infra/plugins/import-watch-loader/package.json +++ b/frontend/infra/plugins/import-watch-loader/package.json @@ -19,3 +19,4 @@ "vitest": "~3.0.5" } } + diff --git a/frontend/infra/plugins/pkg-root-webpack-plugin/__tests__/index.test.ts b/frontend/infra/plugins/pkg-root-webpack-plugin/__tests__/index.test.ts index 97117c02..b86ba011 100644 --- a/frontend/infra/plugins/pkg-root-webpack-plugin/__tests__/index.test.ts +++ b/frontend/infra/plugins/pkg-root-webpack-plugin/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { RushConfiguration } from '@rushstack/rush-sdk'; import OriginPkgRootWebpackPlugin from '@coze-arch/pkg-root-webpack-plugin-origin'; diff --git a/frontend/infra/plugins/pkg-root-webpack-plugin/lib/index.d.ts b/frontend/infra/plugins/pkg-root-webpack-plugin/lib/index.d.ts index cdf3a723..a371e44f 100644 --- a/frontend/infra/plugins/pkg-root-webpack-plugin/lib/index.d.ts +++ b/frontend/infra/plugins/pkg-root-webpack-plugin/lib/index.d.ts @@ -1,7 +1,23 @@ +/* + * Copyright 2025 coze-dev Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import OriginPkgRootWebpackPlugin from '@coze-arch/pkg-root-webpack-plugin-origin'; type PkgRootWebpackPluginOptions = Record; declare class PkgRootWebpackPlugin extends OriginPkgRootWebpackPlugin { - constructor(options?: Partial); + constructor(options?: Partial); } export default PkgRootWebpackPlugin; export { PkgRootWebpackPlugin }; diff --git a/frontend/infra/plugins/pkg-root-webpack-plugin/src/index.ts b/frontend/infra/plugins/pkg-root-webpack-plugin/src/index.ts index 8497d3e2..040f881a 100644 --- a/frontend/infra/plugins/pkg-root-webpack-plugin/src/index.ts +++ b/frontend/infra/plugins/pkg-root-webpack-plugin/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RushConfiguration } from '@rushstack/rush-sdk'; const getRushConfiguration = (() => { diff --git a/frontend/infra/plugins/pkg-root-webpack-plugin/vitest.config.ts b/frontend/infra/plugins/pkg-root-webpack-plugin/vitest.config.ts index 3f0d10da..8c69bd49 100644 --- a/frontend/infra/plugins/pkg-root-webpack-plugin/vitest.config.ts +++ b/frontend/infra/plugins/pkg-root-webpack-plugin/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // FIXME: Unable to resolve path to module 'vitest/config' import { defaultExclude } from 'vitest/config'; import { defineConfig } from '@coze-arch/vitest-config'; diff --git a/frontend/infra/utils/fs-enhance/__tests__/file-enhance.test.ts b/frontend/infra/utils/fs-enhance/__tests__/file-enhance.test.ts index cad172bc..cdd5bce6 100644 --- a/frontend/infra/utils/fs-enhance/__tests__/file-enhance.test.ts +++ b/frontend/infra/utils/fs-enhance/__tests__/file-enhance.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import fs from 'fs/promises'; import { parse as parseYaml } from 'yaml'; diff --git a/frontend/infra/utils/fs-enhance/src/index.ts b/frontend/infra/utils/fs-enhance/src/index.ts index 13f991ff..302dcfa3 100644 --- a/frontend/infra/utils/fs-enhance/src/index.ts +++ b/frontend/infra/utils/fs-enhance/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import fs from 'fs/promises'; import { parse as parseYaml } from 'yaml'; diff --git a/frontend/infra/utils/fs-enhance/vitest.config.ts b/frontend/infra/utils/fs-enhance/vitest.config.ts index 6df3ca35..ce4f691c 100644 --- a/frontend/infra/utils/fs-enhance/vitest.config.ts +++ b/frontend/infra/utils/fs-enhance/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/infra/utils/monorepo-kits/src/index.ts b/frontend/infra/utils/monorepo-kits/src/index.ts index b5102f6d..c141203c 100644 --- a/frontend/infra/utils/monorepo-kits/src/index.ts +++ b/frontend/infra/utils/monorepo-kits/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { lookupSubPackages, getPackageLocation, diff --git a/frontend/infra/utils/monorepo-kits/src/lookup.ts b/frontend/infra/utils/monorepo-kits/src/lookup.ts index 3d5f399e..9b9e7d65 100644 --- a/frontend/infra/utils/monorepo-kits/src/lookup.ts +++ b/frontend/infra/utils/monorepo-kits/src/lookup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getRushConfiguration } from './rush-config'; export const lookupTo = (to: string) => { diff --git a/frontend/infra/utils/monorepo-kits/src/rush-config.ts b/frontend/infra/utils/monorepo-kits/src/rush-config.ts index 43af4151..4187e9ec 100644 --- a/frontend/infra/utils/monorepo-kits/src/rush-config.ts +++ b/frontend/infra/utils/monorepo-kits/src/rush-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RushConfiguration } from '@rushstack/rush-sdk'; export const getRushConfiguration = (() => { diff --git a/frontend/infra/utils/monorepo-kits/src/sub-packages.ts b/frontend/infra/utils/monorepo-kits/src/sub-packages.ts index 2a37acc4..858a111c 100644 --- a/frontend/infra/utils/monorepo-kits/src/sub-packages.ts +++ b/frontend/infra/utils/monorepo-kits/src/sub-packages.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RushConfigurationProject } from '@rushstack/rush-sdk'; import { getRushConfiguration } from './rush-config'; diff --git a/frontend/infra/utils/monorepo-kits/vitest.config.ts b/frontend/infra/utils/monorepo-kits/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/infra/utils/monorepo-kits/vitest.config.ts +++ b/frontend/infra/utils/monorepo-kits/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/infra/utils/rush-logger/__tests__/logger.test.ts b/frontend/infra/utils/rush-logger/__tests__/logger.test.ts index d7f895a0..c1f17f64 100644 --- a/frontend/infra/utils/rush-logger/__tests__/logger.test.ts +++ b/frontend/infra/utils/rush-logger/__tests__/logger.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; const mockWriteLine = vi.fn(); diff --git a/frontend/infra/utils/rush-logger/src/index.ts b/frontend/infra/utils/rush-logger/src/index.ts index e657ec62..59fc2ec0 100644 --- a/frontend/infra/utils/rush-logger/src/index.ts +++ b/frontend/infra/utils/rush-logger/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Colors, ConsoleTerminalProvider, diff --git a/frontend/infra/utils/rush-logger/vitest.config.ts b/frontend/infra/utils/rush-logger/vitest.config.ts index 6df3ca35..ce4f691c 100644 --- a/frontend/infra/utils/rush-logger/vitest.config.ts +++ b/frontend/infra/utils/rush-logger/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/hooks/use-auth-fail.ts b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/hooks/use-auth-fail.ts index d5a37574..77655617 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/hooks/use-auth-fail.ts +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/hooks/use-auth-fail.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/hooks/use-get-bot-info.ts b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/hooks/use-get-bot-info.ts index 285f9bef..425abde2 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/hooks/use-get-bot-info.ts +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/hooks/use-get-bot-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, useParams } from 'react-router-dom'; import { useEffect, useCallback } from 'react'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/index.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/index.tsx index 55139b6b..3b086e27 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/index.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, useParams } from 'react-router-dom'; import { useMemo, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-result/component/publish-result-area/index.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-result/component/publish-result-area/index.tsx index eebcca79..3b457a7f 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-result/component/publish-result-area/index.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-result/component/publish-result-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactMarkdown from 'react-markdown'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-result/typings.ts b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-result/typings.ts index 448b811d..8864c1b2 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-result/typings.ts +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-result/typings.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PublishConnectorInfo, type PublishResultStatus, diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/context/index.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/context/index.tsx index 88653355..ed0579ab 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/context/index.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/context/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; export const PublishTableContext = createContext<{ diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/get-connector-selectable.ts b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/get-connector-selectable.ts index 1b552c9b..896a6477 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/get-connector-selectable.ts +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/get-connector-selectable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PublisherBotInfo } from '@coze-agent-ide/space-bot'; import { BotConnectorStatus, diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/hooks/use-connectors-publish.ts b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/hooks/use-connectors-publish.ts index d8c7660b..20e87512 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/hooks/use-connectors-publish.ts +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/hooks/use-connectors-publish.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { useLockFn, useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/index.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/index.tsx index 35989ef4..32479d03 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/index.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useParams } from 'react-router-dom'; import { @@ -36,7 +36,10 @@ import { getPublishResult, } from '@coze-agent-ide/space-bot'; import { I18n } from '@coze-arch/i18n'; -import { IconCozEmpty, IconCozInfoCircleFill } from '@coze-arch/coze-design/icons'; +import { + IconCozEmpty, + IconCozInfoCircleFill, +} from '@coze-arch/coze-design/icons'; import { Tooltip } from '@coze-arch/coze-design'; import { type DynamicParams } from '@coze-arch/bot-typings/teamspace'; import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/config-status.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/config-status.tsx index 7f501489..965498cc 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/config-status.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/config-status.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Tag, diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/api-bind-button.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/api-bind-button.tsx index f8a2dda8..233c1369 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/api-bind-button.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/api-bind-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { PatBody } from '@coze-studio/open-auth'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/index.ts b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/index.ts index 235a2a49..4f233d19 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/index.ts +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { StoreBind } from './store-bind'; export { ApiBindButton } from './api-bind-button'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/store-bind.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/store-bind.tsx index 506e9b9e..252e70c0 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/store-bind.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/connector-action/store-bind.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useParams } from 'react-router-dom'; import { useEffect, type SetStateAction, useState } from 'react'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/get-config-status.ts b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/get-config-status.ts index 6a6673eb..88f31d3d 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/get-config-status.ts +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/get-config-status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { reporter } from '@coze-arch/logger'; import { I18n } from '@coze-arch/i18n'; import { type TagColor } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/hooks/use-auth-success.ts b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/hooks/use-auth-success.ts index 5e888a8d..36d24418 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/hooks/use-auth-success.ts +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/hooks/use-auth-success.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/index.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/index.tsx index f0278e00..9912a06f 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/index.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useMemo, useState } from 'react'; import { partition } from 'lodash-es'; @@ -26,7 +26,10 @@ import { } from '@coze-agent-ide/space-bot'; import { MonetizePublishInfo } from '@coze-studio/components/monetize'; import { I18n } from '@coze-arch/i18n'; -import { IconCozArrowRight, IconCozDiamondFill } from '@coze-arch/coze-design/icons'; +import { + IconCozArrowRight, + IconCozDiamondFill, +} from '@coze-arch/coze-design/icons'; import { Tooltip } from '@coze-arch/coze-design'; import { type ColumnProps } from '@coze-arch/bot-semi/Table'; import { Avatar, Space, Typography, UITable } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/plugin-limit-tooltip.tsx b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/plugin-limit-tooltip.tsx index 59e856d3..e9e8eb3b 100644 --- a/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/plugin-limit-tooltip.tsx +++ b/frontend/packages/agent-ide/agent-publish/src/components/bot-publish/publish-table/table-collection/plugin-limit-tooltip.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/agent-ide/agent-publish/src/index.ts b/frontend/packages/agent-ide/agent-publish/src/index.ts index 00e4e893..84454cad 100644 --- a/frontend/packages/agent-ide/agent-publish/src/index.ts +++ b/frontend/packages/agent-ide/agent-publish/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AgentPublishPage } from './components/bot-publish'; diff --git a/frontend/packages/agent-ide/agent-publish/src/typings.d.ts b/frontend/packages/agent-ide/agent-publish/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/agent-publish/src/typings.d.ts +++ b/frontend/packages/agent-ide/agent-publish/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/agent-publish/vitest.config.ts b/frontend/packages/agent-ide/agent-publish/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/agent-publish/vitest.config.ts +++ b/frontend/packages/agent-ide/agent-publish/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-audit-adapter/__tests__/index.test.ts b/frontend/packages/agent-ide/bot-audit-adapter/__tests__/index.test.ts index 783c96c6..40d8f72c 100644 --- a/frontend/packages/agent-ide/bot-audit-adapter/__tests__/index.test.ts +++ b/frontend/packages/agent-ide/bot-audit-adapter/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + describe('Hello World', () => { it('test', () => { expect(1).toBe(1); diff --git a/frontend/packages/agent-ide/bot-audit-adapter/package.json b/frontend/packages/agent-ide/bot-audit-adapter/package.json index 8e311d00..2780d723 100644 --- a/frontend/packages/agent-ide/bot-audit-adapter/package.json +++ b/frontend/packages/agent-ide/bot-audit-adapter/package.json @@ -13,12 +13,12 @@ "test:cov": "npm run test -- --coverage" }, "dependencies": { - "@coze-studio/bot-audit-base": "workspace:*", - "@coze-studio/bot-detail-store": "workspace:*", "@coze-arch/bot-api": "workspace:*", "@coze-arch/bot-flags": "workspace:*", "@coze-arch/bot-space-api": "workspace:*", - "@coze-arch/i18n": "workspace:*" + "@coze-arch/i18n": "workspace:*", + "@coze-studio/bot-audit-base": "workspace:*", + "@coze-studio/bot-detail-store": "workspace:*" }, "devDependencies": { "@coze-arch/bot-typings": "workspace:*", diff --git a/frontend/packages/agent-ide/bot-audit-adapter/src/hooks/use-bot-audit/index.ts b/frontend/packages/agent-ide/bot-audit-adapter/src/hooks/use-bot-audit/index.ts index 4e7c63b4..bb6ad1bf 100644 --- a/frontend/packages/agent-ide/bot-audit-adapter/src/hooks/use-bot-audit/index.ts +++ b/frontend/packages/agent-ide/bot-audit-adapter/src/hooks/use-bot-audit/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { diff --git a/frontend/packages/agent-ide/bot-audit-adapter/src/index.ts b/frontend/packages/agent-ide/bot-audit-adapter/src/index.ts index 8855b32b..76c78734 100644 --- a/frontend/packages/agent-ide/bot-audit-adapter/src/index.ts +++ b/frontend/packages/agent-ide/bot-audit-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { botInfoAudit, useBotInfoAuditor } from './hooks/use-bot-audit'; export { AuditErrorMessage } from '@coze-studio/bot-audit-base'; diff --git a/frontend/packages/agent-ide/bot-audit-adapter/src/typings.d.ts b/frontend/packages/agent-ide/bot-audit-adapter/src/typings.d.ts index 0282ab2c..650fa832 100644 --- a/frontend/packages/agent-ide/bot-audit-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-audit-adapter/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.less' { const resource: { [key: string]: string }; diff --git a/frontend/packages/agent-ide/bot-audit-adapter/vitest.config.ts b/frontend/packages/agent-ide/bot-audit-adapter/vitest.config.ts index 6df3ca35..ce4f691c 100644 --- a/frontend/packages/agent-ide/bot-audit-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-audit-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-audit-base/src/components/audit-error-message/index.tsx b/frontend/packages/agent-ide/bot-audit-base/src/components/audit-error-message/index.tsx index f19beda3..898497dc 100644 --- a/frontend/packages/agent-ide/bot-audit-base/src/components/audit-error-message/index.tsx +++ b/frontend/packages/agent-ide/bot-audit-base/src/components/audit-error-message/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-audit-base/src/index.ts b/frontend/packages/agent-ide/bot-audit-base/src/index.ts index 4218279e..0f2f02d5 100644 --- a/frontend/packages/agent-ide/bot-audit-base/src/index.ts +++ b/frontend/packages/agent-ide/bot-audit-base/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AuditErrorMessage } from './components/audit-error-message'; export { UseBotInfoAuditorHook, BotInfoAuditFunc } from './interfaces'; diff --git a/frontend/packages/agent-ide/bot-audit-base/src/interfaces/index.ts b/frontend/packages/agent-ide/bot-audit-base/src/interfaces/index.ts index 1d1339c8..0cfb81a0 100644 --- a/frontend/packages/agent-ide/bot-audit-base/src/interfaces/index.ts +++ b/frontend/packages/agent-ide/bot-audit-base/src/interfaces/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { diff --git a/frontend/packages/agent-ide/bot-audit-base/src/typings.d.ts b/frontend/packages/agent-ide/bot-audit-base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/bot-audit-base/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-audit-base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/bot-audit-base/vitest.config.ts b/frontend/packages/agent-ide/bot-audit-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/bot-audit-base/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-audit-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-config-area-adapter/src/bot-config-area.tsx b/frontend/packages/agent-ide/bot-config-area-adapter/src/bot-config-area.tsx index 9556de6c..2cb64587 100644 --- a/frontend/packages/agent-ide/bot-config-area-adapter/src/bot-config-area.tsx +++ b/frontend/packages/agent-ide/bot-config-area-adapter/src/bot-config-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { ToolMenu } from '@coze-agent-ide/tool'; diff --git a/frontend/packages/agent-ide/bot-config-area-adapter/src/index.tsx b/frontend/packages/agent-ide/bot-config-area-adapter/src/index.tsx index 11b87ebf..546ef790 100644 --- a/frontend/packages/agent-ide/bot-config-area-adapter/src/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BotConfigArea } from './bot-config-area'; export { SingleAgentModelView } from './model-config-view/single-agent-model-view'; diff --git a/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/index.tsx b/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/index.tsx index acf2a650..4f06f094 100644 --- a/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModelConfigView } from './model-config-view'; diff --git a/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/model-config-view.tsx b/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/model-config-view.tsx index 75f241fc..302693bc 100644 --- a/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/model-config-view.tsx +++ b/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/model-config-view.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { BotMode } from '@coze-arch/bot-api/playground_api'; import { useGetSingleAgentCurrentModel } from '@coze-agent-ide/model-manager'; diff --git a/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/single-agent-model-view/index.tsx b/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/single-agent-model-view/index.tsx index f27ee161..94dcd1eb 100644 --- a/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/single-agent-model-view/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area-adapter/src/model-config-view/single-agent-model-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Image } from '@coze-arch/bot-semi'; import { Collapsible } from '@coze-studio/components/collapsible-icon-button'; diff --git a/frontend/packages/agent-ide/bot-config-area-adapter/src/typings.d.ts b/frontend/packages/agent-ide/bot-config-area-adapter/src/typings.d.ts index a6b254cf..68b3b485 100644 --- a/frontend/packages/agent-ide/bot-config-area-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-config-area-adapter/src/typings.d.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_OVERSEA: boolean; diff --git a/frontend/packages/agent-ide/bot-config-area-adapter/stories/demo.stories.tsx b/frontend/packages/agent-ide/bot-config-area-adapter/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/agent-ide/bot-config-area-adapter/stories/demo.stories.tsx +++ b/frontend/packages/agent-ide/bot-config-area-adapter/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/agent-ide/bot-config-area-adapter/vitest.config.ts b/frontend/packages/agent-ide/bot-config-area-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/bot-config-area-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-config-area-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-config-area/src/index.ts b/frontend/packages/agent-ide/bot-config-area/src/index.ts index c08b2636..aab11302 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/index.ts +++ b/frontend/packages/agent-ide/bot-config-area/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DialogueConfigView } from './model-config-view/dialogue-config-view'; export { SingleAgentModelView } from './model-config-view/single-agent-model-view'; export { MonetizeConfigButton } from './monetize-config/button'; diff --git a/frontend/packages/agent-ide/bot-config-area/src/model-config-view/dialogue-config-view/index.tsx b/frontend/packages/agent-ide/bot-config-area/src/model-config-view/dialogue-config-view/index.tsx index ffcb3ddf..c31dd815 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/model-config-view/dialogue-config-view/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/model-config-view/dialogue-config-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/bot-config-area/src/model-config-view/index.tsx b/frontend/packages/agent-ide/bot-config-area/src/model-config-view/index.tsx index e704377e..f06cf1ee 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/model-config-view/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/model-config-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DialogueConfigView } from './dialogue-config-view'; export { SingleAgentModelView } from './single-agent-model-view'; export { ModelConfigView } from './model-config-view'; diff --git a/frontend/packages/agent-ide/bot-config-area/src/model-config-view/model-config-view.tsx b/frontend/packages/agent-ide/bot-config-area/src/model-config-view/model-config-view.tsx index 4e530fc9..1822de88 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/model-config-view/model-config-view.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/model-config-view/model-config-view.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { BotMode } from '@coze-arch/bot-api/playground_api'; import { useGetSingleAgentCurrentModel } from '@coze-agent-ide/model-manager'; diff --git a/frontend/packages/agent-ide/bot-config-area/src/model-config-view/single-agent-model-view/index.tsx b/frontend/packages/agent-ide/bot-config-area/src/model-config-view/single-agent-model-view/index.tsx index 4e1f3f3c..b9164ff2 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/model-config-view/single-agent-model-view/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/model-config-view/single-agent-model-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/bot-config-area/src/monetize-config/button/index.tsx b/frontend/packages/agent-ide/bot-config-area/src/monetize-config/button/index.tsx index b680d3b7..2b2dc3c2 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/monetize-config/button/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/monetize-config/button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CollapsibleIconButton } from '@coze-studio/components/collapsible-icon-button'; import { useMonetizeConfigStore } from '@coze-studio/bot-detail-store'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-config-area/src/monetize-config/panel/index.tsx b/frontend/packages/agent-ide/bot-config-area/src/monetize-config/panel/index.tsx index 6e937c3f..0d277b9d 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/monetize-config/panel/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/monetize-config/panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDebounceFn } from 'ahooks'; import { useMonetizeConfigReadonly } from '@coze-agent-ide/space-bot/hook'; import { diff --git a/frontend/packages/agent-ide/bot-config-area/src/query-collect/generate-by-template.tsx b/frontend/packages/agent-ide/bot-config-area/src/query-collect/generate-by-template.tsx index 8cf7c5c2..88ceec66 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/query-collect/generate-by-template.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/query-collect/generate-by-template.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type MouseEvent, useEffect, useRef, useState } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-config-area/src/query-collect/index.tsx b/frontend/packages/agent-ide/bot-config-area/src/query-collect/index.tsx index e8fe7cda..f2f5a241 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/query-collect/index.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/query-collect/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect, useRef, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; @@ -69,7 +69,7 @@ export const QueryCollect: FC = () => { const { data: { check_not_pass_msg, check_not_pass }, } = await updateQueryCollect(queryCollectConf); - privacyErrMsg.current = check_not_pass ? (check_not_pass_msg ?? '') : ''; + privacyErrMsg.current = check_not_pass ? check_not_pass_msg ?? '' : ''; await formApi.current?.validate(); setQueryCollect(queryCollectConf); setVisible(false); diff --git a/frontend/packages/agent-ide/bot-config-area/src/query-collect/tips.tsx b/frontend/packages/agent-ide/bot-config-area/src/query-collect/tips.tsx index 205c0d19..c7516e93 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/query-collect/tips.tsx +++ b/frontend/packages/agent-ide/bot-config-area/src/query-collect/tips.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; import { Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/bot-config-area/src/typings.d.ts b/frontend/packages/agent-ide/bot-config-area/src/typings.d.ts index a6b254cf..68b3b485 100644 --- a/frontend/packages/agent-ide/bot-config-area/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-config-area/src/typings.d.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_OVERSEA: boolean; diff --git a/frontend/packages/agent-ide/bot-config-area/stories/demo.stories.tsx b/frontend/packages/agent-ide/bot-config-area/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/agent-ide/bot-config-area/stories/demo.stories.tsx +++ b/frontend/packages/agent-ide/bot-config-area/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/agent-ide/bot-config-area/vitest.config.ts b/frontend/packages/agent-ide/bot-config-area/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/bot-config-area/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-config-area/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/context.tsx b/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/context.tsx index 3dccc50f..e2506aaf 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/context.tsx +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, createContext, useEffect } from 'react'; import { useCreation } from 'ahooks'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/index.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/index.ts index 2fd4aa62..42d42cb0 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/index.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { recordExhaustiveCheck } from '../../utils/exhaustive-check'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/type.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/type.ts index a59760a9..71463300 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/type.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/context/bot-editor-context/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnboardingDirtyLogicCompatibilityStore } from '../../store/onboarding-dirty-logic-compatibility'; import { type NLPromptModalStore } from '../../store/nl-prompt-modal'; import { type ModelStore } from '../../store/model'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/hooks/model-capability/index.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/hooks/model-capability/index.ts index 6ad55545..7956921b 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/hooks/model-capability/index.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/hooks/model-capability/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useMultiAgentStore } from '@coze-studio/bot-detail-store/multi-agent'; import { useModelStore as useBotDetailModelStore } from '@coze-studio/bot-detail-store/model'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/index.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/index.ts index 5f69ae00..1ba7f549 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/index.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBotEditor } from './context/bot-editor-context/index'; export { BotEditorContextProvider } from './context/bot-editor-context/context'; export { diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/store/bot-plugins.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/store/bot-plugins.ts index f3faf325..37c8217f 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/store/bot-plugins.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/store/bot-plugins.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { type PluginInfoForPlayground } from '@coze-arch/bot-api/plugin_develop'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/store/dataset.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/store/dataset.ts index 471a602b..b61fd1a5 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/store/dataset.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/store/dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { type Dataset } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/store/free-grab-modal-hierarchy.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/store/free-grab-modal-hierarchy.ts index 51267a3c..11b94b20 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/store/free-grab-modal-hierarchy.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/store/free-grab-modal-hierarchy.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/store/helpers/get-model-preset-values.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/store/helpers/get-model-preset-values.ts index 532e50a1..466d3f43 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/store/helpers/get-model-preset-values.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/store/helpers/get-model-preset-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Model } from '@coze-arch/bot-api/developer_api'; import { type ModelPresetValues } from '../type'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/store/model.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/store/model.ts index 1e2c3729..20f1d323 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/store/model.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/store/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { shallow } from 'zustand/vanilla/shallow'; import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/store/nl-prompt-modal.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/store/nl-prompt-modal.ts index 14b601d2..67ace657 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/store/nl-prompt-modal.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/store/nl-prompt-modal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/store/onboarding-dirty-logic-compatibility.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/store/onboarding-dirty-logic-compatibility.ts index 457c70e5..987b71a9 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/store/onboarding-dirty-logic-compatibility.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/store/onboarding-dirty-logic-compatibility.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/store/type.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/store/type.ts index 01d9bd7b..e968c110 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/store/type.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/store/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ExtendOnboardingContent } from '@coze-studio/bot-detail-store'; export type BotEditorOnboardingSuggestion = ExtendOnboardingContent['suggested_questions'][number]; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/typings.d.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/utils/exhaustive-check.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/utils/exhaustive-check.ts index a68d4987..5547b892 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/utils/exhaustive-check.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/utils/exhaustive-check.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const primitiveExhaustiveCheck = (_: never) => 0; export const recordExhaustiveCheck = (_: Record) => 0; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model-capability/index.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model-capability/index.ts index d3505426..0bd5fc39 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model-capability/index.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model-capability/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Model, ModelFuncConfigType, diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model/convert-model-value-type.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model/convert-model-value-type.ts index 5b42b920..56348fd9 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model/convert-model-value-type.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model/convert-model-value-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ModelParamType } from '@coze-arch/bot-api/developer_api'; import { primitiveExhaustiveCheck } from '../exhaustive-check'; diff --git a/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model/get-model-by-id.ts b/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model/get-model-by-id.ts index 973acb4f..4272d164 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model/get-model-by-id.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/src/utils/model/get-model-by-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Model } from '@coze-arch/bot-api/developer_api'; export const getModelById = ({ diff --git a/frontend/packages/agent-ide/bot-editor-context-store/vitest.config.ts b/frontend/packages/agent-ide/bot-editor-context-store/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/bot-editor-context-store/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-editor-context-store/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-input-length-limit/__tests__/services.test.ts b/frontend/packages/agent-ide/bot-input-length-limit/__tests__/services.test.ts index e5cf899c..7411c9eb 100644 --- a/frontend/packages/agent-ide/bot-input-length-limit/__tests__/services.test.ts +++ b/frontend/packages/agent-ide/bot-input-length-limit/__tests__/services.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { diff --git a/frontend/packages/agent-ide/bot-input-length-limit/src/index.ts b/frontend/packages/agent-ide/bot-input-length-limit/src/index.ts index 19e3cba1..8cb7c72d 100644 --- a/frontend/packages/agent-ide/bot-input-length-limit/src/index.ts +++ b/frontend/packages/agent-ide/bot-input-length-limit/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { botInputLengthService } from './services'; diff --git a/frontend/packages/agent-ide/bot-input-length-limit/src/services/constants.ts b/frontend/packages/agent-ide/bot-input-length-limit/src/services/constants.ts index f3e3ff5d..bf8744cc 100644 --- a/frontend/packages/agent-ide/bot-input-length-limit/src/services/constants.ts +++ b/frontend/packages/agent-ide/bot-input-length-limit/src/services/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BotInputLengthConfig } from './type'; const CN_INPUT_LENGTH_CONFIG: BotInputLengthConfig = { diff --git a/frontend/packages/agent-ide/bot-input-length-limit/src/services/index.ts b/frontend/packages/agent-ide/bot-input-length-limit/src/services/index.ts index 9a45df17..16f802ac 100644 --- a/frontend/packages/agent-ide/bot-input-length-limit/src/services/index.ts +++ b/frontend/packages/agent-ide/bot-input-length-limit/src/services/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import GraphemeSplitter from 'grapheme-splitter'; diff --git a/frontend/packages/agent-ide/bot-input-length-limit/src/services/type.ts b/frontend/packages/agent-ide/bot-input-length-limit/src/services/type.ts index 2bc3962b..c17cb0ed 100644 --- a/frontend/packages/agent-ide/bot-input-length-limit/src/services/type.ts +++ b/frontend/packages/agent-ide/bot-input-length-limit/src/services/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SuggestedQuestionsShowMode } from '@coze-arch/bot-api/playground_api'; export interface BotInputLengthConfig { diff --git a/frontend/packages/agent-ide/bot-input-length-limit/src/typings.d.ts b/frontend/packages/agent-ide/bot-input-length-limit/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/bot-input-length-limit/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-input-length-limit/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/bot-input-length-limit/vitest.config.ts b/frontend/packages/agent-ide/bot-input-length-limit/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/bot-input-length-limit/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-input-length-limit/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-plugin/entry/__tests__/hook/auth/use-auth-for-api-tool.test.ts b/frontend/packages/agent-ide/bot-plugin/entry/__tests__/hook/auth/use-auth-for-api-tool.test.ts index aaf51926..ccbd6570 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/__tests__/hook/auth/use-auth-for-api-tool.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/__tests__/hook/auth/use-auth-for-api-tool.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it, vi } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; import { OAuthStatus } from '@coze-arch/bot-api/plugin_develop'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/__tests__/setup.ts b/frontend/packages/agent-ide/bot-plugin/entry/__tests__/setup.ts index ea41ee54..8ecb9f15 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/__tests__/setup.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/__tests__/setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; vi.mock('@coze-arch/logger', () => ({ diff --git a/frontend/packages/agent-ide/bot-plugin/entry/__tests__/util/get-env.test.ts b/frontend/packages/agent-ide/bot-plugin/entry/__tests__/util/get-env.test.ts index 6345fd77..8f65c281 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/__tests__/util/get-env.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/__tests__/util/get-env.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Introducing our test method import { describe, expect, it, vi } from 'vitest'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/common/index.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/common/index.ts index 00d4fbfe..4d056778 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/common/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/common/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type TagColor } from '@coze-arch/bot-semi/Tag'; import { PluginType } from '@coze-arch/bot-api/plugin_develop'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/check_failed/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/check_failed/index.tsx index 157f80e8..4278d89b 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/check_failed/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/check_failed/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { STARTNODE } from '@coze-agent-ide/bot-plugin-tools/pluginModal/config'; import { PluginDocs } from '@coze-agent-ide/bot-plugin-export/pluginDocs'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/code-snippet/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/code-snippet/index.tsx index 27c690b2..91cbb1b6 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/code-snippet/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/code-snippet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/index.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/components/index.ts index 5193ff71..2b23ef24 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CreateCodePluginModal, CreateFormPluginModal, diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/oauth-action/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/oauth-action/index.tsx index 342a0a77..8fae38a3 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/oauth-action/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/oauth-action/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-len */ import { type FC } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-apis/plugin-modal.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-apis/plugin-modal.tsx index ed93ef18..c7c5b49b 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-apis/plugin-modal.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-apis/plugin-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-apis/use-plugin-apis-modal.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-apis/use-plugin-apis-modal.tsx index 7580ad63..ffe9be19 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-apis/use-plugin-apis-modal.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-apis/use-plugin-apis-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { isNumber } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-header/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-header/index.tsx index 0e604bdd..40ca9a11 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-header/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/index.tsx index 9955d26a..2e49fc08 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type FC, useEffect, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/tool-header.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/tool-header.tsx index c6de95e2..2624e73f 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/tool-header.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/tool-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-base-more.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-base-more.tsx index 2adb3791..8e2c6a2a 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-base-more.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-base-more.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-baseinfo.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-baseinfo.tsx index b82b2340..874187f0 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-baseinfo.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-baseinfo.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-debug.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-debug.tsx index 3af4809d..23491472 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-debug.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-debug.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-request.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-request.tsx index 0649deda..9c199b28 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-request.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-request.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-response.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-response.tsx index b47ca988..8c8077b6 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-response.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/components/plugin-tool-detail/use-content-response.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { useEffect, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/hooks/auth/use-auth-for-api-tool.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/hooks/auth/use-auth-for-api-tool.ts index 73ebb418..2948ff0d 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/hooks/auth/use-auth-for-api-tool.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/hooks/auth/use-auth-for-api-tool.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/hooks/index.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/hooks/index.ts index 5c59b89c..c417cebd 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/hooks/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBotCodeEditInPlugin, useBotFormEditInPlugin, diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/index.tsx index 77bfc154..503ae167 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PLUGIN_TYPE_MAP, PLUGIN_PUBLISH_MAP } from './common'; import PluginHeader from './components/plugin-header'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/index.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/index.ts index 6183869d..603e6c7a 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginDetailPage } from './plugin-id'; export { MockSetDetail } from './mock-set-detail'; export { MockSetList } from './mock-set'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set-detail/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set-detail/index.tsx index 4f9be1b7..98fbf09d 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set-detail/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set-detail/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useNavigate } from 'react-router-dom'; import { useState, useEffect, useMemo, useRef, type FC } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set/get-col.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set/get-col.tsx index 8423ff22..a15ce7e0 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set/get-col.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set/get-col.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { formatDate, formatNumber } from '@coze-arch/bot-utils'; import { type ColumnProps } from '@coze-arch/bot-semi/Table'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set/index.tsx index 13646e87..23da4d2b 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/mock-set/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function */ diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-id/create-tool.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-id/create-tool.tsx index 1dd3dbb8..49d1ab69 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-id/create-tool.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-id/create-tool.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-id/index.tsx b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-id/index.tsx index a7102251..d9a3e1d7 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-id/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-id/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines */ /* eslint-disable max-lines-per-function */ diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-tool-detail/index.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-tool-detail/index.ts index a8cb45c1..3509aece 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-tool-detail/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/pages/plugin-tool-detail/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ToolDetailPage } from '@/components/plugin-tool-detail'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/typings.d.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/util/get-env.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/util/get-env.ts index c2e7f2b0..f2d25cf9 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/util/get-env.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/util/get-env.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function getEnv(): string { if (!IS_PROD) { return 'cn-boe'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/src/util/index.ts b/frontend/packages/agent-ide/bot-plugin/entry/src/util/index.ts index abfa2b35..9e86450f 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/src/util/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/src/util/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PluginApi } from '@coze-arch/bot-api/developer_api'; import { type PluginInfoProps } from '@coze-studio/plugin-shared'; diff --git a/frontend/packages/agent-ide/bot-plugin/entry/vitest.config.ts b/frontend/packages/agent-ide/bot-plugin/entry/vitest.config.ts index 7a49bf0c..abe06a12 100644 --- a/frontend/packages/agent-ide/bot-plugin/entry/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-plugin/entry/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/agent-ide/bot-plugin/export/__tests__/file-import-utils.test.ts b/frontend/packages/agent-ide/bot-plugin/export/__tests__/file-import-utils.test.ts index 698ecb5b..ccec0c9d 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/__tests__/file-import-utils.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/export/__tests__/file-import-utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getFileExtension, getInitialPluginMetaInfo, diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/content/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/content/index.tsx index 47c66c69..75e8c69a 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/content/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type FC, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/hooks.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/hooks.tsx index d5f3a263..0e426ec0 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/hooks.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/sider/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/sider/index.tsx index 12cbf343..0ef1dc19 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/sider/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/sider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import { useDebounceFn } from 'ahooks'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/use-request-cache.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/use-request-cache.tsx index 576b441f..fe3acb6b 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/use-request-cache.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/agent-skill-plugin-modal/use-request-cache.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useEffect } from 'react'; import { setCache, getCache, clearCache } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-code-edit.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-code-edit.tsx index 640c1cd4..65750688 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-code-edit.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-code-edit.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/code-modal.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/code-modal.tsx index cdff906f..8d1bf7f8 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/code-modal.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/code-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/import-modal.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/import-modal.tsx index 4990b735..d92ffc0b 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/import-modal.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/import-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/index.tsx index f6b5c696..94750e86 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/bot-form-edit/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type FC, useMemo, useState, useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/index.ts b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/index.ts index eec6e1d8..18ff4712 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CreateFormPluginModal } from './bot-form-edit'; export { CreateCodePluginModal } from './bot-code-edit'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/plugin-edit/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/plugin-edit/index.tsx index 13f51a6b..c593524d 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/plugin-edit/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/bot_edit/plugin-edit/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useMemo, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/editor/editor.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/editor/editor.tsx index b5b1b4b3..98bc529c 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/editor/editor.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/editor/editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { Editor as MonacoEditor } from '@coze-arch/bot-monaco-editor'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/editor/index.ts b/frontend/packages/agent-ide/bot-plugin/export/src/component/editor/index.ts index 5444c608..c49bc1f0 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/editor/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/editor/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Editor } from './editor'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/const.ts b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/const.ts index 1e0395fb..db755646 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/const.ts +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function getEnv(): string { if (!IS_PROD) { return 'cn-boe'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/import-content.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/import-content.tsx index e2e4a31f..e545fe4e 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/import-content.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/import-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/import-modal.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/import-modal.tsx index 9040210f..d3c86ec4 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/import-modal.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/import-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, useRef } from 'react'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/index.tsx index 554bfbee..1b23295d 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/fields.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/fields.tsx index c0e53a21..148eb640 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/fields.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/fields.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { InputWithCountField } from '@coze-studio/components'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/index.tsx index 4485db9c..b6a3a87a 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/interface.ts b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/interface.ts index bbf3575b..cd5ffb16 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/interface.ts +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/plugin-info-confirm/interface.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RegisterPluginMetaRequest, type AuthorizationType, diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/show-merge-tool.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/show-merge-tool.tsx index a7588aba..b40a422c 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/show-merge-tool.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/show-merge-tool.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { UIModal } from '@coze-arch/bot-semi'; import { IconWarningInfo } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/utils.ts b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/utils.ts index 2afbc71d..edd16d5a 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/utils.ts +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/file-import/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { parse as yamlParse, stringify as yamlStringify } from 'yaml'; import { isObject } from 'lodash-es'; import axios from 'axios'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-docs/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-docs/index.tsx index 5e89aec9..b9e938cd 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-docs/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-docs/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-feat-modal/feat-button/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-feat-modal/feat-button/index.tsx index 3c26b3c8..a9c458b2 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-feat-modal/feat-button/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-feat-modal/feat-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-feat-modal/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-feat-modal/index.tsx index 66395aeb..9790db1d 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-feat-modal/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/component/plugin-feat-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useCallback, useEffect, useRef, useState } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/index.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/index.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/typings.d.ts b/frontend/packages/agent-ide/bot-plugin/export/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-plugin/export/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/bot-plugin/export/vitest.config.ts b/frontend/packages/agent-ide/bot-plugin/export/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-plugin/export/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-gen-tree-branch.test.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-gen-tree-branch.test.ts index 88e86313..1c32bd1d 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-gen-tree-branch.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-gen-tree-branch.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-mock-set-in-setting-modal.test.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-mock-set-in-setting-modal.test.ts index 84bd4c82..9bde04c0 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-mock-set-in-setting-modal.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-mock-set-in-setting-modal.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it, vi } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; import { SpaceType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-save-mock-data.test.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-save-mock-data.test.ts index 56df9bca..fcad0c6d 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-save-mock-data.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/hook/mock-set/use-save-mock-data.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it, vi } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-set/hooks.test.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-set/hooks.test.ts index 89a64d12..e9ffc928 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-set/hooks.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-set/hooks.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { type BizCtx, diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-set/utils.test.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-set/utils.test.ts index f0c0dc10..6f6759f7 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-set/utils.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-set/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BizCtx, ComponentType, diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-utils.test.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-utils.test.ts index da7e993f..2df45d86 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-utils.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/mock-utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash-es'; import { type JSONSchema7 } from 'json-schema'; import { diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/setup.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/setup.ts index 63cbafd6..d434c7eb 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/setup.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; vi.stubGlobal('IS_DEV_MODE', false); diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/use-trans-schema.test.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/use-trans-schema.test.ts index 666c1674..8fac14f4 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/use-trans-schema.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/use-trans-schema.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { useTransSchema } from '../src/hook/use-trans-schema'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/util/mock-set/get-mock-set-options.test.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/util/mock-set/get-mock-set-options.test.ts index cc2251a3..74aa3f6f 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/util/mock-set/get-mock-set-options.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/__tests__/util/mock-set/get-mock-set-options.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it, vi } from 'vitest'; import { getMockSetReqOptions } from '../../../src/util/get-mock-set-options'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/const.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/const.ts index 7d2b4fd4..626f0096 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/const.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const REAL_DATA_ID = '0'; @@ -31,4 +31,3 @@ export const POLLING_INTERVAL = 10000; export const DELAY_TIME = 2000; export const CONNECTOR_ID = '10000010'; - diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/hooks/store.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/hooks/store.ts index 1b18541b..52c2d791 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/hooks/store.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/hooks/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { create } from 'zustand'; import { produce } from 'immer'; import { diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/hooks/use-get-mockset.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/hooks/use-get-mockset.ts index 8367fb11..a88bf9fb 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/hooks/use-get-mockset.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/hooks/use-get-mockset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/long-text-with-tooltip/index.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/long-text-with-tooltip/index.tsx index 4585b97e..ee7bfc90 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/long-text-with-tooltip/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/long-text-with-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { type Ellipsis, type TextProps } from '@coze-arch/bot-semi/Typography'; import { Typography } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-card/index.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-card/index.tsx index eb460feb..06f9c6ea 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-card/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-create-card.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-create-card.tsx index 081cbede..8fd3c37d 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-create-card.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-create-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useParams } from 'react-router-dom'; import { useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-list.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-list.tsx index 4f27a63e..ff5cb57b 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-list.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useParams } from 'react-router-dom'; import { diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-page-breadcrumb.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-page-breadcrumb.tsx index 60bfad72..16df225e 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-page-breadcrumb.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-data-page-breadcrumb.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { UIBreadcrumb } from '@coze-studio/components'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-select/index.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-select/index.tsx index c1c484b2..1f3fe8e2 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-select/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable max-lines */ diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-select/option-item.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-select/option-item.tsx index 87227453..68ea794b 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-select/option-item.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-select/option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-set-intro.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-set-intro.tsx index b6453e08..758f612b 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-set-intro.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mock-set-intro.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mockset-delete-modal/index.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mockset-delete-modal/index.tsx index 2c5ad9d0..cbc8eb4b 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mockset-delete-modal/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/mockset-delete-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/space-holder/index.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/space-holder/index.tsx index 02407175..4d8cf87a 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/space-holder/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/component/space-holder/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function SpaceHolder({ height, width, diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/edenx-app-env.d.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/edenx-app-env.d.ts index fc7830b2..2d54759a 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/edenx-app-env.d.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/edenx-app-env.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module 'card-builder-sdk/*'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-gen-tree-branch.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-gen-tree-branch.ts index eca5648b..b853cf93 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-gen-tree-branch.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-gen-tree-branch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-mock-set-in-setting-modal.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-mock-set-in-setting-modal.ts index cb08ddd4..39c628ec 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-mock-set-in-setting-modal.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-mock-set-in-setting-modal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function */ import { useEffect, useMemo, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-save-mock-data.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-save-mock-data.ts index 776e3167..49005d08 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-save-mock-data.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-save-mock-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { withSlardarIdButton } from '@coze-studio/bot-utils'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-trans-schema.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-trans-schema.ts index 6ed9ceb4..0ac9e34b 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-trans-schema.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/hook/use-trans-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo } from 'react'; import { safeJSONParse } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/index.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/index.tsx index e6599890..f7dd859e 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // export { DemoComponent } from './demo'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/typings.d.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/get-mock-set-options.tsx b/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/get-mock-set-options.tsx index 24c7d6b7..53efe7d2 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/get-mock-set-options.tsx +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/get-mock-set-options.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; import { getFlags } from '@coze-arch/bot-flags'; import { BotMode } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/index.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/index.ts index f5236f8f..df748308 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // @ts-expect-error -- linter-disable-autofix import { isEqual } from 'lodash-es'; import { safeJSONParse } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/typings.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/typings.ts index 31cfb4e3..00f178a8 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/typings.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/typings.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MockRule } from '@coze-arch/bot-api/debugger_api'; export enum MockDataValueType { diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/utils.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/utils.ts index b6c00e88..bc921014 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/utils.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/src/util/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getArrayItemKey, getMockValue, diff --git a/frontend/packages/agent-ide/bot-plugin/mock-set/vitest.config.ts b/frontend/packages/agent-ide/bot-plugin/mock-set/vitest.config.ts index 860c1662..52d0a5a7 100644 --- a/frontend/packages/agent-ide/bot-plugin/mock-set/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-plugin/mock-set/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/global.d.ts b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/global.d.ts +++ b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/index.tsx b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/index.tsx index 36a1fcc2..7791c627 100644 --- a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Modal } from '@coze-arch/bot-semi'; import { diff --git a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/store.ts b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/store.ts index 8b038bbb..0fe6caf5 100644 --- a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/store.ts +++ b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/src/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/stories/demo.stories.tsx b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/stories/demo.stories.tsx +++ b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/vitest.config.ts b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-plugin/plugin-risk-warning/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/bot-plugin/tools/__tests__/hook/example/utils.test.ts b/frontend/packages/agent-ide/bot-plugin/tools/__tests__/hook/example/utils.test.ts index de9b50c2..836070ea 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/__tests__/hook/example/utils.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/__tests__/hook/example/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it, vi } from 'vitest'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/__tests__/hook/parameters/use-parameters-in-setting-modal-controller.test.ts b/frontend/packages/agent-ide/bot-plugin/tools/__tests__/hook/parameters/use-parameters-in-setting-modal-controller.test.ts index ff3e338e..4f099730 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/__tests__/hook/parameters/use-parameters-in-setting-modal-controller.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/__tests__/hook/parameters/use-parameters-in-setting-modal-controller.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it, vi } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/__tests__/plugin_modal/utils.test.ts b/frontend/packages/agent-ide/bot-plugin/tools/__tests__/plugin_modal/utils.test.ts index c75c8517..f2301740 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/__tests__/plugin_modal/utils.test.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/__tests__/plugin_modal/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-nocheck import { diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/example-checkbox/index.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/example-checkbox/index.tsx index 145dfcb0..d4c700f9 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/example-checkbox/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/example-checkbox/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/example-modal/index.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/example-modal/index.tsx index 8d7a2b0e..66c64421 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/example-modal/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/example-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/info_popover/index.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/components/info_popover/index.ts index b432152d..2ef4d9f6 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/info_popover/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/info_popover/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InfoPopover } from './info-popover'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/info_popover/info-popover.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/info_popover/info-popover.tsx index fb6d1936..1bbe2e3f 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/info_popover/info-popover.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/info_popover/info-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Fragment } from 'react'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/base-info.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/base-info.tsx index 7e236d06..c71ab252 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/base-info.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/base-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type Dispatch, diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/base-more.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/base-more.tsx index 0198607c..1b75bb8b 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/base-more.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/base-more.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ /* eslint-disable @coze-arch/max-line-per-function */ import { type Dispatch, type SetStateAction, useEffect, useRef } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/cascader-item/index.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/cascader-item/index.tsx index adc3b060..8bc9fbec 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/cascader-item/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/cascader-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect, useState } from 'react'; import cl from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/file-upload-item/index.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/file-upload-item/index.tsx index 930c9ad8..1b61cae2 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/file-upload-item/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/file-upload-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useEffect, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/file-upload-item/upload.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/file-upload-item/upload.tsx index cad5c651..6f847b22 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/file-upload-item/upload.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/file-upload-item/upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode, useReducer } from 'react'; import { merge } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/index.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/index.ts index 7915a593..96d0e2af 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CascaderItem } from './cascader-item'; export { FileUploadItem } from './file-upload-item'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/item-error-tip/index.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/item-error-tip/index.tsx index 6b782246..f35e046e 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/item-error-tip/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/components/item-error-tip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import cl from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/config.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/config.ts index 4b16b750..da586eb2 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/config.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/debug-check.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/debug-check.tsx index c57c5577..2c6ad18e 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/debug-check.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/debug-check.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type PropsWithChildren, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/debug-params.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/debug-params.tsx index 4f38d474..6f7bb4d0 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/debug-params.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/debug-params.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useRef, useState } from 'react'; import { withSlardarIdButton } from '@coze-studio/bot-utils'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/diy-mdbox.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/diy-mdbox.tsx index bdc7ff7c..387f9394 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/diy-mdbox.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/diy-mdbox.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import copy from 'copy-to-clipboard'; import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/columns/param-value-col.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/columns/param-value-col.tsx index 78fb121f..6d16d091 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/columns/param-value-col.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/columns/param-value-col.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useEffect, useState } from 'react'; import { Typography, UIInput } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/columns/utils.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/columns/utils.ts index e4a236ae..5a9e9023 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/columns/utils.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/columns/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type APIParameterRecord } from '../../../types/params'; export const getColumnClass = (record: APIParameterRecord) => diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/index.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/index.tsx index fb9bd419..02a762a7 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug-components/params-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type Ref, forwardRef, @@ -26,13 +26,7 @@ import React, { import { set as ObjectSet, get as ObjectGet, cloneDeep } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { Tag } from '@coze-arch/coze-design'; -import { - UIButton, - Table, - Typography, - UITag, - Space, -} from '@coze-arch/bot-semi'; +import { UIButton, Table, Typography, UITag, Space } from '@coze-arch/bot-semi'; import { IconAddChildOutlined } from '@coze-arch/bot-icons'; import { type APIParameter, diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug.tsx index cd44b020..5cbf673d 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/debug.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/file.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/file.ts index 3f149d74..94aa894e 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/file.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AssistParameterType } from '@coze-arch/bot-api/plugin_develop'; import { FILE_TYPE_CONFIG, diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/input-and-variable/index.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/input-and-variable/index.tsx index 02ade62c..e94fede1 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/input-and-variable/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/input-and-variable/index.tsx @@ -13,15 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type OptionProps } from '@coze-arch/bot-semi/Select'; -import { - UIInput, - UISelect, - InputGroup, - Typography, -} from '@coze-arch/bot-semi'; +import { UIInput, UISelect, InputGroup, Typography } from '@coze-arch/bot-semi'; import { DefaultParamSource, type APIParameter, diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/columns/param-type-col.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/columns/param-type-col.tsx index 25282fdc..f91d6bb1 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/columns/param-type-col.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/columns/param-type-col.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/default-value-input.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/default-value-input.tsx index 493e42b7..3da728a4 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/default-value-input.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/default-value-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useState } from 'react'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/form-components.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/form-components.tsx index 15e4a56f..f527ea83 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/form-components.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/params-components/form-components.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/request-params.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/request-params.tsx index 88f9a6c0..0ef45d40 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/request-params.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/request-params.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type Dispatch, diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/response-params.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/response-params.tsx index 6e60cf73..967f58ad 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/response-params.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/response-params.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type Dispatch, diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/index.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/index.ts index 868adc10..333e4203 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/index.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ export * from './modal'; export * from './params'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/modal.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/modal.ts index c938f13b..ed761f17 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/modal.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/modal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type APIParameter } from '@coze-arch/bot-api/plugin_develop'; export enum STATUS { diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/params.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/params.ts index df506dec..154e3d10 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/params.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/components/plugin_modal/types/params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-debug-footer.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-debug-footer.tsx index 19977a6a..60087231 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-debug-footer.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-debug-footer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-edit-example.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-edit-example.tsx index 9cbb76a4..b93400d9 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-edit-example.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-edit-example.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-view-example.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-view-example.tsx index 24a0f01f..c0a1c7dd 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-view-example.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/use-view-example.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, Suspense, lazy } from 'react'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/utils.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/utils.ts index cd6a4513..fff21835 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/utils.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/example/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { get } from 'lodash-es'; import { diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/parameters/use-parameters-in-setting-modal-controller.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/parameters/use-parameters-in-setting-modal-controller.ts index 675972d1..e568105e 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/parameters/use-parameters-in-setting-modal-controller.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/hooks/parameters/use-parameters-in-setting-modal-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useEffect, useMemo, useState } from 'react'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/index.tsx b/frontend/packages/agent-ide/bot-plugin/tools/src/index.tsx index 19ab64d2..e8b2f02d 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // export { useViewExample } './hooks/example/use-view-example.tsx'; // @ts-expect-error -- linter-disable-autofix export { useEditExample } from './hooks/example/use-edit-example.tsx'; diff --git a/frontend/packages/agent-ide/bot-plugin/tools/src/typings.d.ts b/frontend/packages/agent-ide/bot-plugin/tools/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/src/typings.d.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/bot-plugin/tools/vitest.config.ts b/frontend/packages/agent-ide/bot-plugin/tools/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/bot-plugin/tools/vitest.config.ts +++ b/frontend/packages/agent-ide/bot-plugin/tools/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-answer-action-adapter/src/components/message-box-action-bar/index.tsx b/frontend/packages/agent-ide/chat-answer-action-adapter/src/components/message-box-action-bar/index.tsx index d3e24ba8..6bf96b14 100644 --- a/frontend/packages/agent-ide/chat-answer-action-adapter/src/components/message-box-action-bar/index.tsx +++ b/frontend/packages/agent-ide/chat-answer-action-adapter/src/components/message-box-action-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/agent-ide/chat-answer-action-adapter/src/index.ts b/frontend/packages/agent-ide/chat-answer-action-adapter/src/index.ts index 58b8e2ab..c2880b9c 100644 --- a/frontend/packages/agent-ide/chat-answer-action-adapter/src/index.ts +++ b/frontend/packages/agent-ide/chat-answer-action-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MessageBoxActionBarAdapter } from './components/message-box-action-bar'; diff --git a/frontend/packages/agent-ide/chat-answer-action-adapter/src/typings.d.ts b/frontend/packages/agent-ide/chat-answer-action-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/chat-answer-action-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-answer-action-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/chat-answer-action-adapter/vitest.config.ts b/frontend/packages/agent-ide/chat-answer-action-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-answer-action-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-answer-action-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/index.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/index.ts index b9a36e50..80946211 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/index.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PluginRegistryEntry } from '@coze-common/chat-area'; import { type PluginBizContext } from './types/biz-context'; diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/plugin.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/plugin.ts index 130b54ee..fad0f94e 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/plugin.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginMode, PluginName, diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/app.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/app.ts index 4fe7f4d2..93c230ff 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/app.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WriteableAppLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { type PluginBizContext } from '../../types/biz-context'; diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/command.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/command.ts index 599b460e..66e0e9f8 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/command.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/command.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMultiAgentStore } from '@coze-studio/bot-detail-store/multi-agent'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; import { diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/index.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/index.ts index a0c9eb30..634fe9f4 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/index.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WriteableLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { type PluginBizContext } from '../../types/biz-context'; diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/message.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/message.ts index e94f1e3c..07c62bf7 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/message.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMultiAgentStore } from '@coze-studio/bot-detail-store/multi-agent'; import { useManuallySwitchAgentStore } from '@coze-studio/bot-detail-store'; import { diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/render.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/render.ts index 4f8cc8ef..63a9370d 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/render.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/services/life-cycle/render.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WriteableRenderLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { type PluginBizContext } from '../../types/biz-context'; diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/types/biz-context.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/types/biz-context.ts index 7fb6f9e9..c1b1077d 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/types/biz-context.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/types/biz-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Scene } from '@coze-common/chat-area'; export interface PluginBizContext { diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/utils/index.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/utils/index.ts index 30680d37..f9e748a8 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/utils/index.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep, merge } from 'lodash-es'; import { usePageRuntimeStore } from '@coze-studio/bot-detail-store/page-runtime'; import { useMultiAgentStore } from '@coze-studio/bot-detail-store/multi-agent'; diff --git a/frontend/packages/agent-ide/chat-area-plugin-debug-common/vitest.config.ts b/frontend/packages/agent-ide/chat-area-plugin-debug-common/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-area-plugin-debug-common/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-area-plugin-debug-common/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-area-provider-adapter/src/index.ts b/frontend/packages/agent-ide/chat-area-provider-adapter/src/index.ts index 8a4da6ce..26ba9b9c 100644 --- a/frontend/packages/agent-ide/chat-area-provider-adapter/src/index.ts +++ b/frontend/packages/agent-ide/chat-area-provider-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BotDebugChatAreaProviderAdapter, type BotDebugChatAreaProviderAdapterProps, diff --git a/frontend/packages/agent-ide/chat-area-provider-adapter/src/provider/index.tsx b/frontend/packages/agent-ide/chat-area-provider-adapter/src/provider/index.tsx index 77e0253f..bbd0fea6 100644 --- a/frontend/packages/agent-ide/chat-area-provider-adapter/src/provider/index.tsx +++ b/frontend/packages/agent-ide/chat-area-provider-adapter/src/provider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type PropsWithChildren } from 'react'; import { usePageRuntimeStore } from '@coze-studio/bot-detail-store/page-runtime'; diff --git a/frontend/packages/agent-ide/chat-area-provider-adapter/src/typings.d.ts b/frontend/packages/agent-ide/chat-area-provider-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/chat-area-provider-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-area-provider-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/chat-area-provider-adapter/vitest.config.ts b/frontend/packages/agent-ide/chat-area-provider-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-area-provider-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-area-provider-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-area-provider/src/hooks/use-bot-editor-chat-background.ts b/frontend/packages/agent-ide/chat-area-provider/src/hooks/use-bot-editor-chat-background.ts index 02b002ef..2a870720 100644 --- a/frontend/packages/agent-ide/chat-area-provider/src/hooks/use-bot-editor-chat-background.ts +++ b/frontend/packages/agent-ide/chat-area-provider/src/hooks/use-bot-editor-chat-background.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useBotSkillStore } from '@coze-studio/bot-detail-store/bot-skill'; diff --git a/frontend/packages/agent-ide/chat-area-provider/src/index.ts b/frontend/packages/agent-ide/chat-area-provider/src/index.ts index cb43c645..e827af89 100644 --- a/frontend/packages/agent-ide/chat-area-provider/src/index.ts +++ b/frontend/packages/agent-ide/chat-area-provider/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BotDebugChatAreaProvider, type BotDebugChatAreaProviderProps, diff --git a/frontend/packages/agent-ide/chat-area-provider/src/provider/index.tsx b/frontend/packages/agent-ide/chat-area-provider/src/provider/index.tsx index d6bf9846..986bb940 100644 --- a/frontend/packages/agent-ide/chat-area-provider/src/provider/index.tsx +++ b/frontend/packages/agent-ide/chat-area-provider/src/provider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { Scene } from '@coze-common/chat-core'; diff --git a/frontend/packages/agent-ide/chat-area-provider/src/typings.d.ts b/frontend/packages/agent-ide/chat-area-provider/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/chat-area-provider/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-area-provider/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/chat-area-provider/vitest.config.ts b/frontend/packages/agent-ide/chat-area-provider/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-area-provider/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-area-provider/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-background-config-content-adapter/src/index.ts b/frontend/packages/agent-ide/chat-background-config-content-adapter/src/index.ts index 889206e6..f1dd65a8 100644 --- a/frontend/packages/agent-ide/chat-background-config-content-adapter/src/index.ts +++ b/frontend/packages/agent-ide/chat-background-config-content-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BackgroundConfigContent, type BackgroundConfigContentProps, diff --git a/frontend/packages/agent-ide/chat-background-config-content-adapter/src/typings.d.ts b/frontend/packages/agent-ide/chat-background-config-content-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/chat-background-config-content-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-background-config-content-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/chat-background-config-content-adapter/vitest.config.ts b/frontend/packages/agent-ide/chat-background-config-content-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-background-config-content-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-background-config-content-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-footer/index.tsx b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-footer/index.tsx index 9067fce3..072c771f 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-footer/index.tsx +++ b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-footer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper-cover/index.tsx b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper-cover/index.tsx index b72b81e9..a111843a 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper-cover/index.tsx +++ b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper-cover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper-guide/index.tsx b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper-guide/index.tsx index f76e0f31..c907915e 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper-guide/index.tsx +++ b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper-guide/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper/index.tsx b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper/index.tsx index baf9c73d..fdf084e3 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper/index.tsx +++ b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/cropper/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Cropper, { type ReactCropperElement } from 'react-cropper'; import React, { type RefObject } from 'react'; diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/drag-upload-content/index.tsx b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/drag-upload-content/index.tsx index ef0718fb..ba303d11 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/drag-upload-content/index.tsx +++ b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/drag-upload-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type ReactNode } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/index.tsx b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/index.tsx index 0e40ba76..acba1e90 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/index.tsx +++ b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/cropper-upload/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactCropperElement } from 'react-cropper'; import React, { useState, type RefObject, type ReactNode } from 'react'; diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/index.tsx b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/index.tsx index d25b883d..324a3aa6 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/index.tsx +++ b/frontend/packages/agent-ide/chat-background-config-content/src/components/chat-background-config-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactCropperElement } from 'react-cropper'; import React, { createRef, useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/index.ts b/frontend/packages/agent-ide/chat-background-config-content/src/index.ts index 4bc6281a..a45d4134 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/index.ts +++ b/frontend/packages/agent-ide/chat-background-config-content/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BackgroundConfigContent, type BackgroundConfigContentProps, diff --git a/frontend/packages/agent-ide/chat-background-config-content/src/typings.d.ts b/frontend/packages/agent-ide/chat-background-config-content/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-background-config-content/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/chat-background-config-content/vitest.config.ts b/frontend/packages/agent-ide/chat-background-config-content/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-background-config-content/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-background-config-content/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-background-shared/__tests__/hook/use-background-content.test.ts b/frontend/packages/agent-ide/chat-background-shared/__tests__/hook/use-background-content.test.ts index 3394c7b3..0a258dfd 100644 --- a/frontend/packages/agent-ide/chat-background-shared/__tests__/hook/use-background-content.test.ts +++ b/frontend/packages/agent-ide/chat-background-shared/__tests__/hook/use-background-content.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; diff --git a/frontend/packages/agent-ide/chat-background-shared/__tests__/util.test.ts b/frontend/packages/agent-ide/chat-background-shared/__tests__/util.test.ts index 66231e2b..3732030f 100644 --- a/frontend/packages/agent-ide/chat-background-shared/__tests__/util.test.ts +++ b/frontend/packages/agent-ide/chat-background-shared/__tests__/util.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom'; import React from 'react'; diff --git a/frontend/packages/agent-ide/chat-background-shared/src/constants/index.ts b/frontend/packages/agent-ide/chat-background-shared/src/constants/index.ts index e2d696cd..a2cadc17 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/constants/index.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const MAX_IMG_SIZE = 10 * 1024; export const FIRST_GUIDE_KEY_PREFIX = '__first_drag_guide__'; diff --git a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-background-content.ts b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-background-content.ts index 26599f13..c380afd8 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-background-content.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-background-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useRequest } from 'ahooks'; import { GenerateType } from '@coze-studio/components'; diff --git a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-crop-image.ts b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-crop-image.ts index 2d478f26..147a8e96 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-crop-image.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-crop-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactCropperElement } from 'react-cropper'; import { type RefObject, useState, useEffect, useRef } from 'react'; diff --git a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-drag-image.ts b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-drag-image.ts index 13c7932e..8c2e6fb1 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-drag-image.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-drag-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { type DragEventHandler, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-submit-cropped-image.ts b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-submit-cropped-image.ts index 25f47be4..ebe109ba 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-submit-cropped-image.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-submit-cropped-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactCropperElement } from 'react-cropper'; import { useRef, type RefObject } from 'react'; diff --git a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-upload-img.ts b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-upload-img.ts index aa248aa1..612535d9 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-upload-img.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/hooks/use-upload-img.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/agent-ide/chat-background-shared/src/index.ts b/frontend/packages/agent-ide/chat-background-shared/src/index.ts index 552754ee..f6a0e05b 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/index.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBackgroundContent, type UseBackgroundContentProps, diff --git a/frontend/packages/agent-ide/chat-background-shared/src/service/upload-controller.ts b/frontend/packages/agent-ide/chat-background-shared/src/service/upload-controller.ts index ca99e898..a4b55afb 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/service/upload-controller.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/service/upload-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uploadFileV2, type EventPayloadMaps as BaseEventPayloadMap, diff --git a/frontend/packages/agent-ide/chat-background-shared/src/types/index.ts b/frontend/packages/agent-ide/chat-background-shared/src/types/index.ts index a70abd9d..28c5ea9c 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/types/index.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum UploadMode { Manual, Generate, diff --git a/frontend/packages/agent-ide/chat-background-shared/src/typings.d.ts b/frontend/packages/agent-ide/chat-background-shared/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/chat-background-shared/src/utils/index.ts b/frontend/packages/agent-ide/chat-background-shared/src/utils/index.ts index 025c684f..6aec8856 100644 --- a/frontend/packages/agent-ide/chat-background-shared/src/utils/index.ts +++ b/frontend/packages/agent-ide/chat-background-shared/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactCropperElement } from 'react-cropper'; import { type RefObject } from 'react'; diff --git a/frontend/packages/agent-ide/chat-background-shared/vitest.config.ts b/frontend/packages/agent-ide/chat-background-shared/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-background-shared/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-background-shared/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-background/src/chat-background-content/index.tsx b/frontend/packages/agent-ide/chat-background/src/chat-background-content/index.tsx index 064e18f5..fb4eb58d 100644 --- a/frontend/packages/agent-ide/chat-background/src/chat-background-content/index.tsx +++ b/frontend/packages/agent-ide/chat-background/src/chat-background-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { AvatarBackgroundNoticeDot } from '@coze-studio/components'; diff --git a/frontend/packages/agent-ide/chat-background/src/chat-background-modal/use-chat-background-uploader/index.tsx b/frontend/packages/agent-ide/chat-background/src/chat-background-modal/use-chat-background-uploader/index.tsx index 97fc66c0..b5655c52 100644 --- a/frontend/packages/agent-ide/chat-background/src/chat-background-modal/use-chat-background-uploader/index.tsx +++ b/frontend/packages/agent-ide/chat-background/src/chat-background-modal/use-chat-background-uploader/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/chat-background/src/index.tsx b/frontend/packages/agent-ide/chat-background/src/index.tsx index 9d117f3e..fe38f9b5 100644 --- a/frontend/packages/agent-ide/chat-background/src/index.tsx +++ b/frontend/packages/agent-ide/chat-background/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useChatBackgroundUploader, type UseChatBackgroundUploaderProps, diff --git a/frontend/packages/agent-ide/chat-background/src/typings.d.ts b/frontend/packages/agent-ide/chat-background/src/typings.d.ts index c07323e5..b8b8dd16 100644 --- a/frontend/packages/agent-ide/chat-background/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-background/src/typings.d.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module 'colorthief'; diff --git a/frontend/packages/agent-ide/chat-background/vitest.config.ts b/frontend/packages/agent-ide/chat-background/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-background/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-background/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-components-adapter/src/components/receive-message-box/index.tsx b/frontend/packages/agent-ide/chat-components-adapter/src/components/receive-message-box/index.tsx index 7b8f0ed9..7efcd943 100644 --- a/frontend/packages/agent-ide/chat-components-adapter/src/components/receive-message-box/index.tsx +++ b/frontend/packages/agent-ide/chat-components-adapter/src/components/receive-message-box/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/chat-components-adapter/src/index.ts b/frontend/packages/agent-ide/chat-components-adapter/src/index.ts index eb3baa62..54e1fa2c 100644 --- a/frontend/packages/agent-ide/chat-components-adapter/src/index.ts +++ b/frontend/packages/agent-ide/chat-components-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ReceiveMessageBox } from './components/receive-message-box'; diff --git a/frontend/packages/agent-ide/chat-components-adapter/src/typings.d.ts b/frontend/packages/agent-ide/chat-components-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/chat-components-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-components-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/chat-components-adapter/vitest.config.ts b/frontend/packages/agent-ide/chat-components-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-components-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-components-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/chat-debug-area/src/components/onboarding-message-pop/index.tsx b/frontend/packages/agent-ide/chat-debug-area/src/components/onboarding-message-pop/index.tsx index 91cfd47d..6f59b1e1 100644 --- a/frontend/packages/agent-ide/chat-debug-area/src/components/onboarding-message-pop/index.tsx +++ b/frontend/packages/agent-ide/chat-debug-area/src/components/onboarding-message-pop/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/chat-debug-area/src/components/upload-tooltips-content/index.tsx b/frontend/packages/agent-ide/chat-debug-area/src/components/upload-tooltips-content/index.tsx index 5fdebb60..5655cd0f 100644 --- a/frontend/packages/agent-ide/chat-debug-area/src/components/upload-tooltips-content/index.tsx +++ b/frontend/packages/agent-ide/chat-debug-area/src/components/upload-tooltips-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; import { useBotDetailIsReadonly } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/chat-debug-area/src/context/index.tsx b/frontend/packages/agent-ide/chat-debug-area/src/context/index.tsx index 469149a3..c90f5881 100644 --- a/frontend/packages/agent-ide/chat-debug-area/src/context/index.tsx +++ b/frontend/packages/agent-ide/chat-debug-area/src/context/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type ComponentTypesMap } from '@coze-common/chat-area'; diff --git a/frontend/packages/agent-ide/chat-debug-area/src/index.tsx b/frontend/packages/agent-ide/chat-debug-area/src/index.tsx index 998e9f05..906c0766 100644 --- a/frontend/packages/agent-ide/chat-debug-area/src/index.tsx +++ b/frontend/packages/agent-ide/chat-debug-area/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useEffect, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/chat-debug-area/src/plugins/shortcut/index.tsx b/frontend/packages/agent-ide/chat-debug-area/src/plugins/shortcut/index.tsx index 1f18f6a8..c626f43a 100644 --- a/frontend/packages/agent-ide/chat-debug-area/src/plugins/shortcut/index.tsx +++ b/frontend/packages/agent-ide/chat-debug-area/src/plugins/shortcut/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/chat-debug-area/src/typings.d.ts b/frontend/packages/agent-ide/chat-debug-area/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/chat-debug-area/src/typings.d.ts +++ b/frontend/packages/agent-ide/chat-debug-area/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/chat-debug-area/vitest.config.ts b/frontend/packages/agent-ide/chat-debug-area/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/chat-debug-area/vitest.config.ts +++ b/frontend/packages/agent-ide/chat-debug-area/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/commons/src/components/diff-node-render/index.tsx b/frontend/packages/agent-ide/commons/src/components/diff-node-render/index.tsx index f7bd9897..f23ee084 100644 --- a/frontend/packages/agent-ide/commons/src/components/diff-node-render/index.tsx +++ b/frontend/packages/agent-ide/commons/src/components/diff-node-render/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { DiffEditor } from '@monaco-editor/react'; diff --git a/frontend/packages/agent-ide/commons/src/components/term-service/index.tsx b/frontend/packages/agent-ide/commons/src/components/term-service/index.tsx index 49cc65b3..8a426562 100644 --- a/frontend/packages/agent-ide/commons/src/components/term-service/index.tsx +++ b/frontend/packages/agent-ide/commons/src/components/term-service/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/commons/src/components/term-service/term-service-modal/index.tsx b/frontend/packages/agent-ide/commons/src/components/term-service/term-service-modal/index.tsx index e140257d..46cc6f38 100644 --- a/frontend/packages/agent-ide/commons/src/components/term-service/term-service-modal/index.tsx +++ b/frontend/packages/agent-ide/commons/src/components/term-service/term-service-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/commons/src/constants/index.ts b/frontend/packages/agent-ide/commons/src/constants/index.ts index 0154ca10..e7f958df 100644 --- a/frontend/packages/agent-ide/commons/src/constants/index.ts +++ b/frontend/packages/agent-ide/commons/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // The length of the diff table indent // Diff table sub-node indented length export const DIFF_TABLE_INDENT_LENGTH = 20; diff --git a/frontend/packages/agent-ide/commons/src/hooks/use-send-diff-event.ts b/frontend/packages/agent-ide/commons/src/hooks/use-send-diff-event.ts index 94b68286..51ab7b8e 100644 --- a/frontend/packages/agent-ide/commons/src/hooks/use-send-diff-event.ts +++ b/frontend/packages/agent-ide/commons/src/hooks/use-send-diff-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; diff --git a/frontend/packages/agent-ide/commons/src/index.ts b/frontend/packages/agent-ide/commons/src/index.ts index ddade4f7..85a6aae8 100644 --- a/frontend/packages/agent-ide/commons/src/index.ts +++ b/frontend/packages/agent-ide/commons/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DiffNodeRender } from './components/diff-node-render'; export { PublishTermService } from './components/term-service'; diff --git a/frontend/packages/agent-ide/commons/src/typings.d.ts b/frontend/packages/agent-ide/commons/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/commons/src/typings.d.ts +++ b/frontend/packages/agent-ide/commons/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/commons/src/utils/index.ts b/frontend/packages/agent-ide/commons/src/utils/index.ts index d8c1eca9..91d9c9a0 100644 --- a/frontend/packages/agent-ide/commons/src/utils/index.ts +++ b/frontend/packages/agent-ide/commons/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjs from 'dayjs'; import { userStoreService } from '@coze-studio/user-store'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; diff --git a/frontend/packages/agent-ide/commons/vitest.config.ts b/frontend/packages/agent-ide/commons/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/commons/vitest.config.ts +++ b/frontend/packages/agent-ide/commons/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/context/src/typings.d.ts b/frontend/packages/agent-ide/context/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/context/src/typings.d.ts +++ b/frontend/packages/agent-ide/context/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/context/vitest.config.ts b/frontend/packages/agent-ide/context/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/context/vitest.config.ts +++ b/frontend/packages/agent-ide/context/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/debug-dropdown-button/button-padding-table.ts b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/debug-dropdown-button/button-padding-table.ts index 293bef30..0779aa72 100644 --- a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/debug-dropdown-button/button-padding-table.ts +++ b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/debug-dropdown-button/button-padding-table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; interface Entry { diff --git a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/debug-dropdown-button/index.tsx b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/debug-dropdown-button/index.tsx index 040e29b2..1d22992e 100644 --- a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/debug-dropdown-button/index.tsx +++ b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/debug-dropdown-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode, useState } from 'react'; import { omit } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/tool-pane/index.tsx b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/tool-pane/index.tsx index 4a025430..2cbdee39 100644 --- a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/tool-pane/index.tsx +++ b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/components/tool-pane/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties, type FC, diff --git a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/debug-tool-list-context.ts b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/debug-tool-list-context.ts index 90f09b74..7c830eb0 100644 --- a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/debug-tool-list-context.ts +++ b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/debug-tool-list-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import React from 'react'; diff --git a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/debug-tool-list.tsx b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/debug-tool-list.tsx index 684b9048..55efcc3c 100644 --- a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/debug-tool-list.tsx +++ b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/debug-tool-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties, type FC, diff --git a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/index.ts b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/index.ts index 3ffeb3b6..87b17c0a 100644 --- a/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/index.ts +++ b/frontend/packages/agent-ide/debug-tool-list/src/components/debug-tool-list/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DebugToolList } from './debug-tool-list'; export { ToolPane, diff --git a/frontend/packages/agent-ide/debug-tool-list/src/index.ts b/frontend/packages/agent-ide/debug-tool-list/src/index.ts index 23b12498..f41e6ecc 100644 --- a/frontend/packages/agent-ide/debug-tool-list/src/index.ts +++ b/frontend/packages/agent-ide/debug-tool-list/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModalTypeEnum, OperateTypeEnum, diff --git a/frontend/packages/agent-ide/debug-tool-list/src/typings.d.ts b/frontend/packages/agent-ide/debug-tool-list/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/debug-tool-list/src/typings.d.ts +++ b/frontend/packages/agent-ide/debug-tool-list/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/debug-tool-list/vitest.config.ts b/frontend/packages/agent-ide/debug-tool-list/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/debug-tool-list/vitest.config.ts +++ b/frontend/packages/agent-ide/debug-tool-list/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/entry-adapter/src/components/single-mode-tool-pane-list/index.tsx b/frontend/packages/agent-ide/entry-adapter/src/components/single-mode-tool-pane-list/index.tsx index 586f034e..7bf044c3 100644 --- a/frontend/packages/agent-ide/entry-adapter/src/components/single-mode-tool-pane-list/index.tsx +++ b/frontend/packages/agent-ide/entry-adapter/src/components/single-mode-tool-pane-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BotPageFromEnum } from '@coze-arch/bot-typings/common'; import { SkillsPane } from '@coze-agent-ide/skills-pane-adapter'; import { MemoryToolPane } from '@coze-agent-ide/memory-tool-pane-adapter'; diff --git a/frontend/packages/agent-ide/entry-adapter/src/components/table-memory-tool/index.tsx b/frontend/packages/agent-ide/entry-adapter/src/components/table-memory-tool/index.tsx index b51144eb..a3755098 100644 --- a/frontend/packages/agent-ide/entry-adapter/src/components/table-memory-tool/index.tsx +++ b/frontend/packages/agent-ide/entry-adapter/src/components/table-memory-tool/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ToolKey } from '@coze-agent-ide/tool'; import { TableMemory as BaseComponent } from '@coze-agent-ide/space-bot/component'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/entry-adapter/src/components/workflow-mode-tool-pane-list/index.tsx b/frontend/packages/agent-ide/entry-adapter/src/components/workflow-mode-tool-pane-list/index.tsx index c5bf2ec7..e59e7023 100644 --- a/frontend/packages/agent-ide/entry-adapter/src/components/workflow-mode-tool-pane-list/index.tsx +++ b/frontend/packages/agent-ide/entry-adapter/src/components/workflow-mode-tool-pane-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BotPageFromEnum } from '@coze-arch/bot-typings/common'; import { MemoryToolPane } from '@coze-agent-ide/memory-tool-pane-adapter'; import { DebugToolList } from '@coze-agent-ide/debug-tool-list'; diff --git a/frontend/packages/agent-ide/entry-adapter/src/editor/agent-editor.tsx b/frontend/packages/agent-ide/entry-adapter/src/editor/agent-editor.tsx index 03342568..efd55090 100644 --- a/frontend/packages/agent-ide/entry-adapter/src/editor/agent-editor.tsx +++ b/frontend/packages/agent-ide/entry-adapter/src/editor/agent-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/entry-adapter/src/index.ts b/frontend/packages/agent-ide/entry-adapter/src/index.ts index 95c189ca..7b868859 100644 --- a/frontend/packages/agent-ide/entry-adapter/src/index.ts +++ b/frontend/packages/agent-ide/entry-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BotEditorWithContext as BotEditor } from './editor/agent-editor'; diff --git a/frontend/packages/agent-ide/entry-adapter/src/typings.d.ts b/frontend/packages/agent-ide/entry-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/entry-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/entry-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/entry-adapter/vitest.config.ts b/frontend/packages/agent-ide/entry-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/entry-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/entry-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/entry/src/components/shortcut-skills-modal/index.tsx b/frontend/packages/agent-ide/entry/src/components/shortcut-skills-modal/index.tsx index 4469568e..6e411167 100644 --- a/frontend/packages/agent-ide/entry/src/components/shortcut-skills-modal/index.tsx +++ b/frontend/packages/agent-ide/entry/src/components/shortcut-skills-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import classNames from 'classnames'; import { type ModalProps } from '@douyinfe/semi-foundation/lib/es/modal/modalFoundation'; diff --git a/frontend/packages/agent-ide/entry/src/components/shortcut-skills-modal/utils.ts b/frontend/packages/agent-ide/entry/src/components/shortcut-skills-modal/utils.ts index 1c3aec95..440ffd12 100644 --- a/frontend/packages/agent-ide/entry/src/components/shortcut-skills-modal/utils.ts +++ b/frontend/packages/agent-ide/entry/src/components/shortcut-skills-modal/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function isNonNull(value: T | null): value is T { return value !== null; } diff --git a/frontend/packages/agent-ide/entry/src/components/tool-sheet/index.tsx b/frontend/packages/agent-ide/entry/src/components/tool-sheet/index.tsx index 0140bdc6..434f9d81 100644 --- a/frontend/packages/agent-ide/entry/src/components/tool-sheet/index.tsx +++ b/frontend/packages/agent-ide/entry/src/components/tool-sheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/entry/src/hooks/use-init-toast.tsx b/frontend/packages/agent-ide/entry/src/hooks/use-init-toast.tsx index ee3a1780..dd90b792 100644 --- a/frontend/packages/agent-ide/entry/src/hooks/use-init-toast.tsx +++ b/frontend/packages/agent-ide/entry/src/hooks/use-init-toast.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import queryString from 'query-string'; diff --git a/frontend/packages/agent-ide/entry/src/index.tsx b/frontend/packages/agent-ide/entry/src/index.tsx index d5682109..a18d7d52 100644 --- a/frontend/packages/agent-ide/entry/src/index.tsx +++ b/frontend/packages/agent-ide/entry/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useInitToast } from './hooks/use-init-toast'; export { SingleMode, diff --git a/frontend/packages/agent-ide/entry/src/modes/index.ts b/frontend/packages/agent-ide/entry/src/modes/index.ts index 1472e95c..046a55c6 100644 --- a/frontend/packages/agent-ide/entry/src/modes/index.ts +++ b/frontend/packages/agent-ide/entry/src/modes/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SingleMode, type SingleModeProps } from './single-mode'; export { WorkflowMode, type WorkflowModeProps } from './workflow-mode'; diff --git a/frontend/packages/agent-ide/entry/src/modes/single-mode/components/coach-mark.tsx b/frontend/packages/agent-ide/entry/src/modes/single-mode/components/coach-mark.tsx index 3a650d52..b039e0d5 100644 --- a/frontend/packages/agent-ide/entry/src/modes/single-mode/components/coach-mark.tsx +++ b/frontend/packages/agent-ide/entry/src/modes/single-mode/components/coach-mark.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import Coachmark, { StepCard } from '@coze-common/biz-components/coachmark'; diff --git a/frontend/packages/agent-ide/entry/src/modes/single-mode/components/model-diff-button.tsx b/frontend/packages/agent-ide/entry/src/modes/single-mode/components/model-diff-button.tsx index b2946bd2..f7a75327 100644 --- a/frontend/packages/agent-ide/entry/src/modes/single-mode/components/model-diff-button.tsx +++ b/frontend/packages/agent-ide/entry/src/modes/single-mode/components/model-diff-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useDiffTaskStore } from '@coze-studio/bot-detail-store/diff-task'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; diff --git a/frontend/packages/agent-ide/entry/src/modes/single-mode/index.tsx b/frontend/packages/agent-ide/entry/src/modes/single-mode/index.tsx index 54a73797..6373ff4c 100644 --- a/frontend/packages/agent-ide/entry/src/modes/single-mode/index.tsx +++ b/frontend/packages/agent-ide/entry/src/modes/single-mode/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-chat-area.tsx b/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-chat-area.tsx index 27e58d65..d8de6432 100644 --- a/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-chat-area.tsx +++ b/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-chat-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-config-area/index.tsx b/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-config-area/index.tsx index 88d8a8f9..fc7139d9 100644 --- a/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-config-area/index.tsx +++ b/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-config-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import classNames from 'classnames'; import { SingleSheet } from '@coze-agent-ide/space-bot/component'; diff --git a/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-config-area/tool-area.tsx b/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-config-area/tool-area.tsx index 4998ff9a..c0f052ca 100644 --- a/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-config-area/tool-area.tsx +++ b/frontend/packages/agent-ide/entry/src/modes/single-mode/section-area/agent-config-area/tool-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import classNames from 'classnames'; import { useModelStore } from '@coze-studio/bot-detail-store/model'; diff --git a/frontend/packages/agent-ide/entry/src/modes/workflow-mode/index.tsx b/frontend/packages/agent-ide/entry/src/modes/workflow-mode/index.tsx index 95572a12..724550e5 100644 --- a/frontend/packages/agent-ide/entry/src/modes/workflow-mode/index.tsx +++ b/frontend/packages/agent-ide/entry/src/modes/workflow-mode/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/entry/src/typings.d.ts b/frontend/packages/agent-ide/entry/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/entry/src/typings.d.ts +++ b/frontend/packages/agent-ide/entry/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/entry/vitest.config.ts b/frontend/packages/agent-ide/entry/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/entry/vitest.config.ts +++ b/frontend/packages/agent-ide/entry/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/layout-adapter/src/header/index.tsx b/frontend/packages/agent-ide/layout-adapter/src/header/index.tsx index 6b03b333..3c296270 100644 --- a/frontend/packages/agent-ide/layout-adapter/src/header/index.tsx +++ b/frontend/packages/agent-ide/layout-adapter/src/header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { Divider } from '@coze-arch/bot-semi'; import { DuplicateBot } from '@coze-studio/components'; diff --git a/frontend/packages/agent-ide/layout-adapter/src/header/mode-list.tsx b/frontend/packages/agent-ide/layout-adapter/src/header/mode-list.tsx index ff10bbfa..3db00fa2 100644 --- a/frontend/packages/agent-ide/layout-adapter/src/header/mode-list.tsx +++ b/frontend/packages/agent-ide/layout-adapter/src/header/mode-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ModeOption } from '@coze-agent-ide/space-bot/component'; import { I18n } from '@coze-arch/i18n'; import { IconCozWorkflow } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/agent-ide/layout-adapter/src/hooks/use-init-agent.tsx b/frontend/packages/agent-ide/layout-adapter/src/hooks/use-init-agent.tsx index 386e887b..607fee08 100644 --- a/frontend/packages/agent-ide/layout-adapter/src/hooks/use-init-agent.tsx +++ b/frontend/packages/agent-ide/layout-adapter/src/hooks/use-init-agent.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useInit } from '@coze-agent-ide/space-bot/hook'; export const useInitAgent = useInit; diff --git a/frontend/packages/agent-ide/layout-adapter/src/index.ts b/frontend/packages/agent-ide/layout-adapter/src/index.ts index d55173d4..256fbbf3 100644 --- a/frontend/packages/agent-ide/layout-adapter/src/index.ts +++ b/frontend/packages/agent-ide/layout-adapter/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BotEditorLayout } from './layout'; export default BotEditorLayout; diff --git a/frontend/packages/agent-ide/layout-adapter/src/layout/base.tsx b/frontend/packages/agent-ide/layout-adapter/src/layout/base.tsx index fcc48417..905ec072 100644 --- a/frontend/packages/agent-ide/layout-adapter/src/layout/base.tsx +++ b/frontend/packages/agent-ide/layout-adapter/src/layout/base.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type PropsWithChildren } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/layout-adapter/src/layout/index.tsx b/frontend/packages/agent-ide/layout-adapter/src/layout/index.tsx index 3fb1b9fc..a606c486 100644 --- a/frontend/packages/agent-ide/layout-adapter/src/layout/index.tsx +++ b/frontend/packages/agent-ide/layout-adapter/src/layout/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Outlet } from 'react-router-dom'; import { Suspense, lazy } from 'react'; diff --git a/frontend/packages/agent-ide/layout-adapter/src/typings.d.ts b/frontend/packages/agent-ide/layout-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/layout-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/layout-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/layout-adapter/vitest.config.ts b/frontend/packages/agent-ide/layout-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/layout-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/layout-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/layout/src/components/header/bot-info-card/index.tsx b/frontend/packages/agent-ide/layout/src/components/header/bot-info-card/index.tsx index 5fc20ca0..73b52c98 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/bot-info-card/index.tsx +++ b/frontend/packages/agent-ide/layout/src/components/header/bot-info-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/layout/src/components/header/bot-publish-status/index.tsx b/frontend/packages/agent-ide/layout/src/components/header/bot-publish-status/index.tsx index d39e86e6..cb8ba330 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/bot-publish-status/index.tsx +++ b/frontend/packages/agent-ide/layout/src/components/header/bot-publish-status/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/layout/src/components/header/bot-status/index.ts b/frontend/packages/agent-ide/layout/src/components/header/bot-status/index.ts index 5f02851b..6aaff9ee 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/bot-status/index.ts +++ b/frontend/packages/agent-ide/layout/src/components/header/bot-status/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OriginStatus, renderWarningContent } from './origin-status'; diff --git a/frontend/packages/agent-ide/layout/src/components/header/bot-status/origin-status.tsx b/frontend/packages/agent-ide/layout/src/components/header/bot-status/origin-status.tsx index 4acfa5f0..d7cb0a01 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/bot-status/origin-status.tsx +++ b/frontend/packages/agent-ide/layout/src/components/header/bot-status/origin-status.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/layout/src/components/header/deploy-button/hooks/service.tsx b/frontend/packages/agent-ide/layout/src/components/header/deploy-button/hooks/service.tsx index c0f95b1e..d23598eb 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/deploy-button/hooks/service.tsx +++ b/frontend/packages/agent-ide/layout/src/components/header/deploy-button/hooks/service.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/layout/src/components/header/deploy-button/index.tsx b/frontend/packages/agent-ide/layout/src/components/header/deploy-button/index.tsx index 003f93b2..7dcb422b 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/deploy-button/index.tsx +++ b/frontend/packages/agent-ide/layout/src/components/header/deploy-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Fragment } from 'react'; import { usePageRuntimeStore } from '@coze-studio/bot-detail-store/page-runtime'; diff --git a/frontend/packages/agent-ide/layout/src/components/header/index.tsx b/frontend/packages/agent-ide/layout/src/components/header/index.tsx index d68e3aef..3d114856 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/index.tsx +++ b/frontend/packages/agent-ide/layout/src/components/header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { Helmet } from 'react-helmet'; import { type ReactNode, useEffect, useRef } from 'react'; diff --git a/frontend/packages/agent-ide/layout/src/components/header/more-menu-button/index.tsx b/frontend/packages/agent-ide/layout/src/components/header/more-menu-button/index.tsx index 763123c0..57c8f881 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/more-menu-button/index.tsx +++ b/frontend/packages/agent-ide/layout/src/components/header/more-menu-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import React, { type FC } from 'react'; @@ -33,7 +33,10 @@ import { ConnectorDynamicStatus, type ConnectorInfo, } from '@coze-arch/bot-api/developer_api'; -import { IconCozArrowRightFill, IconCozMore } from '@coze-arch/coze-design/icons'; +import { + IconCozArrowRightFill, + IconCozMore, +} from '@coze-arch/coze-design/icons'; import { Dropdown, IconButton, Tooltip } from '@coze-arch/coze-design'; import { LinkDropItem } from './link-drop-item'; diff --git a/frontend/packages/agent-ide/layout/src/components/header/more-menu-button/link-drop-item.tsx b/frontend/packages/agent-ide/layout/src/components/header/more-menu-button/link-drop-item.tsx index 2c427a86..4279b085 100644 --- a/frontend/packages/agent-ide/layout/src/components/header/more-menu-button/link-drop-item.tsx +++ b/frontend/packages/agent-ide/layout/src/components/header/more-menu-button/link-drop-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/layout/src/index.tsx b/frontend/packages/agent-ide/layout/src/index.tsx index 37f426fd..d55fa495 100644 --- a/frontend/packages/agent-ide/layout/src/index.tsx +++ b/frontend/packages/agent-ide/layout/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BotEditorInitLayout, type BotEditorLayoutSlot, diff --git a/frontend/packages/agent-ide/layout/src/layout.tsx b/frontend/packages/agent-ide/layout/src/layout.tsx index c731a15e..df92af5e 100644 --- a/frontend/packages/agent-ide/layout/src/layout.tsx +++ b/frontend/packages/agent-ide/layout/src/layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import React, { useState, diff --git a/frontend/packages/agent-ide/layout/src/typings.d.ts b/frontend/packages/agent-ide/layout/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/layout/src/typings.d.ts +++ b/frontend/packages/agent-ide/layout/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/layout/vitest.config.ts b/frontend/packages/agent-ide/layout/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/layout/vitest.config.ts +++ b/frontend/packages/agent-ide/layout/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/memory-tool-pane-adapter/src/components/memory-tool-pane/index.tsx b/frontend/packages/agent-ide/memory-tool-pane-adapter/src/components/memory-tool-pane/index.tsx index 1f55806d..d43070b9 100644 --- a/frontend/packages/agent-ide/memory-tool-pane-adapter/src/components/memory-tool-pane/index.tsx +++ b/frontend/packages/agent-ide/memory-tool-pane-adapter/src/components/memory-tool-pane/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/memory-tool-pane-adapter/src/index.ts b/frontend/packages/agent-ide/memory-tool-pane-adapter/src/index.ts index 3dc6e8e1..1b9fed33 100644 --- a/frontend/packages/agent-ide/memory-tool-pane-adapter/src/index.ts +++ b/frontend/packages/agent-ide/memory-tool-pane-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MemoryToolPane } from './components/memory-tool-pane'; diff --git a/frontend/packages/agent-ide/memory-tool-pane-adapter/src/typings.d.ts b/frontend/packages/agent-ide/memory-tool-pane-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/memory-tool-pane-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/memory-tool-pane-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/memory-tool-pane-adapter/vitest.config.ts b/frontend/packages/agent-ide/memory-tool-pane-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/memory-tool-pane-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/memory-tool-pane-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/model-manager/__tests__/convert-model-params-to-schema.test.ts b/frontend/packages/agent-ide/model-manager/__tests__/convert-model-params-to-schema.test.ts index ee3c5a45..4e57e863 100644 --- a/frontend/packages/agent-ide/model-manager/__tests__/convert-model-params-to-schema.test.ts +++ b/frontend/packages/agent-ide/model-manager/__tests__/convert-model-params-to-schema.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { convertModelParamsToSchema } from '../src/utils/model/convert-model-params-to-schema'; import { ModelFormComponent, diff --git a/frontend/packages/agent-ide/model-manager/__tests__/get-fixed-single-agent-schema.test.ts b/frontend/packages/agent-ide/model-manager/__tests__/get-fixed-single-agent-schema.test.ts index d11e1e49..286f43ba 100644 --- a/frontend/packages/agent-ide/model-manager/__tests__/get-fixed-single-agent-schema.test.ts +++ b/frontend/packages/agent-ide/model-manager/__tests__/get-fixed-single-agent-schema.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getFixedSingleAgentSchema } from '../src/utils/model/get-fixed-single-agent-schema'; import { ModelFormComponent, diff --git a/frontend/packages/agent-ide/model-manager/__tests__/get-model-class-sort-list.test.ts b/frontend/packages/agent-ide/model-manager/__tests__/get-model-class-sort-list.test.ts index 5f25ca3c..43be17c1 100644 --- a/frontend/packages/agent-ide/model-manager/__tests__/get-model-class-sort-list.test.ts +++ b/frontend/packages/agent-ide/model-manager/__tests__/get-model-class-sort-list.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getModelClassSortList } from '../src/utils/model/get-model-class-sort-list'; vi.mock('@coze-studio/bot-detail-store', () => ({})); diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-capability-confirm-model/base.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-capability-confirm-model/base.tsx index f2eba8d1..7616d622 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-capability-confirm-model/base.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-capability-confirm-model/base.tsx @@ -51,7 +51,7 @@ const getToolGroupText = (key: ToolGroupKey): string => [ToolGroupKey.DIALOG]: I18n.t('bot_edit_type_dialog'), [ToolGroupKey.CHARACTER]: I18n.t('bot_edit_type_character'), [ToolGroupKey.HOOKS]: 'Hooks', - })[key]; + }[key]); const getToolText = (toolKey: ToolKey) => ({ @@ -75,7 +75,7 @@ const getToolText = (toolKey: ToolKey) => [ToolKey.SHORTCUT]: I18n.t('bot_ide_shortcut'), [ToolKey.DEV_HOOKS]: 'Hooks', [ToolKey.USER_INPUT]: I18n.t('chat_setting_user_input_default_mode'), - })[toolKey]; + }[toolKey]); const AlertGroups: FC<{ items: AlertItem[] }> = ({ items }) => { const grouped = groupBy(items, 'groupTitle'); @@ -296,7 +296,7 @@ const getGroupTittleByConfigType = (type: ModelFuncConfigType): string => 'agentflow_transfer_ conversation_settings_title', ), [ModelFuncConfigType.HookInfo]: 'Hooks', - })[type]; + }[type]); const getTitleByConfigType = (type: ModelFuncConfigType): string => // @ts-expect-error fix me late @@ -325,7 +325,7 @@ const getTitleByConfigType = (type: ModelFuncConfigType): string => 'agentflow_transfer_ conversation_settings_mode_node_title', ), [ModelFuncConfigType.HookInfo]: 'Hooks', - })[type]; + }[type]); export const mapConfigTypeToAlertItem = ( type: ModelFuncConfigType, diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-capability-confirm-model/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-capability-confirm-model/index.tsx index d4bd055f..93595170 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-capability-confirm-model/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-capability-confirm-model/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useState } from 'react'; import { useRegisteredToolKeyConfigList } from '@coze-agent-ide/tool'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-form/form-item/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-form/form-item/index.tsx index a8cac520..c372b577 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-form/form-item/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-form/form-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type ReactNode } from 'react'; import { useField } from '@formily/react'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-form/group-item/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-form/group-item/index.tsx index 88a93bb7..99dca9f3 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-form/group-item/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-form/group-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-form/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-form/index.tsx index b1c3b818..0ed7b009 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-form/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useCreation } from 'ahooks'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-form/model-select/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-form/model-select/index.tsx index 638933ac..2e93c609 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-form/model-select/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-form/model-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-form/model-select/ui-model-select.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-form/model-select/ui-model-select.tsx index 4d571773..fc4e0605 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-form/model-select/ui-model-select.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-form/model-select/ui-model-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, type CSSProperties } from 'react'; import { groupBy } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-form/preset-radio-group/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-form/preset-radio-group/index.tsx index 760e163d..59d954d8 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-form/preset-radio-group/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-form/preset-radio-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-form/type.ts b/frontend/packages/agent-ide/model-manager/src/components/model-form/type.ts index 855459b6..31fc464e 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-form/type.ts +++ b/frontend/packages/agent-ide/model-manager/src/components/model-form/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type JSXComponent } from '@formily/react'; import { InputSlider, type InputSliderProps } from '@coze-studio/components'; import { diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/index.ts b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/index.ts index 14844054..affc5591 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/index.ts +++ b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModelOption, ModelOptionProps } from './model-option'; export { ModelOptionGroup, ModelOptionGroupProps } from './model-option-group'; export { ModelOptionThumb } from './model-option-thumb'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-option-group/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-option-group/index.tsx index d2f04574..166c773c 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-option-group/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-option-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-option-thumb/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-option-thumb/index.tsx index 61f817a6..3656e4ae 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-option-thumb/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-option-thumb/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Avatar, Tag } from '@coze-arch/coze-design'; import { type Model } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-select-ui/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-select-ui/index.tsx index 094c64da..59378464 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-select-ui/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-select-ui/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useRef, useState } from 'react'; import { isBoolean } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-select/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-select/index.tsx index 9630c644..73603a35 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-select/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/model-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; @@ -69,8 +69,8 @@ export function ModelSelect({ const canSelectSuperiorModel = isBoolean(canSelectSuperiorModelProps) ? canSelectSuperiorModelProps : IS_OVERSEA - ? !isFree - : isBenefitAvailable; + ? !isFree + : isBenefitAvailable; const [upgradeModalState, setUpgradeModalState] = useState<{ type?: 'new' | 'advance'; visible: boolean; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/popover-model-config-view/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/popover-model-config-view/index.tsx index 29622e14..444a27d8 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/popover-model-config-view/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/popover-model-config-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useEffect, useMemo } from 'react'; import { omit } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/popover-model-list-view/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/popover-model-list-view/index.tsx index 72b5cd44..894959ad 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/popover-model-list-view/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/model-select-v2/popover-model-list-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useMemo } from 'react'; import { groupBy } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/multi-agent/model-form/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/multi-agent/model-form/index.tsx index 3eb88888..3b0bd53d 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/multi-agent/model-form/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/multi-agent/model-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/model-manager/src/components/single-agent-model-form/index.tsx b/frontend/packages/agent-ide/model-manager/src/components/single-agent-model-form/index.tsx index 4440940b..62638adb 100644 --- a/frontend/packages/agent-ide/model-manager/src/components/single-agent-model-form/index.tsx +++ b/frontend/packages/agent-ide/model-manager/src/components/single-agent-model-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useMemo, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/model-manager/src/constant/model-form-component.ts b/frontend/packages/agent-ide/model-manager/src/constant/model-form-component.ts index 0a895f51..2a28e0d9 100644 --- a/frontend/packages/agent-ide/model-manager/src/constant/model-form-component.ts +++ b/frontend/packages/agent-ide/model-manager/src/constant/model-form-component.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ModelFormComponent { SliderInputNumber = 'SliderInputNumber', Input = 'Input', diff --git a/frontend/packages/agent-ide/model-manager/src/context/formily-context/context.tsx b/frontend/packages/agent-ide/model-manager/src/context/formily-context/context.tsx index 41ea4266..77d0a93d 100644 --- a/frontend/packages/agent-ide/model-manager/src/context/formily-context/context.tsx +++ b/frontend/packages/agent-ide/model-manager/src/context/formily-context/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, createContext, diff --git a/frontend/packages/agent-ide/model-manager/src/context/formily-context/index.ts b/frontend/packages/agent-ide/model-manager/src/context/formily-context/index.ts index d35f9124..d5c7edb7 100644 --- a/frontend/packages/agent-ide/model-manager/src/context/formily-context/index.ts +++ b/frontend/packages/agent-ide/model-manager/src/context/formily-context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { FormilyContext } from './context'; diff --git a/frontend/packages/agent-ide/model-manager/src/context/formily-context/type.ts b/frontend/packages/agent-ide/model-manager/src/context/formily-context/type.ts index c64bd097..70216199 100644 --- a/frontend/packages/agent-ide/model-manager/src/context/formily-context/type.ts +++ b/frontend/packages/agent-ide/model-manager/src/context/formily-context/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ import type * as FormilyReact from '@formily/react'; import type * as FomilyCore from '@formily/core'; diff --git a/frontend/packages/agent-ide/model-manager/src/context/model-form-context/context.tsx b/frontend/packages/agent-ide/model-manager/src/context/model-form-context/context.tsx index 78525fe8..7200a0f5 100644 --- a/frontend/packages/agent-ide/model-manager/src/context/model-form-context/context.tsx +++ b/frontend/packages/agent-ide/model-manager/src/context/model-form-context/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, createContext, useState, useRef } from 'react'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/model-manager/src/context/model-form-context/index.ts b/frontend/packages/agent-ide/model-manager/src/context/model-form-context/index.ts index 4de2bd43..cbaaa96f 100644 --- a/frontend/packages/agent-ide/model-manager/src/context/model-form-context/index.ts +++ b/frontend/packages/agent-ide/model-manager/src/context/model-form-context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ModelFromContext, ModelFormProvider } from './context'; diff --git a/frontend/packages/agent-ide/model-manager/src/context/model-form-context/type.ts b/frontend/packages/agent-ide/model-manager/src/context/model-form-context/type.ts index dbef8cbf..1e601b2e 100644 --- a/frontend/packages/agent-ide/model-manager/src/context/model-form-context/type.ts +++ b/frontend/packages/agent-ide/model-manager/src/context/model-form-context/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Dispatch, type SetStateAction } from 'react'; export interface ModelFormContextProps { diff --git a/frontend/packages/agent-ide/model-manager/src/hooks/model-form/use-handle-model-form.ts b/frontend/packages/agent-ide/model-manager/src/hooks/model-form/use-handle-model-form.ts index cdae2c27..0f95a37d 100644 --- a/frontend/packages/agent-ide/model-manager/src/hooks/model-form/use-handle-model-form.ts +++ b/frontend/packages/agent-ide/model-manager/src/hooks/model-form/use-handle-model-form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/agent-ide/model-manager/src/hooks/model/use-get-schema.ts b/frontend/packages/agent-ide/model-manager/src/hooks/model/use-get-schema.ts index a845e3b7..a9f21276 100644 --- a/frontend/packages/agent-ide/model-manager/src/hooks/model/use-get-schema.ts +++ b/frontend/packages/agent-ide/model-manager/src/hooks/model/use-get-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useBotEditor } from '@coze-agent-ide/bot-editor-context-store'; import { getFixedSingleAgentSchema } from '../../utils/model/get-fixed-single-agent-schema'; diff --git a/frontend/packages/agent-ide/model-manager/src/hooks/model/use-get-single-agent-current-model.ts b/frontend/packages/agent-ide/model-manager/src/hooks/model/use-get-single-agent-current-model.ts index f61e44e5..cefe716b 100644 --- a/frontend/packages/agent-ide/model-manager/src/hooks/model/use-get-single-agent-current-model.ts +++ b/frontend/packages/agent-ide/model-manager/src/hooks/model/use-get-single-agent-current-model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useModelStore as useBotDetailModelStore } from '@coze-studio/bot-detail-store/model'; import { diff --git a/frontend/packages/agent-ide/model-manager/src/index.ts b/frontend/packages/agent-ide/model-manager/src/index.ts index b9447c23..ccd1f9e5 100644 --- a/frontend/packages/agent-ide/model-manager/src/index.ts +++ b/frontend/packages/agent-ide/model-manager/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModelForm, ModelFormProps } from './components/model-form'; export { convertFormValueToModelInfo } from './utils/model/convert-form-value-to-model-info'; diff --git a/frontend/packages/agent-ide/model-manager/src/report-events/report-event-names.ts b/frontend/packages/agent-ide/model-manager/src/report-events/report-event-names.ts index 339e7e4b..38656002 100644 --- a/frontend/packages/agent-ide/model-manager/src/report-events/report-event-names.ts +++ b/frontend/packages/agent-ide/model-manager/src/report-events/report-event-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ReportEventNames { ImportFormilyModuleError = 'import_formily_module_error', GetTypeListError = 'get_type_list_error', diff --git a/frontend/packages/agent-ide/model-manager/src/typings.d.ts b/frontend/packages/agent-ide/model-manager/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/model-manager/src/typings.d.ts +++ b/frontend/packages/agent-ide/model-manager/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/model-manager/src/utils/exhaustive-check.ts b/frontend/packages/agent-ide/model-manager/src/utils/exhaustive-check.ts index a68d4987..5547b892 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/exhaustive-check.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/exhaustive-check.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const primitiveExhaustiveCheck = (_: never) => 0; export const recordExhaustiveCheck = (_: Record) => 0; diff --git a/frontend/packages/agent-ide/model-manager/src/utils/field-init-strategy.ts b/frontend/packages/agent-ide/model-manager/src/utils/field-init-strategy.ts index 3c93ee39..5eca0201 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/field-init-strategy.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/field-init-strategy.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { DataField, Form, GeneralField } from '@formily/core'; import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/agent-ide/model-manager/src/utils/flatten-object.ts b/frontend/packages/agent-ide/model-manager/src/utils/flatten-object.ts index dc09946b..21725b78 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/flatten-object.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/flatten-object.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type NestedObject = Record; export function flattenObject(obj: NestedObject): NestedObject { diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model-func-config-check/agent-check.ts b/frontend/packages/agent-ide/model-manager/src/utils/model-func-config-check/agent-check.ts index c450d5cc..ea2909e5 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model-func-config-check/agent-check.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model-func-config-check/agent-check.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Agent } from '@coze-studio/bot-detail-store'; import { type Dataset, FormatType } from '@coze-arch/bot-api/knowledge'; import { diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model/convert-form-value-to-model-info.ts b/frontend/packages/agent-ide/model-manager/src/utils/model/convert-form-value-to-model-info.ts index d5f878cb..d05a1ecb 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model/convert-form-value-to-model-info.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model/convert-form-value-to-model-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ShortMemPolicy, type ModelInfo, diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model/convert-model-info-to-flat-object.ts b/frontend/packages/agent-ide/model-manager/src/utils/model/convert-model-info-to-flat-object.ts index 4bd20cda..33a86391 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model/convert-model-info-to-flat-object.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model/convert-model-info-to-flat-object.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ModelInfo } from '@coze-arch/bot-api/developer_api'; import { type NestedObject, flattenObject } from '../flatten-object'; diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model/convert-model-params-to-schema.ts b/frontend/packages/agent-ide/model-manager/src/utils/model/convert-model-params-to-schema.ts index 79118698..f24557d5 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model/convert-model-params-to-schema.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model/convert-model-params-to-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { groupBy, merge, uniqBy } from 'lodash-es'; import { type SchemaTypes, type ISchema } from '@formily/react'; import { diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model/get-diversity-preset-value-by-style.ts b/frontend/packages/agent-ide/model-manager/src/utils/model/get-diversity-preset-value-by-style.ts index 3c4101cd..678bd8f7 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model/get-diversity-preset-value-by-style.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model/get-diversity-preset-value-by-style.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ModelStyle } from '@coze-arch/bot-api/developer_api'; import { type ModelPresetValues } from '@coze-agent-ide/bot-editor-context-store'; diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model/get-fixed-model-form-values.ts b/frontend/packages/agent-ide/model-manager/src/utils/model/get-fixed-model-form-values.ts index 45333892..720b1150 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model/get-fixed-model-form-values.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model/get-fixed-model-form-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { ModelParamType, diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model/get-fixed-single-agent-schema.ts b/frontend/packages/agent-ide/model-manager/src/utils/model/get-fixed-single-agent-schema.ts index 29447e9c..c3f9feba 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model/get-fixed-single-agent-schema.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model/get-fixed-single-agent-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep, isObject } from 'lodash-es'; import { type ISchema } from '@formily/react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model/get-model-class-sort-list.ts b/frontend/packages/agent-ide/model-manager/src/utils/model/get-model-class-sort-list.ts index 20494706..dd86754b 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model/get-model-class-sort-list.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model/get-model-class-sort-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniq } from 'lodash-es'; /** * Sort in the order in which the class id first appears diff --git a/frontend/packages/agent-ide/model-manager/src/utils/model/get-model-option-list.ts b/frontend/packages/agent-ide/model-manager/src/utils/model/get-model-option-list.ts index 1b6a5ae2..2f5a4b46 100644 --- a/frontend/packages/agent-ide/model-manager/src/utils/model/get-model-option-list.ts +++ b/frontend/packages/agent-ide/model-manager/src/utils/model/get-model-option-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Model } from '@coze-arch/bot-api/developer_api'; export const getModelOptionList = ({ diff --git a/frontend/packages/agent-ide/model-manager/vitest.config.ts b/frontend/packages/agent-ide/model-manager/vitest.config.ts index b3f0242f..d605df3d 100644 --- a/frontend/packages/agent-ide/model-manager/vitest.config.ts +++ b/frontend/packages/agent-ide/model-manager/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/agent-ide/navigate/src/hooks/navigate-tools-page.ts b/frontend/packages/agent-ide/navigate/src/hooks/navigate-tools-page.ts index 16b778b2..b6f76b7c 100644 --- a/frontend/packages/agent-ide/navigate/src/hooks/navigate-tools-page.ts +++ b/frontend/packages/agent-ide/navigate/src/hooks/navigate-tools-page.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkFlowModalModeProps } from '@coze-workflow/components'; import { useBotPageStore } from '@coze-agent-ide/space-bot/store'; import { useCurrentNodeId } from '@coze-agent-ide/space-bot/hook'; diff --git a/frontend/packages/agent-ide/navigate/src/index.tsx b/frontend/packages/agent-ide/navigate/src/index.tsx index f07e7ee8..8a8eb29d 100644 --- a/frontend/packages/agent-ide/navigate/src/index.tsx +++ b/frontend/packages/agent-ide/navigate/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useNavigateWorkflowEditPage } from './hooks/navigate-tools-page'; diff --git a/frontend/packages/agent-ide/navigate/src/typings.d.ts b/frontend/packages/agent-ide/navigate/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/navigate/src/typings.d.ts +++ b/frontend/packages/agent-ide/navigate/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/navigate/vitest.config.ts b/frontend/packages/agent-ide/navigate/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/navigate/vitest.config.ts +++ b/frontend/packages/agent-ide/navigate/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/onboarding-message-adapter/src/index.ts b/frontend/packages/agent-ide/onboarding-message-adapter/src/index.ts index 401c8877..19dfaafa 100644 --- a/frontend/packages/agent-ide/onboarding-message-adapter/src/index.ts +++ b/frontend/packages/agent-ide/onboarding-message-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OnboardingMessage } from '@coze-agent-ide/space-bot/component'; diff --git a/frontend/packages/agent-ide/onboarding-message-adapter/src/typings.d.ts b/frontend/packages/agent-ide/onboarding-message-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/onboarding-message-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/onboarding-message-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/onboarding-message-adapter/vitest.config.ts b/frontend/packages/agent-ide/onboarding-message-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/onboarding-message-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/onboarding-message-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/action-bar/index.tsx b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/action-bar/index.tsx index 5cf0ddf0..458c998b 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/action-bar/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/action-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import -- svg */ import { useRef, diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/insert-link-popover/index.tsx b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/insert-link-popover/index.tsx index 8106a04d..1a6ef351 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/insert-link-popover/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/insert-link-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type ComponentProps, type PropsWithChildren } from 'react'; import { Form, Popover, UIButton, UIInput } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/upload-progress-mask/index.tsx b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/upload-progress-mask/index.tsx index be34b7fd..6dba296c 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/upload-progress-mask/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/components/upload-progress-mask/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Progress } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/constant/file.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/constant/file.ts index 22b2b4b4..9156c0f3 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/constant/file.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/constant/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const MAX_FILE_SIZE = 20 * 1024 * 1024; diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-insert-text-at-position.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-insert-text-at-position.ts index 60cb5bec..30bd4ae9 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-insert-text-at-position.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-insert-text-at-position.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getInsertTextAtPosition = ({ text, insertText, diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-insert-text.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-insert-text.ts index 42dc0d5f..952c3ed9 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-insert-text.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-insert-text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SyncAction } from '../type'; import { primitiveExhaustiveCheck } from '../../../utils/exhaustive-check'; import { getMarkdownLink } from './get-markdown-link'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-is-file-format-valid.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-is-file-format-valid.ts index 90ef2cd2..941367f8 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-is-file-format-valid.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-is-file-format-valid.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FILE_EXTENSION_LIST } from '../constant/file'; export const getIsFileFormatValid = (file: File) => diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-markdown-image-link.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-markdown-image-link.ts index f8854896..bd800cbf 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-markdown-image-link.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-markdown-image-link.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getMarkdownImageLink = ({ fileName, link, diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-markdown-link.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-markdown-link.ts index cad736dd..14cd2798 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-markdown-link.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/helpers/get-markdown-link.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getMarkdownLink = ({ text, link, diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/hooks/use-markdown-editor.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/hooks/use-markdown-editor.ts index a14b05d5..b6bb605d 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/hooks/use-markdown-editor.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/hooks/use-markdown-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect, useRef, useState } from 'react'; import useEventCallback from 'use-event-callback'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/hooks/use-upload-file.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/hooks/use-upload-file.ts index ec92379a..e0055224 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/hooks/use-upload-file.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/hooks/use-upload-file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/index.tsx b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/index.tsx index 19d4fc1b..d18ad8a9 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/service/upload-controller.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/service/upload-controller.ts index 97bbd8f9..165557c9 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/service/upload-controller.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/service/upload-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uploadFileV2, type EventPayloadMaps as BaseEventPayloadMap, diff --git a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/type.ts b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/type.ts index bfaaffb7..ea182ab0 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/type.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/markdown-editor/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface InsertImageAction { type: 'image'; sync: false; diff --git a/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/components/onboarding-suggestion-content/index.tsx b/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/components/onboarding-suggestion-content/index.tsx index fcd8eed5..9933d601 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/components/onboarding-suggestion-content/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/components/onboarding-suggestion-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SuggestQuestionMessage } from '@coze-studio/bot-detail-store'; import { type BotEditorOnboardingSuggestion } from '@coze-agent-ide/bot-editor-context-store'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/constant.ts b/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/constant.ts index 84621410..30ab6d13 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/constant.ts +++ b/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/constant.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const ONBOARDING_PREVIEW_DELAY = 500; diff --git a/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/index.tsx b/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/index.tsx index 3c29008b..526202f4 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/components/onboarding-markdown-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/onboarding-preview/index.tsx b/frontend/packages/agent-ide/onboarding/src/components/onboarding-preview/index.tsx index e5531474..eb9ea771 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/onboarding-preview/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/components/onboarding-preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { OnBoarding } from '@coze-common/chat-uikit'; import { type BotEditorOnboardingSuggestion } from '@coze-agent-ide/bot-editor-context-store'; diff --git a/frontend/packages/agent-ide/onboarding/src/components/onboarding-suggestion/index.tsx b/frontend/packages/agent-ide/onboarding/src/components/onboarding-suggestion/index.tsx index dd1eed7c..04f0bf59 100644 --- a/frontend/packages/agent-ide/onboarding/src/components/onboarding-suggestion/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/components/onboarding-suggestion/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/onboarding/src/constant/onboarding-variable.ts b/frontend/packages/agent-ide/onboarding/src/constant/onboarding-variable.ts index 263b190e..81af03f1 100644 --- a/frontend/packages/agent-ide/onboarding/src/constant/onboarding-variable.ts +++ b/frontend/packages/agent-ide/onboarding/src/constant/onboarding-variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum OnboardingVariable { USER_NAME = 'user_name', } diff --git a/frontend/packages/agent-ide/onboarding/src/demo/index.tsx b/frontend/packages/agent-ide/onboarding/src/demo/index.tsx index 647e6be6..7b18171c 100644 --- a/frontend/packages/agent-ide/onboarding/src/demo/index.tsx +++ b/frontend/packages/agent-ide/onboarding/src/demo/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/agent-ide/onboarding/src/hooks/bot-plugins/index.ts b/frontend/packages/agent-ide/onboarding/src/hooks/bot-plugins/index.ts index 862cdb42..d3325d5d 100644 --- a/frontend/packages/agent-ide/onboarding/src/hooks/bot-plugins/index.ts +++ b/frontend/packages/agent-ide/onboarding/src/hooks/bot-plugins/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useBotEditor } from '@coze-agent-ide/bot-editor-context-store'; export const useDraftBotPluginById = (pluginId?: string) => { diff --git a/frontend/packages/agent-ide/onboarding/src/hooks/onboarding/use-render-variable-element.tsx b/frontend/packages/agent-ide/onboarding/src/hooks/onboarding/use-render-variable-element.tsx index c5dbafb0..b0bb1cf0 100644 --- a/frontend/packages/agent-ide/onboarding/src/hooks/onboarding/use-render-variable-element.tsx +++ b/frontend/packages/agent-ide/onboarding/src/hooks/onboarding/use-render-variable-element.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getVariableRangeList } from '../../utils/onboarding-variable'; import { primitiveExhaustiveCheck } from '../../utils/exhaustive-check'; import { diff --git a/frontend/packages/agent-ide/onboarding/src/index.ts b/frontend/packages/agent-ide/onboarding/src/index.ts index 7a70fe31..fc94afbe 100644 --- a/frontend/packages/agent-ide/onboarding/src/index.ts +++ b/frontend/packages/agent-ide/onboarding/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OnboardingMarkdownModal, type OnboardingMarkdownModalProps, diff --git a/frontend/packages/agent-ide/onboarding/src/typings.d.ts b/frontend/packages/agent-ide/onboarding/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/onboarding/src/typings.d.ts +++ b/frontend/packages/agent-ide/onboarding/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/onboarding/src/utils/exhaustive-check.ts b/frontend/packages/agent-ide/onboarding/src/utils/exhaustive-check.ts index a68d4987..5547b892 100644 --- a/frontend/packages/agent-ide/onboarding/src/utils/exhaustive-check.ts +++ b/frontend/packages/agent-ide/onboarding/src/utils/exhaustive-check.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const primitiveExhaustiveCheck = (_: never) => 0; export const recordExhaustiveCheck = (_: Record) => 0; diff --git a/frontend/packages/agent-ide/onboarding/src/utils/onboarding-variable.ts b/frontend/packages/agent-ide/onboarding/src/utils/onboarding-variable.ts index 755aacc7..d86a5463 100644 --- a/frontend/packages/agent-ide/onboarding/src/utils/onboarding-variable.ts +++ b/frontend/packages/agent-ide/onboarding/src/utils/onboarding-variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnboardingVariable, type OnboardingVariableMap, diff --git a/frontend/packages/agent-ide/onboarding/src/utils/onboarding.ts b/frontend/packages/agent-ide/onboarding/src/utils/onboarding.ts index 302da3a6..503e5bbf 100644 --- a/frontend/packages/agent-ide/onboarding/src/utils/onboarding.ts +++ b/frontend/packages/agent-ide/onboarding/src/utils/onboarding.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { intersectionBy, xorBy } from 'lodash-es'; import { produce } from 'immer'; import { useBotSkillStore } from '@coze-studio/bot-detail-store/bot-skill'; diff --git a/frontend/packages/agent-ide/onboarding/src/utils/typed-keys.ts b/frontend/packages/agent-ide/onboarding/src/utils/typed-keys.ts index e1b44ad4..3b51b18b 100644 --- a/frontend/packages/agent-ide/onboarding/src/utils/typed-keys.ts +++ b/frontend/packages/agent-ide/onboarding/src/utils/typed-keys.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const typedKeys = [number]>( o: T, ): Array => Object.keys(o) as Array; diff --git a/frontend/packages/agent-ide/onboarding/vitest.config.ts b/frontend/packages/agent-ide/onboarding/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/onboarding/vitest.config.ts +++ b/frontend/packages/agent-ide/onboarding/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/plugin-area-adapter/src/components/plugin-apis-area/index.tsx b/frontend/packages/agent-ide/plugin-area-adapter/src/components/plugin-apis-area/index.tsx index dc0bc951..38103414 100644 --- a/frontend/packages/agent-ide/plugin-area-adapter/src/components/plugin-apis-area/index.tsx +++ b/frontend/packages/agent-ide/plugin-area-adapter/src/components/plugin-apis-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect, useRef, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/plugin-area-adapter/src/index.ts b/frontend/packages/agent-ide/plugin-area-adapter/src/index.ts index 95cd3da7..e6813c96 100644 --- a/frontend/packages/agent-ide/plugin-area-adapter/src/index.ts +++ b/frontend/packages/agent-ide/plugin-area-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginApisArea, type IPluginApisAreaProps, diff --git a/frontend/packages/agent-ide/plugin-area-adapter/src/typings.d.ts b/frontend/packages/agent-ide/plugin-area-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/plugin-area-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/plugin-area-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/plugin-area-adapter/vitest.config.ts b/frontend/packages/agent-ide/plugin-area-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/plugin-area-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/plugin-area-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/plugin-content-adapter/src/index.ts b/frontend/packages/agent-ide/plugin-content-adapter/src/index.ts index 968781c6..dd85e246 100644 --- a/frontend/packages/agent-ide/plugin-content-adapter/src/index.ts +++ b/frontend/packages/agent-ide/plugin-content-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginContent, type PluginContentProps, diff --git a/frontend/packages/agent-ide/plugin-content-adapter/src/typings.d.ts b/frontend/packages/agent-ide/plugin-content-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/plugin-content-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/plugin-content-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/plugin-content-adapter/vitest.config.ts b/frontend/packages/agent-ide/plugin-content-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/plugin-content-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/plugin-content-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/plugin-content/src/components/plugin-content/index.tsx b/frontend/packages/agent-ide/plugin-content/src/components/plugin-content/index.tsx index f5d8a313..ce6d8b07 100644 --- a/frontend/packages/agent-ide/plugin-content/src/components/plugin-content/index.tsx +++ b/frontend/packages/agent-ide/plugin-content/src/components/plugin-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC, useMemo } from 'react'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/agent-ide/plugin-content/src/index.ts b/frontend/packages/agent-ide/plugin-content/src/index.ts index 4814fcab..cb485489 100644 --- a/frontend/packages/agent-ide/plugin-content/src/index.ts +++ b/frontend/packages/agent-ide/plugin-content/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginContent, type PluginContentProps, diff --git a/frontend/packages/agent-ide/plugin-content/src/typings.d.ts b/frontend/packages/agent-ide/plugin-content/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/plugin-content/src/typings.d.ts +++ b/frontend/packages/agent-ide/plugin-content/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/plugin-content/vitest.config.ts b/frontend/packages/agent-ide/plugin-content/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/plugin-content/vitest.config.ts +++ b/frontend/packages/agent-ide/plugin-content/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-modal/filter/index.tsx b/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-modal/filter/index.tsx index a2ed3b22..3ca473e1 100644 --- a/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-modal/filter/index.tsx +++ b/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-modal/filter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-modal/plugin-filter/index.tsx b/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-modal/plugin-filter/index.tsx index 6fcc4d0c..cc593169 100644 --- a/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-modal/plugin-filter/index.tsx +++ b/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-modal/plugin-filter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { useSpaceStore } from '@coze-arch/bot-studio-store'; diff --git a/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-panel/index.tsx b/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-panel/index.tsx index b0764075..f38cbb05 100644 --- a/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-panel/index.tsx +++ b/frontend/packages/agent-ide/plugin-modal-adapter/src/components/plugin-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PluginPanelProps as BaseProps, PluginPanel, diff --git a/frontend/packages/agent-ide/plugin-modal-adapter/src/index.ts b/frontend/packages/agent-ide/plugin-modal-adapter/src/index.ts index 75fd9589..998b5a31 100644 --- a/frontend/packages/agent-ide/plugin-modal-adapter/src/index.ts +++ b/frontend/packages/agent-ide/plugin-modal-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type PluginFilterProps, PluginFilter, diff --git a/frontend/packages/agent-ide/plugin-modal-adapter/src/typings.d.ts b/frontend/packages/agent-ide/plugin-modal-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/plugin-modal-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/plugin-modal-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/plugin-modal-adapter/vitest.config.ts b/frontend/packages/agent-ide/plugin-modal-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/plugin-modal-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/plugin-modal-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/plugin-setting-adapter/src/index.ts b/frontend/packages/agent-ide/plugin-setting-adapter/src/index.ts index b83990a8..b45dec8e 100644 --- a/frontend/packages/agent-ide/plugin-setting-adapter/src/index.ts +++ b/frontend/packages/agent-ide/plugin-setting-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginSettingEnter, type IAgentSkillPluginSettingModalProps, diff --git a/frontend/packages/agent-ide/plugin-setting-adapter/src/typings.d.ts b/frontend/packages/agent-ide/plugin-setting-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/plugin-setting-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/plugin-setting-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/plugin-setting-adapter/vitest.config.ts b/frontend/packages/agent-ide/plugin-setting-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/plugin-setting-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/plugin-setting-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/index.tsx b/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/index.tsx index 6161e336..49b8c6d2 100644 --- a/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/index.tsx +++ b/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-main.tsx b/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-main.tsx index 755c2fb4..fd004d49 100644 --- a/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-main.tsx +++ b/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { diff --git a/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-mock-set.tsx b/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-mock-set.tsx index d93c68ad..d7394be7 100644 --- a/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-mock-set.tsx +++ b/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-mock-set.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useMemo, type MutableRefObject } from 'react'; diff --git a/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-params-set/index.tsx b/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-params-set/index.tsx index b335e001..d0492399 100644 --- a/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-params-set/index.tsx +++ b/frontend/packages/agent-ide/plugin-setting/src/components/agent-skill-setting-modal/part-params-set/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useMemo, useEffect, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/plugin-setting/src/index.ts b/frontend/packages/agent-ide/plugin-setting/src/index.ts index 5c5aee46..ab244d58 100644 --- a/frontend/packages/agent-ide/plugin-setting/src/index.ts +++ b/frontend/packages/agent-ide/plugin-setting/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginSettingEnter, type IAgentSkillPluginSettingModalProps, diff --git a/frontend/packages/agent-ide/plugin-setting/src/typings.d.ts b/frontend/packages/agent-ide/plugin-setting/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/plugin-setting/src/typings.d.ts +++ b/frontend/packages/agent-ide/plugin-setting/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/plugin-setting/vitest.config.ts b/frontend/packages/agent-ide/plugin-setting/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/plugin-setting/vitest.config.ts +++ b/frontend/packages/agent-ide/plugin-setting/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/helper.ts b/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/helper.ts index 55d5f01b..17671a4f 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/helper.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface ApiParam { name: string; input: { diff --git a/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/index.tsx b/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/index.tsx index ccb8e13c..b46cad2d 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/index.tsx +++ b/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/index.tsx @@ -249,14 +249,14 @@ export const PluginPanel: React.FC = ({ const timePrefixText = showPublishTime ? I18n.t('mkl_plugin_publish') : showCreateTime - ? I18n.t('mkl_plugin_created') - : I18n.t('mkl_plugin_updated'); + ? I18n.t('mkl_plugin_created') + : I18n.t('mkl_plugin_updated'); const timeToShow = (showPublishTime ? Number(listed_at) : showCreateTime - ? Number(create_time) - : Number(update_time)) || 0; + ? Number(create_time) + : Number(update_time)) || 0; const renderAuthStatus = () => { if (isUndefined(auth_mode) || auth_mode === PluginAuthMode.NoAuth) { diff --git a/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/item.tsx b/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/item.tsx index ed13397c..4e757d74 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/item.tsx +++ b/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useState } from 'react'; @@ -32,10 +32,7 @@ import { UIButton, UITag, } from '@coze-arch/bot-semi'; -import { - ProductStatus, - type public_api, -} from '@coze-arch/bot-api/product_api'; +import { ProductStatus, type public_api } from '@coze-arch/bot-api/product_api'; import { type PluginApi } from '@coze-arch/bot-api/plugin_develop'; import { useViewExample } from '@coze-agent-ide/bot-plugin-tools/useViewExample'; import { Popconfirm } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/plugin-perf-statics/index.tsx b/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/plugin-perf-statics/index.tsx index e520d22f..f0b6956c 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/plugin-perf-statics/index.tsx +++ b/frontend/packages/agent-ide/plugin-shared/src/components/plugin-panel/plugin-perf-statics/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/agent-ide/plugin-shared/src/constants/plugin-modal-constants.ts b/frontend/packages/agent-ide/plugin-shared/src/constants/plugin-modal-constants.ts index 32c5463b..4bd1a180 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/constants/plugin-modal-constants.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/constants/plugin-modal-constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum MineActiveEnum { All = '1', Mine = '2', diff --git a/frontend/packages/agent-ide/plugin-shared/src/index.ts b/frontend/packages/agent-ide/plugin-shared/src/index.ts index 40d7c367..5dde7046 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/index.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MineActiveEnum, DEFAULT_PAGE, diff --git a/frontend/packages/agent-ide/plugin-shared/src/service/fetch-plugin.ts b/frontend/packages/agent-ide/plugin-shared/src/service/fetch-plugin.ts index 96da5521..1cc75ef1 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/service/fetch-plugin.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/service/fetch-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import qs from 'qs'; import { useSpaceStore } from '@coze-foundation/space-store'; import { diff --git a/frontend/packages/agent-ide/plugin-shared/src/types/auth-mode.ts b/frontend/packages/agent-ide/plugin-shared/src/types/auth-mode.ts index 06e84530..dc3a5842 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/types/auth-mode.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/types/auth-mode.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** for open coze */ export enum PluginAuthMode { /** No authorization required */ diff --git a/frontend/packages/agent-ide/plugin-shared/src/types/mockset-interface.ts b/frontend/packages/agent-ide/plugin-shared/src/types/mockset-interface.ts index 7ceec755..83cabf93 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/types/mockset-interface.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/types/mockset-interface.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { diff --git a/frontend/packages/agent-ide/plugin-shared/src/types/plugin-modal-types.ts b/frontend/packages/agent-ide/plugin-shared/src/types/plugin-modal-types.ts index d52c12b5..38b12761 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/types/plugin-modal-types.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/types/plugin-modal-types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { OpenModeType } from '@coze-arch/bot-hooks'; import { type PluginType, @@ -22,10 +22,7 @@ import { type SortType, } from '@coze-arch/bot-api/product_api'; import { type PluginInfoForPlayground } from '@coze-arch/bot-api/plugin_develop'; -import { - type OrderBy, - type PluginApi, -} from '@coze-arch/bot-api/developer_api'; +import { type OrderBy, type PluginApi } from '@coze-arch/bot-api/developer_api'; import { type MineActiveEnum } from '../constants/plugin-modal-constants'; diff --git a/frontend/packages/agent-ide/plugin-shared/src/typings.d.ts b/frontend/packages/agent-ide/plugin-shared/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/typings.d.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/plugin-shared/src/utils/get-api-unique-id.ts b/frontend/packages/agent-ide/plugin-shared/src/utils/get-api-unique-id.ts index 918e2a53..8b11b1d7 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/utils/get-api-unique-id.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/utils/get-api-unique-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PluginApi } from '@coze-arch/bot-api/developer_api'; export const getApiUniqueId = ({ diff --git a/frontend/packages/agent-ide/plugin-shared/src/utils/index.ts b/frontend/packages/agent-ide/plugin-shared/src/utils/index.ts index d93467b0..2a3a46aa 100644 --- a/frontend/packages/agent-ide/plugin-shared/src/utils/index.ts +++ b/frontend/packages/agent-ide/plugin-shared/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type PluginApi } from '@coze-arch/bot-api/developer_api'; import IconAllActive from '@coze-common/assets/svg/icon_all_active.svg'; diff --git a/frontend/packages/agent-ide/plugin-shared/vitest.config.ts b/frontend/packages/agent-ide/plugin-shared/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/plugin-shared/vitest.config.ts +++ b/frontend/packages/agent-ide/plugin-shared/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/prompt-adapter/src/index.tsx b/frontend/packages/agent-ide/prompt-adapter/src/index.tsx index 8a322c89..7fb13500 100644 --- a/frontend/packages/agent-ide/prompt-adapter/src/index.tsx +++ b/frontend/packages/agent-ide/prompt-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useBotDetailIsReadonly } from '@coze-studio/bot-detail-store'; import { I18n } from '@coze-arch/i18n'; import { InsertInputSlotAction } from '@coze-common/editor-plugins/actions'; diff --git a/frontend/packages/agent-ide/prompt-adapter/src/typings.d.ts b/frontend/packages/agent-ide/prompt-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/prompt-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/prompt-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/prompt-adapter/vitest.config.ts b/frontend/packages/agent-ide/prompt-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/prompt-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/prompt-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/prompt/src/components/prompt-editor/index.tsx b/frontend/packages/agent-ide/prompt/src/components/prompt-editor/index.tsx index ae8d94e4..1a39ec09 100644 --- a/frontend/packages/agent-ide/prompt/src/components/prompt-editor/index.tsx +++ b/frontend/packages/agent-ide/prompt/src/components/prompt-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { lazy, Suspense } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/prompt/src/components/prompt-editor/type.ts b/frontend/packages/agent-ide/prompt/src/components/prompt-editor/type.ts index cfebf3ec..01d618a6 100644 --- a/frontend/packages/agent-ide/prompt/src/components/prompt-editor/type.ts +++ b/frontend/packages/agent-ide/prompt/src/components/prompt-editor/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface PromptEditorProps { className?: string; onChange: (value: string) => void; diff --git a/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/import-to-library.tsx b/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/import-to-library.tsx index b9b88032..9eb00a01 100644 --- a/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/import-to-library.tsx +++ b/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/import-to-library.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useDiffTaskStore } from '@coze-studio/bot-detail-store/diff-task'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; diff --git a/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/index.tsx b/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/index.tsx index 3846c49f..41c0971b 100644 --- a/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/index.tsx +++ b/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PromptLibrary } from './prompt-library'; export { ImportToLibrary } from './import-to-library'; diff --git a/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/prompt-library.tsx b/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/prompt-library.tsx index 2367d1e1..920f51fc 100644 --- a/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/prompt-library.tsx +++ b/frontend/packages/agent-ide/prompt/src/components/prompt-view/components/actions/prompt-library.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useDiffTaskStore } from '@coze-studio/bot-detail-store/diff-task'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; diff --git a/frontend/packages/agent-ide/prompt/src/components/prompt-view/index.tsx b/frontend/packages/agent-ide/prompt/src/components/prompt-view/index.tsx index fc1d6f02..e05dc9e8 100644 --- a/frontend/packages/agent-ide/prompt/src/components/prompt-view/index.tsx +++ b/frontend/packages/agent-ide/prompt/src/components/prompt-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/prompt/src/hooks/use-prompt/use-add-library.ts b/frontend/packages/agent-ide/prompt/src/hooks/use-prompt/use-add-library.ts index 5b82d484..faf21434 100644 --- a/frontend/packages/agent-ide/prompt/src/hooks/use-prompt/use-add-library.ts +++ b/frontend/packages/agent-ide/prompt/src/hooks/use-prompt/use-add-library.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useBotSkillStore } from '@coze-studio/bot-detail-store/bot-skill'; import { type WorkFlowItemType } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/prompt/src/hooks/use-prompt/use-get-library-data.ts b/frontend/packages/agent-ide/prompt/src/hooks/use-prompt/use-get-library-data.ts index 13ae8ec1..c3714f8f 100644 --- a/frontend/packages/agent-ide/prompt/src/hooks/use-prompt/use-get-library-data.ts +++ b/frontend/packages/agent-ide/prompt/src/hooks/use-prompt/use-get-library-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/prompt/src/index.ts b/frontend/packages/agent-ide/prompt/src/index.ts index 09f8678f..58d05d24 100644 --- a/frontend/packages/agent-ide/prompt/src/index.ts +++ b/frontend/packages/agent-ide/prompt/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type PromptViewProps, PromptView } from './components/prompt-view'; export { PromptLibrary, diff --git a/frontend/packages/agent-ide/prompt/src/typings.d.ts b/frontend/packages/agent-ide/prompt/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/prompt/src/typings.d.ts +++ b/frontend/packages/agent-ide/prompt/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/prompt/vitest.config.ts b/frontend/packages/agent-ide/prompt/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/prompt/vitest.config.ts +++ b/frontend/packages/agent-ide/prompt/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/publish-to-base/src/big-checkbox/index.tsx b/frontend/packages/agent-ide/publish-to-base/src/big-checkbox/index.tsx index 363c9769..d4510ffc 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/big-checkbox/index.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/big-checkbox/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/constants.ts b/frontend/packages/agent-ide/publish-to-base/src/constants.ts index 5d7afcc1..cbedfebe 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/constants.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const MARKDOWN_TOOLTIP_WIDTH = 340; export const MARKDOWN_TOOLTIP_CONTENT_MAX_WIDTH = 300; diff --git a/frontend/packages/agent-ide/publish-to-base/src/context/store-context.tsx b/frontend/packages/agent-ide/publish-to-base/src/context/store-context.tsx index 102c1f91..5a7e82ad 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/context/store-context.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/context/store-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type FeishuBaseConfigFe } from '../types'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/expection-display/index.tsx b/frontend/packages/agent-ide/publish-to-base/src/expection-display/index.tsx index 08bd73cd..9e7225e4 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/expection-display/index.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/expection-display/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/base-input-fields-table.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/base-input-fields-table.tsx index f6ec434a..af990c27 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/base-input-fields-table.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/base-input-fields-table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/base-output-fields-table.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/base-output-fields-table.tsx index 038639f2..3d22afa1 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/base-output-fields-table.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/base-output-fields-table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactMarkdown from 'react-markdown'; import { type FC, diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/input-config-line-select-edit.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/input-config-line-select-edit.tsx index 9cd239e9..47cacf35 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/input-config-line-select-edit.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/input-config-line-select-edit.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type FC, useContext } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/input-config-line.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/input-config-line.tsx index 62b4c112..99eaa3be 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/input-config-line.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/input-config-line.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type FC, useContext, useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/output-struct-line.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/output-struct-line.tsx index 5ac5a2e0..e32fe7be 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/output-struct-line.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/output-struct-line.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, createContext, useContext, useEffect } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/require-verify-center.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/require-verify-center.tsx index 85e4f5ce..a1235a52 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/require-verify-center.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/require-verify-center.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type FC, diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/required-warn.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/required-warn.tsx index 4861959f..18f4b084 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/required-warn.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/required-warn.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type FC } from 'react'; import { merge } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/use-require-verify.ts b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/use-require-verify.ts index 4410e871..37a5c662 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/use-require-verify.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/field-line/use-require-verify.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useRequireVerifyCenter } from './require-verify-center'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/form-title.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/form-title.tsx index 12d432b3..26386847 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/form-title.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/form-title.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type FC, type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/index.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/index.tsx index fc70abda..59d801ce 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/index.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactMarkdown from 'react-markdown'; import { forwardRef, @@ -28,10 +28,7 @@ import { nanoid } from 'nanoid'; import { cloneDeep, omit } from 'lodash-es'; import { useRequest } from 'ahooks'; import { I18n } from '@coze-arch/i18n'; -import { - IconCozCross, - IconCozLongArrowUp, -} from '@coze-arch/coze-design/icons'; +import { IconCozCross, IconCozLongArrowUp } from '@coze-arch/coze-design/icons'; import { Button, IconButton, diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/sortable-field-table.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/sortable-field-table.tsx index 58b85774..1efa8a28 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/sortable-field-table.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/sortable-field-table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentType, type CSSProperties, diff --git a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/step-indicator.tsx b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/step-indicator.tsx index 65c372f5..7589977d 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/step-indicator.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/feishu-base-modal/step-indicator.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/index.ts b/frontend/packages/agent-ide/publish-to-base/src/index.ts index cee2a144..c9b2f716 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/index.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FeishuBaseModal } from './feishu-base-modal'; export { ExceptionDisplay, diff --git a/frontend/packages/agent-ide/publish-to-base/src/md-tooltip/index.tsx b/frontend/packages/agent-ide/publish-to-base/src/md-tooltip/index.tsx index d42ebed6..33adf6b1 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/md-tooltip/index.tsx +++ b/frontend/packages/agent-ide/publish-to-base/src/md-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactMarkdown from 'react-markdown'; import { type FC, type ReactNode } from 'react'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/store/index.ts b/frontend/packages/agent-ide/publish-to-base/src/store/index.ts index 1e3db392..02c6a780 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/store/index.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/store/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/types.ts b/frontend/packages/agent-ide/publish-to-base/src/types.ts index cc1cac84..60f57c3e 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/types.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FeishuBaseConfig, type InputComponent, diff --git a/frontend/packages/agent-ide/publish-to-base/src/typings.d.ts b/frontend/packages/agent-ide/publish-to-base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/typings.d.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/publish-to-base/src/validate/field-interaction/index.ts b/frontend/packages/agent-ide/publish-to-base/src/validate/field-interaction/index.ts index ef5e4ec5..c724eaaf 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/validate/field-interaction/index.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/validate/field-interaction/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/validate/field-interaction/output-struct.ts b/frontend/packages/agent-ide/publish-to-base/src/validate/field-interaction/output-struct.ts index 19e80553..50c2366d 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/validate/field-interaction/output-struct.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/validate/field-interaction/output-struct.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { verifyOutputStructFieldAsGroupByKey, verifyOutputStructFieldAsPrimaryKey, diff --git a/frontend/packages/agent-ide/publish-to-base/src/validate/index.ts b/frontend/packages/agent-ide/publish-to-base/src/validate/index.ts index d08f11a9..be7befab 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/validate/index.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/validate/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNumber } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { InputComponentType } from '@coze-arch/bot-api/connector_api'; diff --git a/frontend/packages/agent-ide/publish-to-base/src/validate/utils.ts b/frontend/packages/agent-ide/publish-to-base/src/validate/utils.ts index 30ab3a4c..158d0f00 100644 --- a/frontend/packages/agent-ide/publish-to-base/src/validate/utils.ts +++ b/frontend/packages/agent-ide/publish-to-base/src/validate/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputComponentType } from '@coze-arch/bot-api/connector_api'; import { type BaseOutputStructLineType } from '../types'; diff --git a/frontend/packages/agent-ide/publish-to-base/vitest.config.ts b/frontend/packages/agent-ide/publish-to-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/publish-to-base/vitest.config.ts +++ b/frontend/packages/agent-ide/publish-to-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/skills-pane-adapter/src/components/skills-pane/index.tsx b/frontend/packages/agent-ide/skills-pane-adapter/src/components/skills-pane/index.tsx index fd8df2d0..b2ed361b 100644 --- a/frontend/packages/agent-ide/skills-pane-adapter/src/components/skills-pane/index.tsx +++ b/frontend/packages/agent-ide/skills-pane-adapter/src/components/skills-pane/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useState } from 'react'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; diff --git a/frontend/packages/agent-ide/skills-pane-adapter/src/components/skills-pane/skills-nav.tsx b/frontend/packages/agent-ide/skills-pane-adapter/src/components/skills-pane/skills-nav.tsx index ffa477da..673a6c18 100644 --- a/frontend/packages/agent-ide/skills-pane-adapter/src/components/skills-pane/skills-nav.tsx +++ b/frontend/packages/agent-ide/skills-pane-adapter/src/components/skills-pane/skills-nav.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/skills-pane-adapter/src/index.ts b/frontend/packages/agent-ide/skills-pane-adapter/src/index.ts index da052b87..b82b9733 100644 --- a/frontend/packages/agent-ide/skills-pane-adapter/src/index.ts +++ b/frontend/packages/agent-ide/skills-pane-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SkillsPane } from './components/skills-pane'; diff --git a/frontend/packages/agent-ide/skills-pane-adapter/src/typings.d.ts b/frontend/packages/agent-ide/skills-pane-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/skills-pane-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/skills-pane-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/skills-pane-adapter/vitest.config.ts b/frontend/packages/agent-ide/skills-pane-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/skills-pane-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/skills-pane-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/hooks/use-init-editor.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/hooks/use-init-editor.test.ts index 279464b3..1941048b 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/hooks/use-init-editor.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/hooks/use-init-editor.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/get-image-url.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/get-image-url.test.ts index 86e20cf7..d91bf4c5 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/get-image-url.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/get-image-url.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/get-upload-token.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/get-upload-token.test.ts index a17c3360..9cd79818 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/get-upload-token.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/get-upload-token.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { DeveloperApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/init-editor.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/init-editor.test.ts index b905cdc6..f0a8fc0b 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/init-editor.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/init-editor.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { md2html } from '@coze-common/md-editor-adapter'; import { type Editor } from '@coze-common/md-editor-adapter'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/slice-editor.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/slice-editor.test.ts index 196bacae..b9cf19ad 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/slice-editor.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/component/onboarding-message/onboarding-editor/methods/slice-editor.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { sliceEditor } from '@/component/onboarding-message/onboarding-editor/method/slice-editor'; // Vi.mock needs to be at the top because it will be promoted diff --git a/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-custom-platform-controller.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-custom-platform-controller.test.ts index ae8270b1..74298acf 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-custom-platform-controller.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-custom-platform-controller.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { act, renderHook } from '@testing-library/react-hooks'; import { useCustomPlatformController } from '@/hook/publish-platform-setting/use-custom-platform-controller'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-custom-platform-setting-modal-controller.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-custom-platform-setting-modal-controller.test.ts index 2556a00b..1bb4a743 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-custom-platform-setting-modal-controller.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-custom-platform-setting-modal-controller.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { useCustomPlatformSettingModalController } from '@/hook/publish-platform-setting/use-custom-platform-setting-modal-controller'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-normal-platform-controller.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-normal-platform-controller.test.ts index ab4c86dc..eebe2659 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-normal-platform-controller.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-normal-platform-controller.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { AuthStatus } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-oauth-setting-modal-controller.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-oauth-setting-modal-controller.test.ts index 4afa0924..2a723aeb 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-oauth-setting-modal-controller.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/hooks/publish-platform-setting/use-oauth-setting-modal-controller.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { useOauthSettingModalController } from '@/hook/publish-platform-setting/use-oauth-setting-modal-controller'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/hooks/use-monetize-config-readonly.test.ts b/frontend/packages/agent-ide/space-bot/__tests__/hooks/use-monetize-config-readonly.test.ts index 22b31996..c3cd7a22 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/hooks/use-monetize-config-readonly.test.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/hooks/use-monetize-config-readonly.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect, type Mock } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { userStoreService } from '@coze-studio/user-store'; diff --git a/frontend/packages/agent-ide/space-bot/__tests__/setup.ts b/frontend/packages/agent-ide/space-bot/__tests__/setup.ts index 15306f69..4d448c48 100644 --- a/frontend/packages/agent-ide/space-bot/__tests__/setup.ts +++ b/frontend/packages/agent-ide/space-bot/__tests__/setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; vi.mock('@coze-arch/logger', () => ({ diff --git a/frontend/packages/agent-ide/space-bot/src/component/add-button/add-button.tsx b/frontend/packages/agent-ide/space-bot/src/component/add-button/add-button.tsx index ae3dd406..ab5b5ecb 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/add-button/add-button.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/add-button/add-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/add-button/index.ts b/frontend/packages/agent-ide/space-bot/src/component/add-button/index.ts index 1d5cef34..ed55af42 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/add-button/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/add-button/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AddButton } from './add-button'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/authorize-button/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/authorize-button/index.tsx index ce6abf15..0e6fbb56 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/authorize-button/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/authorize-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ConnectorConfigStatus } from '@coze-arch/idl/intelligence_api'; import { I18n } from '@coze-arch/i18n'; import { Button, type ButtonProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/auto-generate-btn/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/auto-generate-btn/index.tsx index df965e9e..3f13e44e 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/auto-generate-btn/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/auto-generate-btn/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useBotDetailIsReadonly } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bind-connector-modal/connector-error/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/bind-connector-modal/connector-error/index.tsx index a3f6bde1..616b9915 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bind-connector-modal/connector-error/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bind-connector-modal/connector-error/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BindConnectorResponse, type GetBindConnectorConfigResponse, @@ -55,7 +55,9 @@ export const ConnectorError = ({ errorMessage }: ConnectorErrorProps) => { ; export type TSubmitValue = Record; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bind-connector-modal/use-connector-form-modal.tsx b/frontend/packages/agent-ide/space-bot/src/component/bind-connector-modal/use-connector-form-modal.tsx index f748f7db..404ba960 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bind-connector-modal/use-connector-form-modal.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bind-connector-modal/use-connector-form-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useRef, useState } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-debug-button/bot-debug-button.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-debug-button/bot-debug-button.tsx index c0147a2e..0db01afe 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-debug-button/bot-debug-button.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-debug-button/bot-debug-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Ref, forwardRef, type FC } from 'react'; import { useBotDetailIsReadonly } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-debug-button/index.ts b/frontend/packages/agent-ide/space-bot/src/component/bot-debug-button/index.ts index 112a19f3..1c4120fa 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-debug-button/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-debug-button/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BotDebugButton } from './bot-debug-button'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-debug-panel/button.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-debug-panel/button.tsx index cc12979c..654c2f78 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-debug-panel/button.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-debug-panel/button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozDebug } from '@coze-arch/coze-design/icons'; import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-debug-panel/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-debug-panel/index.tsx index 54b8fa12..393afe57 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-debug-panel/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-debug-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useHotkeys } from 'react-hotkeys-hook'; import { Suspense, lazy, useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/bot-submit-modal.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/bot-submit-modal.tsx index 35d0a3ac..35ae9877 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/bot-submit-modal.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/bot-submit-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/index.tsx index 7cb17be1..885b5423 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Table, Typography, UITag } from '@coze-arch/bot-semi'; import { diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/new-diff-view.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/new-diff-view.tsx index cf19ee2e..9bdab6ab 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/new-diff-view.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/new-diff-view.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { List, Typography, UITag } from '@coze-arch/bot-semi'; import { diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/type.ts b/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/type.ts index e5d94de2..411e61c2 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/type.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-diff-view/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DiffDisplayNode } from '@coze-arch/bot-api/dp_manage_api'; export interface FlatDiffDisplayNode extends DiffDisplayNode { diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/item-grid-view/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/item-grid-view/index.tsx index 2fd72b21..97b14651 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/item-grid-view/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/item-grid-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { size } from 'lodash-es'; import classNames from 'classnames'; import { diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/move-detail-pane/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/move-detail-pane/index.tsx index 6e744e70..de5091f6 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/move-detail-pane/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/move-detail-pane/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { size } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/select-space-pane/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/select-space-pane/index.tsx index 2ca26513..21e71387 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/select-space-pane/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/select-space-pane/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { size } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/selector-item/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/selector-item/index.tsx index 02b0ff91..b0f60162 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/selector-item/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/components/selector-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { IconCozCheckMarkFill } from '@coze-arch/coze-design/icons'; import { type BotSpace } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/index.ts b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/index.ts index eb8b3b3a..42ef6720 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/bot-move-modal/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBotMoveModal } from './move-modal'; export { useBotMoveFailedModal } from './move-failed-modal'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/chat-background/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/chat-background/index.tsx index 0b75c200..34187559 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/chat-background/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/chat-background/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/collapsible-textarea/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/collapsible-textarea/index.tsx index ca9e9a58..249c2260 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/collapsible-textarea/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/collapsible-textarea/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties, useEffect, diff --git a/frontend/packages/agent-ide/space-bot/src/component/config-area/use-bot-config.tsx b/frontend/packages/agent-ide/space-bot/src/component/config-area/use-bot-config.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/config-area/use-bot-config.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/config-area/use-bot-config.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/agent-ide/space-bot/src/component/connector-action/diff-view-button.tsx b/frontend/packages/agent-ide/space-bot/src/component/connector-action/diff-view-button.tsx index e7488873..c3d69e36 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/connector-action/diff-view-button.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/connector-action/diff-view-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { EVENT_NAMES } from '@coze-arch/bot-tea'; import { Tooltip, UIIconButton } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/connector-action/index.ts b/frontend/packages/agent-ide/space-bot/src/component/connector-action/index.ts index 5f9c8aa1..1990a200 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/connector-action/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/connector-action/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { KvBindButton } from './kv-bind-button'; export { DiffViewButton } from './diff-view-button'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/connector-action/kv-bind-button.tsx b/frontend/packages/agent-ide/space-bot/src/component/connector-action/kv-bind-button.tsx index f557fdfe..9a9c36d0 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/connector-action/kv-bind-button.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/connector-action/kv-bind-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetStateAction } from 'react'; import { type PublishConnectorInfo } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/content-view/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/content-view/index.tsx index bf663274..3ae1d113 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/content-view/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/content-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/add-variable/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/add-variable/index.tsx index 5139d35f..92a9d136 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/add-variable/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/add-variable/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconButton } from '@coze-arch/coze-design'; import { IconAdd } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/group-table/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/group-table/index.tsx index f30e868c..8b4012e2 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/group-table/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/group-table/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { Spin, IconButton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/group-wrapper/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/group-wrapper/index.tsx index 189a25ee..daeedaa4 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/group-wrapper/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/group-wrapper/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type ReactNode, useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/index.ts b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/index.ts index a74a8ab4..08a4e57d 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SysParamHeader, getSysItemConfig, diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/sys-header.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/sys-header.tsx index f81bcb85..3fd711d7 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/sys-header.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/sys-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { exhaustiveCheckSimple } from '../../utils/exhaustive-check'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/types.ts b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/types.ts index 38092fbf..f108b626 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/types.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; export type ItemType = diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/user-header.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/user-header.tsx index 4e60f26f..933f4f74 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/user-header.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/parma-header/user-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { exhaustiveCheckSimple } from '../../utils/exhaustive-check'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/variable-tree/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/variable-tree/index.tsx index 3e952838..d53e5b68 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/variable-tree/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/components/variable-tree/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import s from '../../index.module.less'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/data-memory.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/data-memory.tsx index 3e62315b..43434e31 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/data-memory.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/data-memory.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import React, { type FC, useState, useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/hooks.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/hooks.tsx index c194c6e1..fb8b8946 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/hooks.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { useEffect, useMemo, useState } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/index.ts b/frontend/packages/agent-ide/space-bot/src/component/data-memory/index.ts index d0f2f472..541a25cd 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DataMemory } from './data-memory'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-add-modal.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-add-modal.tsx index 776f794e..7c0d8934 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-add-modal.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-add-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function */ import { type ComponentProps, useState, useRef, useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-list.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-list.tsx index 8440c47d..8930a8a7 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-list.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useBotSkillStore } from '@coze-studio/bot-detail-store/bot-skill'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-template-modal.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-template-modal.tsx index 3b6f0bb6..43cc7679 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-template-modal.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/memory-template-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps } from 'react'; import { type VariableItem } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-memory/utils/exhaustive-check.ts b/frontend/packages/agent-ide/space-bot/src/component/data-memory/utils/exhaustive-check.ts index c71d996a..b3a6f8c2 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-memory/utils/exhaustive-check.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/data-memory/utils/exhaustive-check.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Check for no missing items */ diff --git a/frontend/packages/agent-ide/space-bot/src/component/data-set/data-set-area.tsx b/frontend/packages/agent-ide/space-bot/src/component/data-set/data-set-area.tsx index 34b62d84..766d6782 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/data-set/data-set-area.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/data-set/data-set-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useNavigate, useParams } from 'react-router-dom'; import React, { type FC, useEffect, useRef, useState, useMemo } from 'react'; @@ -191,7 +191,9 @@ export const DataSetAreaItem: FC = ({ }; navigate( - `/space/${params.space_id}/knowledge/${datasetID}?${new URLSearchParams(queryParams).toString()}`, + `/space/${params.space_id}/knowledge/${datasetID}?${new URLSearchParams( + queryParams, + ).toString()}`, ); }; const jumpToAdd = (datasetID: string, type: UnitType) => { @@ -203,7 +205,11 @@ export const DataSetAreaItem: FC = ({ page_mode: 'modal', }; navigate( - `/space/${params.space_id}/knowledge/${datasetID}/upload?${new URLSearchParams(queryParams).toString()}`, + `/space/${ + params.space_id + }/knowledge/${datasetID}/upload?${new URLSearchParams( + queryParams, + ).toString()}`, ); }; const { node: addModal, open: openAddModal } = useKnowledgeListModal({ diff --git a/frontend/packages/agent-ide/space-bot/src/component/error-boundary-with-logger.tsx b/frontend/packages/agent-ide/space-bot/src/component/error-boundary-with-logger.tsx index 32712e38..b63e9b54 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/error-boundary-with-logger.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/error-boundary-with-logger.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import React, { type FC, type PropsWithChildren } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/index.ts b/frontend/packages/agent-ide/space-bot/src/component/index.ts index 2706b100..b52a999c 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /**comp */ export { TableMemory, diff --git a/frontend/packages/agent-ide/space-bot/src/component/input-slider/index.ts b/frontend/packages/agent-ide/space-bot/src/component/input-slider/index.ts index 1f21633e..3d2d45d6 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/input-slider/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/input-slider/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputSlider } from './input-slider'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/input-slider/input-slider.tsx b/frontend/packages/agent-ide/space-bot/src/component/input-slider/input-slider.tsx index 8097b988..93702052 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/input-slider/input-slider.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/input-slider/input-slider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { isInteger, isNumber, isUndefined } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/memory-tool-pane/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/memory-tool-pane/index.tsx index a76138f0..f35b8d6e 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/memory-tool-pane/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/memory-tool-pane/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import { type ReactElement } from 'react-markdown/lib/react-markdown'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/mode-select/change-button.tsx b/frontend/packages/agent-ide/space-bot/src/component/mode-select/change-button.tsx index 732ee3cf..501eb228 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/mode-select/change-button.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/mode-select/change-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/mode-select/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/mode-select/index.tsx index f7052bc0..37e2c3a2 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/mode-select/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/mode-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useShallow } from 'zustand/react/shallow'; @@ -27,10 +27,7 @@ import { updateHeaderStatus, useBotDetailIsReadonly, } from '@coze-studio/bot-detail-store'; -import { - AgentVersionCompat, - BotMode, -} from '@coze-arch/bot-api/playground_api'; +import { AgentVersionCompat, BotMode } from '@coze-arch/bot-api/playground_api'; import { useBotPageStore } from '../../store/bot-page/store'; import { ModeChangeView, type ModeChangeViewProps } from './mode-change-view'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/mode-select/mode-change-view.tsx b/frontend/packages/agent-ide/space-bot/src/component/mode-select/mode-change-view.tsx index 8436465a..c76f267d 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/mode-select/mode-change-view.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/mode-select/mode-change-view.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/model-btn-view/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/model-btn-view/index.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/model-btn-view/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/model-btn-view/index.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/agent-ide/space-bot/src/component/nav-modal/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/nav-modal/index.tsx index 763b8db2..bdc84474 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/nav-modal/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/nav-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode, type HtmlHTMLAttributes } from 'react'; import { merge } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/nl-prompt-button/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/nl-prompt-button/index.tsx index bc67e599..2abaa73b 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/nl-prompt-button/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/nl-prompt-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useRef } from 'react'; import { useBotDetailIsReadonly } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/common-component.tsx b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/common-component.tsx index b5521f23..0403fc5e 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/common-component.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/common-component.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/const.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/const.ts index 84601538..3f418f16 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/const.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/const.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const settingAreaScrollId = 'setting_area_scroll'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/editor-expend-modal/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/editor-expend-modal/index.tsx index eeb02c30..f97f6e63 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/editor-expend-modal/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/editor-expend-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-init-editor.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-init-editor.ts index ed9cdfdf..11cbef3c 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-init-editor.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-init-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { initEditorByPrologue } from '../method/init-editor'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-modal-editor-submit.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-modal-editor-submit.ts index e5da64f3..7b0d0098 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-modal-editor-submit.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-modal-editor-submit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type MutableRefObject, type RefObject } from 'react'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-on-editor.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-on-editor.ts index 4e1c8a63..6ef5df98 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-on-editor.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-on-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type OnboardingEditorContext } from '../index'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-submit-editor.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-submit-editor.ts index ae58cbe9..96c12d2c 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-submit-editor.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/hooks/use-submit-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { trim } from 'lodash-es'; import { produce } from 'immer'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/index.tsx index 8f2a9dd0..faaee8f8 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, type RefObject, diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/editor-content-helper.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/editor-content-helper.ts index 00a82b70..3a5a9831 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/editor-content-helper.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/editor-content-helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_ZONE } from '@coze-common/md-editor-adapter'; import type { Editor } from '@coze-common/md-editor-adapter'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-image-url.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-image-url.ts index 98b8692f..ebfbe586 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-image-url.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-image-url.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/bot-semi'; import { diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-schema.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-schema.ts index 29d80557..897620f5 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-schema.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { displayType } from '@coze-common/md-editor-adapter'; export const getSchema = () => ({ diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-upload-token.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-upload-token.ts index 460da3cc..d3c7e0fd 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-upload-token.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/get-upload-token.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GetUploadTokenResponse } from '@coze-arch/bot-api/market_interaction_api'; import { DeveloperApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/init-editor.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/init-editor.ts index 9f734a8f..053eeccd 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/init-editor.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/init-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { RefObject } from 'react'; import type { Editor } from '@coze-common/md-editor-adapter'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/slice-editor.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/slice-editor.ts index edf5279c..7c9a4a22 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/slice-editor.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/method/slice-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { RefObject } from 'react'; import { ZoneDelta } from '@coze-common/md-editor-adapter'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/plugins/insert-template/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/plugins/insert-template/index.tsx index a0e68e02..9dc8eb3e 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/plugins/insert-template/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/plugins/insert-template/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ZoneDelta } from '@coze-common/md-editor-adapter'; import { Plugin, diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/plugins/insert-template/tool-item.tsx b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/plugins/insert-template/tool-item.tsx index de88366d..60a940cc 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/plugins/insert-template/tool-item.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/onboarding-editor/plugins/insert-template/tool-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import { ToolbarButton } from '@coze-common/md-editor-adapter'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/hooks/use-add-empty-suggestion.ts b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/hooks/use-add-empty-suggestion.ts index b620e067..939ec51c 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/hooks/use-add-empty-suggestion.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/hooks/use-add-empty-suggestion.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/index.tsx index c720a28c..964aa2b2 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type Dispatch, type FC, @@ -62,37 +62,40 @@ export const SuggestionList: FC = props => { const itemRender = useMemo>( () => - ({ data, connect, isDragging, isHovered }) => ( - { - onChange?.(prev => { - const _suggestions = [...prev.suggested_questions]; - const index = _suggestions.findIndex(item => item.id === data.id); - _suggestions.splice(index, 1, value); - return { + ({ data, connect, isDragging, isHovered }) => + ( + { + onChange?.(prev => { + const _suggestions = [...prev.suggested_questions]; + const index = _suggestions.findIndex( + item => item.id === data.id, + ); + _suggestions.splice(index, 1, value); + return { + ...prev, + suggested_questions: _suggestions, + }; + }); + }} + handleRemoveSuggestion={id => { + onChange?.(prev => ({ ...prev, - suggested_questions: _suggestions, - }; - }); - }} - handleRemoveSuggestion={id => { - onChange?.(prev => ({ - ...prev, - suggested_questions: prev.suggested_questions.filter( - sug => sug.id !== id, - ), - })); - }} - /> - ), + suggested_questions: prev.suggested_questions.filter( + sug => sug.id !== id, + ), + })); + }} + /> + ), [isReadonly], ); diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/suggestion-header.tsx b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/suggestion-header.tsx index fb4792da..89662969 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/suggestion-header.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/suggestion-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/suggestion-item.tsx b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/suggestion-item.tsx index db36cdab..8f96ee48 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/suggestion-item.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/onboarding-message/suggestion-list/suggestion-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ForwardedRef, useEffect, diff --git a/frontend/packages/agent-ide/space-bot/src/component/plugin-permission-manage-list/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/plugin-permission-manage-list/index.tsx index 60976aef..664ede01 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/plugin-permission-manage-list/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/plugin-permission-manage-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef } from 'react'; import { useSize } from 'ahooks'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-description/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-description/index.tsx index 17ccd0f0..1c691ea8 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-description/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-description/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactMarkdown from 'react-markdown'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/avatar-ipt.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/avatar-ipt.tsx index 67d17eb6..e6aa7e81 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/avatar-ipt.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/avatar-ipt.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type ForwardedRef, forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/custom-platform-setting-modal.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/custom-platform-setting-modal.tsx index 62c1b0f4..d2128e13 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/custom-platform-setting-modal.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/custom-platform-setting-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useRef } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/custom.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/custom.tsx index 8b9bf3a7..07fb7031 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/custom.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/custom.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type MutableRefObject, useEffect, useMemo } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/id-with-cp.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/id-with-cp.tsx index 1700fee3..a8997e04 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/id-with-cp.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/id-with-cp.tsx @@ -13,15 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozCopy } from '@coze-arch/coze-design/icons'; -import { - IconButton, - Space, - Tooltip, - Typography, -} from '@coze-arch/coze-design'; +import { IconButton, Space, Tooltip, Typography } from '@coze-arch/coze-design'; const doRenderTooltip = (content, children) => ( {children} diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/index.tsx index d6f1b49a..633bad18 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { EnterpriseRoleType } from '@coze-arch/idl/pat_permission_api'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/name-with-icon.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/name-with-icon.tsx index f8380f11..99f05799 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/name-with-icon.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/name-with-icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Space, Image, Typography, Tooltip } from '@coze-arch/coze-design'; const doRenderTooltip = (content, children) => ( diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/normal.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/normal.tsx index 3a6cd4e1..fc6ffdde 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/normal.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/normal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Table, type ColumnProps } from '@coze-arch/coze-design'; import { diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/oauth-setting-modal.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/oauth-setting-modal.tsx index 8b31a977..7b5e4638 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/oauth-setting-modal.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/oauth-setting-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useRef } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/tag-with-status.tsx b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/tag-with-status.tsx index f7d2c473..46c9070b 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/tag-with-status.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/publish-platform-setting/tag-with-status.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AuthStatus } from '@coze-arch/idl/developer_api'; import { I18n } from '@coze-arch/i18n'; import { ConnectorPublicType } from '@coze-arch/bot-api/connector_api'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/rc-slider-wrapper/handle-render.tsx b/frontend/packages/agent-ide/space-bot/src/component/rc-slider-wrapper/handle-render.tsx index 16f45624..04802b3a 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/rc-slider-wrapper/handle-render.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/rc-slider-wrapper/handle-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type SliderProps } from 'rc-slider'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/rc-slider-wrapper/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/rc-slider-wrapper/index.tsx index c2622dc2..9f3cdcd0 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/rc-slider-wrapper/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/rc-slider-wrapper/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import RcSlider, { type SliderProps } from 'rc-slider'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/sheet-view/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/sheet-view/index.tsx index 01d37ac1..5a95c3de 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/sheet-view/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/sheet-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, type PropsWithChildren } from 'react'; import { BotMode } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/sheet-view/multiple-sheet/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/sheet-view/multiple-sheet/index.tsx index 561ec9cf..d0e8bb8a 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/sheet-view/multiple-sheet/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/sheet-view/multiple-sheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { type PropsWithChildren, type ReactNode, useMemo } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/sheet-view/single-sheet/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/sheet-view/single-sheet/index.tsx index 14feeb13..bac1a3b0 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/sheet-view/single-sheet/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/sheet-view/single-sheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren, type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/suggestion/suggestion-block.tsx b/frontend/packages/agent-ide/space-bot/src/component/suggestion/suggestion-block.tsx index 36d584c6..d600cbdc 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/suggestion/suggestion-block.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/suggestion/suggestion-block.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/suggestion/suggestion-content/suggestion-content.tsx b/frontend/packages/agent-ide/space-bot/src/component/suggestion/suggestion-content/suggestion-content.tsx index da397209..6dff4295 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/suggestion/suggestion-content/suggestion-content.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/suggestion/suggestion-content/suggestion-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/table-memory/datebase-list/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/table-memory/datebase-list/index.tsx index 37935de1..eee12baa 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/table-memory/datebase-list/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/table-memory/datebase-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { ToolItem, ToolItemAction, ToolItemList } from '@coze-agent-ide/tool'; import { useBotSkillStore } from '@coze-studio/bot-detail-store/bot-skill'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/table-memory/datebase-list/prompt-settings-button.tsx b/frontend/packages/agent-ide/space-bot/src/component/table-memory/datebase-list/prompt-settings-button.tsx index 8d3de112..5df6ce99 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/table-memory/datebase-list/prompt-settings-button.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/table-memory/datebase-list/prompt-settings-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useState, useEffect } from 'react'; import { useToolItemContext, ToolItemAction } from '@coze-agent-ide/tool'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/table-memory/helpers/reload-database-list.ts b/frontend/packages/agent-ide/space-bot/src/component/table-memory/helpers/reload-database-list.ts index 427962c4..cb9a4c09 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/table-memory/helpers/reload-database-list.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/table-memory/helpers/reload-database-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { useBotSkillStore } from '@coze-studio/bot-detail-store/bot-skill'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/table-memory/hooks/use-expert-mode-config.ts b/frontend/packages/agent-ide/space-bot/src/component/table-memory/hooks/use-expert-mode-config.ts index fdec46b5..0f638222 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/table-memory/hooks/use-expert-mode-config.ts +++ b/frontend/packages/agent-ide/space-bot/src/component/table-memory/hooks/use-expert-mode-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/agent-ide/space-bot/src/component/table-memory/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/table-memory/index.tsx index 5cc91dbf..4321630d 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/table-memory/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/table-memory/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useParams, useNavigate } from 'react-router-dom'; import React, { type FC, useState, useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/constant.ts b/frontend/packages/agent-ide/space-bot/src/constant.ts index 4e379d14..adbcb1d7 100644 --- a/frontend/packages/agent-ide/space-bot/src/constant.ts +++ b/frontend/packages/agent-ide/space-bot/src/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SkillKeyEnum } from '@coze-agent-ide/tool-config'; import { OpenBlockEvent } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/agent-ide/space-bot/src/constants/prompt-editor-kit.ts b/frontend/packages/agent-ide/space-bot/src/constants/prompt-editor-kit.ts index cb11c4b2..bd68ae03 100644 --- a/frontend/packages/agent-ide/space-bot/src/constants/prompt-editor-kit.ts +++ b/frontend/packages/agent-ide/space-bot/src/constants/prompt-editor-kit.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const PROMPT_EDITOR_KIT_BIZ_KEY = 'coze-prompt-editor'; diff --git a/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/context.tsx b/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/context.tsx index 39c17321..5f1fc91d 100644 --- a/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/context.tsx +++ b/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, createContext } from 'react'; import { useCreation } from 'ahooks'; diff --git a/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/index.ts b/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/index.ts index 1111e919..202b3301 100644 --- a/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { BotEditorServiceContext } from './context'; diff --git a/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/type.ts b/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/type.ts index d52c5447..97b336bf 100644 --- a/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/type.ts +++ b/frontend/packages/agent-ide/space-bot/src/context/bot-editor-service/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorSharedApplyRecordService } from '../../service/shared-apply-record-service'; import { type NLPromptModalVisibilityService } from '../../service/nl-prompt-modal-visibility-service'; import { type FreeGrabModalHierarchyService } from '../../service/free-grab-modal-hierarchy-service'; diff --git a/frontend/packages/agent-ide/space-bot/src/context/editor-kit/context.tsx b/frontend/packages/agent-ide/space-bot/src/context/editor-kit/context.tsx index 6ec34265..c1aa08b2 100644 --- a/frontend/packages/agent-ide/space-bot/src/context/editor-kit/context.tsx +++ b/frontend/packages/agent-ide/space-bot/src/context/editor-kit/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, createContext, useState } from 'react'; import { type PromptEditorKitContextProps } from './type'; diff --git a/frontend/packages/agent-ide/space-bot/src/context/editor-kit/index.ts b/frontend/packages/agent-ide/space-bot/src/context/editor-kit/index.ts index 35ebe388..5bbe35e9 100644 --- a/frontend/packages/agent-ide/space-bot/src/context/editor-kit/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/context/editor-kit/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { PromptEditorKitContext, PromptEditorKitProvider } from './context'; diff --git a/frontend/packages/agent-ide/space-bot/src/context/editor-kit/type.ts b/frontend/packages/agent-ide/space-bot/src/context/editor-kit/type.ts index 3460707a..e060a2c3 100644 --- a/frontend/packages/agent-ide/space-bot/src/context/editor-kit/type.ts +++ b/frontend/packages/agent-ide/space-bot/src/context/editor-kit/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Editor } from '@coze-common/md-editor-adapter'; export interface PromptEditorKitContextProps { diff --git a/frontend/packages/agent-ide/space-bot/src/hook/index.ts b/frontend/packages/agent-ide/space-bot/src/hook/index.ts index 19493c76..e2cad7a1 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { useEffect, useMemo } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-custom-platform-controller.ts b/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-custom-platform-controller.ts index ab16fb12..1ddd3a91 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-custom-platform-controller.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-custom-platform-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-custom-platform-setting-modal-controller.ts b/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-custom-platform-setting-modal-controller.ts index 837ff05c..53fc34fa 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-custom-platform-setting-modal-controller.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-custom-platform-setting-modal-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useMemo } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-normal-platform-controller.ts b/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-normal-platform-controller.ts index 617bf2d0..1028f4b8 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-normal-platform-controller.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-normal-platform-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { userStoreService } from '@coze-studio/user-store'; import { createReportEvent, diff --git a/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-oauth-setting-modal-controller.ts b/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-oauth-setting-modal-controller.ts index 639141fa..d3a260c7 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-oauth-setting-modal-controller.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/publish-platform-setting/use-oauth-setting-modal-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemoizedFn, useRequest } from 'ahooks'; import { REPORT_EVENTS } from '@coze-arch/report-events'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/tools-publish-back-modal.ts b/frontend/packages/agent-ide/space-bot/src/hook/tools-publish-back-modal.ts index a46ad374..1d581dea 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/tools-publish-back-modal.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/tools-publish-back-modal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect } from 'react'; import { debounce } from 'lodash-es'; @@ -149,7 +149,7 @@ export const useWorkflowPublishedModel = ({ flow_mode: plugin.plugin_type === PluginType.IMAGEFLOW ? WorkflowMode.Imageflow - : (jumpResponse?.flowMode ?? WorkflowMode.Workflow), + : jumpResponse?.flowMode ?? WorkflowMode.Workflow, }; const onOkResult = onOk(workflow); const res = await Promise.resolve(onOkResult); diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-connector-diff-modal.tsx b/frontend/packages/agent-ide/space-bot/src/hook/use-connector-diff-modal.tsx index 622c0d5e..5fb6a9eb 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-connector-diff-modal.tsx +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-connector-diff-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/agent-info-form.tsx b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/agent-info-form.tsx index 798a94c9..9a1ec997 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/agent-info-form.tsx +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/agent-info-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ComponentProps, Suspense, forwardRef, lazy } from 'react'; import classNames from 'classnames'; @@ -144,7 +144,7 @@ export const AgentInfoForm = forwardRef< initValue={ hideOperation ? spacesList?.[0]?.id - : (currentSpaceId ?? spacesList?.[0]?.id) + : currentSpaceId ?? spacesList?.[0]?.id } placeholder={I18n.t('select_team')} noErrorMessage diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/form-switch/index.tsx b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/form-switch/index.tsx index 87cfe35b..43ae6508 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/form-switch/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/form-switch/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { Switch, withField, type SwitchProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/index.tsx b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/index.tsx index 1a08653b..0e1df6ab 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useAgentFormManagement, type UseAgentFormManagementProps, diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/use-agent-form-management.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/use-agent-form-management.ts index 9a0272a6..34f46692 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/use-agent-form-management.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/use-agent-form-management.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef } from 'react'; import { type Form } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/use-agent-persistence.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/use-agent-persistence.ts index 26328499..e82eb15f 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/use-agent-persistence.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-create-bot/use-agent-persistence.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { useState } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-dataset-auto-change-confirm.tsx b/frontend/packages/agent-ide/space-bot/src/hook/use-dataset-auto-change-confirm.tsx index 5a68e7e4..3837e914 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-dataset-auto-change-confirm.tsx +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-dataset-auto-change-confirm.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Modal } from '@coze-arch/bot-semi'; import { diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-edit-confirm.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-edit-confirm.ts index 55d39e67..924a5821 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-edit-confirm.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-edit-confirm.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, useLocation } from 'react-router-dom'; import { useEffect, useRef } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-free-drag-modal-hierarchy.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-free-drag-modal-hierarchy.ts index 9da44502..dfa78438 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-free-drag-modal-hierarchy.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-free-drag-modal-hierarchy.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type RefObject } from 'react'; import { useBotEditor } from '@coze-agent-ide/bot-editor-context-store'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-init.tsx b/frontend/packages/agent-ide/space-bot/src/hook/use-init.tsx index d31a61f6..3a338712 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-init.tsx +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-init.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, useParams } from 'react-router-dom'; import { useEffect, useRef } from 'react'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-monetize-config-readonly.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-monetize-config-readonly.ts index 3761c2c2..2978d357 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-monetize-config-readonly.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-monetize-config-readonly.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { userStoreService } from '@coze-studio/user-store'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; import { useBotDetailIsReadonly } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-plugin-permission-manage.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-plugin-permission-manage.ts index 48a93f75..6115b227 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-plugin-permission-manage.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-plugin-permission-manage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-popover-lock.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-popover-lock.ts index 4e1add7a..5660e79b 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-popover-lock.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-popover-lock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Dispatch, type SetStateAction, useState } from 'react'; import { type PopoverProps } from '@coze-arch/bot-semi/Popover'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-query-collect.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-query-collect.ts index 98e69d8e..d3a6594a 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-query-collect.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-query-collect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-space-role.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-space-role.ts index 82a4660d..4a0e22c1 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-space-role.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-space-role.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-background.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-background.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-background.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-background.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-onboarding-and-update-chat-area.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-onboarding-and-update-chat-area.ts index a2fd1cc3..b6508d71 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-onboarding-and-update-chat-area.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-onboarding-and-update-chat-area.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { shuffle } from 'lodash-es'; diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-unbind-platform.tsx b/frontend/packages/agent-ide/space-bot/src/hook/use-unbind-platform.tsx index 5d0f3f34..58ba2c22 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-unbind-platform.tsx +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-unbind-platform.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { createReportEvent, diff --git a/frontend/packages/agent-ide/space-bot/src/index.tsx b/frontend/packages/agent-ide/space-bot/src/index.tsx index 4e80b2f0..401a0c8c 100644 --- a/frontend/packages/agent-ide/space-bot/src/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /**type */ export { type PublishResultInfo, diff --git a/frontend/packages/agent-ide/space-bot/src/service/free-grab-modal-hierarchy-service/index.ts b/frontend/packages/agent-ide/space-bot/src/service/free-grab-modal-hierarchy-service/index.ts index 67d0b4b0..2460e79a 100644 --- a/frontend/packages/agent-ide/space-bot/src/service/free-grab-modal-hierarchy-service/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/service/free-grab-modal-hierarchy-service/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FreeGrabModalHierarchyAction } from '@coze-agent-ide/bot-editor-context-store'; import { type ModalHierarchyServiceConstructor } from './type'; diff --git a/frontend/packages/agent-ide/space-bot/src/service/free-grab-modal-hierarchy-service/type.ts b/frontend/packages/agent-ide/space-bot/src/service/free-grab-modal-hierarchy-service/type.ts index a73e088f..4a28b2dc 100644 --- a/frontend/packages/agent-ide/space-bot/src/service/free-grab-modal-hierarchy-service/type.ts +++ b/frontend/packages/agent-ide/space-bot/src/service/free-grab-modal-hierarchy-service/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FreeGrabModalHierarchyAction } from '@coze-agent-ide/bot-editor-context-store'; export interface ModalHierarchyServiceConstructor { diff --git a/frontend/packages/agent-ide/space-bot/src/service/nl-prompt-modal-visibility-service/index.ts b/frontend/packages/agent-ide/space-bot/src/service/nl-prompt-modal-visibility-service/index.ts index 2219b5f1..e2620582 100644 --- a/frontend/packages/agent-ide/space-bot/src/service/nl-prompt-modal-visibility-service/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/service/nl-prompt-modal-visibility-service/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mitt, { type Emitter } from 'mitt'; import { EVENT_NAMES } from '@coze-arch/bot-tea'; import { diff --git a/frontend/packages/agent-ide/space-bot/src/service/nl-prompt-modal-visibility-service/type.ts b/frontend/packages/agent-ide/space-bot/src/service/nl-prompt-modal-visibility-service/type.ts index 76d93c7a..5cd6a60b 100644 --- a/frontend/packages/agent-ide/space-bot/src/service/nl-prompt-modal-visibility-service/type.ts +++ b/frontend/packages/agent-ide/space-bot/src/service/nl-prompt-modal-visibility-service/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type sendTeaEvent } from '@coze-arch/bot-tea'; import { type NLPromptModalAction } from '@coze-agent-ide/bot-editor-context-store'; diff --git a/frontend/packages/agent-ide/space-bot/src/service/shared-apply-record-service/index.ts b/frontend/packages/agent-ide/space-bot/src/service/shared-apply-record-service/index.ts index 825ce99b..358dc894 100644 --- a/frontend/packages/agent-ide/space-bot/src/service/shared-apply-record-service/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/service/shared-apply-record-service/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IApplyMetadata } from '@coze-common/md-editor-adapter'; import { type EditorApplyDataSetField, type EditorApplyDataSet } from './type'; diff --git a/frontend/packages/agent-ide/space-bot/src/service/shared-apply-record-service/type.ts b/frontend/packages/agent-ide/space-bot/src/service/shared-apply-record-service/type.ts index 8764b411..0dabce87 100644 --- a/frontend/packages/agent-ide/space-bot/src/service/shared-apply-record-service/type.ts +++ b/frontend/packages/agent-ide/space-bot/src/service/shared-apply-record-service/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IApplyMetadata } from '@coze-common/md-editor-adapter'; export interface EditorApplyDataSet { diff --git a/frontend/packages/agent-ide/space-bot/src/store/bot-list-filter/index.ts b/frontend/packages/agent-ide/space-bot/src/store/bot-list-filter/index.ts index 3d2e448f..68599a88 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/bot-list-filter/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/bot-list-filter/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { diff --git a/frontend/packages/agent-ide/space-bot/src/store/bot-mode/index.ts b/frontend/packages/agent-ide/space-bot/src/store/bot-mode/index.ts index 9f497d97..276ca16e 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/bot-mode/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/bot-mode/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/agent-ide/space-bot/src/store/bot-page/store.ts b/frontend/packages/agent-ide/space-bot/src/store/bot-page/store.ts index 9b9c3814..be582ffb 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/bot-page/store.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/bot-page/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/agent-ide/space-bot/src/store/debug-panel/index.ts b/frontend/packages/agent-ide/space-bot/src/store/debug-panel/index.ts index 15841806..6b9a835d 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/debug-panel/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/debug-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDebugStore } from './store'; diff --git a/frontend/packages/agent-ide/space-bot/src/store/debug-panel/store.ts b/frontend/packages/agent-ide/space-bot/src/store/debug-panel/store.ts index 3e25bb1f..7ee46d3e 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/debug-panel/store.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/debug-panel/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/agent-ide/space-bot/src/store/evaluation-panel/index.ts b/frontend/packages/agent-ide/space-bot/src/store/evaluation-panel/index.ts index 794805d3..35334c1a 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/evaluation-panel/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/evaluation-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useEvaluationPanelStore } from './store'; diff --git a/frontend/packages/agent-ide/space-bot/src/store/evaluation-panel/store.ts b/frontend/packages/agent-ide/space-bot/src/store/evaluation-panel/store.ts index 6009a0e1..64eab18e 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/evaluation-panel/store.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/evaluation-panel/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/agent-ide/space-bot/src/store/explore/index.ts b/frontend/packages/agent-ide/space-bot/src/store/explore/index.ts index 1ec8d869..c94551c3 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/explore/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/explore/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/space-bot/src/store/index.ts b/frontend/packages/agent-ide/space-bot/src/store/index.ts index cad979dc..ed2d0f2b 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /**store */ export { useBotListFilterStore } from './bot-list-filter'; export { useRiskWarningStore } from './risk-warning/store'; diff --git a/frontend/packages/agent-ide/space-bot/src/store/risk-warning/store.ts b/frontend/packages/agent-ide/space-bot/src/store/risk-warning/store.ts index 8b038bbb..0fe6caf5 100644 --- a/frontend/packages/agent-ide/space-bot/src/store/risk-warning/store.ts +++ b/frontend/packages/agent-ide/space-bot/src/store/risk-warning/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/agent-ide/space-bot/src/typings.d.ts b/frontend/packages/agent-ide/space-bot/src/typings.d.ts index d117759e..dabf3fd4 100644 --- a/frontend/packages/agent-ide/space-bot/src/typings.d.ts +++ b/frontend/packages/agent-ide/space-bot/src/typings.d.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// /// diff --git a/frontend/packages/agent-ide/space-bot/src/util/auth.ts b/frontend/packages/agent-ide/space-bot/src/util/auth.ts index cd201259..a39cd561 100644 --- a/frontend/packages/agent-ide/space-bot/src/util/auth.ts +++ b/frontend/packages/agent-ide/space-bot/src/util/auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEmpty } from 'lodash-es'; import { useRequest } from 'ahooks'; import { withSlardarIdButton } from '@coze-studio/bot-utils'; diff --git a/frontend/packages/agent-ide/space-bot/src/util/index.ts b/frontend/packages/agent-ide/space-bot/src/util/index.ts index cf5ae490..7c0472b2 100644 --- a/frontend/packages/agent-ide/space-bot/src/util/index.ts +++ b/frontend/packages/agent-ide/space-bot/src/util/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { UIModal } from '@coze-arch/bot-semi'; import { type DiffDisplayNode } from '@coze-arch/bot-api/dp_manage_api'; diff --git a/frontend/packages/agent-ide/space-bot/tailwind.config.ts b/frontend/packages/agent-ide/space-bot/tailwind.config.ts index a175da22..ce2eaf1f 100644 --- a/frontend/packages/agent-ide/space-bot/tailwind.config.ts +++ b/frontend/packages/agent-ide/space-bot/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/agent-ide/space-bot/vitest.config.ts b/frontend/packages/agent-ide/space-bot/vitest.config.ts index 7a49bf0c..abe06a12 100644 --- a/frontend/packages/agent-ide/space-bot/vitest.config.ts +++ b/frontend/packages/agent-ide/space-bot/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/agent-ide/tool-config/__tests__/shortcut-config/get-strict-shortcuts.test.ts b/frontend/packages/agent-ide/tool-config/__tests__/shortcut-config/get-strict-shortcuts.test.ts index 6a22733d..9962fdc8 100644 --- a/frontend/packages/agent-ide/tool-config/__tests__/shortcut-config/get-strict-shortcuts.test.ts +++ b/frontend/packages/agent-ide/tool-config/__tests__/shortcut-config/get-strict-shortcuts.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { ToolType } from '@coze-arch/bot-api/playground_api'; import type { ShortcutCommand } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/agent-ide/tool-config/src/constants.ts b/frontend/packages/agent-ide/tool-config/src/constants.ts index 34ee3e0f..14ca4360 100644 --- a/frontend/packages/agent-ide/tool-config/src/constants.ts +++ b/frontend/packages/agent-ide/tool-config/src/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TabDisplayItems } from '@coze-arch/bot-api/developer_api'; import { ToolKey, AgentSkillKey, ToolGroupKey } from './types'; diff --git a/frontend/packages/agent-ide/tool-config/src/index.tsx b/frontend/packages/agent-ide/tool-config/src/index.tsx index 2ffe606e..c6f2de0f 100644 --- a/frontend/packages/agent-ide/tool-config/src/index.tsx +++ b/frontend/packages/agent-ide/tool-config/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AbilityScope, ToolKey, diff --git a/frontend/packages/agent-ide/tool-config/src/shortcut-config/get-strict-shortcuts.ts b/frontend/packages/agent-ide/tool-config/src/shortcut-config/get-strict-shortcuts.ts index 1be17b5f..780e670f 100644 --- a/frontend/packages/agent-ide/tool-config/src/shortcut-config/get-strict-shortcuts.ts +++ b/frontend/packages/agent-ide/tool-config/src/shortcut-config/get-strict-shortcuts.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ShortcutCommand as ShortcutCommandFromService, ToolType, diff --git a/frontend/packages/agent-ide/tool-config/src/shortcut-config/type.ts b/frontend/packages/agent-ide/tool-config/src/shortcut-config/type.ts index 9c2b71f6..ddc5d972 100644 --- a/frontend/packages/agent-ide/tool-config/src/shortcut-config/type.ts +++ b/frontend/packages/agent-ide/tool-config/src/shortcut-config/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { SendType, ShortcutCommand as ShortcutCommandFromService, diff --git a/frontend/packages/agent-ide/tool-config/src/types.ts b/frontend/packages/agent-ide/tool-config/src/types.ts index d5c99e9e..0ae18e0b 100644 --- a/frontend/packages/agent-ide/tool-config/src/types.ts +++ b/frontend/packages/agent-ide/tool-config/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const enum AbilityScope { TOOL = 'tool', AGENT_SKILL = 'agentSkill', diff --git a/frontend/packages/agent-ide/tool-config/stories/demo.stories.tsx b/frontend/packages/agent-ide/tool-config/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/agent-ide/tool-config/stories/demo.stories.tsx +++ b/frontend/packages/agent-ide/tool-config/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/agent-ide/tool-config/vitest.config.ts b/frontend/packages/agent-ide/tool-config/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/tool-config/vitest.config.ts +++ b/frontend/packages/agent-ide/tool-config/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/tool/__tests__/hooks/duplicate-use-ability-config.tsx b/frontend/packages/agent-ide/tool/__tests__/hooks/duplicate-use-ability-config.tsx index c508454b..e082e7d6 100644 --- a/frontend/packages/agent-ide/tool/__tests__/hooks/duplicate-use-ability-config.tsx +++ b/frontend/packages/agent-ide/tool/__tests__/hooks/duplicate-use-ability-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { diff --git a/frontend/packages/agent-ide/tool/__tests__/store/tool-area.test.ts b/frontend/packages/agent-ide/tool/__tests__/store/tool-area.test.ts index c4df1bdc..65f1745a 100644 --- a/frontend/packages/agent-ide/tool/__tests__/store/tool-area.test.ts +++ b/frontend/packages/agent-ide/tool/__tests__/store/tool-area.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ToolGroupKey, ToolKey } from '@coze-agent-ide/tool-config'; import { diff --git a/frontend/packages/agent-ide/tool/__tests__/utils/error.test.ts b/frontend/packages/agent-ide/tool/__tests__/utils/error.test.ts index b470fd5c..b2156052 100644 --- a/frontend/packages/agent-ide/tool/__tests__/utils/error.test.ts +++ b/frontend/packages/agent-ide/tool/__tests__/utils/error.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { generateError } from '../../src/utils/error'; describe('error', () => { diff --git a/frontend/packages/agent-ide/tool/src/components/ability-area-container/index.tsx b/frontend/packages/agent-ide/tool/src/components/ability-area-container/index.tsx index 566b43d5..b010f76c 100644 --- a/frontend/packages/agent-ide/tool/src/components/ability-area-container/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/ability-area-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import { type BotMode } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/agent-ide/tool/src/components/add-button/index.tsx b/frontend/packages/agent-ide/tool/src/components/add-button/index.tsx index fd566b06..6a01a035 100644 --- a/frontend/packages/agent-ide/tool/src/components/add-button/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/add-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useBotDetailIsReadonly } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/tool/src/components/agent-skill-container/index.tsx b/frontend/packages/agent-ide/tool/src/components/agent-skill-container/index.tsx index 4ff7300b..0a237645 100644 --- a/frontend/packages/agent-ide/tool/src/components/agent-skill-container/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/agent-skill-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ErrorBoundary } from 'react-error-boundary'; import { type FC, type PropsWithChildren } from 'react'; diff --git a/frontend/packages/agent-ide/tool/src/components/agent-skill-content-block/index.tsx b/frontend/packages/agent-ide/tool/src/components/agent-skill-content-block/index.tsx index 7add2799..58611026 100644 --- a/frontend/packages/agent-ide/tool/src/components/agent-skill-content-block/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/agent-skill-content-block/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, forwardRef, diff --git a/frontend/packages/agent-ide/tool/src/components/agent-skill-content/index.tsx b/frontend/packages/agent-ide/tool/src/components/agent-skill-content/index.tsx index ebb11655..be05e786 100644 --- a/frontend/packages/agent-ide/tool/src/components/agent-skill-content/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/agent-skill-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/agent-skill-modal/index.tsx b/frontend/packages/agent-ide/tool/src/components/agent-skill-modal/index.tsx index 8f5f3c6d..6d47921e 100644 --- a/frontend/packages/agent-ide/tool/src/components/agent-skill-modal/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/agent-skill-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; // eslint-disable-next-line @coze-arch/no-pkg-dir-import diff --git a/frontend/packages/agent-ide/tool/src/components/agent-skill-view/index.tsx b/frontend/packages/agent-ide/tool/src/components/agent-skill-view/index.tsx index a18ec8a3..4c32fc5b 100644 --- a/frontend/packages/agent-ide/tool/src/components/agent-skill-view/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/agent-skill-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, Children, useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/auto-generate-button/index.tsx b/frontend/packages/agent-ide/tool/src/components/auto-generate-button/index.tsx index f23f4fab..efc62442 100644 --- a/frontend/packages/agent-ide/tool/src/components/auto-generate-button/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/auto-generate-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useBotDetailIsReadonly } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/tool/src/components/fallbacks/index.tsx b/frontend/packages/agent-ide/tool/src/components/fallbacks/index.tsx index fca0c020..26de6c28 100644 --- a/frontend/packages/agent-ide/tool/src/components/fallbacks/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/fallbacks/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { getSlardarInstance } from '@coze-arch/logger'; diff --git a/frontend/packages/agent-ide/tool/src/components/grouping-container/index.tsx b/frontend/packages/agent-ide/tool/src/components/grouping-container/index.tsx index d71b1f13..db4162c7 100644 --- a/frontend/packages/agent-ide/tool/src/components/grouping-container/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/grouping-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; @@ -34,7 +34,7 @@ import styles from './index.module.less'; /** * Packet container - * @see + * @see */ interface IProps { diff --git a/frontend/packages/agent-ide/tool/src/components/invisible-tool-controller/index.tsx b/frontend/packages/agent-ide/tool/src/components/invisible-tool-controller/index.tsx index 0f0ab05b..71ef19e6 100644 --- a/frontend/packages/agent-ide/tool/src/components/invisible-tool-controller/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/invisible-tool-controller/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; import { useIsAllToolHidden } from '../../hooks/public/container/use-tool-all-hidden'; diff --git a/frontend/packages/agent-ide/tool/src/components/model-capability-tips/index.tsx b/frontend/packages/agent-ide/tool/src/components/model-capability-tips/index.tsx index e91b39e9..add1febe 100644 --- a/frontend/packages/agent-ide/tool/src/components/model-capability-tips/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/model-capability-tips/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-container/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-container/index.tsx index 37760df4..6dfcd69b 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-container/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-content-block/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-content-block/index.tsx index 9c8580a6..55220c3b 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-content-block/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-content-block/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type PropsWithChildren, diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-card.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-card.tsx index b49f78da..70b1dd68 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-card.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-copy.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-copy.tsx index 1e4df6b6..a47a3287 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-copy.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-copy.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-delete.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-delete.tsx index 3ba0ed54..45125432 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-delete.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-delete.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-drag.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-drag.tsx index 312380c7..ef1dd4ef 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-drag.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-drag.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-edit.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-edit.tsx index b20b7b70..b21751c2 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-edit.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-edit.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-info.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-info.tsx index 01838983..be843944 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-info.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-setting.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-setting.tsx index d27df589..855bb98c 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-setting.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-action/actions/tool-item-action-setting.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-action/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-action/index.tsx index 4f649ced..9d8faa8d 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-action/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-action/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, type MouseEventHandler } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-card.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-card.tsx index ba48d8e7..6f2ed2d0 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-card.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-info.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-info.tsx index fdef63ac..e2666b29 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-info.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-people.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-people.tsx index aa7ee5e0..c9e81954 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-people.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-icon/icons/tool-item-icon-people.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozPeople } from '@coze-arch/coze-design/icons'; import { ToolItemIcon } from '..'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-icon/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-icon/index.tsx index 105dbba2..90983ebd 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-icon/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-icon/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-list/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-list/index.tsx index a1917e38..e5a5fa5d 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-list/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; export const ToolItemList: FC = ({ children }) => ( diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item-switch/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item-switch/index.tsx index 94304480..7423b42c 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item-switch/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item-switch/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC, type ChangeEvent } from 'react'; import { Switch } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-item/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-item/index.tsx index 33783737..c51254b5 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-item/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable react-hooks/rules-of-hooks */ import { type ReactNode, useRef, type FC } from 'react'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-menu-dropdown-menu/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-menu-dropdown-menu/index.tsx index 0f90bac0..722a7ee8 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-menu-dropdown-menu/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-menu-dropdown-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-menu/guide-popover.tsx b/frontend/packages/agent-ide/tool/src/components/tool-menu/guide-popover.tsx index 358a2196..74388584 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-menu/guide-popover.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-menu/guide-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-menu/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-menu/index.tsx index a1a974ed..865fc27a 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-menu/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-popover/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-popover/index.tsx index 10a9d2b8..4643c1cf 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-popover/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Popover, type PopoverProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-tooltip/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-tooltip/index.tsx index 036791fb..48e2b526 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-tooltip/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Tooltip, type TooltipProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/agent-ide/tool/src/components/tool-view/index.tsx b/frontend/packages/agent-ide/tool/src/components/tool-view/index.tsx index bca4eed1..b9544cab 100644 --- a/frontend/packages/agent-ide/tool/src/components/tool-view/index.tsx +++ b/frontend/packages/agent-ide/tool/src/components/tool-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Children, useMemo, type FC, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/agent-ide/tool/src/constants/tool-content-block.ts b/frontend/packages/agent-ide/tool/src/constants/tool-content-block.ts index b42c0d3c..704e05fc 100644 --- a/frontend/packages/agent-ide/tool/src/constants/tool-content-block.ts +++ b/frontend/packages/agent-ide/tool/src/constants/tool-content-block.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SkillKeyEnum } from '@coze-agent-ide/tool-config'; import { OpenBlockEvent } from '@coze-arch/bot-utils'; type IOpenBlockEventToToolKey = Record; diff --git a/frontend/packages/agent-ide/tool/src/context/ability-area-context.tsx b/frontend/packages/agent-ide/tool/src/context/ability-area-context.tsx index d8273dae..b6b93e22 100644 --- a/frontend/packages/agent-ide/tool/src/context/ability-area-context.tsx +++ b/frontend/packages/agent-ide/tool/src/context/ability-area-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, diff --git a/frontend/packages/agent-ide/tool/src/context/ability-config-context.tsx b/frontend/packages/agent-ide/tool/src/context/ability-config-context.tsx index 5b190808..8ea0d199 100644 --- a/frontend/packages/agent-ide/tool/src/context/ability-config-context.tsx +++ b/frontend/packages/agent-ide/tool/src/context/ability-config-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, diff --git a/frontend/packages/agent-ide/tool/src/context/agent-skill-config-context.tsx b/frontend/packages/agent-ide/tool/src/context/agent-skill-config-context.tsx index 6f1e3856..812143d9 100644 --- a/frontend/packages/agent-ide/tool/src/context/agent-skill-config-context.tsx +++ b/frontend/packages/agent-ide/tool/src/context/agent-skill-config-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, diff --git a/frontend/packages/agent-ide/tool/src/context/preference-context.tsx b/frontend/packages/agent-ide/tool/src/context/preference-context.tsx index 4b632e26..65adc6e8 100644 --- a/frontend/packages/agent-ide/tool/src/context/preference-context.tsx +++ b/frontend/packages/agent-ide/tool/src/context/preference-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, diff --git a/frontend/packages/agent-ide/tool/src/context/tool-item-context.tsx b/frontend/packages/agent-ide/tool/src/context/tool-item-context.tsx index ab3e020f..bbe252b3 100644 --- a/frontend/packages/agent-ide/tool/src/context/tool-item-context.tsx +++ b/frontend/packages/agent-ide/tool/src/context/tool-item-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, diff --git a/frontend/packages/agent-ide/tool/src/hooks/agent-skill-modal/use-agent-modal-trigger-event.ts b/frontend/packages/agent-ide/tool/src/hooks/agent-skill-modal/use-agent-modal-trigger-event.ts index 18a1b765..5a5eda66 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/agent-skill-modal/use-agent-modal-trigger-event.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/agent-skill-modal/use-agent-modal-trigger-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AgentModalTabKey } from '@coze-agent-ide/tool-config'; import { useEvent } from '../event/use-event'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/agent-skill-modal/use-agent-skill-modal.tsx b/frontend/packages/agent-ide/tool/src/hooks/agent-skill-modal/use-agent-skill-modal.tsx index 25be52cb..c42d6bd6 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/agent-skill-modal/use-agent-skill-modal.tsx +++ b/frontend/packages/agent-ide/tool/src/hooks/agent-skill-modal/use-agent-skill-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { diff --git a/frontend/packages/agent-ide/tool/src/hooks/agent-skill/use-agent-skill.ts b/frontend/packages/agent-ide/tool/src/hooks/agent-skill/use-agent-skill.ts index 09b9c8d2..13334c0b 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/agent-skill/use-agent-skill.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/agent-skill/use-agent-skill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { type AgentSkillKey } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-ability-config.ts b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-ability-config.ts index f6699231..f7bd8489 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-ability-config.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-ability-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useAbilityConfigContext } from '../../context/ability-config-context'; /** diff --git a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-create-store.ts b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-create-store.ts index 53aa3c71..430d5b30 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-create-store.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-create-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { createToolAreaStore } from '../../store/tool-area'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-get-tool-config.ts b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-get-tool-config.ts index 242f2f2c..5951826f 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-get-tool-config.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-get-tool-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AbilityKey } from '@coze-agent-ide/tool-config'; import { useAbilityAreaContext } from '../../context/ability-area-context'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-agent-skill-key.ts b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-agent-skill-key.ts index 7c42b39b..718518c5 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-agent-skill-key.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-agent-skill-key.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AgentSkillKey } from '@coze-agent-ide/tool-config'; import { useAbilityAreaContext } from '../../context/ability-area-context'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-tool-group.ts b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-tool-group.ts index f01e8c5f..37fe051a 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-tool-group.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-tool-group.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { type IRegisteredToolGroupConfig } from '../../store/tool-area'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-tool-key.ts b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-tool-key.ts index 5b294958..23aa0895 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-tool-key.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/builtin/use-register-tool-key.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { type IRegisteredToolKeyConfig } from '../../store/tool-area'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/event/use-event.ts b/frontend/packages/agent-ide/tool/src/hooks/event/use-event.ts index 915bf6e1..f37a8a89 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/event/use-event.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/event/use-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useAbilityAreaContext } from '../../context/ability-area-context'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/public/agent/use-has-agent-skill.ts b/frontend/packages/agent-ide/tool/src/hooks/public/agent/use-has-agent-skill.ts index 50c2fccd..daebf959 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/public/agent/use-has-agent-skill.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/public/agent/use-has-agent-skill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { type AgentSkillKey } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/public/collapse/use-tool-content-block-default-expand.tsx b/frontend/packages/agent-ide/tool/src/hooks/public/collapse/use-tool-content-block-default-expand.tsx index 91a34356..54c2d2cf 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/public/collapse/use-tool-content-block-default-expand.tsx +++ b/frontend/packages/agent-ide/tool/src/hooks/public/collapse/use-tool-content-block-default-expand.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useShallow } from 'zustand/react/shallow'; @@ -36,7 +36,7 @@ import { toolKeyToApiStatusKeyTransformer } from '../../../utils/tool-content-bl * @param configured whether there is configuration content * Check when @param * - * @see + * @see */ export const useToolContentBlockDefaultExpand = ( $params: { diff --git a/frontend/packages/agent-ide/tool/src/hooks/public/collapse/use-tool-toggle-collapse.ts b/frontend/packages/agent-ide/tool/src/hooks/public/collapse/use-tool-toggle-collapse.ts index 44519e41..7654fdc0 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/public/collapse/use-tool-toggle-collapse.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/public/collapse/use-tool-toggle-collapse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AbilityKey } from '@coze-agent-ide/tool-config'; import { useEvent } from '../../event/use-event'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/public/container/use-tool-all-hidden.ts b/frontend/packages/agent-ide/tool/src/hooks/public/container/use-tool-all-hidden.ts index 1273a661..05e748f0 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/public/container/use-tool-all-hidden.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/public/container/use-tool-all-hidden.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { TOOL_KEY_TO_API_STATUS_KEY_MAP } from '@coze-agent-ide/tool-config'; import { usePageRuntimeStore } from '@coze-studio/bot-detail-store/page-runtime'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/public/container/use-tool-valid-data.ts b/frontend/packages/agent-ide/tool/src/hooks/public/container/use-tool-valid-data.ts index feafb476..c255b5b6 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/public/container/use-tool-valid-data.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/public/container/use-tool-valid-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TOOL_KEY_TO_API_STATUS_KEY_MAP } from '@coze-agent-ide/tool-config'; import { usePageRuntimeStore } from '@coze-studio/bot-detail-store/page-runtime'; import { TabStatus } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/public/init/use-init.ts b/frontend/packages/agent-ide/tool/src/hooks/public/init/use-init.ts index b20c6205..1984c268 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/public/init/use-init.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/public/init/use-init.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { AbilityScope, diff --git a/frontend/packages/agent-ide/tool/src/hooks/public/modal/use-agent-modal-callbacks.ts b/frontend/packages/agent-ide/tool/src/hooks/public/modal/use-agent-modal-callbacks.ts index ca1d6a83..b914b6ea 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/public/modal/use-agent-modal-callbacks.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/public/modal/use-agent-modal-callbacks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-pkg-dir-import import { type AgentModalTabKey } from '@coze-agent-ide/tool-config/src/types'; diff --git a/frontend/packages/agent-ide/tool/src/hooks/store/use-ability-store-context.tsx b/frontend/packages/agent-ide/tool/src/hooks/store/use-ability-store-context.tsx index 2cfa5d4a..30a3682b 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/store/use-ability-store-context.tsx +++ b/frontend/packages/agent-ide/tool/src/hooks/store/use-ability-store-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, diff --git a/frontend/packages/agent-ide/tool/src/hooks/tool/use-tool-toggle-collapse.ts b/frontend/packages/agent-ide/tool/src/hooks/tool/use-tool-toggle-collapse.ts index 441567bc..2b432b4c 100644 --- a/frontend/packages/agent-ide/tool/src/hooks/tool/use-tool-toggle-collapse.ts +++ b/frontend/packages/agent-ide/tool/src/hooks/tool/use-tool-toggle-collapse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AbilityKey } from '@coze-agent-ide/tool-config'; import { useEvent } from '../event/use-event'; diff --git a/frontend/packages/agent-ide/tool/src/index.ts b/frontend/packages/agent-ide/tool/src/index.ts index d64a0c0a..b02f160f 100644 --- a/frontend/packages/agent-ide/tool/src/index.ts +++ b/frontend/packages/agent-ide/tool/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Types, constants, functions, hooks, components, etc. exposed by START for a long time */ diff --git a/frontend/packages/agent-ide/tool/src/store/agent-area.ts b/frontend/packages/agent-ide/tool/src/store/agent-area.ts index b914a238..c7f3c0b4 100644 --- a/frontend/packages/agent-ide/tool/src/store/agent-area.ts +++ b/frontend/packages/agent-ide/tool/src/store/agent-area.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/agent-ide/tool/src/store/tool-area.ts b/frontend/packages/agent-ide/tool/src/store/tool-area.ts index de26660f..c33d467b 100644 --- a/frontend/packages/agent-ide/tool/src/store/tool-area.ts +++ b/frontend/packages/agent-ide/tool/src/store/tool-area.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/agent-ide/tool/src/typings.d.ts b/frontend/packages/agent-ide/tool/src/typings.d.ts index ba1eee07..b5e3a7a0 100644 --- a/frontend/packages/agent-ide/tool/src/typings.d.ts +++ b/frontend/packages/agent-ide/tool/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.less' { diff --git a/frontend/packages/agent-ide/tool/src/typings/button.ts b/frontend/packages/agent-ide/tool/src/typings/button.ts index 991ddc42..5c7b970c 100644 --- a/frontend/packages/agent-ide/tool/src/typings/button.ts +++ b/frontend/packages/agent-ide/tool/src/typings/button.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; export interface ToolButtonCommonProps { diff --git a/frontend/packages/agent-ide/tool/src/typings/event-callbacks.ts b/frontend/packages/agent-ide/tool/src/typings/event-callbacks.ts index 5859c559..45262d9a 100644 --- a/frontend/packages/agent-ide/tool/src/typings/event-callbacks.ts +++ b/frontend/packages/agent-ide/tool/src/typings/event-callbacks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface IEventCallbacks { onAllToolHiddenStatusChange: (isAllHidden: boolean) => void; onInitialed: () => void; diff --git a/frontend/packages/agent-ide/tool/src/typings/event.ts b/frontend/packages/agent-ide/tool/src/typings/event.ts index a8179ae6..3c2d4eb1 100644 --- a/frontend/packages/agent-ide/tool/src/typings/event.ts +++ b/frontend/packages/agent-ide/tool/src/typings/event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AgentModalTabKey, type AbilityKey, diff --git a/frontend/packages/agent-ide/tool/src/typings/index.ts b/frontend/packages/agent-ide/tool/src/typings/index.ts index a7d14a43..37d1e58c 100644 --- a/frontend/packages/agent-ide/tool/src/typings/index.ts +++ b/frontend/packages/agent-ide/tool/src/typings/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ToolKey } from '@coze-agent-ide/tool-config'; export type Nullable = { diff --git a/frontend/packages/agent-ide/tool/src/typings/scoped-events.ts b/frontend/packages/agent-ide/tool/src/typings/scoped-events.ts index 8e01bdec..1f47a7bc 100644 --- a/frontend/packages/agent-ide/tool/src/typings/scoped-events.ts +++ b/frontend/packages/agent-ide/tool/src/typings/scoped-events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type IEventCenterEventName = EventCenterEventName | string; /** diff --git a/frontend/packages/agent-ide/tool/src/typings/store.ts b/frontend/packages/agent-ide/tool/src/typings/store.ts index b6ad3e87..f75ff455 100644 --- a/frontend/packages/agent-ide/tool/src/typings/store.ts +++ b/frontend/packages/agent-ide/tool/src/typings/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AbilityScope } from '@coze-agent-ide/tool-config'; import { type BotDetailSkill } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/agent-ide/tool/src/utils/error.ts b/frontend/packages/agent-ide/tool/src/utils/error.ts index c7e02fe1..3b2095bb 100644 --- a/frontend/packages/agent-ide/tool/src/utils/error.ts +++ b/frontend/packages/agent-ide/tool/src/utils/error.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const generateError = (message: string) => new Error(`[Bot Platform Tool Hooks]: ${message}`); diff --git a/frontend/packages/agent-ide/tool/src/utils/has-valid-key.ts b/frontend/packages/agent-ide/tool/src/utils/has-valid-key.ts index c126b291..8028240d 100644 --- a/frontend/packages/agent-ide/tool/src/utils/has-valid-key.ts +++ b/frontend/packages/agent-ide/tool/src/utils/has-valid-key.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactElement, type ReactNode } from 'react'; import { type AgentSkillKey } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/agent-ide/tool/src/utils/is-tool-key.ts b/frontend/packages/agent-ide/tool/src/utils/is-tool-key.ts index a7219ebf..97f86b25 100644 --- a/frontend/packages/agent-ide/tool/src/utils/is-tool-key.ts +++ b/frontend/packages/agent-ide/tool/src/utils/is-tool-key.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AbilityKey, type AbilityScope, diff --git a/frontend/packages/agent-ide/tool/src/utils/is-valid-context.ts b/frontend/packages/agent-ide/tool/src/utils/is-valid-context.ts index 870ad8b7..9c581731 100644 --- a/frontend/packages/agent-ide/tool/src/utils/is-valid-context.ts +++ b/frontend/packages/agent-ide/tool/src/utils/is-valid-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NonNullableType } from '../typings/index'; export const isValidContext = ( diff --git a/frontend/packages/agent-ide/tool/src/utils/model-function-config-type-mapping.ts b/frontend/packages/agent-ide/tool/src/utils/model-function-config-type-mapping.ts index 4784f4ad..75021570 100644 --- a/frontend/packages/agent-ide/tool/src/utils/model-function-config-type-mapping.ts +++ b/frontend/packages/agent-ide/tool/src/utils/model-function-config-type-mapping.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AbilityKey } from '@coze-agent-ide/tool-config'; import { ModelFuncConfigType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/agent-ide/tool/src/utils/tool-content-block.ts b/frontend/packages/agent-ide/tool/src/utils/tool-content-block.ts index 8ea668e2..c17df9b9 100644 --- a/frontend/packages/agent-ide/tool/src/utils/tool-content-block.ts +++ b/frontend/packages/agent-ide/tool/src/utils/tool-content-block.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ToolKey, TOOL_KEY_TO_API_STATUS_KEY_MAP, diff --git a/frontend/packages/agent-ide/tool/stories/demo.stories.tsx b/frontend/packages/agent-ide/tool/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/agent-ide/tool/stories/demo.stories.tsx +++ b/frontend/packages/agent-ide/tool/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/agent-ide/tool/tailwind.config.ts b/frontend/packages/agent-ide/tool/tailwind.config.ts index 4fc2bd1e..95c239e6 100644 --- a/frontend/packages/agent-ide/tool/tailwind.config.ts +++ b/frontend/packages/agent-ide/tool/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/agent-ide/tool/vitest.config.ts b/frontend/packages/agent-ide/tool/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/tool/vitest.config.ts +++ b/frontend/packages/agent-ide/tool/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/workflow-as-agent-adapter/src/components/workflow-card/index.tsx b/frontend/packages/agent-ide/workflow-as-agent-adapter/src/components/workflow-card/index.tsx index 2edcd204..dc1a6376 100644 --- a/frontend/packages/agent-ide/workflow-as-agent-adapter/src/components/workflow-card/index.tsx +++ b/frontend/packages/agent-ide/workflow-as-agent-adapter/src/components/workflow-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { ToolItemActionCopy } from '@coze-agent-ide/tool'; diff --git a/frontend/packages/agent-ide/workflow-as-agent-adapter/src/index.ts b/frontend/packages/agent-ide/workflow-as-agent-adapter/src/index.ts index 5b8b7436..d7f31761 100644 --- a/frontend/packages/agent-ide/workflow-as-agent-adapter/src/index.ts +++ b/frontend/packages/agent-ide/workflow-as-agent-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowCard } from './components/workflow-card'; diff --git a/frontend/packages/agent-ide/workflow-as-agent-adapter/src/typings.d.ts b/frontend/packages/agent-ide/workflow-as-agent-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/workflow-as-agent-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/workflow-as-agent-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/workflow-as-agent-adapter/vitest.config.ts b/frontend/packages/agent-ide/workflow-as-agent-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/workflow-as-agent-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/workflow-as-agent-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/workflow-card-adapter/src/components/workflow-card/add-button.tsx b/frontend/packages/agent-ide/workflow-card-adapter/src/components/workflow-card/add-button.tsx index bb05083b..8c4a2e6d 100644 --- a/frontend/packages/agent-ide/workflow-card-adapter/src/components/workflow-card/add-button.tsx +++ b/frontend/packages/agent-ide/workflow-card-adapter/src/components/workflow-card/add-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AddButton as BaseAddButton } from '@coze-agent-ide/tool'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/agent-ide/workflow-card-adapter/src/components/workflow-card/index.tsx b/frontend/packages/agent-ide/workflow-card-adapter/src/components/workflow-card/index.tsx index f39429a5..ca626402 100644 --- a/frontend/packages/agent-ide/workflow-card-adapter/src/components/workflow-card/index.tsx +++ b/frontend/packages/agent-ide/workflow-card-adapter/src/components/workflow-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/workflow-card-adapter/src/index.ts b/frontend/packages/agent-ide/workflow-card-adapter/src/index.ts index 0e5a4d2d..85122adb 100644 --- a/frontend/packages/agent-ide/workflow-card-adapter/src/index.ts +++ b/frontend/packages/agent-ide/workflow-card-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowCard, type IWorkflowCardProps, diff --git a/frontend/packages/agent-ide/workflow-card-adapter/src/typings.d.ts b/frontend/packages/agent-ide/workflow-card-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/workflow-card-adapter/src/typings.d.ts +++ b/frontend/packages/agent-ide/workflow-card-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/workflow-card-adapter/vitest.config.ts b/frontend/packages/agent-ide/workflow-card-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/workflow-card-adapter/vitest.config.ts +++ b/frontend/packages/agent-ide/workflow-card-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/workflow-item/src/components/workflow-item/index.tsx b/frontend/packages/agent-ide/workflow-item/src/components/workflow-item/index.tsx index 652da984..ced52a3d 100644 --- a/frontend/packages/agent-ide/workflow-item/src/components/workflow-item/index.tsx +++ b/frontend/packages/agent-ide/workflow-item/src/components/workflow-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/workflow-item/src/components/workflow-item/workflow-item-actions.tsx b/frontend/packages/agent-ide/workflow-item/src/components/workflow-item/workflow-item-actions.tsx index 6fb101a1..17eecdb0 100644 --- a/frontend/packages/agent-ide/workflow-item/src/components/workflow-item/workflow-item-actions.tsx +++ b/frontend/packages/agent-ide/workflow-item/src/components/workflow-item/workflow-item-actions.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import { diff --git a/frontend/packages/agent-ide/workflow-item/src/hooks/use-navigate-workflow.ts b/frontend/packages/agent-ide/workflow-item/src/hooks/use-navigate-workflow.ts index 6a3ac8a2..1e94bce4 100644 --- a/frontend/packages/agent-ide/workflow-item/src/hooks/use-navigate-workflow.ts +++ b/frontend/packages/agent-ide/workflow-item/src/hooks/use-navigate-workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useCallback } from 'react'; diff --git a/frontend/packages/agent-ide/workflow-item/src/index.ts b/frontend/packages/agent-ide/workflow-item/src/index.ts index cbcb3578..67fa292b 100644 --- a/frontend/packages/agent-ide/workflow-item/src/index.ts +++ b/frontend/packages/agent-ide/workflow-item/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkFlowItemCozeDesign, type WorkflowItemProps, diff --git a/frontend/packages/agent-ide/workflow-item/src/typings.d.ts b/frontend/packages/agent-ide/workflow-item/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/workflow-item/src/typings.d.ts +++ b/frontend/packages/agent-ide/workflow-item/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/workflow-item/vitest.config.ts b/frontend/packages/agent-ide/workflow-item/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/workflow-item/vitest.config.ts +++ b/frontend/packages/agent-ide/workflow-item/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/workflow-modal/src/components/workflow-modal/base.tsx b/frontend/packages/agent-ide/workflow-modal/src/components/workflow-modal/base.tsx index 3a32e4f0..2f475ca8 100644 --- a/frontend/packages/agent-ide/workflow-modal/src/components/workflow-modal/base.tsx +++ b/frontend/packages/agent-ide/workflow-modal/src/components/workflow-modal/base.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; // import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/workflow-modal/src/components/workflow-modal/hooks.tsx b/frontend/packages/agent-ide/workflow-modal/src/components/workflow-modal/hooks.tsx index 5f1a23b6..88eb5e0a 100644 --- a/frontend/packages/agent-ide/workflow-modal/src/components/workflow-modal/hooks.tsx +++ b/frontend/packages/agent-ide/workflow-modal/src/components/workflow-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type ReactNode, useState, useMemo, useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/workflow-modal/src/index.ts b/frontend/packages/agent-ide/workflow-modal/src/index.ts index 3335b704..6438e3dd 100644 --- a/frontend/packages/agent-ide/workflow-modal/src/index.ts +++ b/frontend/packages/agent-ide/workflow-modal/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BotWorkflowModal } from './components/workflow-modal/base'; export { useBotWorkFlowListModal } from './components/workflow-modal/hooks'; diff --git a/frontend/packages/agent-ide/workflow-modal/src/typings.d.ts b/frontend/packages/agent-ide/workflow-modal/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/workflow-modal/src/typings.d.ts +++ b/frontend/packages/agent-ide/workflow-modal/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/workflow-modal/vitest.config.ts b/frontend/packages/agent-ide/workflow-modal/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/workflow-modal/vitest.config.ts +++ b/frontend/packages/agent-ide/workflow-modal/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/agent-ide/workflow/src/components/workflow-as-agent/workflow-config-area/index.tsx b/frontend/packages/agent-ide/workflow/src/components/workflow-as-agent/workflow-config-area/index.tsx index ec8d8ae3..a10c846d 100644 --- a/frontend/packages/agent-ide/workflow/src/components/workflow-as-agent/workflow-config-area/index.tsx +++ b/frontend/packages/agent-ide/workflow/src/components/workflow-as-agent/workflow-config-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/agent-ide/workflow/src/components/workflow-as-agent/workflow-config-area/use-agent-workflow-modal.tsx b/frontend/packages/agent-ide/workflow/src/components/workflow-as-agent/workflow-config-area/use-agent-workflow-modal.tsx index 8e9b1b56..59acd1b1 100644 --- a/frontend/packages/agent-ide/workflow/src/components/workflow-as-agent/workflow-config-area/use-agent-workflow-modal.tsx +++ b/frontend/packages/agent-ide/workflow/src/components/workflow-as-agent/workflow-config-area/use-agent-workflow-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type ReactNode, useState, useMemo, useEffect } from 'react'; diff --git a/frontend/packages/agent-ide/workflow/src/index.tsx b/frontend/packages/agent-ide/workflow/src/index.tsx index c0cb5d5b..a49b0338 100644 --- a/frontend/packages/agent-ide/workflow/src/index.tsx +++ b/frontend/packages/agent-ide/workflow/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowConfigArea } from './components/workflow-as-agent/workflow-config-area'; diff --git a/frontend/packages/agent-ide/workflow/src/typings.d.ts b/frontend/packages/agent-ide/workflow/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/agent-ide/workflow/src/typings.d.ts +++ b/frontend/packages/agent-ide/workflow/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/agent-ide/workflow/vitest.config.ts b/frontend/packages/agent-ide/workflow/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/agent-ide/workflow/vitest.config.ts +++ b/frontend/packages/agent-ide/workflow/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/api-schema/src/api/config.ts b/frontend/packages/arch/api-schema/src/api/config.ts index ecafac8e..d41f8d6f 100644 --- a/frontend/packages/arch/api-schema/src/api/config.ts +++ b/frontend/packages/arch/api-schema/src/api/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createAPI as apiFactory } from '@coze-arch/idl2ts-runtime'; import { type IMeta } from '@coze-arch/idl2ts-runtime'; import { axiosInstance } from '@coze-arch/bot-http'; diff --git a/frontend/packages/arch/api-schema/src/idl/base.ts b/frontend/packages/arch/api-schema/src/idl/base.ts index 9d2931a9..b1ddfb5c 100644 --- a/frontend/packages/arch/api-schema/src/idl/base.ts +++ b/frontend/packages/arch/api-schema/src/idl/base.ts @@ -15,32 +15,32 @@ */ export interface TrafficEnv { - Open: boolean, - Env: string, + Open: boolean; + Env: string; } export interface Base { - LogID: string, - Caller: string, - Addr: string, - Client: string, - TrafficEnv?: TrafficEnv, + LogID: string; + Caller: string; + Addr: string; + Client: string; + TrafficEnv?: TrafficEnv; Extra?: { - [key: string | number]: string - }, + [key: string | number]: string; + }; } export interface BaseResp { - StatusMessage: string, - StatusCode: number, + StatusMessage: string; + StatusCode: number; Extra?: { - [key: string | number]: string - }, + [key: string | number]: string; + }; } export interface EmptyReq {} export interface EmptyData {} export interface EmptyResp { - code: number, - msg: string, - data: EmptyData, + code: number; + msg: string; + data: EmptyData; } export interface EmptyRpcReq {} -export interface EmptyRpcResp {} \ No newline at end of file +export interface EmptyRpcResp {} diff --git a/frontend/packages/arch/api-schema/src/idl/flow/marketplace/flow_marketplace_product/product_common.ts b/frontend/packages/arch/api-schema/src/idl/flow/marketplace/flow_marketplace_product/product_common.ts index 5d7998a0..f33ba660 100644 --- a/frontend/packages/arch/api-schema/src/idl/flow/marketplace/flow_marketplace_product/product_common.ts +++ b/frontend/packages/arch/api-schema/src/idl/flow/marketplace/flow_marketplace_product/product_common.ts @@ -74,7 +74,7 @@ export enum ProductPaidType { Paid = 1, } export interface CommercialSetting { - commercial_type: ProductPaidType + commercial_type: ProductPaidType; } export enum ProductStatus { /** 从未上架 */ @@ -84,23 +84,23 @@ export enum ProductStatus { Banned = 3, } export interface UserLabel { - label_id: string, - label_name: string, - icon_uri: string, - icon_url: string, - jump_link: string, + label_id: string; + label_name: string; + icon_uri: string; + icon_url: string; + jump_link: string; } export interface UserInfo { - user_id: string, - user_name: string, - name: string, - avatar_url: string, - user_label?: UserLabel, - follow_type?: marketplace_common.FollowType, + user_id: string; + user_name: string; + name: string; + avatar_url: string; + user_label?: UserLabel; + follow_type?: marketplace_common.FollowType; } export interface ImageInfo { - uri: string, - url: string, + uri: string; + url: string; } export enum ProductDraftStatus { /** 默认 */ @@ -117,7 +117,7 @@ export enum ProductDraftStatus { export type AuditStatus = ProductDraftStatus; export interface OpeningDialog { /** Bot开场白 */ - content: string + content: string; } export enum InputType { String = 1, @@ -163,51 +163,51 @@ export enum UIPreviewType { /** * UI 预览类型,定义对齐 UI Builder,目前用于 Project * 网页端 - */ + */ Web = 1, /** 移动端 */ Client = 2, } export interface ChargeSKUExtra { - quantity: string, - is_self_define: boolean, + quantity: string; + is_self_define: boolean; } export enum FavoriteListSource { /** 用户自己创建的 */ CreatedByMe = 1, } export interface FavoriteEntity { - entity_id: string, - entity_type: ProductEntityType, - name: string, - icon_url: string, - description: string, + entity_id: string; + entity_type: ProductEntityType; + name: string; + icon_url: string; + description: string; /** 废弃,使用UserInfo */ - seller: SellerInfo, + seller: SellerInfo; /** 用于跳转到Bot编辑页 */ - space_id: string, + space_id: string; /** 用户是否有该实体所在Space的权限 */ - has_space_permission: boolean, + has_space_permission: boolean; /** 收藏时间 */ - favorite_at: string, - product_extra?: FavoriteProductExtra, - user_info: UserInfo, - plugin_extra?: FavoritePluginExtra, + favorite_at: string; + product_extra?: FavoriteProductExtra; + user_info: UserInfo; + plugin_extra?: FavoritePluginExtra; } export interface SellerInfo { - user_id: string, - user_name: string, - avatar_url: string, + user_id: string; + user_name: string; + avatar_url: string; } export interface FavoriteProductExtra { - product_id: string, - product_status: ProductStatus, + product_id: string; + product_status: ProductStatus; } export interface FavoritePluginExtra { - tools: PluginTool[] + tools: PluginTool[]; } export interface PluginTool { - id: string, - name: string, - description: string, -} \ No newline at end of file + id: string; + name: string; + description: string; +} diff --git a/frontend/packages/arch/api-schema/src/idl/flow/marketplace/flow_marketplace_product/public_api.ts b/frontend/packages/arch/api-schema/src/idl/flow/marketplace/flow_marketplace_product/public_api.ts index 5174f09d..4a1d4e95 100644 --- a/frontend/packages/arch/api-schema/src/idl/flow/marketplace/flow_marketplace_product/public_api.ts +++ b/frontend/packages/arch/api-schema/src/idl/flow/marketplace/flow_marketplace_product/public_api.ts @@ -21,209 +21,262 @@ export { product_common }; import * as base from './../../../base'; export { base }; import { createAPI } from './../../../../api/config'; -export const PublicGetProductList = /*#__PURE__*/createAPI({ - "url": "/api/marketplace/product/list", - "method": "GET", - "name": "PublicGetProductList", - "reqType": "GetProductListRequest", - "reqMapping": { - "body": ["entity_type", "sort_type", "page_num", "page_size", "keyword", "publish_mode", "source", "current_entity_type", "preview_topic_id", "is_official", "need_extra", "entity_types", "is_free", "plugin_type"], - "query": ["category_id", "publish_platform_ids", "current_entity_id", "current_entity_version", "topic_id"], - "header": ["Tt-Agw-Client-Ip"] +export const PublicGetProductList = /*#__PURE__*/ createAPI< + GetProductListRequest, + GetProductListResponse +>({ + url: '/api/marketplace/product/list', + method: 'GET', + name: 'PublicGetProductList', + reqType: 'GetProductListRequest', + reqMapping: { + body: [ + 'entity_type', + 'sort_type', + 'page_num', + 'page_size', + 'keyword', + 'publish_mode', + 'source', + 'current_entity_type', + 'preview_topic_id', + 'is_official', + 'need_extra', + 'entity_types', + 'is_free', + 'plugin_type', + ], + query: [ + 'category_id', + 'publish_platform_ids', + 'current_entity_id', + 'current_entity_version', + 'topic_id', + ], + header: ['Tt-Agw-Client-Ip'], }, - "resType": "GetProductListResponse", - "schemaRoot": "api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api", - "service": "explore" + resType: 'GetProductListResponse', + schemaRoot: + 'api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api', + service: 'explore', }); -export const PublicGetProductDetail = /*#__PURE__*/createAPI({ - "url": "/api/marketplace/product/detail", - "method": "GET", - "name": "PublicGetProductDetail", - "reqType": "GetProductDetailRequest", - "reqMapping": { - "query": ["product_id", "entity_id"], - "body": ["entity_type", "need_audit_failed"], - "header": ["Tt-Agw-Client-Ip"] +export const PublicGetProductDetail = /*#__PURE__*/ createAPI< + GetProductDetailRequest, + GetProductDetailResponse +>({ + url: '/api/marketplace/product/detail', + method: 'GET', + name: 'PublicGetProductDetail', + reqType: 'GetProductDetailRequest', + reqMapping: { + query: ['product_id', 'entity_id'], + body: ['entity_type', 'need_audit_failed'], + header: ['Tt-Agw-Client-Ip'], }, - "resType": "GetProductDetailResponse", - "schemaRoot": "api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api", - "service": "explore" + resType: 'GetProductDetailResponse', + schemaRoot: + 'api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api', + service: 'explore', }); -export const PublicFavoriteProduct = /*#__PURE__*/createAPI({ - "url": "/api/marketplace/product/favorite", - "method": "POST", - "name": "PublicFavoriteProduct", - "reqType": "FavoriteProductRequest", - "reqMapping": { - "body": ["product_id", "entity_type", "is_cancel", "entity_id", "topic_id"], - "header": ["Cookie"] +export const PublicFavoriteProduct = /*#__PURE__*/ createAPI< + FavoriteProductRequest, + FavoriteProductResponse +>({ + url: '/api/marketplace/product/favorite', + method: 'POST', + name: 'PublicFavoriteProduct', + reqType: 'FavoriteProductRequest', + reqMapping: { + body: ['product_id', 'entity_type', 'is_cancel', 'entity_id', 'topic_id'], + header: ['Cookie'], }, - "resType": "FavoriteProductResponse", - "schemaRoot": "api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api", - "service": "explore" + resType: 'FavoriteProductResponse', + schemaRoot: + 'api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api', + service: 'explore', }); -export const PublicGetUserFavoriteListV2 = /*#__PURE__*/createAPI({ - "url": "/api/marketplace/product/favorite/list.v2", - "method": "GET", - "name": "PublicGetUserFavoriteListV2", - "reqType": "GetUserFavoriteListV2Request", - "reqMapping": { - "query": ["cursor_id", "page_size", "entity_type", "sort_type", "keyword", "source", "need_user_trigger_config", "begin_at", "end_at", "entity_types", "organization_id"] +export const PublicGetUserFavoriteListV2 = /*#__PURE__*/ createAPI< + GetUserFavoriteListV2Request, + GetUserFavoriteListV2Response +>({ + url: '/api/marketplace/product/favorite/list.v2', + method: 'GET', + name: 'PublicGetUserFavoriteListV2', + reqType: 'GetUserFavoriteListV2Request', + reqMapping: { + query: [ + 'cursor_id', + 'page_size', + 'entity_type', + 'sort_type', + 'keyword', + 'source', + 'need_user_trigger_config', + 'begin_at', + 'end_at', + 'entity_types', + 'organization_id', + ], }, - "resType": "GetUserFavoriteListV2Response", - "schemaRoot": "api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api", - "service": "explore" + resType: 'GetUserFavoriteListV2Response', + schemaRoot: + 'api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api', + service: 'explore', }); -export const PublicDuplicateProduct = /*#__PURE__*/createAPI({ - "url": "/api/marketplace/product/duplicate", - "method": "POST", - "name": "PublicDuplicateProduct", - "reqType": "DuplicateProductRequest", - "reqMapping": { - "body": ["product_id", "entity_type", "space_id", "name"], - "header": ["Cookie"] +export const PublicDuplicateProduct = /*#__PURE__*/ createAPI< + DuplicateProductRequest, + DuplicateProductResponse +>({ + url: '/api/marketplace/product/duplicate', + method: 'POST', + name: 'PublicDuplicateProduct', + reqType: 'DuplicateProductRequest', + reqMapping: { + body: ['product_id', 'entity_type', 'space_id', 'name'], + header: ['Cookie'], }, - "resType": "DuplicateProductResponse", - "schemaRoot": "api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api", - "service": "explore" + resType: 'DuplicateProductResponse', + schemaRoot: + 'api://schemas/idl_flow_marketplace_flow_marketplace_product_public_api', + service: 'explore', }); export interface FavoriteProductResponse { - code: number, - message: string, - is_first_favorite?: boolean, + code: number; + message: string; + is_first_favorite?: boolean; } export interface FavoriteProductRequest { - product_id?: string, - entity_type: product_common.ProductEntityType, - is_cancel?: boolean, - entity_id?: string, - topic_id?: string, - Cookie?: string, + product_id?: string; + entity_type: product_common.ProductEntityType; + is_cancel?: boolean; + entity_id?: string; + topic_id?: string; + Cookie?: string; } export interface GetProductListRequest { - entity_type?: product_common.ProductEntityType, - category_id?: string, - sort_type: product_common.SortType, - page_num: number, - page_size: number, + entity_type?: product_common.ProductEntityType; + category_id?: string; + sort_type: product_common.SortType; + page_num: number; + page_size: number; /** 不为空则搜索 */ - keyword?: string, + keyword?: string; /** 公开方式:1-开源;2-闭源 , // 公开方式 */ - publish_mode?: product_common.ProductPublishMode, + publish_mode?: product_common.ProductPublishMode; /** 发布渠道 */ - publish_platform_ids?: string[], + publish_platform_ids?: string[]; /** 列表页 tab; 1-运营推荐 */ - source?: product_common.ProductListSource, + source?: product_common.ProductListSource; /** * 个性化推荐场景, 传入当前的实体信息, 获取推荐的商品 * 当前实体类型 - */ - current_entity_type?: product_common.ProductEntityType, + */ + current_entity_type?: product_common.ProductEntityType; /** 当前实体 ID */ - current_entity_id?: string, + current_entity_id?: string; /** 当前实体版本 */ - current_entity_version?: string, + current_entity_version?: string; /** 专题场景 */ - topic_id?: string, - preview_topic_id?: string, + topic_id?: string; + preview_topic_id?: string; /** 是否需要过滤出官方商品 */ - is_official?: boolean, + is_official?: boolean; /** 是否需要返回额外信息 */ - need_extra?: boolean, + need_extra?: boolean; /** 商品类型列表, 优先使用该参数,其次使用 EntityType */ - entity_types?: product_common.ProductEntityType[], + entity_types?: product_common.ProductEntityType[]; /** true = 筛选免费的;false = 筛选付费的;不传则不区分免费和付费 */ - is_free?: boolean, + is_free?: boolean; /** 插件类型 */ - plugin_type?: product_common.PluginType, - "Tt-Agw-Client-Ip"?: string, + plugin_type?: product_common.PluginType; + 'Tt-Agw-Client-Ip'?: string; } export interface GetProductListResponse { - code: number, - message: string, - data: GetProductListData, + code: number; + message: string; + data: GetProductListData; } export interface GetProductListData { - products?: ProductInfo[], - has_more: boolean, - total: number, + products?: ProductInfo[]; + has_more: boolean; + total: number; } export interface ProductInfo { - meta_info: ProductMetaInfo, - user_behavior?: UserBehaviorInfo, - commercial_setting?: product_common.CommercialSetting, - plugin_extra?: PluginExtraInfo, - bot_extra?: BotExtraInfo, - workflow_extra?: WorkflowExtraInfo, - social_scene_extra?: SocialSceneExtraInfo, - project_extra?: ProjectExtraInfo, + meta_info: ProductMetaInfo; + user_behavior?: UserBehaviorInfo; + commercial_setting?: product_common.CommercialSetting; + plugin_extra?: PluginExtraInfo; + bot_extra?: BotExtraInfo; + workflow_extra?: WorkflowExtraInfo; + social_scene_extra?: SocialSceneExtraInfo; + project_extra?: ProjectExtraInfo; } export interface SellerInfo { - id: string, - name: string, - avatar_url: string, + id: string; + name: string; + avatar_url: string; } export interface ProductCategory { - id: string, - name: string, - icon_url: string, - active_icon_url: string, - index: number, - count: number, + id: string; + name: string; + icon_url: string; + active_icon_url: string; + index: number; + count: number; } export interface ProductLabel { - name: string + name: string; } export interface ProductMetaInfo { - id: string, + id: string; /** 商品/模板名称 */ - name: string, + name: string; /** 素材 ID,由 entity_type 来决定是 bot/plugin 的ID */ - entity_id: string, + entity_id: string; /** 商品素材类型 */ - entity_type: product_common.ProductEntityType, + entity_type: product_common.ProductEntityType; /** 商品/模板头像 */ - icon_url: string, + icon_url: string; /** 热度:模板热度=复制量(用于卡片展示/排序);商品热度=不同商品有独立的计算逻辑(仅用于排序)—— heat的计算有一定延迟 */ - heat: number, - favorite_count: number, + heat: number; + favorite_count: number; /** 废弃,使用UserInfo代替 */ - seller: SellerInfo, + seller: SellerInfo; /** 商品描述 */ - description: string, - listed_at: string, - status: product_common.ProductStatus, + description: string; + listed_at: string; + status: product_common.ProductStatus; /** 商品/模板分类信息 */ - category?: ProductCategory, + category?: ProductCategory; /** 是否收藏 */ - is_favorited: boolean, - is_free: boolean, + is_favorited: boolean; + is_free: boolean; /** 模板介绍/插件介绍(目前是富文本格式) */ - readme: string, - entity_version?: string, - labels?: ProductLabel[], - user_info: product_common.UserInfo, - medium_icon_url: string, - origin_icon_url: string, + readme: string; + entity_version?: string; + labels?: ProductLabel[]; + user_info: product_common.UserInfo; + medium_icon_url: string; + origin_icon_url: string; /** 模板封面 */ - covers?: product_common.ImageInfo[], + covers?: product_common.ImageInfo[]; /** 是否专业版特供 */ - is_professional?: boolean, + is_professional?: boolean; /** 是否为模板 */ - is_template: boolean, + is_template: boolean; /** 是否官方商品 */ - is_official: boolean, + is_official: boolean; /** 价格,当前只有模板有 */ - price?: marketplace_common.Price, + price?: marketplace_common.Price; } export interface UserBehaviorInfo { /** * 用户主页需要返回最近浏览/使用商品的时间 * 最近浏览时间戳 - */ - viewed_at?: string, + */ + viewed_at?: string; /** 最近使用时间戳 */ - used_at?: string, + used_at?: string; } export enum PluginAuthMode { /** 不需要授权 */ @@ -236,48 +289,48 @@ export enum PluginAuthMode { Supported = 3, } export interface PluginExtraInfo { - tools?: PluginToolInfo[], - total_api_count: number, - bots_use_count: number, + tools?: PluginToolInfo[]; + total_api_count: number; + bots_use_count: number; /** 是否有隐私声明, 目前只有 PublicGetProductDetail 会取数据 */ - has_private_statement?: boolean, + has_private_statement?: boolean; /** 隐私声明, 目前只有 PublicGetProductDetail 会取数据 */ - private_statement?: string, - associated_bots_use_count: number, - is_premium: boolean, - is_official: boolean, + private_statement?: string; + associated_bots_use_count: number; + is_premium: boolean; + is_official: boolean; /** 调用量 */ - call_amount?: number, + call_amount?: number; /** 成功率 */ - success_rate?: number, + success_rate?: number; /** 平均执行时长 */ - avg_exec_time?: number, - is_default_icon?: boolean, - space_id?: string, - material_id?: string, - connectors: PluginConnectorInfo[], - plugin_type?: product_common.PluginType, + avg_exec_time?: number; + is_default_icon?: boolean; + space_id?: string; + material_id?: string; + connectors: PluginConnectorInfo[]; + plugin_type?: product_common.PluginType; /** for opencoze */ - auth_mode?: PluginAuthMode, + auth_mode?: PluginAuthMode; } export interface ToolParameter { - name: string, - required: boolean, - description: string, - type: string, - sub_params: ToolParameter[], + name: string; + required: boolean; + description: string; + type: string; + sub_params: ToolParameter[]; } export interface CardInfo { - card_url: string, + card_url: string; /** 以下只有详情页返回 */ - card_id: string, - mapping_rule: string, - max_display_rows: string, - card_version: string, + card_id: string; + mapping_rule: string; + max_display_rows: string; + card_version: string; } export interface PluginToolExample { - req_example: string, - resp_example: string, + req_example: string; + resp_example: string; } export enum PluginRunMode { DefaultToSync = 0, @@ -286,45 +339,45 @@ export enum PluginRunMode { Streaming = 3, } export interface PluginToolInfo { - id: string, - name: string, - description: string, - parameters?: ToolParameter[], - card_info?: CardInfo, - example?: PluginToolExample, + id: string; + name: string; + description: string; + parameters?: ToolParameter[]; + card_info?: CardInfo; + example?: PluginToolExample; /** 调用量 */ - call_amount?: number, + call_amount?: number; /** 成功率 */ - success_rate?: number, + success_rate?: number; /** 平均执行时长 */ - avg_exec_time?: number, + avg_exec_time?: number; /** tool 被bot引用数 */ - bots_use_count?: number, + bots_use_count?: number; /** 运行模式 */ - run_mode?: PluginRunMode, + run_mode?: PluginRunMode; } export interface PluginConnectorInfo { - id: string, - name: string, - icon: string, + id: string; + name: string; + icon: string; } export interface BotPublishPlatform { - id: string, - icon_url: string, - url: string, - name: string, + id: string; + icon_url: string; + url: string; + name: string; } export interface ProductMaterial { - name: string, - icon_url: string, + name: string; + icon_url: string; } export interface BotVoiceInfo { - id: string, - language_code: string, - language_name: string, - name: string, - style_id: string, - is_support_voice_call: boolean, + id: string; + language_code: string; + language_name: string; + name: string; + style_id: string; + is_support_voice_call: boolean; } export enum TimeCapsuleMode { Off = 0, @@ -338,371 +391,371 @@ export interface UserQueryCollectConf { /** * bot用户query收集配置 * 是否开启收集开关 - */ - is_collected: boolean, + */ + is_collected: boolean; /** 隐私协议链接 */ - private_policy: string, + private_policy: string; } export interface BotConfig { /** 模型 */ - models?: ProductMaterial[], + models?: ProductMaterial[]; /** 插件 */ - plugins?: ProductMaterial[], + plugins?: ProductMaterial[]; /** 知识库 */ - knowledges?: ProductMaterial[], + knowledges?: ProductMaterial[]; /** 工作流 */ - workflows?: ProductMaterial[], + workflows?: ProductMaterial[]; /** 私有插件数量 */ - private_plugins_count?: number, + private_plugins_count?: number; /** 私有知识库数量 */ - private_knowledges_count?: number, + private_knowledges_count?: number; /** 私有工作流数量 */ - private_workflows_count?: number, + private_workflows_count?: number; /** 判断 multiagent 是否有 bot 节点 */ - has_bot_agent?: boolean, + has_bot_agent?: boolean; /** bot 配置的声音列表 */ - bot_voices?: BotVoiceInfo[], + bot_voices?: BotVoiceInfo[]; /** 所有插件数量 */ - total_plugins_count?: number, + total_plugins_count?: number; /** 所有知识库数量 */ - total_knowledges_count?: number, + total_knowledges_count?: number; /** 所有工作流数量 */ - total_workflows_count?: number, + total_workflows_count?: number; /** 时间胶囊模式 */ - time_capsule_mode?: TimeCapsuleMode, + time_capsule_mode?: TimeCapsuleMode; /** 文件盒模式 */ - filebox_mode?: FileboxInfoMode, + filebox_mode?: FileboxInfoMode; /** 私有图片工作流数量 */ - private_image_workflow_count?: number, + private_image_workflow_count?: number; /** 用户qeury收集配置 */ - user_query_collect_conf?: UserQueryCollectConf, + user_query_collect_conf?: UserQueryCollectConf; /** 是否关闭语音通话(默认是打开) */ - is_close_voice_call?: boolean, + is_close_voice_call?: boolean; } /** 消息涉及的bot信息,在home分享场景,消息属于多个bot */ export interface ConversationRelateBot { - id: string, - name: string, - description: string, - icon_url: string, + id: string; + name: string; + description: string; + icon_url: string; } /** 消息涉及的user信息,在home分享场景,消息属于多个user */ export interface ConversationRelateUser { - user_info?: product_common.UserInfo + user_info?: product_common.UserInfo; } export interface Conversation { /** 对话示例 */ - snippets?: string[], + snippets?: string[]; /** 对话标题 */ - title?: string, + title?: string; /** 对话ID,idGen生成 */ - id?: string, + id?: string; /** 是否需要生成对话 */ - gen_title?: boolean, + gen_title?: boolean; /** 对话审核状态 */ - audit_status?: product_common.AuditStatus, + audit_status?: product_common.AuditStatus; /** 开场白 */ - opening_dialog?: product_common.OpeningDialog, + opening_dialog?: product_common.OpeningDialog; /** 消息涉及的bot信息,key bot_id */ relate_bots?: { - [key: string | number]: ConversationRelateBot - }, + [key: string | number]: ConversationRelateBot; + }; /** 消息涉及的user信息,key user_id */ relate_users?: { - [key: string | number]: ConversationRelateUser - }, + [key: string | number]: ConversationRelateUser; + }; } export interface BotExtraInfo { /** 发布渠道 */ - publish_platforms: BotPublishPlatform[], + publish_platforms: BotPublishPlatform[]; /** 用户数 */ - user_count: number, + user_count: number; /** 公开方式 */ - publish_mode: product_common.ProductPublishMode, + publish_mode: product_common.ProductPublishMode; /** * 详情页特有 * 对话示例, 废弃 - */ - conversation_snippets?: string[][], + */ + conversation_snippets?: string[][]; /** 配置 */ - config?: BotConfig, + config?: BotConfig; /** 白名单 */ - is_inhouse_user?: boolean, + is_inhouse_user?: boolean; /** 复制创建 bot 数量 */ - duplicate_bot_count?: number, + duplicate_bot_count?: number; /** 分享对话 */ - conversations?: Conversation[], + conversations?: Conversation[]; /** 与 Bot 聊天的对话数 */ - chat_conversation_count?: string, + chat_conversation_count?: string; /** 关联商品数 */ - related_product_count?: string, + related_product_count?: string; } export interface WorkflowParameter { - name: string, - desc: string, - is_required: boolean, - input_type: product_common.InputType, - sub_parameters: WorkflowParameter[], + name: string; + desc: string; + is_required: boolean; + input_type: product_common.InputType; + sub_parameters: WorkflowParameter[]; /** 如果Type是数组,则有subtype */ - sub_type: product_common.InputType, + sub_type: product_common.InputType; /** 如果入参是用户手输 就放这里 */ - value?: string, - format?: product_common.PluginParamTypeFormat, - from_node_id?: string, - from_output?: string[], + value?: string; + format?: product_common.PluginParamTypeFormat; + from_node_id?: string; + from_output?: string[]; /** InputType (+ AssistType) 定义一个变量的最终类型,仅需透传 */ - assist_type?: number, + assist_type?: number; /** 展示名称( store 独有的,用于详情页 GUI 展示参数) */ - show_name?: string, + show_name?: string; /** 如果InputType是数组,则有subassisttype */ - sub_assist_type?: number, + sub_assist_type?: number; /** 组件配置,由前端解析并渲染 */ - component_config?: string, + component_config?: string; /** 组件配置类型,前端展示需要 */ - component_type?: string, + component_type?: string; } export interface WorkflowTerminatePlan { /** 对应 workflow 结束节点的回答模式:1-返回变量,由Bot生成回答;2-使用设定的内容直接回答 */ - terminate_plan_type: number, + terminate_plan_type: number; /** 对应 terminate_plan_type = 2 的场景配置的返回内容 */ - content: string, + content: string; } export interface WorkflowNodeParam { - input_parameters?: WorkflowParameter[], - terminate_plan?: WorkflowTerminatePlan, - output_parameters?: WorkflowParameter[], + input_parameters?: WorkflowParameter[]; + terminate_plan?: WorkflowTerminatePlan; + output_parameters?: WorkflowParameter[]; } export interface WorkflowNodeInfo { - node_id: string, - node_type: product_common.WorkflowNodeType, - node_param?: WorkflowNodeParam, + node_id: string; + node_type: product_common.WorkflowNodeType; + node_param?: WorkflowNodeParam; /** 节点icon */ - node_icon_url: string, + node_icon_url: string; /** 展示名称( store 独有的,用于详情页 GUI 展示消息节点的名称) */ - show_name?: string, + show_name?: string; } export interface WorkflowEntity { /** 商品ID */ - product_id: string, - name: string, - entity_id: string, - entity_type: product_common.ProductEntityType, - entity_version: string, - icon_url: string, - entity_name: string, - readme: string, - category: ProductCategory, + product_id: string; + name: string; + entity_id: string; + entity_type: product_common.ProductEntityType; + entity_version: string; + icon_url: string; + entity_name: string; + readme: string; + category: ProductCategory; /** 推荐分类 , */ - recommended_category?: ProductCategory, - nodes?: WorkflowNodeInfo[], - desc: string, + recommended_category?: ProductCategory; + nodes?: WorkflowNodeInfo[]; + desc: string; /** 入参 图片icon */ - case_input_icon_url?: string, + case_input_icon_url?: string; /** 出参 图片icon */ - case_output_icon_url?: string, - latest_publish_commit_id?: string, + case_output_icon_url?: string; + latest_publish_commit_id?: string; } export interface WorkflowGUIConfig { /** 用于将 workflow 的输入/输出/中间消息节点节点转为用户可视化配置 */ - start_node: WorkflowNodeInfo, - end_node: WorkflowNodeInfo, + start_node: WorkflowNodeInfo; + end_node: WorkflowNodeInfo; /** 消息节点会输出中间过程,也需要展示 */ - message_nodes?: WorkflowNodeInfo[], + message_nodes?: WorkflowNodeInfo[]; } export interface WorkflowExtraInfo { - related_workflows: WorkflowEntity[], - duplicate_count?: number, + related_workflows: WorkflowEntity[]; + duplicate_count?: number; /** workflow画布信息 */ - workflow_schema?: string, + workflow_schema?: string; /** * api/workflowV2/query schema_json * 推荐分类 - */ - recommended_category?: ProductCategory, - nodes?: WorkflowNodeInfo[], - start_node?: WorkflowNodeInfo, + */ + recommended_category?: ProductCategory; + nodes?: WorkflowNodeInfo[]; + start_node?: WorkflowNodeInfo; /** 实体名称(用于展示) */ - entity_name?: string, + entity_name?: string; /** 用例图入参 */ - case_input_icon_url?: string, + case_input_icon_url?: string; /** 用例图出参 */ - case_output_icon_url?: string, + case_output_icon_url?: string; /** 案例执行ID */ - case_execute_id?: string, - hover_text?: string, - latest_publish_commit_id?: string, + case_execute_id?: string; + hover_text?: string; + latest_publish_commit_id?: string; /** 试运行次数,从数仓取 */ - used_count?: number, + used_count?: number; /** 用于将 workflow 的输入/输出/中间消息节点节点转为用户可视化配置 */ - gui_config?: WorkflowGUIConfig, + gui_config?: WorkflowGUIConfig; } export interface SocialScenePlayerInfo { - id: string, - name: string, - role_type: product_common.SocialSceneRoleType, + id: string; + name: string; + role_type: product_common.SocialSceneRoleType; } export interface SocialSceneExtraInfo { /** 角色 */ - players?: SocialScenePlayerInfo[], + players?: SocialScenePlayerInfo[]; /** 使用过的人数 */ - used_count: string, + used_count: string; /** 开始过的次数 */ - started_count: string, + started_count: string; /** 开闭源 */ - publish_mode: product_common.ProductPublishMode, + publish_mode: product_common.ProductPublishMode; } export interface ProjectConfig { /** 插件数量 */ - plugin_count: number, + plugin_count: number; /** 工作流数量 */ - workflow_count: number, + workflow_count: number; /** 知识库数量 */ - knowledge_count: number, + knowledge_count: number; /** 数据库数量 */ - database_count: number, + database_count: number; } export interface ProjectExtraInfo { /** Project 上架为模板前生成一个模板副本,使用或者复制模板,需要用 TemplateProjectID 和 TemplateProjectVersion */ - template_project_id: string, - template_project_version: string, + template_project_id: string; + template_project_version: string; /** Project 绑定的 UI 支持的预览类型 */ - preview_types: product_common.UIPreviewType[], + preview_types: product_common.UIPreviewType[]; /** 用户数 */ - user_count: number, + user_count: number; /** 运行数 */ - execute_count: number, + execute_count: number; /** 发布渠道 */ - publish_platforms: BotPublishPlatform[], + publish_platforms: BotPublishPlatform[]; /** 近实时复制量,从数仓接口获取(复制 - 上报埋点 - 数仓计算落库) */ - duplicate_count: number, + duplicate_count: number; /** 配置 */ - config?: ProjectConfig, + config?: ProjectConfig; } export interface GetProductDetailRequest { - product_id?: string, - entity_type?: product_common.ProductEntityType, - entity_id?: string, + product_id?: string; + entity_type?: product_common.ProductEntityType; + entity_id?: string; /** 是否查看最新的审核失败草稿 */ - need_audit_failed?: boolean, - "Tt-Agw-Client-Ip"?: string, + need_audit_failed?: boolean; + 'Tt-Agw-Client-Ip'?: string; } export interface GetProductDetailResponse { - code: number, - message: string, - data: GetProductDetailData, + code: number; + message: string; + data: GetProductDetailData; } export interface Price { - value: number, - currency: string, - display_price: string, + value: number; + currency: string; + display_price: string; } export interface SKUInfo { - id: string, + id: string; /** 待废弃 */ - price: Price[], - description: string, - price_v2: marketplace_common.Price[], - charge_sku_info?: product_common.ChargeSKUExtra, + price: Price[]; + description: string; + price_v2: marketplace_common.Price[]; + charge_sku_info?: product_common.ChargeSKUExtra; } export interface SellAttrValue { - id: string, - value: string, + id: string; + value: string; } export interface SellAttr { - display_name: string, - key: string, - values: SellAttrValue[], + display_name: string; + key: string; + values: SellAttrValue[]; } export interface SellInfo { skus: { - [key: string | number]: SKUInfo - }, - attr: SellAttr[], + [key: string | number]: SKUInfo; + }; + attr: SellAttr[]; /** Key 是 attrkey:attrvalue 路径,value 是 skuID */ sku_attr_ref: { - [key: string | number]: string - }, + [key: string | number]: string; + }; } export interface Topic { - id: string, - name: string, - description: string, - banner_url: string, + id: string; + name: string; + description: string; + banner_url: string; /** 背景小图,前端优先加载 */ - banner_url_small: string, - reason: string, + banner_url_small: string; + reason: string; /** 运营提供的专题介绍文档,用户可见 */ - introduction_url: string, + introduction_url: string; /** 用户是否收藏专题 */ - is_favorite: boolean, + is_favorite: boolean; } export interface ProductDataIndicator { /** * 数据分析指标,来源数仓,比如模板购买量、复制量等 * 购买量 - */ - purchase_count?: number + */ + purchase_count?: number; } export interface GetProductDetailData { /** 下架的商品只返回非 optional 字段 */ - meta_info: ProductMetaInfo, + meta_info: ProductMetaInfo; /** 用以区分主/客态 */ - is_owner: boolean, + is_owner: boolean; /** 审核状态,主态下返回需要关注,如果主态且审核中,需要展示审核中状态 */ - audit_status: product_common.ProductDraftStatus, - sell_info?: SellInfo, - space_id?: string, + audit_status: product_common.ProductDraftStatus; + sell_info?: SellInfo; + space_id?: string; /** 详情页返回 */ - topic?: Topic, + topic?: Topic; /** 详情页返回 */ - can_duplicate?: boolean, - commercial_setting?: product_common.CommercialSetting, - plugin_extra?: PluginExtraInfo, - bot_extra?: BotExtraInfo, - workflow_extra?: WorkflowExtraInfo, - social_scene_extra?: SocialSceneExtraInfo, - project_extra?: ProjectExtraInfo, - data_indicator?: ProductDataIndicator, + can_duplicate?: boolean; + commercial_setting?: product_common.CommercialSetting; + plugin_extra?: PluginExtraInfo; + bot_extra?: BotExtraInfo; + workflow_extra?: WorkflowExtraInfo; + social_scene_extra?: SocialSceneExtraInfo; + project_extra?: ProjectExtraInfo; + data_indicator?: ProductDataIndicator; } export interface GetUserFavoriteListV2Request { /** 第一页不传,后续调用时传上一次返回的cursor_id */ - cursor_id?: string, - page_size: number, - entity_type?: product_common.ProductEntityType, - sort_type: product_common.SortType, + cursor_id?: string; + page_size: number; + entity_type?: product_common.ProductEntityType; + sort_type: product_common.SortType; /** 不为空则搜索 */ - keyword?: string, + keyword?: string; /** 列表页 tab */ - source?: product_common.FavoriteListSource, + source?: product_common.FavoriteListSource; /** 是否需要查询用户对Bot的触发器配置,为true时,才会返回EntityUserTriggerConfig */ - need_user_trigger_config?: boolean, + need_user_trigger_config?: boolean; /** 筛选收藏时间 */ - begin_at?: string, + begin_at?: string; /** 筛选收藏时间 */ - end_at?: string, - entity_types?: product_common.ProductEntityType[], + end_at?: string; + entity_types?: product_common.ProductEntityType[]; /** 组织ID,企业版想获取用户收藏的所有内容时需传递 */ - organization_id?: string, + organization_id?: string; } export interface GetUserFavoriteListV2Response { - code: number, - message: string, - data?: GetUserFavoriteListDataV2, + code: number; + message: string; + data?: GetUserFavoriteListDataV2; } export interface GetUserFavoriteListDataV2 { - favorite_entities: product_common.FavoriteEntity[], - cursor_id: string, - has_more: boolean, + favorite_entities: product_common.FavoriteEntity[]; + cursor_id: string; + has_more: boolean; /** * 用户定时任务配置,对应flow.bot.task服务的TriggerEnabled * key: entity_id; value: UserTriggerConfig - */ + */ entity_user_trigger_config: { - [key: string | number]: UserTriggerConfig - }, + [key: string | number]: UserTriggerConfig; + }; } export interface UserTriggerConfig { - trigger_enabled: TriggerEnable + trigger_enabled: TriggerEnable; } export enum TriggerEnable { Init = 0, @@ -710,20 +763,20 @@ export enum TriggerEnable { Close = 2, } export interface DuplicateProductRequest { - product_id: string, - entity_type: product_common.ProductEntityType, - space_id?: string, - name?: string, - Cookie?: string, + product_id: string; + entity_type: product_common.ProductEntityType; + space_id?: string; + name?: string; + Cookie?: string; } export interface DuplicateProductResponse { - code: number, - message: string, - data: DuplicateProductData, + code: number; + message: string; + data: DuplicateProductData; } export interface DuplicateProductData { /** 复制后的新id */ - new_entity_id: string, + new_entity_id: string; /** workflow对应的插件id */ - new_plugin_id?: string, -} \ No newline at end of file + new_plugin_id?: string; +} diff --git a/frontend/packages/arch/api-schema/src/idl/flow/marketplace/marketplace_common.ts b/frontend/packages/arch/api-schema/src/idl/flow/marketplace/marketplace_common.ts index 8f65e38e..49d68bde 100644 --- a/frontend/packages/arch/api-schema/src/idl/flow/marketplace/marketplace_common.ts +++ b/frontend/packages/arch/api-schema/src/idl/flow/marketplace/marketplace_common.ts @@ -18,11 +18,11 @@ import * as base from './../../base'; export { base }; export interface Price { /** 金额 */ - amount: string, + amount: string; /** 币种,如USD、CNY */ - currency: string, + currency: string; /** 小数位数 */ - decimal_num: number, + decimal_num: number; } export enum FollowType { /** 无关系 */ @@ -33,4 +33,4 @@ export enum FollowType { Follower = 2, /** 互相关注 */ MutualFollow = 3, -} \ No newline at end of file +} diff --git a/frontend/packages/arch/api-schema/src/idl/passport/passport.ts b/frontend/packages/arch/api-schema/src/idl/passport/passport.ts index 6eeb06d4..906c1347 100644 --- a/frontend/packages/arch/api-schema/src/idl/passport/passport.ts +++ b/frontend/packages/arch/api-schema/src/idl/passport/passport.ts @@ -16,165 +16,186 @@ import { createAPI } from './../../api/config'; export interface AppUserInfo { - user_unique_name: string + user_unique_name: string; } export interface User { /** 与原接口字段名对齐 */ - user_id_str: string, - name: string, - user_unique_name: string, - email: string, - description: string, - avatar_url: string, - screen_name?: string, - app_user_info?: AppUserInfo, - locale?: string, + user_id_str: string; + name: string; + user_unique_name: string; + email: string; + description: string; + avatar_url: string; + screen_name?: string; + app_user_info?: AppUserInfo; + locale?: string; /** unix timestamp in seconds */ - user_create_time: number, + user_create_time: number; } export interface PassportWebEmailRegisterV2PostRequest { - password: string, - email: string, + password: string; + email: string; } export interface PassportWebEmailRegisterV2PostResponse { - data: User, - code: number, - msg: string, + data: User; + code: number; + msg: string; } export interface PassportWebLogoutGetRequest {} export interface PassportWebLogoutGetResponse { - redirect_url: string, - code: number, - msg: string, + redirect_url: string; + code: number; + msg: string; } export interface PassportWebEmailLoginPostRequest { - email: string, - password: string, + email: string; + password: string; } export interface PassportWebEmailLoginPostResponse { - data: User, - code: number, - msg: string, + data: User; + code: number; + msg: string; } export interface PassportWebEmailPasswordResetGetRequest { - password: string, - code: string, - email: string, + password: string; + code: string; + email: string; } export interface PassportWebEmailPasswordResetGetResponse { - code: number, - msg: string, + code: number; + msg: string; } export interface PassportAccountInfoV2Request {} export interface PassportAccountInfoV2Response { - data: User, - code: number, - msg: string, + data: User; + code: number; + msg: string; } export interface UserUpdateAvatarRequest { - avatar: Blob + avatar: Blob; } export interface UserUpdateAvatarResponseData { - web_uri: string + web_uri: string; } export interface UserUpdateAvatarResponse { - data: UserUpdateAvatarResponseData, - code: number, - msg: string, + data: UserUpdateAvatarResponseData; + code: number; + msg: string; } export interface UserUpdateProfileRequest { - name?: string, - user_unique_name?: string, - description?: string, - locale?: string, + name?: string; + user_unique_name?: string; + description?: string; + locale?: string; } export interface UserUpdateProfileResponse { - code: number, - msg: string, + code: number; + msg: string; } /** 邮箱密码注册 */ -export const PassportWebEmailRegisterV2Post = /*#__PURE__*/createAPI({ - "url": "/api/passport/web/email/register/v2/", - "method": "POST", - "name": "PassportWebEmailRegisterV2Post", - "reqType": "PassportWebEmailRegisterV2PostRequest", - "reqMapping": { - "body": ["password", "email"] +export const PassportWebEmailRegisterV2Post = /*#__PURE__*/ createAPI< + PassportWebEmailRegisterV2PostRequest, + PassportWebEmailRegisterV2PostResponse +>({ + url: '/api/passport/web/email/register/v2/', + method: 'POST', + name: 'PassportWebEmailRegisterV2Post', + reqType: 'PassportWebEmailRegisterV2PostRequest', + reqMapping: { + body: ['password', 'email'], }, - "resType": "PassportWebEmailRegisterV2PostResponse", - "schemaRoot": "api://schemas/idl_passport_passport", - "service": "passport" + resType: 'PassportWebEmailRegisterV2PostResponse', + schemaRoot: 'api://schemas/idl_passport_passport', + service: 'passport', }); /** 退出登录 */ -export const PassportWebLogoutGet = /*#__PURE__*/createAPI({ - "url": "/api/passport/web/logout/", - "method": "GET", - "name": "PassportWebLogoutGet", - "reqType": "PassportWebLogoutGetRequest", - "reqMapping": {}, - "resType": "PassportWebLogoutGetResponse", - "schemaRoot": "api://schemas/idl_passport_passport", - "service": "passport" +export const PassportWebLogoutGet = /*#__PURE__*/ createAPI< + PassportWebLogoutGetRequest, + PassportWebLogoutGetResponse +>({ + url: '/api/passport/web/logout/', + method: 'GET', + name: 'PassportWebLogoutGet', + reqType: 'PassportWebLogoutGetRequest', + reqMapping: {}, + resType: 'PassportWebLogoutGetResponse', + schemaRoot: 'api://schemas/idl_passport_passport', + service: 'passport', }); /** 邮箱帐密登录 */ -export const PassportWebEmailLoginPost = /*#__PURE__*/createAPI({ - "url": "/api/passport/web/email/login/", - "method": "POST", - "name": "PassportWebEmailLoginPost", - "reqType": "PassportWebEmailLoginPostRequest", - "reqMapping": { - "body": ["email", "password"] +export const PassportWebEmailLoginPost = /*#__PURE__*/ createAPI< + PassportWebEmailLoginPostRequest, + PassportWebEmailLoginPostResponse +>({ + url: '/api/passport/web/email/login/', + method: 'POST', + name: 'PassportWebEmailLoginPost', + reqType: 'PassportWebEmailLoginPostRequest', + reqMapping: { + body: ['email', 'password'], }, - "resType": "PassportWebEmailLoginPostResponse", - "schemaRoot": "api://schemas/idl_passport_passport", - "service": "passport" + resType: 'PassportWebEmailLoginPostResponse', + schemaRoot: 'api://schemas/idl_passport_passport', + service: 'passport', }); /** 通过邮箱重置密码 */ -export const PassportWebEmailPasswordResetGet = /*#__PURE__*/createAPI({ - "url": "/api/passport/web/email/password/reset/", - "method": "GET", - "name": "PassportWebEmailPasswordResetGet", - "reqType": "PassportWebEmailPasswordResetGetRequest", - "reqMapping": { - "query": ["password", "code", "email"] +export const PassportWebEmailPasswordResetGet = /*#__PURE__*/ createAPI< + PassportWebEmailPasswordResetGetRequest, + PassportWebEmailPasswordResetGetResponse +>({ + url: '/api/passport/web/email/password/reset/', + method: 'GET', + name: 'PassportWebEmailPasswordResetGet', + reqType: 'PassportWebEmailPasswordResetGetRequest', + reqMapping: { + query: ['password', 'code', 'email'], }, - "resType": "PassportWebEmailPasswordResetGetResponse", - "schemaRoot": "api://schemas/idl_passport_passport", - "service": "passport" + resType: 'PassportWebEmailPasswordResetGetResponse', + schemaRoot: 'api://schemas/idl_passport_passport', + service: 'passport', }); /** 账号信息 */ -export const PassportAccountInfoV2 = /*#__PURE__*/createAPI({ - "url": "/api/passport/account/info/v2/", - "method": "POST", - "name": "PassportAccountInfoV2", - "reqType": "PassportAccountInfoV2Request", - "reqMapping": {}, - "resType": "PassportAccountInfoV2Response", - "schemaRoot": "api://schemas/idl_passport_passport", - "service": "passport" +export const PassportAccountInfoV2 = /*#__PURE__*/ createAPI< + PassportAccountInfoV2Request, + PassportAccountInfoV2Response +>({ + url: '/api/passport/account/info/v2/', + method: 'POST', + name: 'PassportAccountInfoV2', + reqType: 'PassportAccountInfoV2Request', + reqMapping: {}, + resType: 'PassportAccountInfoV2Response', + schemaRoot: 'api://schemas/idl_passport_passport', + service: 'passport', }); -export const UserUpdateAvatar = /*#__PURE__*/createAPI({ - "url": "/api/web/user/update/upload_avatar/", - "method": "POST", - "name": "UserUpdateAvatar", - "reqType": "UserUpdateAvatarRequest", - "reqMapping": { - "body": ["avatar"] +export const UserUpdateAvatar = /*#__PURE__*/ createAPI< + UserUpdateAvatarRequest, + UserUpdateAvatarResponse +>({ + url: '/api/web/user/update/upload_avatar/', + method: 'POST', + name: 'UserUpdateAvatar', + reqType: 'UserUpdateAvatarRequest', + reqMapping: { + body: ['avatar'], }, - "resType": "UserUpdateAvatarResponse", - "schemaRoot": "api://schemas/idl_passport_passport", - "service": "passport", - "serializer": "form" + resType: 'UserUpdateAvatarResponse', + schemaRoot: 'api://schemas/idl_passport_passport', + service: 'passport', + serializer: 'form', }); -export const UserUpdateProfile = /*#__PURE__*/createAPI({ - "url": "/api/user/update_profile", - "method": "POST", - "name": "UserUpdateProfile", - "reqType": "UserUpdateProfileRequest", - "reqMapping": { - "body": ["name", "user_unique_name", "description", "locale"] +export const UserUpdateProfile = /*#__PURE__*/ createAPI< + UserUpdateProfileRequest, + UserUpdateProfileResponse +>({ + url: '/api/user/update_profile', + method: 'POST', + name: 'UserUpdateProfile', + reqType: 'UserUpdateProfileRequest', + reqMapping: { + body: ['name', 'user_unique_name', 'description', 'locale'], }, - "resType": "UserUpdateProfileResponse", - "schemaRoot": "api://schemas/idl_passport_passport", - "service": "passport" -}); \ No newline at end of file + resType: 'UserUpdateProfileResponse', + schemaRoot: 'api://schemas/idl_passport_passport', + service: 'passport', +}); diff --git a/frontend/packages/arch/api-schema/vitest.config.ts b/frontend/packages/arch/api-schema/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/arch/api-schema/vitest.config.ts +++ b/frontend/packages/arch/api-schema/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/bot-api/__tests__/axios.test.ts b/frontend/packages/arch/bot-api/__tests__/axios.test.ts index e1bcaf87..67bbbfa3 100644 --- a/frontend/packages/arch/bot-api/__tests__/axios.test.ts +++ b/frontend/packages/arch/bot-api/__tests__/axios.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect, beforeAll, beforeEach } from 'vitest'; import { Toast } from '@coze-arch/bot-semi'; import { axiosInstance, isApiError, ApiError } from '@coze-arch/bot-http'; @@ -42,16 +42,14 @@ vi.mock('@coze-arch/bot-http', () => { }, }, isApiError: vi.fn(), - ApiError: vi.fn().mockImplementation(function ( - this: any, - code: string, - msg: string, - ) { - this.code = code; - this.msg = msg; - this.config = {}; - this.name = 'ApiError'; - }), + ApiError: vi + .fn() + .mockImplementation(function (this: any, code: string, msg: string) { + this.code = code; + this.msg = msg; + this.config = {}; + this.name = 'ApiError'; + }), }; }); diff --git a/frontend/packages/arch/bot-api/src/app-builder-api.ts b/frontend/packages/arch/bot-api/src/app-builder-api.ts index b277603e..22c9a8c1 100644 --- a/frontend/packages/arch/bot-api/src/app-builder-api.ts +++ b/frontend/packages/arch/bot-api/src/app-builder-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import AppBuilderApiService from './idl/app_builder'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/axios.ts b/frontend/packages/arch/bot-api/src/axios.ts index 75fa6944..53f6f161 100644 --- a/frontend/packages/arch/bot-api/src/axios.ts +++ b/frontend/packages/arch/bot-api/src/axios.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Toast } from '@coze-arch/bot-semi'; import { axiosInstance, diff --git a/frontend/packages/arch/bot-api/src/basic-api.ts b/frontend/packages/arch/bot-api/src/basic-api.ts index bec6e265..1f4a68a5 100644 --- a/frontend/packages/arch/bot-api/src/basic-api.ts +++ b/frontend/packages/arch/bot-api/src/basic-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import BasicApiService from '@coze-arch/idl/basic_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/benefit-api.ts b/frontend/packages/arch/bot-api/src/benefit-api.ts index 857bdd08..c1d64811 100644 --- a/frontend/packages/arch/bot-api/src/benefit-api.ts +++ b/frontend/packages/arch/bot-api/src/benefit-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import BenefitApiService from './idl/benefit'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/card-api.ts b/frontend/packages/arch/bot-api/src/card-api.ts index f091a949..dbb264a1 100644 --- a/frontend/packages/arch/bot-api/src/card-api.ts +++ b/frontend/packages/arch/bot-api/src/card-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import CardApiService from './idl/card'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/connector-api.ts b/frontend/packages/arch/bot-api/src/connector-api.ts index 1a831994..10d1c08f 100644 --- a/frontend/packages/arch/bot-api/src/connector-api.ts +++ b/frontend/packages/arch/bot-api/src/connector-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import queryString from 'query-string'; import ConnectorApiService from './idl/connector_api'; diff --git a/frontend/packages/arch/bot-api/src/coze-space-api.ts b/frontend/packages/arch/bot-api/src/coze-space-api.ts index e55e17d0..3f82de00 100644 --- a/frontend/packages/arch/bot-api/src/coze-space-api.ts +++ b/frontend/packages/arch/bot-api/src/coze-space-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import CozeSpaceApiService from '@coze-arch/idl/stone_coze_space'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/debugger-api.ts b/frontend/packages/arch/bot-api/src/debugger-api.ts index c005c826..9a53c8ce 100644 --- a/frontend/packages/arch/bot-api/src/debugger-api.ts +++ b/frontend/packages/arch/bot-api/src/debugger-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import DebuggerApiService from './idl/debugger_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/developer-api.ts b/frontend/packages/arch/bot-api/src/developer-api.ts index cbb20e30..7f6adabd 100644 --- a/frontend/packages/arch/bot-api/src/developer-api.ts +++ b/frontend/packages/arch/bot-api/src/developer-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import DeveloperApiService from './idl/developer_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/developer-backend.ts b/frontend/packages/arch/bot-api/src/developer-backend.ts index 60be91e6..87c23324 100644 --- a/frontend/packages/arch/bot-api/src/developer-backend.ts +++ b/frontend/packages/arch/bot-api/src/developer-backend.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import DeveloperBackendApiService from './idl/developer_backend'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/devops-evaluation-api.ts b/frontend/packages/arch/bot-api/src/devops-evaluation-api.ts index a2626453..4311eb77 100644 --- a/frontend/packages/arch/bot-api/src/devops-evaluation-api.ts +++ b/frontend/packages/arch/bot-api/src/devops-evaluation-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import DevopsEvaluationService from './idl/devops_evaluation'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/dp-manage-api.ts b/frontend/packages/arch/bot-api/src/dp-manage-api.ts index 2069096a..ac646647 100644 --- a/frontend/packages/arch/bot-api/src/dp-manage-api.ts +++ b/frontend/packages/arch/bot-api/src/dp-manage-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import DpManageService from './idl/dp_manage'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/evaluation-lite-api.ts b/frontend/packages/arch/bot-api/src/evaluation-lite-api.ts index bbdc1e4d..185c9adf 100644 --- a/frontend/packages/arch/bot-api/src/evaluation-lite-api.ts +++ b/frontend/packages/arch/bot-api/src/evaluation-lite-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EvaluationLiteService from './idl/evaluation_lite'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/filebox-api.ts b/frontend/packages/arch/bot-api/src/filebox-api.ts index dc887e9d..8205d3cf 100644 --- a/frontend/packages/arch/bot-api/src/filebox-api.ts +++ b/frontend/packages/arch/bot-api/src/filebox-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import FileboxService from './idl/filebox'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/fornax-api.ts b/frontend/packages/arch/bot-api/src/fornax-api.ts index 3e24a154..c77d9773 100644 --- a/frontend/packages/arch/bot-api/src/fornax-api.ts +++ b/frontend/packages/arch/bot-api/src/fornax-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import FornaxApiService from '@coze-arch/idl/fornax_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/fornax-evaluation-api.ts b/frontend/packages/arch/bot-api/src/fornax-evaluation-api.ts index 3dee2ba1..643ac299 100644 --- a/frontend/packages/arch/bot-api/src/fornax-evaluation-api.ts +++ b/frontend/packages/arch/bot-api/src/fornax-evaluation-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EvaluationApiService from '@coze-arch/idl/evaluation_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/fornax-ml-flow-api.ts b/frontend/packages/arch/bot-api/src/fornax-ml-flow-api.ts index 25abd66e..8401218c 100644 --- a/frontend/packages/arch/bot-api/src/fornax-ml-flow-api.ts +++ b/frontend/packages/arch/bot-api/src/fornax-ml-flow-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import FornaxMlFlowService from '@coze-arch/idl/fornax_ml_flow'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/fornax-ob-api.ts b/frontend/packages/arch/bot-api/src/fornax-ob-api.ts index a4a266bb..09fc6f7b 100644 --- a/frontend/packages/arch/bot-api/src/fornax-ob-api.ts +++ b/frontend/packages/arch/bot-api/src/fornax-ob-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import FornaxObApiService from '@coze-arch/idl/fornax_ob_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/fornax-prompt.ts b/frontend/packages/arch/bot-api/src/fornax-prompt.ts index bb86eb0a..b386c1cd 100644 --- a/frontend/packages/arch/bot-api/src/fornax-prompt.ts +++ b/frontend/packages/arch/bot-api/src/fornax-prompt.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import FornaxPromptService from '@coze-arch/idl/prompt_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/fulfill-api.ts b/frontend/packages/arch/bot-api/src/fulfill-api.ts index 86ab9407..bc6bf8aa 100644 --- a/frontend/packages/arch/bot-api/src/fulfill-api.ts +++ b/frontend/packages/arch/bot-api/src/fulfill-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import FulfillApiService from './idl/fulfill'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/hub-api.ts b/frontend/packages/arch/bot-api/src/hub-api.ts index 0ab5dfa0..9a90a2e0 100644 --- a/frontend/packages/arch/bot-api/src/hub-api.ts +++ b/frontend/packages/arch/bot-api/src/hub-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import HubApiService from './idl/hub_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/idl/app_builder.ts b/frontend/packages/arch/bot-api/src/idl/app_builder.ts index d1162dda..aa2c526c 100644 --- a/frontend/packages/arch/bot-api/src/idl/app_builder.ts +++ b/frontend/packages/arch/bot-api/src/idl/app_builder.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/app_builder'; export { default as default } from '@coze-arch/idl/app_builder'; diff --git a/frontend/packages/arch/bot-api/src/idl/basic_api.ts b/frontend/packages/arch/bot-api/src/idl/basic_api.ts index 33021320..5552c576 100644 --- a/frontend/packages/arch/bot-api/src/idl/basic_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/basic_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/basic_api'; export { default as default } from '@coze-arch/idl/basic_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/benefit.ts b/frontend/packages/arch/bot-api/src/idl/benefit.ts index 1aa1dddc..fb44138b 100644 --- a/frontend/packages/arch/bot-api/src/idl/benefit.ts +++ b/frontend/packages/arch/bot-api/src/idl/benefit.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/benefit'; export { default as default } from '@coze-arch/idl/benefit'; diff --git a/frontend/packages/arch/bot-api/src/idl/card.ts b/frontend/packages/arch/bot-api/src/idl/card.ts index 37abf8bc..f9fae478 100644 --- a/frontend/packages/arch/bot-api/src/idl/card.ts +++ b/frontend/packages/arch/bot-api/src/idl/card.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/card'; export { default as default } from '@coze-arch/idl/card'; diff --git a/frontend/packages/arch/bot-api/src/idl/connector_api.ts b/frontend/packages/arch/bot-api/src/idl/connector_api.ts index 11b03679..5a19b450 100644 --- a/frontend/packages/arch/bot-api/src/idl/connector_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/connector_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/connector_api'; export { default as default } from '@coze-arch/idl/connector_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/debugger_api.ts b/frontend/packages/arch/bot-api/src/idl/debugger_api.ts index 18c0bc63..96e5ecb6 100644 --- a/frontend/packages/arch/bot-api/src/idl/debugger_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/debugger_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/debugger_api'; export { default as default } from '@coze-arch/idl/debugger_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/developer_api.ts b/frontend/packages/arch/bot-api/src/idl/developer_api.ts index 3ccfa7a4..13a7af29 100644 --- a/frontend/packages/arch/bot-api/src/idl/developer_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/developer_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/developer_api'; export { default as default } from '@coze-arch/idl/developer_api'; export { SuggestReplyMode } from '@coze-arch/idl'; diff --git a/frontend/packages/arch/bot-api/src/idl/developer_backend.ts b/frontend/packages/arch/bot-api/src/idl/developer_backend.ts index 568ac29d..ffa2aec5 100644 --- a/frontend/packages/arch/bot-api/src/idl/developer_backend.ts +++ b/frontend/packages/arch/bot-api/src/idl/developer_backend.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/developer_backend'; export { default as default } from '@coze-arch/idl/developer_backend'; diff --git a/frontend/packages/arch/bot-api/src/idl/devops_evaluation.ts b/frontend/packages/arch/bot-api/src/idl/devops_evaluation.ts index d98cd3c8..86d95e9d 100644 --- a/frontend/packages/arch/bot-api/src/idl/devops_evaluation.ts +++ b/frontend/packages/arch/bot-api/src/idl/devops_evaluation.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/devops_evaluation'; export { default as default } from '@coze-arch/idl/devops_evaluation'; diff --git a/frontend/packages/arch/bot-api/src/idl/dp_manage.ts b/frontend/packages/arch/bot-api/src/idl/dp_manage.ts index 6e1351de..328215f2 100644 --- a/frontend/packages/arch/bot-api/src/idl/dp_manage.ts +++ b/frontend/packages/arch/bot-api/src/idl/dp_manage.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/dp_manage'; export { default as default } from '@coze-arch/idl/dp_manage'; diff --git a/frontend/packages/arch/bot-api/src/idl/evaluation_lite.ts b/frontend/packages/arch/bot-api/src/idl/evaluation_lite.ts index 3362e4fc..93847df7 100644 --- a/frontend/packages/arch/bot-api/src/idl/evaluation_lite.ts +++ b/frontend/packages/arch/bot-api/src/idl/evaluation_lite.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/evaluation_lite'; export { default as default } from '@coze-arch/idl/evaluation_lite'; diff --git a/frontend/packages/arch/bot-api/src/idl/filebox.ts b/frontend/packages/arch/bot-api/src/idl/filebox.ts index 4696ec82..e00f2a91 100644 --- a/frontend/packages/arch/bot-api/src/idl/filebox.ts +++ b/frontend/packages/arch/bot-api/src/idl/filebox.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/filebox'; export { default as default } from '@coze-arch/idl/filebox'; diff --git a/frontend/packages/arch/bot-api/src/idl/fornax_api.ts b/frontend/packages/arch/bot-api/src/idl/fornax_api.ts index 4a87c5e4..1c39b9f8 100644 --- a/frontend/packages/arch/bot-api/src/idl/fornax_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/fornax_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/fornax_api'; export { default as default } from '@coze-arch/idl/fornax_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/fulfill.ts b/frontend/packages/arch/bot-api/src/idl/fulfill.ts index 7b326232..8d12770d 100644 --- a/frontend/packages/arch/bot-api/src/idl/fulfill.ts +++ b/frontend/packages/arch/bot-api/src/idl/fulfill.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/fulfill'; export { default as default } from '@coze-arch/idl/fulfill'; diff --git a/frontend/packages/arch/bot-api/src/idl/hub_api.ts b/frontend/packages/arch/bot-api/src/idl/hub_api.ts index 425b2293..d03b8d0b 100644 --- a/frontend/packages/arch/bot-api/src/idl/hub_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/hub_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/hub_api'; export { default as default } from '@coze-arch/idl/hub_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/incentive.ts b/frontend/packages/arch/bot-api/src/idl/incentive.ts index a0947c1a..18cc67e5 100644 --- a/frontend/packages/arch/bot-api/src/idl/incentive.ts +++ b/frontend/packages/arch/bot-api/src/idl/incentive.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/incentive'; export { default as default } from '@coze-arch/idl/incentive'; diff --git a/frontend/packages/arch/bot-api/src/idl/intelligence_api.ts b/frontend/packages/arch/bot-api/src/idl/intelligence_api.ts index f8307ffa..e4999f18 100644 --- a/frontend/packages/arch/bot-api/src/idl/intelligence_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/intelligence_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/intelligence_api'; export { default as default } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/knowledge.ts b/frontend/packages/arch/bot-api/src/idl/knowledge.ts index 69cedbbc..8d9b7a87 100644 --- a/frontend/packages/arch/bot-api/src/idl/knowledge.ts +++ b/frontend/packages/arch/bot-api/src/idl/knowledge.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/knowledge'; export { default as default } from '@coze-arch/idl/knowledge'; diff --git a/frontend/packages/arch/bot-api/src/idl/market_interaction_api.ts b/frontend/packages/arch/bot-api/src/idl/market_interaction_api.ts index 8c7ffef6..1b04a67b 100644 --- a/frontend/packages/arch/bot-api/src/idl/market_interaction_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/market_interaction_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/market_interaction_api'; export { default as default } from '@coze-arch/idl/market_interaction_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/memory.ts b/frontend/packages/arch/bot-api/src/idl/memory.ts index c3eba968..6dbadd47 100644 --- a/frontend/packages/arch/bot-api/src/idl/memory.ts +++ b/frontend/packages/arch/bot-api/src/idl/memory.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/memory'; export { default as default } from '@coze-arch/idl/memory'; diff --git a/frontend/packages/arch/bot-api/src/idl/multimedia_api.ts b/frontend/packages/arch/bot-api/src/idl/multimedia_api.ts index 5f7312d2..6211f0fd 100644 --- a/frontend/packages/arch/bot-api/src/idl/multimedia_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/multimedia_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/multimedia_api'; export { default as default } from '@coze-arch/idl/multimedia_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/notify_api.ts b/frontend/packages/arch/bot-api/src/idl/notify_api.ts index afc38934..4a82340e 100644 --- a/frontend/packages/arch/bot-api/src/idl/notify_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/notify_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/notify_api'; export { default as default } from '@coze-arch/idl/notify_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/ob_data.ts b/frontend/packages/arch/bot-api/src/idl/ob_data.ts index b6af11b6..2b5101cf 100644 --- a/frontend/packages/arch/bot-api/src/idl/ob_data.ts +++ b/frontend/packages/arch/bot-api/src/idl/ob_data.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/ob_data'; export { default as default } from '@coze-arch/idl/ob_data'; diff --git a/frontend/packages/arch/bot-api/src/idl/ob_query_api.ts b/frontend/packages/arch/bot-api/src/idl/ob_query_api.ts index 18f35b48..844abb3c 100644 --- a/frontend/packages/arch/bot-api/src/idl/ob_query_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/ob_query_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/ob_query_api'; export { default as default } from '@coze-arch/idl/ob_query_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/pat_permission_api.ts b/frontend/packages/arch/bot-api/src/idl/pat_permission_api.ts index b53bf41b..8656e4c8 100644 --- a/frontend/packages/arch/bot-api/src/idl/pat_permission_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/pat_permission_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/pat_permission_api'; export { default as default } from '@coze-arch/idl/pat_permission_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/permission_authz.ts b/frontend/packages/arch/bot-api/src/idl/permission_authz.ts index 6c1db41b..e5ee8333 100644 --- a/frontend/packages/arch/bot-api/src/idl/permission_authz.ts +++ b/frontend/packages/arch/bot-api/src/idl/permission_authz.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/permission_authz'; export { default as default } from '@coze-arch/idl/permission_authz'; diff --git a/frontend/packages/arch/bot-api/src/idl/permission_oauth2.ts b/frontend/packages/arch/bot-api/src/idl/permission_oauth2.ts index 3deadb99..d1ec6d32 100644 --- a/frontend/packages/arch/bot-api/src/idl/permission_oauth2.ts +++ b/frontend/packages/arch/bot-api/src/idl/permission_oauth2.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/permission_oauth2'; export { default as default } from '@coze-arch/idl/permission_oauth2'; diff --git a/frontend/packages/arch/bot-api/src/idl/playground_api.ts b/frontend/packages/arch/bot-api/src/idl/playground_api.ts index a44b028c..62cae119 100644 --- a/frontend/packages/arch/bot-api/src/idl/playground_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/playground_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/playground_api'; export { default as default } from '@coze-arch/idl/playground_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/plugin_develop.ts b/frontend/packages/arch/bot-api/src/idl/plugin_develop.ts index 05b9747b..e68cbac1 100644 --- a/frontend/packages/arch/bot-api/src/idl/plugin_develop.ts +++ b/frontend/packages/arch/bot-api/src/idl/plugin_develop.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/plugin_develop'; export { default as default } from '@coze-arch/idl/plugin_develop'; diff --git a/frontend/packages/arch/bot-api/src/idl/plugin_impl_api.ts b/frontend/packages/arch/bot-api/src/idl/plugin_impl_api.ts index 0e7c2d23..8745d68c 100644 --- a/frontend/packages/arch/bot-api/src/idl/plugin_impl_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/plugin_impl_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/plugin_impl_api'; export { default as default } from '@coze-arch/idl/plugin_impl_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/product_api.ts b/frontend/packages/arch/bot-api/src/idl/product_api.ts index 94a576f8..49f6fee8 100644 --- a/frontend/packages/arch/bot-api/src/idl/product_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/product_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/product_api'; export { default as default } from '@coze-arch/idl/product_api'; import { type public_api } from '@coze-arch/idl/product_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/resource.ts b/frontend/packages/arch/bot-api/src/idl/resource.ts index dad8004a..7a33da6d 100644 --- a/frontend/packages/arch/bot-api/src/idl/resource.ts +++ b/frontend/packages/arch/bot-api/src/idl/resource.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/resource'; export { default as default } from '@coze-arch/idl/resource'; diff --git a/frontend/packages/arch/bot-api/src/idl/social_api.ts b/frontend/packages/arch/bot-api/src/idl/social_api.ts index 6db4da37..64c0f0b5 100644 --- a/frontend/packages/arch/bot-api/src/idl/social_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/social_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/social_api'; export { default as default } from '@coze-arch/idl/social_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/trade.ts b/frontend/packages/arch/bot-api/src/idl/trade.ts index fb94fac6..dbc1abaf 100644 --- a/frontend/packages/arch/bot-api/src/idl/trade.ts +++ b/frontend/packages/arch/bot-api/src/idl/trade.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/trade'; export { default as default } from '@coze-arch/idl/trade'; diff --git a/frontend/packages/arch/bot-api/src/idl/ui-builder.ts b/frontend/packages/arch/bot-api/src/idl/ui-builder.ts index 4487a0ea..5dea7d8b 100644 --- a/frontend/packages/arch/bot-api/src/idl/ui-builder.ts +++ b/frontend/packages/arch/bot-api/src/idl/ui-builder.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/ui_builder'; export { default as default } from '@coze-arch/idl/ui_builder'; diff --git a/frontend/packages/arch/bot-api/src/idl/workflow_api.ts b/frontend/packages/arch/bot-api/src/idl/workflow_api.ts index ee45cdd5..c5f4a4ca 100644 --- a/frontend/packages/arch/bot-api/src/idl/workflow_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/workflow_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/workflow_api'; export { default as default } from '@coze-arch/idl/workflow_api'; diff --git a/frontend/packages/arch/bot-api/src/idl/xmemory_api.ts b/frontend/packages/arch/bot-api/src/idl/xmemory_api.ts index ec6f4f4c..a7f94654 100644 --- a/frontend/packages/arch/bot-api/src/idl/xmemory_api.ts +++ b/frontend/packages/arch/bot-api/src/idl/xmemory_api.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-arch/idl/xmemory_api'; export { default as default } from '@coze-arch/idl/xmemory_api'; diff --git a/frontend/packages/arch/bot-api/src/incentive-api.ts b/frontend/packages/arch/bot-api/src/incentive-api.ts index 74f0f52d..fe0c57d0 100644 --- a/frontend/packages/arch/bot-api/src/incentive-api.ts +++ b/frontend/packages/arch/bot-api/src/incentive-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import IncentiveService from './idl/incentive'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/index.ts b/frontend/packages/arch/bot-api/src/index.ts index fdeab3d1..0ddf6c49 100644 --- a/frontend/packages/arch/bot-api/src/index.ts +++ b/frontend/packages/arch/bot-api/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as DeveloperApiService } from './idl/developer_api'; export { default as PlaygroundApiService } from './idl/playground_api'; export { default as KnowledgeService } from './idl/knowledge'; diff --git a/frontend/packages/arch/bot-api/src/intelligence-api.ts b/frontend/packages/arch/bot-api/src/intelligence-api.ts index 3105cfe0..8dcb3048 100644 --- a/frontend/packages/arch/bot-api/src/intelligence-api.ts +++ b/frontend/packages/arch/bot-api/src/intelligence-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import IntelligenceApiService from './idl/intelligence_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/knowledge-api.ts b/frontend/packages/arch/bot-api/src/knowledge-api.ts index 0af0b5d5..8b5f5fde 100644 --- a/frontend/packages/arch/bot-api/src/knowledge-api.ts +++ b/frontend/packages/arch/bot-api/src/knowledge-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import KnowledgeService from './idl/knowledge'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/market-interaction-api.ts b/frontend/packages/arch/bot-api/src/market-interaction-api.ts index 824b22d0..26361649 100644 --- a/frontend/packages/arch/bot-api/src/market-interaction-api.ts +++ b/frontend/packages/arch/bot-api/src/market-interaction-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import MarketInteractionApiService from './idl/market_interaction_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/memory-api.ts b/frontend/packages/arch/bot-api/src/memory-api.ts index d6561a2c..523389de 100644 --- a/frontend/packages/arch/bot-api/src/memory-api.ts +++ b/frontend/packages/arch/bot-api/src/memory-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import MemoryService from './idl/memory'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/multimedia-api.ts b/frontend/packages/arch/bot-api/src/multimedia-api.ts index bf797f51..0b07707e 100644 --- a/frontend/packages/arch/bot-api/src/multimedia-api.ts +++ b/frontend/packages/arch/bot-api/src/multimedia-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import MultimediaService from './idl/multimedia_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/notify-api.ts b/frontend/packages/arch/bot-api/src/notify-api.ts index 03bb7a9e..d33f1ee5 100644 --- a/frontend/packages/arch/bot-api/src/notify-api.ts +++ b/frontend/packages/arch/bot-api/src/notify-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import NotifyApiService from './idl/notify_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/ob-data-api.ts b/frontend/packages/arch/bot-api/src/ob-data-api.ts index 33451f4d..1f601709 100644 --- a/frontend/packages/arch/bot-api/src/ob-data-api.ts +++ b/frontend/packages/arch/bot-api/src/ob-data-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ObDataService from './idl/ob_data'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/ob-query-api.ts b/frontend/packages/arch/bot-api/src/ob-query-api.ts index 1c12d5b1..651f722c 100644 --- a/frontend/packages/arch/bot-api/src/ob-query-api.ts +++ b/frontend/packages/arch/bot-api/src/ob-query-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ObQueryApiService from './idl/ob_query_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/pat-permission-api.ts b/frontend/packages/arch/bot-api/src/pat-permission-api.ts index a38aef12..b2f5c9aa 100644 --- a/frontend/packages/arch/bot-api/src/pat-permission-api.ts +++ b/frontend/packages/arch/bot-api/src/pat-permission-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import PATPermissionService from './idl/pat_permission_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/permission-authz-api.ts b/frontend/packages/arch/bot-api/src/permission-authz-api.ts index be4f2b8e..4eca3bc1 100644 --- a/frontend/packages/arch/bot-api/src/permission-authz-api.ts +++ b/frontend/packages/arch/bot-api/src/permission-authz-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import PermissionAuthzService from './idl/permission_authz'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/permission-oauth2-api.ts b/frontend/packages/arch/bot-api/src/permission-oauth2-api.ts index fd655fa7..a0b68c63 100644 --- a/frontend/packages/arch/bot-api/src/permission-oauth2-api.ts +++ b/frontend/packages/arch/bot-api/src/permission-oauth2-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import PermissionOAuth2Service from './idl/permission_oauth2'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/playground-api.ts b/frontend/packages/arch/bot-api/src/playground-api.ts index deafe78d..43346f1b 100644 --- a/frontend/packages/arch/bot-api/src/playground-api.ts +++ b/frontend/packages/arch/bot-api/src/playground-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import PlaygroundApiService from './idl/playground_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/plugin-develop.ts b/frontend/packages/arch/bot-api/src/plugin-develop.ts index a7378b18..84a24b25 100644 --- a/frontend/packages/arch/bot-api/src/plugin-develop.ts +++ b/frontend/packages/arch/bot-api/src/plugin-develop.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import PluginDevelopApiService from './idl/plugin_develop'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/product-api.ts b/frontend/packages/arch/bot-api/src/product-api.ts index 51001b64..e3b14d5c 100644 --- a/frontend/packages/arch/bot-api/src/product-api.ts +++ b/frontend/packages/arch/bot-api/src/product-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import qs from 'query-string'; import ProductApiService from './idl/product_api'; diff --git a/frontend/packages/arch/bot-api/src/resource.ts b/frontend/packages/arch/bot-api/src/resource.ts index 42120b39..7f5d7217 100644 --- a/frontend/packages/arch/bot-api/src/resource.ts +++ b/frontend/packages/arch/bot-api/src/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ResourceService from './idl/resource'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/social-api.ts b/frontend/packages/arch/bot-api/src/social-api.ts index 7894794f..7167092e 100644 --- a/frontend/packages/arch/bot-api/src/social-api.ts +++ b/frontend/packages/arch/bot-api/src/social-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import SocialApiService from './idl/social_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/stone-fornax-evaluation.ts b/frontend/packages/arch/bot-api/src/stone-fornax-evaluation.ts index 260c79c6..c930ff25 100644 --- a/frontend/packages/arch/bot-api/src/stone-fornax-evaluation.ts +++ b/frontend/packages/arch/bot-api/src/stone-fornax-evaluation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import StoneFornaxEvaluationService from '@coze-arch/idl/stone_fornax_evaluation'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/trade-api.ts b/frontend/packages/arch/bot-api/src/trade-api.ts index 4c59840d..b9107853 100644 --- a/frontend/packages/arch/bot-api/src/trade-api.ts +++ b/frontend/packages/arch/bot-api/src/trade-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import TradeApiService from './idl/trade'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/ui-builder-api.ts b/frontend/packages/arch/bot-api/src/ui-builder-api.ts index 9735b95f..469f4aee 100644 --- a/frontend/packages/arch/bot-api/src/ui-builder-api.ts +++ b/frontend/packages/arch/bot-api/src/ui-builder-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import UiBuilderApiService from './idl/ui-builder'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/workflow-api.ts b/frontend/packages/arch/bot-api/src/workflow-api.ts index e5b37c6b..f4a77db4 100644 --- a/frontend/packages/arch/bot-api/src/workflow-api.ts +++ b/frontend/packages/arch/bot-api/src/workflow-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import WorkflowApiService from './idl/workflow_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-api/src/xmemory-api.ts b/frontend/packages/arch/bot-api/src/xmemory-api.ts index 31f4d6de..6f935a37 100644 --- a/frontend/packages/arch/bot-api/src/xmemory-api.ts +++ b/frontend/packages/arch/bot-api/src/xmemory-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import XmemoryApiService from './idl/xmemory_api'; import { axiosInstance, type BotAPIRequestConfig } from './axios'; diff --git a/frontend/packages/arch/bot-env-adapter/scripts/build.ts b/frontend/packages/arch/bot-env-adapter/scripts/build.ts index ebc0fa70..d85bedf5 100644 --- a/frontend/packages/arch/bot-env-adapter/scripts/build.ts +++ b/frontend/packages/arch/bot-env-adapter/scripts/build.ts @@ -82,7 +82,10 @@ const updateDTS = ({ */ /* eslint-disable */ /* prettier-ignore */ -// Automatically generated based on ${path.relative(baseDir, inputFileName)}, do not modify manually `, +// Automatically generated based on ${path.relative( + baseDir, + inputFileName, + )}, do not modify manually `, { overwrite: true, }, diff --git a/frontend/packages/arch/bot-env-adapter/scripts/index.ts b/frontend/packages/arch/bot-env-adapter/scripts/index.ts index 28338d15..f641a3ea 100644 --- a/frontend/packages/arch/bot-env-adapter/scripts/index.ts +++ b/frontend/packages/arch/bot-env-adapter/scripts/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { build } from './build'; build(); diff --git a/frontend/packages/arch/bot-env-adapter/src/base.ts b/frontend/packages/arch/bot-env-adapter/src/base.ts index 99eeefd2..7348ef80 100644 --- a/frontend/packages/arch/bot-env-adapter/src/base.ts +++ b/frontend/packages/arch/bot-env-adapter/src/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getCurrentBranch } from './utils/current-branch'; const processEnvs = { diff --git a/frontend/packages/arch/bot-env-adapter/src/configs/volcano.ts b/frontend/packages/arch/bot-env-adapter/src/configs/volcano.ts index deb8124c..721c0d56 100644 --- a/frontend/packages/arch/bot-env-adapter/src/configs/volcano.ts +++ b/frontend/packages/arch/bot-env-adapter/src/configs/volcano.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { extractEnvValue } from '../utils/config-helper'; const VOLCANO_PLATFORM_ID = extractEnvValue({ diff --git a/frontend/packages/arch/bot-env-adapter/src/features.ts b/frontend/packages/arch/bot-env-adapter/src/features.ts index 3aed84e0..83ead7a1 100644 --- a/frontend/packages/arch/bot-env-adapter/src/features.ts +++ b/frontend/packages/arch/bot-env-adapter/src/features.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { base } from './base'; const { IS_RELEASE_VERSION, IS_OVERSEA, IS_BOE } = base; export const features = { @@ -68,7 +68,7 @@ export const features = { /** * Add UG clue return parameters to the data reported by Tea, which is only required for cn release. - * + * */ FEATURE_ENABLE_TEA_UG: IS_RELEASE_VERSION && !IS_OVERSEA, }; diff --git a/frontend/packages/arch/bot-env-adapter/src/index.ts b/frontend/packages/arch/bot-env-adapter/src/index.ts index 8056f801..70c077df 100644 --- a/frontend/packages/arch/bot-env-adapter/src/index.ts +++ b/frontend/packages/arch/bot-env-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { features } from './features'; import { configs } from './configs'; import { base } from './base'; diff --git a/frontend/packages/arch/bot-env-adapter/src/runtime/index.ts b/frontend/packages/arch/bot-env-adapter/src/runtime/index.ts index 60de4267..d054342b 100644 --- a/frontend/packages/arch/bot-env-adapter/src/runtime/index.ts +++ b/frontend/packages/arch/bot-env-adapter/src/runtime/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + class Env { get isPPE() { return IS_PROD; diff --git a/frontend/packages/arch/bot-env-adapter/src/typings.d.ts b/frontend/packages/arch/bot-env-adapter/src/typings.d.ts index ee098e11..10372d50 100644 --- a/frontend/packages/arch/bot-env-adapter/src/typings.d.ts +++ b/frontend/packages/arch/bot-env-adapter/src/typings.d.ts @@ -15,7 +15,7 @@ */ /* eslint-disable */ /* prettier-ignore */ -// Automatically generated based on src/index.ts, do not modify manually +// Automatically generated based on src/index.ts, do not modify manually declare const APP_ID: number; declare const APP_KEY: string; declare const AWEME_ORIGIN: string; @@ -24,7 +24,15 @@ declare const AWEME_PLATFORM_ID: number; declare const BOT_BRAND_NAME: string; declare const BUILD_BRANCH: string; declare const BUILD_TYPE: 'local' | 'online' | 'offline' | 'test'; -declare const BYTE_UPLOADER_REGION: 'cn-north-1' | 'us-east-1' | 'ap-singapore-1' | 'us-east-red' | 'boe' | 'boei18n' | 'US-TTP' | 'gcp'; +declare const BYTE_UPLOADER_REGION: + | 'cn-north-1' + | 'us-east-1' + | 'ap-singapore-1' + | 'us-east-red' + | 'boe' + | 'boei18n' + | 'US-TTP' + | 'gcp'; declare const CARD_BUILDER_ENV_STR: string; declare const CDN: string | undefined; declare const CDN_PATH_PREFIX: string; @@ -108,4 +116,3 @@ declare const VOLCANO_PLATFORM_APP_KEY: string | null; declare const VOLCANO_PLATFORM_ID: number | null; declare const VOLC_PRIVATE_POLICY: string; declare const VOLC_TERMS_OF_SERVICE: string; - \ No newline at end of file diff --git a/frontend/packages/arch/bot-env-adapter/src/utils/config-helper.ts b/frontend/packages/arch/bot-env-adapter/src/utils/config-helper.ts index fe6194b4..4b808e74 100644 --- a/frontend/packages/arch/bot-env-adapter/src/utils/config-helper.ts +++ b/frontend/packages/arch/bot-env-adapter/src/utils/config-helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/frontend/packages/arch/bot-env-adapter/src/utils/current-branch.ts b/frontend/packages/arch/bot-env-adapter/src/utils/current-branch.ts index 83a52191..955c26c2 100644 --- a/frontend/packages/arch/bot-env-adapter/src/utils/current-branch.ts +++ b/frontend/packages/arch/bot-env-adapter/src/utils/current-branch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { execSync } from 'child_process'; /** diff --git a/frontend/packages/arch/bot-env/scripts/build.ts b/frontend/packages/arch/bot-env/scripts/build.ts index 79332958..f2a6808a 100644 --- a/frontend/packages/arch/bot-env/scripts/build.ts +++ b/frontend/packages/arch/bot-env/scripts/build.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { build } from '@coze-studio/bot-env-adapter/build'; diff --git a/frontend/packages/arch/bot-env/scripts/index.ts b/frontend/packages/arch/bot-env/scripts/index.ts index be983cec..77ee0d6d 100644 --- a/frontend/packages/arch/bot-env/scripts/index.ts +++ b/frontend/packages/arch/bot-env/scripts/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { build } from '@coze-studio/bot-env-adapter/build'; build(); diff --git a/frontend/packages/arch/bot-env/src/global.d.ts b/frontend/packages/arch/bot-env/src/global.d.ts index 10bba691..dc289eea 100644 --- a/frontend/packages/arch/bot-env/src/global.d.ts +++ b/frontend/packages/arch/bot-env/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // copy from @byted/uploader type TUploaderRegion = | 'cn-north-1' diff --git a/frontend/packages/arch/bot-env/src/index.ts b/frontend/packages/arch/bot-env/src/index.ts index 13a682ec..5e727c92 100644 --- a/frontend/packages/arch/bot-env/src/index.ts +++ b/frontend/packages/arch/bot-env/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { GLOBAL_ENVS } from '@coze-studio/bot-env-adapter'; diff --git a/frontend/packages/arch/bot-env/src/runtime/index.ts b/frontend/packages/arch/bot-env/src/runtime/index.ts index c34fd7dd..ea79b388 100644 --- a/frontend/packages/arch/bot-env/src/runtime/index.ts +++ b/frontend/packages/arch/bot-env/src/runtime/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { runtimeEnv } from '@coze-studio/bot-env-adapter/runtime'; diff --git a/frontend/packages/arch/bot-env/src/typings.d.ts b/frontend/packages/arch/bot-env/src/typings.d.ts index 5eada6d0..51b17cfb 100644 --- a/frontend/packages/arch/bot-env/src/typings.d.ts +++ b/frontend/packages/arch/bot-env/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/bot-error/__tests__/certain-error.test.ts b/frontend/packages/arch/bot-error/__tests__/certain-error.test.ts index 010fc96e..f4a03a4e 100644 --- a/frontend/packages/arch/bot-error/__tests__/certain-error.test.ts +++ b/frontend/packages/arch/bot-error/__tests__/certain-error.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { isAxiosError } from 'axios'; import { isApiError } from '@coze-arch/bot-http'; diff --git a/frontend/packages/arch/bot-error/__tests__/custom-error.test.ts b/frontend/packages/arch/bot-error/__tests__/custom-error.test.ts index b524dab9..c2669b2f 100644 --- a/frontend/packages/arch/bot-error/__tests__/custom-error.test.ts +++ b/frontend/packages/arch/bot-error/__tests__/custom-error.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CustomError, isCustomError } from '../src/custom-error'; describe('bot-error-custom-error', () => { diff --git a/frontend/packages/arch/bot-error/__tests__/source-error.test.ts b/frontend/packages/arch/bot-error/__tests__/source-error.test.ts index e87a1305..0eb750da 100644 --- a/frontend/packages/arch/bot-error/__tests__/source-error.test.ts +++ b/frontend/packages/arch/bot-error/__tests__/source-error.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isWebpackChunkError, isThirdPartyJsChunkError, diff --git a/frontend/packages/arch/bot-error/__tests__/use-error-catch.test.ts b/frontend/packages/arch/bot-error/__tests__/use-error-catch.test.ts index 3eff7123..9bcfe1fe 100644 --- a/frontend/packages/arch/bot-error/__tests__/use-error-catch.test.ts +++ b/frontend/packages/arch/bot-error/__tests__/use-error-catch.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { renderHook } from '@testing-library/react'; import { type SlardarInstance } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-error/__tests__/use-route-error-catch.test.ts b/frontend/packages/arch/bot-error/__tests__/use-route-error-catch.test.ts index 56ce7ed0..95284f89 100644 --- a/frontend/packages/arch/bot-error/__tests__/use-route-error-catch.test.ts +++ b/frontend/packages/arch/bot-error/__tests__/use-route-error-catch.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { sendCertainError } from '../src/certain-error'; diff --git a/frontend/packages/arch/bot-error/src/certain-error.ts b/frontend/packages/arch/bot-error/src/certain-error.ts index acc6793f..14adb9f2 100644 --- a/frontend/packages/arch/bot-error/src/certain-error.ts +++ b/frontend/packages/arch/bot-error/src/certain-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isAxiosError } from 'axios'; import { logger, reporter } from '@coze-arch/logger'; import { isApiError } from '@coze-arch/bot-http'; diff --git a/frontend/packages/arch/bot-error/src/const.ts b/frontend/packages/arch/bot-error/src/const.ts index b0ae839a..3dfc28b3 100644 --- a/frontend/packages/arch/bot-error/src/const.ts +++ b/frontend/packages/arch/bot-error/src/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ReportEventNames { /** * generic exception error @@ -27,7 +27,7 @@ export enum ReportEventNames { /** * Get the error that has been identified - * + * * 1. CustomError: The business party throws new CustomError (ReportEventNames.xxx, 'xxx') * 2. AxiosError: The status code is not 2xx; * 3, ApiError: status code 2xx & business code! == 0 diff --git a/frontend/packages/arch/bot-error/src/custom-error.ts b/frontend/packages/arch/bot-error/src/custom-error.ts index 2cf09aa5..44320647 100644 --- a/frontend/packages/arch/bot-error/src/custom-error.ts +++ b/frontend/packages/arch/bot-error/src/custom-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export class CustomError extends Error { constructor( public eventName: string, diff --git a/frontend/packages/arch/bot-error/src/global.d.ts b/frontend/packages/arch/bot-error/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/bot-error/src/global.d.ts +++ b/frontend/packages/arch/bot-error/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/bot-error/src/index.ts b/frontend/packages/arch/bot-error/src/index.ts index 125aa304..a96a71e2 100644 --- a/frontend/packages/arch/bot-error/src/index.ts +++ b/frontend/packages/arch/bot-error/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CustomError, isCustomError } from './custom-error'; export { useErrorCatch } from './use-error-catch'; diff --git a/frontend/packages/arch/bot-error/src/source-error.ts b/frontend/packages/arch/bot-error/src/source-error.ts index 06b46dde..fa4ab7d3 100644 --- a/frontend/packages/arch/bot-error/src/source-error.ts +++ b/frontend/packages/arch/bot-error/src/source-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const isWebpackChunkError = (error: Error) => error.name === 'ChunkLoadError'; diff --git a/frontend/packages/arch/bot-error/src/use-error-catch.ts b/frontend/packages/arch/bot-error/src/use-error-catch.ts index 1f9b266b..9bac2e26 100644 --- a/frontend/packages/arch/bot-error/src/use-error-catch.ts +++ b/frontend/packages/arch/bot-error/src/use-error-catch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { logger, type SlardarInstance } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-error/src/use-route-error-catch.ts b/frontend/packages/arch/bot-error/src/use-route-error-catch.ts index 6b21a398..6f371537 100644 --- a/frontend/packages/arch/bot-error/src/use-route-error-catch.ts +++ b/frontend/packages/arch/bot-error/src/use-route-error-catch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-error/vitest.config.ts b/frontend/packages/arch/bot-error/vitest.config.ts index 4143276e..1d81d601 100644 --- a/frontend/packages/arch/bot-error/vitest.config.ts +++ b/frontend/packages/arch/bot-error/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/bot-flags/__tests__/persist-cache.test.ts b/frontend/packages/arch/bot-flags/__tests__/persist-cache.test.ts index 5f1a4c1d..128d91f7 100644 --- a/frontend/packages/arch/bot-flags/__tests__/persist-cache.test.ts +++ b/frontend/packages/arch/bot-flags/__tests__/persist-cache.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger } from '@coze-arch/logger'; import { readFromCache, saveToCache } from '../src/utils/persist-cache'; // Adjust the import path diff --git a/frontend/packages/arch/bot-flags/__tests__/pull-feature-flags.test.ts b/frontend/packages/arch/bot-flags/__tests__/pull-feature-flags.test.ts index ee09a0e0..f1773015 100644 --- a/frontend/packages/arch/bot-flags/__tests__/pull-feature-flags.test.ts +++ b/frontend/packages/arch/bot-flags/__tests__/pull-feature-flags.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { featureFlagStorage } from '../src/utils/storage'; diff --git a/frontend/packages/arch/bot-flags/__tests__/read-from-context.test.ts b/frontend/packages/arch/bot-flags/__tests__/read-from-context.test.ts index 880f89c4..ba37e465 100644 --- a/frontend/packages/arch/bot-flags/__tests__/read-from-context.test.ts +++ b/frontend/packages/arch/bot-flags/__tests__/read-from-context.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { readFgPromiseFromContext, readFgValuesFromContext, diff --git a/frontend/packages/arch/bot-flags/__tests__/storage.test.ts b/frontend/packages/arch/bot-flags/__tests__/storage.test.ts index b65a909d..90010039 100644 --- a/frontend/packages/arch/bot-flags/__tests__/storage.test.ts +++ b/frontend/packages/arch/bot-flags/__tests__/storage.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + describe('FeatureFlagStorage', () => { beforeEach(() => { vi.clearAllMocks(); diff --git a/frontend/packages/arch/bot-flags/__tests__/use-flags.test.ts b/frontend/packages/arch/bot-flags/__tests__/use-flags.test.ts index 0ac06391..72f68720 100644 --- a/frontend/packages/arch/bot-flags/__tests__/use-flags.test.ts +++ b/frontend/packages/arch/bot-flags/__tests__/use-flags.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; diff --git a/frontend/packages/arch/bot-flags/setup/index.ts b/frontend/packages/arch/bot-flags/setup/index.ts index 9ea3d788..e18f75a5 100644 --- a/frontend/packages/arch/bot-flags/setup/index.ts +++ b/frontend/packages/arch/bot-flags/setup/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const log = { info: vi.fn().mockImplementation(console.log.bind(console, '[info]')), error: vi.fn().mockImplementation(console.error.bind(console, '[error]')), diff --git a/frontend/packages/arch/bot-flags/src/constant.ts b/frontend/packages/arch/bot-flags/src/constant.ts index a9f654d1..870f2eda 100644 --- a/frontend/packages/arch/bot-flags/src/constant.ts +++ b/frontend/packages/arch/bot-flags/src/constant.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const IS_DEV = process.env.NODE_ENV === 'development'; export const PACKAGE_NAMESPACE = '@flow-arch/flags'; diff --git a/frontend/packages/arch/bot-flags/src/feature-flags.ts b/frontend/packages/arch/bot-flags/src/feature-flags.ts index fb086a89..77d2e1e4 100644 --- a/frontend/packages/arch/bot-flags/src/feature-flags.ts +++ b/frontend/packages/arch/bot-flags/src/feature-flags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** ************************************************* */ /** This file is auto generate by `rush flags` */ /** Please don't update manually. */ @@ -3336,7 +3336,7 @@ export interface FEATURE_FLAGS extends Record { /** * * coze2.0 评测 - * + * * * Creator: ** zhangyifei.sky ** * @@ -4457,7 +4457,7 @@ export interface FEATURE_FLAGS extends Record { /** * * 付费配置 - * + * * * Creator: ** zhanghaochen.z ** * diff --git a/frontend/packages/arch/bot-flags/src/get-flags.ts b/frontend/packages/arch/bot-flags/src/get-flags.ts index f52fbb49..11fc0053 100644 --- a/frontend/packages/arch/bot-flags/src/get-flags.ts +++ b/frontend/packages/arch/bot-flags/src/get-flags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { featureFlagStorage } from './utils/storage'; export const getFlags = () => { diff --git a/frontend/packages/arch/bot-flags/src/global.d.ts b/frontend/packages/arch/bot-flags/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/bot-flags/src/global.d.ts +++ b/frontend/packages/arch/bot-flags/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/bot-flags/src/index.ts b/frontend/packages/arch/bot-flags/src/index.ts index 25130df8..0e5d9931 100644 --- a/frontend/packages/arch/bot-flags/src/index.ts +++ b/frontend/packages/arch/bot-flags/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type FEATURE_FLAGS, type FetchFeatureGatingFunction } from './types'; export { getFlags } from './get-flags'; diff --git a/frontend/packages/arch/bot-flags/src/pull-feature-flags.ts b/frontend/packages/arch/bot-flags/src/pull-feature-flags.ts index 01f45ac1..188fba80 100644 --- a/frontend/packages/arch/bot-flags/src/pull-feature-flags.ts +++ b/frontend/packages/arch/bot-flags/src/pull-feature-flags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger } from '@coze-arch/logger'; import { wait, ONE_SEC } from './utils/wait'; diff --git a/frontend/packages/arch/bot-flags/src/types.ts b/frontend/packages/arch/bot-flags/src/types.ts index 2f2b126e..0fb050e6 100644 --- a/frontend/packages/arch/bot-flags/src/types.ts +++ b/frontend/packages/arch/bot-flags/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FEATURE_FLAGS as ORIGIN_FEATURE_FLAGS } from './feature-flags'; // eslint-disable-next-line @typescript-eslint/naming-convention diff --git a/frontend/packages/arch/bot-flags/src/use-flags.ts b/frontend/packages/arch/bot-flags/src/use-flags.ts index cc6a2f44..9a6f136c 100644 --- a/frontend/packages/arch/bot-flags/src/use-flags.ts +++ b/frontend/packages/arch/bot-flags/src/use-flags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { featureFlagStorage } from './utils/storage'; diff --git a/frontend/packages/arch/bot-flags/src/utils/persist-cache.ts b/frontend/packages/arch/bot-flags/src/utils/persist-cache.ts index 49c49402..bd79494b 100644 --- a/frontend/packages/arch/bot-flags/src/utils/persist-cache.ts +++ b/frontend/packages/arch/bot-flags/src/utils/persist-cache.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger } from '@coze-arch/logger'; import { type FEATURE_FLAGS } from '../types'; diff --git a/frontend/packages/arch/bot-flags/src/utils/read-from-context.ts b/frontend/packages/arch/bot-flags/src/utils/read-from-context.ts index fc4c5f53..c3a18724 100644 --- a/frontend/packages/arch/bot-flags/src/utils/read-from-context.ts +++ b/frontend/packages/arch/bot-flags/src/utils/read-from-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FEATURE_FLAGS } from '../types'; export const readFgPromiseFromContext = async (): Promise< diff --git a/frontend/packages/arch/bot-flags/src/utils/repoter.ts b/frontend/packages/arch/bot-flags/src/utils/repoter.ts index 47405b34..584851ee 100644 --- a/frontend/packages/arch/bot-flags/src/utils/repoter.ts +++ b/frontend/packages/arch/bot-flags/src/utils/repoter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { reporter as originReporter } from '@coze-arch/logger'; import { PACKAGE_NAMESPACE } from '../constant'; diff --git a/frontend/packages/arch/bot-flags/src/utils/storage.ts b/frontend/packages/arch/bot-flags/src/utils/storage.ts index a87b00ef..25e1755f 100644 --- a/frontend/packages/arch/bot-flags/src/utils/storage.ts +++ b/frontend/packages/arch/bot-flags/src/utils/storage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EventEmitter from 'eventemitter3'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-flags/src/utils/tools.ts b/frontend/packages/arch/bot-flags/src/utils/tools.ts index 9487f4ec..fb62fefc 100644 --- a/frontend/packages/arch/bot-flags/src/utils/tools.ts +++ b/frontend/packages/arch/bot-flags/src/utils/tools.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const isObject = (obj: unknown) => typeof obj === 'object'; export const isEqual = ( diff --git a/frontend/packages/arch/bot-flags/src/utils/wait.ts b/frontend/packages/arch/bot-flags/src/utils/wait.ts index 004e5a47..10953a6c 100644 --- a/frontend/packages/arch/bot-flags/src/utils/wait.ts +++ b/frontend/packages/arch/bot-flags/src/utils/wait.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const ONE_SEC = 1000; export const wait = (ms: number) => diff --git a/frontend/packages/arch/bot-flags/vitest.config.ts b/frontend/packages/arch/bot-flags/vitest.config.ts index 6acb4142..ffb4d287 100644 --- a/frontend/packages/arch/bot-flags/vitest.config.ts +++ b/frontend/packages/arch/bot-flags/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/bot-hooks-adapter/setup/index.ts b/frontend/packages/arch/bot-hooks-adapter/setup/index.ts index 76eabcb5..4d5489b1 100644 --- a/frontend/packages/arch/bot-hooks-adapter/setup/index.ts +++ b/frontend/packages/arch/bot-hooks-adapter/setup/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.mock('@coze-arch/i18n', () => ({ I18n: { t: vi.fn(), diff --git a/frontend/packages/arch/bot-hooks-adapter/src/global.d.ts b/frontend/packages/arch/bot-hooks-adapter/src/global.d.ts index 9f9434e5..cf5d094e 100644 --- a/frontend/packages/arch/bot-hooks-adapter/src/global.d.ts +++ b/frontend/packages/arch/bot-hooks-adapter/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const ENABLE_COVERAGE: boolean; diff --git a/frontend/packages/arch/bot-hooks-adapter/src/index.ts b/frontend/packages/arch/bot-hooks-adapter/src/index.ts index 1bca4fe5..4ac6325e 100644 --- a/frontend/packages/arch/bot-hooks-adapter/src/index.ts +++ b/frontend/packages/arch/bot-hooks-adapter/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSetResponsiveBodyStyle } from './use-responsive-body-style'; export { useIsResponsive } from './use-responsive'; diff --git a/frontend/packages/arch/bot-hooks-adapter/src/use-responsive-body-style.ts b/frontend/packages/arch/bot-hooks-adapter/src/use-responsive-body-style.ts index 2bf6a4d1..a4f7b33b 100644 --- a/frontend/packages/arch/bot-hooks-adapter/src/use-responsive-body-style.ts +++ b/frontend/packages/arch/bot-hooks-adapter/src/use-responsive-body-style.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { setMobileBody, setPCBody } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/arch/bot-hooks-adapter/src/use-responsive.ts b/frontend/packages/arch/bot-hooks-adapter/src/use-responsive.ts index fbea3023..b8573505 100644 --- a/frontend/packages/arch/bot-hooks-adapter/src/use-responsive.ts +++ b/frontend/packages/arch/bot-hooks-adapter/src/use-responsive.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIsResponsiveByRouteConfig } from '@coze-arch/bot-hooks-base'; /** @deprecated - maintenance via routing configuration */ diff --git a/frontend/packages/arch/bot-hooks-adapter/vitest.config.ts b/frontend/packages/arch/bot-hooks-adapter/vitest.config.ts index 1117fc48..d4aae5b1 100644 --- a/frontend/packages/arch/bot-hooks-adapter/vitest.config.ts +++ b/frontend/packages/arch/bot-hooks-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/bot/use-message-report-event.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/bot/use-message-report-event.test.ts index c47990f6..7cff45eb 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/bot/use-message-report-event.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/bot/use-message-report-event.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { describe, it, expect, vi, beforeEach } from 'vitest'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/bot/use-user-sender-info.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/bot/use-user-sender-info.test.ts index 3f35a465..76e79c4d 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/bot/use-user-sender-info.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/bot/use-user-sender-info.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { renderHook } from '@testing-library/react'; import { diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/editor-layout.test.tsx b/frontend/packages/arch/bot-hooks-base/__tests__/editor-layout.test.tsx index e54252ae..2961ee85 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/editor-layout.test.tsx +++ b/frontend/packages/arch/bot-hooks-base/__tests__/editor-layout.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { describe, it, expect } from 'vitest'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/router/use-reset-location-state.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/router/use-reset-location-state.test.ts index 0be5c788..a140e083 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/router/use-reset-location-state.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/router/use-reset-location-state.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import { describe, it, expect, vi, beforeEach } from 'vitest'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-component-state.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-component-state.test.ts index 948b0852..fcc7a860 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-component-state.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-component-state.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-default-expand-check.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-default-expand-check.test.ts index 4bcf412e..b37eb75e 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-default-expand-check.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-default-expand-check.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/helper/get-file-list-by-drag.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/helper/get-file-list-by-drag.test.ts index f077b25c..30f1fa58 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/helper/get-file-list-by-drag.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/helper/get-file-list-by-drag.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/helper/is-has-file-by-drag.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/helper/is-has-file-by-drag.test.ts index 1c2a1f58..a979e05f 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/helper/is-has-file-by-drag.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/helper/is-has-file-by-drag.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { isHasFileByDrag } from '../../../src/use-drag-and-paste-upload/helper/is-has-file-by-drag'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/index.test.tsx b/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/index.test.tsx index a7d09919..69ee0ce1 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/index.test.tsx +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-and-paste-upload/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { renderHook, act } from '@testing-library/react'; import { Toast } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-upload.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-upload.test.ts index 525e3464..fd324207 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-upload.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-drag-upload.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { useDragAndPasteUpload } from '../src/use-drag-and-paste-upload'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-exposure.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-exposure.test.ts index ee1aa2bb..7bb00040 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-exposure.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-exposure.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-initial-value.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-initial-value.test.ts index 9551d95f..59cbadac 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-initial-value.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-initial-value.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-line-clamp.test.tsx b/frontend/packages/arch/bot-hooks-base/__tests__/use-line-clamp.test.tsx index 015dd6cf..d8d77e98 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-line-clamp.test.tsx +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-line-clamp.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-loggedin.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-loggedin.test.ts index 6f0c0177..a25014a4 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-loggedin.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-loggedin.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-responsive.test.ts b/frontend/packages/arch/bot-hooks-base/__tests__/use-responsive.test.ts index 121c6581..8cdb773c 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-responsive.test.ts +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-responsive.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { renderHook } from '@testing-library/react'; import { ScreenRange, useMediaQuery } from '@coze-arch/responsive-kit'; diff --git a/frontend/packages/arch/bot-hooks-base/__tests__/use-route-config.test.tsx b/frontend/packages/arch/bot-hooks-base/__tests__/use-route-config.test.tsx index 516c55f7..34fe9b40 100644 --- a/frontend/packages/arch/bot-hooks-base/__tests__/use-route-config.test.tsx +++ b/frontend/packages/arch/bot-hooks-base/__tests__/use-route-config.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, type Mock } from 'vitest'; import { renderHook } from '@testing-library/react'; import { ScreenRange } from '@coze-arch/responsive-kit'; diff --git a/frontend/packages/arch/bot-hooks-base/setup/index.ts b/frontend/packages/arch/bot-hooks-base/setup/index.ts index 76eabcb5..4d5489b1 100644 --- a/frontend/packages/arch/bot-hooks-base/setup/index.ts +++ b/frontend/packages/arch/bot-hooks-base/setup/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.mock('@coze-arch/i18n', () => ({ I18n: { t: vi.fn(), diff --git a/frontend/packages/arch/bot-hooks-base/src/bot/use-message-report-event.ts b/frontend/packages/arch/bot-hooks-base/src/bot/use-message-report-event.ts index 168e10c4..d8a2e744 100644 --- a/frontend/packages/arch/bot-hooks-base/src/bot/use-message-report-event.ts +++ b/frontend/packages/arch/bot-hooks-base/src/bot/use-message-report-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/packages/arch/bot-hooks-base/src/bot/use-user-sender-info.ts b/frontend/packages/arch/bot-hooks-base/src/bot/use-user-sender-info.ts index adc42805..b69baf97 100644 --- a/frontend/packages/arch/bot-hooks-base/src/bot/use-user-sender-info.ts +++ b/frontend/packages/arch/bot-hooks-base/src/bot/use-user-sender-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { userStoreService } from '@coze-studio/user-store'; import { type UserSenderInfo } from '@coze-common/chat-area'; diff --git a/frontend/packages/arch/bot-hooks-base/src/editor-layout/index.ts b/frontend/packages/arch/bot-hooks-base/src/editor-layout/index.ts index af6e3918..45197eee 100644 --- a/frontend/packages/arch/bot-hooks-base/src/editor-layout/index.ts +++ b/frontend/packages/arch/bot-hooks-base/src/editor-layout/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @Description 'LayoutContext' is used to pass layout-related information across components * @since 2024.03.05 diff --git a/frontend/packages/arch/bot-hooks-base/src/global.d.ts b/frontend/packages/arch/bot-hooks-base/src/global.d.ts index 9f9434e5..cf5d094e 100644 --- a/frontend/packages/arch/bot-hooks-base/src/global.d.ts +++ b/frontend/packages/arch/bot-hooks-base/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const ENABLE_COVERAGE: boolean; diff --git a/frontend/packages/arch/bot-hooks-base/src/index.ts b/frontend/packages/arch/bot-hooks-base/src/index.ts index 3c33398a..fba365b0 100644 --- a/frontend/packages/arch/bot-hooks-base/src/index.ts +++ b/frontend/packages/arch/bot-hooks-base/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useRouteConfig, TRouteConfigGlobal } from './use-route-config'; export { useIsResponsiveByRouteConfig } from './use-responsive'; export { useLoggedIn } from './use-loggedin'; diff --git a/frontend/packages/arch/bot-hooks-base/src/router/use-reset-location-state.ts b/frontend/packages/arch/bot-hooks-base/src/router/use-reset-location-state.ts index 5626cf87..27068f76 100644 --- a/frontend/packages/arch/bot-hooks-base/src/router/use-reset-location-state.ts +++ b/frontend/packages/arch/bot-hooks-base/src/router/use-reset-location-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; /** Clear the routing parameters of the authentication data */ diff --git a/frontend/packages/arch/bot-hooks-base/src/use-component-state.ts b/frontend/packages/arch/bot-hooks-base/src/use-component-state.ts index ace48b21..7f3134c1 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-component-state.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-component-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { type Obj } from '@coze-arch/bot-typings/common'; diff --git a/frontend/packages/arch/bot-hooks-base/src/use-default-expand-check/index.ts b/frontend/packages/arch/bot-hooks-base/src/use-default-expand-check/index.ts index f5abf2e9..3bcb9e4c 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-default-expand-check/index.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-default-expand-check/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/helper/get-file-list-by-drag.ts b/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/helper/get-file-list-by-drag.ts index 18a09f6c..13b26091 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/helper/get-file-list-by-drag.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/helper/get-file-list-by-drag.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getFileListByDragOrPaste = ( e: HTMLElementEventMap['drop'] | HTMLElementEventMap['paste'], ): File[] => { diff --git a/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/helper/is-has-file-by-drag.ts b/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/helper/is-has-file-by-drag.ts index b9e54b66..bccad893 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/helper/is-has-file-by-drag.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/helper/is-has-file-by-drag.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const isHasFileByDrag = (e: HTMLElementEventMap['drag']) => Boolean(e.dataTransfer?.types.includes('Files')); diff --git a/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/index.ts b/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/index.ts index d55f4403..1b0576b3 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/index.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-drag-and-paste-upload/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, useEffect, useRef, useState } from 'react'; import { Toast } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/arch/bot-hooks-base/src/use-exposure.ts b/frontend/packages/arch/bot-hooks-base/src/use-exposure.ts index fb9a5850..1989e58f 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-exposure.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-exposure.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { type BasicTarget } from 'ahooks/lib/utils/domTarget'; diff --git a/frontend/packages/arch/bot-hooks-base/src/use-initial-value.ts b/frontend/packages/arch/bot-hooks-base/src/use-initial-value.ts index 7d24a0df..3e718991 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-initial-value.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-initial-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; export function useInitialValue(value: T): T { diff --git a/frontend/packages/arch/bot-hooks-base/src/use-line-clamp.ts b/frontend/packages/arch/bot-hooks-base/src/use-line-clamp.ts index 5a066d98..fda72604 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-line-clamp.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-line-clamp.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, useRef } from 'react'; export function useLineClamp() { diff --git a/frontend/packages/arch/bot-hooks-base/src/use-loggedin.ts b/frontend/packages/arch/bot-hooks-base/src/use-loggedin.ts index e9b37f38..d00ef1f7 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-loggedin.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-loggedin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { userStoreService } from '@coze-studio/user-store'; /** diff --git a/frontend/packages/arch/bot-hooks-base/src/use-page-state.ts b/frontend/packages/arch/bot-hooks-base/src/use-page-state.ts index 0be3db5a..082a433b 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-page-state.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-page-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; export interface PageStateUpdateFunc { diff --git a/frontend/packages/arch/bot-hooks-base/src/use-responsive.ts b/frontend/packages/arch/bot-hooks-base/src/use-responsive.ts index e5fe1ca7..d864f027 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-responsive.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-responsive.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMediaQuery, ScreenRange } from '@coze-arch/responsive-kit'; import { useRouteConfig } from './use-route-config'; diff --git a/frontend/packages/arch/bot-hooks-base/src/use-route-config.ts b/frontend/packages/arch/bot-hooks-base/src/use-route-config.ts index 1c8ca287..e254dd11 100644 --- a/frontend/packages/arch/bot-hooks-base/src/use-route-config.ts +++ b/frontend/packages/arch/bot-hooks-base/src/use-route-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMatches, type NavigateFunction } from 'react-router-dom'; import { type FC, useMemo } from 'react'; diff --git a/frontend/packages/arch/bot-hooks-base/vitest.config.ts b/frontend/packages/arch/bot-hooks-base/vitest.config.ts index 1117fc48..d4aae5b1 100644 --- a/frontend/packages/arch/bot-hooks-base/vitest.config.ts +++ b/frontend/packages/arch/bot-hooks-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/arch/bot-hooks/__tests__/page-jump.test.tsx b/frontend/packages/arch/bot-hooks/__tests__/page-jump.test.tsx index 54868f0d..3c4683ab 100644 --- a/frontend/packages/arch/bot-hooks/__tests__/page-jump.test.tsx +++ b/frontend/packages/arch/bot-hooks/__tests__/page-jump.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useState } from 'react'; import { renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/arch/bot-hooks/setup/index.ts b/frontend/packages/arch/bot-hooks/setup/index.ts index 76eabcb5..4d5489b1 100644 --- a/frontend/packages/arch/bot-hooks/setup/index.ts +++ b/frontend/packages/arch/bot-hooks/setup/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.mock('@coze-arch/i18n', () => ({ I18n: { t: vi.fn(), diff --git a/frontend/packages/arch/bot-hooks/src/global.d.ts b/frontend/packages/arch/bot-hooks/src/global.d.ts index 9f9434e5..cf5d094e 100644 --- a/frontend/packages/arch/bot-hooks/src/global.d.ts +++ b/frontend/packages/arch/bot-hooks/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const ENABLE_COVERAGE: boolean; diff --git a/frontend/packages/arch/bot-hooks/src/index.ts b/frontend/packages/arch/bot-hooks/src/index.ts index 27602cf1..2df6014d 100644 --- a/frontend/packages/arch/bot-hooks/src/index.ts +++ b/frontend/packages/arch/bot-hooks/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSetResponsiveBodyStyle, useIsResponsive, diff --git a/frontend/packages/arch/bot-hooks/src/page-jump/config.ts b/frontend/packages/arch/bot-hooks/src/page-jump/config.ts index b896c743..03124020 100644 --- a/frontend/packages/arch/bot-hooks/src/page-jump/config.ts +++ b/frontend/packages/arch/bot-hooks/src/page-jump/config.ts @@ -431,7 +431,9 @@ export const SCENE_RESPONSE_MAP = { botID: params.botID, }), [SceneType.KNOWLEDGE__BACK__BOT]: params => ({ - url: `/space/${params.spaceID}/${params.mode === 'bot' ? 'bot' : 'douyin-bot'}/${params.botID}`, + url: `/space/${params.spaceID}/${ + params.mode === 'bot' ? 'bot' : 'douyin-bot' + }/${params.botID}`, }), [SceneType.KNOWLEDGE__ADD_TO__BOT]: params => ({ url: `/space/${params.spaceID}/bot/${params.botID}`, diff --git a/frontend/packages/arch/bot-hooks/vitest.config.ts b/frontend/packages/arch/bot-hooks/vitest.config.ts index 1117fc48..d4aae5b1 100644 --- a/frontend/packages/arch/bot-hooks/vitest.config.ts +++ b/frontend/packages/arch/bot-hooks/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/arch/bot-http/__tests__/api-error.test.ts b/frontend/packages/arch/bot-http/__tests__/api-error.test.ts index d8ad2035..c0cc4eee 100644 --- a/frontend/packages/arch/bot-http/__tests__/api-error.test.ts +++ b/frontend/packages/arch/bot-http/__tests__/api-error.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AxiosError, AxiosHeaders } from 'axios'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-http/__tests__/axios.test.ts b/frontend/packages/arch/bot-http/__tests__/axios.test.ts index a75bab31..f1d43086 100644 --- a/frontend/packages/arch/bot-http/__tests__/axios.test.ts +++ b/frontend/packages/arch/bot-http/__tests__/axios.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import MockAdapter from 'axios-mock-adapter'; import { AxiosError, isAxiosError } from 'axios'; import { redirect } from '@coze-arch/web-context'; diff --git a/frontend/packages/arch/bot-http/__tests__/eventbus.test.ts b/frontend/packages/arch/bot-http/__tests__/eventbus.test.ts index 80ccc7ae..5a27d766 100644 --- a/frontend/packages/arch/bot-http/__tests__/eventbus.test.ts +++ b/frontend/packages/arch/bot-http/__tests__/eventbus.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { APIErrorEvent, clearAPIErrorEvent, diff --git a/frontend/packages/arch/bot-http/__tests__/global-interceptor.test.ts b/frontend/packages/arch/bot-http/__tests__/global-interceptor.test.ts index d033712a..6abe48a3 100644 --- a/frontend/packages/arch/bot-http/__tests__/global-interceptor.test.ts +++ b/frontend/packages/arch/bot-http/__tests__/global-interceptor.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import MockAdapter from 'axios-mock-adapter'; vi.mock('@coze-arch/logger', () => ({ diff --git a/frontend/packages/arch/bot-http/src/api-error.ts b/frontend/packages/arch/bot-http/src/api-error.ts index be19d50b..bba1da73 100644 --- a/frontend/packages/arch/bot-http/src/api-error.ts +++ b/frontend/packages/arch/bot-http/src/api-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AxiosError, type AxiosResponse } from 'axios'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-http/src/axios.ts b/frontend/packages/arch/bot-http/src/axios.ts index e9b48a21..ccad0529 100644 --- a/frontend/packages/arch/bot-http/src/axios.ts +++ b/frontend/packages/arch/bot-http/src/axios.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import axios, { type AxiosResponse, isAxiosError } from 'axios'; import { redirect } from '@coze-arch/web-context'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-http/src/eventbus.ts b/frontend/packages/arch/bot-http/src/eventbus.ts index acd33bc6..b4955b11 100644 --- a/frontend/packages/arch/bot-http/src/eventbus.ts +++ b/frontend/packages/arch/bot-http/src/eventbus.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GlobalEventBus } from '@coze-arch/web-context'; // API request related events diff --git a/frontend/packages/arch/bot-http/src/global.d.ts b/frontend/packages/arch/bot-http/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/bot-http/src/global.d.ts +++ b/frontend/packages/arch/bot-http/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/bot-http/src/index.ts b/frontend/packages/arch/bot-http/src/index.ts index 598f85a2..f050b985 100644 --- a/frontend/packages/arch/bot-http/src/index.ts +++ b/frontend/packages/arch/bot-http/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { APIErrorEvent, handleAPIErrorEvent, diff --git a/frontend/packages/arch/bot-md-box-adapter/src/full/index.ts b/frontend/packages/arch/bot-md-box-adapter/src/full/index.ts index f8bac805..8a0e7d3e 100644 --- a/frontend/packages/arch/bot-md-box-adapter/src/full/index.ts +++ b/frontend/packages/arch/bot-md-box-adapter/src/full/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Calypso as MdBox, type CalypsoProps as MdBoxProps, diff --git a/frontend/packages/arch/bot-md-box-adapter/src/lazy/index.ts b/frontend/packages/arch/bot-md-box-adapter/src/lazy/index.ts index 144376be..769f5155 100644 --- a/frontend/packages/arch/bot-md-box-adapter/src/lazy/index.ts +++ b/frontend/packages/arch/bot-md-box-adapter/src/lazy/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CalypsoLazy as MdBoxLazy, ImageStatus, diff --git a/frontend/packages/arch/bot-md-box-adapter/src/light/index.ts b/frontend/packages/arch/bot-md-box-adapter/src/light/index.ts index f2512c4b..51dd282f 100644 --- a/frontend/packages/arch/bot-md-box-adapter/src/light/index.ts +++ b/frontend/packages/arch/bot-md-box-adapter/src/light/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CalypsoLite as MdBoxLight, CalypsoLiteProps as MdBoxLightProps, diff --git a/frontend/packages/arch/bot-md-box-adapter/src/slots/index.ts b/frontend/packages/arch/bot-md-box-adapter/src/slots/index.ts index a22cf6cb..26fb7f30 100644 --- a/frontend/packages/arch/bot-md-box-adapter/src/slots/index.ts +++ b/frontend/packages/arch/bot-md-box-adapter/src/slots/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Image, Link } from '@bytedance/calypso'; diff --git a/frontend/packages/arch/bot-md-box-adapter/src/style.ts b/frontend/packages/arch/bot-md-box-adapter/src/style.ts index 77c73efd..fc05eaf3 100644 --- a/frontend/packages/arch/bot-md-box-adapter/src/style.ts +++ b/frontend/packages/arch/bot-md-box-adapter/src/style.ts @@ -13,5 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -export const dynamicImportMdBoxStyle = () => import('@bytedance/calypso/styles.css'); + +export const dynamicImportMdBoxStyle = () => + import('@bytedance/calypso/styles.css'); diff --git a/frontend/packages/arch/bot-md-box-adapter/src/typings.d.ts b/frontend/packages/arch/bot-md-box-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/bot-md-box-adapter/src/typings.d.ts +++ b/frontend/packages/arch/bot-md-box-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/bot-md-box-adapter/vitest.config.ts b/frontend/packages/arch/bot-md-box-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/arch/bot-md-box-adapter/vitest.config.ts +++ b/frontend/packages/arch/bot-md-box-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/bot-monaco-editor/src/index.tsx b/frontend/packages/arch/bot-monaco-editor/src/index.tsx index 8964eeaa..dde90dd9 100644 --- a/frontend/packages/arch/bot-monaco-editor/src/index.tsx +++ b/frontend/packages/arch/bot-monaco-editor/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Suspense, lazy } from 'react'; import { type EditorProps, type DiffEditorProps } from '@monaco-editor/react'; diff --git a/frontend/packages/arch/bot-monaco-editor/src/loader.ts b/frontend/packages/arch/bot-monaco-editor/src/loader.ts index 20a9c32a..33672ec4 100644 --- a/frontend/packages/arch/bot-monaco-editor/src/loader.ts +++ b/frontend/packages/arch/bot-monaco-editor/src/loader.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ export const loader = { async init(): Promise { diff --git a/frontend/packages/arch/bot-monaco-editor/src/monaco-editor.ts b/frontend/packages/arch/bot-monaco-editor/src/monaco-editor.ts index 4a142a93..4b91e70f 100644 --- a/frontend/packages/arch/bot-monaco-editor/src/monaco-editor.ts +++ b/frontend/packages/arch/bot-monaco-editor/src/monaco-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Editor, { DiffEditor } from '@monaco-editor/react'; export { Editor, DiffEditor }; diff --git a/frontend/packages/arch/bot-monaco-editor/src/types.ts b/frontend/packages/arch/bot-monaco-editor/src/types.ts index 35ed07ee..40b3e591 100644 --- a/frontend/packages/arch/bot-monaco-editor/src/types.ts +++ b/frontend/packages/arch/bot-monaco-editor/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type { IRange, editor } from 'monaco-editor'; export type { Monaco, OnMount } from '@monaco-editor/react'; diff --git a/frontend/packages/arch/bot-monaco-editor/src/typings.d.ts b/frontend/packages/arch/bot-monaco-editor/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/bot-monaco-editor/src/typings.d.ts +++ b/frontend/packages/arch/bot-monaco-editor/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/bot-monaco-editor/stories/demo.stories.tsx b/frontend/packages/arch/bot-monaco-editor/stories/demo.stories.tsx index 5fbd2832..83442e5c 100644 --- a/frontend/packages/arch/bot-monaco-editor/stories/demo.stories.tsx +++ b/frontend/packages/arch/bot-monaco-editor/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, useCallback } from 'react'; import type { OnMount } from '../src/types'; diff --git a/frontend/packages/arch/bot-monaco-editor/vitest.config.ts b/frontend/packages/arch/bot-monaco-editor/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/arch/bot-monaco-editor/vitest.config.ts +++ b/frontend/packages/arch/bot-monaco-editor/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/bot-space-api/__tests__/index.test.ts b/frontend/packages/arch/bot-space-api/__tests__/index.test.ts index 750f613a..3c1a259b 100644 --- a/frontend/packages/arch/bot-space-api/__tests__/index.test.ts +++ b/frontend/packages/arch/bot-space-api/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { globalVars } from '@coze-arch/web-context'; import { useSpaceStore } from '@coze-arch/bot-studio-store'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/arch/bot-space-api/__tests__/space-api-v2.test.ts b/frontend/packages/arch/bot-space-api/__tests__/space-api-v2.test.ts index 4891e878..6e1e34bc 100644 --- a/frontend/packages/arch/bot-space-api/__tests__/space-api-v2.test.ts +++ b/frontend/packages/arch/bot-space-api/__tests__/space-api-v2.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useSpaceStore } from '@coze-arch/bot-studio-store'; import { CustomError } from '@coze-arch/bot-error'; import { PlaygroundApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/arch/bot-space-api/package.json b/frontend/packages/arch/bot-space-api/package.json index c5d01fcc..3de60acd 100644 --- a/frontend/packages/arch/bot-space-api/package.json +++ b/frontend/packages/arch/bot-space-api/package.json @@ -13,8 +13,8 @@ "test:cov": "npm run test -- --coverage" }, "dependencies": { - "@coze-arch/bot-error": "workspace:*", "@coze-arch/bot-api": "workspace:*", + "@coze-arch/bot-error": "workspace:*", "@coze-arch/bot-flags": "workspace:*", "@coze-arch/bot-studio-store": "workspace:*", "@coze-arch/report-events": "workspace:*", diff --git a/frontend/packages/arch/bot-space-api/src/global.d.ts b/frontend/packages/arch/bot-space-api/src/global.d.ts index 13d3e6f8..19806ad5 100644 --- a/frontend/packages/arch/bot-space-api/src/global.d.ts +++ b/frontend/packages/arch/bot-space-api/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// interface Window { diff --git a/frontend/packages/arch/bot-space-api/src/index.ts b/frontend/packages/arch/bot-space-api/src/index.ts index da7ac69b..7a3897b2 100644 --- a/frontend/packages/arch/bot-space-api/src/index.ts +++ b/frontend/packages/arch/bot-space-api/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import axios, { type AxiosRequestConfig } from 'axios'; import { globalVars } from '@coze-arch/web-context'; import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; diff --git a/frontend/packages/arch/bot-space-api/src/space-api-v2.ts b/frontend/packages/arch/bot-space-api/src/space-api-v2.ts index f8c05930..354c09d7 100644 --- a/frontend/packages/arch/bot-space-api/src/space-api-v2.ts +++ b/frontend/packages/arch/bot-space-api/src/space-api-v2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AxiosRequestConfig } from 'axios'; import { REPORT_EVENTS } from '@coze-arch/report-events'; import { useSpaceStore } from '@coze-arch/bot-studio-store'; diff --git a/frontend/packages/arch/bot-space-api/vitest.config.ts b/frontend/packages/arch/bot-space-api/vitest.config.ts index 4143276e..1d81d601 100644 --- a/frontend/packages/arch/bot-space-api/vitest.config.ts +++ b/frontend/packages/arch/bot-space-api/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/bot-store/__mocks__/zustand.ts b/frontend/packages/arch/bot-store/__mocks__/zustand.ts index 6f0a36a8..44edf11b 100644 --- a/frontend/packages/arch/bot-store/__mocks__/zustand.ts +++ b/frontend/packages/arch/bot-store/__mocks__/zustand.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export, @typescript-eslint/consistent-type-imports import * as zustand from 'zustand'; import { act } from '@testing-library/react'; diff --git a/frontend/packages/arch/bot-store/__tests__/auth/index.test.tsx b/frontend/packages/arch/bot-store/__tests__/auth/index.test.tsx index 3bd469c8..50f15faf 100644 --- a/frontend/packages/arch/bot-store/__tests__/auth/index.test.tsx +++ b/frontend/packages/arch/bot-store/__tests__/auth/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { renderHook, act } from '@testing-library/react'; import { ResourceType } from '@coze-arch/bot-api/permission_authz'; diff --git a/frontend/packages/arch/bot-store/__tests__/space-gray/index.test.ts b/frontend/packages/arch/bot-store/__tests__/space-gray/index.test.ts index 92ddc276..6bc04895 100644 --- a/frontend/packages/arch/bot-store/__tests__/space-gray/index.test.ts +++ b/frontend/packages/arch/bot-store/__tests__/space-gray/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { renderHook, act } from '@testing-library/react'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-store/__tests__/utils/get-storage.test.ts b/frontend/packages/arch/bot-store/__tests__/utils/get-storage.test.ts index f119c5e7..5b79d0c4 100644 --- a/frontend/packages/arch/bot-store/__tests__/utils/get-storage.test.ts +++ b/frontend/packages/arch/bot-store/__tests__/utils/get-storage.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; // Import the tested module diff --git a/frontend/packages/arch/bot-store/package.json b/frontend/packages/arch/bot-store/package.json index a60a9371..aafbbc33 100644 --- a/frontend/packages/arch/bot-store/package.json +++ b/frontend/packages/arch/bot-store/package.json @@ -13,12 +13,12 @@ "test:cov": "npm run test -- --coverage" }, "dependencies": { - "@coze-arch/bot-error": "workspace:*", - "@coze-foundation/space-store": "workspace:*", "@coze-arch/bot-api": "workspace:*", + "@coze-arch/bot-error": "workspace:*", "@coze-arch/bot-flags": "workspace:*", "@coze-arch/logger": "workspace:*", "@coze-arch/report-events": "workspace:*", + "@coze-foundation/space-store": "workspace:*", "immer": "^10.0.3", "localforage": "^1.9.0", "lodash-es": "^4.17.21", diff --git a/frontend/packages/arch/bot-store/setup-vitest.ts b/frontend/packages/arch/bot-store/setup-vitest.ts index fc6155b4..61ace360 100644 --- a/frontend/packages/arch/bot-store/setup-vitest.ts +++ b/frontend/packages/arch/bot-store/setup-vitest.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); vi.mock('zustand'); diff --git a/frontend/packages/arch/bot-store/src/auth/index.tsx b/frontend/packages/arch/bot-store/src/auth/index.tsx index 2f89a012..7c9f11b6 100644 --- a/frontend/packages/arch/bot-store/src/auth/index.tsx +++ b/frontend/packages/arch/bot-store/src/auth/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/arch/bot-store/src/data_item.d.ts b/frontend/packages/arch/bot-store/src/data_item.d.ts index 1b97a126..35f30ce1 100644 --- a/frontend/packages/arch/bot-store/src/data_item.d.ts +++ b/frontend/packages/arch/bot-store/src/data_item.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare namespace DataItem { interface UserConnectItem { platform: string; diff --git a/frontend/packages/arch/bot-store/src/index.ts b/frontend/packages/arch/bot-store/src/index.ts index 8340557e..e6e0f35d 100644 --- a/frontend/packages/arch/bot-store/src/index.ts +++ b/frontend/packages/arch/bot-store/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { /** @Deprecated This usage method is deprecated, please use the method exported by @code-arch/foundation-sdk in the future*/ useSpaceStore, diff --git a/frontend/packages/arch/bot-store/src/space-gray/index.ts b/frontend/packages/arch/bot-store/src/space-gray/index.ts index c461f172..dc242074 100644 --- a/frontend/packages/arch/bot-store/src/space-gray/index.ts +++ b/frontend/packages/arch/bot-store/src/space-gray/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-store/src/type.d.ts b/frontend/packages/arch/bot-store/src/type.d.ts index f92abe46..6d217c61 100644 --- a/frontend/packages/arch/bot-store/src/type.d.ts +++ b/frontend/packages/arch/bot-store/src/type.d.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare const IS_BOT_OP: boolean; declare const IS_DEV_MODE: boolean; diff --git a/frontend/packages/arch/bot-store/src/utils/get-storage.ts b/frontend/packages/arch/bot-store/src/utils/get-storage.ts index fc4fad30..738c3ab6 100644 --- a/frontend/packages/arch/bot-store/src/utils/get-storage.ts +++ b/frontend/packages/arch/bot-store/src/utils/get-storage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateStorage } from 'zustand/middleware'; import { throttle } from 'lodash-es'; import localForage from 'localforage'; diff --git a/frontend/packages/arch/bot-store/vitest.config.ts b/frontend/packages/arch/bot-store/vitest.config.ts index 57503556..2f406ef6 100644 --- a/frontend/packages/arch/bot-store/vitest.config.ts +++ b/frontend/packages/arch/bot-store/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/bot-tea/__tests__/utils.test.ts b/frontend/packages/arch/bot-tea/__tests__/utils.test.ts index 5a0b6fd8..16356220 100644 --- a/frontend/packages/arch/bot-tea/__tests__/utils.test.ts +++ b/frontend/packages/arch/bot-tea/__tests__/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { ProductEntityType } from '@coze-arch/bot-api/product_api'; diff --git a/frontend/packages/arch/bot-tea/package.json b/frontend/packages/arch/bot-tea/package.json index 15b11dc0..91b1af24 100644 --- a/frontend/packages/arch/bot-tea/package.json +++ b/frontend/packages/arch/bot-tea/package.json @@ -38,3 +38,4 @@ "vitest": "~3.0.5" } } + diff --git a/frontend/packages/arch/bot-tea/src/global.d.ts b/frontend/packages/arch/bot-tea/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/bot-tea/src/global.d.ts +++ b/frontend/packages/arch/bot-tea/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/bot-tea/src/index.ts b/frontend/packages/arch/bot-tea/src/index.ts index 57a1afe9..6f168676 100644 --- a/frontend/packages/arch/bot-tea/src/index.ts +++ b/frontend/packages/arch/bot-tea/src/index.ts @@ -90,4 +90,3 @@ export const sendTeaEvent = ( }); TeaNew.sendEvent(event, params); }; - diff --git a/frontend/packages/arch/bot-tea/src/utils.ts b/frontend/packages/arch/bot-tea/src/utils.ts index 9029a5b7..b1dc7947 100644 --- a/frontend/packages/arch/bot-tea/src/utils.ts +++ b/frontend/packages/arch/bot-tea/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import queryString from 'query-string'; import { type EVENT_NAMES, type ParamsTypeDefine } from '@coze-arch/tea'; import { diff --git a/frontend/packages/arch/bot-tea/vitest.config.ts b/frontend/packages/arch/bot-tea/vitest.config.ts index 4143276e..1d81d601 100644 --- a/frontend/packages/arch/bot-tea/vitest.config.ts +++ b/frontend/packages/arch/bot-tea/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/bot-typings/src/data_item.d.ts b/frontend/packages/arch/bot-typings/src/data_item.d.ts index ec4010c5..d5a50f8c 100644 --- a/frontend/packages/arch/bot-typings/src/data_item.d.ts +++ b/frontend/packages/arch/bot-typings/src/data_item.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare namespace DataItem { interface UserConnectItem { platform: string; diff --git a/frontend/packages/arch/bot-typings/src/index.d.ts b/frontend/packages/arch/bot-typings/src/index.d.ts index 9583207b..70ea5206 100644 --- a/frontend/packages/arch/bot-typings/src/index.d.ts +++ b/frontend/packages/arch/bot-typings/src/index.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// /// /// diff --git a/frontend/packages/arch/bot-typings/src/navigator.d.ts b/frontend/packages/arch/bot-typings/src/navigator.d.ts index f8175625..a4819ba0 100644 --- a/frontend/packages/arch/bot-typings/src/navigator.d.ts +++ b/frontend/packages/arch/bot-typings/src/navigator.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface Navigator { standalone: boolean; } diff --git a/frontend/packages/arch/bot-typings/src/teamspace.ts b/frontend/packages/arch/bot-typings/src/teamspace.ts index b6ca8738..831d68eb 100644 --- a/frontend/packages/arch/bot-typings/src/teamspace.ts +++ b/frontend/packages/arch/bot-typings/src/teamspace.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // copy from packages/arch/bot-typings/src/teamspace.ts export interface DynamicParams extends Record { space_id?: string; diff --git a/frontend/packages/arch/bot-typings/src/window.d.ts b/frontend/packages/arch/bot-typings/src/window.d.ts index cbcdca5d..8999389f 100644 --- a/frontend/packages/arch/bot-typings/src/window.d.ts +++ b/frontend/packages/arch/bot-typings/src/window.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare type MicroComponentsMapItem = { version: string; cdnUrl: string; diff --git a/frontend/packages/arch/bot-utils/__tests__/array.test.ts b/frontend/packages/arch/bot-utils/__tests__/array.test.ts index 8941223f..bea36689 100644 --- a/frontend/packages/arch/bot-utils/__tests__/array.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/array.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ArrayUtil } from '../src/array'; describe('array', () => { diff --git a/frontend/packages/arch/bot-utils/__tests__/dom.test.ts b/frontend/packages/arch/bot-utils/__tests__/dom.test.ts index 05eca61a..c11570c0 100644 --- a/frontend/packages/arch/bot-utils/__tests__/dom.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/dom.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { openNewWindow } from '../src/dom'; it('openNewWindow', async () => { diff --git a/frontend/packages/arch/bot-utils/__tests__/get-report-error.test.ts b/frontend/packages/arch/bot-utils/__tests__/get-report-error.test.ts index 210fb956..c6ceba25 100644 --- a/frontend/packages/arch/bot-utils/__tests__/get-report-error.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/get-report-error.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getReportError } from '../src/get-report-error'; describe('getReportError', () => { diff --git a/frontend/packages/arch/bot-utils/__tests__/html.test.tsx b/frontend/packages/arch/bot-utils/__tests__/html.test.tsx index a82d8039..c727bf6b 100644 --- a/frontend/packages/arch/bot-utils/__tests__/html.test.tsx +++ b/frontend/packages/arch/bot-utils/__tests__/html.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { renderHtmlTitle } from '../src/html'; diff --git a/frontend/packages/arch/bot-utils/__tests__/image.test.ts b/frontend/packages/arch/bot-utils/__tests__/image.test.ts index 54da8bc0..101d06fc 100644 --- a/frontend/packages/arch/bot-utils/__tests__/image.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/image.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { loadImage } from '../src/image'; describe('image', () => { diff --git a/frontend/packages/arch/bot-utils/__tests__/index.test.ts b/frontend/packages/arch/bot-utils/__tests__/index.test.ts index 783c96c6..40d8f72c 100644 --- a/frontend/packages/arch/bot-utils/__tests__/index.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + describe('Hello World', () => { it('test', () => { expect(1).toBe(1); diff --git a/frontend/packages/arch/bot-utils/__tests__/is-mobile.test.ts b/frontend/packages/arch/bot-utils/__tests__/is-mobile.test.ts index 6d871512..8eb778af 100644 --- a/frontend/packages/arch/bot-utils/__tests__/is-mobile.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/is-mobile.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isMobile } from '../src/is-mobile'; describe('is-mobile', () => { diff --git a/frontend/packages/arch/bot-utils/__tests__/message-report.test.ts b/frontend/packages/arch/bot-utils/__tests__/message-report.test.ts index 3041d910..dbf086cc 100644 --- a/frontend/packages/arch/bot-utils/__tests__/message-report.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/message-report.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createReportEvent } from '@coze-arch/report-events'; import { messageReportEvent } from '../src/message-report'; diff --git a/frontend/packages/arch/bot-utils/__tests__/number.test.ts b/frontend/packages/arch/bot-utils/__tests__/number.test.ts index 596fce0c..0284e223 100644 --- a/frontend/packages/arch/bot-utils/__tests__/number.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/number.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ceil } from 'lodash-es'; import { diff --git a/frontend/packages/arch/bot-utils/__tests__/responsive-table-column.test.ts b/frontend/packages/arch/bot-utils/__tests__/responsive-table-column.test.ts index cc327c61..4b6a96da 100644 --- a/frontend/packages/arch/bot-utils/__tests__/responsive-table-column.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/responsive-table-column.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* Table cell width adaptation ColumnSize. Default should be returned when width is less than WidthThresholds. Small. diff --git a/frontend/packages/arch/bot-utils/__tests__/retry-import.test.ts b/frontend/packages/arch/bot-utils/__tests__/retry-import.test.ts index bf09d088..b21663dc 100644 --- a/frontend/packages/arch/bot-utils/__tests__/retry-import.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/retry-import.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { retryImport } from '../src/retry-import'; describe('retry-import tests', () => { diff --git a/frontend/packages/arch/bot-utils/__tests__/safe-json-parse.test.ts b/frontend/packages/arch/bot-utils/__tests__/safe-json-parse.test.ts index 173a262d..7ccad33e 100644 --- a/frontend/packages/arch/bot-utils/__tests__/safe-json-parse.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/safe-json-parse.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-utils/__tests__/setup.ts b/frontend/packages/arch/bot-utils/__tests__/setup.ts index 6147149c..2400bfbf 100644 --- a/frontend/packages/arch/bot-utils/__tests__/setup.ts +++ b/frontend/packages/arch/bot-utils/__tests__/setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + global.IS_OVERSEA = false; global.APP_ID = ''; global.IMAGE_FALLBACK_HOST = ''; diff --git a/frontend/packages/arch/bot-utils/__tests__/skill.test.ts b/frontend/packages/arch/bot-utils/__tests__/skill.test.ts index 32198cff..a9b992d9 100644 --- a/frontend/packages/arch/bot-utils/__tests__/skill.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/skill.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SkillKeyEnum } from '@coze-agent-ide/tool-config'; import { skillKeyToApiStatusKeyTransformer } from '../src/skill'; diff --git a/frontend/packages/arch/bot-utils/__tests__/upload-file-v2.test.ts b/frontend/packages/arch/bot-utils/__tests__/upload-file-v2.test.ts index 7fc03be5..13c4b3dd 100644 --- a/frontend/packages/arch/bot-utils/__tests__/upload-file-v2.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/upload-file-v2.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uploadFileV2 } from '../src/upload-file-v2'; vi.mock('@coze-arch/bot-api', () => ({ DeveloperApi: { diff --git a/frontend/packages/arch/bot-utils/__tests__/upload-file.test.ts b/frontend/packages/arch/bot-utils/__tests__/upload-file.test.ts index 58ef5778..fe01059e 100644 --- a/frontend/packages/arch/bot-utils/__tests__/upload-file.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/upload-file.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { userStoreService } from '@coze-studio/user-store'; diff --git a/frontend/packages/arch/bot-utils/__tests__/url.test.ts b/frontend/packages/arch/bot-utils/__tests__/url.test.ts index cd695191..ba8cd85e 100644 --- a/frontend/packages/arch/bot-utils/__tests__/url.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/url.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { appendUrlParam, getParamsFromQuery, openUrl } from '../src/url'; import { getIsMobile, getIsSafari } from '../src/platform'; diff --git a/frontend/packages/arch/bot-utils/__tests__/viewport.test.ts b/frontend/packages/arch/bot-utils/__tests__/viewport.test.ts index 509bdb13..736c06ef 100644 --- a/frontend/packages/arch/bot-utils/__tests__/viewport.test.ts +++ b/frontend/packages/arch/bot-utils/__tests__/viewport.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { setMobileBody, setPCBody } from '../src/viewport'; describe('viewport', () => { diff --git a/frontend/packages/arch/bot-utils/package.json b/frontend/packages/arch/bot-utils/package.json index 7d9cc18d..4565ca1b 100644 --- a/frontend/packages/arch/bot-utils/package.json +++ b/frontend/packages/arch/bot-utils/package.json @@ -37,10 +37,8 @@ }, "dependencies": { "@coze-agent-ide/tool-config": "workspace:*", - "@coze-arch/bot-error": "workspace:*", - "@coze-studio/uploader-adapter": "workspace:*", - "@coze-studio/user-store": "workspace:*", "@coze-arch/bot-api": "workspace:*", + "@coze-arch/bot-error": "workspace:*", "@coze-arch/bot-flags": "workspace:*", "@coze-arch/bot-studio-store": "workspace:*", "@coze-arch/i18n": "workspace:*", @@ -48,6 +46,8 @@ "@coze-arch/report-events": "workspace:*", "@coze-arch/tea": "workspace:*", "@coze-arch/web-context": "workspace:*", + "@coze-studio/uploader-adapter": "workspace:*", + "@coze-studio/user-store": "workspace:*", "bowser": "2.11.0", "dayjs": "^1.11.7", "eventemitter3": "^5.0.1", @@ -56,11 +56,11 @@ "query-string": "^8.1.0" }, "devDependencies": { - "@coze-common/chat-core": "workspace:*", "@coze-arch/bot-typings": "workspace:*", "@coze-arch/eslint-config": "workspace:*", "@coze-arch/ts-config": "workspace:*", "@coze-arch/vitest-config": "workspace:*", + "@coze-common/chat-core": "workspace:*", "@types/lodash-es": "^4.17.10", "@types/md5": "^2.3.2", "@types/node": "^18", diff --git a/frontend/packages/arch/bot-utils/src/array-buffer-to-object.ts b/frontend/packages/arch/bot-utils/src/array-buffer-to-object.ts index 24e398ca..a72ffa8f 100644 --- a/frontend/packages/arch/bot-utils/src/array-buffer-to-object.ts +++ b/frontend/packages/arch/bot-utils/src/array-buffer-to-object.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { typeSafeJSONParse } from './safe-json-parse'; export function arrayBufferToObject( diff --git a/frontend/packages/arch/bot-utils/src/array.ts b/frontend/packages/arch/bot-utils/src/array.ts index f56cec36..2412500c 100644 --- a/frontend/packages/arch/bot-utils/src/array.ts +++ b/frontend/packages/arch/bot-utils/src/array.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFunction } from 'lodash-es'; // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/frontend/packages/arch/bot-utils/src/cache.ts b/frontend/packages/arch/bot-utils/src/cache.ts index 25c7de52..8f558cec 100644 --- a/frontend/packages/arch/bot-utils/src/cache.ts +++ b/frontend/packages/arch/bot-utils/src/cache.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + type Timer = ReturnType; type CachedKey = string | number; diff --git a/frontend/packages/arch/bot-utils/src/date.ts b/frontend/packages/arch/bot-utils/src/date.ts index 0623546f..b565399f 100644 --- a/frontend/packages/arch/bot-utils/src/date.ts +++ b/frontend/packages/arch/bot-utils/src/date.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjsUTC from 'dayjs/plugin/utc'; import dayjsTimezone from 'dayjs/plugin/timezone'; import dayjsDuration from 'dayjs/plugin/duration'; diff --git a/frontend/packages/arch/bot-utils/src/dom.ts b/frontend/packages/arch/bot-utils/src/dom.ts index fe0c6c1c..9cd8e167 100644 --- a/frontend/packages/arch/bot-utils/src/dom.ts +++ b/frontend/packages/arch/bot-utils/src/dom.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Get the latest scrollable element */ diff --git a/frontend/packages/arch/bot-utils/src/event-handler.ts b/frontend/packages/arch/bot-utils/src/event-handler.ts index a521e643..f51fbf43 100644 --- a/frontend/packages/arch/bot-utils/src/event-handler.ts +++ b/frontend/packages/arch/bot-utils/src/event-handler.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EventEmitter from 'eventemitter3'; import { type AbilityKey } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/arch/bot-utils/src/get-report-error.ts b/frontend/packages/arch/bot-utils/src/get-report-error.ts index 975465d6..a2fa75f9 100644 --- a/frontend/packages/arch/bot-utils/src/get-report-error.ts +++ b/frontend/packages/arch/bot-utils/src/get-report-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; /** diff --git a/frontend/packages/arch/bot-utils/src/global.d.ts b/frontend/packages/arch/bot-utils/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/bot-utils/src/global.d.ts +++ b/frontend/packages/arch/bot-utils/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/bot-utils/src/html.ts b/frontend/packages/arch/bot-utils/src/html.ts index 9ff0cc88..8f071366 100644 --- a/frontend/packages/arch/bot-utils/src/html.ts +++ b/frontend/packages/arch/bot-utils/src/html.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { isString } from 'lodash-es'; diff --git a/frontend/packages/arch/bot-utils/src/image.ts b/frontend/packages/arch/bot-utils/src/image.ts index 68153823..11a2cf9e 100644 --- a/frontend/packages/arch/bot-utils/src/image.ts +++ b/frontend/packages/arch/bot-utils/src/image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const loadImage = (url: string): Promise => new Promise((resolve, reject) => { const img = new Image(); diff --git a/frontend/packages/arch/bot-utils/src/index.ts b/frontend/packages/arch/bot-utils/src/index.ts index 295d5c98..9ffdb1bd 100644 --- a/frontend/packages/arch/bot-utils/src/index.ts +++ b/frontend/packages/arch/bot-utils/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { arrayBufferToObject } from './array-buffer-to-object'; export { isMobile } from './is-mobile'; diff --git a/frontend/packages/arch/bot-utils/src/is-mobile.ts b/frontend/packages/arch/bot-utils/src/is-mobile.ts index deb11677..0d1f6c9c 100644 --- a/frontend/packages/arch/bot-utils/src/is-mobile.ts +++ b/frontend/packages/arch/bot-utils/src/is-mobile.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const MIN_SCREEN_WIDTH = 640; export const isMobile = (): boolean => { diff --git a/frontend/packages/arch/bot-utils/src/message-report.ts b/frontend/packages/arch/bot-utils/src/message-report.ts index d551e449..625077ac 100644 --- a/frontend/packages/arch/bot-utils/src/message-report.ts +++ b/frontend/packages/arch/bot-utils/src/message-report.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { isObject } from 'lodash-es'; import { type ContentType, type Message } from '@coze-common/chat-core'; diff --git a/frontend/packages/arch/bot-utils/src/number.ts b/frontend/packages/arch/bot-utils/src/number.ts index 88b37f9f..203091fc 100644 --- a/frontend/packages/arch/bot-utils/src/number.ts +++ b/frontend/packages/arch/bot-utils/src/number.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ceil } from 'lodash-es'; export const simpleformatNumber = (num: number | string) => diff --git a/frontend/packages/arch/bot-utils/src/platform.ts b/frontend/packages/arch/bot-utils/src/platform.ts index 10d26eb9..a08dac3f 100644 --- a/frontend/packages/arch/bot-utils/src/platform.ts +++ b/frontend/packages/arch/bot-utils/src/platform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Browser from 'bowser'; const browser = Browser.getParser(window.navigator.userAgent); diff --git a/frontend/packages/arch/bot-utils/src/post-message-channel.ts b/frontend/packages/arch/bot-utils/src/post-message-channel.ts index 5573350b..e3484a08 100644 --- a/frontend/packages/arch/bot-utils/src/post-message-channel.ts +++ b/frontend/packages/arch/bot-utils/src/post-message-channel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EventEmitter from 'eventemitter3'; interface BusinessData { diff --git a/frontend/packages/arch/bot-utils/src/responsive-table-column.ts b/frontend/packages/arch/bot-utils/src/responsive-table-column.ts index 842da02d..a09b0b6d 100644 --- a/frontend/packages/arch/bot-utils/src/responsive-table-column.ts +++ b/frontend/packages/arch/bot-utils/src/responsive-table-column.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable no-magic-numbers */ export enum WidthThresholds { Small = 1280, diff --git a/frontend/packages/arch/bot-utils/src/retry-import.ts b/frontend/packages/arch/bot-utils/src/retry-import.ts index 1607cbcf..afd49061 100644 --- a/frontend/packages/arch/bot-utils/src/retry-import.ts +++ b/frontend/packages/arch/bot-utils/src/retry-import.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // TODO: https://github.com/web-infra-dev/rsbuild/issues/91 export const retryImport = ( importFunction: () => Promise, diff --git a/frontend/packages/arch/bot-utils/src/safe-json-parse.ts b/frontend/packages/arch/bot-utils/src/safe-json-parse.ts index 12507537..6648d73f 100644 --- a/frontend/packages/arch/bot-utils/src/safe-json-parse.ts +++ b/frontend/packages/arch/bot-utils/src/safe-json-parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS } from '@coze-arch/report-events'; import { logger, reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/bot-utils/src/skill.ts b/frontend/packages/arch/bot-utils/src/skill.ts index 1835ac17..d55937fb 100644 --- a/frontend/packages/arch/bot-utils/src/skill.ts +++ b/frontend/packages/arch/bot-utils/src/skill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SkillKeyEnum } from '@coze-agent-ide/tool-config'; /** diff --git a/frontend/packages/arch/bot-utils/src/upload-file-v2.ts b/frontend/packages/arch/bot-utils/src/upload-file-v2.ts index 1876260f..d80babc9 100644 --- a/frontend/packages/arch/bot-utils/src/upload-file-v2.ts +++ b/frontend/packages/arch/bot-utils/src/upload-file-v2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { getUploader as initUploader, diff --git a/frontend/packages/arch/bot-utils/src/upload-file.ts b/frontend/packages/arch/bot-utils/src/upload-file.ts index 5f1a28ca..017bcfda 100644 --- a/frontend/packages/arch/bot-utils/src/upload-file.ts +++ b/frontend/packages/arch/bot-utils/src/upload-file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { userStoreService } from '@coze-studio/user-store'; import { diff --git a/frontend/packages/arch/bot-utils/src/url.ts b/frontend/packages/arch/bot-utils/src/url.ts index f40879ff..fd1d4021 100644 --- a/frontend/packages/arch/bot-utils/src/url.ts +++ b/frontend/packages/arch/bot-utils/src/url.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import queryString from 'query-string'; import { getIsMobile, getIsSafari } from './platform'; diff --git a/frontend/packages/arch/bot-utils/src/viewport.ts b/frontend/packages/arch/bot-utils/src/viewport.ts index 6b7f3189..6aaaddc2 100644 --- a/frontend/packages/arch/bot-utils/src/viewport.ts +++ b/frontend/packages/arch/bot-utils/src/viewport.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const setMobileBody = () => { const bodyStyle = document?.body?.style; const htmlStyle = document?.getElementsByTagName('html')?.[0]?.style; diff --git a/frontend/packages/arch/bot-utils/vitest.config.ts b/frontend/packages/arch/bot-utils/vitest.config.ts index b9ac5f63..f38b3a31 100644 --- a/frontend/packages/arch/bot-utils/vitest.config.ts +++ b/frontend/packages/arch/bot-utils/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/default-slardar/src/index.ts b/frontend/packages/arch/default-slardar/src/index.ts index 0b6b5234..f8cf19b6 100644 --- a/frontend/packages/arch/default-slardar/src/index.ts +++ b/frontend/packages/arch/default-slardar/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SlardarInstance } from '@coze-studio/slardar-interface'; const noop = () => { diff --git a/frontend/packages/arch/default-slardar/vitest.config.ts b/frontend/packages/arch/default-slardar/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/arch/default-slardar/vitest.config.ts +++ b/frontend/packages/arch/default-slardar/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/fetch-stream/__tests__/type.test.ts b/frontend/packages/arch/fetch-stream/__tests__/type.test.ts index 8068c4fa..4babdd08 100644 --- a/frontend/packages/arch/fetch-stream/__tests__/type.test.ts +++ b/frontend/packages/arch/fetch-stream/__tests__/type.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { FetchStreamErrorCode, type ValidateResult } from '../src/type'; diff --git a/frontend/packages/arch/fetch-stream/__tests__/utils.test.ts b/frontend/packages/arch/fetch-stream/__tests__/utils.test.ts index 6ff3e7ef..0069941b 100644 --- a/frontend/packages/arch/fetch-stream/__tests__/utils.test.ts +++ b/frontend/packages/arch/fetch-stream/__tests__/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { diff --git a/frontend/packages/arch/fetch-stream/src/fetch-stream.ts b/frontend/packages/arch/fetch-stream/src/fetch-stream.ts index 7e5b959b..8e3b6da6 100644 --- a/frontend/packages/arch/fetch-stream/src/fetch-stream.ts +++ b/frontend/packages/arch/fetch-stream/src/fetch-stream.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function */ diff --git a/frontend/packages/arch/fetch-stream/src/index.ts b/frontend/packages/arch/fetch-stream/src/index.ts index 7fd38ae7..1464e6ae 100644 --- a/frontend/packages/arch/fetch-stream/src/index.ts +++ b/frontend/packages/arch/fetch-stream/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFetchStreamErrorInfo } from './utils'; import { FetchStreamErrorCode, diff --git a/frontend/packages/arch/fetch-stream/src/type.ts b/frontend/packages/arch/fetch-stream/src/type.ts index 810e8759..66fe10b8 100644 --- a/frontend/packages/arch/fetch-stream/src/type.ts +++ b/frontend/packages/arch/fetch-stream/src/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ParseEvent } from 'eventsource-parser'; export enum FetchStreamErrorCode { diff --git a/frontend/packages/arch/fetch-stream/src/utils.ts b/frontend/packages/arch/fetch-stream/src/utils.ts index db4bae7b..77debf3d 100644 --- a/frontend/packages/arch/fetch-stream/src/utils.ts +++ b/frontend/packages/arch/fetch-stream/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FetchSteamConfig, FetchStreamErrorCode, diff --git a/frontend/packages/arch/fetch-stream/vitest.config.ts b/frontend/packages/arch/fetch-stream/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/arch/fetch-stream/vitest.config.ts +++ b/frontend/packages/arch/fetch-stream/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/foundation-sdk/__tests__/index.test.ts b/frontend/packages/arch/foundation-sdk/__tests__/index.test.ts index 783c96c6..40d8f72c 100644 --- a/frontend/packages/arch/foundation-sdk/__tests__/index.test.ts +++ b/frontend/packages/arch/foundation-sdk/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + describe('Hello World', () => { it('test', () => { expect(1).toBe(1); diff --git a/frontend/packages/arch/foundation-sdk/src/index.ts b/frontend/packages/arch/foundation-sdk/src/index.ts index 561b49df..fcd6b4c9 100644 --- a/frontend/packages/arch/foundation-sdk/src/index.ts +++ b/frontend/packages/arch/foundation-sdk/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC } from 'react'; import { diff --git a/frontend/packages/arch/foundation-sdk/src/types.ts b/frontend/packages/arch/foundation-sdk/src/types.ts index 7910a376..e7c45631 100644 --- a/frontend/packages/arch/foundation-sdk/src/types.ts +++ b/frontend/packages/arch/foundation-sdk/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type ThemeType = 'dark' | 'light' | 'system'; export { diff --git a/frontend/packages/arch/foundation-sdk/src/types/layout.ts b/frontend/packages/arch/foundation-sdk/src/types/layout.ts index f621593a..87ab17e0 100644 --- a/frontend/packages/arch/foundation-sdk/src/types/layout.ts +++ b/frontend/packages/arch/foundation-sdk/src/types/layout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface BackButtonProps { onClickBack: () => void; } diff --git a/frontend/packages/arch/foundation-sdk/src/types/passport.ts b/frontend/packages/arch/foundation-sdk/src/types/passport.ts index 26fa5bf5..519b970f 100644 --- a/frontend/packages/arch/foundation-sdk/src/types/passport.ts +++ b/frontend/packages/arch/foundation-sdk/src/types/passport.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The uses of the access_token representing the OAuth2 callback are currently: * 1. Login: When logging in, perform user mid-platform three-party login (auth/login) diff --git a/frontend/packages/arch/foundation-sdk/src/types/user.ts b/frontend/packages/arch/foundation-sdk/src/types/user.ts index 1dd7feaa..5295d402 100644 --- a/frontend/packages/arch/foundation-sdk/src/types/user.ts +++ b/frontend/packages/arch/foundation-sdk/src/types/user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface UserConnectItem { platform: string; profile_image_url: string; diff --git a/frontend/packages/arch/foundation-sdk/vitest.config.ts b/frontend/packages/arch/foundation-sdk/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/arch/foundation-sdk/vitest.config.ts +++ b/frontend/packages/arch/foundation-sdk/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/hooks/src/index.ts b/frontend/packages/arch/hooks/src/index.ts index dac580b8..2608577b 100644 --- a/frontend/packages/arch/hooks/src/index.ts +++ b/frontend/packages/arch/hooks/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as useHover } from './use-hover'; export { default as usePersistCallback } from './use-persist-callback'; export { default as useUpdateEffect } from './use-update-effect'; diff --git a/frontend/packages/arch/hooks/src/use-boolean/__tests__/index.test.ts b/frontend/packages/arch/hooks/src/use-boolean/__tests__/index.test.ts index 4fc9ae5f..d2eba030 100644 --- a/frontend/packages/arch/hooks/src/use-boolean/__tests__/index.test.ts +++ b/frontend/packages/arch/hooks/src/use-boolean/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook, act } from '@testing-library/react-hooks'; import useBoolean from '../index'; diff --git a/frontend/packages/arch/hooks/src/use-boolean/index.ts b/frontend/packages/arch/hooks/src/use-boolean/index.ts index a924b197..94aca4e2 100644 --- a/frontend/packages/arch/hooks/src/use-boolean/index.ts +++ b/frontend/packages/arch/hooks/src/use-boolean/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useMemo } from 'react'; export interface ReturnValue { diff --git a/frontend/packages/arch/hooks/src/use-hover/__tests__/index.test.ts b/frontend/packages/arch/hooks/src/use-hover/__tests__/index.test.ts index 8ec8c467..eaaf2fd6 100644 --- a/frontend/packages/arch/hooks/src/use-hover/__tests__/index.test.ts +++ b/frontend/packages/arch/hooks/src/use-hover/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { act, renderHook } from '@testing-library/react-hooks'; import useHover from '../index'; diff --git a/frontend/packages/arch/hooks/src/use-hover/index.ts b/frontend/packages/arch/hooks/src/use-hover/index.ts index c9585e55..fbce285f 100644 --- a/frontend/packages/arch/hooks/src/use-hover/index.ts +++ b/frontend/packages/arch/hooks/src/use-hover/index.ts @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import {type DependencyList} from 'react'; + +import { type DependencyList } from 'react'; import type React from 'react'; import { useState, useCallback, useRef, useLayoutEffect } from 'react'; interface Options { - onEnter?: () => void - onLeave?: () => void + onEnter?: () => void; + onLeave?: () => void; } const useHover = ( @@ -28,25 +28,31 @@ const useHover = ( options: Options = {}, deps: DependencyList = [], ): [React.MutableRefObject, boolean] => { - const { onEnter, onLeave } = options + const { onEnter, onLeave } = options; const ref = useRef(); const [isHovered, setIsHovered] = useState(false); const handleMouseEnter = useCallback(() => { - if (onEnter) {onEnter()} - setIsHovered(true) - }, [typeof onEnter === 'function']); + if (onEnter) { + onEnter(); + } + setIsHovered(true); + }, [typeof onEnter === 'function']); const handleMouseLeave = useCallback(() => { - if (onLeave) {onLeave()} - setIsHovered(false) - }, [typeof onLeave === 'function']); + if (onLeave) { + onLeave(); + } + setIsHovered(false); + }, [typeof onLeave === 'function']); useLayoutEffect(() => { - let target = ref.current + let target = ref.current; if (el) { target = typeof el === 'function' ? el() : el; } - if (!target) {return} + if (!target) { + return; + } target.addEventListener('mouseenter', handleMouseEnter); target.addEventListener('mouseleave', handleMouseLeave); return () => { diff --git a/frontend/packages/arch/hooks/src/use-persist-callback/__tests__/index.test.ts b/frontend/packages/arch/hooks/src/use-persist-callback/__tests__/index.test.ts index b576bd9f..5f3d4aa5 100644 --- a/frontend/packages/arch/hooks/src/use-persist-callback/__tests__/index.test.ts +++ b/frontend/packages/arch/hooks/src/use-persist-callback/__tests__/index.test.ts @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { act, renderHook, type RenderHookResult } from '@testing-library/react-hooks'; + +import { + act, + renderHook, + type RenderHookResult, +} from '@testing-library/react-hooks'; import { useState } from 'react'; import usePersistCallback from '..'; diff --git a/frontend/packages/arch/hooks/src/use-persist-callback/index.ts b/frontend/packages/arch/hooks/src/use-persist-callback/index.ts index 23cfbb6d..1d79f37d 100644 --- a/frontend/packages/arch/hooks/src/use-persist-callback/index.ts +++ b/frontend/packages/arch/hooks/src/use-persist-callback/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useCallback, useMemo } from 'react'; function usePersistCallback any>(fn?: T) { diff --git a/frontend/packages/arch/hooks/src/use-state-realtime/__tests__/index.test.ts b/frontend/packages/arch/hooks/src/use-state-realtime/__tests__/index.test.ts index a6543457..c30fd7bb 100644 --- a/frontend/packages/arch/hooks/src/use-state-realtime/__tests__/index.test.ts +++ b/frontend/packages/arch/hooks/src/use-state-realtime/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-unused-vars */ import { act, renderHook } from '@testing-library/react-hooks'; import useStateRealtime from '../index'; diff --git a/frontend/packages/arch/hooks/src/use-state-realtime/index.ts b/frontend/packages/arch/hooks/src/use-state-realtime/index.ts index 5a5f6535..c0789d96 100644 --- a/frontend/packages/arch/hooks/src/use-state-realtime/index.ts +++ b/frontend/packages/arch/hooks/src/use-state-realtime/index.ts @@ -13,24 +13,43 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { useState, useRef, type Dispatch, type SetStateAction, useCallback } from 'react'; + +import { + useState, + useRef, + type Dispatch, + type SetStateAction, + useCallback, +} from 'react'; const isFunction = (val: any): val is Function => typeof val === 'function'; // Get a new state value, compatible with passing values and functions -function getStateVal(preState: T, initVal?: SetStateAction): T | undefined { +function getStateVal( + preState: T, + initVal?: SetStateAction, +): T | undefined { if (isFunction(initVal)) { return initVal(preState); } return initVal; } -function useStateRealtime(initialState: T | (() => T)): [T, Dispatch>, () => T] -function useStateRealtime(): [T | undefined, Dispatch>, () => T | undefined] +function useStateRealtime( + initialState: T | (() => T), +): [T, Dispatch>, () => T]; +function useStateRealtime(): [ + T | undefined, + Dispatch>, + () => T | undefined, +]; function useStateRealtime( initVal?: T | (() => T), -): [T | undefined, Dispatch>, () => T | undefined] { +): [ + T | undefined, + Dispatch>, + () => T | undefined, +] { const initState = getStateVal(undefined, initVal); const [val, setVal] = useState(initState); const valRef = useRef(initState); @@ -38,8 +57,8 @@ function useStateRealtime( const newState = getStateVal(valRef.current, newVal); valRef.current = newState; setVal(newState); - }, []) - const getRealState = useCallback(() => valRef.current, []) + }, []); + const getRealState = useCallback(() => valRef.current, []); return [val, setState, getRealState]; } diff --git a/frontend/packages/arch/hooks/src/use-toggle/__tests__/index.test.ts b/frontend/packages/arch/hooks/src/use-toggle/__tests__/index.test.ts index e420f092..6a192fe6 100644 --- a/frontend/packages/arch/hooks/src/use-toggle/__tests__/index.test.ts +++ b/frontend/packages/arch/hooks/src/use-toggle/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { act, renderHook } from '@testing-library/react-hooks'; import useToggle from '../index'; diff --git a/frontend/packages/arch/hooks/src/use-toggle/index.ts b/frontend/packages/arch/hooks/src/use-toggle/index.ts index b019d1a5..d7aa34df 100644 --- a/frontend/packages/arch/hooks/src/use-toggle/index.ts +++ b/frontend/packages/arch/hooks/src/use-toggle/index.ts @@ -13,50 +13,52 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { useState, useMemo } from 'react' -type State = any +import { useState, useMemo } from 'react'; + +type State = any; export interface ReturnValue { state: T; toggle: (value?: T) => void; } -function useToggle(): ReturnValue +function useToggle(): ReturnValue; -function useToggle(defaultValue: T): ReturnValue +function useToggle(defaultValue: T): ReturnValue; function useToggle( defaultValue: T, reverseValue: U, -): ReturnValue +): ReturnValue; function useToggle( defaultValue: D = false as D, reverseValue?: R, ) { - const [state, setState] = useState(defaultValue) + const [state, setState] = useState(defaultValue); const actions = useMemo(() => { - const reverseValueOrigin = (reverseValue === undefined ? !defaultValue : reverseValue) as D | R + const reverseValueOrigin = ( + reverseValue === undefined ? !defaultValue : reverseValue + ) as D | R; const toggle = (value?: D | R) => { if (value !== undefined) { - setState(value) - return + setState(value); + return; } - setState((s) => (s === defaultValue ? reverseValueOrigin : defaultValue)) - } + setState(s => (s === defaultValue ? reverseValueOrigin : defaultValue)); + }; return { toggle, - } - }, [defaultValue, reverseValue]) + }; + }, [defaultValue, reverseValue]); return { state, ...actions, - } + }; } -export default useToggle +export default useToggle; diff --git a/frontend/packages/arch/hooks/src/use-update-effect/__tests__/index.test.ts b/frontend/packages/arch/hooks/src/use-update-effect/__tests__/index.test.ts index 55b001ba..a5913158 100644 --- a/frontend/packages/arch/hooks/src/use-update-effect/__tests__/index.test.ts +++ b/frontend/packages/arch/hooks/src/use-update-effect/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import useUpdateEffect from '../index'; diff --git a/frontend/packages/arch/hooks/src/use-update-effect/index.ts b/frontend/packages/arch/hooks/src/use-update-effect/index.ts index 39890ab9..f37fe5a0 100644 --- a/frontend/packages/arch/hooks/src/use-update-effect/index.ts +++ b/frontend/packages/arch/hooks/src/use-update-effect/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; const useUpdateEffect: typeof useEffect = (effect, deps) => { diff --git a/frontend/packages/arch/hooks/src/use-url-params/index.ts b/frontend/packages/arch/hooks/src/use-url-params/index.ts index d86afc60..019d130a 100644 --- a/frontend/packages/arch/hooks/src/use-url-params/index.ts +++ b/frontend/packages/arch/hooks/src/use-url-params/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, diff --git a/frontend/packages/arch/hooks/vitest.config.ts b/frontend/packages/arch/hooks/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/arch/hooks/vitest.config.ts +++ b/frontend/packages/arch/hooks/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/i18n/__tests__/i18n-provider/index.test.tsx b/frontend/packages/arch/i18n/__tests__/i18n-provider/index.test.tsx index 88ce0cba..753c4081 100644 --- a/frontend/packages/arch/i18n/__tests__/i18n-provider/index.test.tsx +++ b/frontend/packages/arch/i18n/__tests__/i18n-provider/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, it, expect, vi, beforeEach } from 'vitest'; diff --git a/frontend/packages/arch/i18n/__tests__/i18n.test.tsx b/frontend/packages/arch/i18n/__tests__/i18n.test.tsx index f22e15d1..e4fca026 100644 --- a/frontend/packages/arch/i18n/__tests__/i18n.test.tsx +++ b/frontend/packages/arch/i18n/__tests__/i18n.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, beforeAll } from 'vitest'; import { I18n, getUnReactiveLanguage } from '../src/index'; diff --git a/frontend/packages/arch/i18n/__tests__/raw/index.test.ts b/frontend/packages/arch/i18n/__tests__/raw/index.test.ts index b3d692ef..83c85cbd 100644 --- a/frontend/packages/arch/i18n/__tests__/raw/index.test.ts +++ b/frontend/packages/arch/i18n/__tests__/raw/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { I18n, initI18nInstance } from '../../src/raw'; diff --git a/frontend/packages/arch/i18n/src/global.d.ts b/frontend/packages/arch/i18n/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/i18n/src/global.d.ts +++ b/frontend/packages/arch/i18n/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/i18n/src/i18n-provider/context.tsx b/frontend/packages/arch/i18n/src/i18n-provider/context.tsx index 82042542..26a673fc 100644 --- a/frontend/packages/arch/i18n/src/i18n-provider/context.tsx +++ b/frontend/packages/arch/i18n/src/i18n-provider/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type Intl } from '../intl'; diff --git a/frontend/packages/arch/i18n/src/i18n-provider/index.tsx b/frontend/packages/arch/i18n/src/i18n-provider/index.tsx index 48b60c72..0c60efea 100644 --- a/frontend/packages/arch/i18n/src/i18n-provider/index.tsx +++ b/frontend/packages/arch/i18n/src/i18n-provider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Component, type ReactNode } from 'react'; import { CDLocaleProvider } from '@coze-arch/coze-design/locales'; diff --git a/frontend/packages/arch/i18n/src/index.ts b/frontend/packages/arch/i18n/src/index.ts index cbe50a68..e7f75c42 100644 --- a/frontend/packages/arch/i18n/src/index.ts +++ b/frontend/packages/arch/i18n/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable max-params */ /* eslint-disable @typescript-eslint/no-explicit-any */ diff --git a/frontend/packages/arch/i18n/src/intl/i18n-impl.ts b/frontend/packages/arch/i18n/src/intl/i18n-impl.ts index c021fb7c..e934c4df 100644 --- a/frontend/packages/arch/i18n/src/intl/i18n-impl.ts +++ b/frontend/packages/arch/i18n/src/intl/i18n-impl.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-params */ /* eslint-disable @typescript-eslint/no-this-alias */ /* eslint-disable @typescript-eslint/no-explicit-any */ diff --git a/frontend/packages/arch/i18n/src/intl/i18n.ts b/frontend/packages/arch/i18n/src/intl/i18n.ts index 071e52cb..b812919d 100644 --- a/frontend/packages/arch/i18n/src/intl/i18n.ts +++ b/frontend/packages/arch/i18n/src/intl/i18n.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-params */ /* eslint-disable no-empty */ /* eslint-disable @coze-arch/no-empty-catch */ diff --git a/frontend/packages/arch/i18n/src/intl/index.ts b/frontend/packages/arch/i18n/src/intl/index.ts index 3e0c4f50..4c13b208 100644 --- a/frontend/packages/arch/i18n/src/intl/index.ts +++ b/frontend/packages/arch/i18n/src/intl/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type IIntlInitOptions, IntlModuleType, IntlModule } from './types'; import Intl, { IntlInstance } from './i18n-impl'; diff --git a/frontend/packages/arch/i18n/src/intl/types.ts b/frontend/packages/arch/i18n/src/intl/types.ts index 59eedb3a..30b5f77b 100644 --- a/frontend/packages/arch/i18n/src/intl/types.ts +++ b/frontend/packages/arch/i18n/src/intl/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @stylistic/ts/comma-dangle */ /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable prettier/prettier */ @@ -46,17 +46,26 @@ export enum IntlModuleType { languageDetector = 'languageDetector', postProcessor = 'postProcessor', i18nFormat = 'i18nFormat', - '3rdParty' = '3rdParty' + '3rdParty' = '3rdParty', } -export interface IntlModule { - type: T - name?: string - init?: (i18n: any) => void | Promise +export interface IntlModule< + T extends keyof typeof IntlModuleType = keyof typeof IntlModuleType, +> { + type: T; + name?: string; + init?: (i18n: any) => void | Promise; } export type TFunctionKeys = string | TemplateStringsArray; -export type TFunctionResult = string | object | Array | undefined | null; +export type TFunctionResult = + | string + | object + | Array + | undefined + | null; -export interface StringMap { [key: string]: any } +export interface StringMap { + [key: string]: any; +} diff --git a/frontend/packages/arch/i18n/src/raw/index.ts b/frontend/packages/arch/i18n/src/raw/index.ts index b18bf547..0e1dc1ad 100644 --- a/frontend/packages/arch/i18n/src/raw/index.ts +++ b/frontend/packages/arch/i18n/src/raw/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import LanguageDetector from 'i18next-browser-languagedetector'; import locale from '../resource'; diff --git a/frontend/packages/arch/i18n/src/resource.ts b/frontend/packages/arch/i18n/src/resource.ts index 7cb0fcd3..ba27e965 100644 --- a/frontend/packages/arch/i18n/src/resource.ts +++ b/frontend/packages/arch/i18n/src/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defaultConfig } from '@coze-studio/studio-i18n-resource-adapter'; export default defaultConfig; diff --git a/frontend/packages/arch/i18n/vitest.config.ts b/frontend/packages/arch/i18n/vitest.config.ts index f65b7c96..32d2dedc 100644 --- a/frontend/packages/arch/i18n/vitest.config.ts +++ b/frontend/packages/arch/i18n/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/idl/src/auto-generated/app_builder/index.ts b/frontend/packages/arch/idl/src/auto-generated/app_builder/index.ts index abd26d64..c2751074 100644 --- a/frontend/packages/arch/idl/src/auto-generated/app_builder/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/app_builder/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/app_builder_api.ts b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/app_builder_api.ts index 61078391..8261959f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/app_builder_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/app_builder_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/filebox.ts b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/filebox.ts index d600f5d8..4e4c79c2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/filebox.ts +++ b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/filebox.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/plugin_common.ts b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/plugin_common.ts index ec2acb63..9f4e1408 100644 --- a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/plugin_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/plugin_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/plugin_develop_common.ts b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/plugin_develop_common.ts index 051791df..9360005d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/plugin_develop_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/plugin_develop_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/starry.ts b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/starry.ts index 357ec13c..3c4e17db 100644 --- a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/starry.ts +++ b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/starry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/user.ts b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/user.ts index abf2a09c..d58a2ee1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/user.ts +++ b/frontend/packages/arch/idl/src/auto-generated/app_builder/namespaces/user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/index.ts index d08f27a2..26f3ee4f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/audit.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/audit.ts index c27fc6ad..abca2188 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/audit.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/audit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/counter.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/counter.ts index b3f92f4c..22233237 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/counter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/counter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/flow_platform_audit_common.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/flow_platform_audit_common.ts index 47dda9f7..9261bd23 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/flow_platform_audit_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/flow_platform_audit_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/marketplace_common.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/marketplace_common.ts index 00cd9426..cbc45134 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/marketplace_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/marketplace_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_admin_api.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_admin_api.ts index f3c8f3a7..bcc3ffe2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_admin_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_admin_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_common.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_common.ts index 1282841f..20b45d32 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_public_api.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_public_api.ts index ad84916c..39122331 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_public_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/report_public_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_common.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_common.ts index bbebfbc2..bf6144cb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_public_api.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_public_api.ts index 4249335e..2120fbe9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_public_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_public_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_rpc.ts b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_rpc.ts index ffeaf436..603f1843 100644 --- a/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_rpc.ts +++ b/frontend/packages/arch/idl/src/auto-generated/basic_api/namespaces/user_rpc.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/index.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/index.ts index 1714a7c6..9b62d2f3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/benefit.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/benefit.ts index dbc3641c..656b2c4e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/benefit.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/benefit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/benefit_common.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/benefit_common.ts index 1ea02391..e952169d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/benefit_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/benefit_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/bot.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/bot.ts index 190c4c2a..ebc1fbee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/bot.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/bot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/copilot_common.ts index cd7bbbb9..65b61a62 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/marketplace_common.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/marketplace_common.ts index 0a634311..8518affd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/marketplace_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/marketplace_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/oapi.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/oapi.ts index ae07569f..bb2d4f6a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/oapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/oapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/service.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/service.ts index f0c934a5..cf64bcf9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/service.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/wallet.ts b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/wallet.ts index b0b1ff17..9e3478d4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/wallet.ts +++ b/frontend/packages/arch/idl/src/auto-generated/benefit/namespaces/wallet.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bot_connector/index.ts b/frontend/packages/arch/idl/src/auto-generated/bot_connector/index.ts index ea26dc6a..03d673da 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bot_connector/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bot_connector/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/bot_common.ts index 519dafc5..13f3ece3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/bot_connector.ts b/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/bot_connector.ts index db20470b..f246cb44 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/bot_connector.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bot_connector/namespaces/bot_connector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bot_open_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/bot_open_api/index.ts index 37bdee1b..8e84ae01 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bot_open_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bot_open_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bot_open_api/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/bot_open_api/namespaces/bot_common.ts index be9729bf..b998962e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bot_open_api/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bot_open_api/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bot_open_api/namespaces/bot_open_api.ts b/frontend/packages/arch/idl/src/auto-generated/bot_open_api/namespaces/bot_open_api.ts index 1cc8a25d..174a3f3c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bot_open_api/namespaces/bot_open_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bot_open_api/namespaces/bot_open_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/index.ts index 7cdbcea9..006a813d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/admin.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/admin.ts index 49407121..1820f264 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/admin.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/admin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/agent.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/agent.ts index a1b732e3..bd0a442e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/agent.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/alarm.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/alarm.ts index cad4a098..75174f67 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/alarm.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/alarm.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/async_request.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/async_request.ts index 9bbe64dd..93c8c24b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/async_request.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/async_request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/build.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/build.ts index 5e09b5e9..22519bac 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/build.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/build.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/burst_protector.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/burst_protector.ts index 117b83a3..ab443964 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/burst_protector.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/burst_protector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/cluster.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/cluster.ts index bad4deac..590c4227 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/cluster.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/cluster.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/code_revision.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/code_revision.ts index 8fd095cc..ad0ed8dd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/code_revision.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/code_revision.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/codeagent_cp.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/codeagent_cp.ts index f6830920..2bb6a641 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/codeagent_cp.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/codeagent_cp.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/common.ts index 18c7df21..2af8aa1b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/consul_trigger.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/consul_trigger.ts index bf87ed52..416a71e4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/consul_trigger.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/consul_trigger.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/debug.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/debug.ts index 57ef1e81..ddf4e194 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/debug.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/debug.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/diagnosis.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/diagnosis.ts index f8022e3c..10951c46 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/diagnosis.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/diagnosis.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/eventbus.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/eventbus.ts index 85025257..62fb12e4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/eventbus.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/eventbus.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/filterplugin.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/filterplugin.ts index 2c4e0b4e..14beae11 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/filterplugin.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/filterplugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/http_trigger.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/http_trigger.ts index 312bcea4..d3890517 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/http_trigger.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/http_trigger.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/image.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/image.ts index 9110e756..ae1d9beb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/image.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/instance.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/instance.ts index 9282a984..061d3e85 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/instance.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/instance.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mcp_server.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mcp_server.ts index 899c822c..1903ffe3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mcp_server.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mcp_server.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mcp_tool.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mcp_tool.ts index 88915437..f5558192 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mcp_tool.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mcp_tool.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mqevent.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mqevent.ts index 41acf6cf..0ff966fd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mqevent.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/mqevent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/other.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/other.ts index 6947c9a9..bf710385 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/other.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/other.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/packages.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/packages.ts index 3a920781..7b15850a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/packages.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/packages.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/pipeline_template.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/pipeline_template.ts index 0d6d9873..393055bf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/pipeline_template.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/pipeline_template.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/plugin_function.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/plugin_function.ts index 7f396997..b912a6ab 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/plugin_function.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/plugin_function.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/regional_meta.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/regional_meta.ts index ac001010..3bf6ddd0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/regional_meta.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/regional_meta.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/release.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/release.ts index 7670bcad..a689c189 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/release.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/release.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/resource.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/resource.ts index 465f1d24..9bc95b8b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/resource_group.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/resource_group.ts index 9c2e52ac..fda27d17 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/resource_group.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/resource_group.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/revision.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/revision.ts index 364cbbd7..280895c1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/revision.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/revision.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/sandbox.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/sandbox.ts index 6361cf02..0cdf6358 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/sandbox.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/sandbox.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_record.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_record.ts index 8be42645..e8e4eb8a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_record.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_record.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_setting.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_setting.ts index 0f6bb047..4a7216d3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_setting.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_setting.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_strategies.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_strategies.ts index 72ddb569..69fa5fc4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_strategies.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/scale_strategies.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/service.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/service.ts index 0b929687..84696eb4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/service.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/services.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/services.ts index 72bc5b64..0b0b857c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/services.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/services.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/subscription.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/subscription.ts index 5fe4a74e..cbdf039a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/subscription.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/subscription.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tce.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tce.ts index 5e6c37a1..6f447505 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tce.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tce.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/template.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/template.ts index 810bf6ab..023033f3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/template.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/template.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/ticket.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/ticket.ts index 0858a81a..0dff6de4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/ticket.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/ticket.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tickets.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tickets.ts index b1a3ca3a..fb6d0fdb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tickets.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tickets.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/timer.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/timer.ts index e8ea50f3..ed70052b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/timer.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/timer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tos.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tos.ts index 0bdda303..7a779cfe 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tos.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/tos.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger.ts index 9de4b88a..6f373555 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger_debug.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger_debug.ts index 08a928b4..062b0fa3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger_debug.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger_debug.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger_frozen_active.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger_frozen_active.ts index 3f0d994f..3db4a043 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger_frozen_active.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/trigger_frozen_active.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/volcengine.ts b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/volcengine.ts index c55f172a..82bc2142 100644 --- a/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/volcengine.ts +++ b/frontend/packages/arch/idl/src/auto-generated/bytefaas_api/namespaces/volcengine.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/index.ts b/frontend/packages/arch/idl/src/auto-generated/card/index.ts index bb0a142e..e6a38854 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/bot_common.ts index eac22cb1..2f169740 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/card.ts b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/card.ts index cbd9416b..90583199 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/card.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/card.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/copilot_common.ts index b126bbfd..d5f01ae3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/permission.ts b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/permission.ts index f85891cd..091edb51 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/permission.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/resource_common.ts index 00f76662..358933bc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/retriever.ts b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/retriever.ts index c308d751..b7778707 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/retriever.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/retriever.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/shortcut_command.ts b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/shortcut_command.ts index 65f94b99..2fbfab9d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/card/namespaces/shortcut_command.ts +++ b/frontend/packages/arch/idl/src/auto-generated/card/namespaces/shortcut_command.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/connector_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/connector_api/index.ts index 7216ccf1..95b27ea0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/connector_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/connector_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/connector.ts b/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/connector.ts index 738e3eb6..5acc38bc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/connector.ts +++ b/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/connector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/feishu_base.ts b/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/feishu_base.ts index 15d7b0d6..326a7e7e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/feishu_base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/feishu_base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/open_api.ts b/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/open_api.ts index a6f2e513..c1f61d07 100644 --- a/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/open_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/connector_api/namespaces/open_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/index.ts index d295de2c..9abf29b9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_debugger_coze.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_debugger_coze.ts index 000047ea..21be6e7e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_debugger_coze.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_debugger_coze.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_debugger_ping.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_debugger_ping.ts index 2d62d77d..bb74a4fb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_debugger_ping.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_debugger_ping.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_callback_common.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_callback_common.ts index 3ca365cd..8718ea2a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_callback_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_callback_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_entity.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_entity.ts index 4825a828..129e289b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_evaluator_callback.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_evaluator_callback.ts index 2f973e6e..ded14bf9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_evaluator_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_evaluator_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_object_callback.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_object_callback.ts index da1a24c1..a65fdf77 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_object_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_evaluation_object_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry.ts index 73b064c3..bc489bdc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_common.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_common.ts index 89818f8c..9247c78c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_field_filter.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_field_filter.ts index 60a2d7ba..a77c3804 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_field_filter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_field_filter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_span.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_span.ts index 86f2838b..eb575ad0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_span.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/flow_devops_ob_query_telemetry_span.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/infra.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/infra.ts index c99d016c..972dce26 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/infra.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/infra.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/mockset.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/mockset.ts index 5c3a69e8..5a90392d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/mockset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/mockset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/run_event.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/run_event.ts index 6ab394ef..fd548f12 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/run_event.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/run_event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/structure_gen.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/structure_gen.ts index 72032c3a..c4b5edad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/structure_gen.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/structure_gen.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/testcase.ts b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/testcase.ts index 65d96ff0..c7c84daa 100644 --- a/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/testcase.ts +++ b/frontend/packages/arch/idl/src/auto-generated/debugger_api/namespaces/testcase.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/index.ts index b98512e6..85ddfb3f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/acrosite.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/acrosite.ts index 671869cd..018f255a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/acrosite.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/acrosite.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/base.ts index 9cbd52db..bd263495 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_common.ts index a2c020cb..1cfd09aa 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_connector_manage.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_connector_manage.ts index fc0ec8a8..5f8f5eec 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_connector_manage.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_connector_manage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ @@ -89,7 +89,7 @@ export enum ConnectorBindType { } /** Discord 发布流程简化 - */ + */ export enum ConnectorStatus { /** 正常 */ Normal = 0, diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_task_common.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_task_common.ts index bd652f02..a36e5602 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_task_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_task_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ @@ -134,7 +134,7 @@ export interface PresetWebhookTriggerData { } /** bot 新增自动化 - */ + */ export interface TaskInfo { id: Int64; id_str: string; diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_user_auth.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_user_auth.ts index c4bfecfb..cce39d60 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_user_auth.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/bot_user_auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/common.ts index e4a6c9d3..bb906f79 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/data_connector.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/data_connector.ts index 4ad30e14..869cfde5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/data_connector.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/data_connector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/data_connector_plugin.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/data_connector_plugin.ts index bb9f59f1..c403743c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/data_connector_plugin.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/data_connector_plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/dataset.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/dataset.ts index 626c55a9..66999a98 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/developer_api.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/developer_api.ts index d8228bc3..6cad6fa9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/developer_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/developer_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/document.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/document.ts index f6d7e19e..60a98c0e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/document.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/document.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/permission.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/permission.ts index cf8dae1a..5f55f10b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/permission.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/plugin_common.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/plugin_common.ts index b4dab5ec..3eb0d204 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/plugin_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/plugin_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/product_common.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/product_common.ts index 7f1d9a6e..cb5d874c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/product_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/product_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/profile_memory.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/profile_memory.ts index e06d0128..9fe440af 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/profile_memory.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/profile_memory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/shortcut_command.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/shortcut_command.ts index 5c7bdb46..75d155f2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/shortcut_command.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/shortcut_command.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/slice.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/slice.ts index d0c5bb32..555f6fa1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/slice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/table.ts b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/table.ts index 4da69cb3..01cb056b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/table.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_api/namespaces/table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_backend/index.ts b/frontend/packages/arch/idl/src/auto-generated/developer_backend/index.ts index 993bd863..d361ed65 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_backend/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_backend/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ @@ -153,7 +153,7 @@ export default class DeveloperBackendService { /** * GET /api/open/playground/item_list * - * 以下是 playground 的接口, 技术方案: + * 以下是 playground 的接口, 技术方案: * * 不需要登陆态 * @@ -318,7 +318,7 @@ export default class DeveloperBackendService { * * --- API 回调能力 --- * - * 技术方案: + * 技术方案: * * 网页上用的 api * @@ -430,7 +430,7 @@ export default class DeveloperBackendService { * * --- API 回调能力 --- * - * 技术方案: + * 技术方案: * * openapi * diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/base.ts index aa0a9279..a4f606f6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/benefit_common.ts b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/benefit_common.ts index 3e3312d3..a05257ab 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/benefit_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/benefit_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/copilot_common.ts index 32b2ea5b..739d3f4f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/oapi.ts b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/oapi.ts index f6fd61cb..582f6d51 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/oapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/oapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/open_api.ts b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/open_api.ts index ad6a62bb..bf953604 100644 --- a/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/open_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/developer_backend/namespaces/open_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/index.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/index.ts index bd77c0a0..dd9ebdef 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/automation.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/automation.ts index 86c52914..984e4852 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/automation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/automation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_automation.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_automation.ts index 1bfc4949..95d5262a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_automation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_automation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_callback_common.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_callback_common.ts index 3ca365cd..8718ea2a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_callback_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_callback_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_dataset.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_dataset.ts index 6698dd81..5e6cfab9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_dataset_openapi.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_dataset_openapi.ts index 2bce0e9d..f80779f7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_dataset_openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_dataset_openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_entity.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_entity.ts index 7353815e..f6b9efae 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_evaluator.ts index 02669314..e11dc2bf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_evaluator_callback.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_evaluator_callback.ts index 2f973e6e..ded14bf9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_evaluator_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_evaluator_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_manual_annotation.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_manual_annotation.ts index bc896ba3..9fcf8237 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_manual_annotation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_manual_annotation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_object.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_object.ts index 4f386753..c9157c9b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_object.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_object.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_object_callback.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_object_callback.ts index da1a24c1..a65fdf77 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_object_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_object_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_openapi_common.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_openapi_common.ts index 25e86b92..1df33685 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_openapi_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_openapi_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_ping.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_ping.ts index c2f6e4e0..4197db80 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_ping.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_ping.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_proxy.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_proxy.ts index 0e24fc20..453010a7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_proxy.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_proxy.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_task.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_task.ts index 4dfe8cef..5743f0ee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_task_openapi.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_task_openapi.ts index 553485a8..06dc350f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_task_openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_evaluation_task_openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_prompt_common.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_prompt_common.ts index e4d7387f..fd511669 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_prompt_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/flow_devops_prompt_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/model.ts index d50f844c..8b495214 100644 --- a/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/devops_evaluation/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/dp_manage/index.ts b/frontend/packages/arch/idl/src/auto-generated/dp_manage/index.ts index afd63b68..f2aa0820 100644 --- a/frontend/packages/arch/idl/src/auto-generated/dp_manage/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/dp_manage/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/flow_devops_dp_manage.ts b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/flow_devops_dp_manage.ts index 01edcd2f..089c3b89 100644 --- a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/flow_devops_dp_manage.ts +++ b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/flow_devops_dp_manage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/model_arena.ts b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/model_arena.ts index 8acbd94a..32ede7b3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/model_arena.ts +++ b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/model_arena.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/multi_version.ts b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/multi_version.ts index ebc41162..900ee779 100644 --- a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/multi_version.ts +++ b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/multi_version.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/rule.ts b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/rule.ts index d5d1ae71..6c465a18 100644 --- a/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/rule.ts +++ b/frontend/packages/arch/idl/src/auto-generated/dp_manage/namespaces/rule.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/english_examination/index.ts b/frontend/packages/arch/idl/src/auto-generated/english_examination/index.ts index 3f41b374..d7c1a0c3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/english_examination/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/english_examination/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/base.ts index 6fc50ebc..3a3476d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/common.ts index fdafc993..5ca91bad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/entity.ts b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/entity.ts index 0e35489c..9867f38c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/external.ts b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/external.ts index ad4e0f37..fb9553f0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/external.ts +++ b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/external.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/origin.ts b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/origin.ts index ee244e50..b2fe9127 100644 --- a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/origin.ts +++ b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/origin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/uniexam.ts b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/uniexam.ts index b0280daf..17dc19d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/uniexam.ts +++ b/frontend/packages/arch/idl/src/auto-generated/english_examination/namespaces/uniexam.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/index.ts index 9e8255c6..2b8f0b09 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/automation.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/automation.ts index 86c52914..984e4852 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/automation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/automation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_automation.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_automation.ts index 1bfc4949..95d5262a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_automation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_automation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_callback_common.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_callback_common.ts index 3ca365cd..8718ea2a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_callback_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_callback_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_dataset.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_dataset.ts index 6698dd81..5e6cfab9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_dataset_openapi.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_dataset_openapi.ts index 2bce0e9d..f80779f7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_dataset_openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_dataset_openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_entity.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_entity.ts index 7353815e..f6b9efae 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_evaluator.ts index 02669314..e11dc2bf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_evaluator_callback.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_evaluator_callback.ts index 2f973e6e..ded14bf9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_evaluator_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_evaluator_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_manual_annotation.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_manual_annotation.ts index bc896ba3..9fcf8237 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_manual_annotation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_manual_annotation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_object.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_object.ts index 4f386753..c9157c9b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_object.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_object.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_object_callback.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_object_callback.ts index da1a24c1..a65fdf77 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_object_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_object_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_openapi_common.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_openapi_common.ts index 25e86b92..1df33685 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_openapi_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_openapi_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_ping.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_ping.ts index c2f6e4e0..4197db80 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_ping.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_ping.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_proxy.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_proxy.ts index 0e24fc20..453010a7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_proxy.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_proxy.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_task.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_task.ts index 4dfe8cef..5743f0ee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_task_openapi.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_task_openapi.ts index 553485a8..06dc350f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_task_openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_evaluation_task_openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_prompt_common.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_prompt_common.ts index e4d7387f..fd511669 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_prompt_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/flow_devops_prompt_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/model.ts index d50f844c..8b495214 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_api/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/index.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/index.ts index 93a4b30c..c9e738fb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/bot.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/bot.ts index e568ed67..da1d86a9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/bot.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/bot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation.ts index 1dd6ebcb..9cf4829d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_entity.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_entity.ts index 781bff3c..f6a17fea 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_evaluator.ts index d57a7f55..151b44ea 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_v2.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_v2.ts index bc0f3d5e..ae94a9a7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_v2.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_coze_evaluation_v2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_callback_common.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_callback_common.ts index 5d32ee12..98d24ad8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_callback_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_callback_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_dataset.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_dataset.ts index b5d3f83e..f4971712 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_entity.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_entity.ts index 63ceccaa..cccba7df 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_evaluator.ts index 5e61f3d3..e316cf8a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_evaluator_callback.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_evaluator_callback.ts index b5d87f84..7faf049b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_evaluator_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_evaluator_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_manual_annotation.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_manual_annotation.ts index 3db63114..96e8033a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_manual_annotation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_manual_annotation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_object_callback.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_object_callback.ts index a37c676b..0450f9be 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_object_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_object_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_task.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_task.ts index 3966eeab..fe632411 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/flow_devops_evaluation_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/setup.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/setup.ts index 26f12431..6a3e3278 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/setup.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/task.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/task.ts index 084ec68c..f89e1337 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/user.ts b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/user.ts index c3a8bae6..adcee9d6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/user.ts +++ b/frontend/packages/arch/idl/src/auto-generated/evaluation_lite/namespaces/user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/filebox/index.ts b/frontend/packages/arch/idl/src/auto-generated/filebox/index.ts index fe8405c7..6b12ad6f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/filebox/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/filebox/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/file.ts b/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/file.ts index adbfcb4a..4a31edfe 100644 --- a/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/file.ts +++ b/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/http_model.ts b/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/http_model.ts index bb89aaa4..bc0ddfb0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/http_model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/http_model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/rpc_model.ts b/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/rpc_model.ts index 10dfc684..d395f27f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/rpc_model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/filebox/namespaces/rpc_model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/index.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/index.ts index 8558dc68..fc7bc0ce 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/agw_common.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/agw_common.ts index 7cd4a85d..9f583c7e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/agw_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/agw_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/agw_common_param.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/agw_common_param.ts index f0533596..3a1e49fa 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/agw_common_param.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/agw_common_param.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/api_manage.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/api_manage.ts index ca8b6d70..f01c6f7a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/api_manage.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/api_manage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/auth.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/auth.ts index 331612b6..be1c243b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/auth.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/bam_api.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/bam_api.ts index 74beee40..8cefbcf5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/bam_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/bam_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/banner.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/banner.ts index d439834b..cca42d8d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/banner.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/banner.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/base.ts index aa0a9279..a4f606f6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/benefit_common.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/benefit_common.ts index 3e3312d3..a05257ab 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/benefit_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/benefit_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/byte_tree.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/byte_tree.ts index dc994d59..7dacaaaf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/byte_tree.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/byte_tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/common.ts index c60a60b5..dfe50128 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/copilot_common.ts index 32b2ea5b..739d3f4f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/home_banner.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/home_banner.ts index 959dd752..72f038ed 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/home_banner.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/home_banner.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/menu.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/menu.ts index d152c686..d7009ea2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/menu.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/menu.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/model.ts index b5e1ebcf..e8c49e9d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/oapi.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/oapi.ts index f6fd61cb..582f6d51 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/oapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/oapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/op_bot.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/op_bot.ts index 18c6aa65..3f3f2b7c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/op_bot.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/op_bot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/open_api.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/open_api.ts index 4dcbd5f5..ada426e1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/open_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/open_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/prompt.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/prompt.ts index 97113a6f..6c1b0724 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/prompt.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/prompt.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/punish.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/punish.ts index 9783d7c9..b544cb3e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/punish.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/punish.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/voice.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/voice.ts index c5f214c3..d3401277 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/voice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/voice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/workspace.ts b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/workspace.ts index f6036412..c6041d79 100644 --- a/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/workspace.ts +++ b/frontend/packages/arch/idl/src/auto-generated/flow_bot_operation/namespaces/workspace.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/index.ts index 707dbe5f..131983f9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/agent.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/agent.ts index 904e48d3..e7b5e716 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/agent.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/aidpcallback.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/aidpcallback.ts index 6cde81a0..91bebe63 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/aidpcallback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/aidpcallback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/app.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/app.ts index b24c606b..03bfb542 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/app.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/auth.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/auth.ts index 998f526c..ba451990 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/auth.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/automation.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/automation.ts index efb24f71..bb45056f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/automation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/automation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/dp.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/dp.ts index 069de712..7fd4ac2b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/dp.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/dp.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_callback_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_callback_common.ts index 5d32ee12..98d24ad8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_callback_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_callback_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_dataset.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_dataset.ts index b5d3f83e..f4971712 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_entity.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_entity.ts index 3b3ca8fd..071593b1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_evaluator.ts index 01355a85..c17ebc78 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_evaluator_callback.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_evaluator_callback.ts index 205dc23c..6d1134ca 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_evaluator_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_evaluator_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_manual_annotation.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_manual_annotation.ts index cba56477..318468c4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_manual_annotation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_manual_annotation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_object.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_object.ts index 77fa110b..7f58b035 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_object.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_object.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_object_callback.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_object_callback.ts index ca5e715c..e2860fdf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_object_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_object_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_task.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_task.ts index 85199adf..da199ec1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_evaluation_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_agentservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_agentservice.ts index ff62b6a1..25ffa344 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_agentservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_agentservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_appservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_appservice.ts index 5af8143b..af618cc6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_appservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_appservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_authservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_authservice.ts index c7e00a05..cc986572 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_authservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_authservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_automationservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_automationservice.ts index db5a9b6b..17599694 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_automationservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_automationservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_dpservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_dpservice.ts index 540b976c..708869f7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_dpservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_dpservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_graphservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_graphservice.ts index 079c37da..51ba0e0a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_graphservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_graphservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_ide.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_ide.ts index 7207663d..f3709391 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_ide.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_ide.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_infra.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_infra.ts index 2768cb70..88114707 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_infra.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_infra.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_modelevalservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_modelevalservice.ts index 166b35ec..f5821777 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_modelevalservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_modelevalservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_modelservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_modelservice.ts index 64ef2f3c..66d74aee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_modelservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_modelservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_openapi_graphservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_openapi_graphservice.ts index 1507b080..bc3a3947 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_openapi_graphservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_openapi_graphservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_resourceservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_resourceservice.ts index 4566dfdf..b698fdd8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_resourceservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_resourceservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_spaceservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_spaceservice.ts index c2a18f39..f9c96385 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_spaceservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_spaceservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_tag.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_tag.ts index feeea199..1c9f34f7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_tag.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_tag.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_userservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_userservice.ts index 5671748b..4fbcfe43 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_userservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornax_userservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornaxob_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornaxob_common.ts index 288d4a8c..f9360a34 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornaxob_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornaxob_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornaxob_fieldfilter.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornaxob_fieldfilter.ts index 5ef887e6..0fef3cee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornaxob_fieldfilter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_fornaxob_fieldfilter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_prompt_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_prompt_common.ts index e4d7387f..fd511669 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_prompt_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/flow_devops_prompt_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/graph.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/graph.ts index b92c362a..dd5a4bba 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/graph.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/graph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/ide.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/ide.ts index 10963664..42f850e6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/ide.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/ide.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/model.ts index daa6ed44..1700125c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/modeleval.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/modeleval.ts index a934f453..f958c9ad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/modeleval.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/modeleval.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/openapi_graph.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/openapi_graph.ts index 79cc81fd..6df71136 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/openapi_graph.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/openapi_graph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/resource.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/resource.ts index c3ec11ef..47725335 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/space.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/space.ts index dbcbc65f..a3237679 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/space.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/space.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/user.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/user.ts index 50ccf573..ec01aeb8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/user.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api/namespaces/user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/index.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/index.ts index 394e58b6..d6b9799d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/agent.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/agent.ts index 904e48d3..e7b5e716 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/agent.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/aidpcallback.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/aidpcallback.ts index 6cde81a0..91bebe63 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/aidpcallback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/aidpcallback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/app.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/app.ts index b24c606b..03bfb542 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/app.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/auth.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/auth.ts index 998f526c..ba451990 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/auth.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/automation.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/automation.ts index efb24f71..bb45056f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/automation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/automation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/dp.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/dp.ts index 069de712..7fd4ac2b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/dp.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/dp.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_callback_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_callback_common.ts index 5d32ee12..98d24ad8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_callback_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_callback_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_dataset.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_dataset.ts index b5d3f83e..f4971712 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_entity.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_entity.ts index 3b3ca8fd..071593b1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_evaluator.ts index 01355a85..c17ebc78 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_evaluator_callback.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_evaluator_callback.ts index 205dc23c..6d1134ca 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_evaluator_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_evaluator_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_manual_annotation.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_manual_annotation.ts index cba56477..318468c4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_manual_annotation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_manual_annotation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_object.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_object.ts index 77fa110b..7f58b035 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_object.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_object.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_object_callback.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_object_callback.ts index ca5e715c..e2860fdf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_object_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_object_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_task.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_task.ts index 85199adf..da199ec1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_evaluation_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_agentservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_agentservice.ts index ff62b6a1..25ffa344 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_agentservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_agentservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_appservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_appservice.ts index 5af8143b..af618cc6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_appservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_appservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_authservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_authservice.ts index c7e00a05..cc986572 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_authservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_authservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_automationservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_automationservice.ts index db5a9b6b..17599694 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_automationservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_automationservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_dpservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_dpservice.ts index 540b976c..708869f7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_dpservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_dpservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_graphservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_graphservice.ts index 079c37da..51ba0e0a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_graphservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_graphservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_ide.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_ide.ts index 7207663d..f3709391 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_ide.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_ide.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_infra.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_infra.ts index 2768cb70..88114707 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_infra.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_infra.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_modelevalservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_modelevalservice.ts index 6041a470..9cbdc16c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_modelevalservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_modelevalservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_modelservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_modelservice.ts index 64ef2f3c..66d74aee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_modelservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_modelservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_openapi_graphservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_openapi_graphservice.ts index 1507b080..bc3a3947 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_openapi_graphservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_openapi_graphservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_resourceservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_resourceservice.ts index 4566dfdf..b698fdd8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_resourceservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_resourceservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_spaceservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_spaceservice.ts index c2a18f39..f9c96385 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_spaceservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_spaceservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_tag.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_tag.ts index feeea199..1c9f34f7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_tag.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_tag.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_userservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_userservice.ts index 5671748b..4fbcfe43 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_userservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornax_userservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornaxob_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornaxob_common.ts index 288d4a8c..f9360a34 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornaxob_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornaxob_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornaxob_fieldfilter.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornaxob_fieldfilter.ts index 5ef887e6..0fef3cee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornaxob_fieldfilter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_fornaxob_fieldfilter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_prompt_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_prompt_common.ts index e4d7387f..fd511669 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_prompt_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/flow_devops_prompt_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/graph.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/graph.ts index b92c362a..dd5a4bba 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/graph.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/graph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/ide.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/ide.ts index 10963664..42f850e6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/ide.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/ide.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/model.ts index 35d6eced..81bd023f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/modeleval.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/modeleval.ts index 6a135c9a..eb06be47 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/modeleval.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/modeleval.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/openapi_graph.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/openapi_graph.ts index 79cc81fd..6df71136 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/openapi_graph.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/openapi_graph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/resource.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/resource.ts index c3ec11ef..47725335 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/space.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/space.ts index cbb9507b..333993da 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/space.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/space.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/user.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/user.ts index 50ccf573..ec01aeb8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/user.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_api2/namespaces/user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/index.ts index 95b60b59..e3f9c172 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app.ts index 29597330..522e0680 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app_canvas.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app_canvas.ts index 62f0b0d6..20677201 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app_canvas.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app_canvas.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app_debug.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app_debug.ts index d5f73ab9..29186856 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app_debug.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_eino_api/namespaces/flow_devops_eino_app_debug.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/index.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/index.ts index ce0b35c1..818fac0a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/base.ts index 6fc50ebc..3a3476d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_common.ts index 5fe1c133..a6a04e55 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_platform.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_platform.ts index 60ef9f76..a8adfe90 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_platform.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_platform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_retrive.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_retrive.ts index b207022e..8a0a0762 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_retrive.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_retrive.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_runtime.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_runtime.ts index 47b8d5e3..b0e740ad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_runtime.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_knowledge/namespaces/flow_devops_knowledge_runtime.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/index.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/index.ts index acbff23c..ef6f66d8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/ai_annotate.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/ai_annotate.ts index 65853a09..e58f1e47 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/ai_annotate.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/ai_annotate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/aidpcallback.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/aidpcallback.ts index 6cde81a0..91bebe63 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/aidpcallback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/aidpcallback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/annotation_job.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/annotation_job.ts index fd9ed8e0..035f333a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/annotation_job.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/annotation_job.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/batch_infer.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/batch_infer.ts index d0a83731..7bfa948b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/batch_infer.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/batch_infer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/dataprocess.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/dataprocess.ts index 0bbd715d..394992fe 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/dataprocess.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/dataprocess.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/dataset.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/dataset.ts index 9b3820f4..0e3a52ad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2.ts index 68591a1d..c627c51c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2job.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2job.ts index f4499768..7396295b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2job.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2job.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2lineage.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2lineage.ts index 575d27af..4e366cd5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2lineage.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2lineage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2similarity.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2similarity.ts index b80d4970..b8226871 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2similarity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/datasetv2similarity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/filter.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/filter.ts index 083bd15b..2a26ab5c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/filter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/filter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.ts index 5d32ee12..98d24ad8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/flow_devops_prompt_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/flow_devops_prompt_common.ts index d954cbea..69d29bad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/flow_devops_prompt_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/flow_devops_prompt_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/fornax_domain_model.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/fornax_domain_model.ts index d50f844c..8b495214 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/fornax_domain_model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/fornax_domain_model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/ml_flow_domain_model.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/ml_flow_domain_model.ts index 9e66f87c..59d81943 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/ml_flow_domain_model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/ml_flow_domain_model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/model.ts index 60c4f8f9..12d6b0b4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/openapi.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/openapi.ts index 3b864e1f..90eb7507 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.ts index 262ff83b..929a2d04 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.ts index 86e7f5f8..61ebf6d7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.ts index fabaf26e..d9a93578 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.ts index d4171c02..ad7c2a75 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.ts index c99226cd..11dbe91e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.ts index 6e15f48f..fd67750c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.ts index b2c34165..c12fde1b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.ts index 0fcc6018..143b9160 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.ts index 874096f8..f9ab5916 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.ts index e78743d5..339605e4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.ts index 3c845949..37f4e0ea 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.ts index 6fea679e..d5f91e1c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/tag.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/tag.ts index d20323ed..12dcb789 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/tag.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ml_flow/namespaces/tag.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/index.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/index.ts index 777f3609..33c5f596 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/base.ts index 6fc50ebc..3a3476d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_custom_component.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_custom_component.ts index 35e86e33..569cefc1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_custom_component.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_custom_component.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_eino_plugin.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_eino_plugin.ts index 63a1a9f8..453be199 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_eino_plugin.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_eino_plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_entity.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_entity.ts index 1e0750d5..3c8528d3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_schema_frontend.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_schema_frontend.ts index 14279f43..d70e82ad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_schema_frontend.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_schema_frontend.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_schema_registry.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_schema_registry.ts index 280ca45f..4e9e5999 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_schema_registry.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_schema_registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_workflow.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_workflow.ts index 735fd47c..0a1a02b9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_workflow.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_nclc/namespaces/flow_devops_nclc_workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/index.ts index efd23a65..0e1d1fde 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/annotation.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/annotation.ts index d48d007c..6e6ac904 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/annotation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/annotation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/authz.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/authz.ts index ab1114d5..89db3345 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/authz.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/authz.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/datasetv2.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/datasetv2.ts index 6e7a9165..5436c547 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/datasetv2.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/datasetv2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/datasetv2similarity.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/datasetv2similarity.ts index b80d4970..b8226871 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/datasetv2similarity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/datasetv2similarity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/eval_set.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/eval_set.ts index f7a994cb..e5560a1d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/eval_set.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/eval_set.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/eval_target.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/eval_target.ts index 4d7ea4fe..ff15f076 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/eval_target.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/eval_target.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/evaluation_domain_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/evaluation_domain_common.ts index 60a4daba..391770a6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/evaluation_domain_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/evaluation_domain_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/evaluator.ts index 369dc06e..ec10c7f9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/filter.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/filter.ts index 513633b3..d446c6f3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/filter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/filter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_common.ts index e13e79c2..1e80e126 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_fieldfilter.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_fieldfilter.ts index 771dcec5..994501b8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_fieldfilter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_fieldfilter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_fieldfilterv2.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_fieldfilterv2.ts index 63816cec..e4214955 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_fieldfilterv2.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_fieldfilterv2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_indicatorservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_indicatorservice.ts index d209eab1..e86ca412 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_indicatorservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_indicatorservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_metricsservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_metricsservice.ts index 6b8e9c22..ebcea522 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_metricsservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_metricsservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_operationservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_operationservice.ts index b39aedce..7d1bc279 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_operationservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_operationservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_taskservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_taskservice.ts index 5a690b16..b01f53fa 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_taskservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_taskservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_threadservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_threadservice.ts index 7deca5e4..96ddecb7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_threadservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_threadservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_traceservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_traceservice.ts index 804d1a9d..4d0685b4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_traceservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_traceservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_viewservice.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_viewservice.ts index 37dcdc3a..f62a9777 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_viewservice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/flow_devops_fornaxob_viewservice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/fornaxob_domain_common.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/fornaxob_domain_common.ts index 71f2f573..03b32d71 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/fornaxob_domain_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/fornaxob_domain_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/metrics.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/metrics.ts index 595c3d6e..de5fcb14 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/metrics.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/metrics.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/operation.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/operation.ts index 06d0896e..6c32623a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/operation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/operation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/query.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/query.ts index e2a623e7..cee32fc5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/query.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/span.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/span.ts index 69442adf..da11203d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/span.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/span.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/stone_fornax_evaluation_expt.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/stone_fornax_evaluation_expt.ts index 40242fc1..835e2bda 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/stone_fornax_evaluation_expt.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/stone_fornax_evaluation_expt.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/tag.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/tag.ts index 1856b496..4ee7af46 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/tag.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/tag.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/task.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/task.ts index 5ca982d8..7ead5aef 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_ob_api/namespaces/task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/index.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/index.ts index 145b0e4e..f0b8c945 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/base.ts index 6fc50ebc..3a3476d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/definition.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/definition.ts index e2c1da52..aee73fd1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/definition.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/definition.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/flow_devops_plugin_ping.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/flow_devops_plugin_ping.ts index 262984a3..4eb1ba62 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/flow_devops_plugin_ping.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/flow_devops_plugin_ping.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/flow_devops_plugin_platform.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/flow_devops_plugin_platform.ts index 846fb7a8..6dede983 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/flow_devops_plugin_platform.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/flow_devops_plugin_platform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/release.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/release.ts index 60c88628..be00515b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/release.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/release.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/tool.ts b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/tool.ts index 36f557f7..6f679bec 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/tool.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fornax_plugin/namespaces/tool.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/index.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/index.ts index 4110bbdf..f1cffc22 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/auto_charge.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/auto_charge.ts index 0fd65410..defd1a9b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/auto_charge.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/auto_charge.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/bot_operation_common.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/bot_operation_common.ts index da0a45d4..5469391d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/bot_operation_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/bot_operation_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/common.ts index cd7bdae4..28e5f776 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/coze_token_task.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/coze_token_task.ts index b017b7db..381d1fd2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/coze_token_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/coze_token_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/dist_reward_task.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/dist_reward_task.ts index bbfae642..290ffd4c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/dist_reward_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/dist_reward_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/fulfill_common.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/fulfill_common.ts index 24b27464..a1c685c0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/fulfill_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/fulfill_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/fulfillment.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/fulfillment.ts index 5bf6580b..402123d8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/fulfillment.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/fulfillment.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/order.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/order.ts index 47d83eb9..535f981f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/order.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/order.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/service.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/service.ts index 1717d6e5..59057c87 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/service.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill/namespaces/service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/index.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/index.ts index e574f0f3..8f000c35 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/auto_charge.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/auto_charge.ts index 0fd65410..defd1a9b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/auto_charge.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/auto_charge.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/bot_operation_common.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/bot_operation_common.ts index da0a45d4..5469391d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/bot_operation_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/bot_operation_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/common.ts index cd7bdae4..28e5f776 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/coze_token_task.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/coze_token_task.ts index b017b7db..381d1fd2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/coze_token_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/coze_token_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/dist_reward_task.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/dist_reward_task.ts index bbfae642..290ffd4c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/dist_reward_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/dist_reward_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/fulfill_common.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/fulfill_common.ts index 24b27464..a1c685c0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/fulfill_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/fulfill_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/fulfillment.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/fulfillment.ts index 5bf6580b..402123d8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/fulfillment.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/fulfillment.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/order.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/order.ts index 47d83eb9..535f981f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/order.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/order.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/service.ts b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/service.ts index 1717d6e5..59057c87 100644 --- a/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/service.ts +++ b/frontend/packages/arch/idl/src/auto-generated/fulfill_operation/namespaces/service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/hub_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/hub_api/index.ts index 3bb077f3..3c2653b2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/hub_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/hub_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/incentive/index.ts b/frontend/packages/arch/idl/src/auto-generated/incentive/index.ts index 86e60296..17d7332a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/incentive/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/incentive/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/api.ts b/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/api.ts index f087b37e..b4293d9a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/common.ts index 0f719004..8001823b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/rpc.ts b/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/rpc.ts index fbdb667f..91f2c2ec 100644 --- a/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/rpc.ts +++ b/frontend/packages/arch/idl/src/auto-generated/incentive/namespaces/rpc.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/incentive_operation/index.ts b/frontend/packages/arch/idl/src/auto-generated/incentive_operation/index.ts index 5f151da4..61376a88 100644 --- a/frontend/packages/arch/idl/src/auto-generated/incentive_operation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/incentive_operation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/api.ts b/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/api.ts index f087b37e..b4293d9a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/common.ts index 0f719004..8001823b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/rpc.ts b/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/rpc.ts index fbdb667f..91f2c2ec 100644 --- a/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/rpc.ts +++ b/frontend/packages/arch/idl/src/auto-generated/incentive_operation/namespaces/rpc.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/index.ts index 804b0ca6..b4989dbb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/bot.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/bot.ts index 16470987..9c5196ad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/bot.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/bot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/bot_common.ts index 578e8615..b5d33699 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/common_struct.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/common_struct.ts index 6a36bfb9..c7999f9f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/common_struct.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/common_struct.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_audit.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_audit.ts index 875a34f7..a155a755 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_audit.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_audit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_common.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_common.ts index 9d4054a2..6482f27d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_common_value_object.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_common_value_object.ts index b04667f1..62254f50 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_common_value_object.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_common_value_object.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_connector.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_connector.ts index 3a9239d9..41231b54 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_connector.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_connector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_draft_bot.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_draft_bot.ts index 30a2ce87..55f4656a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_draft_bot.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_draft_bot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_library.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_library.ts index 9ceae52b..0e7a188d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_library.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_library.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_model.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_model.ts index c767bfd8..7e82a852 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_model_tuning_task.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_model_tuning_task.ts index b009929c..471fb841 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_model_tuning_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_model_tuning_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_ocean_project.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_ocean_project.ts index a394469d..6fd44d7e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_ocean_project.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_ocean_project.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_project_version.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_project_version.ts index 78bad7b1..f065c4b7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_project_version.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_project_version.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_publish_record.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_publish_record.ts index 786529af..10fabda2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_publish_record.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_publish_record.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_space.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_space.ts index 71684f8c..06761ebd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_space.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_space.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_tpm_expansion_record.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_tpm_expansion_record.ts index 0b14b30c..ee5c996b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_tpm_expansion_record.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_tpm_expansion_record.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_tpm_volca_operate_record.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_tpm_volca_operate_record.ts index bb423b5e..c7eeab5e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_tpm_volca_operate_record.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_tpm_volca_operate_record.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_user.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_user.ts index 810af045..f7db88a6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_user.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_user_complete_profile_record.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_user_complete_profile_record.ts index aeac216d..bd010ed6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_user_complete_profile_record.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/domain_user_complete_profile_record.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/folder.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/folder.ts index e5ae4675..ae32adad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/folder.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/folder.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/intelligence_common_struct.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/intelligence_common_struct.ts index d07513c0..5a606277 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/intelligence_common_struct.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/intelligence_common_struct.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/method_struct.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/method_struct.ts index 73805df5..ad8eb8a4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/method_struct.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/method_struct.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/model.ts index 08044e82..4b64fc6f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/mq_struct.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/mq_struct.ts index 414368a1..b3bfef20 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/mq_struct.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/mq_struct.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/ocean_project.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/ocean_project.ts index 65909ee6..d0b1c008 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/ocean_project.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/ocean_project.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/ocean_project_common_struct.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/ocean_project_common_struct.ts index 41c261c2..f315d9c1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/ocean_project_common_struct.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/ocean_project_common_struct.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/open_api.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/open_api.ts index 3a12d845..80de8bbf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/open_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/open_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/project.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/project.ts index 93768db9..73e5025c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/project.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/project.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/publish.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/publish.ts index 32ea2dd2..c94988c6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/publish.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/publish.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/search.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/search.ts index 7085ecb8..fdf4d073 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/search.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/search.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task.ts index a13a546a..8bd7119d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task_common.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task_common.ts index dce711bc..810f73e6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task_struct.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task_struct.ts index 5b0c57c0..29d12deb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task_struct.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/task_struct.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/user_profile.ts b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/user_profile.ts index 7032f8a6..221c6e6a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/user_profile.ts +++ b/frontend/packages/arch/idl/src/auto-generated/intelligence_api/namespaces/user_profile.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/index.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/index.ts index c83e5b8e..d57b85c4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/admin_api.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/admin_api.ts index 078ce5cd..70d36fb4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/admin_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/admin_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/counter.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/counter.ts index ce37531a..69f5942f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/counter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/counter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/flow_marketplace_interaction_common.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/flow_marketplace_interaction_common.ts index 5869d207..6ea1b57d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/flow_marketplace_interaction_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/flow_marketplace_interaction_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/flow_platform_audit_common.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/flow_platform_audit_common.ts index 605dfe63..9ef6a397 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/flow_platform_audit_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/flow_platform_audit_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/marketplace_common.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/marketplace_common.ts index 81591db3..2db9ae37 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/marketplace_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/marketplace_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/public_api.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/public_api.ts index 8d70a8d2..904d8c98 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/public_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/public_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/rpc.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/rpc.ts index ae6536b8..31e0c7e7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/rpc.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/rpc.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/share.ts b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/share.ts index a137de31..4960278b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/share.ts +++ b/frontend/packages/arch/idl/src/auto-generated/interaction_operation/namespaces/share.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/index.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/index.ts index dc3e84c4..9b2fc0e1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/common.ts index 7a1e635c..00131102 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/connector.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/connector.ts index 93248c42..6d82755a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/connector.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/connector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/connector_common.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/connector_common.ts index efabef3f..7fa50b9d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/connector_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/connector_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/dataset.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/dataset.ts index e558db4f..beec5816 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/document.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/document.ts index 4b0407b7..0b6fa382 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/document.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/document.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/openapi.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/openapi.ts index bdaab4aa..6394a05d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/opensearch.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/opensearch.ts index b5e8ec46..23e9068e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/opensearch.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/opensearch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/resource_common.ts index cfef9e89..0df249be 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/review.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/review.ts index a1055637..23860533 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/review.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/review.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/slice.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/slice.ts index e4b63831..cc153a42 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/slice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/url.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/url.ts index 646fabf3..0e4fa199 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/url.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/url.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/volcano_dataset.ts b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/volcano_dataset.ts index e0160b6a..15564d2f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/volcano_dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/knowledge/namespaces/volcano_dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/magic_english/index.ts b/frontend/packages/arch/idl/src/auto-generated/magic_english/index.ts index d1a5b586..918b68ec 100644 --- a/frontend/packages/arch/idl/src/auto-generated/magic_english/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/magic_english/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/base.ts index 6fc50ebc..3a3476d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/common.ts index 836931d8..e010c26f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/entity.ts b/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/entity.ts index 8bdabf8e..065f0d2c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/magic_english/namespaces/entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/index.ts index 415569e9..73042311 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/admin_api.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/admin_api.ts index a2177838..74e073f4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/admin_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/admin_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/counter.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/counter.ts index b3f92f4c..22233237 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/counter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/counter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/flow_marketplace_interaction_common.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/flow_marketplace_interaction_common.ts index 5298b10f..85e1a388 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/flow_marketplace_interaction_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/flow_marketplace_interaction_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/flow_platform_audit_common.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/flow_platform_audit_common.ts index 47dda9f7..9261bd23 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/flow_platform_audit_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/flow_platform_audit_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/marketplace_common.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/marketplace_common.ts index 0a634311..8518affd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/marketplace_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/marketplace_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/public_api.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/public_api.ts index eeb358ed..bcba5111 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/public_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/public_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/rpc.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/rpc.ts index a9f67794..602408e0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/rpc.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/rpc.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/share.ts b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/share.ts index e2cfbb28..dcdb41bd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/share.ts +++ b/frontend/packages/arch/idl/src/auto-generated/market_interaction_api/namespaces/share.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/index.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/index.ts index 6be8f887..29c05ac5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/admin_api.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/admin_api.ts index 45f15e9f..bb162437 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/admin_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/admin_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/attr.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/attr.ts index a94a85d1..c9e228f5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/attr.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/attr.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/common.ts index 00cd9426..cbc45134 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/marketplace_common.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/marketplace_common.ts index c7d388d3..aa4aa3ee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/marketplace_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/marketplace_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/open_api.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/open_api.ts index 127a36b2..808d2fa6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/open_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/open_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product.ts index d77b1e52..0f53f4e7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product_audit_callback.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product_audit_callback.ts index 77ac0f64..a50cd572 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product_audit_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product_audit_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product_common.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product_common.ts index 78edae1c..2a62d2b0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/product_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/public_api.ts b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/public_api.ts index 6c081ede..4bcbc497 100644 --- a/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/public_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/marketplace_operation/namespaces/public_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/index.ts b/frontend/packages/arch/idl/src/auto-generated/memory/index.ts index c8db0670..9fedf1c2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/bot_common.ts index bb3d866b..5711930b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/common.ts index 6a264ed8..fdc70270 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/connector.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/connector.ts index 3126802b..832c8863 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/connector.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/connector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/connector_common.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/connector_common.ts index efabef3f..7fa50b9d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/connector_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/connector_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/copilot_common.ts index 007231ab..4915aafc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/data_connector.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/data_connector.ts index 8594847e..bc9a50cd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/data_connector.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/data_connector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/data_connector_common.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/data_connector_common.ts index ca062390..502c27a1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/data_connector_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/data_connector_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/dataset.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/dataset.ts index bfeb839e..c5b31445 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/document.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/document.ts index f3f7f7bb..21dd3d3b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/document.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/document.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/kvmemory.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/kvmemory.ts index df3c2f4c..35e4741e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/kvmemory.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/kvmemory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/long_term_memory.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/long_term_memory.ts index f39ee599..d854bc12 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/long_term_memory.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/long_term_memory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/memory.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/memory.ts index 573c55b1..730a3cf6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/memory.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/memory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/project_memory.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/project_memory.ts index 0aeacedc..87c08eb6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/project_memory.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/project_memory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/resource_common.ts index 33ab5d7f..b1c4d61c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/retriever.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/retriever.ts index be591e9d..1491d990 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/retriever.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/retriever.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/slice.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/slice.ts index 43854cb4..1aff645f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/slice.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/table.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/table.ts index 5955ca81..a67346e5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/table.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/team_space.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/team_space.ts index 0baa7808..eebddb0c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/team_space.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/team_space.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/volcano_database.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/volcano_database.ts index 91ccec1e..1a33daca 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/volcano_database.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/volcano_database.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/web_crawl.ts b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/web_crawl.ts index bc8e972d..10f77b3a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/web_crawl.ts +++ b/frontend/packages/arch/idl/src/auto-generated/memory/namespaces/web_crawl.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/index.ts index a844ef7a..3ad50c1e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/api.ts b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/api.ts index 1f788f16..2d242077 100644 --- a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/bidirectional.ts b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/bidirectional.ts index 3a819083..403804ac 100644 --- a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/bidirectional.ts +++ b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/bidirectional.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/common.ts index d3a87fcb..e02c231a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/rpc.ts b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/rpc.ts index 6612cf85..9849d544 100644 --- a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/rpc.ts +++ b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/rpc.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/voice_api.ts b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/voice_api.ts index 6d682fdd..462e74b8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/voice_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/voice_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/voiceprint_api.ts b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/voiceprint_api.ts index ebdaa64c..06e471f5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/voiceprint_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/multimedia_api/namespaces/voiceprint_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/nclc_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/nclc_api/index.ts index e47458ee..75d80d0e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/nclc_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/nclc_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/base.ts index 6fc50ebc..3a3476d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_custom_component.ts b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_custom_component.ts index 35e86e33..569cefc1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_custom_component.ts +++ b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_custom_component.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_eino_plugin.ts b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_eino_plugin.ts index 63a1a9f8..453be199 100644 --- a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_eino_plugin.ts +++ b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_eino_plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_entity.ts b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_entity.ts index 1e0750d5..3c8528d3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_entity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_schema_frontend.ts b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_schema_frontend.ts index 14279f43..d70e82ad 100644 --- a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_schema_frontend.ts +++ b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_schema_frontend.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_schema_registry.ts b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_schema_registry.ts index 280ca45f..4e9e5999 100644 --- a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_schema_registry.ts +++ b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_schema_registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_workflow.ts b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_workflow.ts index 735fd47c..0a1a02b9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_workflow.ts +++ b/frontend/packages/arch/idl/src/auto-generated/nclc_api/namespaces/flow_devops_nclc_workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notice/index.ts b/frontend/packages/arch/idl/src/auto-generated/notice/index.ts index 764f9d53..eeabc7c4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notice/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notice/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/common.ts index af62351d..6b007ad7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/file.ts b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/file.ts index 8726ab8e..b895071d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/file.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/open.ts b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/open.ts index 735052ed..e2b39275 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/open.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/open.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/task.ts b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/task.ts index 956ace10..1b033d6a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/template.ts b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/template.ts index 400d8bf0..9ff2b8ed 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/template.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notice/namespaces/template.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notify_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/notify_api/index.ts index 124ec113..5f171e05 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notify_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notify_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notify_api/namespaces/api.ts b/frontend/packages/arch/idl/src/auto-generated/notify_api/namespaces/api.ts index c1f0d263..dd1b55ed 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notify_api/namespaces/api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notify_api/namespaces/api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/notify_api/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/notify_api/namespaces/common.ts index 336f6aab..afd367d3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/notify_api/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/notify_api/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/index.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/index.ts index 9ec6edd7..5fab22d1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/agw_common.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/agw_common.ts index 7cd4a85d..9f583c7e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/agw_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/agw_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/agw_common_param.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/agw_common_param.ts index f0533596..3a1e49fa 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/agw_common_param.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/agw_common_param.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/base.ts index 7f336ae1..2e5995af 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/common.ts index 0429338b..a1c2920c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/field_filter.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/field_filter.ts index 6db0f0e3..9f57ccfd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/field_filter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/field_filter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_data.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_data.ts index 9dd9d1ab..ebaf1902 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_data.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_query.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_query.ts index 5730ae19..9d2f8a1c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_query.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_span.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_span.ts index d4192887..fe10e182 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_span.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_span.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_trace.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_trace.ts index b3f81e29..4603047c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_trace.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/ob_trace.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/observe_query.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/observe_query.ts index 65cf202b..f47564fe 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/observe_query.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/observe_query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/observe_trace.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/observe_trace.ts index e0e3ddad..5a13ebd9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/observe_trace.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/observe_trace.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/performance.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/performance.ts index d76a3e18..e62c387e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/performance.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/performance.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/queries.ts b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/queries.ts index b4be5adc..e5d9e8be 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/queries.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_data/namespaces/queries.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/index.ts index c34cc489..ec5d2e32 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_insight_indicators.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_insight_indicators.ts index c5d50e7c..8531051e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_insight_indicators.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_insight_indicators.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_metrics.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_metrics.ts index d76a3e18..e62c387e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_metrics.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_metrics.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_query.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_query.ts index 5730ae19..9d2f8a1c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_query.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry.ts index ea37deae..bc3e4bd3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_common.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_common.ts index 119d99b8..fb3fba70 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_field_filter.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_field_filter.ts index c145fe0d..a43e96a4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_field_filter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_field_filter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_span.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_span.ts index 86f2838b..eb575ad0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_span.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/flow_devops_ob_query_telemetry_span.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/ob_query.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/ob_query.ts index 7ced34a6..91afc198 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/ob_query.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/ob_query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/ob_query_trace.ts b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/ob_query_trace.ts index 30b79e62..514ab746 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/ob_query_trace.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ob_query_api/namespaces/ob_query_trace.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/pat_permission_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/pat_permission_api/index.ts index 19391967..09fc39ef 100644 --- a/frontend/packages/arch/idl/src/auto-generated/pat_permission_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/pat_permission_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/pat_permission_api/namespaces/openapi.ts b/frontend/packages/arch/idl/src/auto-generated/pat_permission_api/namespaces/openapi.ts index 34330e9f..eba61d63 100644 --- a/frontend/packages/arch/idl/src/auto-generated/pat_permission_api/namespaces/openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/pat_permission_api/namespaces/openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/permission_authz/index.ts b/frontend/packages/arch/idl/src/auto-generated/permission_authz/index.ts index b9564d2b..df478165 100644 --- a/frontend/packages/arch/idl/src/auto-generated/permission_authz/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/permission_authz/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/permission.ts b/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/permission.ts index 0493650f..6bc025ce 100644 --- a/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/permission.ts +++ b/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/principal.ts b/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/principal.ts index 3b64e09d..eff34dcf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/principal.ts +++ b/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/principal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/resource.ts b/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/resource.ts index 1b96f40f..61784fa0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/role.ts b/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/role.ts index 96209d86..6299c54c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/role.ts +++ b/frontend/packages/arch/idl/src/auto-generated/permission_authz/namespaces/role.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/permission_oauth2/index.ts b/frontend/packages/arch/idl/src/auto-generated/permission_oauth2/index.ts index ffa0f4c9..dc00338f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/permission_oauth2/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/permission_oauth2/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/permission_oauth2/namespaces/openapi.ts b/frontend/packages/arch/idl/src/auto-generated/permission_oauth2/namespaces/openapi.ts index 367690d9..46477833 100644 --- a/frontend/packages/arch/idl/src/auto-generated/permission_oauth2/namespaces/openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/permission_oauth2/namespaces/openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/index.ts index dfc55f46..c131cb32 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/base.ts index 9dc2c781..33bb4bbe 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_common.ts index 283d4677..880933d3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_open_api.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_open_api.ts index 13d0bc31..70e49480 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_open_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_open_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_task_common.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_task_common.ts index f710e9d7..0038511c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_task_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/bot_task_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ @@ -159,7 +159,7 @@ export interface PresetWebhookTriggerData { } /** bot 新增自动化 - */ + */ export interface TaskInfo { id: Int64; id_str: string; diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/douyin_fenshen.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/douyin_fenshen.ts index 92f5605d..eb1ba239 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/douyin_fenshen.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/douyin_fenshen.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/frontier.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/frontier.ts index 22b10b6b..bdb03d99 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/frontier.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/frontier.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/long_term_memory.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/long_term_memory.ts index a54e794b..1997c2d4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/long_term_memory.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/long_term_memory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/op.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/op.ts index d8a99fe9..558ef66d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/op.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/op.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/open_api_playground.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/open_api_playground.ts index 7147f68b..8d7442c1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/open_api_playground.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/open_api_playground.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/playground.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/playground.ts index fb8988d2..9c68e527 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/playground.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/playground.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/prompt_resource.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/prompt_resource.ts index d2eb11a3..972c1eb2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/prompt_resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/prompt_resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/punish_center.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/punish_center.ts index b98b679a..9fac9767 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/punish_center.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/punish_center.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/resource.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/resource.ts index 243063b0..dba448f8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/resource_common.ts index a419000a..fb3a190a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/shortcut_command.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/shortcut_command.ts index 1530c823..28e112fd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/shortcut_command.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/shortcut_command.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/task_common.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/task_common.ts index 732d4e6e..ef2380e4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/task_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/task_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/user_delete_base.ts b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/user_delete_base.ts index 75360e96..d6b7dbd8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/user_delete_base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/playground_api/namespaces/user_delete_base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/index.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/index.ts index 079385e6..b6f758da 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/bot_common.ts index eac22cb1..2f169740 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/card.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/card.ts index 3d7d24c5..c7b23fac 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/card.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/card.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/card_resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/card_resource_common.ts index 3d1b57e3..d4a4fb44 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/card_resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/card_resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/copilot_common.ts index d9792efe..96d0ccdc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/permission.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/permission.ts index f0eb99eb..ffd383e2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/permission.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_develop.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_develop.ts index dad79878..6be628e4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_develop.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_develop.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_develop_common.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_develop_common.ts index 75d5e630..c670c31f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_develop_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_develop_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_openapi.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_openapi.ts index 24c7c54c..09bea1d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/plugin_openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/resource.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/resource.ts index 218ccb27..8d046d24 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/resource_resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/resource_resource_common.ts index 8021180c..7b52abec 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/resource_resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/resource_resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/retriever.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/retriever.ts index 261fb2cb..40d0017e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/retriever.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/retriever.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/shortcut_command.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/shortcut_command.ts index 2db37294..00c55033 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/shortcut_command.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/shortcut_command.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/task_common.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/task_common.ts index eebcdf36..68879481 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/task_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_develop/namespaces/task_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/index.ts index e536ed82..98868ec1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/bill.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/bill.ts index afcd80fa..c16a5ee2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/bill.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/bill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/chunking.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/chunking.ts index e9025549..30a1edb0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/chunking.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/chunking.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/dataset.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/dataset.ts index b0e09742..02f9cdc7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/dataset.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/encyclopedia.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/encyclopedia.ts index 42e1c312..81587013 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/encyclopedia.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/encyclopedia.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/file_code.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/file_code.ts index e9b3ed85..77d1622f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/file_code.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/file_code.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/kvmemory.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/kvmemory.ts index 80fa3298..9899c437 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/kvmemory.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/kvmemory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/life.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/life.ts index f008aaa4..84407aea 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/life.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/life.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/musiclm.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/musiclm.ts index 644eb4eb..b78725b2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/musiclm.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/musiclm.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/news.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/news.ts index 3a90224d..190f7105 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/news.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/news.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/table.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/table.ts index 1213df3a..306e96f0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/table.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/task.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/task.ts index 522540e9..7496a8b7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/toutiao.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/toutiao.ts index 8436cf63..62e4c147 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/toutiao.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/toutiao.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/twitter.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/twitter.ts index 472bb05e..d25b553e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/twitter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/twitter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai.ts index b9e2d797..041eddc4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_ExchangeTokenResponse.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_ExchangeTokenResponse.ts index 622ff06f..c00b9342 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_ExchangeTokenResponse.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_ExchangeTokenResponse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_FoodListResponse.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_FoodListResponse.ts index 6a3be53b..6353540f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_FoodListResponse.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_FoodListResponse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_ShopcartOperationResponse.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_ShopcartOperationResponse.ts index ed9653f2..75d70124 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_ShopcartOperationResponse.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_impl_api/namespaces/waimai_ShopcartOperationResponse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/index.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/index.ts index 6a310585..53741d48 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/admin_api.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/admin_api.ts index 7c537833..d7e1ced0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/admin_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/admin_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/auth_api.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/auth_api.ts index 2ddfa0ae..c0725c0b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/auth_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/auth_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/base.ts index f5899758..6234d102 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/plugin_common.ts b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/plugin_common.ts index e6415b28..e6913e3a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/plugin_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/plugin_operation/namespaces/plugin_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/index.ts index 4f98695e..a3939c13 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/admin_api.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/admin_api.ts index 45f15e9f..bb162437 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/admin_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/admin_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/attr.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/attr.ts index a94a85d1..c9e228f5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/attr.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/attr.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/common.ts index 00cd9426..cbc45134 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/marketplace_common.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/marketplace_common.ts index c7d388d3..aa4aa3ee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/marketplace_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/marketplace_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/open_api.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/open_api.ts index 127a36b2..808d2fa6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/open_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/open_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product.ts index d77b1e52..0f53f4e7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product_audit_callback.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product_audit_callback.ts index 77ac0f64..a50cd572 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product_audit_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product_audit_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product_common.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product_common.ts index 78edae1c..2a62d2b0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/product_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/public_api.ts b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/public_api.ts index 8a59b1ff..a269a6f5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/public_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/product_api/namespaces/public_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/index.ts index f019c4f0..d36b1c25 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/ability_provider.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/ability_provider.ts index 40910fae..7740ab42 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/ability_provider.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/ability_provider.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/copilot.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/copilot.ts index 9dd32410..189732fc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/copilot.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/copilot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/copilot_common.ts index d9792efe..96d0ccdc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/model_manage.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/model_manage.ts index 085d2410..b1be08b3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/model_manage.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/model_manage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/ocean_cloud_admin_api.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/ocean_cloud_admin_api.ts index 000f1feb..1de37f5b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/ocean_cloud_admin_api.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_admin_api/namespaces/ocean_cloud_admin_api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ @@ -568,7 +568,7 @@ export interface HotModelShowFamily { } /** 使用api.http_code来注解http_code,使用http_message来注解返回的message - */ + */ export interface HttpRequestParams { Referer?: string; 'Ocean-Jwt-Token'?: string; diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/index.ts index f8409425..f848b58e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/base.ts index 6fc50ebc..3a3476d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_callback.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_callback.ts index d5eb97db..d651d42b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.ts index fb4eed2b..7da36e5d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_common.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_common.ts index 7d7a6056..2232fc74 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_debug.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_debug.ts index e6926f06..66b2a847 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_debug.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_debug.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_manage.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_manage.ts index 6d47b708..81ef8fd2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_manage.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_manage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_mcp.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_mcp.ts index 8f976ffe..8f497ce9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_mcp.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_mcp.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_optimize.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_optimize.ts index 44a0e005..8fc6bc9f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_optimize.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_optimize.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_paas.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_paas.ts index 0b0d56ef..b77b66d4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_paas.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_paas.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_platform.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_platform.ts index 6ea99c83..0eef8bd8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_platform.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/flow_devops_prompt_platform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/mcp.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/mcp.ts index bd40b0e3..8e0c985c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/mcp.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/mcp.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/model.ts index d50f844c..8b495214 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/permission.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/permission.ts index 95b528a6..b2998afc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/permission.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/release.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/release.ts index a9f09db1..0a67921f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/release.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api/namespaces/release.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/index.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/index.ts index 70959253..aaea2ae2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/base.ts index 6fc50ebc..3a3476d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_callback.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_callback.ts index d5eb97db..d651d42b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_callback.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.ts index fb4eed2b..7da36e5d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_common.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_common.ts index 7d7a6056..2232fc74 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_debug.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_debug.ts index e6926f06..66b2a847 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_debug.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_debug.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_manage.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_manage.ts index 6d47b708..81ef8fd2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_manage.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_manage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_mcp.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_mcp.ts index 8f976ffe..8f497ce9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_mcp.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_mcp.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_optimize.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_optimize.ts index 44a0e005..8fc6bc9f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_optimize.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_optimize.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_paas.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_paas.ts index 0b0d56ef..b77b66d4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_paas.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_paas.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_platform.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_platform.ts index 6ea99c83..0eef8bd8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_platform.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/flow_devops_prompt_platform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/mcp.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/mcp.ts index bd40b0e3..8e0c985c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/mcp.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/mcp.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/model.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/model.ts index d50f844c..8b495214 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/model.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/permission.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/permission.ts index 95b528a6..b2998afc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/permission.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/release.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/release.ts index a9f09db1..0a67921f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/release.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_api2/namespaces/release.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/index.ts index 55445ad5..da322a31 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/base.ts index aa0a9279..a4f606f6 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/bot_common.ts index 9d64a1bd..c9ebc4cb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/op.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/op.ts index 4b379619..0657bfa0 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/op.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/op.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/op_bots.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/op_bots.ts index d1973767..fc7b9abf 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/op_bots.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/op_bots.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/plugin_common.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/plugin_common.ts index d06aa72a..8444d1bc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/plugin_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_evaluate_api/namespaces/plugin_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/index.ts index 11ef4caa..08cef00b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/base.ts index 7f336ae1..2e5995af 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/copilot_common.ts index d9792efe..96d0ccdc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/record.ts b/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/record.ts index 888172dc..adb3158d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/record.ts +++ b/frontend/packages/arch/idl/src/auto-generated/prompt_record_api/namespaces/record.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/resource/index.ts b/frontend/packages/arch/idl/src/auto-generated/resource/index.ts index 43cc2bf9..4bf6f3c1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/resource/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/resource/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/resource.ts b/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/resource.ts index 999b9c36..6b766519 100644 --- a/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/resource_common.ts index 597db749..50478633 100644 --- a/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/task_common.ts b/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/task_common.ts index edcf0e2d..26caf0f1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/task_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/resource/namespaces/task_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/social_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/social_api/index.ts index 9ac449c1..3ab923cc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/social_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/social_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/bot_common.ts b/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/bot_common.ts index f23774be..3aae24b5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/bot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/bot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/society.ts b/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/society.ts index ee796cf6..03ccc2a9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/society.ts +++ b/frontend/packages/arch/idl/src/auto-generated/social_api/namespaces/society.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/index.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/index.ts index 1936815d..fa962a8e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/admin.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/admin.ts index 51f1f44d..0c34bf69 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/admin.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/admin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/contract.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/contract.ts index faee6d02..e90cdd49 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/contract.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/contract.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/domain_machine_task.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/domain_machine_task.ts index d4c82cd9..721aef7e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/domain_machine_task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/domain_machine_task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/exper_agent.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/exper_agent.ts index d3dd971d..02f63e81 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/exper_agent.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/exper_agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/external_agent.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/external_agent.ts index d7fbdbe2..b4cc48fa 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/external_agent.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/external_agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/invite.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/invite.ts index aaea2f12..50c7f9fc 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/invite.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/invite.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/landing_page.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/landing_page.ts index dad93b1a..c7f99444 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/landing_page.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/landing_page.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/market.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/market.ts index e4fb5d5a..d7422a9c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/market.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/market.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/mobile.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/mobile.ts index 36232fd2..84dc1e08 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/mobile.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/mobile.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/resource.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/resource.ts index 6cb27cc6..44ab9461 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/resource.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/task.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/task.ts index 7556240e..7414f191 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/task.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/user.ts b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/user.ts index 9edcb2d4..026e0078 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/user.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_coze_space/namespaces/user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/index.ts index dd8cbe24..3069694e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/annotation.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/annotation.ts index 27cdfc77..e6894c6e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/annotation.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/annotation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/authz.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/authz.ts index 5d1f0b05..672032fa 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/authz.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/authz.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/common.ts index c8759877..8b43f9a9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_openapi.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_openapi.ts index c451bed5..28c514f8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_openapi.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_openapi.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_saas.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_saas.ts index e52ba805..b6120cf7 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_saas.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_saas.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_trace.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_trace.ts index ed3ef613..81d5186a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_trace.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/coze_loop_observability_trace.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/filter.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/filter.ts index a2b3ebb6..c616a81b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/filter.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/filter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/span.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/span.ts index 4d4c541f..16a9866f 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/span.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/span.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/view.ts b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/view.ts index 32b23794..d40d8b42 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/view.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_cozeloop_observability_api/namespaces/view.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/index.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/index.ts index 9e81926f..5786a894 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/authz.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/authz.ts index 448c00bd..af518899 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/authz.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/authz.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/common.ts index c231dc9e..0a75b922 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/datasetv2.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/datasetv2.ts index 829c874e..04102e08 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/datasetv2.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/datasetv2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/datasetv2similarity.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/datasetv2similarity.ts index b80d4970..b8226871 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/datasetv2similarity.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/datasetv2similarity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/eval_set.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/eval_set.ts index 317d0aa2..8a0d50a1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/eval_set.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/eval_set.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/eval_target.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/eval_target.ts index fece3368..32add22e 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/eval_target.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/eval_target.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/evaluator.ts index 6792b029..63e24e02 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_eval_set.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_eval_set.ts index 5813fcdc..9bf4989c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_eval_set.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_eval_set.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_eval_target.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_eval_target.ts index 71940f3b..6d77cbe5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_eval_target.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_eval_target.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_evaluator.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_evaluator.ts index d377f3ac..541e56aa 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_evaluator.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_evaluator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_expt.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_expt.ts index c1471849..2d70d4a4 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_expt.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/stone_fornax_evaluation_expt.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/tag.ts b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/tag.ts index 1856b496..4ee7af46 100644 --- a/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/tag.ts +++ b/frontend/packages/arch/idl/src/auto-generated/stone_fornax_evaluation/namespaces/tag.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/index.ts b/frontend/packages/arch/idl/src/auto-generated/trade/index.ts index 73bce9d5..c39adfee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/account.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/account.ts index a13cba14..63d8e9d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/account.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/account.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/benefit.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/benefit.ts index e45c7625..f891de29 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/benefit.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/benefit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/benefit_conf.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/benefit_conf.ts index 0a30058b..8847e3db 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/benefit_conf.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/benefit_conf.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/bill.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/bill.ts index bfd315d4..29190137 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/bill.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/bill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/common.ts index b0137198..03880910 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/fulfill.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/fulfill.ts index 57ebec94..8d98f09b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/fulfill.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/fulfill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/marketplace_common.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/marketplace_common.ts index c7d388d3..aa4aa3ee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/marketplace_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/marketplace_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/order.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/order.ts index a07f8c2a..43c4973b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/order.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/order.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/pipo.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/pipo.ts index df9cdafc..12e00ba5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/pipo.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/pipo.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/price_rule.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/price_rule.ts index 2770f01a..ad7d78b3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/price_rule.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/price_rule.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/product.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/product.ts index 7b215379..f25aa2f5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/product.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/product.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/product_common.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/product_common.ts index 3b4de0d3..8b9ff518 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/product_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/product_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/security.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/security.ts index b12837a1..15b17f4d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/security.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/security.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/subscription.ts b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/subscription.ts index e442b227..87f76722 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/subscription.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade/namespaces/subscription.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/index.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/index.ts index 0310d034..82d63f67 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/account.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/account.ts index a13cba14..63d8e9d2 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/account.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/account.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/benefit.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/benefit.ts index e45c7625..f891de29 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/benefit.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/benefit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/benefit_conf.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/benefit_conf.ts index 0a30058b..8847e3db 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/benefit_conf.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/benefit_conf.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/bill.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/bill.ts index bfd315d4..29190137 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/bill.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/bill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/common.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/common.ts index b0137198..03880910 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/fulfill.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/fulfill.ts index 57ebec94..8d98f09b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/fulfill.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/fulfill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/marketplace_common.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/marketplace_common.ts index c7d388d3..aa4aa3ee 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/marketplace_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/marketplace_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/order.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/order.ts index a07f8c2a..43c4973b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/order.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/order.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/pipo.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/pipo.ts index df9cdafc..12e00ba5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/pipo.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/pipo.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/price_rule.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/price_rule.ts index 2770f01a..ad7d78b3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/price_rule.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/price_rule.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/product.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/product.ts index 7b215379..f25aa2f5 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/product.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/product.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/product_common.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/product_common.ts index 3b4de0d3..8b9ff518 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/product_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/product_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/security.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/security.ts index b12837a1..15b17f4d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/security.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/security.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/subscription.ts b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/subscription.ts index e442b227..87f76722 100644 --- a/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/subscription.ts +++ b/frontend/packages/arch/idl/src/auto-generated/trade_operation/namespaces/subscription.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/index.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/index.ts index 917e4aa4..49ba87ea 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/crawl.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/crawl.ts index 468ee795..d7a06882 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/crawl.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/crawl.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/custom_package.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/custom_package.ts index f942b2f9..3920b5dd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/custom_package.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/custom_package.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/permission.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/permission.ts index f85891cd..091edb51 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/permission.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/resource_common.ts index 99f21d23..cc87352a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/starry.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/starry.ts index b49f40e5..c8648cb8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/starry.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/starry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/task_common.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/task_common.ts index 0092d5c9..dd52462d 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/task_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/task_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/uibuilder.ts b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/uibuilder.ts index b9d4e6f9..a175c771 100644 --- a/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/uibuilder.ts +++ b/frontend/packages/arch/idl/src/auto-generated/ui_builder/namespaces/uibuilder.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/index.ts index 787d018d..c69f43e8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/agent_provider.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/agent_provider.ts index 7638ed81..07877761 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/agent_provider.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/agent_provider.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/bot_schema.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/bot_schema.ts index 1b630425..4be990ec 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/bot_schema.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/bot_schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/copilot.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/copilot.ts index a4ae1c3d..6579cf0c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/copilot.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/copilot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/copilot_common.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/copilot_common.ts index 98941533..da41eae8 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/copilot_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/copilot_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/event.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/event.ts index 3117cac4..d4ba5b6c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/event.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/hook_common.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/hook_common.ts index b87ee524..4681be0a 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/hook_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/hook_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/kctx.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/kctx.ts index c3ade021..ca809250 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/kctx.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/kctx.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/permission.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/permission.ts index 4a013ce5..6836c93b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/permission.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/resource_common.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/resource_common.ts index 9afd268e..86158003 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/resource_common.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/resource_common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/trace.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/trace.ts index 2b1c09fe..6335663b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/trace.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/trace.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/trigger.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/trigger.ts index 255896fb..a7fe8fcd 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/trigger.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/trigger.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/workflow.ts b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/workflow.ts index 7fa26a7c..956a47b3 100644 --- a/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/workflow.ts +++ b/frontend/packages/arch/idl/src/auto-generated/workflow_api/namespaces/workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/index.ts b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/index.ts index d4c3cd73..3a5a0afb 100644 --- a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/index.ts +++ b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/base.ts b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/base.ts index c0d5bfcc..117a841b 100644 --- a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/base.ts +++ b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/keyword_search.ts b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/keyword_search.ts index 37d2c7d2..119b1e00 100644 --- a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/keyword_search.ts +++ b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/keyword_search.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/memory.ts b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/memory.ts index 40a69131..c07f8189 100644 --- a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/memory.ts +++ b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/memory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/storage.ts b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/storage.ts index 8e5c82f9..1f70abc9 100644 --- a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/storage.ts +++ b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/storage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/time_capsule.ts b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/time_capsule.ts index 2a0739d6..fef319b1 100644 --- a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/time_capsule.ts +++ b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/time_capsule.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/user_behavior.ts b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/user_behavior.ts index 9b1a74aa..d79c007c 100644 --- a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/user_behavior.ts +++ b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/user_behavior.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/vector_search.ts b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/vector_search.ts index 74a2879b..cbb60508 100644 --- a/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/vector_search.ts +++ b/frontend/packages/arch/idl/src/auto-generated/xmemory_api/namespaces/vector_search.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. /* eslint-disable */ /* tslint:disable */ diff --git a/frontend/packages/arch/idl/src/index.ts b/frontend/packages/arch/idl/src/index.ts index 7101ceaa..75bff882 100644 --- a/frontend/packages/arch/idl/src/index.ts +++ b/frontend/packages/arch/idl/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Temporary files, later deleted export { SuggestReplyMode } from './auto-generated/developer_api/namespaces/developer_api'; diff --git a/frontend/packages/arch/load-remote-worker/__tests__/index.test.ts b/frontend/packages/arch/load-remote-worker/__tests__/index.test.ts index fcadbc61..5899f7e4 100644 --- a/frontend/packages/arch/load-remote-worker/__tests__/index.test.ts +++ b/frontend/packages/arch/load-remote-worker/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { RemoteWebWorker, register } from '../src/index'; diff --git a/frontend/packages/arch/load-remote-worker/__tests__/setup.ts b/frontend/packages/arch/load-remote-worker/__tests__/setup.ts index 07840f41..ccd7cfec 100644 --- a/frontend/packages/arch/load-remote-worker/__tests__/setup.ts +++ b/frontend/packages/arch/load-remote-worker/__tests__/setup.ts @@ -13,15 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; // Define a simulated Worker class class MockWorker { - constructor( - public scriptURL: string, - public options: any, - ) {} + constructor(public scriptURL: string, public options: any) {} // Methods required to add a Worker interface terminate(): void { @@ -43,10 +40,7 @@ global.URL = { } as any; global.Blob = class MockBlob { - constructor( - public array: any[], - public options: any, - ) {} + constructor(public array: any[], public options: any) {} } as any; global.location = { diff --git a/frontend/packages/arch/load-remote-worker/src/index.ts b/frontend/packages/arch/load-remote-worker/src/index.ts index c0d4a2a0..7a5e84b1 100644 --- a/frontend/packages/arch/load-remote-worker/src/index.ts +++ b/frontend/packages/arch/load-remote-worker/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Inspire by https://github.com/jantimon/remote-web-worker // Patch Worker to allow loading scripts from remote URLs // diff --git a/frontend/packages/arch/load-remote-worker/vitest.config.ts b/frontend/packages/arch/load-remote-worker/vitest.config.ts index f4c59dd9..e3e51ed1 100644 --- a/frontend/packages/arch/load-remote-worker/vitest.config.ts +++ b/frontend/packages/arch/load-remote-worker/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { mergeConfig } from 'vitest/config'; import { defineConfig } from '@coze-arch/vitest-config'; diff --git a/frontend/packages/arch/logger/__tests__/console-client.test.ts b/frontend/packages/arch/logger/__tests__/console-client.test.ts index 6bd06267..43d31706 100644 --- a/frontend/packages/arch/logger/__tests__/console-client.test.ts +++ b/frontend/packages/arch/logger/__tests__/console-client.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LogLevel, LogAction } from '../src/types'; import { getColorByLogLevel, diff --git a/frontend/packages/arch/logger/__tests__/console-disable.test.ts b/frontend/packages/arch/logger/__tests__/console-disable.test.ts index 1123c6c5..189fadb8 100644 --- a/frontend/packages/arch/logger/__tests__/console-disable.test.ts +++ b/frontend/packages/arch/logger/__tests__/console-disable.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { shouldCloseConsole } from '../src/console-disable'; describe('shouldCloseConsole', () => { diff --git a/frontend/packages/arch/logger/__tests__/duration-tracer.test.ts b/frontend/packages/arch/logger/__tests__/duration-tracer.test.ts index 72cb2c82..13f76650 100644 --- a/frontend/packages/arch/logger/__tests__/duration-tracer.test.ts +++ b/frontend/packages/arch/logger/__tests__/duration-tracer.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TraceDuration, genDurationTracer, diff --git a/frontend/packages/arch/logger/__tests__/logger.test.ts b/frontend/packages/arch/logger/__tests__/logger.test.ts index 4542f19d..2487f103 100644 --- a/frontend/packages/arch/logger/__tests__/logger.test.ts +++ b/frontend/packages/arch/logger/__tests__/logger.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { Logger } from '../src/logger/logger'; diff --git a/frontend/packages/arch/logger/__tests__/reporter.test.ts b/frontend/packages/arch/logger/__tests__/reporter.test.ts index 3dcd20d0..0f041913 100644 --- a/frontend/packages/arch/logger/__tests__/reporter.test.ts +++ b/frontend/packages/arch/logger/__tests__/reporter.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TraceDuration } from '../src/reporter/duration-tracer'; import { Reporter, reporter as rawReporter } from '../src/reporter'; diff --git a/frontend/packages/arch/logger/__tests__/slardar.test.ts b/frontend/packages/arch/logger/__tests__/slardar.test.ts index 267abaaa..12843c81 100644 --- a/frontend/packages/arch/logger/__tests__/slardar.test.ts +++ b/frontend/packages/arch/logger/__tests__/slardar.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LogAction, LogLevel } from '../src/types'; import { SlardarReportClient } from '../src/slardar'; vi.mock('@slardar/web'); diff --git a/frontend/packages/arch/logger/__tests__/utils.test.ts b/frontend/packages/arch/logger/__tests__/utils.test.ts index e8ee8a83..95a9357b 100644 --- a/frontend/packages/arch/logger/__tests__/utils.test.ts +++ b/frontend/packages/arch/logger/__tests__/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ErrorType } from '../src/types'; import { safeJson, diff --git a/frontend/packages/arch/logger/package.json b/frontend/packages/arch/logger/package.json index fadfba41..e0cf9a0f 100644 --- a/frontend/packages/arch/logger/package.json +++ b/frontend/packages/arch/logger/package.json @@ -10,9 +10,9 @@ "test:cov": "npm run test -- --coverage" }, "dependencies": { - "@coze-studio/slardar-interface": "workspace:*", "@coze-arch/bot-env": "workspace:*", "@coze-arch/bot-typings": "workspace:*", + "@coze-studio/slardar-interface": "workspace:*", "lodash-es": "^4.17.21", "react": "~18.2.0", "react-error-boundary": "^4.0.9" diff --git a/frontend/packages/arch/logger/src/console-disable.ts b/frontend/packages/arch/logger/src/console-disable.ts index ef89bf6a..bfee39ee 100644 --- a/frontend/packages/arch/logger/src/console-disable.ts +++ b/frontend/packages/arch/logger/src/console-disable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // import { runtimeEnv } from '@coze-arch/bot-env/runtime'; const DEBUG_TAG = 'open_debug'; const OPEN_CONSOLE_MARK = new RegExp(`(?:\\?|\\&)${DEBUG_TAG}=true`); @@ -27,7 +27,7 @@ export const shouldCloseConsole = () => { isOpenDebug && sessionStorage.setItem(DEBUG_TAG, 'true'); } // Except for the official normal environment, the console is allowed to open - const isProduction = !!(IS_RELEASE_VERSION ); + const isProduction = !!IS_RELEASE_VERSION; console.log('IS_RELEASE_VERSION', IS_RELEASE_VERSION, isProduction); return !isOpenDebug && isProduction; }; diff --git a/frontend/packages/arch/logger/src/error-boundary/index.tsx b/frontend/packages/arch/logger/src/error-boundary/index.tsx index 5aa9eda4..920b0a4b 100644 --- a/frontend/packages/arch/logger/src/error-boundary/index.tsx +++ b/frontend/packages/arch/logger/src/error-boundary/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ErrorBoundary as ReactErrorBoundary, useErrorBoundary, diff --git a/frontend/packages/arch/logger/src/global.d.ts b/frontend/packages/arch/logger/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/logger/src/global.d.ts +++ b/frontend/packages/arch/logger/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/logger/src/index.ts b/frontend/packages/arch/logger/src/index.ts index 8b80a89c..9526d9e2 100644 --- a/frontend/packages/arch/logger/src/index.ts +++ b/frontend/packages/arch/logger/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { reporter, Reporter } from './reporter'; // Reporter needs to report to slardar method export diff --git a/frontend/packages/arch/logger/src/logger/console-client.ts b/frontend/packages/arch/logger/src/logger/console-client.ts index 4d56b5ec..adcd5aba 100644 --- a/frontend/packages/arch/logger/src/logger/console-client.ts +++ b/frontend/packages/arch/logger/src/logger/console-client.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEmpty } from 'lodash-es'; import { @@ -74,8 +74,8 @@ export class ConsoleLogClient implements LoggerReportClient { const resolvedMsg = message ? message : eventName - ? `Event: ${eventName}` - : undefined; + ? `Event: ${eventName}` + : undefined; if (!action?.includes(LogAction.CONSOLE) || !resolvedMsg) { return; } diff --git a/frontend/packages/arch/logger/src/logger/context.ts b/frontend/packages/arch/logger/src/logger/context.ts index 2e84c064..8d93e296 100644 --- a/frontend/packages/arch/logger/src/logger/context.ts +++ b/frontend/packages/arch/logger/src/logger/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type Logger } from './core'; diff --git a/frontend/packages/arch/logger/src/logger/core.ts b/frontend/packages/arch/logger/src/logger/core.ts index d0dcba1e..ebd95aea 100644 --- a/frontend/packages/arch/logger/src/logger/core.ts +++ b/frontend/packages/arch/logger/src/logger/core.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { @@ -185,5 +185,4 @@ export class Logger extends BaseLogger { action: [LogAction.CONSOLE, LogAction.PERSIST], }, }); - } diff --git a/frontend/packages/arch/logger/src/logger/index.ts b/frontend/packages/arch/logger/src/logger/index.ts index 0b58c5a4..a16a1ec9 100644 --- a/frontend/packages/arch/logger/src/logger/index.ts +++ b/frontend/packages/arch/logger/src/logger/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { logger } from './logger'; export { Logger } from './core'; export { LoggerContext, useLogger } from './context'; diff --git a/frontend/packages/arch/logger/src/logger/log-options-helper.ts b/frontend/packages/arch/logger/src/logger/log-options-helper.ts index ed1d4598..5abc0122 100644 --- a/frontend/packages/arch/logger/src/logger/log-options-helper.ts +++ b/frontend/packages/arch/logger/src/logger/log-options-helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEmpty } from 'lodash-es'; import { type CommonLogOptions } from '../types'; diff --git a/frontend/packages/arch/logger/src/logger/logger.ts b/frontend/packages/arch/logger/src/logger/logger.ts index df858261..9c3b4e00 100644 --- a/frontend/packages/arch/logger/src/logger/logger.ts +++ b/frontend/packages/arch/logger/src/logger/logger.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CommonLogOptions, type BaseLoggerOptions, diff --git a/frontend/packages/arch/logger/src/reporter/duration-tracer.ts b/frontend/packages/arch/logger/src/reporter/duration-tracer.ts index cd24f38b..b9077be4 100644 --- a/frontend/packages/arch/logger/src/reporter/duration-tracer.ts +++ b/frontend/packages/arch/logger/src/reporter/duration-tracer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type TracePointName = 'success' | 'fail' | string; export interface TraceDuration { diff --git a/frontend/packages/arch/logger/src/reporter/index.ts b/frontend/packages/arch/logger/src/reporter/index.ts index ffb1334d..b69ab496 100644 --- a/frontend/packages/arch/logger/src/reporter/index.ts +++ b/frontend/packages/arch/logger/src/reporter/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CommonLogOptions, LogAction, LogLevel } from '../types'; import { SlardarReportClient, type SlardarInstance } from '../slardar'; import { Logger } from '../logger'; @@ -25,7 +25,7 @@ export interface LoggerCommonProperties { } export interface SlardarMeta { - meta?: Record; // Combination of `categories` and `metrics`, check more: + meta?: Record; // Combination of `categories` and `metrics`, check more: } export interface CustomLog extends SlardarMeta, LoggerCommonProperties { @@ -138,7 +138,7 @@ export class Reporter { /// Custom Log /** * Report an info log - * @param event + * @param event * @returns */ info(log: CustomLog) { @@ -147,7 +147,7 @@ export class Reporter { /** * Report a success log - * @param event + * @param event * @returns */ success(log: CustomLog) { @@ -157,7 +157,7 @@ export class Reporter { /** * Report a warning log - * @param event + * @param event * @returns */ warning(log: CustomLog) { @@ -167,7 +167,7 @@ export class Reporter { /** * Report an error log - * @param event + * @param event * @returns */ error(log: CustomErrorLog) { @@ -181,7 +181,7 @@ export class Reporter { /// Custom Event /** * Report a custom event - * @param event + * @param event * @returns */ event(event: CustomEvent) { @@ -191,7 +191,7 @@ export class Reporter { /** * Report an error event (LogLevel = 'error') - * @param event + * @param event * @returns */ errorEvent(event: ErrorEvent) { @@ -203,7 +203,7 @@ export class Reporter { /** * Report a success event (LogLevel = 'success') - * @param event + * @param event * @returns */ successEvent(event: CustomEvent) { diff --git a/frontend/packages/arch/logger/src/slardar/index.ts b/frontend/packages/arch/logger/src/slardar/index.ts index d3350280..06b7497d 100644 --- a/frontend/packages/arch/logger/src/slardar/index.ts +++ b/frontend/packages/arch/logger/src/slardar/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNumber, isString, mapValues, omitBy, isNil } from 'lodash-es'; import type { SlardarInstance } from '@coze-studio/slardar-interface'; @@ -35,7 +35,7 @@ import { * Converting meta to type * Metrics: Values that can be measured, that is, numerical values * - Dimension categories: classification, dimension, used for filtering, grouping - * + * * @param meta * @returns */ diff --git a/frontend/packages/arch/logger/src/slardar/runtime.ts b/frontend/packages/arch/logger/src/slardar/runtime.ts index 2de4c66b..3c91c7c4 100644 --- a/frontend/packages/arch/logger/src/slardar/runtime.ts +++ b/frontend/packages/arch/logger/src/slardar/runtime.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { reporter } from '../reporter'; export const getSlardarInstance = () => reporter.slardarInstance; diff --git a/frontend/packages/arch/logger/src/slardar/utils.ts b/frontend/packages/arch/logger/src/slardar/utils.ts index c6ed6e14..e9e4edbd 100644 --- a/frontend/packages/arch/logger/src/slardar/utils.ts +++ b/frontend/packages/arch/logger/src/slardar/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LogLevel, type ApiErrorOption, ErrorType } from '../types'; function isObject(it: T): it is object extends T diff --git a/frontend/packages/arch/logger/src/types/index.ts b/frontend/packages/arch/logger/src/types/index.ts index 707f6874..925ec699 100644 --- a/frontend/packages/arch/logger/src/types/index.ts +++ b/frontend/packages/arch/logger/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * log level */ diff --git a/frontend/packages/arch/logger/vitest.config.ts b/frontend/packages/arch/logger/vitest.config.ts index b18b2cef..3ffb95ec 100644 --- a/frontend/packages/arch/logger/vitest.config.ts +++ b/frontend/packages/arch/logger/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/pdfjs-shadow/__tests__/generate-assets.test.ts b/frontend/packages/arch/pdfjs-shadow/__tests__/generate-assets.test.ts index f759744e..fd037ea3 100644 --- a/frontend/packages/arch/pdfjs-shadow/__tests__/generate-assets.test.ts +++ b/frontend/packages/arch/pdfjs-shadow/__tests__/generate-assets.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { generatePdfAssetsUrl } from '../src/generate-assets'; diff --git a/frontend/packages/arch/pdfjs-shadow/__tests__/index.test.ts b/frontend/packages/arch/pdfjs-shadow/__tests__/index.test.ts index ec02a09a..ec541293 100644 --- a/frontend/packages/arch/pdfjs-shadow/__tests__/index.test.ts +++ b/frontend/packages/arch/pdfjs-shadow/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; // Emulate pdfjs-dist module diff --git a/frontend/packages/arch/pdfjs-shadow/__tests__/init-pdfjs-dist.test.ts b/frontend/packages/arch/pdfjs-shadow/__tests__/init-pdfjs-dist.test.ts index 8e4565d0..77bf08d3 100644 --- a/frontend/packages/arch/pdfjs-shadow/__tests__/init-pdfjs-dist.test.ts +++ b/frontend/packages/arch/pdfjs-shadow/__tests__/init-pdfjs-dist.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; // Emulate pdfjs-dist module diff --git a/frontend/packages/arch/pdfjs-shadow/scripts/build-assets.ts b/frontend/packages/arch/pdfjs-shadow/scripts/build-assets.ts index f9628718..b167e2e4 100644 --- a/frontend/packages/arch/pdfjs-shadow/scripts/build-assets.ts +++ b/frontend/packages/arch/pdfjs-shadow/scripts/build-assets.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; import fs from 'fs/promises'; diff --git a/frontend/packages/arch/pdfjs-shadow/scripts/build-worker.ts b/frontend/packages/arch/pdfjs-shadow/scripts/build-worker.ts index 2d64ef08..c3ec9617 100644 --- a/frontend/packages/arch/pdfjs-shadow/scripts/build-worker.ts +++ b/frontend/packages/arch/pdfjs-shadow/scripts/build-worker.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; // eslint-disable-next-line @coze-arch/no-batch-import-or-export diff --git a/frontend/packages/arch/pdfjs-shadow/scripts/build.ts b/frontend/packages/arch/pdfjs-shadow/scripts/build.ts index bb599c15..32d44efc 100644 --- a/frontend/packages/arch/pdfjs-shadow/scripts/build.ts +++ b/frontend/packages/arch/pdfjs-shadow/scripts/build.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { buildWorker } from './build-worker'; import { buildAssets } from './build-assets'; diff --git a/frontend/packages/arch/pdfjs-shadow/scripts/const.ts b/frontend/packages/arch/pdfjs-shadow/scripts/const.ts index 44d6ee92..0208f9e5 100644 --- a/frontend/packages/arch/pdfjs-shadow/scripts/const.ts +++ b/frontend/packages/arch/pdfjs-shadow/scripts/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import path from 'path'; export const OUTPUT_DIR = path.resolve(__dirname, '../lib'); diff --git a/frontend/packages/arch/pdfjs-shadow/src/generate-assets.ts b/frontend/packages/arch/pdfjs-shadow/src/generate-assets.ts index c44254ea..4d0f5c49 100644 --- a/frontend/packages/arch/pdfjs-shadow/src/generate-assets.ts +++ b/frontend/packages/arch/pdfjs-shadow/src/generate-assets.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import pkg from '../package.json'; type AssetsType = 'cmaps' | 'pdf.worker'; diff --git a/frontend/packages/arch/pdfjs-shadow/src/global.d.ts b/frontend/packages/arch/pdfjs-shadow/src/global.d.ts index df7f2de9..9d08570f 100644 --- a/frontend/packages/arch/pdfjs-shadow/src/global.d.ts +++ b/frontend/packages/arch/pdfjs-shadow/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module 'pdfjs-dist/build/pdf.worker.mjs'; declare module 'pdfjs-dist/build/pdf.worker.entry.js'; diff --git a/frontend/packages/arch/pdfjs-shadow/src/index.ts b/frontend/packages/arch/pdfjs-shadow/src/index.ts index 7f8d0259..92244797 100644 --- a/frontend/packages/arch/pdfjs-shadow/src/index.ts +++ b/frontend/packages/arch/pdfjs-shadow/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getDocument, type PDFDocumentProxy, diff --git a/frontend/packages/arch/pdfjs-shadow/src/init-pdfjs-dist.ts b/frontend/packages/arch/pdfjs-shadow/src/init-pdfjs-dist.ts index 886a3873..87f51b7f 100644 --- a/frontend/packages/arch/pdfjs-shadow/src/init-pdfjs-dist.ts +++ b/frontend/packages/arch/pdfjs-shadow/src/init-pdfjs-dist.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GlobalWorkerOptions } from 'pdfjs-dist'; import { generatePdfAssetsUrl } from './generate-assets'; diff --git a/frontend/packages/arch/pdfjs-shadow/vitest.config.ts b/frontend/packages/arch/pdfjs-shadow/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/arch/pdfjs-shadow/vitest.config.ts +++ b/frontend/packages/arch/pdfjs-shadow/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/report-events/src/bot-detail-event.ts b/frontend/packages/arch/report-events/src/bot-detail-event.ts index 5f760095..07161494 100644 --- a/frontend/packages/arch/report-events/src/bot-detail-event.ts +++ b/frontend/packages/arch/report-events/src/bot-detail-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum BotDetailEvents { BotDetailInitHooks = 'bot_detail_init_hooks', BotDetailInitBot = 'bot_detail_init_bot', diff --git a/frontend/packages/arch/report-events/src/chat-room-event.ts b/frontend/packages/arch/report-events/src/chat-room-event.ts index 602643ea..6e121cc4 100644 --- a/frontend/packages/arch/report-events/src/chat-room-event.ts +++ b/frontend/packages/arch/report-events/src/chat-room-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ChatRoomEvents { PayloadSocietyStateEmpty = 'chat_room_ws_payload_society_state_empty', } diff --git a/frontend/packages/arch/report-events/src/common-error.ts b/frontend/packages/arch/report-events/src/common-error.ts index 5686c800..8cb45197 100644 --- a/frontend/packages/arch/report-events/src/common-error.ts +++ b/frontend/packages/arch/report-events/src/common-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ export enum CommonError { /** Webpack chunk load failed */ diff --git a/frontend/packages/arch/report-events/src/cookie-banner.ts b/frontend/packages/arch/report-events/src/cookie-banner.ts index 4fa63e98..100962ab 100644 --- a/frontend/packages/arch/report-events/src/cookie-banner.ts +++ b/frontend/packages/arch/report-events/src/cookie-banner.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum CookieBannerEvents { ParseStorageValueError = 'parse_storage_value_error', GetLoginInfoError = 'get_login_info_error', diff --git a/frontend/packages/arch/report-events/src/custom-platform-event.ts b/frontend/packages/arch/report-events/src/custom-platform-event.ts index 4d14562f..dee91a5f 100644 --- a/frontend/packages/arch/report-events/src/custom-platform-event.ts +++ b/frontend/packages/arch/report-events/src/custom-platform-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum CustomPlatformEvents { CreateCustomPlat = 'create-custom-plat', UpdateCustomPlat = 'update-custom-plat', diff --git a/frontend/packages/arch/report-events/src/database-event.ts b/frontend/packages/arch/report-events/src/database-event.ts index ed0dd80c..c05fde08 100644 --- a/frontend/packages/arch/report-events/src/database-event.ts +++ b/frontend/packages/arch/report-events/src/database-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum DatabaseEvents { DatabaseUploadExcelFile = 'database_upload_excel_file', DatabaseAddTable = 'database_add_table', diff --git a/frontend/packages/arch/report-events/src/editor-autosave.ts b/frontend/packages/arch/report-events/src/editor-autosave.ts index 626c882b..a29ae709 100644 --- a/frontend/packages/arch/report-events/src/editor-autosave.ts +++ b/frontend/packages/arch/report-events/src/editor-autosave.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum EditorAutosaveEvents { AutosaveSuccess = 'autosave_success', AutosaveError = 'autosave_error', diff --git a/frontend/packages/arch/report-events/src/events.ts b/frontend/packages/arch/report-events/src/events.ts index adbc1291..9ff689d1 100644 --- a/frontend/packages/arch/report-events/src/events.ts +++ b/frontend/packages/arch/report-events/src/events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkflowEvents } from './workflow-event'; import { VariableEvents } from './variable-event'; import { TemplateEvents } from './template-event'; diff --git a/frontend/packages/arch/report-events/src/explore-event.ts b/frontend/packages/arch/report-events/src/explore-event.ts index 71256212..0f50ba8a 100644 --- a/frontend/packages/arch/report-events/src/explore-event.ts +++ b/frontend/packages/arch/report-events/src/explore-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ExploreEvents { ExploreInitBotDetail = 'explore_init_bot_detail', } diff --git a/frontend/packages/arch/report-events/src/feature-event.ts b/frontend/packages/arch/report-events/src/feature-event.ts index 5e28c3b7..a9c61c36 100644 --- a/frontend/packages/arch/report-events/src/feature-event.ts +++ b/frontend/packages/arch/report-events/src/feature-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ export enum FeatureEvents { /** @@ -59,7 +59,7 @@ export enum FeatureEvents { unhandledrejection = 'unhandledrejection', oauthLogin = 'oauth_login', /** - * Message Link Event + * Message Link Event */ botDebugMessageSubmit = 'bot_debug_message_submit', // Bot to perform debugging (send messages) receiveMessage = 'receive_message', diff --git a/frontend/packages/arch/report-events/src/filebox-event.ts b/frontend/packages/arch/report-events/src/filebox-event.ts index 6a1a34c8..95cb123c 100644 --- a/frontend/packages/arch/report-events/src/filebox-event.ts +++ b/frontend/packages/arch/report-events/src/filebox-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum FileboxEvents { SaveFileboxMode = 'save_filebox_mode', GetFileboxPluginsInfo = 'get_filebox_plugin_info', diff --git a/frontend/packages/arch/report-events/src/global.d.ts b/frontend/packages/arch/report-events/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/report-events/src/global.d.ts +++ b/frontend/packages/arch/report-events/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/report-events/src/index.ts b/frontend/packages/arch/report-events/src/index.ts index e9b874e9..7853d837 100644 --- a/frontend/packages/arch/report-events/src/index.ts +++ b/frontend/packages/arch/report-events/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type EventNames, REPORT_EVENTS } from './events'; export { type DurationPoint, diff --git a/frontend/packages/arch/report-events/src/interaction-event.ts b/frontend/packages/arch/report-events/src/interaction-event.ts index 295452e3..589b5776 100644 --- a/frontend/packages/arch/report-events/src/interaction-event.ts +++ b/frontend/packages/arch/report-events/src/interaction-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ export enum InteractionEvents { diff --git a/frontend/packages/arch/report-events/src/invite-event.ts b/frontend/packages/arch/report-events/src/invite-event.ts index f5a81cd8..dc4ea742 100644 --- a/frontend/packages/arch/report-events/src/invite-event.ts +++ b/frontend/packages/arch/report-events/src/invite-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum InviteEvents { InviteGetSpaceInfo = 'invite_get_space_info', } diff --git a/frontend/packages/arch/report-events/src/knowledge-event.ts b/frontend/packages/arch/report-events/src/knowledge-event.ts index aa982724..fb198d13 100644 --- a/frontend/packages/arch/report-events/src/knowledge-event.ts +++ b/frontend/packages/arch/report-events/src/knowledge-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum KnowledgeEvents { // knowledge KnowledgeListDataset = 'knowledge_list_dataset', diff --git a/frontend/packages/arch/report-events/src/multi-agent.ts b/frontend/packages/arch/report-events/src/multi-agent.ts index 77d184f5..80e0ad00 100644 --- a/frontend/packages/arch/report-events/src/multi-agent.ts +++ b/frontend/packages/arch/report-events/src/multi-agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum MultiAgentEvents { BotLastPublishInfoError = 'bot_last_publish_info_error', } diff --git a/frontend/packages/arch/report-events/src/plugin-event.ts b/frontend/packages/arch/report-events/src/plugin-event.ts index 1f550e48..1497783b 100644 --- a/frontend/packages/arch/report-events/src/plugin-event.ts +++ b/frontend/packages/arch/report-events/src/plugin-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum PluginEvents { PluginGetApis = 'plugin_get_apis', PluginInitError = 'plugin_init_error', diff --git a/frontend/packages/arch/report-events/src/publish-event.ts b/frontend/packages/arch/report-events/src/publish-event.ts index d59f9ff8..14ee796a 100644 --- a/frontend/packages/arch/report-events/src/publish-event.ts +++ b/frontend/packages/arch/report-events/src/publish-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum PublishEvents { PublishCheckError = 'publish_check_error', HistoryPublishResultError = 'history_publish_result_error', diff --git a/frontend/packages/arch/report-events/src/report-event.ts b/frontend/packages/arch/report-events/src/report-event.ts index 7e9f4801..3d9fddff 100644 --- a/frontend/packages/arch/report-events/src/report-event.ts +++ b/frontend/packages/arch/report-events/src/report-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { set } from 'lodash-es'; import { logger as globalLogger, type Logger } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/report-events/src/social-scene-event.ts b/frontend/packages/arch/report-events/src/social-scene-event.ts index 762861a4..cc0a7208 100644 --- a/frontend/packages/arch/report-events/src/social-scene-event.ts +++ b/frontend/packages/arch/report-events/src/social-scene-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum SocialSceneEvents { ConfirmSceneModalError = 'confirm_scene_modal', DeleteSceneMetaError = 'delete_scene_meta_error', diff --git a/frontend/packages/arch/report-events/src/template-event.ts b/frontend/packages/arch/report-events/src/template-event.ts index b6ad414d..480cd49c 100644 --- a/frontend/packages/arch/report-events/src/template-event.ts +++ b/frontend/packages/arch/report-events/src/template-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TemplateEvents { EmptyOrderCheckoutUrl = 'empty_order_checkout_url', } diff --git a/frontend/packages/arch/report-events/src/variable-event.ts b/frontend/packages/arch/report-events/src/variable-event.ts index 58f5645a..1b6c0abb 100644 --- a/frontend/packages/arch/report-events/src/variable-event.ts +++ b/frontend/packages/arch/report-events/src/variable-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum VariableEvents { VariableGetValue = 'variable_get_value', VariableSetValue = 'variable_set_value', diff --git a/frontend/packages/arch/report-events/src/workflow-event.ts b/frontend/packages/arch/report-events/src/workflow-event.ts index fa5297b1..b657304a 100644 --- a/frontend/packages/arch/report-events/src/workflow-event.ts +++ b/frontend/packages/arch/report-events/src/workflow-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum WorkflowEvents { WorkFlowOldError = 'work_flow_old_error', } diff --git a/frontend/packages/arch/report-tti/__tests__/index.test.tsx b/frontend/packages/arch/report-tti/__tests__/index.test.tsx index cde6d361..a899d247 100644 --- a/frontend/packages/arch/report-tti/__tests__/index.test.tsx +++ b/frontend/packages/arch/report-tti/__tests__/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/arch/report-tti/__tests__/utils/custom-perf-metric.test.ts b/frontend/packages/arch/report-tti/__tests__/utils/custom-perf-metric.test.ts index 3ea84613..3fa9c579 100644 --- a/frontend/packages/arch/report-tti/__tests__/utils/custom-perf-metric.test.ts +++ b/frontend/packages/arch/report-tti/__tests__/utils/custom-perf-metric.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/arch/report-tti/src/global.d.ts b/frontend/packages/arch/report-tti/src/global.d.ts index 9091e01b..f8df5b7a 100644 --- a/frontend/packages/arch/report-tti/src/global.d.ts +++ b/frontend/packages/arch/report-tti/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare interface Window { diff --git a/frontend/packages/arch/report-tti/src/index.ts b/frontend/packages/arch/report-tti/src/index.ts index 17a917fa..3c040edb 100644 --- a/frontend/packages/arch/report-tti/src/index.ts +++ b/frontend/packages/arch/report-tti/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/arch/report-tti/src/utils/custom-perf-metric.ts b/frontend/packages/arch/report-tti/src/utils/custom-perf-metric.ts index a0bd9a64..18cf4989 100644 --- a/frontend/packages/arch/report-tti/src/utils/custom-perf-metric.ts +++ b/frontend/packages/arch/report-tti/src/utils/custom-perf-metric.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger, reporter, getSlardarInstance } from '@coze-arch/logger'; enum CustomPerfMarkNames { diff --git a/frontend/packages/arch/report-tti/vitest.config.ts b/frontend/packages/arch/report-tti/vitest.config.ts index c4006184..a9df228c 100644 --- a/frontend/packages/arch/report-tti/vitest.config.ts +++ b/frontend/packages/arch/report-tti/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/resources/studio-i18n-resource/src/index.ts b/frontend/packages/arch/resources/studio-i18n-resource/src/index.ts index 35143f93..ab27f2ff 100644 --- a/frontend/packages/arch/resources/studio-i18n-resource/src/index.ts +++ b/frontend/packages/arch/resources/studio-i18n-resource/src/index.ts @@ -13,16 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable */ // Automatically generated by the dl-i18n command import localeEn from './locales/en.json'; import localeZhCN from './locales/zh-CN.json'; const defaultConfig = { - en: { 'i18n': localeEn }, - 'zh-CN': { 'i18n': localeZhCN }, -} as { en: { 'i18n': typeof localeEn }; 'zh-CN': { 'i18n': typeof localeZhCN }}; + en: { i18n: localeEn }, + 'zh-CN': { i18n: localeZhCN }, +} as { en: { i18n: typeof localeEn }; 'zh-CN': { i18n: typeof localeZhCN } }; export { localeEn, localeZhCN, defaultConfig }; -export type { I18nOptionsMap, I18nKeysHasOptionsType, I18nKeysNoOptionsType, LocaleData } from './locale-data'; +export type { + I18nOptionsMap, + I18nKeysHasOptionsType, + I18nKeysNoOptionsType, + LocaleData, +} from './locale-data'; diff --git a/frontend/packages/arch/resources/studio-i18n-resource/src/locale-data.d.ts b/frontend/packages/arch/resources/studio-i18n-resource/src/locale-data.d.ts index e4daa450..25f00634 100644 --- a/frontend/packages/arch/resources/studio-i18n-resource/src/locale-data.d.ts +++ b/frontend/packages/arch/resources/studio-i18n-resource/src/locale-data.d.ts @@ -13,862 +13,1566 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // 文件由 pnpm dl-i18n 自动生成 import { type ReactNode } from 'react'; // #region I18nOptionsMap export interface I18nOptionsMap { '10k_point_resource_coze_token': { num: ReactNode /* string */ }; - 'AddSuccessToast': { name: ReactNode /* string */ }; - 'Coze_model_cost_coze_token': { count: ReactNode /* string */ }; - 'Coze_model_cost_input_token': { count: ReactNode /* string */ }; - 'Coze_model_cost_input_token_m': { count: ReactNode /* string */ }; - 'Coze_model_cost_output_token': { count: ReactNode /* string */ }; - 'Coze_model_cost_output_token_m': { count: ReactNode /* string */ }; - 'Coze_model_cost_token': { count: ReactNode /* string */ }; - 'Coze_model_cost_token_m': { count: ReactNode /* string */, dollar_count: ReactNode /* string */ }; - 'Coze_token_body': { num: ReactNode /* number */ }; - 'Coze_token_history_action_04': { bot_name: ReactNode /* string */ }; - 'Coze_token_history_action_05': { workflow_name: ReactNode /* string */ }; - 'Coze_token_history_action_06': { bot_name: ReactNode /* string */, publishing_platform_name: ReactNode /* string */ }; - 'Coze_token_history_action_09': { bot_name: ReactNode /* string */ }; - 'Coze_token_history_action_10': { bot_name: ReactNode /* string */ }; - 'Coze_token_history_action_12': { used_count: ReactNode /* string */, total_count: ReactNode /* string */ }; - 'Coze_token_history_action_13': { used_count: ReactNode /* string */, total_count: ReactNode /* string */ }; - 'Coze_token_history_action_14': { plugin_name: ReactNode /* string */, workflow_name: ReactNode /* string */, bot_name: ReactNode /* string */ }; - 'Coze_token_history_action_15': { plugin_name: ReactNode /* string */, workflow_name: ReactNode /* string */, bot_name: ReactNode /* string */ }; - 'Coze_token_history_action_16': { workflow_name: ReactNode /* string */ }; - 'Coze_token_history_action_app_1': { plugin_name: ReactNode /* string */, workflow_name: ReactNode /* string */, app_name: ReactNode /* string */ }; - 'Coze_token_history_action_app_3': { app_name: ReactNode /* string */ }; - 'Coze_token_history_action_app_4': { app_name: ReactNode /* string */ }; - 'Coze_token_history_action_app_5': { app_name: ReactNode /* string */ }; - 'Coze_token_history_action_app_6': { app_name: ReactNode /* string */, publishing_platform_name: ReactNode /* string */ }; - 'Coze_token_task_amount': { amount: ReactNode /* string */ }; - 'Force_check_detail_open_tip': { time: ReactNode /* string */ }; - 'Force_guide_open_detail': { time: ReactNode /* string */ }; - 'Force_my_questionnaire_tip': { time: ReactNode /* string */ }; - 'Force_my_tip_1': { name: ReactNode /* string */ }; - 'Force_sign_in_tip_detail': { time: ReactNode /* string */ }; - 'Imageflow_Store_case_popup2': { entity_type: ReactNode /* string */, entity_name: ReactNode /* string */ }; - 'Imageflow_Store_testrun_expire': { entity_type: ReactNode /* string */, entity_name: ReactNode /* string */ }; - 'Manual_crawling_017': { version: ReactNode /* string */ }; - 'Plugin_update_info_text': { number: ReactNode /* string */, array: ReactNode /* string */ }; - 'account_ban': { uid: ReactNode /* string */ }; - 'account_merge_oauth_success2': { phone_number: ReactNode /* string */ }; - 'agent_prompt_editor_insert_placeholder': { keymap: ReactNode /* string */ }; - 'agentflow_addbot_published_time': { time: ReactNode /* string */ }; - 'analytic_query_detail_tips_for_outputmode': { outputMode: ReactNode /* string */ }; - 'analytic_query_detail_topology_tooltip': { errorCount: ReactNode /* string */, callCount: ReactNode /* string */ }; - 'analytic_query_export_content': { maxExportCount: ReactNode /* string */, selectedExportCount: ReactNode /* string */ }; - 'analytic_query_security_verify_context': { agreementName: ReactNode /* string */ }; - 'analytics_overview_total_count': { count: ReactNode /* string */ }; - 'analytics_query_invoke': { name: ReactNode /* string */ }; - 'analytics_timepicker_last_days': { count: ReactNode /* string */ }; - 'analytics_timepicker_last_months': { count: ReactNode /* string */ }; - 'analytics_timepicker_last_weeks': { count: ReactNode /* string */ }; - 'api_analytics_err_code_dist_detail': { coze_err_code: ReactNode /* string */ }; - 'api_analytics_previcus_x_days': { num: ReactNode /* string */ }; - 'api_analytics_x_days': { num: ReactNode /* string */ }; - 'api_playground_add_params': { param: ReactNode /* string */ }; - 'api_playground_notification': { doc_link: ReactNode /* string */ }; - 'api_sdk_published': { coze_token: ReactNode /* string */ }; - 'app_auth_error_tips': { coze_docs: ReactNode /* string */ }; - 'app_publish_sdk_step_1': { doc_link: ReactNode /* string */ }; - 'apps_auth_app_name': { app_name: ReactNode /* string */ }; - 'apps_config_pp_tips': { coze_docs: ReactNode /* string */ }; - 'audit_unsuccess_general_type': { link: ReactNode /* string */ }; - 'auth_apps_notice': { auth_docs: ReactNode /* string */ }; - 'auth_service_token_1': { date: ReactNode /* string */ }; - 'binding_array_data_label': { key: ReactNode /* string */ }; - 'binding_array_item_placeholder': { key: ReactNode /* string */ }; - 'binding_array_item_verify': { key: ReactNode /* string */ }; + AddSuccessToast: { name: ReactNode /* string */ }; + Coze_model_cost_coze_token: { count: ReactNode /* string */ }; + Coze_model_cost_input_token: { count: ReactNode /* string */ }; + Coze_model_cost_input_token_m: { count: ReactNode /* string */ }; + Coze_model_cost_output_token: { count: ReactNode /* string */ }; + Coze_model_cost_output_token_m: { count: ReactNode /* string */ }; + Coze_model_cost_token: { count: ReactNode /* string */ }; + Coze_model_cost_token_m: { + count: ReactNode /* string */; + dollar_count: ReactNode /* string */; + }; + Coze_token_body: { num: ReactNode /* number */ }; + Coze_token_history_action_04: { bot_name: ReactNode /* string */ }; + Coze_token_history_action_05: { workflow_name: ReactNode /* string */ }; + Coze_token_history_action_06: { + bot_name: ReactNode /* string */; + publishing_platform_name: ReactNode /* string */; + }; + Coze_token_history_action_09: { bot_name: ReactNode /* string */ }; + Coze_token_history_action_10: { bot_name: ReactNode /* string */ }; + Coze_token_history_action_12: { + used_count: ReactNode /* string */; + total_count: ReactNode /* string */; + }; + Coze_token_history_action_13: { + used_count: ReactNode /* string */; + total_count: ReactNode /* string */; + }; + Coze_token_history_action_14: { + plugin_name: ReactNode /* string */; + workflow_name: ReactNode /* string */; + bot_name: ReactNode /* string */; + }; + Coze_token_history_action_15: { + plugin_name: ReactNode /* string */; + workflow_name: ReactNode /* string */; + bot_name: ReactNode /* string */; + }; + Coze_token_history_action_16: { workflow_name: ReactNode /* string */ }; + Coze_token_history_action_app_1: { + plugin_name: ReactNode /* string */; + workflow_name: ReactNode /* string */; + app_name: ReactNode /* string */; + }; + Coze_token_history_action_app_3: { app_name: ReactNode /* string */ }; + Coze_token_history_action_app_4: { app_name: ReactNode /* string */ }; + Coze_token_history_action_app_5: { app_name: ReactNode /* string */ }; + Coze_token_history_action_app_6: { + app_name: ReactNode /* string */; + publishing_platform_name: ReactNode /* string */; + }; + Coze_token_task_amount: { amount: ReactNode /* string */ }; + Force_check_detail_open_tip: { time: ReactNode /* string */ }; + Force_guide_open_detail: { time: ReactNode /* string */ }; + Force_my_questionnaire_tip: { time: ReactNode /* string */ }; + Force_my_tip_1: { name: ReactNode /* string */ }; + Force_sign_in_tip_detail: { time: ReactNode /* string */ }; + Imageflow_Store_case_popup2: { + entity_type: ReactNode /* string */; + entity_name: ReactNode /* string */; + }; + Imageflow_Store_testrun_expire: { + entity_type: ReactNode /* string */; + entity_name: ReactNode /* string */; + }; + Manual_crawling_017: { version: ReactNode /* string */ }; + Plugin_update_info_text: { + number: ReactNode /* string */; + array: ReactNode /* string */; + }; + account_ban: { uid: ReactNode /* string */ }; + account_merge_oauth_success2: { phone_number: ReactNode /* string */ }; + agent_prompt_editor_insert_placeholder: { keymap: ReactNode /* string */ }; + agentflow_addbot_published_time: { time: ReactNode /* string */ }; + analytic_query_detail_tips_for_outputmode: { + outputMode: ReactNode /* string */; + }; + analytic_query_detail_topology_tooltip: { + errorCount: ReactNode /* string */; + callCount: ReactNode /* string */; + }; + analytic_query_export_content: { + maxExportCount: ReactNode /* string */; + selectedExportCount: ReactNode /* string */; + }; + analytic_query_security_verify_context: { + agreementName: ReactNode /* string */; + }; + analytics_overview_total_count: { count: ReactNode /* string */ }; + analytics_query_invoke: { name: ReactNode /* string */ }; + analytics_timepicker_last_days: { count: ReactNode /* string */ }; + analytics_timepicker_last_months: { count: ReactNode /* string */ }; + analytics_timepicker_last_weeks: { count: ReactNode /* string */ }; + api_analytics_err_code_dist_detail: { coze_err_code: ReactNode /* string */ }; + api_analytics_previcus_x_days: { num: ReactNode /* string */ }; + api_analytics_x_days: { num: ReactNode /* string */ }; + api_playground_add_params: { param: ReactNode /* string */ }; + api_playground_notification: { doc_link: ReactNode /* string */ }; + api_sdk_published: { coze_token: ReactNode /* string */ }; + app_auth_error_tips: { coze_docs: ReactNode /* string */ }; + app_publish_sdk_step_1: { doc_link: ReactNode /* string */ }; + apps_auth_app_name: { app_name: ReactNode /* string */ }; + apps_config_pp_tips: { coze_docs: ReactNode /* string */ }; + audit_unsuccess_general_type: { link: ReactNode /* string */ }; + auth_apps_notice: { auth_docs: ReactNode /* string */ }; + auth_service_token_1: { date: ReactNode /* string */ }; + binding_array_data_label: { key: ReactNode /* string */ }; + binding_array_item_placeholder: { key: ReactNode /* string */ }; + binding_array_item_verify: { key: ReactNode /* string */ }; 'bmv_a_total_of_{num}_whitelisted_users': { num: ReactNode /* string */ }; - 'bmv_gray_publish_help_tooltip': { link: ReactNode /* string */ }; + bmv_gray_publish_help_tooltip: { link: ReactNode /* string */ }; 'bmv_lane_{placeholder1}': { placeholder1: ReactNode /* string */ }; - 'bmv_published_cnt_channels': { cnt: ReactNode /* string */ }; - 'bmv_total_count_of_black_list': { num: ReactNode /* string */ }; - 'bmv_{placeholder0}_there_are_more_than_8_lane_versions__please_modify_the_lane_name_': { placeholder0: ReactNode /* string */ }; - 'bot_autosave_saved': { time: ReactNode /* string */ }; - 'bot_database_add_field': { number: ReactNode /* string */ }; - 'bot_detail_tips_private_knowledge': { num: ReactNode /* string */ }; - 'bot_detail_tips_private_plugin': { num: ReactNode /* string */ }; - 'bot_detail_tips_private_workflow': { num: ReactNode /* string */ }; - 'bot_dev_privacy_setting_privacy_template_2': { privacy_template: ReactNode /* string */ }; - 'bot_edit_available_for_cici': { platform: ReactNode /* string */ }; - 'bot_edit_dataset_added_toast': { dataset_name: ReactNode /* string */ }; - 'bot_edit_dataset_process_error': { file_names: ReactNode /* string */ }; - 'bot_edit_dataset_removed_toast': { dataset_name: ReactNode /* string */ }; - 'bot_edit_page_plugin_list_plugin_has_n_tools': { n: ReactNode /* string */ }; - 'bot_edit_page_plugin_list_plugin_n_bots_using': { n: ReactNode /* string */ }; - 'bot_edit_tool_added_toast': { api_name: ReactNode /* string */ }; - 'bot_edit_tool_added_toast_error': { api_name: ReactNode /* string */ }; - 'bot_edit_tool_removed_toast': { api_name: ReactNode /* string */ }; - 'bot_edit_voices_modal_description': { platform: ReactNode /* string */ }; - 'bot_edit_voices_title_description': { platform: ReactNode /* string */ }; - 'bot_preview_attach': { placeholder: ReactNode /* string */ }; - 'bot_preview_attach_0319': { placeholder: ReactNode /* string */ }; - 'bot_publish_bind_error': { key_name: ReactNode /* string */, bot_name: ReactNode /* string */ }; - 'bot_publish_disconnect': { platform: ReactNode /* string */ }; - 'bot_publish_disconnect_desc': { platform: ReactNode /* string */ }; - 'bot_publish_disconnect_title': { platform: ReactNode /* string */ }; - 'bot_publish_feishu_success_flow': { platform: ReactNode /* string */ }; - 'bot_publish_field_placeholder': { field: ReactNode /* string */ }; - 'bot_publish_flow': { platform: ReactNode /* string */ }; - 'bot_publish_flow_explain': { platform: ReactNode /* string */ }; - 'bot_publish_offline_notice': { platform: ReactNode /* string */ }; - 'bot_publish_offline_notice_no_certain_time': { platform: ReactNode /* string */ }; - 'bot_publish_result_fail_text': { num: ReactNode /* number */ }; - 'bot_publish_result_success_text': { num: ReactNode /* number */ }; - 'bot_publish_select_desc_compliance_new': { publish_terms_title: ReactNode /* string */ }; - 'bot_publish_token_expired_notice': { platform: ReactNode /* string */ }; - 'bot_pulish_offline_modal_title1': { platform: ReactNode /* string */ }; - 'bot_pulish_offline_modal_title2': { platform_number: ReactNode /* string */ }; - 'bot_task_preset_day_of_month': { day: ReactNode /* number */ }; - 'bot_task_preset_day_of_week': { day: ReactNode /* number */ }; - 'bot_task_preset_everyday_task': { time: ReactNode /* string */ }; - 'bot_task_preset_everyweek_task': { time: ReactNode /* string */, day: ReactNode /* string */ }; - 'bot_task_preset_interval_task': { time: ReactNode /* string */, day: ReactNode /* string */ }; - 'bot_task_preset_monthly_task': { time: ReactNode /* string */, day: ReactNode /* number */ }; - 'bot_to_doubao_popup_modle_plugin_unableshare_desc2': { apply_link: ReactNode /* string */ }; - 'bot_to_doubao_popup_plugin_unableshare_desc2': { apply_link: ReactNode /* string */ }; + bmv_published_cnt_channels: { cnt: ReactNode /* string */ }; + bmv_total_count_of_black_list: { num: ReactNode /* string */ }; + 'bmv_{placeholder0}_there_are_more_than_8_lane_versions__please_modify_the_lane_name_': { + placeholder0: ReactNode /* string */; + }; + bot_autosave_saved: { time: ReactNode /* string */ }; + bot_database_add_field: { number: ReactNode /* string */ }; + bot_detail_tips_private_knowledge: { num: ReactNode /* string */ }; + bot_detail_tips_private_plugin: { num: ReactNode /* string */ }; + bot_detail_tips_private_workflow: { num: ReactNode /* string */ }; + bot_dev_privacy_setting_privacy_template_2: { + privacy_template: ReactNode /* string */; + }; + bot_edit_available_for_cici: { platform: ReactNode /* string */ }; + bot_edit_dataset_added_toast: { dataset_name: ReactNode /* string */ }; + bot_edit_dataset_process_error: { file_names: ReactNode /* string */ }; + bot_edit_dataset_removed_toast: { dataset_name: ReactNode /* string */ }; + bot_edit_page_plugin_list_plugin_has_n_tools: { n: ReactNode /* string */ }; + bot_edit_page_plugin_list_plugin_n_bots_using: { n: ReactNode /* string */ }; + bot_edit_tool_added_toast: { api_name: ReactNode /* string */ }; + bot_edit_tool_added_toast_error: { api_name: ReactNode /* string */ }; + bot_edit_tool_removed_toast: { api_name: ReactNode /* string */ }; + bot_edit_voices_modal_description: { platform: ReactNode /* string */ }; + bot_edit_voices_title_description: { platform: ReactNode /* string */ }; + bot_preview_attach: { placeholder: ReactNode /* string */ }; + bot_preview_attach_0319: { placeholder: ReactNode /* string */ }; + bot_publish_bind_error: { + key_name: ReactNode /* string */; + bot_name: ReactNode /* string */; + }; + bot_publish_disconnect: { platform: ReactNode /* string */ }; + bot_publish_disconnect_desc: { platform: ReactNode /* string */ }; + bot_publish_disconnect_title: { platform: ReactNode /* string */ }; + bot_publish_feishu_success_flow: { platform: ReactNode /* string */ }; + bot_publish_field_placeholder: { field: ReactNode /* string */ }; + bot_publish_flow: { platform: ReactNode /* string */ }; + bot_publish_flow_explain: { platform: ReactNode /* string */ }; + bot_publish_offline_notice: { platform: ReactNode /* string */ }; + bot_publish_offline_notice_no_certain_time: { + platform: ReactNode /* string */; + }; + bot_publish_result_fail_text: { num: ReactNode /* number */ }; + bot_publish_result_success_text: { num: ReactNode /* number */ }; + bot_publish_select_desc_compliance_new: { + publish_terms_title: ReactNode /* string */; + }; + bot_publish_token_expired_notice: { platform: ReactNode /* string */ }; + bot_pulish_offline_modal_title1: { platform: ReactNode /* string */ }; + bot_pulish_offline_modal_title2: { platform_number: ReactNode /* string */ }; + bot_task_preset_day_of_month: { day: ReactNode /* number */ }; + bot_task_preset_day_of_week: { day: ReactNode /* number */ }; + bot_task_preset_everyday_task: { time: ReactNode /* string */ }; + bot_task_preset_everyweek_task: { + time: ReactNode /* string */; + day: ReactNode /* string */; + }; + bot_task_preset_interval_task: { + time: ReactNode /* string */; + day: ReactNode /* string */; + }; + bot_task_preset_monthly_task: { + time: ReactNode /* string */; + day: ReactNode /* number */; + }; + bot_to_doubao_popup_modle_plugin_unableshare_desc2: { + apply_link: ReactNode /* string */; + }; + bot_to_doubao_popup_plugin_unableshare_desc2: { + apply_link: ReactNode /* string */; + }; 'bound_{page}': { page: ReactNode /* string */ }; - 'builder_preview_channel': { channel: ReactNode /* string */ }; - 'builder_preview_doubao': { channel: ReactNode /* string */ }; - 'builder_preview_no_component': { channel: ReactNode /* string */ }; - 'bz_add_coop_failed': { max_coop: ReactNode /* string */ }; - 'bz_batch_add_limit_20': { limit_cnt: ReactNode /* string */ }; - 'bz_coop_limit_reached_upgrade_for_more': { type_name: ReactNode /* string */ }; - 'bz_coop_upgrade_for_more': { max_coop: ReactNode /* string */ }; - 'bz_max_cnt_bots_or_workflows': { max_cnt: ReactNode /* string */ }; - 'bz_max_coop_collaborators': { max_coop: ReactNode /* string */ }; - 'bz_reache_max': { max_cnt: ReactNode /* string */, type_name: ReactNode /* string */ }; - 'bz_reache_max2': { enable_cnt: ReactNode /* string */, type_name: ReactNode /* string */, max_cnt: ReactNode /* string */ }; - 'card_builder_api_add_apiCategory': { name: ReactNode /* string */ }; - 'card_builder_api_add_config': { type: ReactNode /* string */, name: ReactNode /* string */ }; - 'card_builder_api_add_request': { name: ReactNode /* string */ }; - 'card_builder_api_copy_config': { type: ReactNode /* string */, name: ReactNode /* string */ }; - 'card_builder_api_copy_request': { name: ReactNode /* string */ }; - 'card_builder_api_delete_apiCategory': { name: ReactNode /* string */ }; - 'card_builder_api_delete_config': { name: ReactNode /* string */ }; - 'card_builder_api_delete_request': { name: ReactNode /* string */ }; - 'card_builder_api_httpConfig_save_error': { name: ReactNode /* string */ }; - 'card_builder_api_httpConfig_save_success': { name: ReactNode /* string */ }; - 'card_builder_api_http_var_name': { name: ReactNode /* string */ }; - 'card_builder_api_list_item_delete_content': { name: ReactNode /* string */ }; - 'card_builder_api_rpcConfig_save_error': { name: ReactNode /* string */ }; - 'card_builder_api_rpcConfig_save_success': { name: ReactNode /* string */ }; - 'card_builder_api_rpc_delete_success': { name: ReactNode /* string */ }; - 'card_builder_api_rpc_response_columns_data': { name: ReactNode /* string */ }; - 'card_builder_api_rpc_save_error': { name: ReactNode /* string */ }; - 'card_builder_api_rpc_save_success': { name: ReactNode /* string */ }; - 'card_builder_api_update_apiCategory': { name: ReactNode /* string */, rename: ReactNode /* string */ }; - 'card_builder_api_update_config': { name: ReactNode /* string */ }; - 'card_builder_api_update_request': { name: ReactNode /* string */ }; - 'card_builder_atomAction_add_slotBlock_title': { name: ReactNode /* string */ }; - 'card_builder_atomAction_destroy_block': { name: ReactNode /* string */ }; - 'card_builder_atomAction_redo_action': { text: ReactNode /* string */ }; - 'card_builder_atomAction_undo_action': { text: ReactNode /* string */ }; - 'card_builder_atomAction_update_blockAdvancedValue': { fieldName: ReactNode /* string */, name: ReactNode /* string */ }; - 'card_builder_atomAction_update_blockLogicValue': { fieldName: ReactNode /* string */, name: ReactNode /* string */ }; - 'card_builder_atomAction_update_blockPosition': { name: ReactNode /* string */ }; - 'card_builder_atomAction_update_blockPropsValue': { fieldName: ReactNode /* string */, name: ReactNode /* string */ }; - 'card_builder_atomAction_update_blockTitleValue': { name: ReactNode /* string */, title: ReactNode /* string */ }; - 'card_builder_atomAction_update_blockWorkspacePropsValue': { desc: ReactNode /* string */ }; - 'card_builder_atomAction_update_slotPropsValue': { fieldName: ReactNode /* string */, slotName: ReactNode /* string */, blockName: ReactNode /* string */ }; - 'card_builder_audit_banner_pending_text': { version: ReactNode /* string */ }; - 'card_builder_audit_banner_rejected_text': { version: ReactNode /* string */ }; - 'card_builder_builder_preview_channel': { channel: ReactNode /* string */ }; - 'card_builder_builder_preview_doubao': { channel: ReactNode /* string */ }; - 'card_builder_builder_preview_no_component': { channel: ReactNode /* string */ }; - 'card_builder_builder_publish_version_verify_compare': { lastVersion: ReactNode /* string */ }; - 'card_builder_builtinLogic_editor_tip': { pageTitle: ReactNode /* string */ }; - 'card_builder_codeIn_update_blocksInfo': { elementType: ReactNode /* string */ }; - 'card_builder_codeIn_update_blocksVersion': { pkgName: ReactNode /* string */, version: ReactNode /* string */ }; - 'card_builder_compList_panel_block_number': { count: ReactNode /* string */ }; - 'card_builder_compList_panel_block_number_selected': { count: ReactNode /* string */ }; - 'card_builder_compList_panel_block_selected_block_number': { count: ReactNode /* string */ }; - 'card_builder_compList_panel_block_selected_package_number': { count: ReactNode /* string */ }; - 'card_builder_compList_panel_category_hidden': { count: ReactNode /* string */ }; - 'card_builder_copilot_create_snapshot_desc': { text: ReactNode /* string */ }; - 'card_builder_coworkInfo_user_editing': { user: ReactNode /* string */ }; - 'card_builder_coworkInfo_user_viewing': { user: ReactNode /* string */ }; - 'card_builder_depsManager_atomAction_deleteBlock': { pkgName: ReactNode /* string */ }; - 'card_builder_depsManager_atomAction_updateBlock': { pkgName: ReactNode /* string */, version: ReactNode /* string */, targetVersion: ReactNode /* string */ }; - 'card_builder_depsManager_panel_block_number': { count: ReactNode /* string */ }; - 'card_builder_depsManager_panel_block_update_content': { updateVersion: ReactNode /* string */ }; - 'card_builder_envs_add_env': { name: ReactNode /* string */ }; - 'card_builder_envs_add_var': { var: ReactNode /* string */, env: ReactNode /* string */ }; - 'card_builder_envs_copy_env': { name: ReactNode /* string */ }; - 'card_builder_envs_delete_env': { name: ReactNode /* string */ }; - 'card_builder_envs_delete_var': { var: ReactNode /* string */, env: ReactNode /* string */ }; - 'card_builder_envs_import_var': { name: ReactNode /* string */ }; - 'card_builder_envs_list_delete_content': { name: ReactNode /* string */ }; - 'card_builder_envs_update_env': { name: ReactNode /* string */ }; - 'card_builder_envs_update_var': { var: ReactNode /* string */, env: ReactNode /* string */ }; - 'card_builder_envs_var_list_delete_content': { name: ReactNode /* string */ }; - 'card_builder_envs_var_panel_delete_content': { name: ReactNode /* string */ }; - 'card_builder_history_create_snapshot_desc': { text: ReactNode /* string */ }; - 'card_builder_history_snapshot_create_desc': { text: ReactNode /* string */ }; - 'card_builder_history_snapshot_restore': { text: ReactNode /* string */ }; - 'card_builder_history_userAction_list_page': { label: ReactNode /* string */ }; - 'card_builder_history_userAction_restore': { text: ReactNode /* string */ }; - 'card_builder_logicFlow_list_delete_content': { name: ReactNode /* string */ }; - 'card_builder_logicFlow_userAction_addLogic': { name: ReactNode /* string */ }; - 'card_builder_logicFlow_userAction_copyLogic': { oldName: ReactNode /* string */, newName: ReactNode /* string */ }; - 'card_builder_logicFlow_userAction_deleteGroup': { title: ReactNode /* string */ }; - 'card_builder_logicFlow_userAction_deleteLogic': { name: ReactNode /* string */ }; - 'card_builder_logicFlow_userAction_updateGroup': { title: ReactNode /* string */ }; - 'card_builder_logicFlow_userAction_updateLogic': { name: ReactNode /* string */ }; - 'card_builder_pageManager_add_dir': { name: ReactNode /* string */ }; - 'card_builder_pageManager_add_page': { name: ReactNode /* string */ }; - 'card_builder_pageManager_copy_page': { name: ReactNode /* string */ }; - 'card_builder_pageManager_create_name_label': { name: ReactNode /* string */ }; - 'card_builder_pageManager_create_path_label': { name: ReactNode /* string */ }; - 'card_builder_pageManager_delete_content': { name: ReactNode /* string */ }; - 'card_builder_pageManager_delete_dir': { name: ReactNode /* string */ }; - 'card_builder_pageManager_delete_page': { name: ReactNode /* string */ }; - 'card_builder_pageManager_move_dir': { srcName: ReactNode /* string */ }; - 'card_builder_pageManager_move_page': { srcName: ReactNode /* string */ }; - 'card_builder_pageManager_update_dir': { name: ReactNode /* string */ }; - 'card_builder_pageManager_update_page': { name: ReactNode /* string */ }; - 'card_builder_plural': { num: ReactNode /* number */ }; - 'card_builder_redoUndo_error': { type: ReactNode /* string */ }; - 'card_builder_releaseBtn_releaseApp_error': { message: ReactNode /* string */ }; - 'card_builder_releaseBtn_releaseApp_pkgMode_rec': { name: ReactNode /* string */ }; - 'card_builder_sandbox_cowork_restore_content': { operator: ReactNode /* string */ }; - 'card_builder_slot_formula_block_title': { slotTitle: ReactNode /* string */, blockTitle: ReactNode /* string */ }; - 'card_builder_template_create_snapshot_desc': { text: ReactNode /* string */ }; - 'card_builder_userFunc_list_item_delete_content': { name: ReactNode /* string */ }; - 'card_builder_userFunc_userAction_addFunc': { name: ReactNode /* string */ }; - 'card_builder_userFunc_userAction_copyFunc': { oldName: ReactNode /* string */, newName: ReactNode /* string */ }; - 'card_builder_userFunc_userAction_deleteFunc': { name: ReactNode /* string */ }; - 'card_builder_userFunc_userAction_editFunc': { name: ReactNode /* string */ }; - 'card_builder_userFunc_userAction_updateFunc': { name: ReactNode /* string */ }; - 'card_builder_userVar_delete_content': { name: ReactNode /* string */ }; - 'card_builder_userVar_formula_app': { name: ReactNode /* string */ }; - 'card_builder_userVar_formula_page': { name: ReactNode /* string */ }; - 'card_builder_userVar_userAction_addVar': { name: ReactNode /* string */ }; - 'card_builder_userVar_userAction_copyVar': { oldName: ReactNode /* string */, newName: ReactNode /* string */ }; - 'card_builder_userVar_userAction_deleteVar': { name: ReactNode /* string */ }; - 'card_builder_userVar_userAction_editVar': { name: ReactNode /* string */ }; - 'card_builder_userVar_userAction_updateVar': { name: ReactNode /* string */ }; - 'card_custom_bind_data_to_element': { data_element: ReactNode /* string */ }; - 'card_custom_bind_data_to_list': { card_list_name: ReactNode /* string */ }; - 'card_custom_code_caution': { cici_or_doubao: ReactNode /* string */ }; - 'card_custom_tips_content_b': { bot_studio_name: ReactNode /* string */ }; - 'card_list_bind_placeholder': { key: ReactNode /* string */ }; - 'card_not_support_max_list': { num: ReactNode /* string */ }; - 'card_select_path_placeholder': { path: ReactNode /* string */ }; - 'card_update_step_title': { name: ReactNode /* string */ }; - 'chatInitRetry': { retry: ReactNode /* string */ }; - 'chat_geolocation_auth_allow_tip': { plugin: ReactNode /* string */ }; - 'chat_geolocation_auth_decline_tip': { plugin: ReactNode /* string */ }; - 'chat_geolocation_auth_request_message': { plugin_name: ReactNode /* string */ }; - 'chatflow_agent_input_placeholder': { text: ReactNode /* string */ }; - 'chatflow_agent_toast_feedback_fail': { feedback: ReactNode /* string */ }; - 'chatflow_agent_toast_feedback_success': { feedback: ReactNode /* string */ }; - 'chatflow_preview_take_over': { agentName: ReactNode /* string */ }; - 'coding_ability_leaderboard_top_n': { n: ReactNode /* string */ }; - 'coding_ability_leaderboard_top_n_explain': { n: ReactNode /* string */ }; - 'collaborate_collaborater_added_partial_toast': { users: ReactNode /* string */ }; - 'collaborate_collaborater_count': { number_of_collaborators: ReactNode /* string */ }; - 'collaborate_collaborater_count_1': { number_of_collaborators: ReactNode /* string */ }; - 'collaborate_collaborater_owner_tooltip': { username: ReactNode /* string */ }; - 'community_Button_view_all_comments': { comment_num: ReactNode /* string */ }; - 'community_Image_uploading': { upload_num: ReactNode /* string */, total_num: ReactNode /* string */ }; - 'community_Please_enter_add_a_comment': { user_name: ReactNode /* string */ }; - 'community_Please_enter_please_enter_your_comment': { user_name: ReactNode /* string */ }; - 'community_Subtitle_comments': { num: ReactNode /* number */ }; - 'community_notification_app_msg_plural': { count: ReactNode /* string */, project_name: ReactNode /* string */ }; - 'community_notification_bot_msg': { bot_name: ReactNode /* string */, num: ReactNode /* string */ }; - 'community_notification_bot_msg_plural': { num: ReactNode /* number */ }; - 'community_notification_comment_msg': { num: ReactNode /* string */, post_title: ReactNode /* string */ }; - 'community_notification_comment_msg_plural': { num: ReactNode /* number */ }; - 'community_notification_post_msg': { post_title: ReactNode /* string */, num: ReactNode /* string */ }; - 'community_notification_post_msg_plural': { num: ReactNode /* number */ }; - 'community_notification_template_msg_plural': { count: ReactNode /* string */, entity_name: ReactNode /* string */ }; - 'community_num_comment': { comment_num: ReactNode /* string */ }; - 'community_num_comments': { comment_num: ReactNode /* string */ }; - 'community_share_conver_title': { bot_name: ReactNode /* string */ }; - 'community_time_date': { mm: ReactNode /* string */, dd: ReactNode /* string */, yyyy: ReactNode /* string */ }; - 'community_time_day': { n: ReactNode /* string */ }; - 'community_time_hour': { n: ReactNode /* string */ }; - 'community_time_min': { n: ReactNode /* string */ }; + builder_preview_channel: { channel: ReactNode /* string */ }; + builder_preview_doubao: { channel: ReactNode /* string */ }; + builder_preview_no_component: { channel: ReactNode /* string */ }; + bz_add_coop_failed: { max_coop: ReactNode /* string */ }; + bz_batch_add_limit_20: { limit_cnt: ReactNode /* string */ }; + bz_coop_limit_reached_upgrade_for_more: { type_name: ReactNode /* string */ }; + bz_coop_upgrade_for_more: { max_coop: ReactNode /* string */ }; + bz_max_cnt_bots_or_workflows: { max_cnt: ReactNode /* string */ }; + bz_max_coop_collaborators: { max_coop: ReactNode /* string */ }; + bz_reache_max: { + max_cnt: ReactNode /* string */; + type_name: ReactNode /* string */; + }; + bz_reache_max2: { + enable_cnt: ReactNode /* string */; + type_name: ReactNode /* string */; + max_cnt: ReactNode /* string */; + }; + card_builder_api_add_apiCategory: { name: ReactNode /* string */ }; + card_builder_api_add_config: { + type: ReactNode /* string */; + name: ReactNode /* string */; + }; + card_builder_api_add_request: { name: ReactNode /* string */ }; + card_builder_api_copy_config: { + type: ReactNode /* string */; + name: ReactNode /* string */; + }; + card_builder_api_copy_request: { name: ReactNode /* string */ }; + card_builder_api_delete_apiCategory: { name: ReactNode /* string */ }; + card_builder_api_delete_config: { name: ReactNode /* string */ }; + card_builder_api_delete_request: { name: ReactNode /* string */ }; + card_builder_api_httpConfig_save_error: { name: ReactNode /* string */ }; + card_builder_api_httpConfig_save_success: { name: ReactNode /* string */ }; + card_builder_api_http_var_name: { name: ReactNode /* string */ }; + card_builder_api_list_item_delete_content: { name: ReactNode /* string */ }; + card_builder_api_rpcConfig_save_error: { name: ReactNode /* string */ }; + card_builder_api_rpcConfig_save_success: { name: ReactNode /* string */ }; + card_builder_api_rpc_delete_success: { name: ReactNode /* string */ }; + card_builder_api_rpc_response_columns_data: { name: ReactNode /* string */ }; + card_builder_api_rpc_save_error: { name: ReactNode /* string */ }; + card_builder_api_rpc_save_success: { name: ReactNode /* string */ }; + card_builder_api_update_apiCategory: { + name: ReactNode /* string */; + rename: ReactNode /* string */; + }; + card_builder_api_update_config: { name: ReactNode /* string */ }; + card_builder_api_update_request: { name: ReactNode /* string */ }; + card_builder_atomAction_add_slotBlock_title: { name: ReactNode /* string */ }; + card_builder_atomAction_destroy_block: { name: ReactNode /* string */ }; + card_builder_atomAction_redo_action: { text: ReactNode /* string */ }; + card_builder_atomAction_undo_action: { text: ReactNode /* string */ }; + card_builder_atomAction_update_blockAdvancedValue: { + fieldName: ReactNode /* string */; + name: ReactNode /* string */; + }; + card_builder_atomAction_update_blockLogicValue: { + fieldName: ReactNode /* string */; + name: ReactNode /* string */; + }; + card_builder_atomAction_update_blockPosition: { + name: ReactNode /* string */; + }; + card_builder_atomAction_update_blockPropsValue: { + fieldName: ReactNode /* string */; + name: ReactNode /* string */; + }; + card_builder_atomAction_update_blockTitleValue: { + name: ReactNode /* string */; + title: ReactNode /* string */; + }; + card_builder_atomAction_update_blockWorkspacePropsValue: { + desc: ReactNode /* string */; + }; + card_builder_atomAction_update_slotPropsValue: { + fieldName: ReactNode /* string */; + slotName: ReactNode /* string */; + blockName: ReactNode /* string */; + }; + card_builder_audit_banner_pending_text: { version: ReactNode /* string */ }; + card_builder_audit_banner_rejected_text: { version: ReactNode /* string */ }; + card_builder_builder_preview_channel: { channel: ReactNode /* string */ }; + card_builder_builder_preview_doubao: { channel: ReactNode /* string */ }; + card_builder_builder_preview_no_component: { + channel: ReactNode /* string */; + }; + card_builder_builder_publish_version_verify_compare: { + lastVersion: ReactNode /* string */; + }; + card_builder_builtinLogic_editor_tip: { pageTitle: ReactNode /* string */ }; + card_builder_codeIn_update_blocksInfo: { + elementType: ReactNode /* string */; + }; + card_builder_codeIn_update_blocksVersion: { + pkgName: ReactNode /* string */; + version: ReactNode /* string */; + }; + card_builder_compList_panel_block_number: { count: ReactNode /* string */ }; + card_builder_compList_panel_block_number_selected: { + count: ReactNode /* string */; + }; + card_builder_compList_panel_block_selected_block_number: { + count: ReactNode /* string */; + }; + card_builder_compList_panel_block_selected_package_number: { + count: ReactNode /* string */; + }; + card_builder_compList_panel_category_hidden: { + count: ReactNode /* string */; + }; + card_builder_copilot_create_snapshot_desc: { text: ReactNode /* string */ }; + card_builder_coworkInfo_user_editing: { user: ReactNode /* string */ }; + card_builder_coworkInfo_user_viewing: { user: ReactNode /* string */ }; + card_builder_depsManager_atomAction_deleteBlock: { + pkgName: ReactNode /* string */; + }; + card_builder_depsManager_atomAction_updateBlock: { + pkgName: ReactNode /* string */; + version: ReactNode /* string */; + targetVersion: ReactNode /* string */; + }; + card_builder_depsManager_panel_block_number: { + count: ReactNode /* string */; + }; + card_builder_depsManager_panel_block_update_content: { + updateVersion: ReactNode /* string */; + }; + card_builder_envs_add_env: { name: ReactNode /* string */ }; + card_builder_envs_add_var: { + var: ReactNode /* string */; + env: ReactNode /* string */; + }; + card_builder_envs_copy_env: { name: ReactNode /* string */ }; + card_builder_envs_delete_env: { name: ReactNode /* string */ }; + card_builder_envs_delete_var: { + var: ReactNode /* string */; + env: ReactNode /* string */; + }; + card_builder_envs_import_var: { name: ReactNode /* string */ }; + card_builder_envs_list_delete_content: { name: ReactNode /* string */ }; + card_builder_envs_update_env: { name: ReactNode /* string */ }; + card_builder_envs_update_var: { + var: ReactNode /* string */; + env: ReactNode /* string */; + }; + card_builder_envs_var_list_delete_content: { name: ReactNode /* string */ }; + card_builder_envs_var_panel_delete_content: { name: ReactNode /* string */ }; + card_builder_history_create_snapshot_desc: { text: ReactNode /* string */ }; + card_builder_history_snapshot_create_desc: { text: ReactNode /* string */ }; + card_builder_history_snapshot_restore: { text: ReactNode /* string */ }; + card_builder_history_userAction_list_page: { label: ReactNode /* string */ }; + card_builder_history_userAction_restore: { text: ReactNode /* string */ }; + card_builder_logicFlow_list_delete_content: { name: ReactNode /* string */ }; + card_builder_logicFlow_userAction_addLogic: { name: ReactNode /* string */ }; + card_builder_logicFlow_userAction_copyLogic: { + oldName: ReactNode /* string */; + newName: ReactNode /* string */; + }; + card_builder_logicFlow_userAction_deleteGroup: { + title: ReactNode /* string */; + }; + card_builder_logicFlow_userAction_deleteLogic: { + name: ReactNode /* string */; + }; + card_builder_logicFlow_userAction_updateGroup: { + title: ReactNode /* string */; + }; + card_builder_logicFlow_userAction_updateLogic: { + name: ReactNode /* string */; + }; + card_builder_pageManager_add_dir: { name: ReactNode /* string */ }; + card_builder_pageManager_add_page: { name: ReactNode /* string */ }; + card_builder_pageManager_copy_page: { name: ReactNode /* string */ }; + card_builder_pageManager_create_name_label: { name: ReactNode /* string */ }; + card_builder_pageManager_create_path_label: { name: ReactNode /* string */ }; + card_builder_pageManager_delete_content: { name: ReactNode /* string */ }; + card_builder_pageManager_delete_dir: { name: ReactNode /* string */ }; + card_builder_pageManager_delete_page: { name: ReactNode /* string */ }; + card_builder_pageManager_move_dir: { srcName: ReactNode /* string */ }; + card_builder_pageManager_move_page: { srcName: ReactNode /* string */ }; + card_builder_pageManager_update_dir: { name: ReactNode /* string */ }; + card_builder_pageManager_update_page: { name: ReactNode /* string */ }; + card_builder_plural: { num: ReactNode /* number */ }; + card_builder_redoUndo_error: { type: ReactNode /* string */ }; + card_builder_releaseBtn_releaseApp_error: { message: ReactNode /* string */ }; + card_builder_releaseBtn_releaseApp_pkgMode_rec: { + name: ReactNode /* string */; + }; + card_builder_sandbox_cowork_restore_content: { + operator: ReactNode /* string */; + }; + card_builder_slot_formula_block_title: { + slotTitle: ReactNode /* string */; + blockTitle: ReactNode /* string */; + }; + card_builder_template_create_snapshot_desc: { text: ReactNode /* string */ }; + card_builder_userFunc_list_item_delete_content: { + name: ReactNode /* string */; + }; + card_builder_userFunc_userAction_addFunc: { name: ReactNode /* string */ }; + card_builder_userFunc_userAction_copyFunc: { + oldName: ReactNode /* string */; + newName: ReactNode /* string */; + }; + card_builder_userFunc_userAction_deleteFunc: { name: ReactNode /* string */ }; + card_builder_userFunc_userAction_editFunc: { name: ReactNode /* string */ }; + card_builder_userFunc_userAction_updateFunc: { name: ReactNode /* string */ }; + card_builder_userVar_delete_content: { name: ReactNode /* string */ }; + card_builder_userVar_formula_app: { name: ReactNode /* string */ }; + card_builder_userVar_formula_page: { name: ReactNode /* string */ }; + card_builder_userVar_userAction_addVar: { name: ReactNode /* string */ }; + card_builder_userVar_userAction_copyVar: { + oldName: ReactNode /* string */; + newName: ReactNode /* string */; + }; + card_builder_userVar_userAction_deleteVar: { name: ReactNode /* string */ }; + card_builder_userVar_userAction_editVar: { name: ReactNode /* string */ }; + card_builder_userVar_userAction_updateVar: { name: ReactNode /* string */ }; + card_custom_bind_data_to_element: { data_element: ReactNode /* string */ }; + card_custom_bind_data_to_list: { card_list_name: ReactNode /* string */ }; + card_custom_code_caution: { cici_or_doubao: ReactNode /* string */ }; + card_custom_tips_content_b: { bot_studio_name: ReactNode /* string */ }; + card_list_bind_placeholder: { key: ReactNode /* string */ }; + card_not_support_max_list: { num: ReactNode /* string */ }; + card_select_path_placeholder: { path: ReactNode /* string */ }; + card_update_step_title: { name: ReactNode /* string */ }; + chatInitRetry: { retry: ReactNode /* string */ }; + chat_geolocation_auth_allow_tip: { plugin: ReactNode /* string */ }; + chat_geolocation_auth_decline_tip: { plugin: ReactNode /* string */ }; + chat_geolocation_auth_request_message: { + plugin_name: ReactNode /* string */; + }; + chatflow_agent_input_placeholder: { text: ReactNode /* string */ }; + chatflow_agent_toast_feedback_fail: { feedback: ReactNode /* string */ }; + chatflow_agent_toast_feedback_success: { feedback: ReactNode /* string */ }; + chatflow_preview_take_over: { agentName: ReactNode /* string */ }; + coding_ability_leaderboard_top_n: { n: ReactNode /* string */ }; + coding_ability_leaderboard_top_n_explain: { n: ReactNode /* string */ }; + collaborate_collaborater_added_partial_toast: { + users: ReactNode /* string */; + }; + collaborate_collaborater_count: { + number_of_collaborators: ReactNode /* string */; + }; + collaborate_collaborater_count_1: { + number_of_collaborators: ReactNode /* string */; + }; + collaborate_collaborater_owner_tooltip: { username: ReactNode /* string */ }; + community_Button_view_all_comments: { comment_num: ReactNode /* string */ }; + community_Image_uploading: { + upload_num: ReactNode /* string */; + total_num: ReactNode /* string */; + }; + community_Please_enter_add_a_comment: { user_name: ReactNode /* string */ }; + community_Please_enter_please_enter_your_comment: { + user_name: ReactNode /* string */; + }; + community_Subtitle_comments: { num: ReactNode /* number */ }; + community_notification_app_msg_plural: { + count: ReactNode /* string */; + project_name: ReactNode /* string */; + }; + community_notification_bot_msg: { + bot_name: ReactNode /* string */; + num: ReactNode /* string */; + }; + community_notification_bot_msg_plural: { num: ReactNode /* number */ }; + community_notification_comment_msg: { + num: ReactNode /* string */; + post_title: ReactNode /* string */; + }; + community_notification_comment_msg_plural: { num: ReactNode /* number */ }; + community_notification_post_msg: { + post_title: ReactNode /* string */; + num: ReactNode /* string */; + }; + community_notification_post_msg_plural: { num: ReactNode /* number */ }; + community_notification_template_msg_plural: { + count: ReactNode /* string */; + entity_name: ReactNode /* string */; + }; + community_num_comment: { comment_num: ReactNode /* string */ }; + community_num_comments: { comment_num: ReactNode /* string */ }; + community_share_conver_title: { bot_name: ReactNode /* string */ }; + community_time_date: { + mm: ReactNode /* string */; + dd: ReactNode /* string */; + yyyy: ReactNode /* string */; + }; + community_time_day: { n: ReactNode /* string */ }; + community_time_hour: { n: ReactNode /* string */ }; + community_time_min: { n: ReactNode /* string */ }; 'confirm_binding_{label}?': { label: ReactNode /* string */ }; - 'confirm_switch_to_on_demand_call': { call_method: ReactNode /* string */ }; - 'content_creation_leaderboard_top_n': { n: ReactNode /* string */ }; - 'content_creation_leaderboard_top_n_explain': { n: ReactNode /* string */ }; - 'cookie_EU_1st_pop': { cookie_policy: ReactNode /* string */ }; - 'cookie_EU_manage_page_content': { cookie_policy: ReactNode /* string */ }; - 'cookie_non_EU_pop': { cookie_policy: ReactNode /* string */ }; - 'coze_cn_redirect': { seconds: ReactNode /* string */ }; - 'coze_collaborator_limit_reached': { url: ReactNode /* string */ }; - 'coze_count_yuan_1': { count: ReactNode /* string */ }; - 'coze_discount_rate': { discount: ReactNode /* string */ }; - 'coze_effective_period': { start: ReactNode /* string */, end: ReactNode /* string */ }; - 'coze_exceed_plan_capacity': { storage: ReactNode /* string */ }; - 'coze_expiration_date': { time: ReactNode /* string */ }; - 'coze_fee_description': { type: ReactNode /* string */ }; - 'coze_free_points_tips': { count: ReactNode /* string */ }; - 'coze_model_tpm_rpm_violation_count': { count: ReactNode /* string */ }; - 'coze_model_tpm_violation_count': { count: ReactNode /* string */ }; - 'coze_original_price': { price: ReactNode /* string */ }; - 'coze_plan_effetive_tips': { plan: ReactNode /* string */ }; - 'coze_plan_more_benefits': { name: ReactNode /* string */ }; - 'coze_plan_overdue': { username: ReactNode /* string */ }; - 'coze_points': { points: ReactNode /* string */ }; - 'coze_points_buy_1000': { buy: ReactNode /* string */ }; - 'coze_points_buy_110000': { buy: ReactNode /* string */ }; - 'coze_premium_credits_reset': { counts: ReactNode /* string */ }; - 'coze_pro_4': { price: ReactNode /* string */ }; - 'coze_pro_des': { link: ReactNode /* string */ }; - 'coze_pro_migration_12': { username: ReactNode /* string */ }; - 'coze_pro_resource_balance_count': { count: ReactNode /* string */ }; - 'coze_quota_exemption_notice': { link: ReactNode /* string */ }; - 'coze_recent_activation': { time: ReactNode /* string */ }; - 'coze_remaining_points': { points: ReactNode /* string */ }; - 'coze_resource_balance_count': { count: ReactNode /* string */ }; - 'coze_resource_pack_discount': { discount: ReactNode /* string */ }; - 'coze_save_amount': { price: ReactNode /* string */ }; - 'coze_storage_over_limit': { storage1: ReactNode /* string */, storage2: ReactNode /* string */, storage3: ReactNode /* string */ }; - 'coze_storage_usage': { storage1: ReactNode /* string */, storage2: ReactNode /* string */ }; - 'coze_subscribed': { plan: ReactNode /* string */ }; - 'coze_team_creation_limit_reached': { url: ReactNode /* string */ }; - 'coze_token_plugin_section_table_usage_unit': { number: ReactNode /* string */ }; - 'coze_upgrade_to_any': { name: ReactNode /* string */ }; - 'coze_value_count_yuan_1': { count: ReactNode /* string */ }; - 'coze_voice_clone_expansion': { link: ReactNode /* string */ }; - 'coze_voice_remaining_quota': { count: ReactNode /* string */ }; + confirm_switch_to_on_demand_call: { call_method: ReactNode /* string */ }; + content_creation_leaderboard_top_n: { n: ReactNode /* string */ }; + content_creation_leaderboard_top_n_explain: { n: ReactNode /* string */ }; + cookie_EU_1st_pop: { cookie_policy: ReactNode /* string */ }; + cookie_EU_manage_page_content: { cookie_policy: ReactNode /* string */ }; + cookie_non_EU_pop: { cookie_policy: ReactNode /* string */ }; + coze_cn_redirect: { seconds: ReactNode /* string */ }; + coze_collaborator_limit_reached: { url: ReactNode /* string */ }; + coze_count_yuan_1: { count: ReactNode /* string */ }; + coze_discount_rate: { discount: ReactNode /* string */ }; + coze_effective_period: { + start: ReactNode /* string */; + end: ReactNode /* string */; + }; + coze_exceed_plan_capacity: { storage: ReactNode /* string */ }; + coze_expiration_date: { time: ReactNode /* string */ }; + coze_fee_description: { type: ReactNode /* string */ }; + coze_free_points_tips: { count: ReactNode /* string */ }; + coze_model_tpm_rpm_violation_count: { count: ReactNode /* string */ }; + coze_model_tpm_violation_count: { count: ReactNode /* string */ }; + coze_original_price: { price: ReactNode /* string */ }; + coze_plan_effetive_tips: { plan: ReactNode /* string */ }; + coze_plan_more_benefits: { name: ReactNode /* string */ }; + coze_plan_overdue: { username: ReactNode /* string */ }; + coze_points: { points: ReactNode /* string */ }; + coze_points_buy_1000: { buy: ReactNode /* string */ }; + coze_points_buy_110000: { buy: ReactNode /* string */ }; + coze_premium_credits_reset: { counts: ReactNode /* string */ }; + coze_pro_4: { price: ReactNode /* string */ }; + coze_pro_des: { link: ReactNode /* string */ }; + coze_pro_migration_12: { username: ReactNode /* string */ }; + coze_pro_resource_balance_count: { count: ReactNode /* string */ }; + coze_quota_exemption_notice: { link: ReactNode /* string */ }; + coze_recent_activation: { time: ReactNode /* string */ }; + coze_remaining_points: { points: ReactNode /* string */ }; + coze_resource_balance_count: { count: ReactNode /* string */ }; + coze_resource_pack_discount: { discount: ReactNode /* string */ }; + coze_save_amount: { price: ReactNode /* string */ }; + coze_storage_over_limit: { + storage1: ReactNode /* string */; + storage2: ReactNode /* string */; + storage3: ReactNode /* string */; + }; + coze_storage_usage: { + storage1: ReactNode /* string */; + storage2: ReactNode /* string */; + }; + coze_subscribed: { plan: ReactNode /* string */ }; + coze_team_creation_limit_reached: { url: ReactNode /* string */ }; + coze_token_plugin_section_table_usage_unit: { + number: ReactNode /* string */; + }; + coze_upgrade_to_any: { name: ReactNode /* string */ }; + coze_value_count_yuan_1: { count: ReactNode /* string */ }; + coze_voice_clone_expansion: { link: ReactNode /* string */ }; + coze_voice_remaining_quota: { count: ReactNode /* string */ }; 'create_up_to_{maxpagelen}_pages': { maxPageLen: ReactNode /* string */ }; - 'create_{placeholder1}_and_bind_the_{id}_page': { placeholder1: ReactNode /* string */, id: ReactNode /* string */ }; - 'cross_workspace_copy_task_pop_title': { name: ReactNode /* string */ }; - 'cross_workspace_copy_task_status_all': { success: ReactNode /* string */, running: ReactNode /* string */, fail: ReactNode /* string */ }; - 'current_page_{currentpageid}_binding_tag_{placeholder3}': { currentPageId: ReactNode /* string */, placeholder3: ReactNode /* string */ }; - 'data_error_title': { module: ReactNode /* string */ }; - 'database_240304_01': { TableNumber: ReactNode /* string */ }; - 'dataset_bot_count_tag': { num: ReactNode /* string */ }; - 'dataset_bot_create_time_knowledge': { time: ReactNode /* string */ }; - 'dataset_bot_referring_tag': { bot_num: ReactNode /* string */, add_s: ReactNode /* string */ }; - 'dataset_bot_time_knowledge': { time: ReactNode /* string */ }; - 'dataset_bot_update_time_knowledge': { time: ReactNode /* string */ }; - 'dataset_data_processing_tag': { num: ReactNode /* string */ }; - 'dataset_deal_failed': { num: ReactNode /* string */ }; - 'dataset_deal_processing': { num: ReactNode /* string */ }; - 'datasets_botRefer_list_description': { num: ReactNode /* number */ }; - 'datasets_createFileModel_step2_UploadDoc_description': { maxDocNum: ReactNode /* string */, fileFormat: ReactNode /* string */, filesize: ReactNode /* string */, pdfPageNum: ReactNode /* string */ }; - 'datasets_createFileModel_tab_dataStarRow_value': { LineNumber: ReactNode /* string */ }; - 'datasets_createFileModel_tab_header_value': { LineNumber: ReactNode /* string */ }; - 'datasets_detail_tag_botReferencing': { count: ReactNode /* number */ }; - 'datasets_detail_tag_byte': { number: ReactNode /* string */ }; - 'datasets_detail_tag_file': { num: ReactNode /* number */ }; - 'datasets_frequencyModal_frequency_day': { num: ReactNode /* number */ }; - 'datasets_frequencyModal_frequency_day01': { num: ReactNode /* number */ }; - 'datasets_segment_card_bit': { num: ReactNode /* number */ }; - 'datasets_segment_card_hit': { num: ReactNode /* number */ }; - 'datasets_segment_detailModel_title': { num: ReactNode /* number */ }; - 'datasets_segment_tableStructure_field_delConfirm_title': { FieldName: ReactNode /* string */ }; - 'datasets_segment_tag_segments': { num: ReactNode /* string */ }; - 'datasets_segment_tag_updateFrequency': { num: ReactNode /* number */ }; - 'datasets_table_title_size_byte': { num: ReactNode /* number */ }; - 'datasets_unit_tableformat_tips1': { TotalRows: ReactNode /* string */, ShowRows: ReactNode /* string */ }; - 'datasets_upload_url_subpages': { num: ReactNode /* number */ }; - 'datasets_url_retry_error': { reason: ReactNode /* string */ }; - 'db_optimize_031': { n: ReactNode /* string */ }; - 'db_optimize_032': { n: ReactNode /* string */ }; - 'db_table_0126_024': { LineNumber: ReactNode /* string */ }; - 'db_table_0126_026': { LineNumber: ReactNode /* string */ }; - 'db_table_0126_027': { ColumNum: ReactNode /* string */ }; - 'db_table_0126_028': { TotalRows: ReactNode /* string */, ShowRows: ReactNode /* string */ }; - 'delete_account_delete_aweme_logined_label': { platform: ReactNode /* string */ }; - 'delete_account_delete_aweme_not_login_label': { platform: ReactNode /* string */ }; - 'delete_account_phone_tip': { mobile: ReactNode /* string */ }; - 'detected_address': { original_location: ReactNode /* string */, location: ReactNode /* string */ }; - 'device_code_flow_auth_tips_1': { location: ReactNode /* string */ }; - 'devops_publish_multibranch_PubishByUser': { name: ReactNode /* string */, time: ReactNode /* string */ }; - 'devops_publish_multibranch_SubmitByUser': { name: ReactNode /* string */, time: ReactNode /* string */ }; - 'devops_publish_multibranch_auto_saved': { time: ReactNode /* string */ }; - 'devops_publish_multibranch_diffwithin': { connectorName: ReactNode /* string */ }; - 'devops_publish_multibranch_new_version': { name: ReactNode /* string */ }; - 'devops_publish_multibranch_published': { time: ReactNode /* string */ }; - 'devops_publish_multibranch_submitted': { time: ReactNode /* string */ }; - 'display_time_for_rankings': { date: ReactNode /* string */ }; - 'dy_avatar_link_title': { bot_name: ReactNode /* string */ }; - 'dy_avatar_qr_code_operate_tip': { app_name: ReactNode /* string */ }; - 'dy_avatar_qr_code_time_tip': { time: ReactNode /* string */ }; - 'enterprise_add_member_secondary_confirm': { doc: ReactNode /* string */ }; - 'enterprise_feature_logo': { upgrade_plan: ReactNode /* string */ }; - 'enterprise_management_leave_button': { enterprise: ReactNode /* string */ }; - 'enterprise_management_leave_transfer_button': { enterprise: ReactNode /* string */ }; - 'enterprise_management_permission_control_desc1': { enterprise_version_name: ReactNode /* string */ }; - 'enterprise_management_permission_control_desc2': { enterprise_version_name: ReactNode /* string */ }; - 'enterprise_management_permission_control_share_link': { enterprise_version_name: ReactNode /* string */ }; - 'enterprise_management_permission_control_title': { enterprise_version_name: ReactNode /* string */ }; - 'enterprise_management_permission_settings_disable_be_guest_leave_desc': { number: ReactNode /* string */, enterprise: ReactNode /* string */ }; - 'enterprise_management_permission_settings_other_enter_guest_list_desc1': { enterprise: ReactNode /* string */ }; - 'enterprise_management_permission_settings_other_enter_guest_list_desc2': { number: ReactNode /* string */, enterprise: ReactNode /* string */ }; - 'enterprise_management_permission_settings_other_enter_guest_list_name_tag': { enterprise: ReactNode /* string */ }; - 'enterprise_management_permission_settings_pop_disable_desc1_guest': { enterprise: ReactNode /* string */ }; - 'enterprise_management_permission_settings_pop_disable_desc2_be_guest': { enterprise: ReactNode /* string */ }; - 'enterprise_management_permission_settings_pop_enable_desc1_allow_guest': { enterprise: ReactNode /* string */ }; - 'enterprise_management_permission_settings_pop_enable_desc2_allow_be_guest': { enterprise: ReactNode /* string */ }; - 'enterprise_member_apply_opt_operate_button2_reject_desc': { amount: ReactNode /* string */ }; - 'enterprise_member_apply_opt_operate_button3_pass_desc': { amount: ReactNode /* string */, doc: ReactNode /* string */ }; - 'enterprise_member_identity_tag_internal_meber': { enterprise: ReactNode /* string */ }; - 'enterprise_member_list_add_new_member_tips': { doc: ReactNode /* string */ }; - 'enterprise_member_management_settings_basic_user_control_desc': { enterprise: ReactNode /* string */ }; - 'enterprise_member_management_settings_basic_user_control_title': { enterprise: ReactNode /* string */ }; - 'enterprise_member_management_settings_guest_control_desc': { enterprise: ReactNode /* string */ }; - 'enterprise_member_management_settings_guest_control_title': { enterprise: ReactNode /* string */ }; - 'enterprise_share_link_page_expire_info': { date: ReactNode /* string */ }; - 'enterprise_share_link_pop_desc1': { enterprise_version_name: ReactNode /* string */, member_permission: ReactNode /* string */ }; - 'enterprise_share_link_pop_desc2_expire_info': { enterprise_version_name: ReactNode /* string */, enterprise_name: ReactNode /* string */, expire_date: ReactNode /* string */ }; - 'enterprise_share_link_pop_desc2_no_expire_info': { enterprise_version_name: ReactNode /* string */, enterprise_name: ReactNode /* string */ }; - 'enterprise_share_link_pop_title': { enterprise_version_name: ReactNode /* string */ }; - 'errorpage_action': { name: ReactNode /* string */ }; - 'eval_error_cell_char_limit': { row_number: ReactNode /* string */, column_name: ReactNode /* string */, max_chars: ReactNode /* string */ }; - 'eval_error_column_limit': { max_columns: ReactNode /* string */, current_columns: ReactNode /* string */ }; - 'eval_error_duplicate_column': { column_name: ReactNode /* string */ }; - 'eval_error_message': { evaluation_name: ReactNode /* string */ }; - 'eval_error_missing_column': { column_name: ReactNode /* string */ }; - 'eval_error_missing_field': { row_number: ReactNode /* string */, field_name: ReactNode /* string */ }; - 'eval_error_query_limit': { session_id: ReactNode /* string */, max_queries: ReactNode /* string */ }; - 'eval_error_session_limit': { max_sessions: ReactNode /* string */, current_sessions: ReactNode /* string */ }; - 'eval_max_agents_limit': { num: ReactNode /* string */ }; - 'evaluation1_balance': { caseCount: ReactNode /* string */, tokenCount: ReactNode /* string */ }; - 'evaluation1_cases_count': { evaluation_case_num: ReactNode /* string */ }; - 'evaluation1_error_count': { errorCount: ReactNode /* string */, total: ReactNode /* string */ }; - 'evaluation1_estimated_token_consumption': { Estimated_token_consumption: ReactNode /* string */ }; - 'evaluation1_free_quota_exhausted_new': { freeCount: ReactNode /* string */ }; - 'evaluation1_progress': { progress: ReactNode /* string */, total: ReactNode /* string */ }; - 'evaluation1_progress_tips': { current: ReactNode /* string */, total: ReactNode /* string */ }; - 'evaluation1_task_quota': { remaining_count: ReactNode /* string */ }; - 'evaluation1_task_quota_new': { freeCount: ReactNode /* string */, remaining_count: ReactNode /* string */ }; - 'evaluation1_test_description': { testrun_consumption_token: ReactNode /* string */ }; - 'evaluation1_warning_message_eval_prompt': { field: ReactNode /* string */ }; - 'evaluation_autosaved': { savedtime: ReactNode /* string */ }; - 'evaluation_dataset_columnLimit': { columnCount: ReactNode /* string */ }; - 'evaluation_dataset_columnNameLength': { columnNameMaxLength: ReactNode /* string */ }; - 'evaluation_dataset_columnNumber': { columnNumberLimit: ReactNode /* string */ }; - 'evaluation_dataset_csv_contentLength_error': { maxLength: ReactNode /* string */ }; - 'evaluation_dataset_csv_groupConversation_error': { gourpName: ReactNode /* string */, rowLimit: ReactNode /* string */ }; - 'evaluation_dataset_dialogueNumber': { dialogueNumberLimit: ReactNode /* string */ }; - 'evaluation_dataset_exceeds_maximum_column': { MAX_COLUMN_LENGTH: ReactNode /* string */ }; - 'evaluation_page_consumption_prediction_tips1': { Estimated_token_consumption: ReactNode /* string */ }; - 'evaluation_page_consumption_prediction_tips2': { testrun_consumption_token: ReactNode /* string */ }; - 'evaluation_page_consumption_upload_file_limitation_tip': { row_limit: ReactNode /* string */ }; - 'evaluation_page_free_amount_tips1_no_remaining': { freeCount: ReactNode /* string */ }; - 'evaluation_page_free_amount_tips1_remaining': { freeCount: ReactNode /* string */, remaining_count: ReactNode /* string */ }; - 'evaluation_rule_defaultAdded': { ruleCount: ReactNode /* string */ }; - 'evaluation_rule_has_number': { rulesNumber: ReactNode /* string */ }; - 'evaluation_rule_reachLimit': { rulesLimit: ReactNode /* string */ }; - 'evaluation_rule_reachLimit_error': { maxRuleNumber: ReactNode /* string */ }; - 'evaluation_sample_conciseness': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_controversiality': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_correctness': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_creativity': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_criminality': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_depth': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_detail': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_harmfulness': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_helpfulness': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_insensitivity': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_maliciousness': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_misogyny': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_sample_relevance': { input: ReactNode /* string */, output: ReactNode /* string */ }; - 'evaluation_success_count_total': { successCount: ReactNode /* string */, total: ReactNode /* string */ }; - 'event_panel_run_workflow_failed_default_value': { name: ReactNode /* string */, error: ReactNode /* string */ }; - 'event_panel_run_workflow_success_default_value': { workflow: ReactNode /* string */ }; - 'expired_time_days_1': { num: ReactNode /* number */ }; - 'exterprise_share_link_page_description': { enterprise_name: ReactNode /* string */ }; - 'failed_to_import_tool': { num: ReactNode /* number */ }; - 'file_size_exceeds_limit__maximum_support_{maxsize}_kb': { maxSize: ReactNode /* string */ }; - 'file_too_large': { max_size: ReactNode /* string */ }; - 'folder_selection_num_of_selected': { n: ReactNode /* string */ }; - 'home_at_bot_status': { bot_name: ReactNode /* string */ }; - 'home_mention_searchbotstore_result_not_found_content': { search_text: ReactNode /* string */ }; - 'home_mention_searchbotstore_result_title': { search_text: ReactNode /* string */ }; - 'imageflow_canvas_reference_image': { variable: ReactNode /* string */ }; - 'imageflow_canvas_reference_text': { variable: ReactNode /* string */ }; - 'imageflow_canvas_var_reference': { n: ReactNode /* string */ }; - 'imageflow_tab_title': { name: ReactNode /* string */ }; - 'imageflow_upload_error2': { value: ReactNode /* string */ }; - 'imageflow_upload_error3': { value: ReactNode /* string */ }; - 'imageflow_upload_error4': { value: ReactNode /* string */ }; - 'imageflow_upload_error5': { value: ReactNode /* string */ }; - 'imageflow_upload_error_type': { type: ReactNode /* string */ }; - 'imageflow_upload_exceed': { size: ReactNode /* string */ }; - 'imageflow_upload_type': { type: ReactNode /* string */ }; - 'imageflowstore_expire_content': { entity_type: ReactNode /* string */, entity_name: ReactNode /* string */ }; - 'intent_queyr_jumping_hint': { link: ReactNode /* string */ }; - 'kl2_009': { num: ReactNode /* number */ }; - 'kl_write_041': { index: ReactNode /* string */ }; - 'knowledge-3rd-party-add-units-google-drive-pages-selected': { number: ReactNode /* string */ }; - 'knowledge-3rd-party-add-units-notion-pages-selected': { number: ReactNode /* string */ }; - 'knowledge_1218_001': { MaxDocs: ReactNode /* string */ }; - 'knowledge_1226_002': { FieldName: ReactNode /* string */ }; - 'knowledge_application_leaderboard_top_n': { n: ReactNode /* string */ }; - 'knowledge_application_leaderboard_top_n_explain': { n: ReactNode /* string */ }; - 'knowledge_feishu_search_placeholder': { name: ReactNode /* string */ }; - 'knowledge_insert_img_003': { url: ReactNode /* string */ }; - 'knowledge_level_006': { filenames: ReactNode /* string */ }; - 'knowledge_only_type': { docType: ReactNode /* string */ }; - 'knowledge_optimize_019': { n: ReactNode /* string */ }; - 'knowledge_photo_015': { num: ReactNode /* string */ }; - 'knowledge_slice_content_length_error': { number: ReactNode /* string */ }; - 'knowledge_table_content_limt': { number: ReactNode /* string */ }; - 'knowledge_upload_remaining_time_text': { minutes: ReactNode /* string */, seconds: ReactNode /* string */ }; - 'knowledge_weixin_011': { num: ReactNode /* string */ }; - 'knowledge_weixin_012': { num: ReactNode /* string */ }; - 'language_understanding_leaderboard_top_n': { n: ReactNode /* string */ }; - 'language_understanding_leaderboard_top_n_explain': { n: ReactNode /* string */ }; - 'last_modified_time': { time: ReactNode /* string */ }; - 'limits_dataset_files': { number_of_files: ReactNode /* string */ }; - 'location_not_parsed': { location: ReactNode /* string */ }; - 'log_pay_wall_date_filter_tips1': { upgrade: ReactNode /* string */ }; - 'login_verification_code_sent': { phone_number: ReactNode /* string */ }; - 'markdown_bold_syntax': { text: ReactNode /* string */, space: ReactNode /* string */ }; - 'markdown_bulletedlist_syntax': { space: ReactNode /* string */ }; - 'markdown_code_syntax': { code: ReactNode /* string */, space: ReactNode /* string */ }; - 'markdown_codeblock_syntax': { space: ReactNode /* string */ }; - 'markdown_heading1_syntax': { space: ReactNode /* string */ }; - 'markdown_heading2_syntax': { space: ReactNode /* string */ }; - 'markdown_heading3_syntax': { space: ReactNode /* string */ }; - 'markdown_italic_syntax': { text: ReactNode /* string */, space: ReactNode /* string */ }; - 'markdown_numberedlist_syntax': { space: ReactNode /* string */ }; - 'markdown_quote_syntax': { space: ReactNode /* string */ }; - 'markdown_strickthrough_syntax': { text: ReactNode /* string */, space: ReactNode /* string */ }; - 'markdown_underline_syntax': { text: ReactNode /* string */, space: ReactNode /* string */ }; - 'messageListRetry': { retry: ReactNode /* string */ }; - 'message_credits_18': { count: ReactNode /* string */ }; - 'message_credits_6': { count: ReactNode /* string */ }; - 'message_credits_9': { price: ReactNode /* string */ }; - 'miniapp_url_action_7': { num: ReactNode /* string */ }; - 'missing_parameter': { field_names: ReactNode /* string */ }; - 'mkpl_maximum_chatacter_limit': { maxCount: ReactNode /* string */ }; - 'mkpl_report_bot_desc': { emailAddress: ReactNode /* string */ }; - 'mkpl_report_community_desc': { emailAddress: ReactNode /* string */ }; - 'mkpl_report_desc': { emailAddress: ReactNode /* string */ }; - 'mockdata_field_empty': { fieldName: ReactNode /* string */ }; - 'mockset_during_using': { MockSetName: ReactNode /* string */ }; - 'mockset_field_is_required': { field: ReactNode /* string */ }; - 'mockset_invaild_tip': { MockSetName: ReactNode /* string */ }; - 'mockset_label_tip': { MockSetName: ReactNode /* string */ }; - 'mockset_of_toolname': { toolName: ReactNode /* string */ }; - 'model_arena_by_company': { company: ReactNode /* string */ }; - 'model_list_december_update_notice': { date: ReactNode /* string */ }; - 'model_list_model_company': { company: ReactNode /* string */ }; - 'model_list_model_default_parameters_tips': { doc: ReactNode /* string */ }; - 'model_list_model_deprecation_date': { date: ReactNode /* string */ }; - 'model_list_model_setting': { model: ReactNode /* string */ }; - 'model_list_model_switch_announcement': { model_deprecated: ReactNode /* string */, date: ReactNode /* string */, model_up: ReactNode /* string */ }; - 'model_list_remove_from_list': { model_deprecated: ReactNode /* string */, date: ReactNode /* string */ }; - 'model_management_context': { context: ReactNode /* string */ }; - 'model_management_file_size_limit': { size: ReactNode /* string */ }; - 'model_management_results_count': { count: ReactNode /* string */ }; - 'model_ranking_agent_battle_top_n': { n: ReactNode /* string */ }; - 'model_ranking_pure_model_battle_top_n': { n: ReactNode /* string */ }; - 'model_sp_input_cached_support_tips': { 变量: ReactNode /* string */ }; - 'model_support_poor_warning': { modelName: ReactNode /* string */ }; - 'models_arena_question_bank_hover_current_selection_bankname': { bank_name: ReactNode /* string */ }; - 'models_arena_question_bank_hover_remove_bankname': { bank_name: ReactNode /* string */ }; - 'models_arena_resultpage_has_received_n_votes': { n: ReactNode /* string */ }; - 'move_space_task_loading_timer': { time: ReactNode /* string */ }; - 'move_workspace_failed_pop_desc': { error_msg: ReactNode /* string */ }; - 'move_workspace_pop_up_choose_user_team_paywall_tips': { amount: ReactNode /* string */ }; - 'move_workspace_pop_up_choose_workspace_desc': { doc: ReactNode /* string */ }; - 'move_workspace_pop_up_resource_list_type2_API_desc': { doc: ReactNode /* string */ }; - 'multiagent_bot_update_auto_time': { time: ReactNode /* string */ }; - 'new_landing_title_customer_detail': { case_title: ReactNode /* string */ }; - 'nl2prompt_insert_placeholder': { slash: ReactNode /* string */ }; - 'no_binding_relationship__add_tab_{newtitle}_to_the_bottom_navigation_bar_and_bin': { newTitle: ReactNode /* string */, currentPageId: ReactNode /* string */ }; - 'not_supported_explain': { modelName: ReactNode /* string */ }; - 'not_supported_explain_toolName': { modelName: ReactNode /* string */, toolName: ReactNode /* string */ }; - 'oauth_ask_for_auth_message': { pluginName: ReactNode /* string */, url: ReactNode /* string */ }; - 'obo_auth_link_notification': { user_name: ReactNode /* string */ }; - 'obo_install_failed_notification': { err_msg: ReactNode /* string */ }; - 'obo_install_popup_title': { app_name: ReactNode /* string */ }; - 'open_source_terms': { aggrement: ReactNode /* string */ }; - 'openapi_auth_app_auth_org': { org_type: ReactNode /* string */ }; - 'openapi_auth_app_auth_tos': { org_type: ReactNode /* string */, org_name: ReactNode /* string */ }; - 'openapi_rtc_coze_pro_tips': { coze_pro: ReactNode /* string */ }; - 'openapi_rtc_waitlist_tips': { application_link: ReactNode /* string */ }; - 'opening_markdown_support_tag': { markdown_editor_btn: ReactNode /* string */ }; - 'operation_overview_category_ranking': { category: ReactNode /* string */ }; - 'operation_overview_category_ranking_hint': { category: ReactNode /* string */ }; - 'operations_comparison_period': { ratio: ReactNode /* string */, date1: ReactNode /* string */, date2: ReactNode /* string */ }; + 'create_{placeholder1}_and_bind_the_{id}_page': { + placeholder1: ReactNode /* string */; + id: ReactNode /* string */; + }; + cross_workspace_copy_task_pop_title: { name: ReactNode /* string */ }; + cross_workspace_copy_task_status_all: { + success: ReactNode /* string */; + running: ReactNode /* string */; + fail: ReactNode /* string */; + }; + 'current_page_{currentpageid}_binding_tag_{placeholder3}': { + currentPageId: ReactNode /* string */; + placeholder3: ReactNode /* string */; + }; + data_error_title: { module: ReactNode /* string */ }; + database_240304_01: { TableNumber: ReactNode /* string */ }; + dataset_bot_count_tag: { num: ReactNode /* string */ }; + dataset_bot_create_time_knowledge: { time: ReactNode /* string */ }; + dataset_bot_referring_tag: { + bot_num: ReactNode /* string */; + add_s: ReactNode /* string */; + }; + dataset_bot_time_knowledge: { time: ReactNode /* string */ }; + dataset_bot_update_time_knowledge: { time: ReactNode /* string */ }; + dataset_data_processing_tag: { num: ReactNode /* string */ }; + dataset_deal_failed: { num: ReactNode /* string */ }; + dataset_deal_processing: { num: ReactNode /* string */ }; + datasets_botRefer_list_description: { num: ReactNode /* number */ }; + datasets_createFileModel_step2_UploadDoc_description: { + maxDocNum: ReactNode /* string */; + fileFormat: ReactNode /* string */; + filesize: ReactNode /* string */; + pdfPageNum: ReactNode /* string */; + }; + datasets_createFileModel_tab_dataStarRow_value: { + LineNumber: ReactNode /* string */; + }; + datasets_createFileModel_tab_header_value: { + LineNumber: ReactNode /* string */; + }; + datasets_detail_tag_botReferencing: { count: ReactNode /* number */ }; + datasets_detail_tag_byte: { number: ReactNode /* string */ }; + datasets_detail_tag_file: { num: ReactNode /* number */ }; + datasets_frequencyModal_frequency_day: { num: ReactNode /* number */ }; + datasets_frequencyModal_frequency_day01: { num: ReactNode /* number */ }; + datasets_segment_card_bit: { num: ReactNode /* number */ }; + datasets_segment_card_hit: { num: ReactNode /* number */ }; + datasets_segment_detailModel_title: { num: ReactNode /* number */ }; + datasets_segment_tableStructure_field_delConfirm_title: { + FieldName: ReactNode /* string */; + }; + datasets_segment_tag_segments: { num: ReactNode /* string */ }; + datasets_segment_tag_updateFrequency: { num: ReactNode /* number */ }; + datasets_table_title_size_byte: { num: ReactNode /* number */ }; + datasets_unit_tableformat_tips1: { + TotalRows: ReactNode /* string */; + ShowRows: ReactNode /* string */; + }; + datasets_upload_url_subpages: { num: ReactNode /* number */ }; + datasets_url_retry_error: { reason: ReactNode /* string */ }; + db_optimize_031: { n: ReactNode /* string */ }; + db_optimize_032: { n: ReactNode /* string */ }; + db_table_0126_024: { LineNumber: ReactNode /* string */ }; + db_table_0126_026: { LineNumber: ReactNode /* string */ }; + db_table_0126_027: { ColumNum: ReactNode /* string */ }; + db_table_0126_028: { + TotalRows: ReactNode /* string */; + ShowRows: ReactNode /* string */; + }; + delete_account_delete_aweme_logined_label: { + platform: ReactNode /* string */; + }; + delete_account_delete_aweme_not_login_label: { + platform: ReactNode /* string */; + }; + delete_account_phone_tip: { mobile: ReactNode /* string */ }; + detected_address: { + original_location: ReactNode /* string */; + location: ReactNode /* string */; + }; + device_code_flow_auth_tips_1: { location: ReactNode /* string */ }; + devops_publish_multibranch_PubishByUser: { + name: ReactNode /* string */; + time: ReactNode /* string */; + }; + devops_publish_multibranch_SubmitByUser: { + name: ReactNode /* string */; + time: ReactNode /* string */; + }; + devops_publish_multibranch_auto_saved: { time: ReactNode /* string */ }; + devops_publish_multibranch_diffwithin: { + connectorName: ReactNode /* string */; + }; + devops_publish_multibranch_new_version: { name: ReactNode /* string */ }; + devops_publish_multibranch_published: { time: ReactNode /* string */ }; + devops_publish_multibranch_submitted: { time: ReactNode /* string */ }; + display_time_for_rankings: { date: ReactNode /* string */ }; + dy_avatar_link_title: { bot_name: ReactNode /* string */ }; + dy_avatar_qr_code_operate_tip: { app_name: ReactNode /* string */ }; + dy_avatar_qr_code_time_tip: { time: ReactNode /* string */ }; + enterprise_add_member_secondary_confirm: { doc: ReactNode /* string */ }; + enterprise_feature_logo: { upgrade_plan: ReactNode /* string */ }; + enterprise_management_leave_button: { enterprise: ReactNode /* string */ }; + enterprise_management_leave_transfer_button: { + enterprise: ReactNode /* string */; + }; + enterprise_management_permission_control_desc1: { + enterprise_version_name: ReactNode /* string */; + }; + enterprise_management_permission_control_desc2: { + enterprise_version_name: ReactNode /* string */; + }; + enterprise_management_permission_control_share_link: { + enterprise_version_name: ReactNode /* string */; + }; + enterprise_management_permission_control_title: { + enterprise_version_name: ReactNode /* string */; + }; + enterprise_management_permission_settings_disable_be_guest_leave_desc: { + number: ReactNode /* string */; + enterprise: ReactNode /* string */; + }; + enterprise_management_permission_settings_other_enter_guest_list_desc1: { + enterprise: ReactNode /* string */; + }; + enterprise_management_permission_settings_other_enter_guest_list_desc2: { + number: ReactNode /* string */; + enterprise: ReactNode /* string */; + }; + enterprise_management_permission_settings_other_enter_guest_list_name_tag: { + enterprise: ReactNode /* string */; + }; + enterprise_management_permission_settings_pop_disable_desc1_guest: { + enterprise: ReactNode /* string */; + }; + enterprise_management_permission_settings_pop_disable_desc2_be_guest: { + enterprise: ReactNode /* string */; + }; + enterprise_management_permission_settings_pop_enable_desc1_allow_guest: { + enterprise: ReactNode /* string */; + }; + enterprise_management_permission_settings_pop_enable_desc2_allow_be_guest: { + enterprise: ReactNode /* string */; + }; + enterprise_member_apply_opt_operate_button2_reject_desc: { + amount: ReactNode /* string */; + }; + enterprise_member_apply_opt_operate_button3_pass_desc: { + amount: ReactNode /* string */; + doc: ReactNode /* string */; + }; + enterprise_member_identity_tag_internal_meber: { + enterprise: ReactNode /* string */; + }; + enterprise_member_list_add_new_member_tips: { doc: ReactNode /* string */ }; + enterprise_member_management_settings_basic_user_control_desc: { + enterprise: ReactNode /* string */; + }; + enterprise_member_management_settings_basic_user_control_title: { + enterprise: ReactNode /* string */; + }; + enterprise_member_management_settings_guest_control_desc: { + enterprise: ReactNode /* string */; + }; + enterprise_member_management_settings_guest_control_title: { + enterprise: ReactNode /* string */; + }; + enterprise_share_link_page_expire_info: { date: ReactNode /* string */ }; + enterprise_share_link_pop_desc1: { + enterprise_version_name: ReactNode /* string */; + member_permission: ReactNode /* string */; + }; + enterprise_share_link_pop_desc2_expire_info: { + enterprise_version_name: ReactNode /* string */; + enterprise_name: ReactNode /* string */; + expire_date: ReactNode /* string */; + }; + enterprise_share_link_pop_desc2_no_expire_info: { + enterprise_version_name: ReactNode /* string */; + enterprise_name: ReactNode /* string */; + }; + enterprise_share_link_pop_title: { + enterprise_version_name: ReactNode /* string */; + }; + errorpage_action: { name: ReactNode /* string */ }; + eval_error_cell_char_limit: { + row_number: ReactNode /* string */; + column_name: ReactNode /* string */; + max_chars: ReactNode /* string */; + }; + eval_error_column_limit: { + max_columns: ReactNode /* string */; + current_columns: ReactNode /* string */; + }; + eval_error_duplicate_column: { column_name: ReactNode /* string */ }; + eval_error_message: { evaluation_name: ReactNode /* string */ }; + eval_error_missing_column: { column_name: ReactNode /* string */ }; + eval_error_missing_field: { + row_number: ReactNode /* string */; + field_name: ReactNode /* string */; + }; + eval_error_query_limit: { + session_id: ReactNode /* string */; + max_queries: ReactNode /* string */; + }; + eval_error_session_limit: { + max_sessions: ReactNode /* string */; + current_sessions: ReactNode /* string */; + }; + eval_max_agents_limit: { num: ReactNode /* string */ }; + evaluation1_balance: { + caseCount: ReactNode /* string */; + tokenCount: ReactNode /* string */; + }; + evaluation1_cases_count: { evaluation_case_num: ReactNode /* string */ }; + evaluation1_error_count: { + errorCount: ReactNode /* string */; + total: ReactNode /* string */; + }; + evaluation1_estimated_token_consumption: { + Estimated_token_consumption: ReactNode /* string */; + }; + evaluation1_free_quota_exhausted_new: { freeCount: ReactNode /* string */ }; + evaluation1_progress: { + progress: ReactNode /* string */; + total: ReactNode /* string */; + }; + evaluation1_progress_tips: { + current: ReactNode /* string */; + total: ReactNode /* string */; + }; + evaluation1_task_quota: { remaining_count: ReactNode /* string */ }; + evaluation1_task_quota_new: { + freeCount: ReactNode /* string */; + remaining_count: ReactNode /* string */; + }; + evaluation1_test_description: { + testrun_consumption_token: ReactNode /* string */; + }; + evaluation1_warning_message_eval_prompt: { field: ReactNode /* string */ }; + evaluation_autosaved: { savedtime: ReactNode /* string */ }; + evaluation_dataset_columnLimit: { columnCount: ReactNode /* string */ }; + evaluation_dataset_columnNameLength: { + columnNameMaxLength: ReactNode /* string */; + }; + evaluation_dataset_columnNumber: { + columnNumberLimit: ReactNode /* string */; + }; + evaluation_dataset_csv_contentLength_error: { + maxLength: ReactNode /* string */; + }; + evaluation_dataset_csv_groupConversation_error: { + gourpName: ReactNode /* string */; + rowLimit: ReactNode /* string */; + }; + evaluation_dataset_dialogueNumber: { + dialogueNumberLimit: ReactNode /* string */; + }; + evaluation_dataset_exceeds_maximum_column: { + MAX_COLUMN_LENGTH: ReactNode /* string */; + }; + evaluation_page_consumption_prediction_tips1: { + Estimated_token_consumption: ReactNode /* string */; + }; + evaluation_page_consumption_prediction_tips2: { + testrun_consumption_token: ReactNode /* string */; + }; + evaluation_page_consumption_upload_file_limitation_tip: { + row_limit: ReactNode /* string */; + }; + evaluation_page_free_amount_tips1_no_remaining: { + freeCount: ReactNode /* string */; + }; + evaluation_page_free_amount_tips1_remaining: { + freeCount: ReactNode /* string */; + remaining_count: ReactNode /* string */; + }; + evaluation_rule_defaultAdded: { ruleCount: ReactNode /* string */ }; + evaluation_rule_has_number: { rulesNumber: ReactNode /* string */ }; + evaluation_rule_reachLimit: { rulesLimit: ReactNode /* string */ }; + evaluation_rule_reachLimit_error: { maxRuleNumber: ReactNode /* string */ }; + evaluation_sample_conciseness: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_controversiality: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_correctness: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_creativity: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_criminality: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_depth: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_detail: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_harmfulness: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_helpfulness: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_insensitivity: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_maliciousness: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_misogyny: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_sample_relevance: { + input: ReactNode /* string */; + output: ReactNode /* string */; + }; + evaluation_success_count_total: { + successCount: ReactNode /* string */; + total: ReactNode /* string */; + }; + event_panel_run_workflow_failed_default_value: { + name: ReactNode /* string */; + error: ReactNode /* string */; + }; + event_panel_run_workflow_success_default_value: { + workflow: ReactNode /* string */; + }; + expired_time_days_1: { num: ReactNode /* number */ }; + exterprise_share_link_page_description: { + enterprise_name: ReactNode /* string */; + }; + failed_to_import_tool: { num: ReactNode /* number */ }; + 'file_size_exceeds_limit__maximum_support_{maxsize}_kb': { + maxSize: ReactNode /* string */; + }; + file_too_large: { max_size: ReactNode /* string */ }; + folder_selection_num_of_selected: { n: ReactNode /* string */ }; + home_at_bot_status: { bot_name: ReactNode /* string */ }; + home_mention_searchbotstore_result_not_found_content: { + search_text: ReactNode /* string */; + }; + home_mention_searchbotstore_result_title: { + search_text: ReactNode /* string */; + }; + imageflow_canvas_reference_image: { variable: ReactNode /* string */ }; + imageflow_canvas_reference_text: { variable: ReactNode /* string */ }; + imageflow_canvas_var_reference: { n: ReactNode /* string */ }; + imageflow_tab_title: { name: ReactNode /* string */ }; + imageflow_upload_error2: { value: ReactNode /* string */ }; + imageflow_upload_error3: { value: ReactNode /* string */ }; + imageflow_upload_error4: { value: ReactNode /* string */ }; + imageflow_upload_error5: { value: ReactNode /* string */ }; + imageflow_upload_error_type: { type: ReactNode /* string */ }; + imageflow_upload_exceed: { size: ReactNode /* string */ }; + imageflow_upload_type: { type: ReactNode /* string */ }; + imageflowstore_expire_content: { + entity_type: ReactNode /* string */; + entity_name: ReactNode /* string */; + }; + intent_queyr_jumping_hint: { link: ReactNode /* string */ }; + kl2_009: { num: ReactNode /* number */ }; + kl_write_041: { index: ReactNode /* string */ }; + 'knowledge-3rd-party-add-units-google-drive-pages-selected': { + number: ReactNode /* string */; + }; + 'knowledge-3rd-party-add-units-notion-pages-selected': { + number: ReactNode /* string */; + }; + knowledge_1218_001: { MaxDocs: ReactNode /* string */ }; + knowledge_1226_002: { FieldName: ReactNode /* string */ }; + knowledge_application_leaderboard_top_n: { n: ReactNode /* string */ }; + knowledge_application_leaderboard_top_n_explain: { + n: ReactNode /* string */; + }; + knowledge_feishu_search_placeholder: { name: ReactNode /* string */ }; + knowledge_insert_img_003: { url: ReactNode /* string */ }; + knowledge_level_006: { filenames: ReactNode /* string */ }; + knowledge_only_type: { docType: ReactNode /* string */ }; + knowledge_optimize_019: { n: ReactNode /* string */ }; + knowledge_photo_015: { num: ReactNode /* string */ }; + knowledge_slice_content_length_error: { number: ReactNode /* string */ }; + knowledge_table_content_limt: { number: ReactNode /* string */ }; + knowledge_upload_remaining_time_text: { + minutes: ReactNode /* string */; + seconds: ReactNode /* string */; + }; + knowledge_weixin_011: { num: ReactNode /* string */ }; + knowledge_weixin_012: { num: ReactNode /* string */ }; + language_understanding_leaderboard_top_n: { n: ReactNode /* string */ }; + language_understanding_leaderboard_top_n_explain: { + n: ReactNode /* string */; + }; + last_modified_time: { time: ReactNode /* string */ }; + limits_dataset_files: { number_of_files: ReactNode /* string */ }; + location_not_parsed: { location: ReactNode /* string */ }; + log_pay_wall_date_filter_tips1: { upgrade: ReactNode /* string */ }; + login_verification_code_sent: { phone_number: ReactNode /* string */ }; + markdown_bold_syntax: { + text: ReactNode /* string */; + space: ReactNode /* string */; + }; + markdown_bulletedlist_syntax: { space: ReactNode /* string */ }; + markdown_code_syntax: { + code: ReactNode /* string */; + space: ReactNode /* string */; + }; + markdown_codeblock_syntax: { space: ReactNode /* string */ }; + markdown_heading1_syntax: { space: ReactNode /* string */ }; + markdown_heading2_syntax: { space: ReactNode /* string */ }; + markdown_heading3_syntax: { space: ReactNode /* string */ }; + markdown_italic_syntax: { + text: ReactNode /* string */; + space: ReactNode /* string */; + }; + markdown_numberedlist_syntax: { space: ReactNode /* string */ }; + markdown_quote_syntax: { space: ReactNode /* string */ }; + markdown_strickthrough_syntax: { + text: ReactNode /* string */; + space: ReactNode /* string */; + }; + markdown_underline_syntax: { + text: ReactNode /* string */; + space: ReactNode /* string */; + }; + messageListRetry: { retry: ReactNode /* string */ }; + message_credits_18: { count: ReactNode /* string */ }; + message_credits_6: { count: ReactNode /* string */ }; + message_credits_9: { price: ReactNode /* string */ }; + miniapp_url_action_7: { num: ReactNode /* string */ }; + missing_parameter: { field_names: ReactNode /* string */ }; + mkpl_maximum_chatacter_limit: { maxCount: ReactNode /* string */ }; + mkpl_report_bot_desc: { emailAddress: ReactNode /* string */ }; + mkpl_report_community_desc: { emailAddress: ReactNode /* string */ }; + mkpl_report_desc: { emailAddress: ReactNode /* string */ }; + mockdata_field_empty: { fieldName: ReactNode /* string */ }; + mockset_during_using: { MockSetName: ReactNode /* string */ }; + mockset_field_is_required: { field: ReactNode /* string */ }; + mockset_invaild_tip: { MockSetName: ReactNode /* string */ }; + mockset_label_tip: { MockSetName: ReactNode /* string */ }; + mockset_of_toolname: { toolName: ReactNode /* string */ }; + model_arena_by_company: { company: ReactNode /* string */ }; + model_list_december_update_notice: { date: ReactNode /* string */ }; + model_list_model_company: { company: ReactNode /* string */ }; + model_list_model_default_parameters_tips: { doc: ReactNode /* string */ }; + model_list_model_deprecation_date: { date: ReactNode /* string */ }; + model_list_model_setting: { model: ReactNode /* string */ }; + model_list_model_switch_announcement: { + model_deprecated: ReactNode /* string */; + date: ReactNode /* string */; + model_up: ReactNode /* string */; + }; + model_list_remove_from_list: { + model_deprecated: ReactNode /* string */; + date: ReactNode /* string */; + }; + model_management_context: { context: ReactNode /* string */ }; + model_management_file_size_limit: { size: ReactNode /* string */ }; + model_management_results_count: { count: ReactNode /* string */ }; + model_ranking_agent_battle_top_n: { n: ReactNode /* string */ }; + model_ranking_pure_model_battle_top_n: { n: ReactNode /* string */ }; + model_sp_input_cached_support_tips: { 变量: ReactNode /* string */ }; + model_support_poor_warning: { modelName: ReactNode /* string */ }; + models_arena_question_bank_hover_current_selection_bankname: { + bank_name: ReactNode /* string */; + }; + models_arena_question_bank_hover_remove_bankname: { + bank_name: ReactNode /* string */; + }; + models_arena_resultpage_has_received_n_votes: { n: ReactNode /* string */ }; + move_space_task_loading_timer: { time: ReactNode /* string */ }; + move_workspace_failed_pop_desc: { error_msg: ReactNode /* string */ }; + move_workspace_pop_up_choose_user_team_paywall_tips: { + amount: ReactNode /* string */; + }; + move_workspace_pop_up_choose_workspace_desc: { doc: ReactNode /* string */ }; + move_workspace_pop_up_resource_list_type2_API_desc: { + doc: ReactNode /* string */; + }; + multiagent_bot_update_auto_time: { time: ReactNode /* string */ }; + new_landing_title_customer_detail: { case_title: ReactNode /* string */ }; + nl2prompt_insert_placeholder: { slash: ReactNode /* string */ }; + 'no_binding_relationship__add_tab_{newtitle}_to_the_bottom_navigation_bar_and_bin': { + newTitle: ReactNode /* string */; + currentPageId: ReactNode /* string */; + }; + not_supported_explain: { modelName: ReactNode /* string */ }; + not_supported_explain_toolName: { + modelName: ReactNode /* string */; + toolName: ReactNode /* string */; + }; + oauth_ask_for_auth_message: { + pluginName: ReactNode /* string */; + url: ReactNode /* string */; + }; + obo_auth_link_notification: { user_name: ReactNode /* string */ }; + obo_install_failed_notification: { err_msg: ReactNode /* string */ }; + obo_install_popup_title: { app_name: ReactNode /* string */ }; + open_source_terms: { aggrement: ReactNode /* string */ }; + openapi_auth_app_auth_org: { org_type: ReactNode /* string */ }; + openapi_auth_app_auth_tos: { + org_type: ReactNode /* string */; + org_name: ReactNode /* string */; + }; + openapi_rtc_coze_pro_tips: { coze_pro: ReactNode /* string */ }; + openapi_rtc_waitlist_tips: { application_link: ReactNode /* string */ }; + opening_markdown_support_tag: { markdown_editor_btn: ReactNode /* string */ }; + operation_overview_category_ranking: { category: ReactNode /* string */ }; + operation_overview_category_ranking_hint: { + category: ReactNode /* string */; + }; + operations_comparison_period: { + ratio: ReactNode /* string */; + date1: ReactNode /* string */; + date2: ReactNode /* string */; + }; 'option_{i}': { i: ReactNode /* string */ }; - 'org_api': { org_type: ReactNode /* string */ }; - 'org_api_app_type': { org_type: ReactNode /* string */ }; - 'org_api_oauth_choose_1': { org_type: ReactNode /* string */ }; - 'org_api_oauth_install_management_reminder': { org_type: ReactNode /* string */ }; - 'org_api_oauth_num_limit': { org_type: ReactNode /* string */ }; - 'org_api_oauth_space_all_desc': { org_type: ReactNode /* string */ }; - 'org_api_oauth_space_choose_desc': { org_type: ReactNode /* string */ }; - 'org_api_opat_space_all_desc': { org_type: ReactNode /* string */ }; - 'org_api_opat_space_choose_desc': { org_type: ReactNode /* string */ }; - 'org_app_auth_tips': { doc_link: ReactNode /* string */ }; - 'org_oauth_app_install_apply_1': { app_name: ReactNode /* string */, org_type: ReactNode /* string */, enterprise_name: ReactNode /* string */ }; - 'org_oauth_app_install_apply_13': { org_type: ReactNode /* string */ }; - 'org_oauth_app_install_apply_14': { org_type: ReactNode /* string */ }; - 'org_oauth_app_install_apply_4': { app_name: ReactNode /* string */ }; - 'org_oauth_app_install_apply_5': { enterprise_name: ReactNode /* string */ }; - 'org_oauth_user_not_exsit': { org_type: ReactNode /* string */ }; - 'overview_bi_assistant_quarter': { quarter: ReactNode /* string */ }; - 'overview_bi_assistant_week': { week: ReactNode /* string */ }; - 'overview_bi_assistant_year': { year: ReactNode /* string */ }; - 'page_{currentpageid}_toggles_the_bottom_navigation_to_{target}': { currentPageId: ReactNode /* string */, target: ReactNode /* string */ }; + org_api: { org_type: ReactNode /* string */ }; + org_api_app_type: { org_type: ReactNode /* string */ }; + org_api_oauth_choose_1: { org_type: ReactNode /* string */ }; + org_api_oauth_install_management_reminder: { + org_type: ReactNode /* string */; + }; + org_api_oauth_num_limit: { org_type: ReactNode /* string */ }; + org_api_oauth_space_all_desc: { org_type: ReactNode /* string */ }; + org_api_oauth_space_choose_desc: { org_type: ReactNode /* string */ }; + org_api_opat_space_all_desc: { org_type: ReactNode /* string */ }; + org_api_opat_space_choose_desc: { org_type: ReactNode /* string */ }; + org_app_auth_tips: { doc_link: ReactNode /* string */ }; + org_oauth_app_install_apply_1: { + app_name: ReactNode /* string */; + org_type: ReactNode /* string */; + enterprise_name: ReactNode /* string */; + }; + org_oauth_app_install_apply_13: { org_type: ReactNode /* string */ }; + org_oauth_app_install_apply_14: { org_type: ReactNode /* string */ }; + org_oauth_app_install_apply_4: { app_name: ReactNode /* string */ }; + org_oauth_app_install_apply_5: { enterprise_name: ReactNode /* string */ }; + org_oauth_user_not_exsit: { org_type: ReactNode /* string */ }; + overview_bi_assistant_quarter: { quarter: ReactNode /* string */ }; + overview_bi_assistant_week: { week: ReactNode /* string */ }; + overview_bi_assistant_year: { year: ReactNode /* string */ }; + 'page_{currentpageid}_toggles_the_bottom_navigation_to_{target}': { + currentPageId: ReactNode /* string */; + target: ReactNode /* string */; + }; 'page_{len}': { len: ReactNode /* string */ }; - 'path_has_duplicates': { path: ReactNode /* string */, num: ReactNode /* number */ }; - 'people_using_mockset_delete': { num: ReactNode /* number */ }; - 'performance_every_hours': { count: ReactNode /* string */ }; - 'performance_every_minutes': { count: ReactNode /* string */ }; - 'personal_resource_authoorization_page_choose_multi_toast': { number: ReactNode /* string */ }; - 'personal_resource_authoorization_page_chosen': { number: ReactNode /* string */ }; - 'personal_resource_authoorization_page_desc': { enterprise_name: ReactNode /* string */, doc: ReactNode /* string */ }; + path_has_duplicates: { + path: ReactNode /* string */; + num: ReactNode /* number */; + }; + people_using_mockset_delete: { num: ReactNode /* number */ }; + performance_every_hours: { count: ReactNode /* string */ }; + performance_every_minutes: { count: ReactNode /* string */ }; + personal_resource_authoorization_page_choose_multi_toast: { + number: ReactNode /* string */; + }; + personal_resource_authoorization_page_chosen: { + number: ReactNode /* string */; + }; + personal_resource_authoorization_page_desc: { + enterprise_name: ReactNode /* string */; + doc: ReactNode /* string */; + }; 'photo-size-limit': { fileName: ReactNode /* string */ }; - 'playground_emotion_range_tips': { range: ReactNode /* string */ }; - 'playground_emotion_tips': { docLink: ReactNode /* string */ }; - 'plugin_config_modal_static_ip_desc_with_url': { url: ReactNode /* string */ }; - 'plugin_tool_exists_tips': { num: ReactNode /* number */ }; - 'plugin_tool_import_result_tips': { succToolCount: ReactNode /* string */, failToolCount: ReactNode /* string */ }; - 'poorly_supported_explain_toolName': { modelName: ReactNode /* string */, toolName: ReactNode /* string */ }; - 'premium_cancel_alert_des': { date: ReactNode /* string */ }; - 'premium_canceled_des': { date: ReactNode /* string */ }; - 'premium_connect_button_des': { count: ReactNode /* string */ }; - 'premium_connect_platform': { platform: ReactNode /* string */ }; - 'premium_connect_platform_des': { platform: ReactNode /* string */ }; - 'premium_credits_per_message': { count: ReactNode /* string */ }; - 'premium_free_trial_new': { count: ReactNode /* string */ }; - 'premium_login_tips': { login: ReactNode /* string */ }; - 'premium_message_credits': { count: ReactNode /* string */ }; - 'premium_message_credits_des': { count: ReactNode /* string */ }; - 'premium_message_exchange': { count: ReactNode /* string */ }; - 'premium_messages_count': { count: ReactNode /* string */ }; - 'premium_messages_per_day': { count: ReactNode /* string */ }; - 'premium_plan_plugin_cost_credits_per_call': { number: ReactNode /* string */ }; - 'premium_price_month': { price: ReactNode /* string */ }; - 'professional_plan_n_paid_plugins_included_in_bot': { count: ReactNode /* string */ }; - 'professional_plan_n_paid_plugins_included_in_workflow': { count: ReactNode /* string */ }; - 'profile_interactive_update_bots': { num: ReactNode /* string */ }; - 'profile_notify_follow_target_update': { nick_name: ReactNode /* string */, num: ReactNode /* string */ }; - 'profile_notify_follow_targets_update': { num: ReactNode /* string */ }; - 'profile_notify_single_user_follow': { nick_name: ReactNode /* string */ }; - 'profile_notify_some_users_follow': { num: ReactNode /* string */ }; - 'project_conversation_list_batch_delete_btn': { len: ReactNode /* string */ }; - 'project_conversation_list_batch_delete_tooltip_context': { len: ReactNode /* string */ }; - 'project_ide_info_created_on': { time: ReactNode /* string */ }; - 'project_ide_tab_title': { project_name: ReactNode /* string */ }; - 'project_library_voice_add_finished_chances': { leftChangce: ReactNode /* string */, allChance: ReactNode /* string */ }; - 'project_library_voice_add_record_time': { time: ReactNode /* string */ }; - 'project_plugin_delete_modal_title': { pluginName: ReactNode /* string */ }; - 'project_publish_select_desc_compliance_new': { publish_terms_title: ReactNode /* string */ }; - 'project_release_example1': { version: ReactNode /* string */ }; - 'project_release_package_failed_reason': { package_failed_reason: ReactNode /* string */ }; - 'project_release_reason_channel': { reason_channel: ReactNode /* string */ }; - 'project_release_template_info_not': { template_info_type: ReactNode /* string */ }; - 'project_resource_modal_library_resources': { resource: ReactNode /* string */ }; - 'project_resource_modal_project_resources': { resource: ReactNode /* string */ }; - 'project_resource_sidebar_confirm_batch_delete': { count: ReactNode /* string */ }; - 'project_resource_sidebar_confirm_delete': { resourceName: ReactNode /* string */ }; - 'project_resource_sidebar_create_new_resource': { resource: ReactNode /* string */ }; - 'project_resource_sidebar_disable_resource': { resource: ReactNode /* string */ }; - 'project_resource_sidebar_enable_resource': { resource: ReactNode /* string */ }; - 'project_resource_sidebar_resource_not_added': { resource: ReactNode /* string */ }; - 'project_resource_sidebar_warning_label_exists': { label: ReactNode /* string */ }; - 'project_store_search_result': { amount: ReactNode /* string */ }; - 'project_toast_copying_resource': { resourceName: ReactNode /* string */ }; - 'publish_audit_pop2': { reason: ReactNode /* string */ }; - 'publish_bot_allow_share': { platform: ReactNode /* string */ }; - 'publish_bot_not_allow_share': { platform: ReactNode /* string */ }; - 'publish_channel_control_page_channel_set_status_bar': { open: ReactNode /* string */, close: ReactNode /* string */ }; - 'publish_channel_control_page_chosen': { count: ReactNode /* string */ }; - 'publish_permission_control_page_white_list_reach_limit': { count: ReactNode /* string */ }; - 'query_latency': { duration: ReactNode /* string */ }; - 'query_latency_hover': { duration: ReactNode /* string */ }; - 'query_tokens_hover': { number: ReactNode /* string */ }; - 'query_tokens_number': { number: ReactNode /* string */ }; - 'realtime_sdk_playground_event_7': { event_name: ReactNode /* string */ }; - 'realtime_sdk_playground_voice_9': { name: ReactNode /* string */ }; - 'realtime_sdk_playground_welcome_1': { user_name: ReactNode /* string */ }; - 'reasoning_leaderboard_top_n': { n: ReactNode /* string */ }; - 'reasoning_leaderboard_top_n_explain': { n: ReactNode /* string */ }; - 'release_analysis_days_compare': { days: ReactNode /* string */ }; - 'release_analysis_time': { days: ReactNode /* string */ }; - 'release_management_add_failed': { number: ReactNode /* string */ }; - 'release_management_detail1': { button: ReactNode /* string */ }; - 'release_management_link': { url: ReactNode /* string */ }; - 'release_management_removed': { number: ReactNode /* string */ }; - 'release_management_removed2': { count: ReactNode /* string */ }; - 'release_management_unlist_confirm': { platform: ReactNode /* string */ }; - 'resource_move_title': { bot_name: ReactNode /* string */ }; - 'resource_process_modal_text_copying_resource_to_library': { resourceName: ReactNode /* string */ }; - 'resource_process_modal_text_copying_resource_to_project': { resourceName: ReactNode /* string */ }; - 'resource_process_modal_text_moving_resource_to_library': { resourceName: ReactNode /* string */ }; - 'role_play_leaderboard_top_n': { n: ReactNode /* string */ }; - 'role_play_leaderboard_top_n_explain': { n: ReactNode /* string */ }; - 'scaling_base_plus_extra': { basic: ReactNode /* string */, extra: ReactNode /* string */ }; - 'scaling_cancel_tip': { type: ReactNode /* string */, num: ReactNode /* string */ }; - 'scaling_confirm_activate': { type: ReactNode /* string */ }; - 'scaling_expand_type': { type: ReactNode /* string */ }; - 'scaling_expand_type_desc': { type: ReactNode /* string */ }; - 'scaling_integer_only': { num: ReactNode /* string */ }; - 'scaling_max_tip': { max: ReactNode /* string */, link: ReactNode /* string */ }; - 'scene_chat_error_empty_seat_fix_content': { nickname: ReactNode /* string */ }; - 'scene_edit_preview_init_added': { n: ReactNode /* string */ }; - 'scene_edit_preview_init_added_4': { n: ReactNode /* string */ }; - 'scene_edit_preview_init_need_to_add': { m: ReactNode /* string */ }; - 'scene_edit_preview_input_box_allow_send_title': { list: ReactNode /* string */ }; - 'scene_edit_preview_message_sendto': { list: ReactNode /* string */ }; - 'scene_edit_preview_message_sequentially': { list: ReactNode /* string */ }; - 'scene_edit_preview_message_simultaneously': { list: ReactNode /* string */ }; - 'scene_edit_preview_next_speaker_text': { name: ReactNode /* string */ }; - 'scene_edit_roles_reserve_add_member_subtitle': { n: ReactNode /* string */ }; - 'scene_mkpl_bot_remove_subtitle2': { num: ReactNode /* number */ }; - 'scene_mkpl_play_waiting': { n: ReactNode /* string */ }; - 'scene_mkpl_search_tab_title2': { num: ReactNode /* number */ }; - 'scene_roles_visibility_select_custom_all': { role_name: ReactNode /* string */ }; - 'scene_workflow_chat_node_conversation_visibility_custom_roles_seat': { n: ReactNode /* string */ }; - 'scene_workflow_delete_workflow_button': { source: ReactNode /* string */ }; - 'scene_workflow_delete_workflow_popup_subtitle': { source: ReactNode /* string */ }; - 'scene_workflow_delete_workflow_popup_title': { source: ReactNode /* string */ }; - 'scene_workflow_testrun_nickname': { role: ReactNode /* string */, n: ReactNode /* string */ }; - 'share_card_title': { bot_name: ReactNode /* string */ }; - 'shortcut_modal_components_hover_tip': { var1: ReactNode /* string */, var2: ReactNode /* string */ }; - 'shortcut_modal_max_component_tip': { maxCount: ReactNode /* string */ }; - 'shortcut_modal_query_message_hover_tip_component_mode': { var1: ReactNode /* string */, var2: ReactNode /* string */ }; - 'shortcut_modal_save_shortcut_with_components_unused_modal_desc': { unUsedComponentsNames: ReactNode /* string */ }; - 'shortcut_modal_selector_component_count_of_options': { count: ReactNode /* string */ }; - 'sign_third_button': { platform: ReactNode /* string */ }; - 'store_bot_privacy_container': { Terms: ReactNode /* string */ }; - 'store_search_result1': { num: ReactNode /* number */ }; - 'store_search_result2': { num: ReactNode /* number */ }; - 'store_search_result3': { num: ReactNode /* number */ }; - 'store_search_result5': { amount: ReactNode /* string */ }; - 'store_search_result6': { num: ReactNode /* number */ }; - 'store_search_result_mobile': { query: ReactNode /* string */ }; - 'store_search_suggest_page': { query: ReactNode /* string */ }; - 'store_search_suggest_result': { query: ReactNode /* string */ }; - 'store_search_suggest_result_amout': { query: ReactNode /* string */ }; - 'store_service_plugin_connector_only': { connector_names: ReactNode /* string */ }; - 'subscribe_message_credit': { count: ReactNode /* string */ }; - 'support_poor_explain': { modelName: ReactNode /* string */ }; - 'switch_to_on_demand_call_warning_notsupported': { call_method: ReactNode /* string */, modelName: ReactNode /* string */, toolName: ReactNode /* string */ }; - 'switch_to_on_demand_call_warning_supportpoor': { callMethod: ReactNode /* string */, modelName: ReactNode /* string */, toolName: ReactNode /* string */ }; - 'tab_bot_detail': { bot_name: ReactNode /* string */ }; - 'tab_dataset_detail': { dataset_name: ReactNode /* string */ }; - 'tab_explore_bot_detail': { bot_name: ReactNode /* string */ }; - 'tab_plugin_detail': { plugin_name: ReactNode /* string */ }; - 'tab_workflow_detail': { workflow_name: ReactNode /* string */ }; - 'tab_{placeholder1}_bind_page_{bametpageid}': { placeholder1: ReactNode /* string */, targetPageId: ReactNode /* string */ }; - 'tab_{placeholder1}_binds_the_page_{bametpageid}__and_unbinds_the_page_from_the_o': { placeholder1: ReactNode /* string */, targetPageId: ReactNode /* string */, placeholder5: ReactNode /* string */ }; - 'tab_{tabtitle}__has_been_bound_to__{label}___after_confirmation__the_original_bi': { tabTitle: ReactNode /* string */, label: ReactNode /* string */ }; - 'table_view_002': { n: ReactNode /* string */ }; + playground_emotion_range_tips: { range: ReactNode /* string */ }; + playground_emotion_tips: { docLink: ReactNode /* string */ }; + plugin_config_modal_static_ip_desc_with_url: { url: ReactNode /* string */ }; + plugin_tool_exists_tips: { num: ReactNode /* number */ }; + plugin_tool_import_result_tips: { + succToolCount: ReactNode /* string */; + failToolCount: ReactNode /* string */; + }; + poorly_supported_explain_toolName: { + modelName: ReactNode /* string */; + toolName: ReactNode /* string */; + }; + premium_cancel_alert_des: { date: ReactNode /* string */ }; + premium_canceled_des: { date: ReactNode /* string */ }; + premium_connect_button_des: { count: ReactNode /* string */ }; + premium_connect_platform: { platform: ReactNode /* string */ }; + premium_connect_platform_des: { platform: ReactNode /* string */ }; + premium_credits_per_message: { count: ReactNode /* string */ }; + premium_free_trial_new: { count: ReactNode /* string */ }; + premium_login_tips: { login: ReactNode /* string */ }; + premium_message_credits: { count: ReactNode /* string */ }; + premium_message_credits_des: { count: ReactNode /* string */ }; + premium_message_exchange: { count: ReactNode /* string */ }; + premium_messages_count: { count: ReactNode /* string */ }; + premium_messages_per_day: { count: ReactNode /* string */ }; + premium_plan_plugin_cost_credits_per_call: { number: ReactNode /* string */ }; + premium_price_month: { price: ReactNode /* string */ }; + professional_plan_n_paid_plugins_included_in_bot: { + count: ReactNode /* string */; + }; + professional_plan_n_paid_plugins_included_in_workflow: { + count: ReactNode /* string */; + }; + profile_interactive_update_bots: { num: ReactNode /* string */ }; + profile_notify_follow_target_update: { + nick_name: ReactNode /* string */; + num: ReactNode /* string */; + }; + profile_notify_follow_targets_update: { num: ReactNode /* string */ }; + profile_notify_single_user_follow: { nick_name: ReactNode /* string */ }; + profile_notify_some_users_follow: { num: ReactNode /* string */ }; + project_conversation_list_batch_delete_btn: { len: ReactNode /* string */ }; + project_conversation_list_batch_delete_tooltip_context: { + len: ReactNode /* string */; + }; + project_ide_info_created_on: { time: ReactNode /* string */ }; + project_ide_tab_title: { project_name: ReactNode /* string */ }; + project_library_voice_add_finished_chances: { + leftChangce: ReactNode /* string */; + allChance: ReactNode /* string */; + }; + project_library_voice_add_record_time: { time: ReactNode /* string */ }; + project_plugin_delete_modal_title: { pluginName: ReactNode /* string */ }; + project_publish_select_desc_compliance_new: { + publish_terms_title: ReactNode /* string */; + }; + project_release_example1: { version: ReactNode /* string */ }; + project_release_package_failed_reason: { + package_failed_reason: ReactNode /* string */; + }; + project_release_reason_channel: { reason_channel: ReactNode /* string */ }; + project_release_template_info_not: { + template_info_type: ReactNode /* string */; + }; + project_resource_modal_library_resources: { + resource: ReactNode /* string */; + }; + project_resource_modal_project_resources: { + resource: ReactNode /* string */; + }; + project_resource_sidebar_confirm_batch_delete: { + count: ReactNode /* string */; + }; + project_resource_sidebar_confirm_delete: { + resourceName: ReactNode /* string */; + }; + project_resource_sidebar_create_new_resource: { + resource: ReactNode /* string */; + }; + project_resource_sidebar_disable_resource: { + resource: ReactNode /* string */; + }; + project_resource_sidebar_enable_resource: { + resource: ReactNode /* string */; + }; + project_resource_sidebar_resource_not_added: { + resource: ReactNode /* string */; + }; + project_resource_sidebar_warning_label_exists: { + label: ReactNode /* string */; + }; + project_store_search_result: { amount: ReactNode /* string */ }; + project_toast_copying_resource: { resourceName: ReactNode /* string */ }; + publish_audit_pop2: { reason: ReactNode /* string */ }; + publish_bot_allow_share: { platform: ReactNode /* string */ }; + publish_bot_not_allow_share: { platform: ReactNode /* string */ }; + publish_channel_control_page_channel_set_status_bar: { + open: ReactNode /* string */; + close: ReactNode /* string */; + }; + publish_channel_control_page_chosen: { count: ReactNode /* string */ }; + publish_permission_control_page_white_list_reach_limit: { + count: ReactNode /* string */; + }; + query_latency: { duration: ReactNode /* string */ }; + query_latency_hover: { duration: ReactNode /* string */ }; + query_tokens_hover: { number: ReactNode /* string */ }; + query_tokens_number: { number: ReactNode /* string */ }; + realtime_sdk_playground_event_7: { event_name: ReactNode /* string */ }; + realtime_sdk_playground_voice_9: { name: ReactNode /* string */ }; + realtime_sdk_playground_welcome_1: { user_name: ReactNode /* string */ }; + reasoning_leaderboard_top_n: { n: ReactNode /* string */ }; + reasoning_leaderboard_top_n_explain: { n: ReactNode /* string */ }; + release_analysis_days_compare: { days: ReactNode /* string */ }; + release_analysis_time: { days: ReactNode /* string */ }; + release_management_add_failed: { number: ReactNode /* string */ }; + release_management_detail1: { button: ReactNode /* string */ }; + release_management_link: { url: ReactNode /* string */ }; + release_management_removed: { number: ReactNode /* string */ }; + release_management_removed2: { count: ReactNode /* string */ }; + release_management_unlist_confirm: { platform: ReactNode /* string */ }; + resource_move_title: { bot_name: ReactNode /* string */ }; + resource_process_modal_text_copying_resource_to_library: { + resourceName: ReactNode /* string */; + }; + resource_process_modal_text_copying_resource_to_project: { + resourceName: ReactNode /* string */; + }; + resource_process_modal_text_moving_resource_to_library: { + resourceName: ReactNode /* string */; + }; + role_play_leaderboard_top_n: { n: ReactNode /* string */ }; + role_play_leaderboard_top_n_explain: { n: ReactNode /* string */ }; + scaling_base_plus_extra: { + basic: ReactNode /* string */; + extra: ReactNode /* string */; + }; + scaling_cancel_tip: { + type: ReactNode /* string */; + num: ReactNode /* string */; + }; + scaling_confirm_activate: { type: ReactNode /* string */ }; + scaling_expand_type: { type: ReactNode /* string */ }; + scaling_expand_type_desc: { type: ReactNode /* string */ }; + scaling_integer_only: { num: ReactNode /* string */ }; + scaling_max_tip: { + max: ReactNode /* string */; + link: ReactNode /* string */; + }; + scene_chat_error_empty_seat_fix_content: { nickname: ReactNode /* string */ }; + scene_edit_preview_init_added: { n: ReactNode /* string */ }; + scene_edit_preview_init_added_4: { n: ReactNode /* string */ }; + scene_edit_preview_init_need_to_add: { m: ReactNode /* string */ }; + scene_edit_preview_input_box_allow_send_title: { + list: ReactNode /* string */; + }; + scene_edit_preview_message_sendto: { list: ReactNode /* string */ }; + scene_edit_preview_message_sequentially: { list: ReactNode /* string */ }; + scene_edit_preview_message_simultaneously: { list: ReactNode /* string */ }; + scene_edit_preview_next_speaker_text: { name: ReactNode /* string */ }; + scene_edit_roles_reserve_add_member_subtitle: { n: ReactNode /* string */ }; + scene_mkpl_bot_remove_subtitle2: { num: ReactNode /* number */ }; + scene_mkpl_play_waiting: { n: ReactNode /* string */ }; + scene_mkpl_search_tab_title2: { num: ReactNode /* number */ }; + scene_roles_visibility_select_custom_all: { + role_name: ReactNode /* string */; + }; + scene_workflow_chat_node_conversation_visibility_custom_roles_seat: { + n: ReactNode /* string */; + }; + scene_workflow_delete_workflow_button: { source: ReactNode /* string */ }; + scene_workflow_delete_workflow_popup_subtitle: { + source: ReactNode /* string */; + }; + scene_workflow_delete_workflow_popup_title: { + source: ReactNode /* string */; + }; + scene_workflow_testrun_nickname: { + role: ReactNode /* string */; + n: ReactNode /* string */; + }; + share_card_title: { bot_name: ReactNode /* string */ }; + shortcut_modal_components_hover_tip: { + var1: ReactNode /* string */; + var2: ReactNode /* string */; + }; + shortcut_modal_max_component_tip: { maxCount: ReactNode /* string */ }; + shortcut_modal_query_message_hover_tip_component_mode: { + var1: ReactNode /* string */; + var2: ReactNode /* string */; + }; + shortcut_modal_save_shortcut_with_components_unused_modal_desc: { + unUsedComponentsNames: ReactNode /* string */; + }; + shortcut_modal_selector_component_count_of_options: { + count: ReactNode /* string */; + }; + sign_third_button: { platform: ReactNode /* string */ }; + store_bot_privacy_container: { Terms: ReactNode /* string */ }; + store_search_result1: { num: ReactNode /* number */ }; + store_search_result2: { num: ReactNode /* number */ }; + store_search_result3: { num: ReactNode /* number */ }; + store_search_result5: { amount: ReactNode /* string */ }; + store_search_result6: { num: ReactNode /* number */ }; + store_search_result_mobile: { query: ReactNode /* string */ }; + store_search_suggest_page: { query: ReactNode /* string */ }; + store_search_suggest_result: { query: ReactNode /* string */ }; + store_search_suggest_result_amout: { query: ReactNode /* string */ }; + store_service_plugin_connector_only: { + connector_names: ReactNode /* string */; + }; + subscribe_message_credit: { count: ReactNode /* string */ }; + support_poor_explain: { modelName: ReactNode /* string */ }; + switch_to_on_demand_call_warning_notsupported: { + call_method: ReactNode /* string */; + modelName: ReactNode /* string */; + toolName: ReactNode /* string */; + }; + switch_to_on_demand_call_warning_supportpoor: { + callMethod: ReactNode /* string */; + modelName: ReactNode /* string */; + toolName: ReactNode /* string */; + }; + tab_bot_detail: { bot_name: ReactNode /* string */ }; + tab_dataset_detail: { dataset_name: ReactNode /* string */ }; + tab_explore_bot_detail: { bot_name: ReactNode /* string */ }; + tab_plugin_detail: { plugin_name: ReactNode /* string */ }; + tab_workflow_detail: { workflow_name: ReactNode /* string */ }; + 'tab_{placeholder1}_bind_page_{bametpageid}': { + placeholder1: ReactNode /* string */; + targetPageId: ReactNode /* string */; + }; + 'tab_{placeholder1}_binds_the_page_{bametpageid}__and_unbinds_the_page_from_the_o': { + placeholder1: ReactNode /* string */; + targetPageId: ReactNode /* string */; + placeholder5: ReactNode /* string */; + }; + 'tab_{tabtitle}__has_been_bound_to__{label}___after_confirmation__the_original_bi': { + tabTitle: ReactNode /* string */; + label: ReactNode /* string */; + }; + table_view_002: { n: ReactNode /* string */ }; 'tag_{placeholder1}': { placeholder1: ReactNode /* string */ }; - 'team_add_member_number_tip': { selectedMemberlength: ReactNode /* string */ }; - 'team_invitation_link_prefix': { spaceName: ReactNode /* string */ }; - 'team_management_add_member_success_toast': { number: ReactNode /* string */ }; - 'team_max_admin_tip': { maximumAdmins: ReactNode /* string */ }; - 'team_max_number_tip': { max_team_number: ReactNode /* string */ }; - 'team_share_link_page_expire_info': { date: ReactNode /* string */ }; - 'template_duplicate_count': { count: ReactNode /* string */ }; - 'terms_service_privacy_policy': { terms_of_service: ReactNode /* string */, privacy_policy: ReactNode /* string */ }; - 'the_file_size_exceeds_the_limit__the_maximum_support_is_{placeholder1}_mb': { placeholder1: ReactNode /* string */ }; - 'timecapsule_0123_001': { weekDay: ReactNode /* string */, date: ReactNode /* string */ }; - 'token_auto_recharge_specification': { count_1: ReactNode /* string */, count_2: ReactNode /* string */, count_3: ReactNode /* string */, count_4: ReactNode /* string */ }; - 'token_auto_recharge_specification1': { count: ReactNode /* string */ }; - 'token_auto_recharge_specification2': { count: ReactNode /* string */ }; - 'token_auto_recharge_specification3': { count: ReactNode /* string */ }; - 'token_auto_recharge_specification4': { count_limit: ReactNode /* string */ }; - 'tool_usage_leaderboard_top_n': { n: ReactNode /* string */ }; - 'tool_usage_leaderboard_top_n_explain': { n: ReactNode /* string */ }; - 'toolname_used_mockset_mocksetname': { toolName: ReactNode /* string */, mockSetName: ReactNode /* string */ }; - 'tools_imported_successfully': { num: ReactNode /* number */ }; - 'ui_js_expression_setter_trigger_when': { when: ReactNode /* string */ }; - 'uibuilder_eventpanel_runworkflow_success_defaultvalue': { workflowName: ReactNode /* string */ }; - 'unbind_the_original_binding_relationship_{placeholder1}_add_tab_{newtitle}_to_th': { placeholder1: ReactNode /* string */, newTitle: ReactNode /* string */, currentPageId: ReactNode /* string */ }; + team_add_member_number_tip: { selectedMemberlength: ReactNode /* string */ }; + team_invitation_link_prefix: { spaceName: ReactNode /* string */ }; + team_management_add_member_success_toast: { number: ReactNode /* string */ }; + team_max_admin_tip: { maximumAdmins: ReactNode /* string */ }; + team_max_number_tip: { max_team_number: ReactNode /* string */ }; + team_share_link_page_expire_info: { date: ReactNode /* string */ }; + template_duplicate_count: { count: ReactNode /* string */ }; + terms_service_privacy_policy: { + terms_of_service: ReactNode /* string */; + privacy_policy: ReactNode /* string */; + }; + 'the_file_size_exceeds_the_limit__the_maximum_support_is_{placeholder1}_mb': { + placeholder1: ReactNode /* string */; + }; + timecapsule_0123_001: { + weekDay: ReactNode /* string */; + date: ReactNode /* string */; + }; + token_auto_recharge_specification: { + count_1: ReactNode /* string */; + count_2: ReactNode /* string */; + count_3: ReactNode /* string */; + count_4: ReactNode /* string */; + }; + token_auto_recharge_specification1: { count: ReactNode /* string */ }; + token_auto_recharge_specification2: { count: ReactNode /* string */ }; + token_auto_recharge_specification3: { count: ReactNode /* string */ }; + token_auto_recharge_specification4: { count_limit: ReactNode /* string */ }; + tool_usage_leaderboard_top_n: { n: ReactNode /* string */ }; + tool_usage_leaderboard_top_n_explain: { n: ReactNode /* string */ }; + toolname_used_mockset_mocksetname: { + toolName: ReactNode /* string */; + mockSetName: ReactNode /* string */; + }; + tools_imported_successfully: { num: ReactNode /* number */ }; + ui_js_expression_setter_trigger_when: { when: ReactNode /* string */ }; + uibuilder_eventpanel_runworkflow_success_defaultvalue: { + workflowName: ReactNode /* string */; + }; + 'unbind_the_original_binding_relationship_{placeholder1}_add_tab_{newtitle}_to_th': { + placeholder1: ReactNode /* string */; + newTitle: ReactNode /* string */; + currentPageId: ReactNode /* string */; + }; 'update_the_page_title_to_{title}': { title: ReactNode /* string */ }; - 'upload_image_size_limit': { max_size: ReactNode /* string */ }; - 'upload_success_failed_count': { successNum: ReactNode /* string */, failedNum: ReactNode /* string */ }; - 'uploading_filename': { filename: ReactNode /* string */ }; - 'url_add_007': { count: ReactNode /* string */ }; - 'url_add_013': { limit: ReactNode /* string */ }; - 'url_add_014': { limit: ReactNode /* string */, exceeds: ReactNode /* string */ }; - 'video_agent_response_image': { name: ReactNode /* string */ }; - 'voice_clone_create_name': { name: ReactNode /* string */ }; - 'voice_clone_delete_content_chance': { chance: ReactNode /* string */ }; - 'web_sdk_free_quota': { used_count: ReactNode /* string */, total_count: ReactNode /* string */ }; - 'web_sdk_official_banner': { docs_link: ReactNode /* string */ }; - 'wf_chatflow_121': { flowMode: ReactNode /* string */ }; - 'wf_chatflow_123': { Chatflow: ReactNode /* string */ }; - 'wf_max_items': { maxCount: ReactNode /* string */ }; - 'wf_node_add_wf_modal_toast_wf_added': { workflowName: ReactNode /* string */ }; - 'wf_published_version_open_loop_experiments': { workflowVersion: ReactNode /* string */ }; - 'wf_voice_emotion_listen_tooltip': { link: ReactNode /* string */ }; - 'wf_voice_emotion_tooltip': { emotions: ReactNode /* string */ }; - 'workflow_0224_02': { source: ReactNode /* string */ }; - 'workflow_250117_05': { maxCount: ReactNode /* string */ }; - 'workflow_250416_02': { min: ReactNode /* string */, max: ReactNode /* string */ }; - 'workflow_250417_01': { min: ReactNode /* string */, max: ReactNode /* string */ }; - 'workflow_add_imageflow_toast_fail': { name: ReactNode /* string */ }; - 'workflow_add_imageflow_toast_success': { name: ReactNode /* string */ }; - 'workflow_debug_testonenode_group': { nodeTitle: ReactNode /* string */ }; - 'workflow_debug_testonenode_title': { node_name: ReactNode /* string */ }; - 'workflow_derail_node_detail_title_max': { max: ReactNode /* string */ }; - 'workflow_detail_batch_item_tooltip': { name: ReactNode /* string */ }; - 'workflow_detail_error_message': { msg: ReactNode /* string */ }; - 'workflow_detail_node_error_name_duplicated': { name: ReactNode /* string */ }; - 'workflow_detail_node_workflows_max': { number: ReactNode /* string */ }; - 'workflow_detail_node_workflows_referencing': { number: ReactNode /* string */ }; - 'workflow_detail_node_workflows_referencing_tip': { number: ReactNode /* string */ }; - 'workflow_detail_testrun_panel_batch_naviagte_stop': { variable: ReactNode /* string */, len: ReactNode /* string */ }; - 'workflow_detail_testrun_warning_variable_get_empty': { key: ReactNode /* string */ }; - 'workflow_detail_testrun_warning_variable_get_failed': { key: ReactNode /* string */ }; - 'workflow_detail_testrun_warning_variable_set_failed': { key: ReactNode /* string */ }; - 'workflow_detail_title_saved_2': { time: ReactNode /* string */ }; - 'workflow_detail_title_testrun_boolean_select': { a: ReactNode /* string */ }; - 'workflow_detail_title_testrun_error_input': { a: ReactNode /* string */ }; - 'workflow_encapsulate_selecet': { length: ReactNode /* string */ }; - 'workflow_knowledeg_unexit_error': { id: ReactNode /* string */ }; - 'workflow_node_lose_efficacy': { name: ReactNode /* string */ }; - 'workflow_node_lose_efficacy_if': { name: ReactNode /* string */ }; - 'workflow_node_lose_efficacy_wf': { name: ReactNode /* string */ }; - 'workflow_publish_multibranch_auto_saved': { time: ReactNode /* string */ }; - 'workflow_publish_multibranch_published': { name: ReactNode /* string */, time: ReactNode /* string */ }; - 'workflow_publish_multibranch_submitted': { name: ReactNode /* string */, time: ReactNode /* string */ }; - 'workflow_refer_var_type_same': { type: ReactNode /* string */ }; - 'workflow_stringprocess_max_length_item': { maxLength: ReactNode /* string */ }; - 'workflow_subcanvas_pull_out': { ctrl: ReactNode /* string */ }; - 'workflow_tab_title': { name: ReactNode /* string */ }; - 'workflow_testset_creation_time': { xxx: ReactNode /* string */ }; - 'workflow_testset_invaild_tip': { testset_name: ReactNode /* string */ }; - 'workflow_testset_invalid_tip': { testsetName: ReactNode /* string */ }; - 'workflow_testset_required_tip': { param_name: ReactNode /* string */ }; - 'workflow_testset_upload_content': { xx: ReactNode /* string */ }; - 'workflow_trigger_param_must_point': { var: ReactNode /* string */ }; - 'workflow_var_type_same': { type: ReactNode /* string */ }; - 'workflow_variable_edit_time': { time: ReactNode /* string */ }; - 'workflow_version_add_model_content': { oldVersion: ReactNode /* string */, newVersion: ReactNode /* string */ }; - 'workflow_version_update_model_content': { myVersion: ReactNode /* string */, latestVersion: ReactNode /* string */ }; - 'workflowstore_edit_time': { time: ReactNode /* string */ }; - 'workflowstore_submit_wait': { time: ReactNode /* string */ }; - 'workspace_apply_confirm_pop': { amount: ReactNode /* string */ }; - 'workspace_invitation_msg_sent': { number: ReactNode /* string */ }; - 'workspace_invites_page_expire': { date: ReactNode /* string */ }; - 'workspace_move_member_list_tips_added_enterprise': { enterprise: ReactNode /* string */ }; - 'workspace_move_member_list_tips_unable_invite_tips': { enterprise: ReactNode /* string */ }; - 'workspace_share_url_page_expire': { date: ReactNode /* string */ }; - 'workspace_share_url_page_title': { spaceName: ReactNode /* string */, expireDate: ReactNode /* string */ }; - '{desc};_unbind_the_current_page_{currentpageid}_with_the_current_tag_{placeholde': { desc: ReactNode /* string */, currentPageId: ReactNode /* string */, placeholder4: ReactNode /* string */ }; - '{desc}_unbind_the_original_tab_{placeholder2}_and_{placeholder4}_pages__and_bind': { desc: ReactNode /* string */, placeholder2: ReactNode /* string */, placeholder4: ReactNode /* string */, currentPageId: ReactNode /* string */ }; - '{newdesc}_and_unbind_tab_{placeholder2}': { newDesc: ReactNode /* string */, placeholder2: ReactNode /* string */ }; - '{newdesc}_there_is_a_tab_with_the_same_name__and_bound_to_the_tab_{placeholder2}': { newDesc: ReactNode /* string */, placeholder2: ReactNode /* string */ }; + upload_image_size_limit: { max_size: ReactNode /* string */ }; + upload_success_failed_count: { + successNum: ReactNode /* string */; + failedNum: ReactNode /* string */; + }; + uploading_filename: { filename: ReactNode /* string */ }; + url_add_007: { count: ReactNode /* string */ }; + url_add_013: { limit: ReactNode /* string */ }; + url_add_014: { + limit: ReactNode /* string */; + exceeds: ReactNode /* string */; + }; + video_agent_response_image: { name: ReactNode /* string */ }; + voice_clone_create_name: { name: ReactNode /* string */ }; + voice_clone_delete_content_chance: { chance: ReactNode /* string */ }; + web_sdk_free_quota: { + used_count: ReactNode /* string */; + total_count: ReactNode /* string */; + }; + web_sdk_official_banner: { docs_link: ReactNode /* string */ }; + wf_chatflow_121: { flowMode: ReactNode /* string */ }; + wf_chatflow_123: { Chatflow: ReactNode /* string */ }; + wf_max_items: { maxCount: ReactNode /* string */ }; + wf_node_add_wf_modal_toast_wf_added: { workflowName: ReactNode /* string */ }; + wf_published_version_open_loop_experiments: { + workflowVersion: ReactNode /* string */; + }; + wf_voice_emotion_listen_tooltip: { link: ReactNode /* string */ }; + wf_voice_emotion_tooltip: { emotions: ReactNode /* string */ }; + workflow_0224_02: { source: ReactNode /* string */ }; + workflow_250117_05: { maxCount: ReactNode /* string */ }; + workflow_250416_02: { + min: ReactNode /* string */; + max: ReactNode /* string */; + }; + workflow_250417_01: { + min: ReactNode /* string */; + max: ReactNode /* string */; + }; + workflow_add_imageflow_toast_fail: { name: ReactNode /* string */ }; + workflow_add_imageflow_toast_success: { name: ReactNode /* string */ }; + workflow_debug_testonenode_group: { nodeTitle: ReactNode /* string */ }; + workflow_debug_testonenode_title: { node_name: ReactNode /* string */ }; + workflow_derail_node_detail_title_max: { max: ReactNode /* string */ }; + workflow_detail_batch_item_tooltip: { name: ReactNode /* string */ }; + workflow_detail_error_message: { msg: ReactNode /* string */ }; + workflow_detail_node_error_name_duplicated: { name: ReactNode /* string */ }; + workflow_detail_node_workflows_max: { number: ReactNode /* string */ }; + workflow_detail_node_workflows_referencing: { + number: ReactNode /* string */; + }; + workflow_detail_node_workflows_referencing_tip: { + number: ReactNode /* string */; + }; + workflow_detail_testrun_panel_batch_naviagte_stop: { + variable: ReactNode /* string */; + len: ReactNode /* string */; + }; + workflow_detail_testrun_warning_variable_get_empty: { + key: ReactNode /* string */; + }; + workflow_detail_testrun_warning_variable_get_failed: { + key: ReactNode /* string */; + }; + workflow_detail_testrun_warning_variable_set_failed: { + key: ReactNode /* string */; + }; + workflow_detail_title_saved_2: { time: ReactNode /* string */ }; + workflow_detail_title_testrun_boolean_select: { a: ReactNode /* string */ }; + workflow_detail_title_testrun_error_input: { a: ReactNode /* string */ }; + workflow_encapsulate_selecet: { length: ReactNode /* string */ }; + workflow_knowledeg_unexit_error: { id: ReactNode /* string */ }; + workflow_node_lose_efficacy: { name: ReactNode /* string */ }; + workflow_node_lose_efficacy_if: { name: ReactNode /* string */ }; + workflow_node_lose_efficacy_wf: { name: ReactNode /* string */ }; + workflow_publish_multibranch_auto_saved: { time: ReactNode /* string */ }; + workflow_publish_multibranch_published: { + name: ReactNode /* string */; + time: ReactNode /* string */; + }; + workflow_publish_multibranch_submitted: { + name: ReactNode /* string */; + time: ReactNode /* string */; + }; + workflow_refer_var_type_same: { type: ReactNode /* string */ }; + workflow_stringprocess_max_length_item: { maxLength: ReactNode /* string */ }; + workflow_subcanvas_pull_out: { ctrl: ReactNode /* string */ }; + workflow_tab_title: { name: ReactNode /* string */ }; + workflow_testset_creation_time: { xxx: ReactNode /* string */ }; + workflow_testset_invaild_tip: { testset_name: ReactNode /* string */ }; + workflow_testset_invalid_tip: { testsetName: ReactNode /* string */ }; + workflow_testset_required_tip: { param_name: ReactNode /* string */ }; + workflow_testset_upload_content: { xx: ReactNode /* string */ }; + workflow_trigger_param_must_point: { var: ReactNode /* string */ }; + workflow_var_type_same: { type: ReactNode /* string */ }; + workflow_variable_edit_time: { time: ReactNode /* string */ }; + workflow_version_add_model_content: { + oldVersion: ReactNode /* string */; + newVersion: ReactNode /* string */; + }; + workflow_version_update_model_content: { + myVersion: ReactNode /* string */; + latestVersion: ReactNode /* string */; + }; + workflowstore_edit_time: { time: ReactNode /* string */ }; + workflowstore_submit_wait: { time: ReactNode /* string */ }; + workspace_apply_confirm_pop: { amount: ReactNode /* string */ }; + workspace_invitation_msg_sent: { number: ReactNode /* string */ }; + workspace_invites_page_expire: { date: ReactNode /* string */ }; + workspace_move_member_list_tips_added_enterprise: { + enterprise: ReactNode /* string */; + }; + workspace_move_member_list_tips_unable_invite_tips: { + enterprise: ReactNode /* string */; + }; + workspace_share_url_page_expire: { date: ReactNode /* string */ }; + workspace_share_url_page_title: { + spaceName: ReactNode /* string */; + expireDate: ReactNode /* string */; + }; + '{desc};_unbind_the_current_page_{currentpageid}_with_the_current_tag_{placeholde': { + desc: ReactNode /* string */; + currentPageId: ReactNode /* string */; + placeholder4: ReactNode /* string */; + }; + '{desc}_unbind_the_original_tab_{placeholder2}_and_{placeholder4}_pages__and_bind': { + desc: ReactNode /* string */; + placeholder2: ReactNode /* string */; + placeholder4: ReactNode /* string */; + currentPageId: ReactNode /* string */; + }; + '{newdesc}_and_unbind_tab_{placeholder2}': { + newDesc: ReactNode /* string */; + placeholder2: ReactNode /* string */; + }; + '{newdesc}_there_is_a_tab_with_the_same_name__and_bound_to_the_tab_{placeholder2}': { + newDesc: ReactNode /* string */; + placeholder2: ReactNode /* string */; + }; '{placeholder0}_plugin': { placeholder0: ReactNode /* string */ }; '{placeholder0}_success': { placeholder0: ReactNode /* string */ }; - '{placeholder1}_unconfigured_imported_parameters': { placeholder1: ReactNode /* string */ }; - 'Coze_token_history_action_app_2': { plugin_name: ReactNode /* string */, workflow_name: ReactNode /* string */, app_name: ReactNode /* string */ }; - 'Data_request_download_data_records': { date: ReactNode /* string */ }; - 'datasets_botRefer_list_description_after': { num: ReactNode /* number */ }; + '{placeholder1}_unconfigured_imported_parameters': { + placeholder1: ReactNode /* string */; + }; + Coze_token_history_action_app_2: { + plugin_name: ReactNode /* string */; + workflow_name: ReactNode /* string */; + app_name: ReactNode /* string */; + }; + Data_request_download_data_records: { date: ReactNode /* string */ }; + datasets_botRefer_list_description_after: { num: ReactNode /* number */ }; } // #endregion @@ -877,7 +1581,7 @@ export type I18nKeysHasOptionsType = keyof I18nOptionsMap; // #endregion // #region I18nKeysNoOptionsType -export type I18nKeysNoOptionsType = +export type I18nKeysNoOptionsType = | '2102' | '2103' | '4029' diff --git a/frontend/packages/arch/resources/studio-i18n-resource/vitest.config.ts b/frontend/packages/arch/resources/studio-i18n-resource/vitest.config.ts index f65b7c96..32d2dedc 100644 --- a/frontend/packages/arch/resources/studio-i18n-resource/vitest.config.ts +++ b/frontend/packages/arch/resources/studio-i18n-resource/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/responsive-kit/__tests__/components/layout/ResponsiveBox.test.tsx b/frontend/packages/arch/responsive-kit/__tests__/components/layout/ResponsiveBox.test.tsx index b6e01881..9edff7bc 100644 --- a/frontend/packages/arch/responsive-kit/__tests__/components/layout/ResponsiveBox.test.tsx +++ b/frontend/packages/arch/responsive-kit/__tests__/components/layout/ResponsiveBox.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, it, expect } from 'vitest'; diff --git a/frontend/packages/arch/responsive-kit/__tests__/components/layout/ResponsiveList.test.tsx b/frontend/packages/arch/responsive-kit/__tests__/components/layout/ResponsiveList.test.tsx index b36191f3..4005048a 100644 --- a/frontend/packages/arch/responsive-kit/__tests__/components/layout/ResponsiveList.test.tsx +++ b/frontend/packages/arch/responsive-kit/__tests__/components/layout/ResponsiveList.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, it, expect } from 'vitest'; diff --git a/frontend/packages/arch/responsive-kit/__tests__/hooks/media-query.test.ts b/frontend/packages/arch/responsive-kit/__tests__/hooks/media-query.test.ts index cb1cfd5d..06395e10 100644 --- a/frontend/packages/arch/responsive-kit/__tests__/hooks/media-query.test.ts +++ b/frontend/packages/arch/responsive-kit/__tests__/hooks/media-query.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { renderHook } from '@testing-library/react'; @@ -186,7 +186,9 @@ describe('useMediaQuery', () => { ); expect(window.matchMedia).toHaveBeenCalledWith( - `(min-width: ${SCREENS_TOKENS[ScreenRange.MD]}) and (max-width: ${SCREENS_TOKENS[ScreenRange.LG]})`, + `(min-width: ${SCREENS_TOKENS[ScreenRange.MD]}) and (max-width: ${ + SCREENS_TOKENS[ScreenRange.LG] + })`, ); }); diff --git a/frontend/packages/arch/responsive-kit/__tests__/utils/token-map-to-str.test.ts b/frontend/packages/arch/responsive-kit/__tests__/utils/token-map-to-str.test.ts index bbb987a0..c9c0474a 100644 --- a/frontend/packages/arch/responsive-kit/__tests__/utils/token-map-to-str.test.ts +++ b/frontend/packages/arch/responsive-kit/__tests__/utils/token-map-to-str.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { tokenMapToStr } from '../../src/utils/token-map-to-str'; diff --git a/frontend/packages/arch/responsive-kit/src/components/layout/ResponsiveBox.tsx b/frontend/packages/arch/responsive-kit/src/components/layout/ResponsiveBox.tsx index bd62043f..aa51eddc 100644 --- a/frontend/packages/arch/responsive-kit/src/components/layout/ResponsiveBox.tsx +++ b/frontend/packages/arch/responsive-kit/src/components/layout/ResponsiveBox.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { tokenMapToStr } from '../../utils/token-map-to-str'; diff --git a/frontend/packages/arch/responsive-kit/src/components/layout/ResponsiveList.tsx b/frontend/packages/arch/responsive-kit/src/components/layout/ResponsiveList.tsx index cf17f05b..dacad5f8 100644 --- a/frontend/packages/arch/responsive-kit/src/components/layout/ResponsiveList.tsx +++ b/frontend/packages/arch/responsive-kit/src/components/layout/ResponsiveList.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { tokenMapToStr } from '../../utils/token-map-to-str'; diff --git a/frontend/packages/arch/responsive-kit/src/constant.ts b/frontend/packages/arch/responsive-kit/src/constant.ts index b0873f7c..e3aeb309 100644 --- a/frontend/packages/arch/responsive-kit/src/constant.ts +++ b/frontend/packages/arch/responsive-kit/src/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ScreenRange { SM = 'sm', MD = 'md', diff --git a/frontend/packages/arch/responsive-kit/src/hooks/media-query.ts b/frontend/packages/arch/responsive-kit/src/hooks/media-query.ts index ee028e8a..a849635a 100644 --- a/frontend/packages/arch/responsive-kit/src/hooks/media-query.ts +++ b/frontend/packages/arch/responsive-kit/src/hooks/media-query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // @coze-arch/responsive-kit import { useEffect, useState } from 'react'; diff --git a/frontend/packages/arch/responsive-kit/src/index.tsx b/frontend/packages/arch/responsive-kit/src/index.tsx index 6f554ce3..7ce85f45 100644 --- a/frontend/packages/arch/responsive-kit/src/index.tsx +++ b/frontend/packages/arch/responsive-kit/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SCREENS_TOKENS, ScreenRange } from './constant'; export { useMediaQuery, useCustomMediaQuery } from './hooks/media-query'; diff --git a/frontend/packages/arch/responsive-kit/src/types.ts b/frontend/packages/arch/responsive-kit/src/types.ts index d83d4c3f..c10e921f 100644 --- a/frontend/packages/arch/responsive-kit/src/types.ts +++ b/frontend/packages/arch/responsive-kit/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type ResponsiveTokenMap = Partial< Record >; diff --git a/frontend/packages/arch/responsive-kit/src/typings.d.ts b/frontend/packages/arch/responsive-kit/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/responsive-kit/src/typings.d.ts +++ b/frontend/packages/arch/responsive-kit/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/responsive-kit/src/utils/token-map-to-str.ts b/frontend/packages/arch/responsive-kit/src/utils/token-map-to-str.ts index 8d570b13..b64036c9 100644 --- a/frontend/packages/arch/responsive-kit/src/utils/token-map-to-str.ts +++ b/frontend/packages/arch/responsive-kit/src/utils/token-map-to-str.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ResponsiveTokenMap } from '../types'; import { type ScreenRange } from '../constant'; diff --git a/frontend/packages/arch/responsive-kit/vitest.config.ts b/frontend/packages/arch/responsive-kit/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/arch/responsive-kit/vitest.config.ts +++ b/frontend/packages/arch/responsive-kit/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/slardar-adapter/src/index.ts b/frontend/packages/arch/slardar-adapter/src/index.ts index 352b88df..ad4d9171 100644 --- a/frontend/packages/arch/slardar-adapter/src/index.ts +++ b/frontend/packages/arch/slardar-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import slardarInstance from '@coze-studio/default-slardar'; diff --git a/frontend/packages/arch/slardar-adapter/vitest.config.ts b/frontend/packages/arch/slardar-adapter/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/arch/slardar-adapter/vitest.config.ts +++ b/frontend/packages/arch/slardar-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/slardar-interface/src/index.ts b/frontend/packages/arch/slardar-interface/src/index.ts index ed2b08f5..c7205913 100644 --- a/frontend/packages/arch/slardar-interface/src/index.ts +++ b/frontend/packages/arch/slardar-interface/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface SlardarConfig { sessionId?: string; [key: string]: unknown; diff --git a/frontend/packages/arch/slardar-interface/vitest.config.ts b/frontend/packages/arch/slardar-interface/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/arch/slardar-interface/vitest.config.ts +++ b/frontend/packages/arch/slardar-interface/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/tea-adapter/__tests__/index.test.ts b/frontend/packages/arch/tea-adapter/__tests__/index.test.ts index 08c14bf2..12eeef4b 100644 --- a/frontend/packages/arch/tea-adapter/__tests__/index.test.ts +++ b/frontend/packages/arch/tea-adapter/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import type { EVENT_NAMES, diff --git a/frontend/packages/arch/tea-adapter/src/index.ts b/frontend/packages/arch/tea-adapter/src/index.ts index 8900d16e..303cb865 100644 --- a/frontend/packages/arch/tea-adapter/src/index.ts +++ b/frontend/packages/arch/tea-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type EVENT_NAMES, diff --git a/frontend/packages/arch/tea-adapter/vitest.config.ts b/frontend/packages/arch/tea-adapter/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/arch/tea-adapter/vitest.config.ts +++ b/frontend/packages/arch/tea-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/tea-interface/src/coze-pro/index.ts b/frontend/packages/arch/tea-interface/src/coze-pro/index.ts index cbffe6af..cc937ef7 100644 --- a/frontend/packages/arch/tea-interface/src/coze-pro/index.ts +++ b/frontend/packages/arch/tea-interface/src/coze-pro/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type SecondEnvironment = 'cn-coze-pro' | 'cn-coze-basic'; export interface TeamInviteParams { diff --git a/frontend/packages/arch/tea-interface/src/events.ts b/frontend/packages/arch/tea-interface/src/events.ts index 245ed715..aed15721 100644 --- a/frontend/packages/arch/tea-interface/src/events.ts +++ b/frontend/packages/arch/tea-interface/src/events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ import { type OperateType } from '@coze-arch/bot-api/workflow_api'; import { type ChannelType } from '@coze-arch/bot-api/ui-builder'; @@ -280,12 +280,12 @@ export enum EVENT_NAMES { workflow_testrun_source = 'workflow_testrun_source', /** * Workflow Testrun Results - * + * */ workflow_testrun_result_front = 'workflow_testrun_result_front', /** * ! workflow Testrun node details, currently defined only, no event tracking - * + * */ workflow_testrun_detailed_front = 'workflow_testrun_detailed_front', /** Pre-release button click */ @@ -635,7 +635,7 @@ export enum BotShareConversationClick { /** * UG thread return parameter - * + * */ export interface UserGrowthEventParams { /** @@ -679,7 +679,7 @@ export interface ParamsTypeDefine { | 'cn-boe'; second_environment?: 'cn-coze-pro' | 'cn-coze-basic'; }; - // see + // see [EVENT_NAMES.view_bot]: { tab: 'my_bots' | 'starred_bots' }; [EVENT_NAMES.view_database]: never; [EVENT_NAMES.click_create_bot_confirm]: { diff --git a/frontend/packages/arch/tea-interface/src/index.ts b/frontend/packages/arch/tea-interface/src/index.ts index 10b47954..1541c0fb 100644 --- a/frontend/packages/arch/tea-interface/src/index.ts +++ b/frontend/packages/arch/tea-interface/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface IInitParam { app_id: number; channel?: 'cn' | 'va' | 'sg'; diff --git a/frontend/packages/arch/tea-interface/src/playground/index.ts b/frontend/packages/arch/tea-interface/src/playground/index.ts index d471baca..8483ff1a 100644 --- a/frontend/packages/arch/tea-interface/src/playground/index.ts +++ b/frontend/packages/arch/tea-interface/src/playground/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface PlaygroundSettingParams { user_id: string; action: 'page_view' | 'run'; diff --git a/frontend/packages/arch/tea-interface/src/product/index.ts b/frontend/packages/arch/tea-interface/src/product/index.ts index 76fa1ca2..1411d674 100644 --- a/frontend/packages/arch/tea-interface/src/product/index.ts +++ b/frontend/packages/arch/tea-interface/src/product/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type ProductEventSource = | 'add_plugin_menu' | 'bots_card' diff --git a/frontend/packages/arch/tea-interface/vitest.config.ts b/frontend/packages/arch/tea-interface/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/arch/tea-interface/vitest.config.ts +++ b/frontend/packages/arch/tea-interface/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/tea/src/global.d.ts b/frontend/packages/arch/tea/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/arch/tea/src/global.d.ts +++ b/frontend/packages/arch/tea/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/arch/tea/src/index.ts b/frontend/packages/arch/tea/src/index.ts index 99dff8c3..c3811728 100644 --- a/frontend/packages/arch/tea/src/index.ts +++ b/frontend/packages/arch/tea/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Tea from '@coze-studio/tea-adapter'; export { diff --git a/frontend/packages/arch/tea/vitest.config.ts b/frontend/packages/arch/tea/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/arch/tea/vitest.config.ts +++ b/frontend/packages/arch/tea/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/utils/__tests__/index.test.ts b/frontend/packages/arch/utils/__tests__/index.test.ts index 783c96c6..40d8f72c 100644 --- a/frontend/packages/arch/utils/__tests__/index.test.ts +++ b/frontend/packages/arch/utils/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + describe('Hello World', () => { it('test', () => { expect(1).toBe(1); diff --git a/frontend/packages/arch/utils/__tests__/setup.ts b/frontend/packages/arch/utils/__tests__/setup.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/arch/utils/__tests__/setup.ts +++ b/frontend/packages/arch/utils/__tests__/setup.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/arch/utils/src/index.ts b/frontend/packages/arch/utils/src/index.ts index 52a3d513..b7eb68fe 100644 --- a/frontend/packages/arch/utils/src/index.ts +++ b/frontend/packages/arch/utils/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { parseHashOrQuery } from './url/parse-hash-or-query'; diff --git a/frontend/packages/arch/utils/src/url/__tests__/parse-hash-or-query.test.ts b/frontend/packages/arch/utils/src/url/__tests__/parse-hash-or-query.test.ts index ff360c26..d5ed46ee 100644 --- a/frontend/packages/arch/utils/src/url/__tests__/parse-hash-or-query.test.ts +++ b/frontend/packages/arch/utils/src/url/__tests__/parse-hash-or-query.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { parseHashOrQuery } from '../parse-hash-or-query'; const baseQuery = 'keyA=123&keyB=false&keyC=test&%3F!a=%3F!a'; diff --git a/frontend/packages/arch/utils/src/url/parse-hash-or-query.ts b/frontend/packages/arch/utils/src/url/parse-hash-or-query.ts index c7a81d23..d2335b53 100644 --- a/frontend/packages/arch/utils/src/url/parse-hash-or-query.ts +++ b/frontend/packages/arch/utils/src/url/parse-hash-or-query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @deprecated use query-string or URLSearchParams instead * @param queryString query or hash string diff --git a/frontend/packages/arch/utils/vitest.config.ts b/frontend/packages/arch/utils/vitest.config.ts index d1388b46..54195fa5 100644 --- a/frontend/packages/arch/utils/vitest.config.ts +++ b/frontend/packages/arch/utils/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/arch/web-context/__tests__/const/app.test.ts b/frontend/packages/arch/web-context/__tests__/const/app.test.ts index ae885d0d..4224c099 100644 --- a/frontend/packages/arch/web-context/__tests__/const/app.test.ts +++ b/frontend/packages/arch/web-context/__tests__/const/app.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BaseEnum, SpaceAppEnum } from '../../src/const/app'; describe('const/app', () => { diff --git a/frontend/packages/arch/web-context/__tests__/const/community.test.ts b/frontend/packages/arch/web-context/__tests__/const/community.test.ts index e2e047ea..9d5b9f50 100644 --- a/frontend/packages/arch/web-context/__tests__/const/community.test.ts +++ b/frontend/packages/arch/web-context/__tests__/const/community.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniqueId } from 'lodash-es'; import { diff --git a/frontend/packages/arch/web-context/__tests__/const/custom.test.ts b/frontend/packages/arch/web-context/__tests__/const/custom.test.ts index 8b8af385..4a0c6c21 100644 --- a/frontend/packages/arch/web-context/__tests__/const/custom.test.ts +++ b/frontend/packages/arch/web-context/__tests__/const/custom.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { COZE_TOKEN_INSUFFICIENT_ERROR_CODE } from '../../src/const/custom'; describe('const/custom', () => { diff --git a/frontend/packages/arch/web-context/__tests__/event-bus.test.ts b/frontend/packages/arch/web-context/__tests__/event-bus.test.ts index 674029d7..347a14ea 100644 --- a/frontend/packages/arch/web-context/__tests__/event-bus.test.ts +++ b/frontend/packages/arch/web-context/__tests__/event-bus.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GlobalEventBus } from '../src/event-bus'; vi.mock('eventemitter3', () => ({ diff --git a/frontend/packages/arch/web-context/__tests__/global-var.test.ts b/frontend/packages/arch/web-context/__tests__/global-var.test.ts index 1d5a3ad0..0c7c5c14 100644 --- a/frontend/packages/arch/web-context/__tests__/global-var.test.ts +++ b/frontend/packages/arch/web-context/__tests__/global-var.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { globalVars } from '../src/global-var'; describe('global-var', () => { diff --git a/frontend/packages/arch/web-context/__tests__/index.test.ts b/frontend/packages/arch/web-context/__tests__/index.test.ts index eb37eb13..d9f6cf19 100644 --- a/frontend/packages/arch/web-context/__tests__/index.test.ts +++ b/frontend/packages/arch/web-context/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { redirect as originalRedirect } from '../src/location'; import { redirect, diff --git a/frontend/packages/arch/web-context/__tests__/location.test.ts b/frontend/packages/arch/web-context/__tests__/location.test.ts index e0d5b8a2..77d20004 100644 --- a/frontend/packages/arch/web-context/__tests__/location.test.ts +++ b/frontend/packages/arch/web-context/__tests__/location.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { redirect } from '../src/location'; const viHrefSetter = vi.fn(); diff --git a/frontend/packages/arch/web-context/src/const/app.ts b/frontend/packages/arch/web-context/src/const/app.ts index 9dab8e66..54b4d881 100644 --- a/frontend/packages/arch/web-context/src/const/app.ts +++ b/frontend/packages/arch/web-context/src/const/app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // extract from apps/bot/src/constant/app.ts export enum BaseEnum { Home = 'home', //Home diff --git a/frontend/packages/arch/web-context/src/const/community.ts b/frontend/packages/arch/web-context/src/const/community.ts index 8a2114dd..aa15305a 100644 --- a/frontend/packages/arch/web-context/src/const/community.ts +++ b/frontend/packages/arch/web-context/src/const/community.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniqueId } from 'lodash-es'; export const defaultConversationKey = -1; diff --git a/frontend/packages/arch/web-context/src/const/custom.ts b/frontend/packages/arch/web-context/src/const/custom.ts index 9a3fdfb5..48384be7 100644 --- a/frontend/packages/arch/web-context/src/const/custom.ts +++ b/frontend/packages/arch/web-context/src/const/custom.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // extract from apps/bot/src/constant/custom.ts const enum CozeTokenInsufficientErrorCode { diff --git a/frontend/packages/arch/web-context/src/event-bus.ts b/frontend/packages/arch/web-context/src/event-bus.ts index d9dd2f3b..95c81c29 100644 --- a/frontend/packages/arch/web-context/src/event-bus.ts +++ b/frontend/packages/arch/web-context/src/event-bus.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EventEmitter from 'eventemitter3'; interface EventWithData { diff --git a/frontend/packages/arch/web-context/src/global-var.ts b/frontend/packages/arch/web-context/src/global-var.ts index 2930a079..70c7bfb7 100644 --- a/frontend/packages/arch/web-context/src/global-var.ts +++ b/frontend/packages/arch/web-context/src/global-var.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ // Values that need to be shared globally can be registered here in advance interface GlobalVars { diff --git a/frontend/packages/arch/web-context/src/index.ts b/frontend/packages/arch/web-context/src/index.ts index 54ffba2f..98266459 100644 --- a/frontend/packages/arch/web-context/src/index.ts +++ b/frontend/packages/arch/web-context/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { redirect } from './location'; export { GlobalEventBus } from './event-bus'; export { globalVars } from './global-var'; diff --git a/frontend/packages/arch/web-context/src/location.ts b/frontend/packages/arch/web-context/src/location.ts index c1dbe13e..afb7d6f7 100644 --- a/frontend/packages/arch/web-context/src/location.ts +++ b/frontend/packages/arch/web-context/src/location.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // The redirect function is designed to redirect the user to a new URL. // It takes a single argument href which is a string representing the URL. // Upon invocation, it sets location.href to the provided URL, thereby navigating to the webpage. diff --git a/frontend/packages/arch/web-context/vitest.config.ts b/frontend/packages/arch/web-context/vitest.config.ts index 5870d6f9..abf6636b 100644 --- a/frontend/packages/arch/web-context/vitest.config.ts +++ b/frontend/packages/arch/web-context/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // FIXME: Unable to resolve path to module 'vitest/config' import { defineConfig } from 'vitest/config'; diff --git a/frontend/packages/common/auth-adapter/__tests__/project/use-init-project-role.test.ts b/frontend/packages/common/auth-adapter/__tests__/project/use-init-project-role.test.ts index 8363ad8a..8d3ed076 100644 --- a/frontend/packages/common/auth-adapter/__tests__/project/use-init-project-role.test.ts +++ b/frontend/packages/common/auth-adapter/__tests__/project/use-init-project-role.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { ProjectRoleType, useProjectAuthStore } from '@coze-common/auth'; diff --git a/frontend/packages/common/auth-adapter/__tests__/space/use-init-space-role.test.ts b/frontend/packages/common/auth-adapter/__tests__/space/use-init-space-role.test.ts index f6ce9931..2ca6605a 100644 --- a/frontend/packages/common/auth-adapter/__tests__/space/use-init-space-role.test.ts +++ b/frontend/packages/common/auth-adapter/__tests__/space/use-init-space-role.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { useSpaceAuthStore } from '@coze-common/auth'; diff --git a/frontend/packages/common/auth-adapter/src/index.ts b/frontend/packages/common/auth-adapter/src/index.ts index 2b8a991d..68543fca 100644 --- a/frontend/packages/common/auth-adapter/src/index.ts +++ b/frontend/packages/common/auth-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useInitSpaceRole } from './space/use-init-space-role'; export { useInitProjectRole } from './project/use-init-project-role'; diff --git a/frontend/packages/common/auth-adapter/src/project/use-init-project-role.ts b/frontend/packages/common/auth-adapter/src/project/use-init-project-role.ts index 59fcd0d4..3fe08a59 100644 --- a/frontend/packages/common/auth-adapter/src/project/use-init-project-role.ts +++ b/frontend/packages/common/auth-adapter/src/project/use-init-project-role.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/auth-adapter/src/space/use-init-space-role.ts b/frontend/packages/common/auth-adapter/src/space/use-init-space-role.ts index c3a13c4b..d6e9b90c 100644 --- a/frontend/packages/common/auth-adapter/src/space/use-init-space-role.ts +++ b/frontend/packages/common/auth-adapter/src/space/use-init-space-role.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The @file open-source version does not provide permission control functions for the time being. The methods exported in this file are for future expansion. */ diff --git a/frontend/packages/common/auth-adapter/src/typings.d.ts b/frontend/packages/common/auth-adapter/src/typings.d.ts index 1775ce21..aff3ad49 100644 --- a/frontend/packages/common/auth-adapter/src/typings.d.ts +++ b/frontend/packages/common/auth-adapter/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare const IS_DEV_MODE: boolean; /// diff --git a/frontend/packages/common/auth-adapter/vitest.config.ts b/frontend/packages/common/auth-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/auth-adapter/vitest.config.ts +++ b/frontend/packages/common/auth-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/auth/__tests__/project/calc-permission.test.ts b/frontend/packages/common/auth/__tests__/project/calc-permission.test.ts index f309786d..ca66bac6 100644 --- a/frontend/packages/common/auth/__tests__/project/calc-permission.test.ts +++ b/frontend/packages/common/auth/__tests__/project/calc-permission.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { SpaceRoleType, SpaceType } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/common/auth/__tests__/project/constants.test.ts b/frontend/packages/common/auth/__tests__/project/constants.test.ts index 5bd2f33c..fd5de6b8 100644 --- a/frontend/packages/common/auth/__tests__/project/constants.test.ts +++ b/frontend/packages/common/auth/__tests__/project/constants.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { diff --git a/frontend/packages/common/auth/__tests__/project/index.test.ts b/frontend/packages/common/auth/__tests__/project/index.test.ts index 228a733e..c520da68 100644 --- a/frontend/packages/common/auth/__tests__/project/index.test.ts +++ b/frontend/packages/common/auth/__tests__/project/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpaceRoleType, SpaceType } from '@coze-arch/idl/developer_api'; import { diff --git a/frontend/packages/common/auth/__tests__/project/store.test.ts b/frontend/packages/common/auth/__tests__/project/store.test.ts index 161a85d4..08845618 100644 --- a/frontend/packages/common/auth/__tests__/project/store.test.ts +++ b/frontend/packages/common/auth/__tests__/project/store.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; diff --git a/frontend/packages/common/auth/__tests__/project/use-destory-project.test.ts b/frontend/packages/common/auth/__tests__/project/use-destory-project.test.ts index 702091f2..030781b8 100644 --- a/frontend/packages/common/auth/__tests__/project/use-destory-project.test.ts +++ b/frontend/packages/common/auth/__tests__/project/use-destory-project.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/common/auth/__tests__/project/use-project-auth.test.ts b/frontend/packages/common/auth/__tests__/project/use-project-auth.test.ts index dfe3980b..88ffbe48 100644 --- a/frontend/packages/common/auth/__tests__/project/use-project-auth.test.ts +++ b/frontend/packages/common/auth/__tests__/project/use-project-auth.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { SpaceType } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/common/auth/__tests__/project/use-project-role.test.ts b/frontend/packages/common/auth/__tests__/project/use-project-role.test.ts index 8dd3e01a..844140b0 100644 --- a/frontend/packages/common/auth/__tests__/project/use-project-role.test.ts +++ b/frontend/packages/common/auth/__tests__/project/use-project-role.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/common/auth/__tests__/space/calc-permission.test.ts b/frontend/packages/common/auth/__tests__/space/calc-permission.test.ts index fb2bf0fc..43b1648b 100644 --- a/frontend/packages/common/auth/__tests__/space/calc-permission.test.ts +++ b/frontend/packages/common/auth/__tests__/space/calc-permission.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { SpaceRoleType } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/common/auth/__tests__/space/constants.test.ts b/frontend/packages/common/auth/__tests__/space/constants.test.ts index 39d07874..dec93aa8 100644 --- a/frontend/packages/common/auth/__tests__/space/constants.test.ts +++ b/frontend/packages/common/auth/__tests__/space/constants.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { SpaceRoleType } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/common/auth/__tests__/space/index.test.ts b/frontend/packages/common/auth/__tests__/space/index.test.ts index d4d23914..9bb7f368 100644 --- a/frontend/packages/common/auth/__tests__/space/index.test.ts +++ b/frontend/packages/common/auth/__tests__/space/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpaceRoleType } from '@coze-arch/idl/developer_api'; import { ESpacePermisson } from '../../src/space/constants'; diff --git a/frontend/packages/common/auth/__tests__/space/store.test.ts b/frontend/packages/common/auth/__tests__/space/store.test.ts index 1afe53d1..87450519 100644 --- a/frontend/packages/common/auth/__tests__/space/store.test.ts +++ b/frontend/packages/common/auth/__tests__/space/store.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach, vi } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; import { SpaceRoleType } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/common/auth/__tests__/space/use-destory-space.test.ts b/frontend/packages/common/auth/__tests__/space/use-destory-space.test.ts index 6fb1f467..b6e7ed60 100644 --- a/frontend/packages/common/auth/__tests__/space/use-destory-space.test.ts +++ b/frontend/packages/common/auth/__tests__/space/use-destory-space.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/common/auth/__tests__/space/use-space-auth.test.ts b/frontend/packages/common/auth/__tests__/space/use-space-auth.test.ts index 4612f40b..5019d27b 100644 --- a/frontend/packages/common/auth/__tests__/space/use-space-auth.test.ts +++ b/frontend/packages/common/auth/__tests__/space/use-space-auth.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { SpaceRoleType } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/common/auth/__tests__/space/use-space-role.test.ts b/frontend/packages/common/auth/__tests__/space/use-space-role.test.ts index 4247e081..c355e71f 100644 --- a/frontend/packages/common/auth/__tests__/space/use-space-role.test.ts +++ b/frontend/packages/common/auth/__tests__/space/use-space-role.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { SpaceRoleType } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/common/auth/src/index.ts b/frontend/packages/common/auth/src/index.ts index 967bc11a..db53c57b 100644 --- a/frontend/packages/common/auth/src/index.ts +++ b/frontend/packages/common/auth/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDestorySpace } from './space/use-destory-space'; export { useSpaceAuth } from './space/use-space-auth'; export { ESpacePermisson, SpaceRoleType } from './space/constants'; diff --git a/frontend/packages/common/auth/src/project/calc-permission.ts b/frontend/packages/common/auth/src/project/calc-permission.ts index fad93322..49a73271 100644 --- a/frontend/packages/common/auth/src/project/calc-permission.ts +++ b/frontend/packages/common/auth/src/project/calc-permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpaceRoleType, SpaceType } from '@coze-arch/idl/developer_api'; import { ProjectRoleType, EProjectPermission } from './constants'; diff --git a/frontend/packages/common/auth/src/project/constants.ts b/frontend/packages/common/auth/src/project/constants.ts index 2deeff30..9e2c763b 100644 --- a/frontend/packages/common/auth/src/project/constants.ts +++ b/frontend/packages/common/auth/src/project/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // TODO: replace with idl exported by Project interface export enum ProjectRoleType { Owner = 'owner', diff --git a/frontend/packages/common/auth/src/project/store.ts b/frontend/packages/common/auth/src/project/store.ts index 47ecb167..0631de04 100644 --- a/frontend/packages/common/auth/src/project/store.ts +++ b/frontend/packages/common/auth/src/project/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/common/auth/src/project/use-destory-project.ts b/frontend/packages/common/auth/src/project/use-destory-project.ts index 7b16aac2..d712accb 100644 --- a/frontend/packages/common/auth/src/project/use-destory-project.ts +++ b/frontend/packages/common/auth/src/project/use-destory-project.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useProjectAuthStore } from './store'; diff --git a/frontend/packages/common/auth/src/project/use-project-auth.ts b/frontend/packages/common/auth/src/project/use-project-auth.ts index a50d93b1..af7e3034 100644 --- a/frontend/packages/common/auth/src/project/use-project-auth.ts +++ b/frontend/packages/common/auth/src/project/use-project-auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useSpace } from '@coze-arch/foundation-sdk'; import { useSpaceRole } from '../space/use-space-role'; diff --git a/frontend/packages/common/auth/src/project/use-project-role.ts b/frontend/packages/common/auth/src/project/use-project-role.ts index cd375d23..bd6dbf10 100644 --- a/frontend/packages/common/auth/src/project/use-project-role.ts +++ b/frontend/packages/common/auth/src/project/use-project-role.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useProjectAuthStore } from './store'; diff --git a/frontend/packages/common/auth/src/space/calc-permission.ts b/frontend/packages/common/auth/src/space/calc-permission.ts index d0bff897..ccb4484e 100644 --- a/frontend/packages/common/auth/src/space/calc-permission.ts +++ b/frontend/packages/common/auth/src/space/calc-permission.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpaceRoleType } from '@coze-arch/idl/developer_api'; import { ESpacePermisson } from './constants'; diff --git a/frontend/packages/common/auth/src/space/constants.ts b/frontend/packages/common/auth/src/space/constants.ts index 2a2beb05..89792f82 100644 --- a/frontend/packages/common/auth/src/space/constants.ts +++ b/frontend/packages/common/auth/src/space/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Spatially dependent permission spot enumeration */ diff --git a/frontend/packages/common/auth/src/space/store.ts b/frontend/packages/common/auth/src/space/store.ts index 7e73984f..32beacd8 100644 --- a/frontend/packages/common/auth/src/space/store.ts +++ b/frontend/packages/common/auth/src/space/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { type SpaceRoleType } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/common/auth/src/space/use-destory-space.ts b/frontend/packages/common/auth/src/space/use-destory-space.ts index 1680fe72..05d7b8f5 100644 --- a/frontend/packages/common/auth/src/space/use-destory-space.ts +++ b/frontend/packages/common/auth/src/space/use-destory-space.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useSpaceAuthStore } from './store'; diff --git a/frontend/packages/common/auth/src/space/use-space-auth.ts b/frontend/packages/common/auth/src/space/use-space-auth.ts index 486793ba..d81f8c7d 100644 --- a/frontend/packages/common/auth/src/space/use-space-auth.ts +++ b/frontend/packages/common/auth/src/space/use-space-auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useSpaceRole } from './use-space-role'; import { type ESpacePermisson } from './constants'; import { calcPermission } from './calc-permission'; diff --git a/frontend/packages/common/auth/src/space/use-space-role.ts b/frontend/packages/common/auth/src/space/use-space-role.ts index 31043ad1..1924bf98 100644 --- a/frontend/packages/common/auth/src/space/use-space-role.ts +++ b/frontend/packages/common/auth/src/space/use-space-role.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useSpace } from '@coze-arch/foundation-sdk'; diff --git a/frontend/packages/common/auth/src/typings.d.ts b/frontend/packages/common/auth/src/typings.d.ts index 1775ce21..aff3ad49 100644 --- a/frontend/packages/common/auth/src/typings.d.ts +++ b/frontend/packages/common/auth/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare const IS_DEV_MODE: boolean; /// diff --git a/frontend/packages/common/auth/vitest.config.ts b/frontend/packages/common/auth/vitest.config.ts index 2dced388..edc2830e 100644 --- a/frontend/packages/common/auth/vitest.config.ts +++ b/frontend/packages/common/auth/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/biz-components/src/async-setting/index.tsx b/frontend/packages/common/biz-components/src/async-setting/index.tsx index 3d293abd..ad9fa01d 100644 --- a/frontend/packages/common/biz-components/src/async-setting/index.tsx +++ b/frontend/packages/common/biz-components/src/async-setting/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/biz-components/src/banner/index.tsx b/frontend/packages/common/biz-components/src/banner/index.tsx index ab00df51..cbd0a86d 100644 --- a/frontend/packages/common/biz-components/src/banner/index.tsx +++ b/frontend/packages/common/biz-components/src/banner/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties, forwardRef } from 'react'; import DOMPurify from 'dompurify'; diff --git a/frontend/packages/common/biz-components/src/coachmark/container/index.tsx b/frontend/packages/common/biz-components/src/coachmark/container/index.tsx index 6f0489f4..65d20abb 100644 --- a/frontend/packages/common/biz-components/src/coachmark/container/index.tsx +++ b/frontend/packages/common/biz-components/src/coachmark/container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import s from './index.module.less'; export const Container = ({ children }: { children: React.ReactNode }) => ( diff --git a/frontend/packages/common/biz-components/src/coachmark/index.tsx b/frontend/packages/common/biz-components/src/coachmark/index.tsx index bc1b5008..9936c6a5 100644 --- a/frontend/packages/common/biz-components/src/coachmark/index.tsx +++ b/frontend/packages/common/biz-components/src/coachmark/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Joyride, { type Props, ACTIONS, @@ -50,8 +50,9 @@ export default function Coachmark({ const [stepIndex, setStepIndex] = useState(itemIndex); const initVisible = async (cid: string) => { - const coachMarkStorage = - await localStorageService.getValueSync(COACHMARK_KEY); + const coachMarkStorage = await localStorageService.getValueSync( + COACHMARK_KEY, + ); // readStep represents the read step index const readStep = ( typeSafeJSONParse(coachMarkStorage) as Record | undefined diff --git a/frontend/packages/common/biz-components/src/coachmark/step-card/index.tsx b/frontend/packages/common/biz-components/src/coachmark/step-card/index.tsx index b98e277d..f20079f8 100644 --- a/frontend/packages/common/biz-components/src/coachmark/step-card/index.tsx +++ b/frontend/packages/common/biz-components/src/coachmark/step-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Container } from '../container'; import s from './index.module.less'; diff --git a/frontend/packages/common/biz-components/src/coachmark/tooltip/index.tsx b/frontend/packages/common/biz-components/src/coachmark/tooltip/index.tsx index 30eb266a..000109eb 100644 --- a/frontend/packages/common/biz-components/src/coachmark/tooltip/index.tsx +++ b/frontend/packages/common/biz-components/src/coachmark/tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TooltipRenderProps, type StepMerged } from 'react-joyride'; import { type FC, type MouseEvent, useCallback } from 'react'; diff --git a/frontend/packages/common/biz-components/src/index.tsx b/frontend/packages/common/biz-components/src/index.tsx index e8bef956..59598ba8 100644 --- a/frontend/packages/common/biz-components/src/index.tsx +++ b/frontend/packages/common/biz-components/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ParamTypeAlias } from './parameters'; export type { ParametersProps, diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/auto-size-tooltip/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/auto-size-tooltip/index.tsx index 29e3c5b0..1dc98a44 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/auto-size-tooltip/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/auto-size-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren, useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/line-component/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/line-component/index.tsx index d58e1ab2..23f0015e 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/line-component/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/line-component/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-description/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-description/index.tsx index 03624d6b..ee84a891 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-description/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-description/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-name/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-name/index.tsx index 6ec0dd2c..f103caf9 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-name/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-name/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import type { CSSProperties } from 'react'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-operator/add-operation.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-operator/add-operation.tsx index 372c317c..bb4bec62 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-operator/add-operation.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-operator/add-operation.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-operator/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-operator/index.tsx index 3e12fd08..43fed744 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-operator/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-operator/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-type/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-type/index.tsx index 689e3161..8bfa803f 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-type/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/param-type/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/popup-container/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/popup-container/index.tsx index b12e671a..9d247b77 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/popup-container/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/popup-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren, type ReactElement, diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/workflow-sl-input/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/workflow-sl-input/index.tsx index 5e0c1d10..ece1d42f 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/workflow-sl-input/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/workflow-sl-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ComponentProps, useRef, diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/workflow-sl-textarea/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/workflow-sl-textarea/index.tsx index d699c084..7946ca7e 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/workflow-sl-textarea/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/components/workflow-sl-textarea/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { type ComponentProps, diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/constants.ts b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/constants.ts index a12d08b6..87fe497a 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/constants.ts +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ParamTypeAlias } from '../../types'; // eslint-disable-next-line @typescript-eslint/naming-convention diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/index.tsx index 1537815c..a360bc30 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { useCallback, useRef } from 'react'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/type.ts b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/type.ts index 8d4f5a96..0bf48bec 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/type.ts +++ b/frontend/packages/common/biz-components/src/parameters/components/custom-tree-node/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TreeNodeData } from '@coze-arch/bot-semi/Tree'; import { type RecursedParamDefinition } from '../../types'; diff --git a/frontend/packages/common/biz-components/src/parameters/components/header/index.tsx b/frontend/packages/common/biz-components/src/parameters/components/header/index.tsx index ebfe8099..6d602ace 100644 --- a/frontend/packages/common/biz-components/src/parameters/components/header/index.tsx +++ b/frontend/packages/common/biz-components/src/parameters/components/header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cx from 'classnames'; diff --git a/frontend/packages/common/biz-components/src/parameters/constants.ts b/frontend/packages/common/biz-components/src/parameters/constants.ts index 2c232561..cea71b56 100644 --- a/frontend/packages/common/biz-components/src/parameters/constants.ts +++ b/frontend/packages/common/biz-components/src/parameters/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ // Type selection control base width export const OperatorTypeBaseWidth = 155; diff --git a/frontend/packages/common/biz-components/src/parameters/context/config-context.ts b/frontend/packages/common/biz-components/src/parameters/context/config-context.ts index 5f677141..088ae755 100644 --- a/frontend/packages/common/biz-components/src/parameters/context/config-context.ts +++ b/frontend/packages/common/biz-components/src/parameters/context/config-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { createContext } from 'react'; diff --git a/frontend/packages/common/biz-components/src/parameters/context/node-context.ts b/frontend/packages/common/biz-components/src/parameters/context/node-context.ts index 41e98e04..d276ebee 100644 --- a/frontend/packages/common/biz-components/src/parameters/context/node-context.ts +++ b/frontend/packages/common/biz-components/src/parameters/context/node-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { createContext } from 'react'; diff --git a/frontend/packages/common/biz-components/src/parameters/hooks/use-config.ts b/frontend/packages/common/biz-components/src/parameters/hooks/use-config.ts index 368a19c9..668a2648 100644 --- a/frontend/packages/common/biz-components/src/parameters/hooks/use-config.ts +++ b/frontend/packages/common/biz-components/src/parameters/hooks/use-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import ConfigContext from '../context/config-context'; diff --git a/frontend/packages/common/biz-components/src/parameters/hooks/use-error-message.ts b/frontend/packages/common/biz-components/src/parameters/hooks/use-error-message.ts index 53896cca..8bdf5681 100644 --- a/frontend/packages/common/biz-components/src/parameters/hooks/use-error-message.ts +++ b/frontend/packages/common/biz-components/src/parameters/hooks/use-error-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import resolvePath from '../utils/resolve-path'; import useNode from './use-node'; import useParametersConfig from './use-config'; diff --git a/frontend/packages/common/biz-components/src/parameters/hooks/use-node.ts b/frontend/packages/common/biz-components/src/parameters/hooks/use-node.ts index 964ef028..5d902eed 100644 --- a/frontend/packages/common/biz-components/src/parameters/hooks/use-node.ts +++ b/frontend/packages/common/biz-components/src/parameters/hooks/use-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import NodeContext, { type Node } from '../context/node-context'; diff --git a/frontend/packages/common/biz-components/src/parameters/index.ts b/frontend/packages/common/biz-components/src/parameters/index.ts index c4545733..68bb3fce 100644 --- a/frontend/packages/common/biz-components/src/parameters/index.ts +++ b/frontend/packages/common/biz-components/src/parameters/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Parameters } from './parameters'; export { ParamTypeAlias } from './types'; export type { ParameterValue, ParametersError, ParametersProps } from './types'; diff --git a/frontend/packages/common/biz-components/src/parameters/types.ts b/frontend/packages/common/biz-components/src/parameters/types.ts index 18a5bd25..85f6105c 100644 --- a/frontend/packages/common/biz-components/src/parameters/types.ts +++ b/frontend/packages/common/biz-components/src/parameters/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ParamTypeAlias { String = 1, Integer, diff --git a/frontend/packages/common/biz-components/src/parameters/utils/convert-map-to-options.ts b/frontend/packages/common/biz-components/src/parameters/utils/convert-map-to-options.ts index c5bdb298..4ed8470d 100644 --- a/frontend/packages/common/biz-components/src/parameters/utils/convert-map-to-options.ts +++ b/frontend/packages/common/biz-components/src/parameters/utils/convert-map-to-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFunction } from 'lodash-es'; /** @@ -31,7 +31,7 @@ export default function convertMaptoOptions( * Therefore, the {value: label} structure involving i18n needs to be written as {value : () => label} * When this property is enabled, an additional lazy load is performed * @default false - * @link + * @link */ i18n?: boolean; } = {}, diff --git a/frontend/packages/common/biz-components/src/parameters/utils/resolve-path.ts b/frontend/packages/common/biz-components/src/parameters/utils/resolve-path.ts index f7dae390..a0b822f5 100644 --- a/frontend/packages/common/biz-components/src/parameters/utils/resolve-path.ts +++ b/frontend/packages/common/biz-components/src/parameters/utils/resolve-path.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export default function resolvePath(path1: string, path2: string): string { if (path1 && path2) { return `${path1}.${path2}`; diff --git a/frontend/packages/common/biz-components/src/parameters/utils/traverse.ts b/frontend/packages/common/biz-components/src/parameters/utils/traverse.ts index d61177c3..d864e00f 100644 --- a/frontend/packages/common/biz-components/src/parameters/utils/traverse.ts +++ b/frontend/packages/common/biz-components/src/parameters/utils/traverse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface TreeNode { children?: T[]; [key: string]: unknown; diff --git a/frontend/packages/common/biz-components/src/parameters/utils/utils.ts b/frontend/packages/common/biz-components/src/parameters/utils/utils.ts index f6dc9cc5..1d3258c0 100644 --- a/frontend/packages/common/biz-components/src/parameters/utils/utils.ts +++ b/frontend/packages/common/biz-components/src/parameters/utils/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type TreeNodeCustomData } from '../components/custom-tree-node/type'; diff --git a/frontend/packages/common/biz-components/src/picture-upload/auto-generate/index.tsx b/frontend/packages/common/biz-components/src/picture-upload/auto-generate/index.tsx index 6d499fd9..7d6beabc 100644 --- a/frontend/packages/common/biz-components/src/picture-upload/auto-generate/index.tsx +++ b/frontend/packages/common/biz-components/src/picture-upload/auto-generate/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo, useRef, useState } from 'react'; import { isFunction } from 'lodash-es'; @@ -29,13 +29,7 @@ import { IconCozCheckMark, IconCozCrossCircle, } from '@coze-arch/coze-design/icons'; -import { - Tooltip, - Toast, - Image, - AIButton, - Space, -} from '@coze-arch/coze-design'; +import { Tooltip, Toast, Image, AIButton, Space } from '@coze-arch/coze-design'; import { loadImage } from '@coze-arch/bot-utils'; import { DeveloperApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/common/biz-components/src/picture-upload/index.ts b/frontend/packages/common/biz-components/src/picture-upload/index.ts index 6cc91b92..d6e06547 100644 --- a/frontend/packages/common/biz-components/src/picture-upload/index.ts +++ b/frontend/packages/common/biz-components/src/picture-upload/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PictureUpload, type GenerateInfo, diff --git a/frontend/packages/common/biz-components/src/picture-upload/picture-upload.tsx b/frontend/packages/common/biz-components/src/picture-upload/picture-upload.tsx index 5de07b8a..164f1bbf 100644 --- a/frontend/packages/common/biz-components/src/picture-upload/picture-upload.tsx +++ b/frontend/packages/common/biz-components/src/picture-upload/picture-upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable @typescript-eslint/no-magic-numbers */ /* eslint-disable react-hooks/rules-of-hooks */ diff --git a/frontend/packages/common/biz-components/src/picture-upload/utils/custom-upload-request.ts b/frontend/packages/common/biz-components/src/picture-upload/utils/custom-upload-request.ts index 3dacf4be..d2a11875 100644 --- a/frontend/packages/common/biz-components/src/picture-upload/utils/custom-upload-request.ts +++ b/frontend/packages/common/biz-components/src/picture-upload/utils/custom-upload-request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; import { I18n } from '@coze-arch/i18n'; import { type customRequestArgs } from '@coze-arch/bot-semi/Upload'; diff --git a/frontend/packages/common/biz-components/src/picture-upload/utils/get-base64.ts b/frontend/packages/common/biz-components/src/picture-upload/utils/get-base64.ts index 6ebb407a..91e16efb 100644 --- a/frontend/packages/common/biz-components/src/picture-upload/utils/get-base64.ts +++ b/frontend/packages/common/biz-components/src/picture-upload/utils/get-base64.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/common/biz-components/src/select-intelligence-modal/components/index.tsx b/frontend/packages/common/biz-components/src/select-intelligence-modal/components/index.tsx index 65a23782..532899cf 100644 --- a/frontend/packages/common/biz-components/src/select-intelligence-modal/components/index.tsx +++ b/frontend/packages/common/biz-components/src/select-intelligence-modal/components/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, useState } from 'react'; import { type IntelligenceData } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/common/biz-components/src/select-intelligence-modal/components/intelligence-item.tsx b/frontend/packages/common/biz-components/src/select-intelligence-modal/components/intelligence-item.tsx index dda47317..6c6bca32 100644 --- a/frontend/packages/common/biz-components/src/select-intelligence-modal/components/intelligence-item.tsx +++ b/frontend/packages/common/biz-components/src/select-intelligence-modal/components/intelligence-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type IntelligenceData } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/common/biz-components/src/select-intelligence-modal/components/intelligence-list.tsx b/frontend/packages/common/biz-components/src/select-intelligence-modal/components/intelligence-list.tsx index 9621f5c2..1609e4d5 100644 --- a/frontend/packages/common/biz-components/src/select-intelligence-modal/components/intelligence-list.tsx +++ b/frontend/packages/common/biz-components/src/select-intelligence-modal/components/intelligence-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type IntelligenceData } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/common/biz-components/src/select-intelligence-modal/hooks/use-case/use-intelligence-search.ts b/frontend/packages/common/biz-components/src/select-intelligence-modal/hooks/use-case/use-intelligence-search.ts index bc011528..6794b7fb 100644 --- a/frontend/packages/common/biz-components/src/select-intelligence-modal/hooks/use-case/use-intelligence-search.ts +++ b/frontend/packages/common/biz-components/src/select-intelligence-modal/hooks/use-case/use-intelligence-search.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useInfiniteScroll } from 'ahooks'; import { type IntelligenceList } from '../../services/use-case-services/intelligence-search.service'; diff --git a/frontend/packages/common/biz-components/src/select-intelligence-modal/hooks/use-case/use-modal.tsx b/frontend/packages/common/biz-components/src/select-intelligence-modal/hooks/use-case/use-modal.tsx index 89c2e313..031e3da6 100644 --- a/frontend/packages/common/biz-components/src/select-intelligence-modal/hooks/use-case/use-modal.tsx +++ b/frontend/packages/common/biz-components/src/select-intelligence-modal/hooks/use-case/use-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { type IntelligenceData } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/common/biz-components/src/select-intelligence-modal/index.ts b/frontend/packages/common/biz-components/src/select-intelligence-modal/index.ts index 4a88ce8f..c0d9675d 100644 --- a/frontend/packages/common/biz-components/src/select-intelligence-modal/index.ts +++ b/frontend/packages/common/biz-components/src/select-intelligence-modal/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SelectIntelligenceModal } from './components'; export { useModal } from './hooks/use-case/use-modal'; diff --git a/frontend/packages/common/biz-components/src/select-intelligence-modal/services/use-case-services/highlight-text.service.tsx b/frontend/packages/common/biz-components/src/select-intelligence-modal/services/use-case-services/highlight-text.service.tsx index 66cfa43b..c9881105 100644 --- a/frontend/packages/common/biz-components/src/select-intelligence-modal/services/use-case-services/highlight-text.service.tsx +++ b/frontend/packages/common/biz-components/src/select-intelligence-modal/services/use-case-services/highlight-text.service.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export class HighlightTextService { diff --git a/frontend/packages/common/biz-components/src/select-intelligence-modal/services/use-case-services/intelligence-search.service.ts b/frontend/packages/common/biz-components/src/select-intelligence-modal/services/use-case-services/intelligence-search.service.ts index 5769e3dd..57ecc4ee 100644 --- a/frontend/packages/common/biz-components/src/select-intelligence-modal/services/use-case-services/intelligence-search.service.ts +++ b/frontend/packages/common/biz-components/src/select-intelligence-modal/services/use-case-services/intelligence-search.service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { search, IntelligenceStatus, diff --git a/frontend/packages/common/biz-components/src/typings.d.ts b/frontend/packages/common/biz-components/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/biz-components/src/typings.d.ts +++ b/frontend/packages/common/biz-components/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/biz-components/src/update-user-avatar/index.tsx b/frontend/packages/common/biz-components/src/update-user-avatar/index.tsx index 6423f019..d3b2290e 100644 --- a/frontend/packages/common/biz-components/src/update-user-avatar/index.tsx +++ b/frontend/packages/common/biz-components/src/update-user-avatar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type ForwardedRef, forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/biz-components/stories/parameters/index.stories.tsx b/frontend/packages/common/biz-components/stories/parameters/index.stories.tsx index 4c3ef658..0678f8cc 100644 --- a/frontend/packages/common/biz-components/stories/parameters/index.stories.tsx +++ b/frontend/packages/common/biz-components/stories/parameters/index.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import type { Meta, StoryObj } from '@storybook/react'; diff --git a/frontend/packages/common/biz-components/stories/parameters/valid-value.ts b/frontend/packages/common/biz-components/stories/parameters/valid-value.ts index 7797c5f8..1be9b549 100644 --- a/frontend/packages/common/biz-components/stories/parameters/valid-value.ts +++ b/frontend/packages/common/biz-components/stories/parameters/valid-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z, ZodError, type ZodSchema } from 'zod'; import type { ParameterValue, ParametersError } from '../../src'; diff --git a/frontend/packages/common/biz-components/vitest.config.ts b/frontend/packages/common/biz-components/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/biz-components/vitest.config.ts +++ b/frontend/packages/common/biz-components/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-is-last-group.test.ts b/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-is-last-group.test.ts index d1cd2b18..cd0e99f2 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-is-last-group.test.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-is-last-group.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getIsLastGroup } from '../src/utils/get-is-last-group'; it('getIsLastGroupCorrectly', () => { diff --git a/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-is-pushed-message.test.ts b/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-is-pushed-message.test.ts index 9b182d53..8333bcc8 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-is-pushed-message.test.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-is-pushed-message.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getIsPushedMessage } from '../src/utils/get-is-pushed-message'; vi.mock('@coze-common/chat-area', () => ({ diff --git a/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-show-feedback.test.ts b/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-show-feedback.test.ts index 5614c2cf..eaba517d 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-show-feedback.test.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-show-feedback.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getShowFeedback } from '../src/utils/get-show-feedback'; vi.mock('@coze-common/chat-area', () => ({ diff --git a/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-show-regenerate.test.ts b/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-show-regenerate.test.ts index 18d5fc5b..e346dd8f 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-show-regenerate.test.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/__tests__/get-show-regenerate.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getShowRegenerate } from '../src/utils/get-show-regenerate'; vi.mock('@coze-common/chat-area', () => ({ diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/action-bar-container/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/action-bar-container/index.tsx index 4ef663fa..ee6ada9a 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/action-bar-container/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/action-bar-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import s from './index.module.less'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/action-bar-hover-container/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/action-bar-hover-container/index.tsx index cbc4df6f..46641b4c 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/action-bar-hover-container/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/action-bar-hover-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/bot-trigger-config-button-group/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/bot-trigger-config-button-group/index.tsx index 1b974cec..7e8362f0 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/bot-trigger-config-button-group/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/bot-trigger-config-button-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/copy-text-message/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/copy-text-message/index.tsx index 7fddfcd2..1d25fc91 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/copy-text-message/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/copy-text-message/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, useState, type PropsWithChildren } from 'react'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/delete-message/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/delete-message/index.tsx index 1e1d778d..4e29ff86 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/delete-message/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/delete-message/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/divider/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/divider/index.tsx index 774ac5ff..21083507 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/divider/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/divider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; export interface AnswerActionDividerProps { diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/frown-upon/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/frown-upon/index.tsx index 484d0bc8..73c66e75 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/frown-upon/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/frown-upon/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties, useRef, diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/more-operations/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/more-operations/index.tsx index cddacf29..b18eea19 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/more-operations/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/more-operations/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { useDeleteMessageGroup, diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/quote-message/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/quote-message/index.tsx index 33bfc18f..d1138342 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/quote-message/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/quote-message/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/regenerate-message/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/regenerate-message/index.tsx index b9234ddd..3ba5e12b 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/regenerate-message/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/regenerate-message/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/thumbs-up/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/components/thumbs-up/index.tsx index 336cd11b..bcc2577a 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/thumbs-up/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/thumbs-up/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { useHover } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/components/utils-methods/hooks.ts b/frontend/packages/common/chat-area/chat-answer-action/src/components/utils-methods/hooks.ts index 606083b0..dddd6b98 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/components/utils-methods/hooks.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/components/utils-methods/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getIsNotificationMessage, useLatestSectionId, diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/main/index.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/context/main/index.tsx index 7ee6e332..5ef2e6f9 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/main/index.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/main/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { AnswerActionStoreContext } from '../store/context'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/context.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/context.tsx index 7545935b..58fccce8 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/context.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type ChatAnswerActionPreference } from './type'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/index.ts b/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/index.ts index ced9a578..4b34883c 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/index.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { AnswerActionPreferenceContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/type.ts b/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/type.ts index 984dd35f..618a2b4f 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/type.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/preference/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface ChatAnswerActionPreference { enableBotTriggerControl: boolean; } diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/context.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/context.tsx index a85a8608..2aa4424e 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/context.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type PropsWithChildren } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/index.ts b/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/index.ts index 553193ae..682f44e9 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/index.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ReportMessageFeedbackFnContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/type.ts b/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/type.ts index 65c69cf3..c3f25e82 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/type.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/report-message-feedback/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ChatCore } from '@coze-common/chat-core'; export type ReportMessageFeedbackFn = ChatCore['reportMessage']; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/store/context.tsx b/frontend/packages/common/chat-area/chat-answer-action/src/context/store/context.tsx index 3a9e104a..df15a8a7 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/store/context.tsx +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/store/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type StoreSet } from './type'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/store/index.ts b/frontend/packages/common/chat-area/chat-answer-action/src/context/store/index.ts index b5b0251f..d84897c5 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/store/index.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/store/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { AnswerActionStoreContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/context/store/type.ts b/frontend/packages/common/chat-area/chat-answer-action/src/context/store/type.ts index f89180ea..8c1d6c45 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/context/store/type.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/context/store/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FavoriteBotTriggerConfigStore } from '../../store/favorite-bot-trigger-config'; export interface StoreSet { diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-dispatch-mouse-leave.ts b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-dispatch-mouse-leave.ts index b3723b9d..405c6e7b 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-dispatch-mouse-leave.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-dispatch-mouse-leave.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, useEffect } from 'react'; /** diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-get-bot-participant-info.ts b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-get-bot-participant-info.ts index ade6336d..38e7e1ea 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-get-bot-participant-info.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-get-bot-participant-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { type GetBotParticipantInfoByBotIdsResponse } from '@coze-arch/bot-api/developer_api'; import { DeveloperApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-init-store-set.ts b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-init-store-set.ts index 5e3ba990..30716626 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-init-store-set.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-init-store-set.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCreation } from 'ahooks'; import { createFavoriteBotTriggerConfigStore } from '../store/favorite-bot-trigger-config'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-quote-plugin.ts b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-quote-plugin.ts index d4736e57..a3df20ca 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-quote-plugin.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-quote-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GrabPluginBizContext } from '@coze-common/chat-area-plugin-message-grab'; import { PluginName, useWriteablePlugin } from '@coze-common/chat-area'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-report-message-feedback.ts b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-report-message-feedback.ts index 467b9f10..5272f8e3 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-report-message-feedback.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-report-message-feedback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useToggle } from 'ahooks'; import { ReportMessageAction, diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-tooltip-trigger.ts b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-tooltip-trigger.ts index 2930c053..9816d180 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-tooltip-trigger.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-tooltip-trigger.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaLayout } from '@coze-common/chat-area/hooks/public/common'; import { Layout } from '@coze-common/chat-uikit-shared'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-update-home-trigger-config.ts b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-update-home-trigger-config.ts index bbafd981..0dc5364c 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-update-home-trigger-config.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/hooks/use-update-home-trigger-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { TriggerEnabled } from '@coze-arch/bot-api/developer_api'; import { DeveloperApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/index.ts b/frontend/packages/common/chat-area/chat-answer-action/src/index.ts index 005ecdaf..5fe4db5e 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/index.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ActionBarContainer } from './components/action-bar-container'; export { ActionBarHoverContainer } from './components/action-bar-hover-container'; export { diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/report-events/index.ts b/frontend/packages/common/chat-area/chat-answer-action/src/report-events/index.ts index faba35d8..a782d651 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/report-events/index.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/report-events/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ReportEventNames { /** Original name: chat_area_tts_voice_ws */ TtsVoiceWs = 'chat_answer_action_start_TTS', diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/store/favorite-bot-trigger-config.ts b/frontend/packages/common/chat-area/chat-answer-action/src/store/favorite-bot-trigger-config.ts index b82755f3..2a1227a2 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/store/favorite-bot-trigger-config.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/store/favorite-bot-trigger-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/typings.d.ts b/frontend/packages/common/chat-area/chat-answer-action/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/typings.d.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-is-last-group.ts b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-is-last-group.ts index d776457d..a7d92ef3 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-is-last-group.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-is-last-group.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageMeta } from '@coze-common/chat-area'; export const getIsLastGroup = ({ diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-is-pushed-message.ts b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-is-pushed-message.ts index d2551511..ed94241b 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-is-pushed-message.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-is-pushed-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message, getIsNotificationMessage, diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-bot-trigger-button.ts b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-bot-trigger-button.ts index ec3393ca..6ae8cd22 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-bot-trigger-button.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-bot-trigger-button.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { messageSource, taskType } from '@coze-common/chat-core'; import { type Message, type MessageMeta } from '@coze-common/chat-area'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-feedback.ts b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-feedback.ts index efc91d1a..6836a428 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-feedback.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-feedback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message, type MessageMeta } from '@coze-common/chat-area'; import { getIsPushedMessage } from './get-is-pushed-message'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-regenerate.ts b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-regenerate.ts index 36387b18..d9dd3864 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-regenerate.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/src/utils/get-show-regenerate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message, type MessageMeta } from '@coze-common/chat-area'; import { getIsPushedMessage } from './get-is-pushed-message'; diff --git a/frontend/packages/common/chat-area/chat-answer-action/vitest.config.ts b/frontend/packages/common/chat-area/chat-answer-action/vitest.config.ts index e4fc8781..a0c06836 100644 --- a/frontend/packages/common/chat-area/chat-answer-action/vitest.config.ts +++ b/frontend/packages/common/chat-area/chat-answer-action/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/custom-components/message-inner-addon-bottom/index.tsx b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/custom-components/message-inner-addon-bottom/index.tsx index b6d2e32d..6506d2ff 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/custom-components/message-inner-addon-bottom/index.tsx +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/custom-components/message-inner-addon-bottom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo, useEffect, useRef, useState, type FC } from 'react'; import { type Message, type ContentType } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/index.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/index.ts index e85bf69d..43bfd7b6 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/index.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PluginRegistryEntry } from '@coze-common/chat-area'; import { type PluginBizContext } from './types/biz-context'; diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/plugin.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/plugin.ts index 368cf0a5..686cbb38 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/plugin.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginMode, PluginName, diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/app.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/app.ts index 8e574ea5..3180a1b1 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/app.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyAppLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { type PluginBizContext } from '../../types/biz-context'; diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/command.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/command.ts index 9facaf23..472d3255 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/command.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/command.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyCommandLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { type PluginBizContext } from '../../types/biz-context'; diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/index.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/index.ts index 6b37544a..374fc4a8 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/index.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { type PluginBizContext } from '../../types/biz-context'; diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/message.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/message.ts index 69936db1..149bb28b 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/message.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyMessageLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { type PluginBizContext } from '../../types/biz-context'; diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/render.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/render.ts index 8c99107d..cdeecc50 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/render.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/services/life-cycle/render.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyRenderLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { type PluginBizContext } from '../../types/biz-context'; diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/types/biz-context.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/types/biz-context.ts index e53c177c..1135a4cc 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/types/biz-context.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/src/types/biz-context.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type PluginBizContext = Record; diff --git a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/vitest.config.ts b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/chat-area-plugin-reasoning/vitest.config.ts +++ b/frontend/packages/common/chat-area/chat-area-plugin-reasoning/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/components/get-receive-message-box-theme.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/components/get-receive-message-box-theme.test.ts index c38ae054..5e6ce073 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/components/get-receive-message-box-theme.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/components/get-receive-message-box-theme.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getReceiveMessageBoxTheme } from '../../src/utils/components/get-receive-message-box-theme'; // eslint-disable-next-line @typescript-eslint/naming-convention diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/components/get-thinking-placeholder-theme.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/components/get-thinking-placeholder-theme.test.ts index 69c01cda..22cd2bf5 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/components/get-thinking-placeholder-theme.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/components/get-thinking-placeholder-theme.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getThinkingPlaceholderTheme } from '../../src/utils/components/get-thinking-placeholder-theme'; describe('test get thinking placeholder theme', () => { diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/hook/use-background-scroll.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/hook/use-background-scroll.test.ts index 69083cc1..8fecc9b4 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/hook/use-background-scroll.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/hook/use-background-scroll.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { renderHook, act } from '@testing-library/react-hooks'; diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/messages.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/messages.test.ts index f2d47a24..e64dba94 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/messages.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/messages.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable -- test */ vi.mock( '../../chat-area-utils/src/parse-markdown/parse-markdown-to-text.ts', diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/service/load-more/message-index-helper.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/service/load-more/message-index-helper.test.ts index 28110f62..f382b3d3 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/service/load-more/message-index-helper.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/service/load-more/message-index-helper.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { LoadDirection } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/store-action-implement/message/get-message-index-range.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/store-action-implement/message/get-message-index-range.test.ts index 2eb45c0a..3cf16bc6 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/store-action-implement/message/get-message-index-range.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/store-action-implement/message/get-message-index-range.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { type MessageIndexRange } from '../../../src/store/messages'; diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/utils/dom/computed-style-to-number.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/utils/dom/computed-style-to-number.test.ts index 2ea40150..d9eefd5f 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/utils/dom/computed-style-to-number.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/utils/dom/computed-style-to-number.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { computedStyleToNumber } from '../../../src/utils/dom/computed-style-to-number'; describe('computedStyleToNumber', () => { diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/utils/find-respond-record.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/utils/find-respond-record.test.ts index a3ea12f4..6dbfd11b 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/utils/find-respond-record.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/utils/find-respond-record.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findRespondRecord, type Responding } from '../../src/store/waiting'; vi.mock('@coze-common/chat-core', () => ({ diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/utils/get-is-group-chat-active.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/utils/get-is-group-chat-active.test.ts index 72705ce0..af3573f1 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/utils/get-is-group-chat-active.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/utils/get-is-group-chat-active.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getIsGroupChatActive } from '../../src/utils/message-group/get-is-group-chat-active'; import { WaitingPhase } from '../../src/store/waiting'; diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/utils/get-responding.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/utils/get-responding.test.ts index b90daf3a..724e3972 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/utils/get-responding.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/utils/get-responding.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContentType, type Message } from '@coze-common/chat-core'; import { getResponse } from '../../src/store/waiting'; diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/utils/is-file-count-exceeds-limit.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/utils/is-file-count-exceeds-limit.test.ts index caf9607c..ea607485 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/utils/is-file-count-exceeds-limit.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/utils/is-file-count-exceeds-limit.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFileCountExceedsLimit } from '../../src/utils/is-file-count-exceeds-limit'; describe('is-file-count-exceeds-limit', () => { diff --git a/frontend/packages/common/chat-area/chat-area/__tests__/utils/message.test.ts b/frontend/packages/common/chat-area/chat-area/__tests__/utils/message.test.ts index 884ccd5a..6db95ea8 100644 --- a/frontend/packages/common/chat-area/chat-area/__tests__/utils/message.test.ts +++ b/frontend/packages/common/chat-area/chat-area/__tests__/utils/message.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFallbackErrorMessage } from '../../src/utils/message'; vi.mock('@coze-common/chat-core', () => ({ diff --git a/frontend/packages/common/chat-area/chat-area/src/chat-area-main/index.tsx b/frontend/packages/common/chat-area/chat-area/src/chat-area-main/index.tsx index b6a72fb7..284428f6 100644 --- a/frontend/packages/common/chat-area/chat-area/src/chat-area-main/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/chat-area-main/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, forwardRef, diff --git a/frontend/packages/common/chat-area/chat-area/src/components/absolute-row/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/absolute-row/index.tsx index 2ceaa2b3..4e3aa113 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/absolute-row/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/absolute-row/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import classNames from 'classnames'; import { useCountDown } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/common-file/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/common-file/index.tsx index 165aa3c7..920e0242 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/common-file/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/common-file/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/common-file/mask.tsx b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/common-file/mask.tsx index 8f2c31cf..26110dcc 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/common-file/mask.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/common-file/mask.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import s from './index.module.less'; export const ProgressMask: React.FC<{ percent: number }> = ({ percent }) => ( diff --git a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/delete-file-button/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/delete-file-button/index.tsx index 35828714..fa7bf189 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/delete-file-button/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/delete-file-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCloseNoCycle } from '@coze-arch/bot-icons'; import { useDeleteFile } from '../../../hooks/file/use-delete-file'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/file-item.tsx b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/file-item.tsx index b1edf3d1..9edab4c2 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/file-item.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/file-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/image-file/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/image-file/index.tsx index 099329de..a34c2bd2 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/image-file/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/image-file/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/image-file/mask.tsx b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/image-file/mask.tsx index 7d08011a..0525f84e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/image-file/mask.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/image-file/mask.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { IconRefresh } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/index.tsx index 40a9b431..c57e4c04 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/batch-upload-file-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/chat-background/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/chat-background/index.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/chat-background/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/chat-background/index.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-input-absolute-slot.tsx b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-input-absolute-slot.tsx index 53cde5e2..772c8256 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-input-absolute-slot.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-input-absolute-slot.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ToNewestTip } from '../to-newest-tip'; import { AbsoluteRow } from '../absolute-row'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-iput-integration-layout-ui.tsx b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-iput-integration-layout-ui.tsx index eecc70d0..2b2f6511 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-iput-integration-layout-ui.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-iput-integration-layout-ui.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, type FC, type PropsWithChildren } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-iput-integration.tsx b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-iput-integration.tsx index be56efd0..a5684a4e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-iput-integration.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/chat-iput-integration.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createPortal } from 'react-dom'; import React, { forwardRef, diff --git a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/index.tsx index 43513f2d..6c9da155 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-integration/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ChatInputIntegration, type ChatInputIntegrationSlots, diff --git a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-mask-layer/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-mask-layer/index.tsx index 7dc2a923..9a25c2f0 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/chat-input-mask-layer/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/chat-input-mask-layer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/chat-input/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/chat-input/index.tsx index 689df192..f8834495 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/chat-input/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/chat-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function -- ChatInput */ import { forwardRef, diff --git a/frontend/packages/common/chat-area/chat-area/src/components/content-box/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/content-box/index.tsx index 1a2d0b06..c3784857 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/content-box/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/content-box/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { ContentBox as UIKitContentBox } from '@coze-common/chat-uikit'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/context-divider-with-onboarding/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/context-divider-with-onboarding/index.tsx index 0fff5132..3d066b2b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/context-divider-with-onboarding/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/context-divider-with-onboarding/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/context-divider/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/context-divider/index.tsx index a93b621d..a8c745a1 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/context-divider/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/context-divider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { useShowBackGround } from '../../hooks/public/use-show-bgackground'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/drag-upload-area/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/drag-upload-area/index.tsx index 0dae17c0..f2cde8e5 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/drag-upload-area/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/drag-upload-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { IllustrationNoContent } from '@douyinfe/semi-illustrations'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/api-tag/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/api-tag/index.tsx index cf307f21..7fffa7d9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/api-tag/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/api-tag/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Tag } from '@coze-arch/coze-design'; export interface APITagProps { diff --git a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/collapse-panel-header.tsx b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/collapse-panel-header.tsx index 3c98d271..373fe2ca 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/collapse-panel-header.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/collapse-panel-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/collapse-panel-with-header.tsx b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/collapse-panel-with-header.tsx index 7e6667ef..7d71d303 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/collapse-panel-with-header.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/collapse-panel-with-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type CSSProperties, diff --git a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/function-call-message.tsx b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/function-call-message.tsx index 3d4489c8..dc98ef50 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/function-call-message.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/function-call-message.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type ReactNode } from 'react'; import { object as zObject, string as zString, type TypeOf } from 'zod'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/index.tsx index 9f731325..a31abcb2 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type RefObject, useRef, useState } from 'react'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/knowledge-recall/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/knowledge-recall/index.tsx index d910d9a7..53a6d42b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/knowledge-recall/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/knowledge-recall/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { RecallSlices } from '@coze-data/llmPlugins'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/process-content/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/process-content/index.tsx index 90a63eb3..c922531d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/process-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/function-call-content/process-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/index.tsx index 62701398..df7842dc 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/fuction-call-message/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import classNames from 'classnames'; import { MessageBox as UIKitMessageBox } from '@coze-common/chat-uikit'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/invisible-uikit-event-controller/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/invisible-uikit-event-controller/index.tsx index 7e89ec91..23e1fe78 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/invisible-uikit-event-controller/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/invisible-uikit-event-controller/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/components/load-more/load-more.tsx b/frontend/packages/common/chat-area/chat-area/src/components/load-more/load-more.tsx index 1b7eaa12..36be03eb 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/load-more/load-more.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/load-more/load-more.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useDeferredValue, diff --git a/frontend/packages/common/chat-area/chat-area/src/components/load-more/load-retry.tsx b/frontend/packages/common/chat-area/chat-area/src/components/load-more/load-retry.tsx index 96bfdfee..51bb8701 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/load-more/load-retry.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/load-more/load-retry.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/message-box/actions/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/message-box/actions/index.tsx index b5816fa9..a0a202d9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/message-box/actions/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/message-box/actions/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CSSProperties, ReactNode } from 'react'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/message-box/function-call-content/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/message-box/function-call-content/index.tsx index 749f2d3b..d9165ef9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/message-box/function-call-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/message-box/function-call-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconSpin } from '@douyinfe/semi-icons'; import { type FunctionCallMessage } from '../../../store/types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/message-box/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/message-box/index.tsx index cf14e69e..bc3f3480 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/message-box/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/message-box/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo } from 'react'; import { shallow } from 'zustand/vanilla/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/message-box/reveal-trigger.tsx b/frontend/packages/common/chat-area/chat-area/src/components/message-box/reveal-trigger.tsx index 194b6d72..a89865f0 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/message-box/reveal-trigger.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/message-box/reveal-trigger.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { useInViewport } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/message-group-list/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/message-group-list/index.tsx index 9893d559..1387c7db 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/message-group-list/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/message-group-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useEffect, useImperativeHandle, useRef } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/message-group/body/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/message-group/body/index.tsx index f0e18821..3d41c759 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/message-group/body/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/message-group/body/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo } from 'react'; import { type ComponentTypesMap } from '../../types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/message-group/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/message-group/index.tsx index 2a00f3e1..940caf6f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/message-group/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/message-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/message-group/wrapper/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/message-group/wrapper/index.tsx index f988b619..bec28b5b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/message-group/wrapper/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/message-group/wrapper/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, memo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/onborading-message/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/onborading-message/index.tsx index 3380cf82..c646b713 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/onborading-message/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/onborading-message/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC, useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/onborading/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/onborading/index.tsx index 8a0af3e2..a4d5c83e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/onborading/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/onborading/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/plugin-async-quote/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/plugin-async-quote/index.tsx index e618635a..339893fd 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/plugin-async-quote/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/plugin-async-quote/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { safeJSONParse } from '@coze-common/chat-uikit'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/preview/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/preview/index.tsx index 5b32d35b..099b0dd4 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/preview/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/receive-message-box/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/receive-message-box/index.tsx index 03fb9cf6..ddac642b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/receive-message-box/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/receive-message-box/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/send-message-box/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/send-message-box/index.tsx index 5275a93c..ba5970ff 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/send-message-box/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/send-message-box/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/suggestion/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/suggestion/index.tsx index 7dd35e66..d501fc10 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/suggestion/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/suggestion/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { SuggestionItem } from '@coze-common/chat-uikit'; import { exhaustiveCheckSimple } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/to-newest-tip/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/to-newest-tip/index.tsx index df66ede6..c61c133a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/to-newest-tip/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/to-newest-tip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import classNames from 'classnames'; import { ToNewestTipUI, FullWidthAligner } from '@coze-common/chat-uikit'; diff --git a/frontend/packages/common/chat-area/chat-area/src/components/types.ts b/frontend/packages/common/chat-area/chat-area/src/components/types.ts index a1437ce1..bda45154 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/types.ts +++ b/frontend/packages/common/chat-area/chat-area/src/components/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentType, type PropsWithChildren, diff --git a/frontend/packages/common/chat-area/chat-area/src/components/wait-generating/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/wait-generating/index.tsx index 632acebc..d7996eca 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/wait-generating/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/wait-generating/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import classNames from 'classnames'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/components/wrapper/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/wrapper/index.tsx index ef10161f..b70e4912 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/wrapper/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/wrapper/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-area/src/constants/agent.ts b/frontend/packages/common/chat-area/chat-area/src/constants/agent.ts index 63efe26e..3ca84bc8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/constants/agent.ts +++ b/frontend/packages/common/chat-area/chat-area/src/constants/agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AgentType } from '@coze-arch/bot-api/developer_api'; // TODO: Why is there no i18n to do here? diff --git a/frontend/packages/common/chat-area/chat-area/src/constants/content.ts b/frontend/packages/common/chat-area/chat-area/src/constants/content.ts index 6f247898..92b8aac1 100644 --- a/frontend/packages/common/chat-area/chat-area/src/constants/content.ts +++ b/frontend/packages/common/chat-area/chat-area/src/constants/content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { ContentBoxType, diff --git a/frontend/packages/common/chat-area/chat-area/src/constants/file.ts b/frontend/packages/common/chat-area/chat-area/src/constants/file.ts index d39cb025..cbbe5c0c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/constants/file.ts +++ b/frontend/packages/common/chat-area/chat-area/src/constants/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const MAX_UPLOAD_PROGRESS = 100; diff --git a/frontend/packages/common/chat-area/chat-area/src/constants/message.ts b/frontend/packages/common/chat-area/chat-area/src/constants/message.ts index ea81fe73..592ca033 100644 --- a/frontend/packages/common/chat-area/chat-area/src/constants/message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/constants/message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message } from '../store/types'; export const FUNCTION_MESSAGE_TYPE_LIST: Message['type'][] = [ diff --git a/frontend/packages/common/chat-area/chat-area/src/constants/scroll-list.ts b/frontend/packages/common/chat-area/chat-area/src/constants/scroll-list.ts index 6fd5d610..8ecd6bdb 100644 --- a/frontend/packages/common/chat-area/chat-area/src/constants/scroll-list.ts +++ b/frontend/packages/common/chat-area/chat-area/src/constants/scroll-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const SCROLL_VIEW_BOTTOM_DISTANCE_TO_SHOW_NEWEST_TIP = 600; /** * When downloading more, simulate the overflow anchor effect, but at the same time move the view content slightly to show the new content a little more diff --git a/frontend/packages/common/chat-area/chat-area/src/context/after-init-service/after-init-service-context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/after-init-service/after-init-service-context.tsx index d77534cb..8652a1c9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/after-init-service/after-init-service-context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/after-init-service/after-init-service-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type MarkReadService } from '../../service/mark-read'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/after-init-service/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/after-init-service/index.ts index 7a2b074f..2463db70 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/after-init-service/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/after-init-service/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-action-lock/chat-action-lock-context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-action-lock/chat-action-lock-context.tsx index 94c7b93b..adf67eff 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-action-lock/chat-action-lock-context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-action-lock/chat-action-lock-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type ChatActionLockService } from '../../service/chat-action-lock'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-action-lock/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/chat-action-lock/index.ts index 864f3acc..51a4f535 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-action-lock/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-action-lock/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { safeAsyncThrow } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/chat-area-callback.ts b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/chat-area-callback.ts index dae3668c..15ab3b3a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/chat-area-callback.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/chat-area-callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEvent } from 'react'; import { type MessageBoxTheme } from '@coze-common/chat-uikit'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/context.tsx index 4199987e..0cc011ee 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type NullableType } from '../../typing/util-types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/default-props.ts b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/default-props.ts index 36d226c3..cf8f4fb9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/default-props.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/default-props.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UploadPlugin } from '../../service/upload-plugin'; import { type ChatAreaConfigs } from './type'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/helpers/generate-chat-core-props.ts b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/helpers/generate-chat-core-props.ts index fdcf4ccb..a46c6eea 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/helpers/generate-chat-core-props.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/helpers/generate-chat-core-props.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Scene } from '@coze-common/chat-core'; import type ChatCore from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/provider-new.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/provider-new.tsx index 8fec9df2..8d71624d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/provider-new.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/provider-new.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, type PropsWithChildren, diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/provider.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/provider.tsx index cea3fdbc..de7cf40d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/provider.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, type PropsWithChildren } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/type.ts b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/type.ts index cc59bb1c..f130f679 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/type.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-context/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Emitter } from 'mitt'; import { type CreateChatCoreProps, diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-custom-component-context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-custom-component-context.tsx index bd27d760..ce7bfcea 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-area-custom-component-context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-area-custom-component-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type ComponentTypesMap } from '../components/types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/context.tsx index 91ddf259..47504011 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type MutableRefObject } from 'react'; export interface ChatInputLayoutProps { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/index.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/index.tsx index 33836187..b764d503 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ChatInputLayoutContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/provider.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/provider.tsx index 281229d5..a0f951df 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/provider.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-layout/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { ChatInputLayoutContext, type ChatInputLayoutProps } from './context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/context.tsx index dd1e5c1f..b4d38915 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, createContext } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/index.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/index.tsx index 1439b577..f296f04c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ChatInputPropsContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/provider.tsx b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/provider.tsx index 8f952c1b..6d812322 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/provider.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/chat-input-props/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { type ChatInputProps, ChatInputPropsContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/copywriting/copywriting-context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/copywriting/copywriting-context.tsx index c60043bb..32961b90 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/copywriting/copywriting-context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/copywriting/copywriting-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, createContext } from 'react'; import { merge } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/copywriting/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/copywriting/index.ts index a36626ad..b554ec12 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/copywriting/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/copywriting/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { CopywritingContext } from './copywriting-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/copywriting/types.ts b/frontend/packages/common/chat-area/chat-area/src/context/copywriting/types.ts index 5178ce3f..2770dd55 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/copywriting/types.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/copywriting/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface CopywritingContextInterface { textareaPlaceholder: string; textareaBottomTips: string; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/context.tsx index a89a8bbb..a16eecbf 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; export interface DragUploadTargetContextProps { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/index.ts index a23a2dfa..11ab9aad 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { DragUploadTargetContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/provider.tsx b/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/provider.tsx index bdcaadb9..0a7343bf 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/provider.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/drag-upload/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/load-more/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/load-more/index.ts index db50ea88..62d7331e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/load-more/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/load-more/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { safeAsyncThrow } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/load-more/load-more-context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/load-more/load-more-context.tsx index b4bc6f3e..1c7fed70 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/load-more/load-more-context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/load-more/load-more-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type PropsWithChildren } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/message-box/context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/message-box/context.tsx index 089f7be8..f9812f11 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/message-box/context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/message-box/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type MessageMeta, type Message } from '../../store/types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/message-box/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/message-box/index.ts index a5c31af1..aa8fc4e3 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/message-box/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/message-box/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { MessageBoxContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/message-box/provider.tsx b/frontend/packages/common/chat-area/chat-area/src/context/message-box/provider.tsx index 83294447..70cb6d22 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/message-box/provider.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/message-box/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/preference/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/preference/index.ts index b900c6cb..ac32cc62 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/preference/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/preference/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { PreferenceContext } from './preference-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/preference/preference-context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/preference/preference-context.tsx index 62dac464..126da64e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/preference/preference-context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/preference/preference-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type PropsWithChildren, useContext } from 'react'; import { isUndefined, merge, omitBy } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/preference/types.ts b/frontend/packages/common/chat-area/chat-area/src/context/preference/types.ts index 22b26914..75e17f36 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/preference/types.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/preference/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UiKitChatInputButtonConfig } from '@coze-common/chat-uikit'; import { type SuggestedQuestionsShowMode } from '@coze-arch/bot-api/developer_api'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-context.tsx index 4b7b445d..84c4d3ee 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type ScrollViewController } from '@coze-common/scroll-view'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/context.tsx index cb28e256..f1ad425d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type ScrollViewSize } from './type'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/index.ts index fddf0e98..780c3310 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ScrollViewSizeContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/type.ts b/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/type.ts index 2408965e..53d2a625 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/type.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/scroll-view-size/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface ScrollViewSize { width: number; height: number; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/store-set/index.tsx b/frontend/packages/common/chat-area/chat-area/src/context/store-set/index.tsx index 73bc7481..b2eab97f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/store-set/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/store-set/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type StoreSet } from '../chat-area-context/type'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/context.tsx b/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/context.tsx index 98d820c2..e25c1052 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/index.ts b/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/index.ts index e2c35156..b8fc4a30 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { UploadControllerContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/provider.tsx b/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/provider.tsx index 02184f7d..212af683 100644 --- a/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/provider.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/context/upload-controller-context/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useRef, useEffect } from 'react'; import { UploadController } from '../../service/upload-controller'; diff --git a/frontend/packages/common/chat-area/chat-area/src/global.d.ts b/frontend/packages/common/chat-area/chat-area/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/global.d.ts +++ b/frontend/packages/common/chat-area/chat-area/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/chat-action-lock/index.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/chat-action-lock/index.ts index 804f4161..821294a3 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/chat-action-lock/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/chat-action-lock/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCreation } from 'ahooks'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-insert-messages.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-insert-messages.ts index c1d5f613..c34c8138 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-insert-messages.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-insert-messages.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GetHistoryMessageResponse } from '@coze-common/chat-core'; import type { StoreSet } from '../../../context/chat-area-context/type'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-listen-process-chat-state-change.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-listen-process-chat-state-change.ts index 5bf3c50f..e97e3031 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-listen-process-chat-state-change.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-listen-process-chat-state-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WaitingState, type WaitingStore } from '../../../store/waiting'; type Listener = (isProcessing: boolean) => void; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-load-request.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-load-request.ts index 540eb4c1..d1cadbdc 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-load-request.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/get-load-request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type ChatCore from '@coze-common/chat-core'; import { type GetHistoryMessageResponse } from '@coze-common/chat-core'; import { RateLimit } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/index.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/index.ts index 97e150c6..aa7bafab 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePrepareLoadMore, useUpdateLoadEnvContent, diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/listen-message-length-change.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/listen-message-length-change.ts index 5fdefa3d..62ce4ae8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/listen-message-length-change.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/listen-message-length-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo, useRef } from 'react'; import { useImperativeLayoutEffect } from '@coze-common/chat-hooks'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/use-prepare-load-more.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/use-prepare-load-more.ts index 129a2269..aeb3fe4b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/use-prepare-load-more.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/load-more/use-prepare-load-more.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo, useRef } from 'react'; import type { Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-context.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-context.ts index 311c9aae..32e967c2 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-context.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { isValidContext } from '../../utils/is-valid-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-custom-component.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-custom-component.ts index 4993a8db..1773efea 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-custom-component.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-custom-component.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ChatAreaCustomComponentContext } from '../../context/chat-area-custom-component-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-waiting-state.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-waiting-state.ts index 64f51174..d5a6031c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-waiting-state.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area-waiting-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { isValidContext } from '../../utils/is-valid-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area.ts index df5cd2cb..3df27f72 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-area.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isValidContext } from '../../utils/is-valid-context'; import { useChatAreaContext, diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-core.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-core.ts index 6fb4d0c0..1fffde2a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-core.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-chat-core.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from './use-chat-area-context'; export const useChatCore = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-conversation-id.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-conversation-id.ts index 3c455f74..702fb014 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-conversation-id.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-conversation-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isValidContext } from '../../utils/is-valid-context'; import { useChatAreaStoreSet } from './use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-create-chat-area-store.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-create-chat-area-store.ts index 9e510c38..b5343659 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-create-chat-area-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-create-chat-area-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useCreation } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-create-plugin-store.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-create-plugin-store.ts index f249311e..34c43dc7 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-create-plugin-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-create-plugin-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCreation } from 'ahooks'; import { type Scene } from '@coze-common/chat-core'; import { exhaustiveCheckForRecord } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-get-scroll-view.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-get-scroll-view.ts index 6f6dbbeb..cb1edc60 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-get-scroll-view.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-get-scroll-view.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ScrollViewContext } from '../../context/scroll-view-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-init-status.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-init-status.ts index 64eaa344..3ea71cd1 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-init-status.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-init-status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isValidContext } from '../../utils/is-valid-context'; import { useChatAreaStoreSet } from './use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-method-common-deps.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-method-common-deps.ts index 513b269e..3b8800aa 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-method-common-deps.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/context/use-method-common-deps.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MethodCommonDeps } from '../../plugin/types'; import { useLoadMoreClient } from '../../context/load-more'; import { useChatActionLockService } from '../../context/chat-action-lock'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/controller/use-chat-area-controller.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/controller/use-chat-area-controller.ts index 12a01cb7..0493b84c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/controller/use-chat-area-controller.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/controller/use-chat-area-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isUndefined } from 'lodash-es'; import { useUnselectAll } from '../public/use-unselect-all'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/dom/use-compute-scroll-view-size.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/dom/use-compute-scroll-view-size.ts index f4f6f230..48faaf9b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/dom/use-compute-scroll-view-size.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/dom/use-compute-scroll-view-size.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useSize } from 'ahooks'; import { computedStyleToNumber } from '../../utils/dom/computed-style-to-number'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-delete-file.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-delete-file.ts index 7f965ddd..e325a94e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-delete-file.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-delete-file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; import { useUploadController } from '../../context/upload-controller-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-drag-upload.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-drag-upload.ts index 27ad62ea..7fcbdec1 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-drag-upload.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-drag-upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-paste-upload.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-paste-upload.ts index 326c9b71..bb23437e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-paste-upload.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-paste-upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ClipboardEvent } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-upload.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-upload.ts index dec455b2..e80837f9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-upload.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; import { FileStatus, FileType } from '../../store/types'; import { useUploadController } from '../../context/upload-controller-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-validate-file-list.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-validate-file-list.ts index f29f086b..823c4283 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-validate-file-list.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/file/use-validate-file-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/bot-semi'; import { MAX_FILE_MBYTE } from '@coze-common/chat-uikit-shared'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-auto-update-user-info.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-auto-update-user-info.ts index 5347ad73..ddccb26a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-auto-update-user-info.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-auto-update-user-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { merge } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-create-and-update-init-service.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-create-and-update-init-service.ts index 161d284c..21d6fd0a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-create-and-update-init-service.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-create-and-update-init-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useRef } from 'react'; import { merge } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-init-chat-area.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-init-chat-area.ts index d2ebbeb8..305da9a9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-init-chat-area.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/init/use-init-chat-area.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-anwer-message-helper.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-anwer-message-helper.ts index 253355ff..96751e12 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-anwer-message-helper.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-anwer-message-helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; import { isAnswerFinishVerboseMessage, diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-clear-context.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-clear-context.ts index 911cf0bc..1f4f3b32 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-clear-context.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-clear-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { useImperativeLayoutEffect } from '@coze-common/chat-hooks'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-clear-history.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-clear-history.ts index 7d3f8b8a..49ed94fe 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-clear-history.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-clear-history.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getUnselectAllImplement } from '../public/use-unselect-all'; import { useMethodCommonDeps } from '../context/use-method-common-deps'; import { FileManagerEventNames, fileManager } from '../../utils/file-manage'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-delete-message-group.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-delete-message-group.ts index a30f68ea..c760f640 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-delete-message-group.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-delete-message-group.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaContext, useChatAreaStoreSet, diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-is-clear-message-history-lock.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-is-clear-message-history-lock.ts index 7da1aeaa..491df4c7 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-is-clear-message-history-lock.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-is-clear-message-history-lock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; export const useIsClearMessageHistoryLock = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-is-render-answer-action.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-is-render-answer-action.ts index 7fe1955e..849a2871 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-is-render-answer-action.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-is-render-answer-action.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { usePreference } from '../../context/preference'; import { useMessageBoxContext } from '../../context/message-box'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-latest-section-message.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-latest-section-message.ts index a7a4f3b8..4ea0d355 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-latest-section-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-latest-section-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useChatAreaStoreSet } from '../context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-mark-message-read.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-mark-message-read.ts index c712213e..72c9ce49 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-mark-message-read.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-mark-message-read.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useRef } from 'react'; import { useReporter } from '../public/common'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-reset-to-newest-tip.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-reset-to-newest-tip.ts index d6c81117..d3b89a24 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-reset-to-newest-tip.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-reset-to-newest-tip.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type StoreSet } from '../../context/chat-area-context/type'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/file-message.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/file-message.ts index 6097537d..676ae951 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/file-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/file-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { cloneDeep } from 'lodash-es'; import { type ContentType } from '@coze-common/chat-uikit'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/index.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/index.ts index 2ff956c9..87768317 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../../context/use-chat-area-context'; export { useResendMessage, diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/new-message.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/new-message.ts index aa4c2aa0..3341359f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/new-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/new-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isError, merge } from 'lodash-es'; import websocketManager from '@coze-common/websocket-manager-adapter'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/regenerate.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/regenerate.ts index be04bd83..4661eb57 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/regenerate.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/regenerate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { ContentType } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/text-message.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/text-message.ts index 0b01a66e..03020b17 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/text-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-send-message/text-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SendMessageOptions } from '@coze-common/chat-core'; import { type SendTextMessagePayload } from '@coze-common/chat-uikit-shared'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-stop-responding.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-stop-responding.ts index dd5383ba..adf9a89c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-stop-responding.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/messages/use-stop-responding.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIsSendMessageLock } from '../public/use-is-send-message-lock'; import { useMethodCommonDeps } from '../context/use-method-common-deps'; import { useChatAreaStoreSet } from '../context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/plugins/use-get-chatcore-plugin.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/plugins/use-get-chatcore-plugin.ts index 226c29c0..50f8d431 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/plugins/use-get-chatcore-plugin.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/plugins/use-get-chatcore-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PluginKey } from '@coze-common/chat-core'; import { useChatCore } from '../context/use-chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/common.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/common.ts index 1436aaab..4b39d7a6 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/common.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaContext } from '../context/use-chat-area-context'; import { usePreference } from '../../context/preference'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-bot-info.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-bot-info.ts index c0dbefcd..0e9de92d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-bot-info.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-bot-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useChatAreaStoreSet } from '../context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-delete-message-group.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-delete-message-group.ts index 467ea8be..0cbc723c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-delete-message-group.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-delete-message-group.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDeleteMessageGroup } from '../messages/use-delete-message-group'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-file.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-file.ts index 47896186..56f079da 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-file.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useChatAreaStoreSet } from '../context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-get-message-group.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-get-message-group.ts index 20dba35e..d6264c01 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-get-message-group.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-get-message-group.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; export const useGetMessageGroup = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-get-messages.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-get-messages.ts index d0d13c8a..19b847df 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-get-messages.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-get-messages.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; export const useGetMessages = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-has-message-list.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-has-message-list.ts index bcffa06c..c9f085e8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-has-message-list.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-has-message-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; export const useHasMessageList = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-clear-history-lock.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-clear-history-lock.ts index b6b47da3..7b576c1f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-clear-history-lock.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-clear-history-lock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; import { getIsGlobalActionLockMap } from '../../service/chat-action-lock/helper/action-lock-map'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-delete-message-lock.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-delete-message-lock.ts index 45265eb1..dd7a6d69 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-delete-message-lock.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-delete-message-lock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; import { getIsAnswerActionLockMap } from '../../service/chat-action-lock/helper/action-lock-map'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-onboarding-empty.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-onboarding-empty.ts index 10efd5e3..ddcb1ec6 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-onboarding-empty.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-onboarding-empty.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useChatAreaStoreSet } from '../context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-send-message-lock.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-send-message-lock.ts index 2f05b094..83604f3a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-send-message-lock.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-is-send-message-lock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; import { getIsGlobalActionLockMap } from '../../service/chat-action-lock/helper/action-lock-map'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-latest-section-id.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-latest-section-id.ts index 5f65e9a5..c0938786 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-latest-section-id.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-latest-section-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; export const useLatestSectionId = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-limited-chat-core.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-limited-chat-core.ts index 02adf66b..c90895fe 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-limited-chat-core.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-limited-chat-core.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatCore } from '../context/use-chat-core'; export const useLimitedChatCore: () => Pick< diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-manual-init.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-manual-init.ts index 1af69bf9..109cd787 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-manual-init.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-manual-init.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaContext } from '../context/use-chat-area-context'; export const useManualInit = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-message-index.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-message-index.ts index 50cdc5f4..32b2bb27 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-message-index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-message-index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useChatAreaStoreSet } from '../context/use-chat-area-context'; export const useUpdateMessageIndex = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-messages-overview.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-messages-overview.ts index 93475624..6c4bd870 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-messages-overview.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-messages-overview.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useChatAreaStoreSet } from '../context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-onboarding-center-offset.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-onboarding-center-offset.ts index 52dac4bc..c145a54b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-onboarding-center-offset.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-onboarding-center-offset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useScrollViewSize } from '../../context/scroll-view-size'; import { usePreference } from '../../context/preference'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-select-onboarding.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-select-onboarding.ts index f379b529..4faa4bd3 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-select-onboarding.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-select-onboarding.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMethodCommonDeps } from '../context/use-method-common-deps'; import { type MethodCommonDeps } from '../../plugin/types'; import { type OnboardingSelectChangeParams } from '../../context/chat-area-context/chat-area-callback'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-send-message.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-send-message.ts index c5167dd9..6052f8e4 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-send-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-send-message.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSendNewMessage } from '../messages/use-send-message'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-show-bgackground.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-show-bgackground.ts index 3e6ccee0..aa6bfdf9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-show-bgackground.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-show-bgackground.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { usePreference } from '../../context/preference'; export const useShowBackGround = () => { diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-subscribe-waiting.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-subscribe-waiting.ts index f58559bb..ad3e6cd7 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-subscribe-waiting.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-subscribe-waiting.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useChatAreaStoreSet } from '../context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-unselect-all.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-unselect-all.ts index 0e7eb240..d2bc03e7 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-unselect-all.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-unselect-all.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMethodCommonDeps } from '../context/use-method-common-deps'; import { type MethodCommonDeps } from '../../plugin/types'; import { getSelectOnboardingImplement } from './use-select-onboarding'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-waiting.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-waiting.ts index ae404373..ba97f0db 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-waiting.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/public/use-waiting.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useChatAreaStoreSet } from '../context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-background-scroll.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-background-scroll.ts index d9258a91..f9f912f8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-background-scroll.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-background-scroll.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useShowBackGround } from '../public/use-show-bgackground'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-builtin-button-status.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-builtin-button-status.ts index dc3fb0e9..130f765b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-builtin-button-status.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-builtin-button-status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { type UiKitChatInputButtonStatus } from '@coze-common/chat-uikit-shared'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-display-user-info.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-display-user-info.ts index ddccd750..86d55641 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-display-user-info.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-display-user-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { Layout } from '@coze-common/chat-uikit-shared'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-event-callbacks.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-event-callbacks.ts index 9f8bae27..914aaf0a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-event-callbacks.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-event-callbacks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import copy from 'copy-to-clipboard'; import { isFile } from '@coze-common/chat-uikit'; diff --git a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-ui-kit-message-image-auto-size-config.ts b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-ui-kit-message-image-auto-size-config.ts index beaca746..467b89dd 100644 --- a/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-ui-kit-message-image-auto-size-config.ts +++ b/frontend/packages/common/chat-area/chat-area/src/hooks/uikit/use-ui-kit-message-image-auto-size-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isUndefined } from 'lodash-es'; import { EXPECT_CONTEXT_WIDTH_MOBILE, diff --git a/frontend/packages/common/chat-area/chat-area/src/index.tsx b/frontend/packages/common/chat-area/chat-area/src/index.tsx index 31273d66..9f17ec2d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ChatArea } from './chat-area-main'; export { ChatAreaProviderMethod } from './context/chat-area-context/type'; export { ChatAreaProvider } from './context/chat-area-context/provider'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/constants/life-cycle-context.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/constants/life-cycle-context.ts index 680897ce..46da7d6b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/constants/life-cycle-context.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/constants/life-cycle-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const enum StopRespondingErrorScene { NoWaiting = 'noWaiting', CatchError = 'catchError', diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/constants/plugin-name.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/constants/plugin-name.ts index 4a11e157..85a802b7 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/constants/plugin-name.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/constants/plugin-name.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const enum PluginName { Demo = 'demo', MemoryComponents = 'memoryComponents', diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/constants/plugin.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/constants/plugin.ts index 441cc742..b5cc329e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/constants/plugin.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/constants/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginName } from './plugin-name'; export { PluginName }; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/context/plugin-scope-context.tsx b/frontend/packages/common/chat-area/chat-area/src/plugin/context/plugin-scope-context.tsx index fbf16b5d..c07681aa 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/context/plugin-scope-context.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/context/plugin-scope-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { createContext, useContext } from 'react'; import { type PropsWithChildren } from 'react'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-message-meta-selector.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-message-meta-selector.ts index 68fea3f8..7f3813fe 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-message-meta-selector.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-message-meta-selector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash-es'; import { type LimitMessageMetaSelector } from '../../types/plugin-class/selector'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-message-selector.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-message-selector.ts index 044680d0..8a410891 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-message-selector.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-message-selector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash-es'; import { type LimitMessageSelector } from '../../types/plugin-class/selector'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-onboarding-selector.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-onboarding-selector.ts index 21e7880b..6acb0ac1 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-onboarding-selector.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-onboarding-selector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash-es'; import { type LimitOnboardingSelector } from '../../types/plugin-class/selector'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-selection-selector.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-selection-selector.ts index 5cf4123d..e69bdecb 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-selection-selector.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-selection-selector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash-es'; import { type LimitSelectionSelector } from '../../types/plugin-class/selector'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-waiting-selector.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-waiting-selector.ts index a3306ee9..62559b0b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-waiting-selector.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/limit-selector/use-limit-waiting-selector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash-es'; import { type LimitWaitingSelector } from '../../types/plugin-class/selector'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-limit-selector.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-limit-selector.ts index 1f289c94..e3705c6a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-limit-selector.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-limit-selector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLimitWaitingSelector } from './limit-selector/use-limit-waiting-selector'; import { useLimitSelectionSelector } from './limit-selector/use-limit-selection-selector'; import { useLimitOnboardingSelector } from './limit-selector/use-limit-onboarding-selector'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-custom-components.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-custom-components.ts index 6e571850..65baa4c7 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-custom-components.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-custom-components.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CustomComponent } from '../types/plugin-component'; import { type PluginName } from '../constants/plugin-name'; import { usePluginList } from './use-plugin-list'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-list.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-list.ts index 84918d84..0b0dcda0 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-list.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useChatAreaStoreSet } from '../../hooks/context/use-chat-area-context'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-public-methods.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-public-methods.ts index 15a71f75..d017deb4 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-public-methods.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin-public-methods.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { type PluginName } from '../constants/plugin'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin.ts index ea4f52db..20d8004d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/hooks/use-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { isWriteablePlugin } from '../utils/is-writeable-plugin'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/app-life-cycle/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/app-life-cycle/index.ts index 6218fb8c..93b07643 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/app-life-cycle/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/app-life-cycle/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createPluginBenchmark } from '../create-plugin-benchmark'; import { type OnRefreshMessageListError, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/command-life-cycle/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/command-life-cycle/index.ts index 542ac9c7..9c01fd24 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/command-life-cycle/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/command-life-cycle/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createPluginBenchmark } from '../create-plugin-benchmark'; import { isWriteablePlugin } from '../../utils/is-writeable-plugin'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/create-plugin-benchmark.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/create-plugin-benchmark.ts index 47c2cb86..e05016d3 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/create-plugin-benchmark.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/create-plugin-benchmark.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/index.ts index 65be85da..dbf2db74 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LifeCycleContext } from '../types'; import { SystemRenderLifeCycleService } from './render-life-cycle'; import { SystemMessageLifeCycleService } from './message-life-cycle'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/message-life-cycle/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/message-life-cycle/index.ts index a2d39ab9..ff13bee5 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/message-life-cycle/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/message-life-cycle/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createPluginBenchmark } from '../create-plugin-benchmark'; import { isWriteablePlugin } from '../../utils/is-writeable-plugin'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/render-life-cycle/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/render-life-cycle/index.ts index 49ceef4e..2800d3cd 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/render-life-cycle/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/life-cycle/render-life-cycle/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isWriteablePlugin } from '../../utils/is-writeable-plugin'; import { type OnTextContentRenderingContext, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/plugin/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/plugin/index.ts index 9720dac9..362b7a56 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/plugin/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CustomComponent } from '../../types/plugin-component'; import { type ChatAreaPluginContext } from '../../types/plugin-class/chat-area-plugin-context'; import { PluginMode, type PluginName } from '../../constants/plugin'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/app-life-cycle-service.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/app-life-cycle-service.ts index 910e416a..9f40c0c3 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/app-life-cycle-service.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/app-life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SdkMessageEvent, type SdkPullingStatusEvent, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/command-life-cycle-service.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/command-life-cycle-service.ts index 588047ce..fad6fc2f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/command-life-cycle-service.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/command-life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnOnboardingSelectChangeContext, type OnBeforeClearContextContext, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/life-cycle-service.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/life-cycle-service.ts index cb8bea9c..608a4f4e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/life-cycle-service.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ChatAreaPlugin } from '../plugin'; import { type PluginMode } from '../../constants/plugin'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/message-life-cycle-service.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/message-life-cycle-service.ts index 6fb739ac..19b560bb 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/message-life-cycle-service.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/message-life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnBeforeReceiveMessageContext, type OnBeforeProcessReceiveMessageContext, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/render-life-cycle-service.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/render-life-cycle-service.ts index 87223c0c..0e8ad056 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/render-life-cycle-service.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-class/service/render-life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnTextContentRenderingContext, type OnMessageBoxRenderContext, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/in-life-cycle-context/after-create-store-set/create-get-message-index-store-methods.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/in-life-cycle-context/after-create-store-set/create-get-message-index-store-methods.ts index 571fcbb2..50d8eed5 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/in-life-cycle-context/after-create-store-set/create-get-message-index-store-methods.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/in-life-cycle-context/after-create-store-set/create-get-message-index-store-methods.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { type MessageIndexStore } from '../../../../store/message-index'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/index.ts index 73f6b3a2..659c30d1 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { type MethodCommonDeps } from '../types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/methods/create-message-methods.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/methods/create-message-methods.ts index 8793afb7..629c16e4 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/methods/create-message-methods.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/methods/create-message-methods.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface MessageMethodsProps { refreshMessageList: () => void; } diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-global-init-store-instant-values.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-global-init-store-instant-values.ts index eefbb699..3b24f129 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-global-init-store-instant-values.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-global-init-store-instant-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GlobalInitStore } from '../../../store/global-init'; export const createGetGlobalInitStoreInstantValues = diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-message-meta-store-instant-values.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-message-meta-store-instant-values.ts index 03b0793f..e813791a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-message-meta-store-instant-values.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-message-meta-store-instant-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageMetaStore } from '../../../store/message-meta'; export const createGetMessageMetaStoreInstantValues = diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-messages-store-instant-values.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-messages-store-instant-values.ts index db614a93..13877765 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-messages-store-instant-values.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-get-messages-store-instant-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessagesStore } from '../../../store/messages'; export const createGetMessagesStoreInstantValues = diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-section-id-instant-values.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-section-id-instant-values.ts index 2b90887d..f3af44fe 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-section-id-instant-values.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-section-id-instant-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SectionIdStore } from '../../../store/section-id'; export const createSectionIdInstantValues = diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-waiting-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-waiting-store.ts index c3d64dd9..febda920 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-waiting-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-instant-values/create-waiting-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WaitingStore } from '../../../store/waiting'; export const createGetWaitingStoreInstanceValues = diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/batch-upload-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/batch-upload-store.ts index a90f5cc8..ed726c6c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/batch-upload-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/batch-upload-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BatchFileUploadStore } from '../../../store/batch-upload-file'; export const createGetBatchFileStoreReadonlyMethods = diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/bot-info-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/bot-info-store.ts index 03159326..284e3859 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/bot-info-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/bot-info-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SenderInfoStore } from '../../../store/sender-info'; export const createGetBotInfoStoreReadonlyMethods = diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/message-meta-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/message-meta-store.ts index f715c1b2..67c679b7 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/message-meta-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/message-meta-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageMetaStore } from '../../../store/message-meta'; export const getMessageMetaStoreReadonlyMethods = ( diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/messages-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/messages-store.ts index be1234a1..0877e4e4 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/messages-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-readonly-methods/messages-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessagesStore } from '../../../store/messages'; export const getMessagesStoreReadonlyMethods = ( diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/create-waiting-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/create-waiting-store.ts index f70d41c7..d33c7777 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/create-waiting-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/create-waiting-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WaitingStore } from '../../../store/waiting'; export const createGetWaitingStoreWriteableMethods = diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/message-index-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/message-index-store.ts index f55db950..53693bdd 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/message-index-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/message-index-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageIndexStore } from '../../../store/message-index'; export const getMessageIndexStoreWriteableMethods = ( diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/messags-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/messags-store.ts index e9b15c90..b9945a4d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/messags-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/messags-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessagesStore } from '../../../store/messages'; export const getMessagesStoreWriteableMethods = ( diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/onbaording-store.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/onbaording-store.ts index a6740b59..e7170cad 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/onbaording-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/store-writeable-methods/onbaording-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnboardingStore } from '../../../store/onboarding'; export const getOnboardingStoreWriteableMethods = ( diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-global-init-state.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-global-init-state.ts index cd2a6a7c..5d0facb9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-global-init-state.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-global-init-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LimitGlobalInitSelector, type SubscriptionSelector, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-message-meta.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-message-meta.ts index b5d1c58f..b9ee1710 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-message-meta.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-message-meta.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LimitMessageMetaSelector, type SubscriptionSelector, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-message.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-message.ts index 2efc9a77..8d952520 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LimitMessageSelector, type SubscriptionSelector, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-onboarding.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-onboarding.ts index 4b4f85e9..120ed52e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-onboarding.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-onboarding.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LimitOnboardingSelector, type SubscriptionSelector, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-selection.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-selection.ts index 5c36f65c..c3049c3e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-selection.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-selection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LimitSelectionSelector, type SubscriptionSelector, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-waiting.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-waiting.ts index 3084b4ae..424273fd 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-waiting.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/subscribes/create-subscribe-waiting.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LimitWaitingSelector, type SubscriptionSelector, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/writeable-methods/create-message-methods.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/writeable-methods/create-message-methods.ts index 181d8ce7..797e1377 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/writeable-methods/create-message-methods.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/writeable-methods/create-message-methods.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { type MethodCommonDeps } from '../../types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/writeable-methods/create-section-id-methods.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/writeable-methods/create-section-id-methods.ts index 28349639..064198d2 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/writeable-methods/create-section-id-methods.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/plugin-context/writeable-methods/create-section-id-methods.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SectionIdStore } from '../../../store/section-id'; export const createWriteableSectionIdMethods = ( diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/index.ts index ab4b1ed3..53bb6d49 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { type PluginStore } from '../../store/plugins'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/app-life-cycle.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/app-life-cycle.ts index 60b0754b..d9fea681 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/app-life-cycle.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/app-life-cycle.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type getMessageIndexStoreWriteableMethods } from '../../plugin-context/store-writeable-methods/message-index-store'; import { type MixInitResponse } from '../../../context/chat-area-context/type'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/chat-area-plugin-context.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/chat-area-plugin-context.ts index 9283f80f..f43ec3af 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/chat-area-plugin-context.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/chat-area-plugin-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type createChatAreaPluginContext } from '../../plugin-context'; import { type PluginMode } from '../../constants/plugin'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/command-life-cycle.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/command-life-cycle.ts index 4cab2ac2..45b6ab24 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/command-life-cycle.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/command-life-cycle.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ClipboardEvent, type MouseEvent } from 'react'; import { type ClearMessageContextParams } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/life-cycle.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/life-cycle.ts index 85e87096..ebdf4609 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/life-cycle.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/life-cycle.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WriteableRenderLifeCycleService, type ReadonlyRenderLifeCycleService, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/message-life-cycle.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/message-life-cycle.ts index dd9cf9c4..a85f6211 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/message-life-cycle.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/message-life-cycle.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-pkg-dir-import import { type GetHistoryMessageProps } from '@coze-common/chat-core/src/message/types/message-manager'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/render-life-cycle.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/render-life-cycle.ts index f078fbea..b7355143 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/render-life-cycle.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/render-life-cycle.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ContentType } from '@coze-common/chat-core'; import { type InsertedElementItem } from '@coze-arch/bot-md-box-adapter'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/selector.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/selector.ts index 1a101998..b8868498 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/selector.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-class/selector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WaitingStoreStateAction } from '../../../store/waiting'; import { type SelectionStoreStateAction } from '../../../store/selection'; import { type PluginStore } from '../../../store/plugins'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/content-box.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/content-box.ts index 9ce57397..972ad424 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/content-box.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/content-box.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, type ComponentType, type ReactNode } from 'react'; import { type ScrollViewController } from '@coze-common/scroll-view'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/index.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/index.ts index d4bee58c..aee46828 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentType } from 'react'; import { type MessageBoxProps } from '../../../components/types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/message-box.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/message-box.ts index b81e9d1f..ea4cfdfd 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/message-box.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/plugin-component/message-box.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentType } from 'react'; import { type MessageBoxProps as UiKitMessageBoxProps } from '@coze-common/chat-uikit'; diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/types/utils/create-life-cycle-service.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/types/utils/create-life-cycle-service.ts index ece1546e..836654f8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/types/utils/create-life-cycle-service.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/types/utils/create-life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyLifeCycleServiceCollection, type WriteableLifeCycleServiceCollection, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/utils/create-custom-component.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/utils/create-custom-component.ts index 1c236b52..9aa1c290 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/utils/create-custom-component.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/utils/create-custom-component.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CustomComponent } from '../types/plugin-component'; /** diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/utils/create-life-cycle-service.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/utils/create-life-cycle-service.ts index d87e2a72..b6d941cf 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/utils/create-life-cycle-service.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/utils/create-life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { exhaustiveCheckForRecord } from '@coze-common/chat-area-utils'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/utils/is-readonly-plugin.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/utils/is-readonly-plugin.ts index fd0604c5..9f91ff33 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/utils/is-readonly-plugin.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/utils/is-readonly-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyChatAreaPlugin, type WriteableChatAreaPlugin, diff --git a/frontend/packages/common/chat-area/chat-area/src/plugin/utils/is-writeable-plugin.ts b/frontend/packages/common/chat-area/chat-area/src/plugin/utils/is-writeable-plugin.ts index c03337ba..5e380825 100644 --- a/frontend/packages/common/chat-area/chat-area/src/plugin/utils/is-writeable-plugin.ts +++ b/frontend/packages/common/chat-area/chat-area/src/plugin/utils/is-writeable-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyChatAreaPlugin, type WriteableChatAreaPlugin, diff --git a/frontend/packages/common/chat-area/chat-area/src/report-events/get-report-error.ts b/frontend/packages/common/chat-area/chat-area/src/report-events/get-report-error.ts index 4a0ac3dd..9b1bbfaf 100644 --- a/frontend/packages/common/chat-area/chat-area/src/report-events/get-report-error.ts +++ b/frontend/packages/common/chat-area/chat-area/src/report-events/get-report-error.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getReportError } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-area/src/report-events/index.ts b/frontend/packages/common/chat-area/chat-area/src/report-events/index.ts index b8feb97e..71a1e201 100644 --- a/frontend/packages/common/chat-area/chat-area/src/report-events/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/report-events/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ReportEventNames } from './report-event-names'; export { getReportError } from './get-report-error'; diff --git a/frontend/packages/common/chat-area/chat-area/src/report-events/report-event-names.ts b/frontend/packages/common/chat-area/chat-area/src/report-events/report-event-names.ts index 51e9ffa0..8fffc49e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/report-events/report-event-names.ts +++ b/frontend/packages/common/chat-area/chat-area/src/report-events/report-event-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ReportEventNames { ClearHistory = 'chat_area_clear_history', ClearContext = 'chat_area_clear_context', diff --git a/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/helper/action-lock-map.ts b/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/helper/action-lock-map.ts index a58cd006..e3e0e741 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/helper/action-lock-map.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/helper/action-lock-map.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GetGlobalActionLockUpdateFn, type GetIsGlobalActionLockFn, diff --git a/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/index.ts b/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/index.ts index 5d006af4..82bb1e4f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/type.ts b/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/type.ts index c72cfd4e..a1571eee 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/type.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/chat-action-lock/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/service/extend-data-lifecycle/index.ts b/frontend/packages/common/chat-area/chat-area/src/service/extend-data-lifecycle/index.ts index 4ab7598f..95040814 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/extend-data-lifecycle/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/extend-data-lifecycle/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This module is used to extend the lifecycle of chat area data */ diff --git a/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-history-message-list.ts b/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-history-message-list.ts index 85435192..c908d301 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-history-message-list.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-history-message-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { type ChatMessage } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-image-message.ts b/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-image-message.ts index 731c4971..eb63d865 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-image-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-image-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { type ContentType, type MessageContent } from '@coze-common/chat-core'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-message-struct.ts b/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-message-struct.ts index 91cce00d..d9d77a83 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-message-struct.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/fix-message/fix-message-struct.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { merge } from 'lodash-es'; import { ContentType, messageSource } from '@coze-common/chat-core'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/helper/parse-error-info.ts b/frontend/packages/common/chat-area/chat-area/src/service/helper/parse-error-info.ts index 42efc9e9..f30826f5 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/helper/parse-error-info.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/helper/parse-error-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isError, isObject } from 'lodash-es'; import { type ChatCoreError } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/ignore-message/index.ts b/frontend/packages/common/chat-area/chat-area/src/service/ignore-message/index.ts index 803df70c..40e84423 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/ignore-message/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/ignore-message/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VerboseMsgType } from '@coze-common/chat-core'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/service/init-service/index.ts b/frontend/packages/common/chat-area/chat-area/src/service/init-service/index.ts index 0c5eac89..35c2a20f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/init-service/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/init-service/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ import { type MutableRefObject } from 'react'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/init-service/init-store.ts b/frontend/packages/common/chat-area/chat-area/src/service/init-service/init-store.ts index 378e2f61..ae88d7a1 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/init-service/init-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/init-service/init-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Scene } from '@coze-common/chat-core'; import { exhaustiveCheckForRecord } from '@coze-common/chat-area-utils'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/init-service/pre-init-store.ts b/frontend/packages/common/chat-area/chat-area/src/service/init-service/pre-init-store.ts index 12cbf63d..6251f95c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/init-service/pre-init-store.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/init-service/pre-init-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Scene } from '@coze-common/chat-core'; import { exhaustiveCheckForRecord } from '@coze-common/chat-area-utils'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/listen-message-update.ts b/frontend/packages/common/chat-area/chat-area/src/service/listen-message-update.ts index e6b8519d..4df65430 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/listen-message-update.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/listen-message-update.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ChatCore, { type SdkMessageEvent, type SdkPullingStatusEvent, diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-by-scroll.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-by-scroll.ts index bfe53daf..de7b3b04 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-by-scroll.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-by-scroll.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LoadDirection } from '@coze-common/chat-core'; import { safeAsyncThrow } from '@coze-common/chat-area-utils'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-eagerly.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-eagerly.ts index f9e7bb10..751fcba9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-eagerly.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-eagerly.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LoadDirection } from '@coze-common/chat-core'; import { LoadCommand, type LoadCommandEnvTools } from '../load-command'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-passively.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-passively.ts index 06f95cb3..5b590202 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-passively.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-passively.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LoadCommand, type LoadCommandEnvTools } from '../load-command'; export class LoadPassivelyCommand extends LoadCommand { diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-silently.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-silently.ts index ef372ce8..010f0e3d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-silently.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/load-silently.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LoadDirection } from '@coze-common/chat-core'; import { LoadCommand } from '../load-command'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/on-clear-history-effect.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/on-clear-history-effect.ts index c6df4f4e..20ac9c54 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/on-clear-history-effect.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/on-clear-history-effect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LoadEffect } from '../load-command'; import { ReportErrorEventNames } from '../../../report-events/report-event-names'; import { ReportEventNames } from '../../../report-events'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/on-initial-load-effect.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/on-initial-load-effect.ts index 4b5d77a7..5be01a26 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/on-initial-load-effect.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/command/on-initial-load-effect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { compute } from '@coze-common/chat-area-utils'; import { @@ -32,10 +32,7 @@ export interface LocateUnreadMessageParam { } export class OnInitialLoadEffect extends LoadAsyncEffect { - constructor( - envTools: LoadCommandEnvTools, - private data: MixInitResponse, - ) { + constructor(envTools: LoadCommandEnvTools, private data: MixInitResponse) { super(envTools); } /** diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/helper/load-lock-error-helper.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/helper/load-lock-error-helper.ts index 41cc9777..5e2df388 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/helper/load-lock-error-helper.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/helper/load-lock-error-helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LoadMoreEnvTools } from '../load-more-env-tools'; import { uniquePush } from '../../../utils/array'; import { type LoadAction } from '../../../store/message-index'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/helper/message-index-helper.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/helper/message-index-helper.ts index 3b25d3a2..c28e2ba8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/helper/message-index-helper.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/helper/message-index-helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GetHistoryMessageResponse, LoadDirection, diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/index.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/index.ts index 7665b54e..333d317d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type ChatCore from '@coze-common/chat-core'; import { compareInt64, diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/load-command.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/load-command.ts index ddadb7d8..9cf05748 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/load-command.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/load-command.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LoadAction } from '../../store/message-index'; import { type LoadMoreEnvTools } from './load-more-env-tools'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/load-more/load-more-env-tools.ts b/frontend/packages/common/chat-area/chat-area/src/service/load-more/load-more-env-tools.ts index 9cac3a0b..4cb21cda 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/load-more/load-more-env-tools.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/load-more/load-more-env-tools.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { type GetConversationParticipantsReadIndexResponse } from '@coze-arch/bot-api/developer_api'; import { type ScrollViewController } from '@coze-common/scroll-view'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/mark-read/index.ts b/frontend/packages/common/chat-area/chat-area/src/service/mark-read/index.ts index b0839f72..28d0c215 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/mark-read/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/mark-read/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { debounce } from 'lodash-es'; import { compareInt64, diff --git a/frontend/packages/common/chat-area/chat-area/src/service/send-message/index.ts b/frontend/packages/common/chat-area/chat-area/src/service/send-message/index.ts index 871161ec..24d4d863 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/send-message/index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/send-message/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContentType, type TextAndFileMixMessageProps, diff --git a/frontend/packages/common/chat-area/chat-area/src/service/upload-controller.ts b/frontend/packages/common/chat-area/chat-area/src/service/upload-controller.ts index a4e817af..e9cc5e5d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/upload-controller.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/upload-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isImage } from '../utils/batch-file-upload'; import { type EventPayloadMap, UploadPlugin } from './upload-plugin'; diff --git a/frontend/packages/common/chat-area/chat-area/src/service/upload-plugin.ts b/frontend/packages/common/chat-area/chat-area/src/service/upload-plugin.ts index 6bb4ed38..e0edc6f8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/service/upload-plugin.ts +++ b/frontend/packages/common/chat-area/chat-area/src/service/upload-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EventEmitter } from 'eventemitter3'; import { type EventPayloadMaps as BaseEventPayloadMap, diff --git a/frontend/packages/common/chat-area/chat-area/src/store/action-implement/helper-type.ts b/frontend/packages/common/chat-area/chat-area/src/store/action-implement/helper-type.ts index e9fe5a6c..414d6a9a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/action-implement/helper-type.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/action-implement/helper-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type SetStateInternal = ( partial: T | Partial | ((state: T) => T | Partial), replace?: boolean | undefined, diff --git a/frontend/packages/common/chat-area/chat-area/src/store/action-implement/messages/get-message-index-range.ts b/frontend/packages/common/chat-area/chat-area/src/store/action-implement/messages/get-message-index-range.ts index 407ee4c5..d8da7f0f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/action-implement/messages/get-message-index-range.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/action-implement/messages/get-message-index-range.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getMinMax } from '@coze-common/chat-area-utils'; import type { Message } from '../../types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/action-implement/messages/update-message.ts b/frontend/packages/common/chat-area/chat-area/src/store/action-implement/messages/update-message.ts index ff635c6f..8976f4ec 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/action-implement/messages/update-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/action-implement/messages/update-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { produce } from 'immer'; import { safeAsyncThrow } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/audio-ui.ts b/frontend/packages/common/chat-area/chat-area/src/store/audio-ui.ts index 0e151945..0cf4af49 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/audio-ui.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/audio-ui.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/batch-upload-file.ts b/frontend/packages/common/chat-area/chat-area/src/store/batch-upload-file.ts index 4599cebf..0c404f42 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/batch-upload-file.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/batch-upload-file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/chat-action.ts b/frontend/packages/common/chat-area/chat-area/src/store/chat-action.ts index 344d09a1..be616e08 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/chat-action.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/chat-action.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { isUndefined, merge, omitBy } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/file.ts b/frontend/packages/common/chat-area/chat-area/src/store/file.ts index bde7400b..520a1927 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/file.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/global-init.ts b/frontend/packages/common/chat-area/chat-area/src/store/global-init.ts index f4dbb2f4..880c33d9 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/global-init.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/global-init.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { type ChatCore } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-answer-location.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-answer-location.ts index 1b3fadbd..e1dcdd39 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-answer-location.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-answer-location.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageMeta } from '../types'; export const addAnswerLocation = (metaList: MessageMeta[]) => { diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-message-deduplicate.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-message-deduplicate.ts index db50cbca..3c42ca11 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-message-deduplicate.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-message-deduplicate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * When adding data, filter out non-duplicate parts */ diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-verbose-info.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-verbose-info.ts index 525da85c..c2ac1960 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-verbose-info.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/add-verbose-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VerboseMsgType } from '@coze-common/chat-core'; import { type MessageMeta } from '../types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-bot-state.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-bot-state.ts index 011bc970..15cc9fcf 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-bot-state.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-bot-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageExtraInfoBotState } from '../types'; import { safeJSONParse } from '../../utils/safe-json-parse'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-default-distribute-merber-set-type.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-default-distribute-merber-set-type.ts index 9e5c046d..9212b64c 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-default-distribute-merber-set-type.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-default-distribute-merber-set-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message } from '../types'; import { getIsTriggerMessage } from '../../utils/message'; import { type MemberSetType } from '../../plugin/types/plugin-class/message-life-cycle'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-latest-message-group-context-divider.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-latest-message-group-context-divider.ts index 345c1d86..c71c8e6b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-latest-message-group-context-divider.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-latest-message-group-context-divider.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message, type MessageGroup } from '../types'; import { markGroupShowContextDivider } from './mark-group-context-divider'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-meta-by-message.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-meta-by-message.ts index 704d5224..ec298e35 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-meta-by-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/get-meta-by-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message, type MessageMeta } from '../types'; import { getVerboseContentObj } from '../../utils/verbose'; import { getIsCardDisabled } from '../../utils/message'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/group-message-list.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/group-message-list.ts index 22302bc4..ece1c2bd 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/group-message-list.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/group-message-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { flatMapByKeyList } from '@coze-common/chat-area-utils'; import { type MessageGroup, type Message } from '../types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/hide-avatar.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/hide-avatar.ts index 80516590..32453c50 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/hide-avatar.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/hide-avatar.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageMeta } from '../types'; import { getIsAsyncResultMessage, diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/mark-group-context-divider.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/mark-group-context-divider.ts index fbcb3248..896e2a32 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/mark-group-context-divider.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/mark-group-context-divider.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message, type MessageGroup } from '../types'; import { getMessagesByGroup } from '../../utils/message-group/get-message-by-group'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/mutate-meta-by-groups.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/mutate-meta-by-groups.ts index 9124d151..1a3bf061 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/mutate-meta-by-groups.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/mutate-meta-by-groups.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { safeAsyncThrow } from '@coze-common/chat-area-utils'; import type { MessageGroup, MessageGroupMember, MessageMeta } from '../types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/scan-meta-suggestions.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/scan-meta-suggestions.ts index 42dde08d..15e04a94 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/scan-meta-suggestions.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/scan-meta-suggestions.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageGroup } from '../types'; /** diff --git a/frontend/packages/common/chat-area/chat-area/src/store/helpers/split-section.ts b/frontend/packages/common/chat-area/chat-area/src/store/helpers/split-section.ts index 701ff4ed..363fff92 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/helpers/split-section.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/helpers/split-section.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageMeta } from '../types'; import { getIsVisibleMessageMeta as builtinGetIsVisibleMessageMeta } from '../../utils/message'; import { type ChatAreaConfigs } from '../../context/chat-area-context/type'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/message-index.ts b/frontend/packages/common/chat-area/chat-area/src/store/message-index.ts index 09de6c1a..64b49232 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/message-index.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/message-index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/message-meta.ts b/frontend/packages/common/chat-area/chat-area/src/store/message-meta.ts index 6610b1dd..9066f4ab 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/message-meta.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/message-meta.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/messages.ts b/frontend/packages/common/chat-area/chat-area/src/store/messages.ts index 42cbb2a2..04150e94 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/messages.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/messages.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/onboarding.ts b/frontend/packages/common/chat-area/chat-area/src/store/onboarding.ts index 3683a335..71bcb0b0 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/onboarding.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/onboarding.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { isUndefined, omitBy, remove } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/plugins.ts b/frontend/packages/common/chat-area/chat-area/src/store/plugins.ts index ffadadf3..964200b2 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/plugins.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/plugins.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/section-id.ts b/frontend/packages/common/chat-area/chat-area/src/store/section-id.ts index fb11c835..fc5de8a6 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/section-id.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/section-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/selection.ts b/frontend/packages/common/chat-area/chat-area/src/store/selection.ts index 3f5f2fb0..ce2aa37d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/selection.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/selection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/sender-info.ts b/frontend/packages/common/chat-area/chat-area/src/store/sender-info.ts index 69f40700..9b218d42 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/sender-info.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/sender-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { isEqual, merge } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-area/src/store/suggestions.ts b/frontend/packages/common/chat-area/chat-area/src/store/suggestions.ts index 682cbcaa..cf8ac27a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/suggestions.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/suggestions.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * A suggestion to store all messages (type: follow_up) */ diff --git a/frontend/packages/common/chat-area/chat-area/src/store/waiting.ts b/frontend/packages/common/chat-area/chat-area/src/store/waiting.ts index f842815e..e41ed3f0 100644 --- a/frontend/packages/common/chat-area/chat-area/src/store/waiting.ts +++ b/frontend/packages/common/chat-area/chat-area/src/store/waiting.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/chat-area/src/typing/module.d.ts b/frontend/packages/common/chat-area/chat-area/src/typing/module.d.ts index 7cc757a8..a5e22767 100644 --- a/frontend/packages/common/chat-area/chat-area/src/typing/module.d.ts +++ b/frontend/packages/common/chat-area/chat-area/src/typing/module.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/common/chat-area/chat-area/src/typing/util-types.ts b/frontend/packages/common/chat-area/chat-area/src/typing/util-types.ts index d84c9fa3..a49b24fe 100644 --- a/frontend/packages/common/chat-area/chat-area/src/typing/util-types.ts +++ b/frontend/packages/common/chat-area/chat-area/src/typing/util-types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type NullableType = { [P in keyof T]: T[P] | null; }; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/add-file-type.ts b/frontend/packages/common/chat-area/chat-area/src/utils/add-file-type.ts index d4ff8e83..37c12abc 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/add-file-type.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/add-file-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { FILE_TYPE_CONFIG, FileTypeEnum } from '@coze-common/chat-core'; import { type ContentType, type Message } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/array.ts b/frontend/packages/common/chat-area/chat-area/src/utils/array.ts index a4b00e2a..2501b758 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/array.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/array.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Cut a section of the size of the left and right sides of the center position from the list to reduce the amount of search calculation */ diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/batch-file-upload.ts b/frontend/packages/common/chat-area/chat-area/src/utils/batch-file-upload.ts index e0068dda..c0a943be 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/batch-file-upload.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/batch-file-upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const findFileDataIndexById = (fileIdList: string[], id: string) => { if (!id) { return -1; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/build-in-process-sent-message.ts b/frontend/packages/common/chat-area/chat-area/src/utils/build-in-process-sent-message.ts index eb445d83..2f751ef6 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/build-in-process-sent-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/build-in-process-sent-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFile } from '@coze-common/chat-uikit'; import { ContentType } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/builtin-asr-process.ts b/frontend/packages/common/chat-area/chat-area/src/utils/builtin-asr-process.ts index c62181da..fc88e720 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/builtin-asr-process.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/builtin-asr-process.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { ContentType, type ChatCore } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/components/get-receive-message-box-theme.ts b/frontend/packages/common/chat-area/chat-area/src/utils/components/get-receive-message-box-theme.ts index fada8d8e..c8703fb5 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/components/get-receive-message-box-theme.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/components/get-receive-message-box-theme.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageBoxTheme } from '@coze-common/chat-uikit'; import { ContentType } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/components/get-thinking-placeholder-theme.ts b/frontend/packages/common/chat-area/chat-area/src/utils/components/get-thinking-placeholder-theme.ts index 4a454c12..c8258b73 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/components/get-thinking-placeholder-theme.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/components/get-thinking-placeholder-theme.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PreferenceContextInterface } from '../../context/preference/types'; export const getThinkingPlaceholderTheme = ({ diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/dom/computed-style-to-number.ts b/frontend/packages/common/chat-area/chat-area/src/utils/dom/computed-style-to-number.ts index 583fdd60..988951c8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/dom/computed-style-to-number.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/dom/computed-style-to-number.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const computedStyleToNumber = (stringifyStyle: string) => parseFloat(stringifyStyle); diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/event-bus/uikit-event-bus.ts b/frontend/packages/common/chat-area/chat-area/src/utils/event-bus/uikit-event-bus.ts index 4398992e..1bfe1a2b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/event-bus/uikit-event-bus.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/event-bus/uikit-event-bus.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const enum EventNames { // resend message RESEND_MESSAGE = 'resendMessage', diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/exhaustive-check.ts b/frontend/packages/common/chat-area/chat-area/src/utils/exhaustive-check.ts index 48c581fa..5ad2ae85 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/exhaustive-check.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/exhaustive-check.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const primitiveExhaustiveCheck = (_: never) => 0; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/fake-chat-core.ts b/frontend/packages/common/chat-area/chat-area/src/utils/fake-chat-core.ts index 9789dc14..8a62318e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/fake-chat-core.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/fake-chat-core.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type ChatCore from '@coze-common/chat-core'; import { safeAsyncThrow } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/file-manage.ts b/frontend/packages/common/chat-area/chat-area/src/utils/file-manage.ts index b839126a..c6086345 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/file-manage.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/file-manage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EventEmitter from 'eventemitter3'; import { type UploadPluginInterface } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/function-message-unit.ts b/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/function-message-unit.ts index 588cec25..4b2802eb 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/function-message-unit.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/function-message-unit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VerboseMsgType } from '@coze-common/chat-core'; import { diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/get-is-function-calling.ts b/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/get-is-function-calling.ts index 4cf782a0..0e21488e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/get-is-function-calling.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/get-is-function-calling.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { sliceArrayByIndexRange } from '../array'; import { type Message } from '../../store/types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/types.ts b/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/types.ts index 709c28f6..3db1d2cf 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/types.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/fucntion-call/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type MockHitStatus } from '@coze-arch/bot-api/debugger_api'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/function-call-message-type.ts b/frontend/packages/common/chat-area/chat-area/src/utils/function-call-message-type.ts index e2433c11..2cc390e0 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/function-call-message-type.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/function-call-message-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message } from '../store/types'; const functionCallTypes: Message['type'][] = [ diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/get-is-policy-exception.ts b/frontend/packages/common/chat-area/chat-area/src/utils/get-is-policy-exception.ts index 07b542c0..7fa49e4b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/get-is-policy-exception.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/get-is-policy-exception.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const policyExceptionCodeList = [ /** Risk control interception */ '700012014', diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/get-new-conversation-dom-id.ts b/frontend/packages/common/chat-area/chat-area/src/utils/get-new-conversation-dom-id.ts index eeb59303..f09fc2ed 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/get-new-conversation-dom-id.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/get-new-conversation-dom-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function getNewConversationDomId(onboardingId?: string | null) { if (!onboardingId) { return ''; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/get-regenerate-message.ts b/frontend/packages/common/chat-area/chat-area/src/utils/get-regenerate-message.ts index 82e879c9..bdc5bd7a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/get-regenerate-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/get-regenerate-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { cloneDeep } from 'lodash-es'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/init-plugins.ts b/frontend/packages/common/chat-area/chat-area/src/utils/init-plugins.ts index ef890e29..0c4850cc 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/init-plugins.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/init-plugins.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CreateChatAreaPluginContextParams, createChatAreaPluginContext, diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/is-file-count-exceeds-limit.ts b/frontend/packages/common/chat-area/chat-area/src/utils/is-file-count-exceeds-limit.ts index ac11a197..94e94e5a 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/is-file-count-exceeds-limit.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/is-file-count-exceeds-limit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const isFileCountExceedsLimit = ({ fileCount, fileLimit, diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/is-valid-context.ts b/frontend/packages/common/chat-area/chat-area/src/utils/is-valid-context.ts index 0571350b..68d10620 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/is-valid-context.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/is-valid-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NonNullableType } from '../typing/util-types'; export const isValidContext = ( diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/local-log.ts b/frontend/packages/common/chat-area/chat-area/src/utils/local-log.ts index 73f2ba37..26afc31d 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/local-log.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/local-log.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + let renderLogCount = 1; const RENDER_TIP_COUNT = 2000; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/flat-message-group-list.ts b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/flat-message-group-list.ts index d2ed849c..f91023ea 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/flat-message-group-list.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/flat-message-group-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageGroupMember, type MessageGroup } from '../../store/types'; export const flatMessageGroupIdList = (messageGroupList: MessageGroup[]) => { diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/get-is-group-chat-active.ts b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/get-is-group-chat-active.ts index 703cd5b4..565b9496 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/get-is-group-chat-active.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/get-is-group-chat-active.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WaitingState, WaitingPhase } from '../../store/waiting'; export const getIsGroupChatActive = ({ diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/get-message-by-group.ts b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/get-message-by-group.ts index 67498885..9c23052f 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/get-message-by-group.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/get-message-by-group.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findMessageById } from '../message'; import { type MessageGroup, type Message } from '../../store/types'; import { flatMessageGroupIdList } from './flat-message-group-list'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/message-group-exhaustive-check.ts b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/message-group-exhaustive-check.ts index 7775a0f0..8836802e 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/message-group-exhaustive-check.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/message-group-exhaustive-check.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { exhaustiveCheckForRecord } from '@coze-common/chat-area-utils'; export const checkNoneMessageGroupMemberLeft = exhaustiveCheckForRecord; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/message-group.ts b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/message-group.ts index b3d60b9c..b17aee77 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/message-group.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/message-group.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash-es'; import { safeAsyncThrow } from '@coze-common/chat-area-utils'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/regenerate-message.ts b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/regenerate-message.ts index bc5f20ec..d62c0b9b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/message-group/regenerate-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/message-group/regenerate-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { findMessageById, getMessageUniqueKey } from '../message'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/message-security-strategy.ts b/frontend/packages/common/chat-area/chat-area/src/utils/message-security-strategy.ts index 20adae8e..abcec521 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/message-security-strategy.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/message-security-strategy.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Reporter } from '@coze-arch/logger'; import { type Message } from '../store/types'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/message.ts b/frontend/packages/common/chat-area/chat-area/src/utils/message.ts index 56ee0f23..93494e56 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContentType, type MessageSource, diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/modify-file-message-percent-and-status.ts b/frontend/packages/common/chat-area/chat-area/src/utils/modify-file-message-percent-and-status.ts index 6a0e02f9..61b9fc88 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/modify-file-message-percent-and-status.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/modify-file-message-percent-and-status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { type ContentType } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/proxy-freeze.ts b/frontend/packages/common/chat-area/chat-area/src/utils/proxy-freeze.ts index 584439c4..244eb4e2 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/proxy-freeze.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/proxy-freeze.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @typescript-eslint/no-explicit-any const proxyCache = new WeakMap(); diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/resume-message.ts b/frontend/packages/common/chat-area/chat-area/src/utils/resume-message.ts index bf311773..2825b759 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/resume-message.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/resume-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SendMessageOptions } from '@coze-common/chat-core'; import websocketManager from '@coze-common/websocket-manager-adapter'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/safe-json-parse.ts b/frontend/packages/common/chat-area/chat-area/src/utils/safe-json-parse.ts index 0dfca73c..a00533bb 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/safe-json-parse.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/safe-json-parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const safeJSONParse = (value?: string): unknown => { if (!value) { return void 0; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/stop-responding.ts b/frontend/packages/common/chat-area/chat-area/src/utils/stop-responding.ts index 552a802d..0ca048e1 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/stop-responding.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/stop-responding.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type ChatCore from '@coze-common/chat-core'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/suggestions.ts b/frontend/packages/common/chat-area/chat-area/src/utils/suggestions.ts index 6f2d533b..f331ceed 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/suggestions.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/suggestions.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message } from '../store/types'; import { type IdAndSuggestion } from '../store/suggestions'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/upload.ts b/frontend/packages/common/chat-area/chat-area/src/utils/upload.ts index e7f16821..457514a8 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/upload.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type ClipboardEvent } from 'react'; diff --git a/frontend/packages/common/chat-area/chat-area/src/utils/verbose.ts b/frontend/packages/common/chat-area/chat-area/src/utils/verbose.ts index 72b06137..5aa20ede 100644 --- a/frontend/packages/common/chat-area/chat-area/src/utils/verbose.ts +++ b/frontend/packages/common/chat-area/chat-area/src/utils/verbose.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { type VerboseContent, diff --git a/frontend/packages/common/chat-area/chat-area/stories/demo.stories.tsx b/frontend/packages/common/chat-area/chat-area/stories/demo.stories.tsx index 781c5686..c6ba7cb6 100644 --- a/frontend/packages/common/chat-area/chat-area/stories/demo.stories.tsx +++ b/frontend/packages/common/chat-area/chat-area/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ChatArea } from '../src'; export default { diff --git a/frontend/packages/common/chat-area/chat-area/vitest.config.ts b/frontend/packages/common/chat-area/chat-area/vitest.config.ts index 8c54e590..658f8544 100644 --- a/frontend/packages/common/chat-area/chat-area/vitest.config.ts +++ b/frontend/packages/common/chat-area/chat-area/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/chat-core/__mocks__/@slardar/web/client.ts b/frontend/packages/common/chat-area/chat-core/__mocks__/@slardar/web/client.ts index 928baace..9c5c9cdc 100644 --- a/frontend/packages/common/chat-area/chat-core/__mocks__/@slardar/web/client.ts +++ b/frontend/packages/common/chat-area/chat-core/__mocks__/@slardar/web/client.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @typescript-eslint/no-empty-function export const createMinimalBrowserClient = () => {}; diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/channel/http-chunk/index.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/channel/http-chunk/index.test.ts index 62a5ec77..c6ac8db1 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/channel/http-chunk/index.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/channel/http-chunk/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; import { fetchStream, FetchStreamErrorCode } from '@coze-arch/fetch-stream'; diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/channel/http-chunk/utils.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/channel/http-chunk/utils.test.ts index 9fbcf155..eb66a862 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/channel/http-chunk/utils.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/channel/http-chunk/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CustomEventEmitter, RetryCounter, diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/events/slardar-events.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/events/slardar-events.test.ts index b29d496a..75f9395d 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/events/slardar-events.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/events/slardar-events.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReportLog } from '@/report-log'; import { type ChatCoreError } from '@/custom-error'; import { diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/index.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/index.test.ts index caf9246f..1cd0d5cd 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/index.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ChatSDK from '@/chat-sdk'; describe('ChatSDK', () => { diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/http-chunk-service.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/http-chunk-service.test.ts index ff9dafaa..884e7b4b 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/http-chunk-service.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/http-chunk-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; import { PreSendLocalMessageEventsEnum } from '@/message/types'; diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/message-manager-service.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/message-manager-service.test.ts index ab293f97..7b514cce 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/message-manager-service.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/message-manager-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MessageManagerService } from '@/chat-sdk/services/message-manager-service'; describe('MessageManagerService', () => { diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/plugins-service.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/plugins-service.test.ts index 72063e6d..f8feee96 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/plugins-service.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/plugins-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { UploadPluginConstructor } from '@/plugins/upload-plugin/types/plugin-upload'; import { PluginsService } from '@/chat-sdk/services/plugins-service'; diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/send-message-service.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/send-message-service.test.ts index 33bb228f..4fab8852 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/send-message-service.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/chat-sdk/services/send-message-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReportLog } from '@/report-log'; import { ContentType, diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/chunk-process.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/chunk-process.test.ts index 71d0cf10..36c64e2b 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/chunk-process.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/chunk-process.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Mock from 'mockjs'; import { ContentType, type ChunkRaw, type Message } from '../src/message/types'; diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/message/chunk-processor.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/message/chunk-processor.test.ts index e3015930..a2992e6b 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/message/chunk-processor.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/message/chunk-processor.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ChunkProcessor, StreamBufferHelper } from '@/message/chunk-processor'; describe('StreamBufferHelper', () => { diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/message/message-manager.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/message/message-manager.test.ts index b5a7b772..5fa36a22 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/message/message-manager.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/message/message-manager.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MessageManager } from '@/message/message-manager'; describe('MessageManager', () => { diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/api-error.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/api-error.test.ts index 3bd5bd5a..2c84c8cc 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/api-error.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/api-error.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ApiError, isApiError } from '@/request-manager/api-error'; describe('ApiError', () => { diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/index.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/index.test.ts index c73109b6..007c9513 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/index.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; import { RequestScene } from '@/request-manager/types'; diff --git a/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/request-config.test.ts b/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/request-config.test.ts index 08c0ca1a..cd994baf 100644 --- a/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/request-config.test.ts +++ b/frontend/packages/common/chat-area/chat-core/__tests__/request-manager/request-config.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RequestScene } from '@/request-manager/types'; import { getDefaultSceneConfig } from '@/request-manager/request-config'; import { ApiError } from '@/request-manager/api-error'; diff --git a/frontend/packages/common/chat-area/chat-core/package.json b/frontend/packages/common/chat-area/chat-core/package.json index f72e3619..5cd21241 100644 --- a/frontend/packages/common/chat-area/chat-core/package.json +++ b/frontend/packages/common/chat-area/chat-core/package.json @@ -37,13 +37,13 @@ "test:cov": "npm run test -- --coverage" }, "dependencies": { + "@coze-arch/bot-flags": "workspace:*", + "@coze-arch/fetch-stream": "workspace:*", + "@coze-arch/logger": "workspace:*", "@coze-common/chat-area-utils": "workspace:*", "@coze-studio/file-kit": "workspace:*", "@coze-studio/slardar-adapter": "workspace:*", "@coze-studio/uploader-adapter": "workspace:*", - "@coze-arch/bot-flags": "workspace:*", - "@coze-arch/fetch-stream": "workspace:*", - "@coze-arch/logger": "workspace:*", "@mattiasbuelens/web-streams-adapter": "~0.1.0", "axios": "^1.4.0", "eventemitter3": "^5.0.1", diff --git a/frontend/packages/common/chat-area/chat-core/src/channel/constant.ts b/frontend/packages/common/chat-area/chat-core/src/channel/constant.ts index 00587d95..09af7689 100644 --- a/frontend/packages/common/chat-area/chat-core/src/channel/constant.ts +++ b/frontend/packages/common/chat-area/chat-core/src/channel/constant.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const FONTIER_LOGID_PLACEHOLDER = 'FONTIER_LOGID_PLACEHOLDER'; export const ABORT_HTTP_CHUNK_MESSAGE = 'ABORT_FETCH'; diff --git a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/events/http-chunk-events.ts b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/events/http-chunk-events.ts index 355be28e..73eac86a 100644 --- a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/events/http-chunk-events.ts +++ b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/events/http-chunk-events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum HttpChunkEvents { // Received message MESSAGE_RECEIVED = 'http_chunk_message_received', diff --git a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/events/slardar-events.ts b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/events/slardar-events.ts index 79374e45..195d0301 100644 --- a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/events/slardar-events.ts +++ b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/events/slardar-events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * HTTP chunk slardar custom event */ diff --git a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/index.ts b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/index.ts index 1f9c1733..8cce60c0 100644 --- a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FetchStreamErrorCode, fetchStream } from '@coze-arch/fetch-stream'; import { ABORT_HTTP_CHUNK_MESSAGE } from '../constant'; diff --git a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/types/index.ts b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/types/index.ts index 9ad626b5..c3d3b681 100644 --- a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/types/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FetchSteamConfig, FetchStreamErrorCode, diff --git a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/utils.ts b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/utils.ts index 9436aba3..36a80d55 100644 --- a/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/utils.ts +++ b/frontend/packages/common/chat-area/chat-core/src/channel/http-chunk/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EventEmitter from 'eventemitter3'; import { type FetchSteamConfig } from '@coze-arch/fetch-stream'; diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/events/sdk-events.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/events/sdk-events.ts index 497f072a..28637823 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/events/sdk-events.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/events/sdk-events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum SdkEventsEnum { MESSAGE_RECEIVED_AND_UPDATE = 'message_received_and_update', /** diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/events/slardar-events.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/events/slardar-events.ts index c4838eee..c4b7092a 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/events/slardar-events.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/events/slardar-events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReportLog, type Tracer } from '../../report-log'; import type { ChatCoreError } from '../../custom-error'; diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/index.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/index.ts index 3da7005b..ac8353bb 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @module @coze-common/chat-core * Expose all external interfaces diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/create-message-service.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/create-message-service.ts index 6fa03525..f4f76de1 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/create-message-service.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/create-message-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReportLog } from '@/report-log'; import type { EventPayloadMaps } from '@/plugins/upload-plugin/types/plugin-upload'; import type { diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/http-chunk-service.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/http-chunk-service.ts index fadaae15..1ba1bf87 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/http-chunk-service.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/http-chunk-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type EventEmitter from 'eventemitter3'; import { type ReportLog } from '@/report-log'; diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/message-manager-service.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/message-manager-service.ts index b4eeb87a..19666334 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/message-manager-service.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/message-manager-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { filterEmptyField } from '@/shared/utils/data-handler'; import { type ReportLog } from '@/report-log'; import type { diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/send-message-service.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/send-message-service.ts index 8d874189..18d44699 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/send-message-service.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/services/send-message-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BETWEEN_CHUNK_TIMEOUT, SEND_MESSAGE_TIMEOUT } from '@/shared/const'; import { RequestScene } from '@/request-manager/types'; import { type ReportLog } from '@/report-log'; diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/types/interface.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/types/interface.ts index 5b14387b..7e254ab5 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/types/interface.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/types/interface.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SdkEventsEnum } from '../events/sdk-events'; import { type DeployVersion, type ENV } from '../../shared/const'; import { type RequestManagerOptions } from '../../request-manager/types'; diff --git a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/types/services/message-manager-service.ts b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/types/services/message-manager-service.ts index 690259bd..6addbf8e 100644 --- a/frontend/packages/common/chat-area/chat-core/src/chat-sdk/types/services/message-manager-service.ts +++ b/frontend/packages/common/chat-area/chat-core/src/chat-sdk/types/services/message-manager-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ChatASRProps, type BreakMessageProps, diff --git a/frontend/packages/common/chat-area/chat-core/src/credential/index.ts b/frontend/packages/common/chat-area/chat-core/src/credential/index.ts index 28315a32..205bbdb4 100644 --- a/frontend/packages/common/chat-area/chat-core/src/credential/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/credential/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import TokenManager from './token-manager'; export { TokenManager }; diff --git a/frontend/packages/common/chat-area/chat-core/src/credential/token-manager.ts b/frontend/packages/common/chat-area/chat-core/src/credential/token-manager.ts index 5ec0aa82..c0dd099b 100644 --- a/frontend/packages/common/chat-area/chat-core/src/credential/token-manager.ts +++ b/frontend/packages/common/chat-area/chat-core/src/credential/token-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Responsible for token verification, automatically refresh the token * Exposed to the service party, the service party decides whether to single-case or multiple-case authentication diff --git a/frontend/packages/common/chat-area/chat-core/src/custom-error/index.ts b/frontend/packages/common/chat-area/chat-core/src/custom-error/index.ts index b9aa3b0e..1298e711 100644 --- a/frontend/packages/common/chat-area/chat-core/src/custom-error/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/custom-error/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface ExtErrorInfo { code?: number; local_message_id?: string; diff --git a/frontend/packages/common/chat-area/chat-core/src/global.d.ts b/frontend/packages/common/chat-area/chat-core/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/chat-core/src/global.d.ts +++ b/frontend/packages/common/chat-area/chat-core/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/chat-core/src/index.ts b/frontend/packages/common/chat-area/chat-core/src/index.ts index 043db7f3..6e2e7209 100644 --- a/frontend/packages/common/chat-area/chat-core/src/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ChatCore from './chat-sdk'; export { TokenManager } from './credential'; export { diff --git a/frontend/packages/common/chat-area/chat-core/src/message/chunk-processor.ts b/frontend/packages/common/chat-area/chat-core/src/message/chunk-processor.ts index b8b43d34..fb0f601d 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/chunk-processor.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/chunk-processor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Process received Chunk messages * 1. Pretreatment: Deserialization diff --git a/frontend/packages/common/chat-area/chat-core/src/message/events/slardar-events.ts b/frontend/packages/common/chat-area/chat-core/src/message/events/slardar-events.ts index 7086990b..bc18f0ab 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/events/slardar-events.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/events/slardar-events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Undertake all sdk slardar custom events */ diff --git a/frontend/packages/common/chat-area/chat-core/src/message/index.ts b/frontend/packages/common/chat-area/chat-core/src/message/index.ts index 280966bd..cf3f1eda 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * 1. Responsible for standardizing imported parameters exported parameters of various types of message creation to reduce message creation costs * 2. For the received message, spit out the specified message format for different message types diff --git a/frontend/packages/common/chat-area/chat-core/src/message/message-manager.ts b/frontend/packages/common/chat-area/chat-core/src/message/message-manager.ts index fac300bc..4deadd54 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/message-manager.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/message-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * message management related * 1. Get chat history diff --git a/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message-events-manager.ts b/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message-events-manager.ts index bf9e3ba6..6aaaa7ef 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message-events-manager.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message-events-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import EventEmitter from 'eventemitter3'; import { diff --git a/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message-factory.ts b/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message-factory.ts index 26bc47c3..967255cf 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message-factory.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message-factory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * 1. Responsible for standardizing imported parameters exported parameters of various types of message creation to reduce message creation costs * 2. For the received message, spit out the specified message format for different message types diff --git a/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message.ts b/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message.ts index 9f0dc005..31a48ac3 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/presend-local-message/presend-local-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Expose the pre-sent message instance, the pre-sent message is used to be uploaded to the screen after the message is created, and the message format is consistent with Message < T > */ diff --git a/frontend/packages/common/chat-area/chat-core/src/message/types/index.ts b/frontend/packages/common/chat-area/chat-core/src/message/types/index.ts index fbedcc15..d25600d7 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/types/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RequiredAction } from '@coze-arch/bot-api/developer_api'; import { type PartiallyRequired } from '../../shared/utils/data-handler'; diff --git a/frontend/packages/common/chat-area/chat-core/src/message/types/message-manager.ts b/frontend/packages/common/chat-area/chat-core/src/message/types/message-manager.ts index 29360180..bffe6eac 100644 --- a/frontend/packages/common/chat-area/chat-core/src/message/types/message-manager.ts +++ b/frontend/packages/common/chat-area/chat-core/src/message/types/message-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Message, type ContentType, diff --git a/frontend/packages/common/chat-area/chat-core/src/plugins/upload-plugin/index.ts b/frontend/packages/common/chat-area/chat-core/src/plugins/upload-plugin/index.ts index c50c08ae..ac73526c 100644 --- a/frontend/packages/common/chat-area/chat-core/src/plugins/upload-plugin/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/plugins/upload-plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EventEmitter } from 'eventemitter3'; import { getUploader, diff --git a/frontend/packages/common/chat-area/chat-core/src/plugins/upload-plugin/types/plugin-upload.ts b/frontend/packages/common/chat-area/chat-core/src/plugins/upload-plugin/types/plugin-upload.ts index 8fc96a4b..9714922f 100644 --- a/frontend/packages/common/chat-area/chat-core/src/plugins/upload-plugin/types/plugin-upload.ts +++ b/frontend/packages/common/chat-area/chat-core/src/plugins/upload-plugin/types/plugin-upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type UploadEventName = 'complete' | 'error' | 'progress'; export interface UploadResult { // Image & file URI resource ID, used in exchange for url · diff --git a/frontend/packages/common/chat-area/chat-core/src/report-log/index.ts b/frontend/packages/common/chat-area/chat-core/src/report-log/index.ts index b8b40262..617dfafc 100644 --- a/frontend/packages/common/chat-area/chat-core/src/report-log/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/report-log/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger, reporter, diff --git a/frontend/packages/common/chat-area/chat-core/src/report-log/log-options-helper.ts b/frontend/packages/common/chat-area/chat-core/src/report-log/log-options-helper.ts index cf1ae4fe..9b62223a 100644 --- a/frontend/packages/common/chat-area/chat-core/src/report-log/log-options-helper.ts +++ b/frontend/packages/common/chat-area/chat-core/src/report-log/log-options-helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEmpty } from 'lodash-es'; import { type ReportLogProps } from './index'; diff --git a/frontend/packages/common/chat-area/chat-core/src/report-log/slardar/index.ts b/frontend/packages/common/chat-area/chat-core/src/report-log/slardar/index.ts index 78099b9b..4bda3f55 100644 --- a/frontend/packages/common/chat-area/chat-core/src/report-log/slardar/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/report-log/slardar/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { createMinimalBrowserClient, diff --git a/frontend/packages/common/chat-area/chat-core/src/request-manager/api-error.ts b/frontend/packages/common/chat-area/chat-core/src/request-manager/api-error.ts index bad35901..dbe0b70e 100644 --- a/frontend/packages/common/chat-area/chat-core/src/request-manager/api-error.ts +++ b/frontend/packages/common/chat-area/chat-core/src/request-manager/api-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AxiosError, type AxiosResponse } from 'axios'; export class ApiError extends AxiosError { diff --git a/frontend/packages/common/chat-area/chat-core/src/request-manager/index.ts b/frontend/packages/common/chat-area/chat-core/src/request-manager/index.ts index 636a9cc7..9a5816f1 100644 --- a/frontend/packages/common/chat-area/chat-core/src/request-manager/index.ts +++ b/frontend/packages/common/chat-area/chat-core/src/request-manager/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { merge } from 'lodash-es'; import axios, { type AxiosInstance, diff --git a/frontend/packages/common/chat-area/chat-core/src/request-manager/request-config.ts b/frontend/packages/common/chat-area/chat-core/src/request-manager/request-config.ts index 1b4d00f6..96d34d7f 100644 --- a/frontend/packages/common/chat-area/chat-core/src/request-manager/request-config.ts +++ b/frontend/packages/common/chat-area/chat-core/src/request-manager/request-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AxiosResponse, type InternalAxiosRequestConfig } from 'axios'; import { type DefaultRequestManagerOptions, RequestScene } from './types'; diff --git a/frontend/packages/common/chat-area/chat-core/src/request-manager/types.ts b/frontend/packages/common/chat-area/chat-core/src/request-manager/types.ts index 390b3e2f..f2805f00 100644 --- a/frontend/packages/common/chat-area/chat-core/src/request-manager/types.ts +++ b/frontend/packages/common/chat-area/chat-core/src/request-manager/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InternalAxiosRequestConfig, type AxiosResponse, diff --git a/frontend/packages/common/chat-area/chat-core/src/shared/const.ts b/frontend/packages/common/chat-area/chat-core/src/shared/const.ts index e5425b03..045c6700 100644 --- a/frontend/packages/common/chat-area/chat-core/src/shared/const.ts +++ b/frontend/packages/common/chat-area/chat-core/src/shared/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * SDK version number */ diff --git a/frontend/packages/common/chat-area/chat-core/src/shared/utils/data-handler.ts b/frontend/packages/common/chat-area/chat-core/src/shared/utils/data-handler.ts index 7bda34f5..1c4097d3 100644 --- a/frontend/packages/common/chat-area/chat-core/src/shared/utils/data-handler.ts +++ b/frontend/packages/common/chat-area/chat-core/src/shared/utils/data-handler.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { pickBy, type merge, mergeWith, isArray } from 'lodash-es'; export const filterEmptyField = >( diff --git a/frontend/packages/common/chat-area/chat-core/src/shared/utils/env.ts b/frontend/packages/common/chat-area/chat-core/src/shared/utils/env.ts index 32dd4d73..4da60067 100644 --- a/frontend/packages/common/chat-area/chat-core/src/shared/utils/env.ts +++ b/frontend/packages/common/chat-area/chat-core/src/shared/utils/env.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ENV, type DeployVersion } from '../const'; /** diff --git a/frontend/packages/common/chat-area/chat-core/src/shared/utils/safe-json-parse.ts b/frontend/packages/common/chat-area/chat-core/src/shared/utils/safe-json-parse.ts index ca19bd4a..bf1478c6 100644 --- a/frontend/packages/common/chat-area/chat-core/src/shared/utils/safe-json-parse.ts +++ b/frontend/packages/common/chat-area/chat-core/src/shared/utils/safe-json-parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const safeJSONParse = ( value: string, fallback: T | null, diff --git a/frontend/packages/common/chat-area/chat-core/src/typing/type.d.ts b/frontend/packages/common/chat-area/chat-core/src/typing/type.d.ts index ac0c88ae..91fb45cb 100644 --- a/frontend/packages/common/chat-area/chat-core/src/typing/type.d.ts +++ b/frontend/packages/common/chat-area/chat-core/src/typing/type.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '@coze-arch/vitest-config'; diff --git a/frontend/packages/common/chat-area/chat-core/vitest.config.ts b/frontend/packages/common/chat-area/chat-core/vitest.config.ts index 3ec30b09..c2f28cfe 100644 --- a/frontend/packages/common/chat-area/chat-core/vitest.config.ts +++ b/frontend/packages/common/chat-area/chat-core/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/constants/file.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/constants/file.ts index 90dad3f1..424eaf5f 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/constants/file.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/constants/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FILE_TYPE_CONFIG } from '@coze-common/chat-core/shared/const'; const BYTES = 1024; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/context.tsx b/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/context.tsx index 9f878108..4b168e6f 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/context.tsx +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, createContext } from 'react'; import mitt from 'mitt'; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/hooks.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/hooks.ts index 175dd430..65ee3a80 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/hooks.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type RefObject } from 'react'; import { type Emitter } from 'mitt'; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/index.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/index.ts index e428a380..00ac4e77 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { UIKitEventContext } from './context'; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/type.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/type.ts index 2bb15e62..6e859856 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/type.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/context/event-center/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject } from 'react'; import { type Emitter } from 'mitt'; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/index.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/index.ts index cb7b116a..fc7128cb 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type ICardEmptyConfig, type ICopywritingConfig, diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/audio-record/index.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/audio-record/index.ts index b9d1867a..a534c48f 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/audio-record/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/audio-record/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface AudioRecordProps { isPointerMoveOut?: boolean; isRecording?: boolean; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/index.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/index.ts index 859a85d1..1916220d 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ClipboardEventHandler, type PropsWithChildren, diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/input-native-callbacks.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/input-native-callbacks.ts index 3041c3d6..9ed869a7 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/input-native-callbacks.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/chat-input/input-native-callbacks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type KeyboardEvent, type KeyboardEventHandler } from 'react'; export interface InputState { diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/common.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/common.ts index 9f2b9372..0f59bcf1 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/common.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ForwardRefExoticComponent, type RefAttributes } from 'react'; import type { ContentType, Message } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/content.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/content.ts index fdd24079..bb099ab1 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/content.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FileMessageContent, type ImageMessageContent, diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/copywriting.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/copywriting.ts index 52467736..29a1ffab 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/copywriting.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/copywriting.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type IChatUploadCopywritingConfig } from './common'; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/event.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/event.ts index 38974c08..323e0181 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/event.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEvent } from 'react'; import { type SendMessageOptions } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/file.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/file.ts index 8a700375..cec84109 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/types/file.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/types/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FileMessageContent } from '@coze-common/chat-core'; export type IFileInfo = FileMessageContent['file_list'][0] & { diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/src/typings.d.ts b/frontend/packages/common/chat-area/chat-uikit-shared/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/src/typings.d.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/chat-uikit-shared/vitest.config.ts b/frontend/packages/common/chat-area/chat-uikit-shared/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/chat-uikit-shared/vitest.config.ts +++ b/frontend/packages/common/chat-area/chat-uikit-shared/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/chat-uikit/.storybook/main.ts b/frontend/packages/common/chat-area/chat-uikit/.storybook/main.ts index 46c1992c..d59c12e3 100644 --- a/frontend/packages/common/chat-area/chat-uikit/.storybook/main.ts +++ b/frontend/packages/common/chat-area/chat-uikit/.storybook/main.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** @type { import('storybook-react-rspack').StorybookConfig } */ const config = { diff --git a/frontend/packages/common/chat-area/chat-uikit/.storybook/preview.ts b/frontend/packages/common/chat-area/chat-uikit/.storybook/preview.ts index 53c0d2d9..1fcd17c5 100644 --- a/frontend/packages/common/chat-area/chat-uikit/.storybook/preview.ts +++ b/frontend/packages/common/chat-area/chat-uikit/.storybook/preview.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** @type { import('@storybook/react').Preview } */ const preview = { parameters: { diff --git a/frontend/packages/common/chat-area/chat-uikit/__tests__/hooks/use-observe-card-container.test.tsx b/frontend/packages/common/chat-area/chat-uikit/__tests__/hooks/use-observe-card-container.test.tsx index 0ff2e44a..4a686788 100644 --- a/frontend/packages/common/chat-area/chat-uikit/__tests__/hooks/use-observe-card-container.test.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/__tests__/hooks/use-observe-card-container.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mitt from 'mitt'; import { renderHook, diff --git a/frontend/packages/common/chat-area/chat-uikit/__tests__/utils/file-name.test.ts b/frontend/packages/common/chat-area/chat-uikit/__tests__/utils/file-name.test.ts index 8bdbbd66..4416847b 100644 --- a/frontend/packages/common/chat-area/chat-uikit/__tests__/utils/file-name.test.ts +++ b/frontend/packages/common/chat-area/chat-uikit/__tests__/utils/file-name.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { it, expect } from 'vitest'; import { getFileExtensionAndName } from '../../src/utils/file-name'; diff --git a/frontend/packages/common/chat-area/chat-uikit/__tests__/utils/get-image-display-attribute.test.ts b/frontend/packages/common/chat-area/chat-uikit/__tests__/utils/get-image-display-attribute.test.ts index 4aeee531..9c5f4c39 100644 --- a/frontend/packages/common/chat-area/chat-uikit/__tests__/utils/get-image-display-attribute.test.ts +++ b/frontend/packages/common/chat-area/chat-uikit/__tests__/utils/get-image-display-attribute.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getImageDisplayAttribute } from '../../src/utils/image/get-image-display-attribute'; // Test Suite diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-static-toast/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-static-toast/index.tsx index 499739c0..dfa428e3 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-static-toast/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-static-toast/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-static-toast/variant.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-static-toast/variant.ts index 05ec6aaf..43f84ec2 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-static-toast/variant.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-static-toast/variant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; const audioStaticToastVariants = cva(['px-24px', 'py-10px', 'rounded-[99px]'], { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/index.tsx index 670715fc..78257c38 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { Space } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/type.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/type.ts index 1542b6a2..3396a559 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/type.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface AudioWaveProps { size: 'small' | 'medium' | 'large'; type: 'default' | 'primary' | 'warning'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/utils.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/utils.ts index 8aebdeab..60bae748 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/utils.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/audio-wave/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AudioWaveProps } from './type'; export const getBarHeights = ( diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/index.tsx index 498000db..ac28057e 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/audio-record/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useEffect, useRef, useState } from 'react'; import { useThrottleFn } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/clear-context-button/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/clear-context-button/index.tsx index 2e35fbdf..46cdc00a 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/clear-context-button/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/clear-context-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/clear-history-button/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/clear-history-button/index.tsx index a4aff3f5..c3e09174 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/clear-history-button/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/clear-history-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/more-button/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/more-button/index.tsx index d34d42cf..7891faa4 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/more-button/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/more-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/send-button/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/send-button/index.tsx index f823c12c..0c55a61a 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/send-button/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/components/send-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/index.tsx index 29318645..dd7fdd29 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useImperativeHandle, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/use-text-area.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/use-text-area.ts index 7cbc940d..8c521fa5 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/use-text-area.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-input/use-text-area.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type KeyboardEvent, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-upload/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-upload/index.tsx index 8026a302..283c41b1 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-upload/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/chat-upload/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/context-divider/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/context-divider/index.tsx index b6e20270..9ddafe5d 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/context-divider/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/context-divider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { Divider, Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/index.ts index f8d4937b..52a09089 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './chat-input'; export * from './chat-upload'; export * from './on-boarding'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/on-boarding/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/on-boarding/index.tsx index a6302694..a96803a9 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/on-boarding/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/on-boarding/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, useState, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/on-boarding/variants.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/on-boarding/variants.ts index 6dc0a4f0..98c21d97 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/on-boarding/variants.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/on-boarding/variants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; export const botInfoNameVariants = cva( diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/stop-respond-button/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/stop-respond-button/index.tsx index cd09d489..e49800fc 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/stop-respond-button/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/stop-respond-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/index.tsx index caed46fd..31224583 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/type.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/type.ts index 3e78b666..7f6b7493 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/type.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface IThinkingPlaceholderProps { className?: string; theme?: 'primary' | 'whiteness' | 'none' | 'grey'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/variant.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/variant.ts index 1128bca1..bc3778ee 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/variant.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/thinking-placeholder/variant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; const thinkingPlaceholderVariants = cva( diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/const.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/const.ts index a34f4527..39007821 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/const.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const MODE_CONFIG = { pc: { size: { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/hooks/use-get-background-info.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/hooks/use-get-background-info.ts index 959323c9..e2bf62d0 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/hooks/use-get-background-info.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/hooks/use-get-background-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { useSize } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/index.tsx index 34cd69ca..0ab9e04a 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { isEmpty } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/types.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/types.ts index c0230958..2bedddaf 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/types.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface GradientPosition { left?: number; right?: number; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/utils.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/utils.ts index 3c3c3971..02550fe0 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/utils.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/chat/with-rule-img-background/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MODE_CONFIG } from './const'; // Enter the transparency factor and color to return a new color diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/button/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/button/index.tsx index 6d37322d..9ad59645 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/button/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/content-box/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/content-box/index.tsx index ef3fe211..33d3e750 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/content-box/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/content-box/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/coze-md-box/lazy.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/coze-md-box/lazy.tsx index bd7f3519..117db7cc 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/coze-md-box/lazy.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/coze-md-box/lazy.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentPropsWithRef, type FC } from 'react'; import { MdBoxLazy } from '@coze-arch/bot-md-box-adapter/lazy'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/full-width-aligner/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/full-width-aligner/index.tsx index bc09ded6..54ecc6af 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/full-width-aligner/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/full-width-aligner/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/common/index.ts index e153a918..3da0e5da 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './content-box'; export * from './tooltips'; export * from './message-box'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/default-avatar-wrap.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/default-avatar-wrap.tsx index 850133f8..453b7d49 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/default-avatar-wrap.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/default-avatar-wrap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type FC } from 'react'; export const DefaultAvatarWrap: FC = ({ children }) => ( <>{children} diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/fallback.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/fallback.tsx index 12fdfe80..e9c0a2a6 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/fallback.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/fallback.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useEffect, type ComponentType } from 'react'; import { type FallbackProps } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/index.tsx index b650c129..f4212258 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Layout } from '@coze-common/chat-uikit-shared'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/message-box-wrap.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/message-box-wrap.tsx index 2258a19b..73a15a95 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/message-box-wrap.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/message-box-wrap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type FC, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/type.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/type.ts index 170e74f3..96e92ad6 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/type.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/utils.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/utils.ts index 8f87ca8e..253d4bbe 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/utils.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { exhaustiveCheckSimple } from '@coze-common/chat-area-utils'; import { type MessageBoxInnerVariantProps } from '../../../variants/message-box-inner-variants'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/variants.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/variants.ts index a4fc9d3d..dd32be30 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/variants.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-box/variants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; export const messageBoxContainerVariants = cva(['flex', 'flex-row', 'my-0'], { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-content-time/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-content-time/index.tsx index 9c020e7b..565c4936 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-content-time/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/message-content-time/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { formatMessageBoxContentTime } from '../../../utils/date-time'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/to-newest-tip/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/to-newest-tip/index.tsx index fa5d3539..907a8f93 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/to-newest-tip/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/to-newest-tip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { IconCozLongArrowUp } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/to-newest-tip/type.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/common/to-newest-tip/type.ts index 4669d33d..71768794 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/to-newest-tip/type.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/to-newest-tip/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; export interface ToNewestTipProps { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/tooltips/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/tooltips/index.tsx index ea5061df..6db4a134 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/tooltips/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/tooltips/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Tooltip, type TooltipProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/common/user-label/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/common/user-label/index.tsx index 575ddc88..4e53efd4 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/common/user-label/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/common/user-label/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/constants.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/constants.ts index ef790c7a..1aa4d831 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/constants.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FileTypeEnum } from '@coze-common/chat-core/shared/const'; import EXCELSuccess from '../../../../../assets/file/xlsx-success.svg'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/index.tsx index 2914e3ce..fb45efa2 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/type.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/type.ts index a8f198a7..297d7d92 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/type.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IFileAttributeKeys, type IFileCardTooltipsCopyWritingConfig, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/variants.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/variants.ts index dd9dcf16..89f3905e 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/variants.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/components/FileCard/variants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; const fileCardVariants = cva( diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/index.tsx index 67d573e2..ded1ec00 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/file-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/image-content/image-box.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/image-content/image-box.tsx index e9237a20..845909a1 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/image-content/image-box.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/image-content/image-box.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/image-content/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/image-content/index.tsx index ec188485..1eb4bf1e 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/image-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/image-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ErrorBoundary } from 'react-error-boundary'; import { type FC } from 'react'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/index.ts index 9a4e07f8..5d0c0954 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './file-content'; export * from './image-content'; export * from './plain-text-content'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/file-item-list.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/file-item-list.tsx index c6877190..da27a199 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/file-item-list.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/file-item-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type FileMixItem } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/image-item-list.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/image-item-list.tsx index 05dcbf4b..f3bccc1c 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/image-item-list.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/image-item-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type ImageMixItem } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/index.tsx index e5d0f698..bdf70a97 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/text-item-list.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/text-item-list.tsx index 7710e987..72b66681 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/text-item-list.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/multimodal-content/text-item-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC } from 'react'; import { type TextMixItem } from '@coze-common/chat-core'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/plain-text-content/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/plain-text-content/index.tsx index ce6ba08c..a192917c 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/plain-text-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/plain-text-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type MessageMentionListFields } from '@coze-common/chat-core/src/message/types'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/simple-function-content/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/simple-function-content/index.tsx index ae50fb51..6f87fc1b 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/simple-function-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/simple-function-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { typeSafeJsonParse } from '@coze-common/chat-area-utils'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/simple-function-content/type.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/simple-function-content/type.ts index f8a352bb..138dd412 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/simple-function-content/type.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/simple-function-content/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ISimpleFunctionContentCopywriting, type IBaseContentProps, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/auto-size.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/auto-size.tsx index ee9289a7..92150070 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/auto-size.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/auto-size.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, type FC } from 'react'; import { isEmpty } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/index.tsx index d06f5ed2..bb6560e6 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC, useEffect } from 'react'; import { type IImageMessageContentProps } from '../image-content'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/single-image-content-ui.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/single-image-content-ui.tsx index e850fb1e..89317158 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/single-image-content-ui.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/single-image-content/single-image-content-ui.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { Image } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/components/suggestion-item/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/components/suggestion-item/index.tsx index 100912d7..a3cab7dc 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/components/suggestion-item/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/components/suggestion-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/components/suggestion-item/variants.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/components/suggestion-item/variants.ts index db43dda4..0055d043 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/components/suggestion-item/variants.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/components/suggestion-item/variants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; const suggestionItemVariants = cva( [ diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/index.tsx index e054d71e..d6f77c1a 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/suggestion-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SuggestionItem } from './components/suggestion-item'; export { SuggestionItem }; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/text-content/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/text-content/index.tsx index 3d0dfc4b..d974b00f 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/contents/text-content/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/contents/text-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEvent, type FC, useRef } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/index.ts index aa675f4c..e940db1f 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './chat'; export * from './common'; export * from './contents'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/coze-image.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/coze-image.tsx index 58883c54..750c4294 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/coze-image.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/coze-image.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable react-hooks/rules-of-hooks */ import { type CSSProperties, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/link/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/link/index.tsx index bcb2c2f9..74214a8d 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/link/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/link/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useEffect, useRef } from 'react'; import { isObject, isString, omit } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/link/utils.ts b/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/link/utils.ts index e978172a..c80ae0a3 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/link/utils.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/components/md-box-slots/link/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const safeParseUrl = (url: string) => { try { return new URL(url); diff --git a/frontend/packages/common/chat-area/chat-uikit/src/constants/content-box.ts b/frontend/packages/common/chat-area/chat-uikit/src/constants/content-box.ts index 37b09675..f8350df3 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/constants/content-box.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/constants/content-box.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageType } from '@coze-common/chat-core'; export const MESSAGE_TYPE_VALID_IN_TEXT_LIST: Omit = [ diff --git a/frontend/packages/common/chat-area/chat-uikit/src/constants/grab.ts b/frontend/packages/common/chat-area/chat-uikit/src/constants/grab.ts index e77921d5..d1f229a7 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/constants/grab.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/constants/grab.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const NO_MESSAGE_ID_MARK = 'NO_MESSAGE_ID'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/constants/message-box.ts b/frontend/packages/common/chat-area/chat-uikit/src/constants/message-box.ts index 159b00ee..8648f9c9 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/constants/message-box.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/constants/message-box.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const MESSAGE_BOX_CONTAINER_MARGIN_X_PC = 24; export const MESSAGE_BOX_CONTAINER_MARGIN_X_MOBILE = 10; export const MESSAGE_BOX_AVATAR_SIZE = 32; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/context/custom-components/custom-components-context.tsx b/frontend/packages/common/chat-area/chat-uikit/src/context/custom-components/custom-components-context.tsx index 16d405e1..47eaf9b7 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/context/custom-components/custom-components-context.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/context/custom-components/custom-components-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type ComponentType, type ReactNode } from 'react'; import { type SendButtonProps } from '@coze-common/chat-uikit-shared'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/context/custom-components/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/context/custom-components/index.tsx index 8cc6d7ce..cc941e30 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/context/custom-components/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/context/custom-components/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/context/local-cache/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/context/local-cache/index.ts index 6820c630..346e8992 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/context/local-cache/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/context/local-cache/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LocalCacheContext, useLocalCache } from './local-cache-context'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/context/local-cache/local-cache-context.tsx b/frontend/packages/common/chat-area/chat-uikit/src/context/local-cache/local-cache-context.tsx index 2577d99a..f4086a99 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/context/local-cache/local-cache-context.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/context/local-cache/local-cache-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/context/message-box/index.tsx b/frontend/packages/common/chat-area/chat-uikit/src/context/message-box/index.tsx index 9f66f588..b29db165 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/context/message-box/index.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/src/context/message-box/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/context/onboarding/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/context/onboarding/index.ts index ee284324..c9a70e9e 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/context/onboarding/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/context/onboarding/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type IEventCallbacks } from '@coze-common/chat-uikit-shared'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/global.d.ts b/frontend/packages/common/chat-area/chat-uikit/src/global.d.ts index 84362ed9..6afbae92 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/global.d.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.svg'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-audio-record-interaction.ts b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-audio-record-interaction.ts index bb26d8db..f7c978b1 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-audio-record-interaction.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-audio-record-interaction.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, useEffect, useRef } from 'react'; import { useLatest, useKeyPress } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-event-callback.ts b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-event-callback.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-event-callback.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-event-callback.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-observe-card-container.ts b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-observe-card-container.ts index 4d8c8afc..d31141bd 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-observe-card-container.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-observe-card-container.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type RefObject } from 'react'; import { useDebounceFn } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-state-with-local-cache.ts b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-state-with-local-cache.ts index 4042bac0..5b4efc43 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-state-with-local-cache.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-state-with-local-cache.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import type { LocalCacheKey, StoreStruct } from '../utils/local-cache/type'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/index.ts index 5424284a..c1e92935 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './components'; export * from './utils'; export { FullWidthAligner } from './components/common/full-width-aligner'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/convert-bytes.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/convert-bytes.ts index 11d25650..e61c4ccb 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/convert-bytes.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/convert-bytes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const convertBytes = (bytes: number, decimals = 2) => { if (!bytes) { return '0 Byte'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/date-time.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/date-time.ts index 53811872..ad43e8c8 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/date-time.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/date-time.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjs from 'dayjs'; export const formatMessageBoxContentTime = (contentTime: number): string => { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/default-enable.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/default-enable.ts index 44e3ebef..be02ab40 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/default-enable.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/default-enable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const defaultEnable = (value?: boolean) => { if (typeof value === 'undefined') { return true; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/file-name.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/file-name.ts index 42a5853c..82f97ed1 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/file-name.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/file-name.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getFileExtensionAndName = (fileName: string) => { const dotIndex = fileName.lastIndexOf('.'); if (dotIndex < 0) { diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/image/get-image-display-attribute.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/image/get-image-display-attribute.ts index 1eb50a4f..9be346c0 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/image/get-image-display-attribute.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/image/get-image-display-attribute.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getImageDisplayAttribute = ( width: number, height: number, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/index.ts index 487dec18..f543e1ca 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './convert-bytes'; export * from './default-enable'; export * from './is-file'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-apple-webkit.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-apple-webkit.ts index 9e19b738..06760319 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-apple-webkit.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-apple-webkit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Is it under the Webkit kernel browser of the Apple platform? * Note: This judgment condition is not equal to under Apple devices, because some Apple devices (such as Mac) can run non-native Webkit engine browsers, such as Chromium (Blink) diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-file.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-file.ts index d7fcf6c2..b00b40f3 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-file.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IFileContent } from '@coze-common/chat-uikit-shared'; export const isFile = ( diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-function-call.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-function-call.ts index ec586b9e..60ab3cb3 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-function-call.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-function-call.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IFunctionCallContent, type IMessage, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-image.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-image.ts index f378e0f4..81b2b8fc 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-image.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IImageContent } from '@coze-common/chat-uikit-shared'; // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-suggestion.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-suggestion.ts index 31c60db8..72e46623 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-suggestion.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-suggestion.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ISuggestionContent } from '@coze-common/chat-uikit-shared'; // eslint-disable-next-line @typescript-eslint/no-explicit-any export const isSuggestion = (value: any): value is ISuggestionContent => diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-text.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-text.ts index 5570dc5a..01e754e8 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/is-text.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/is-text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @typescript-eslint/no-explicit-any export const isText = (value: any): value is string => value && typeof value === 'string'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/local-cache/index.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/local-cache/index.ts index 491f9fca..504e42de 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/local-cache/index.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/local-cache/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { type Reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/local-cache/type.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/local-cache/type.ts index bd968c99..55cac84e 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/local-cache/type.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/local-cache/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface StoreStruct { coze_home_mention_tip_showed: boolean; coze_home_favorite_list_display: boolean; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/make-fake-image-message.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/make-fake-image-message.ts index 592fbdee..ad9ef0cc 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/make-fake-image-message.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/make-fake-image-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContentType, type Message } from '@coze-common/chat-core'; export const makeFakeImageMessage = ({ diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/multimodal.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/multimodal.ts index 701a7ee7..4f66ec4b 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/multimodal.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/multimodal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { ContentType, diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/platform.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/platform.ts index 91623a4a..3197dd9d 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/platform.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/platform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Browser from 'bowser'; let getIsMobileCache: boolean | undefined; diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/report-event.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/report-event.ts index 61c048e1..e117d432 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/report-event.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/report-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const enum UiKitReportEvents { FailReadLocalStorage = 'uikit_FailReadLocalStorage', FailWriteLocalStorage = 'uikit_FailWriteLocalStorage', diff --git a/frontend/packages/common/chat-area/chat-uikit/src/utils/safe-json-parse.ts b/frontend/packages/common/chat-area/chat-uikit/src/utils/safe-json-parse.ts index d496d510..e14156f5 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/utils/safe-json-parse.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/utils/safe-json-parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @Deprecated very very bad, change to typeSafeJsonParse ASAP. */ diff --git a/frontend/packages/common/chat-area/chat-uikit/src/variants/message-box-inner-variants.ts b/frontend/packages/common/chat-area/chat-uikit/src/variants/message-box-inner-variants.ts index 7c5d6f7a..86abd307 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/variants/message-box-inner-variants.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/variants/message-box-inner-variants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; const messageBoxInnerVariants = cva( diff --git a/frontend/packages/common/chat-area/chat-uikit/stories/chat/ChatInput.stories.tsx b/frontend/packages/common/chat-area/chat-uikit/stories/chat/ChatInput.stories.tsx index b35eda37..42b5d2bf 100644 --- a/frontend/packages/common/chat-area/chat-uikit/stories/chat/ChatInput.stories.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/stories/chat/ChatInput.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ChatInput from '../../src/components/chat/ChatInput'; export default { diff --git a/frontend/packages/common/chat-area/chat-uikit/stories/contents/CardContent.stories.tsx b/frontend/packages/common/chat-area/chat-uikit/stories/contents/CardContent.stories.tsx index 2d37c7b3..3aca7f78 100644 --- a/frontend/packages/common/chat-area/chat-uikit/stories/contents/CardContent.stories.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/stories/contents/CardContent.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import CardContent from '../../src/components/contents/card-content'; export default { diff --git a/frontend/packages/common/chat-area/chat-uikit/stories/contents/SuggestionItem.stories.tsx b/frontend/packages/common/chat-area/chat-uikit/stories/contents/SuggestionItem.stories.tsx index 7472a6bd..affb4558 100644 --- a/frontend/packages/common/chat-area/chat-uikit/stories/contents/SuggestionItem.stories.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/stories/contents/SuggestionItem.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import SuggestionItem from '../../src/components/contents/suggestion-content/components/suggestion-item/index'; export default { diff --git a/frontend/packages/common/chat-area/chat-uikit/stories/contents/TextContent.stories.tsx b/frontend/packages/common/chat-area/chat-uikit/stories/contents/TextContent.stories.tsx index cf93de6b..c58c26bc 100644 --- a/frontend/packages/common/chat-area/chat-uikit/stories/contents/TextContent.stories.tsx +++ b/frontend/packages/common/chat-area/chat-uikit/stories/contents/TextContent.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import TextContent from '../../src/components/contents/text-content'; export default { diff --git a/frontend/packages/common/chat-area/chat-uikit/tailwind.config.ts b/frontend/packages/common/chat-area/chat-uikit/tailwind.config.ts index a175da22..ce2eaf1f 100644 --- a/frontend/packages/common/chat-area/chat-uikit/tailwind.config.ts +++ b/frontend/packages/common/chat-area/chat-uikit/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/common/chat-area/chat-uikit/vitest.config.ts b/frontend/packages/common/chat-area/chat-uikit/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/chat-uikit/vitest.config.ts +++ b/frontend/packages/common/chat-area/chat-uikit/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/index.tsx b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/index.tsx index 6b36a433..cd0ccefa 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/index.tsx +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo } from 'react'; import { isEqual, isFunction, noop, omitBy } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/input-node-render.tsx b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/input-node-render.tsx index d6fc0814..987f44f9 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/input-node-render.tsx +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/input-node-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { noop } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/node-wrapper-ui.tsx b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/node-wrapper-ui.tsx index 381dde5d..becda663 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/node-wrapper-ui.tsx +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/node-wrapper-ui.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; export const NodeWrapperUI: React.FC = ({ children }) => ( diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/question-node-render.tsx b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/question-node-render.tsx index 3893c944..9ca073ed 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/question-node-render.tsx +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/question-node-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Button, Space, Typography } from '@coze-arch/coze-design'; import { type QuestionRenderNodeProps } from './type'; diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/type.ts b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/type.ts index 935b0c9e..33cd471d 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/type.ts +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IEventCallbacks, type IMessage, diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/utils.ts b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/utils.ts index ee474030..0103eedb 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/utils.ts +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/components/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { type InputWorkflowNodeContent, type WorkflowNode } from './type'; diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/index.tsx b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/index.tsx index 7d4244c1..d918ac79 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/index.tsx +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/components/workflow-render/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContentBoxType } from '@coze-common/chat-uikit-shared'; import { ContentBox, diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/index.ts b/frontend/packages/common/chat-area/chat-workflow-render/src/index.ts index af08880b..2108dad9 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/index.ts +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowRender } from './components/workflow-render'; diff --git a/frontend/packages/common/chat-area/chat-workflow-render/src/typings.d.ts b/frontend/packages/common/chat-area/chat-workflow-render/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/src/typings.d.ts +++ b/frontend/packages/common/chat-area/chat-workflow-render/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/chat-workflow-render/vitest.config.ts b/frontend/packages/common/chat-area/chat-workflow-render/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/chat-workflow-render/vitest.config.ts +++ b/frontend/packages/common/chat-area/chat-workflow-render/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/hooks/__tests__/use-event-callback.test.ts b/frontend/packages/common/chat-area/hooks/__tests__/use-event-callback.test.ts index 9632d305..22b33a75 100644 --- a/frontend/packages/common/chat-area/hooks/__tests__/use-event-callback.test.ts +++ b/frontend/packages/common/chat-area/hooks/__tests__/use-event-callback.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { expect, it, vi } from 'vitest'; diff --git a/frontend/packages/common/chat-area/hooks/__tests__/use-imperative-layout-effect.test.ts b/frontend/packages/common/chat-area/hooks/__tests__/use-imperative-layout-effect.test.ts index db7697e1..f1f10789 100644 --- a/frontend/packages/common/chat-area/hooks/__tests__/use-imperative-layout-effect.test.ts +++ b/frontend/packages/common/chat-area/hooks/__tests__/use-imperative-layout-effect.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it, vi } from 'vitest'; import { act, renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/common/chat-area/hooks/__tests__/use-search.test.ts b/frontend/packages/common/chat-area/hooks/__tests__/use-search.test.ts index d93f3d20..5ba6100b 100644 --- a/frontend/packages/common/chat-area/hooks/__tests__/use-search.test.ts +++ b/frontend/packages/common/chat-area/hooks/__tests__/use-search.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it, vi } from 'vitest'; import { renderHook, act } from '@testing-library/react-hooks'; diff --git a/frontend/packages/common/chat-area/hooks/src/hooks/use-event-callback.ts b/frontend/packages/common/chat-area/hooks/src/hooks/use-event-callback.ts index 39accdae..d444bd06 100644 --- a/frontend/packages/common/chat-area/hooks/src/hooks/use-event-callback.ts +++ b/frontend/packages/common/chat-area/hooks/src/hooks/use-event-callback.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; // eslint-disable-next-line @typescript-eslint/no-explicit-any -- . diff --git a/frontend/packages/common/chat-area/hooks/src/hooks/use-imperative-layout-effect.ts b/frontend/packages/common/chat-area/hooks/src/hooks/use-imperative-layout-effect.ts index a6bc53a7..14dec7f3 100644 --- a/frontend/packages/common/chat-area/hooks/src/hooks/use-imperative-layout-effect.ts +++ b/frontend/packages/common/chat-area/hooks/src/hooks/use-imperative-layout-effect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useLayoutEffect } from 'react'; // eslint-disable-next-line @typescript-eslint/no-invalid-void-type -- x diff --git a/frontend/packages/common/chat-area/hooks/src/hooks/use-search.ts b/frontend/packages/common/chat-area/hooks/src/hooks/use-search.ts index ed6a3230..c298e0cb 100644 --- a/frontend/packages/common/chat-area/hooks/src/hooks/use-search.ts +++ b/frontend/packages/common/chat-area/hooks/src/hooks/use-search.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { useEventCallback } from './use-event-callback'; diff --git a/frontend/packages/common/chat-area/hooks/src/index.ts b/frontend/packages/common/chat-area/hooks/src/index.ts index fff5d6d7..653e6f37 100644 --- a/frontend/packages/common/chat-area/hooks/src/index.ts +++ b/frontend/packages/common/chat-area/hooks/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useImperativeLayoutEffect } from './hooks/use-imperative-layout-effect'; export { useSearch } from './hooks/use-search'; export { useEventCallback } from './hooks/use-event-callback'; diff --git a/frontend/packages/common/chat-area/hooks/src/typings.d.ts b/frontend/packages/common/chat-area/hooks/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/hooks/src/typings.d.ts +++ b/frontend/packages/common/chat-area/hooks/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/hooks/vitest.config.ts b/frontend/packages/common/chat-area/hooks/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/hooks/vitest.config.ts +++ b/frontend/packages/common/chat-area/hooks/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/plugin-chat-background/src/custom-components/chat-background-ui/index.tsx b/frontend/packages/common/chat-area/plugin-chat-background/src/custom-components/chat-background-ui/index.tsx index e4a44d69..1dfafd89 100644 --- a/frontend/packages/common/chat-area/plugin-chat-background/src/custom-components/chat-background-ui/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-background/src/custom-components/chat-background-ui/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { WithRuleImgBackground } from '@coze-common/chat-uikit'; import { diff --git a/frontend/packages/common/chat-area/plugin-chat-background/src/index.ts b/frontend/packages/common/chat-area/plugin-chat-background/src/index.ts index bdf22320..37a378e5 100644 --- a/frontend/packages/common/chat-area/plugin-chat-background/src/index.ts +++ b/frontend/packages/common/chat-area/plugin-chat-background/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mitt from 'mitt'; import { type PluginRegistryEntry } from '@coze-common/chat-area'; diff --git a/frontend/packages/common/chat-area/plugin-chat-background/src/plugin.ts b/frontend/packages/common/chat-area/plugin-chat-background/src/plugin.ts index 060e6d36..f6965487 100644 --- a/frontend/packages/common/chat-area/plugin-chat-background/src/plugin.ts +++ b/frontend/packages/common/chat-area/plugin-chat-background/src/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginMode, PluginName, diff --git a/frontend/packages/common/chat-area/plugin-chat-background/src/services/life-cycle/app.ts b/frontend/packages/common/chat-area/plugin-chat-background/src/services/life-cycle/app.ts index 9ef5602c..0db8f79f 100644 --- a/frontend/packages/common/chat-area/plugin-chat-background/src/services/life-cycle/app.ts +++ b/frontend/packages/common/chat-area/plugin-chat-background/src/services/life-cycle/app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReadonlyAppLifeCycleServiceGenerator } from '@coze-common/chat-area'; import { diff --git a/frontend/packages/common/chat-area/plugin-chat-background/src/store.ts b/frontend/packages/common/chat-area/plugin-chat-background/src/store.ts index aaf9ea46..33d0861f 100644 --- a/frontend/packages/common/chat-area/plugin-chat-background/src/store.ts +++ b/frontend/packages/common/chat-area/plugin-chat-background/src/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { type BackgroundImageInfo } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/common/chat-area/plugin-chat-background/src/types/biz-context.ts b/frontend/packages/common/chat-area/plugin-chat-background/src/types/biz-context.ts index fde39d4e..6c89f790 100644 --- a/frontend/packages/common/chat-area/plugin-chat-background/src/types/biz-context.ts +++ b/frontend/packages/common/chat-area/plugin-chat-background/src/types/biz-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Emitter } from 'mitt'; import { type BackgroundImageInfo } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/common/chat-area/plugin-chat-background/src/typings.d.ts b/frontend/packages/common/chat-area/plugin-chat-background/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/plugin-chat-background/src/typings.d.ts +++ b/frontend/packages/common/chat-area/plugin-chat-background/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/plugin-chat-background/vitest.config.ts b/frontend/packages/common/chat-area/plugin-chat-background/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/plugin-chat-background/vitest.config.ts +++ b/frontend/packages/common/chat-area/plugin-chat-background/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/hooks/shortcut-bar/use-load-more.test.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/hooks/shortcut-bar/use-load-more.test.ts index 513e9401..10554534 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/hooks/shortcut-bar/use-load-more.test.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/hooks/shortcut-bar/use-load-more.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook, act } from '@testing-library/react-hooks'; import { type ShortCutCommand } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/methods/shortcut-tool/shortcut-edit/action-switch-area/choose-send-type-radio/method.test.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/methods/shortcut-tool/shortcut-edit/action-switch-area/choose-send-type-radio/method.test.ts index c30c779b..1a2b072f 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/methods/shortcut-tool/shortcut-edit/action-switch-area/choose-send-type-radio/method.test.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/methods/shortcut-tool/shortcut-edit/action-switch-area/choose-send-type-radio/method.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkFlowItemType } from '@coze-studio/bot-detail-store'; import { type PluginApi, ToolType } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/methods/shortcut-tool/shortcut-edit/action-switch-area/method.test.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/methods/shortcut-tool/shortcut-edit/action-switch-area/method.test.ts index ab137811..5be8cd3b 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/methods/shortcut-tool/shortcut-edit/action-switch-area/method.test.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/methods/shortcut-tool/shortcut-edit/action-switch-area/method.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputType } from '@coze-arch/bot-api/playground_api'; import { type ShortcutEditFormValues } from '../../../../../src/shortcut-tool/types'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/setup.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/setup.ts index 349d5176..44c9b61b 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/setup.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/setup.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_OVERSEA', false); vi.stubGlobal('IS_RELEASE_VERSION', false); diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/data-helper.test.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/data-helper.test.ts index 87f63576..beddd412 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/data-helper.test.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/data-helper.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ItemType } from '../../src/utils/data-helper'; describe('ItemType', () => { diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/get-ui-mode-by-biz-scene.test.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/get-ui-mode-by-biz-scene.test.ts index dfd4dbc4..7bcc0f7d 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/get-ui-mode-by-biz-scene.test.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/get-ui-mode-by-biz-scene.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getUIModeByBizScene } from '../../src/utils/get-ui-mode-by-biz-scene'; describe('ItemType', () => { diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/handle-error.test.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/handle-error.test.ts index 97b65c66..88d6a1c4 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/handle-error.test.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/handle-error.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isApiError } from '../../src/utils/handle-error'; describe('isApiError', () => { diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/shortcut-query.test.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/shortcut-query.test.ts index e73612ce..8baa324a 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/shortcut-query.test.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/__tests__/utils/shortcut-query.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getQueryFromTemplate } from '../../src/utils/shortcut-query'; describe('getQueryFromTemplate', () => { diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/components-table/options/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/components-table/options/index.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/components-table/options/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/components-table/options/index.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/load-more-list/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/load-more-list/index.tsx index f402d34f..ef60e03d 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/load-more-list/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/load-more-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef } from 'react'; import { useUpdateEffect } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/index.tsx index cc625e24..cda8ab16 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useIsSendMessageLock } from '@coze-common/chat-area'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/form/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/form/index.tsx index a12957ad..5d015ccd 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/form/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { type FormApi } from '@coze-arch/bot-semi/Form'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/index.tsx index b0db1f12..d10605f4 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DSLFormUpload } from './upload'; import { type DSLComponent } from './types'; import { DSLFormInput } from './text-input'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/label-with-desc/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/label-with-desc/index.tsx index 5dbd7394..0211a4d6 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/label-with-desc/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/label-with-desc/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Form, Tooltip, Typography } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/layout/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/layout/index.tsx index 5979f975..b528f378 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/layout/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/layout/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC, PropsWithChildren } from 'react'; // This issue does not need to support multiple layout analysis diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/placeholder/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/placeholder/index.tsx index 33b38049..90ccf8ee 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/placeholder/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/placeholder/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/root/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/root/index.tsx index 01ab45c0..cb46e117 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/root/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/root/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC, PropsWithChildren } from 'react'; export const DSLRoot: FC = ({ children }) => <>{children}; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/select/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/select/index.tsx index 48008983..01590a4c 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/select/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SelectProps } from '@coze-arch/bot-semi/Select'; import { UIFormSelect } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/submit-button/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/submit-button/index.tsx index 3503a169..176878f4 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/submit-button/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/submit-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconButton, useFormState } from '@coze-arch/bot-semi'; import { IconSend } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/text-input/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/text-input/index.tsx index be928e7a..74087ad3 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/text-input/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/text-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RuleItem } from '@coze-arch/bot-semi/Form'; import { Form } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/types.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/types.ts index d308e59e..4345648b 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/types.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/short-cut-panel/widgets/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type FC } from 'react'; import { type RuleItem } from '@coze-arch/bot-semi/Form'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/context/chat-area-state/context.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/context/chat-area-state/context.tsx index 3150d4d5..a26f6eb2 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/context/chat-area-state/context.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/context/chat-area-state/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; export const ChatAreaStateContext = createContext<{ diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/context/chat-area-state/index.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/context/chat-area-state/index.ts index 94484d0e..4eaa6f35 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/context/chat-area-state/index.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/context/chat-area-state/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ChatAreaStateContext } from './context'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/shortcut-bar/use-load-more.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/shortcut-bar/use-load-more.ts index d1d1e99d..b4aadea8 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/shortcut-bar/use-load-more.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/shortcut-bar/use-load-more.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, useMemo, useState } from 'react'; import { useInfiniteScroll } from 'ahooks'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/shortcut.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/shortcut.ts index 469c8a3b..79d0337e 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/shortcut.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/shortcut.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep, merge } from 'lodash-es'; import websocketManager from '@coze-common/websocket-manager-adapter'; import { diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/use-imperative-layout-effect.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/use-imperative-layout-effect.ts index d52c4327..a89f8c9a 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/use-imperative-layout-effect.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/use-imperative-layout-effect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useLayoutEffect } from 'react'; // eslint-disable-next-line @typescript-eslint/no-invalid-void-type -- x diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/use-upload-plugin.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/use-upload-plugin.ts index 8f1e932b..7a3e3ddc 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/use-upload-plugin.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/hooks/use-upload-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getFileInfo, type UploadPluginConstructor, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/index.tsx index e605e9d4..bbe94315 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // ! Notice prohibits direct export of shortcut-tool, causing downstream dependencies on unwanted knowledge-uploads // export { ShortcutToolConfig } from './shortcut-tool'; export { ShortcutBar } from './shortcut-bar'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-bar/types/index.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-bar/types/index.ts index 81fb85b5..f2262ce1 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-bar/types/index.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-bar/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ShortCutCommand } from '@coze-agent-ide/tool-config'; import { type SendMessageOptions, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-template/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-template/index.tsx index 44449b52..e8a8c00e 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-template/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-template/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Template component for shortcut command replacement import { type FC, useMemo, useRef } from 'react'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/index.tsx index d5f6ded9..9501b79a 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Quick instructions in the IDE configuration tool export { ShortcutToolConfig } from './shortcut-config'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/config-action/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/config-action/index.tsx index f8fd1365..e1999450 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/config-action/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/config-action/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/index.tsx index 1fd1ef0c..ae8286fb 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Quick instructions in the IDE configuration tool import React, { type FC, useState } from 'react'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/empty-shortcuts.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/empty-shortcuts.tsx index 588e14dd..33bea487 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/empty-shortcuts.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/empty-shortcuts.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/index.tsx index ebf6f462..d2f5b700 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/shortcut-item.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/shortcut-item.tsx index a4f2c7fe..4b292de8 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/shortcut-item.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-config/shortcut-list/shortcut-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect, useRef } from 'react'; import type { ShortCutCommand } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/confirm-modal.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/confirm-modal.tsx index 11c7aad2..0f8f9e66 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/confirm-modal.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/confirm-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef, useState } from 'react'; import { type ShortCutCommand } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/index.tsx index 95807b65..363f310e 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, forwardRef, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/method.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/method.ts index f5097ea8..22c5f4e2 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/method.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/method.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputType, type shortcut_command, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/index.tsx index 3829e1c7..e50b5109 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/method.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/method.ts index fbdbf9b0..15224b3f 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/method.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/method.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Format selected plugin parameter list import { type WorkFlowItemType } from '@coze-studio/bot-detail-store'; import { type PluginApi, ToolType } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/tool-action.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/tool-action.tsx index f3455f5b..d67354ce 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/tool-action.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/action-switch-area/skill-switch/tool-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useState } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/index.tsx index 9141d52f..8b7a551e 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/icon.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/icon.tsx index 0a680630..5af4de9b 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/icon.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/index.tsx index d2e694d6..021d05c4 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect, useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/use-get-icon-list.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/use-get-icon-list.ts index fb273359..ba835f32 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/use-get-icon-list.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/button-name/shortcut-icon/use-get-icon-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { GetFileUrlsScene } from '@coze-arch/bot-api/playground_api'; import { PlaygroundApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/index.tsx index 2bbd9493..47276bb9 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/input-field.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/input-field.tsx index 3abfbae3..8474cef7 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/input-field.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/input-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import type { InputProps } from '@coze-arch/bot-semi/Input'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/method.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/method.ts index b96b93dd..45db420f 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/method.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/method.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FileTypeEnum, getFileInfo } from '@coze-common/chat-core'; import { shortcut_command } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/select-field.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/select-field.tsx index c1d3c100..386def41 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/select-field.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/select-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { type CommonFieldProps } from '@coze-arch/bot-semi/Form'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/upload-field.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/upload-field.tsx index 0187854c..99c65f0b 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/upload-field.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-default-value/upload-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UIInput } from '@coze-arch/bot-semi'; export const UploadField = () => ; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-parameter/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-parameter/index.tsx index 9178e850..1ace9c2e 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-parameter/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-parameter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/index.tsx index 2b391b3d..0466f2fe 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useEffect, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/method.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/method.ts index 65ca330a..b0d087f7 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/method.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/method.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentTypeItem } from '../types'; export const formatComponentTypeForm = ( diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/select-content.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/select-content.tsx index cb834945..43fa17d2 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/select-content.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/select-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Dispatch, type SetStateAction, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/upload-contnet.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/upload-contnet.tsx index f2280584..2cd05256 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/upload-contnet.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/component-type-select/upload-contnet.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { Form } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/empty.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/empty.tsx index b4cd2aee..bcf985a5 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/empty.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import styles from './index.module.less'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/method.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/method.ts index 6b4c4f63..001e33ea 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/method.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/method.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormApi } from '@coze-arch/bot-semi/Form'; import { InputType, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/table-components.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/table-components.tsx index 7ba7ca82..cfeabe40 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/table-components.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/table-components.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, useEffect, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/types.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/types.ts index 18ebb058..53bafd21 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/types.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components-table/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type shortcut_command } from '@coze-arch/bot-api/playground_api'; import { type UploadItemType } from '../../../utils/file-const'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components.tsx index 721eef8a..122686e4 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Form } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/action-button/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/action-button/index.tsx index bda5990e..47a31bf0 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/action-button/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/action-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode, type PropsWithChildren } from 'react'; import { UIIconButton } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/field-label/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/field-label/index.tsx index f6fc57b2..683e5bc3 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/field-label/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/field-label/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type PropsWithChildren, type ReactNode } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/tip/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/tip/index.tsx index 341808fc..a9bee4aa 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/tip/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/components/tip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; const style = { diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/index.tsx index 7e906ba5..14008dd3 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { type ShortcutEditModalProps, ShortcutEditModal } from './modal'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/method.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/method.ts index a32e0d9b..57e38091 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/method.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/method.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ShortCutCommand } from '@coze-agent-ide/tool-config'; import { type Components, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/components-select.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/components-select.tsx index 0554b06c..56e55c71 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/components-select.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/components-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useEffect, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/container.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/container.tsx index 5b908a80..e707cf72 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/container.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/container.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, forwardRef, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/field.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/field.tsx index 7196df7f..a1f18e49 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/field.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type RefObject, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/index.tsx index 5edf1c42..9e73af6b 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type RefObject, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/model.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/model.ts index ca6a761e..496b5ccf 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/model.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ExpressionEditorModel } from '@coze-workflow/sdk'; export class VarExpressionEditorModel extends ExpressionEditorModel { diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/suggestion/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/suggestion/index.tsx index 9872cfdb..f2b40d9d 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/suggestion/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/suggestion/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type RefObject, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/type.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/type.ts index 43d39419..dcdeef61 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/type.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TreeNodeData } from '@coze-arch/bot-semi/Tree'; import { type InputType } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/util.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/util.ts index fdd38636..b9fb0df5 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/util.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/util.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/var-list.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/var-list.tsx index dd4bebaa..0a5a4ad5 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/var-list.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/shortcut-edit/var-query-textarea/var-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type FC } from 'react'; export const InputTypeTag: FC = ({ children }) => ( diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/types.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/types.ts index 13e7787e..202f9a90 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/types.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut-tool/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkFlowItemType } from '@coze-studio/bot-detail-store'; import { type ToolParams } from '@coze-arch/bot-api/playground_api'; import { type Dataset } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/component/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/component/index.tsx index f729706b..e5259818 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/component/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/component/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type PropsWithChildren, useState } from 'react'; import type { ShortCutCommand } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/index.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/index.ts index 77ea28d8..b8866033 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/index.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { QueryShortcut } from './query-shortcut'; export { TemplateShortcut } from './template-shortcut'; export { LoadMore } from './load-more'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/index.tsx index 088dda3b..a430222b 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/method.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/method.ts index e10f8f97..9c595bd7 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/method.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/method.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ShortCutCommand } from '@coze-agent-ide/tool-config'; export const shortcutIconAndNameVisibleControl = ( diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/shortcuts-load-more-list.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/shortcuts-load-more-list.tsx index 75ba0316..413877a0 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/shortcuts-load-more-list.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/load-more/shortcuts-load-more-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/query-shortcut/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/query-shortcut/index.tsx index cc30513e..03547299 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/query-shortcut/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/query-shortcut/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef } from 'react'; import { type ShortCutCommand } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/template-shortcut/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/template-shortcut/index.tsx index a589705d..192da893 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/template-shortcut/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/template-shortcut/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef } from 'react'; import { type ShortCutCommand } from '@coze-agent-ide/tool-config'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/variants.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/variants.ts index aa999ab9..a4b7d9c4 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/variants.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/shortcut/variants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; const shortcutCommandVariants = cva( diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/types/index.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/types/index.ts index 5c3e112e..939da4c7 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/types/index.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ElementPropsType { SLOT = 'slot', WORKSPACE_SLOT = 'workspaceSlot', diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/typings.d.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/typings.d.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/data-helper.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/data-helper.ts index dd17e16d..c35f4199 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/data-helper.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/data-helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type ItemType = T extends (infer U)[] ? U : T; export type PartialBy = Omit & Partial>; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/dsl-template/templates.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/dsl-template/templates.ts index 66a332f6..f13abfd3 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/dsl-template/templates.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/dsl-template/templates.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { shortcut_command } from '@coze-arch/bot-api/playground_api'; import { shortid } from '../uuid'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/file-const.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/file-const.ts index 6060dc4e..c36374f4 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/file-const.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/file-const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ZipIcon, VideoIcon, @@ -27,10 +27,7 @@ import { } from '@coze-common/chat-uikit'; import { FILE_TYPE_CONFIG, FileTypeEnum } from '@coze-common/chat-core'; import { I18n } from '@coze-arch/i18n'; -import { - InputType, - shortcut_command, -} from '@coze-arch/bot-api/playground_api'; +import { InputType, shortcut_command } from '@coze-arch/bot-api/playground_api'; export type UploadItemType = | InputType.UploadImage diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/get-ui-mode-by-biz-scene.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/get-ui-mode-by-biz-scene.ts index 24631985..61f936b0 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/get-ui-mode-by-biz-scene.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/get-ui-mode-by-biz-scene.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { exhaustiveCheckSimple } from '@coze-common/chat-area-utils'; import { type UIMode } from '../shortcut-bar/types'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/handle-error.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/handle-error.ts index 4d8d2261..ebc06e39 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/handle-error.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/handle-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function isApiError(error: unknown): error is { name: 'ApiError' } { if (!error) { return false; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/shortcut-query.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/shortcut-query.ts index 843c72c8..f7c93d45 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/shortcut-query.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/shortcut-query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Stitching queries based on template_query and components export const getQueryFromTemplate = ( templateQuery: string, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/tool-params.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/tool-params.ts index 2826ad50..839f80ab 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/tool-params.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/tool-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { shortcut_command, type ToolParams, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/uuid.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/uuid.ts index f1e3dba4..47cca863 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/uuid.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/utils/uuid.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Align the logic of card-builder generating ID, make a copy temporarily, and plan to use the underlying capabilities of card-buidler directly in the future import { nanoid, customAlphabet } from 'nanoid'; diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/stories/demo.stories.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/stories/demo.stories.tsx index 1bb56423..012988a1 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/stories/demo.stories.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // export default { // title: 'Example/Demo', // component: DemoComponent, diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/tailwind.config.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/tailwind.config.ts index a175da22..ce2eaf1f 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/tailwind.config.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/vitest.config.ts b/frontend/packages/common/chat-area/plugin-chat-shortcuts/vitest.config.ts index b3f0242f..d605df3d 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/vitest.config.ts +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/constants/filter-message.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/constants/filter-message.ts index a14ecb43..7a2509cf 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/constants/filter-message.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/constants/filter-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { messageSource } from '@coze-common/chat-area'; export const FILTER_MESSAGE_SOURCE: number[] = [messageSource.Notice]; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/create.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/create.ts index 6b2a0a52..5ebd1f0c 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/create.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/create.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import mitt from 'mitt'; import { type PluginRegistryEntry } from '@coze-common/chat-area'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/input-addon-top/index.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/input-addon-top/index.tsx index d9a1477c..5a424b1c 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/input-addon-top/index.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/input-addon-top/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/menu-list/index.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/menu-list/index.tsx index 7228bfb7..e435477a 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/menu-list/index.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/menu-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, forwardRef, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/index.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/index.tsx index b1117d66..a76c0ca8 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/index.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { PluginName, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/local-slot.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/local-slot.tsx index 9a31cc6f..5bd39c83 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/local-slot.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/local-slot.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { PluginName, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/quote-top-ui.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/quote-top-ui.tsx index 299e0cd7..735370bd 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/quote-top-ui.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/quote-top-ui.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/remote-slot.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/remote-slot.tsx index b95ec4a4..effbe125 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/remote-slot.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-inner-top-slot/remote-slot.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { parseMarkdownToGrabNode } from '@coze-common/text-grab'; import { ContentType, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/float-menu.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/float-menu.tsx index 14cf2575..126caa90 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/float-menu.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/float-menu.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/grab-menu.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/grab-menu.tsx index c83d959c..17358c2f 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/grab-menu.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/grab-menu.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/index.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/index.tsx index 69cf5a4e..bce3e4ce 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/index.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/message-list-float-slot/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MessageListFloatSlot } from '@coze-common/chat-area'; import { GrabMenu } from './grab-menu'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/quote-button/index.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/quote-button/index.tsx index de9bbefd..993b8aed 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/quote-button/index.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/quote-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/quote-node/index.tsx b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/quote-node/index.tsx index b21e64bc..53f82c39 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/quote-node/index.tsx +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/quote-node/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/variants.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/variants.ts index c81f9c96..b6d3e7bf 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/variants.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/custom-components/variants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cva, type VariantProps } from 'class-variance-authority'; const quoteNodeColorVariants = cva([], { diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-auto-get-max-position.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-auto-get-max-position.ts index aa56eed6..69243221 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-auto-get-max-position.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-auto-get-max-position.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useEffect, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-float-menu-listener.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-float-menu-listener.ts index 0b8a0be0..73b9d860 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-float-menu-listener.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-float-menu-listener.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { defer, delay } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-grab-plugin.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-grab-plugin.ts index 5bf95e71..b4fa50ae 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-grab-plugin.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-grab-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { type MessageSource } from '@coze-common/chat-area'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-hide-quote.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-hide-quote.ts index 6192525c..ebe16abd 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-hide-quote.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/hooks/use-hide-quote.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useEffect, useRef, useState } from 'react'; import { diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/index.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/index.ts index 5008c473..9d09a988 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/index.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentType } from 'react'; import { diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/plugin.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/plugin.ts index 58fb5b10..516936bc 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/plugin.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginMode, PluginName, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/app.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/app.ts index 80e032be..003bfe7f 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/app.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GrabNode } from '@coze-common/text-grab'; import { WriteableAppLifeCycleService } from '@coze-common/chat-area'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/command.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/command.ts index d2e347cd..0fe25ea6 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/command.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/command.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnImageElementContext, WriteableCommandLifeCycleService, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/message.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/message.ts index ed13d933..8863a464 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/message.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/services/life-cycle/message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getOriginContentText } from '@coze-common/text-grab'; import { ContentType, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/stores/preference.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/stores/preference.ts index 53eb88ac..10b43ad2 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/stores/preference.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/stores/preference.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/stores/quote.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/stores/quote.ts index 69226b28..d34fbe93 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/stores/quote.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/stores/quote.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/stores/selection.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/stores/selection.ts index 6b67db76..b7b9d767 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/stores/selection.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/stores/selection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/types/plugin-biz-context.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/types/plugin-biz-context.ts index 0d80764c..a2917767 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/types/plugin-biz-context.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/types/plugin-biz-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Emitter } from 'mitt'; import { type GrabNode } from '@coze-common/text-grab'; import { diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/types/public-methods.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/types/public-methods.ts index b92cfd9f..8af1c2ed 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/types/public-methods.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/types/public-methods.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface GrabPublicMethod { updateEnableGrab: (enable: boolean) => void; } diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/typings.d.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/typings.d.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/extract-text-from-react-node.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/extract-text-from-react-node.ts index 9729bff9..d8b4e70d 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/extract-text-from-react-node.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/extract-text-from-react-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Children, type ReactElement, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-message.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-message.ts index 27c344f8..74f65195 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-message.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ChatAreaPluginContext, type PluginMode, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-mouse-nearby-rect.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-mouse-nearby-rect.ts index b503d9e8..aa40fcc9 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-mouse-nearby-rect.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-mouse-nearby-rect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GrabPosition } from '@coze-common/text-grab'; const BUFFER_SIZE = 5; diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-refer-from-message.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-refer-from-message.ts index 0891820c..1359ddc9 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-refer-from-message.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-refer-from-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContentType, type Message } from '@coze-common/chat-area'; export const getReferFromMessage = (message: Message) => { diff --git a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-sender-id.ts b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-sender-id.ts index 2e812467..9eaeeba0 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-sender-id.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/src/utils/get-sender-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ChatAreaPluginContext, type PluginMode, diff --git a/frontend/packages/common/chat-area/plugin-message-grab/vitest.config.ts b/frontend/packages/common/chat-area/plugin-message-grab/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/plugin-message-grab/vitest.config.ts +++ b/frontend/packages/common/chat-area/plugin-message-grab/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/plugin-resume/__tests__/hooks/use-get-position.test.ts b/frontend/packages/common/chat-area/plugin-resume/__tests__/hooks/use-get-position.test.ts index ec49c5f6..d40d30e7 100644 --- a/frontend/packages/common/chat-area/plugin-resume/__tests__/hooks/use-get-position.test.ts +++ b/frontend/packages/common/chat-area/plugin-resume/__tests__/hooks/use-get-position.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook, act } from '@testing-library/react-hooks'; import { useGetPosition } from '../../src/hooks/use-get-position'; diff --git a/frontend/packages/common/chat-area/plugin-resume/src/custom-components/interrupt-message/index.tsx b/frontend/packages/common/chat-area/plugin-resume/src/custom-components/interrupt-message/index.tsx index bc45f8d9..6d39491b 100644 --- a/frontend/packages/common/chat-area/plugin-resume/src/custom-components/interrupt-message/index.tsx +++ b/frontend/packages/common/chat-area/plugin-resume/src/custom-components/interrupt-message/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/chat-area/plugin-resume/src/custom-components/interrupt-message/interrupt-message-content/index.tsx b/frontend/packages/common/chat-area/plugin-resume/src/custom-components/interrupt-message/interrupt-message-content/index.tsx index 9db548fa..fcf57b5b 100644 --- a/frontend/packages/common/chat-area/plugin-resume/src/custom-components/interrupt-message/interrupt-message-content/index.tsx +++ b/frontend/packages/common/chat-area/plugin-resume/src/custom-components/interrupt-message/interrupt-message-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { PluginName, diff --git a/frontend/packages/common/chat-area/plugin-resume/src/hooks/use-get-position.tsx b/frontend/packages/common/chat-area/plugin-resume/src/hooks/use-get-position.tsx index 3c3dcecf..01df4258 100644 --- a/frontend/packages/common/chat-area/plugin-resume/src/hooks/use-get-position.tsx +++ b/frontend/packages/common/chat-area/plugin-resume/src/hooks/use-get-position.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/chat-area/plugin-resume/src/index.tsx b/frontend/packages/common/chat-area/plugin-resume/src/index.tsx index 2cf094a1..fb6b10aa 100644 --- a/frontend/packages/common/chat-area/plugin-resume/src/index.tsx +++ b/frontend/packages/common/chat-area/plugin-resume/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PluginRegistryEntry } from '@coze-common/chat-area'; import { ResumePlugin } from './plugin'; diff --git a/frontend/packages/common/chat-area/plugin-resume/src/life-cycle-service/message-life-cycle-service.ts b/frontend/packages/common/chat-area/plugin-resume/src/life-cycle-service/message-life-cycle-service.ts index 9c38f9f2..6bc98b38 100644 --- a/frontend/packages/common/chat-area/plugin-resume/src/life-cycle-service/message-life-cycle-service.ts +++ b/frontend/packages/common/chat-area/plugin-resume/src/life-cycle-service/message-life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isRequireInfoInterruptMessage, WriteableMessageLifeCycleService, diff --git a/frontend/packages/common/chat-area/plugin-resume/src/life-cycle-service/render-life-cycle-service.ts b/frontend/packages/common/chat-area/plugin-resume/src/life-cycle-service/render-life-cycle-service.ts index 9815d25e..413146fd 100644 --- a/frontend/packages/common/chat-area/plugin-resume/src/life-cycle-service/render-life-cycle-service.ts +++ b/frontend/packages/common/chat-area/plugin-resume/src/life-cycle-service/render-life-cycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isRequireInfoInterruptMessage, type OnMessageBoxRenderContext, diff --git a/frontend/packages/common/chat-area/plugin-resume/src/plugin.ts b/frontend/packages/common/chat-area/plugin-resume/src/plugin.ts index 639f1097..48176780 100644 --- a/frontend/packages/common/chat-area/plugin-resume/src/plugin.ts +++ b/frontend/packages/common/chat-area/plugin-resume/src/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginMode, PluginName, diff --git a/frontend/packages/common/chat-area/plugin-resume/src/typings.d.ts b/frontend/packages/common/chat-area/plugin-resume/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/plugin-resume/src/typings.d.ts +++ b/frontend/packages/common/chat-area/plugin-resume/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/plugin-resume/vitest.config.ts b/frontend/packages/common/chat-area/plugin-resume/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/plugin-resume/vitest.config.ts +++ b/frontend/packages/common/chat-area/plugin-resume/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/text-grab/__tests__/compare-node-position.test.ts b/frontend/packages/common/chat-area/text-grab/__tests__/compare-node-position.test.ts index 2d93d7e7..0d7f6dff 100644 --- a/frontend/packages/common/chat-area/text-grab/__tests__/compare-node-position.test.ts +++ b/frontend/packages/common/chat-area/text-grab/__tests__/compare-node-position.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { compareNodePosition } from '../src/utils/helper/compare-node-position'; describe('compareNodePosition', () => { diff --git a/frontend/packages/common/chat-area/text-grab/__tests__/find-ancestor-node-by-tag-name.test.ts b/frontend/packages/common/chat-area/text-grab/__tests__/find-ancestor-node-by-tag-name.test.ts index aac390b7..b24471f0 100644 --- a/frontend/packages/common/chat-area/text-grab/__tests__/find-ancestor-node-by-tag-name.test.ts +++ b/frontend/packages/common/chat-area/text-grab/__tests__/find-ancestor-node-by-tag-name.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findAncestorNodeByTagName } from '../src/utils/helper/find-ancestor-node-by-tag-name'; describe('findAncestorNodeByTagName', () => { diff --git a/frontend/packages/common/chat-area/text-grab/__tests__/find-last-child-node.test.ts b/frontend/packages/common/chat-area/text-grab/__tests__/find-last-child-node.test.ts index 4bf018b0..b3c84360 100644 --- a/frontend/packages/common/chat-area/text-grab/__tests__/find-last-child-node.test.ts +++ b/frontend/packages/common/chat-area/text-grab/__tests__/find-last-child-node.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findLastChildNode } from '../src/utils/helper/find-last-child-node'; describe('findLastChildNode', () => { diff --git a/frontend/packages/common/chat-area/text-grab/__tests__/find-last-sibling-node.test.ts b/frontend/packages/common/chat-area/text-grab/__tests__/find-last-sibling-node.test.ts index 87b61b9a..194b7fc5 100644 --- a/frontend/packages/common/chat-area/text-grab/__tests__/find-last-sibling-node.test.ts +++ b/frontend/packages/common/chat-area/text-grab/__tests__/find-last-sibling-node.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findLastSiblingNode } from '../src/utils/helper/find-last-sibling-node'; describe('findLastSiblingNode', () => { diff --git a/frontend/packages/common/chat-area/text-grab/__tests__/find-nearest-link-node.test.ts b/frontend/packages/common/chat-area/text-grab/__tests__/find-nearest-link-node.test.ts index b2fd8a59..475fc625 100644 --- a/frontend/packages/common/chat-area/text-grab/__tests__/find-nearest-link-node.test.ts +++ b/frontend/packages/common/chat-area/text-grab/__tests__/find-nearest-link-node.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findNearestAnchor } from '../src/utils/helper/find-nearest-link-node'; describe('findNearestAnchor', () => { diff --git a/frontend/packages/common/chat-area/text-grab/__tests__/get-all-child-nodes-in-node.test.ts b/frontend/packages/common/chat-area/text-grab/__tests__/get-all-child-nodes-in-node.test.ts index c1a7f80b..6dcb2e1b 100644 --- a/frontend/packages/common/chat-area/text-grab/__tests__/get-all-child-nodes-in-node.test.ts +++ b/frontend/packages/common/chat-area/text-grab/__tests__/get-all-child-nodes-in-node.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getAllChildNodesInNode } from '../src/utils/helper/get-all-child-nodes-in-node'; describe('getAllChildNodesInNode', () => { diff --git a/frontend/packages/common/chat-area/text-grab/__tests__/get-all-node-in-range.test.ts b/frontend/packages/common/chat-area/text-grab/__tests__/get-all-node-in-range.test.ts index 83294920..3e8a8fcf 100644 --- a/frontend/packages/common/chat-area/text-grab/__tests__/get-all-node-in-range.test.ts +++ b/frontend/packages/common/chat-area/text-grab/__tests__/get-all-node-in-range.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getAllNodesInRange } from '../src/utils/helper/get-all-nodes-in-range'; describe('getAllNodesInRange', () => { diff --git a/frontend/packages/common/chat-area/text-grab/__tests__/get-range-direction.test.ts b/frontend/packages/common/chat-area/text-grab/__tests__/get-range-direction.test.ts index bceb6ef5..b98770b1 100644 --- a/frontend/packages/common/chat-area/text-grab/__tests__/get-range-direction.test.ts +++ b/frontend/packages/common/chat-area/text-grab/__tests__/get-range-direction.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getRangeDirection } from '../src/utils/helper/get-range-direction'; describe('getRangeDirection', () => { diff --git a/frontend/packages/common/chat-area/text-grab/src/constants/range.ts b/frontend/packages/common/chat-area/text-grab/src/constants/range.ts index 5b676999..cd2ce546 100644 --- a/frontend/packages/common/chat-area/text-grab/src/constants/range.ts +++ b/frontend/packages/common/chat-area/text-grab/src/constants/range.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const CONTENT_ATTRIBUTE_NAME = 'data-grab-mark'; export const MESSAGE_SOURCE_ATTRIBUTE_NAME = 'data-grab-source'; diff --git a/frontend/packages/common/chat-area/text-grab/src/hooks/use-grab.ts b/frontend/packages/common/chat-area/text-grab/src/hooks/use-grab.ts index 81359c77..3d291591 100644 --- a/frontend/packages/common/chat-area/text-grab/src/hooks/use-grab.ts +++ b/frontend/packages/common/chat-area/text-grab/src/hooks/use-grab.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState, type MutableRefObject } from 'react'; import { defer } from 'lodash-es'; diff --git a/frontend/packages/common/chat-area/text-grab/src/index.ts b/frontend/packages/common/chat-area/text-grab/src/index.ts index 2fd359c1..0f2ccbc0 100644 --- a/frontend/packages/common/chat-area/text-grab/src/index.ts +++ b/frontend/packages/common/chat-area/text-grab/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useGrab } from './hooks/use-grab'; export { SelectionData } from './types/selection'; export { type GrabPosition } from './types/selection'; diff --git a/frontend/packages/common/chat-area/text-grab/src/types/node.ts b/frontend/packages/common/chat-area/text-grab/src/types/node.ts index f9eab81a..36fe2dd2 100644 --- a/frontend/packages/common/chat-area/text-grab/src/types/node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/types/node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const enum GrabElementType { IMAGE = 'image', LINK = 'link', diff --git a/frontend/packages/common/chat-area/text-grab/src/types/selection.ts b/frontend/packages/common/chat-area/text-grab/src/types/selection.ts index 1858c1de..2bf78beb 100644 --- a/frontend/packages/common/chat-area/text-grab/src/types/selection.ts +++ b/frontend/packages/common/chat-area/text-grab/src/types/selection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type getOriginContentText } from '../utils/normalizer/get-origin-content-text'; import { type getNormalizeNodeList } from '../utils/normalizer/get-normalize-node-list'; import { type getHumanizedContentText } from '../utils/normalizer/get-humanize-content-text'; diff --git a/frontend/packages/common/chat-area/text-grab/src/typings.d.ts b/frontend/packages/common/chat-area/text-grab/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/text-grab/src/typings.d.ts +++ b/frontend/packages/common/chat-area/text-grab/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/find-picture-valid-child-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/find-picture-valid-child-node.ts index ad43114a..35cf9b75 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/find-picture-valid-child-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/find-picture-valid-child-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getPictureNodeUrl } from './get-picture-node-url'; /** diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/get-ancestor-attribute-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/get-ancestor-attribute-node.ts index 58e649a5..bc896848 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/get-ancestor-attribute-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/get-ancestor-attribute-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getAncestorAttributeNode = ( node: Node | null, attributeName: string, diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/get-ancestor-attribute-value.ts b/frontend/packages/common/chat-area/text-grab/src/utils/get-ancestor-attribute-value.ts index aea40c30..d12394cb 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/get-ancestor-attribute-value.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/get-ancestor-attribute-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getAncestorAttributeValue = ( node: Node | null, attributeName: string, diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/get-picture-node-url.ts b/frontend/packages/common/chat-area/text-grab/src/utils/get-picture-node-url.ts index 960211b9..7dc8ac53 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/get-picture-node-url.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/get-picture-node-url.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Get URLs in image Node * @param node Node diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/get-rect-data.ts b/frontend/packages/common/chat-area/text-grab/src/utils/get-rect-data.ts index 75eee25a..bf416d34 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/get-rect-data.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/get-rect-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getRectData = ({ selection }: { selection: Selection }) => { if (!selection.rangeCount) { return; diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/get-selection-data.ts b/frontend/packages/common/chat-area/text-grab/src/utils/get-selection-data.ts index ab96dd0b..ec7c8b83 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/get-selection-data.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/get-selection-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SelectionData } from '../types/selection'; import { CONTENT_ATTRIBUTE_NAME, diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/compare-node-position.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/compare-node-position.ts index 38f9093d..86594480 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/compare-node-position.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/compare-node-position.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Determine the node inclusion relationship * Reference document "https://developer.mozilla.org/zh-CN/docs/Web/API/Node/compareDocumentPosition" diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-ancestor-node-by-tag-name.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-ancestor-node-by-tag-name.ts index 9f77290e..38bc9677 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-ancestor-node-by-tag-name.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-ancestor-node-by-tag-name.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Find ancestor nodes (including itself) by TagName * @param node Node | null diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-last-child-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-last-child-node.ts index 6578c523..4b5dc8a3 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-last-child-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-last-child-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Find the last sub-node of a node * @param node Node diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-last-sibling-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-last-sibling-node.ts index 25358f58..5df28234 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-last-sibling-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-last-sibling-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getAncestorAttributeValue } from '../get-ancestor-attribute-value'; /** diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-nearest-link-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-nearest-link-node.ts index 80b9534c..6eb95954 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-nearest-link-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-nearest-link-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const findNearestAnchor = ( node: Node | null, ): HTMLAnchorElement | null => { diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-not-contains-previous-sibling.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-not-contains-previous-sibling.ts index 40a8f8a3..d84a049b 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-not-contains-previous-sibling.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/find-not-contains-previous-sibling.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { compareNodePosition } from './compare-node-position'; export const findNotContainsPreviousSibling = ( diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-all-child-nodes-in-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-all-child-nodes-in-node.ts index f3dac55c..c4613b08 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-all-child-nodes-in-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-all-child-nodes-in-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Helper function to obtain all nodes in the selection export const getAllChildNodesInNode = (node: Node): Node[] => { const nodes: Node[] = []; diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-all-nodes-in-range.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-all-nodes-in-range.ts index ec185ec9..e83d940c 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-all-nodes-in-range.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-all-nodes-in-range.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Helper function to obtain all nodes in the selection export const getAllNodesInRange = (range: Range): Node[] => { const nodes: Node[] = []; diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-range-direction.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-range-direction.ts index 65138b50..e7c9b159 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-range-direction.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-range-direction.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getRangeDirection = (range: Range) => { const position = range.compareBoundaryPoints(Range.START_TO_END, range); diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-selection-direction.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-selection-direction.ts index 2a7a935f..b26dc940 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-selection-direction.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/get-selection-direction.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Direction } from '../../types/selection'; import { compareNodePosition } from './compare-node-position'; diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/has-ancestor-with-attribute.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/has-ancestor-with-attribute.ts index 90c2ee27..3118972a 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/has-ancestor-with-attribute.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/has-ancestor-with-attribute.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const hasAncestorWithAttribute = ( node: Node | null, attributeName: string, diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/helper/is-range-collapsed.ts b/frontend/packages/common/chat-area/text-grab/src/utils/helper/is-range-collapsed.ts index 113cc627..028f75dc 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/helper/is-range-collapsed.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/helper/is-range-collapsed.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const hasVisibleSelection = (range: Range): boolean => { // Clone all nodes within the Range const documentFragment = range.cloneContents(); diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/is-touch-device.ts b/frontend/packages/common/chat-area/text-grab/src/utils/is-touch-device.ts index f3f40891..785f9c60 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/is-touch-device.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/is-touch-device.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function isTouchDevice(): boolean { return 'ontouchend' in document; } diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-humanize-content-text.ts b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-humanize-content-text.ts index 03799692..70d323cc 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-humanize-content-text.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-humanize-content-text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GrabNode } from '../../types/node'; import { isGrabTextNode } from './is-grab-text-node'; import { isGrabLink } from './is-grab-link'; diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-normalize-node-list.ts b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-normalize-node-list.ts index 4da76a97..4735be04 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-normalize-node-list.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-normalize-node-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { processSpecialNode } from '../process-node/process-special-node'; import { GrabElementType, diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-origin-content-text.ts b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-origin-content-text.ts index 27f648cf..5f35f30e 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-origin-content-text.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/get-origin-content-text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Get formatted SelectionNodeList data * Get the text content fed to the large model diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-element.ts b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-element.ts index 80bb0011..2a761794 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-element.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-element.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GrabElement, type GrabNode } from '../../types/node'; export const isGrabElement = (node: GrabNode): node is GrabElement => diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-image.ts b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-image.ts index 15bd5a22..55a44230 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-image.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GrabElementType, type GrabImageElement, diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-link.ts b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-link.ts index 48c4116e..5d4d5a43 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-link.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-link.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GrabElementType, type GrabLinkElement, diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-text-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-text-node.ts index 129ca647..ed89cf09 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-text-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/normalizer/is-grab-text-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GrabNode, type GrabText } from '../../types/node'; export const isGrabTextNode = (node: GrabNode): node is GrabText => diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/process-node/process-child-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/process-node/process-child-node.ts index 6f1be22b..dc4ca1e3 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/process-node/process-child-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/process-node/process-child-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { processSpecialNode } from './process-special-node'; export const processChildNode = (childNodes: NodeListOf) => { diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/process-node/process-special-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/process-node/process-special-node.ts index 25436383..53fae945 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/process-node/process-special-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/process-node/process-special-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findPictureValidChildNode } from '../find-picture-valid-child-node'; /** diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-end-empty.ts b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-end-empty.ts index 7cfe36be..6f6dbf37 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-end-empty.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-end-empty.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getAllChildNodesInNode } from '../helper/get-all-child-nodes-in-node'; import { findNotContainsPreviousSibling } from '../helper/find-not-contains-previous-sibling'; diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-end-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-end-node.ts index 08802360..1864cc53 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-end-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-end-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findLastChildNode } from '../helper/find-last-child-node'; import { getAncestorAttributeValue } from '../get-ancestor-attribute-value'; diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-link.ts b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-link.ts index 02d57873..2c06d8d1 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-link.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-link.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findNearestAnchor } from '../helper/find-nearest-link-node'; export const fixLink = (range: Range, startNode: Node, endNode: Node) => { diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-start-node.ts b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-start-node.ts index 42ddddcd..711983dc 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-start-node.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/fix-start-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getAncestorAttributeValue } from '../get-ancestor-attribute-value'; export const fixStartNode = ({ diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/refine-range.ts b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/refine-range.ts index c1065cb7..d060fb7c 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/refine-range.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/refine-range/refine-range.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Fix the actual function of the selection * @param range Range diff --git a/frontend/packages/common/chat-area/text-grab/src/utils/should-refine-range.ts b/frontend/packages/common/chat-area/text-grab/src/utils/should-refine-range.ts index 9d751ae7..28485d45 100644 --- a/frontend/packages/common/chat-area/text-grab/src/utils/should-refine-range.ts +++ b/frontend/packages/common/chat-area/text-grab/src/utils/should-refine-range.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CONTENT_ATTRIBUTE_NAME } from '../constants/range'; import { getAllNodesInRange } from './helper/get-all-nodes-in-range'; import { findAncestorNodeByTagName } from './helper/find-ancestor-node-by-tag-name'; diff --git a/frontend/packages/common/chat-area/text-grab/vitest.config.ts b/frontend/packages/common/chat-area/text-grab/vitest.config.ts index dfeabcd3..aefbda69 100644 --- a/frontend/packages/common/chat-area/text-grab/vitest.config.ts +++ b/frontend/packages/common/chat-area/text-grab/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/chat-area/utils/__tests__/async.test.ts b/frontend/packages/common/chat-area/utils/__tests__/async.test.ts index 74c106f2..d0a395e5 100644 --- a/frontend/packages/common/chat-area/utils/__tests__/async.test.ts +++ b/frontend/packages/common/chat-area/utils/__tests__/async.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, vi } from 'vitest'; import { Deferred, sleep } from '../src/async'; diff --git a/frontend/packages/common/chat-area/utils/__tests__/exhaustive-check.test.ts b/frontend/packages/common/chat-area/utils/__tests__/exhaustive-check.test.ts index cd713381..d2ee6191 100644 --- a/frontend/packages/common/chat-area/utils/__tests__/exhaustive-check.test.ts +++ b/frontend/packages/common/chat-area/utils/__tests__/exhaustive-check.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { exhaustiveCheckSimple, exhaustiveCheckForRecord, diff --git a/frontend/packages/common/chat-area/utils/__tests__/int64.test.ts b/frontend/packages/common/chat-area/utils/__tests__/int64.test.ts index 6ce1d5b8..4ead259c 100644 --- a/frontend/packages/common/chat-area/utils/__tests__/int64.test.ts +++ b/frontend/packages/common/chat-area/utils/__tests__/int64.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { diff --git a/frontend/packages/common/chat-area/utils/__tests__/json-parse.test.ts b/frontend/packages/common/chat-area/utils/__tests__/json-parse.test.ts index 963414ea..d650f4db 100644 --- a/frontend/packages/common/chat-area/utils/__tests__/json-parse.test.ts +++ b/frontend/packages/common/chat-area/utils/__tests__/json-parse.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it, vi } from 'vitest'; import { diff --git a/frontend/packages/common/chat-area/utils/__tests__/perform-simple-type-check.test.ts b/frontend/packages/common/chat-area/utils/__tests__/perform-simple-type-check.test.ts index e47c1852..fbe8a892 100644 --- a/frontend/packages/common/chat-area/utils/__tests__/perform-simple-type-check.test.ts +++ b/frontend/packages/common/chat-area/utils/__tests__/perform-simple-type-check.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { performSimpleObjectTypeCheck } from '../src/perform-simple-type-check'; diff --git a/frontend/packages/common/chat-area/utils/__tests__/rate-limit.test.ts b/frontend/packages/common/chat-area/utils/__tests__/rate-limit.test.ts index e430847a..ae11b28f 100644 --- a/frontend/packages/common/chat-area/utils/__tests__/rate-limit.test.ts +++ b/frontend/packages/common/chat-area/utils/__tests__/rate-limit.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it, vi } from 'vitest'; import { RateLimit } from '../src/rate-limit'; diff --git a/frontend/packages/common/chat-area/utils/__tests__/safe-async-throw.test.ts b/frontend/packages/common/chat-area/utils/__tests__/safe-async-throw.test.ts index 1ba5eb49..748f863b 100644 --- a/frontend/packages/common/chat-area/utils/__tests__/safe-async-throw.test.ts +++ b/frontend/packages/common/chat-area/utils/__tests__/safe-async-throw.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it, vi } from 'vitest'; import { safeAsyncThrow } from '../src/safe-async-throw'; diff --git a/frontend/packages/common/chat-area/utils/__tests__/update-only-defined.test.ts b/frontend/packages/common/chat-area/utils/__tests__/update-only-defined.test.ts index 0ac06940..9d4b5a34 100644 --- a/frontend/packages/common/chat-area/utils/__tests__/update-only-defined.test.ts +++ b/frontend/packages/common/chat-area/utils/__tests__/update-only-defined.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it, vi } from 'vitest'; import { updateOnlyDefined } from '../src/update-only-defined'; diff --git a/frontend/packages/common/chat-area/utils/index.ts b/frontend/packages/common/chat-area/utils/index.ts index 0d281437..49fc3694 100644 --- a/frontend/packages/common/chat-area/utils/index.ts +++ b/frontend/packages/common/chat-area/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { performSimpleObjectTypeCheck } from './src/perform-simple-type-check'; export { typeSafeJsonParse, typeSafeJsonParseEnhanced } from './src/json-parse'; export { getReportError } from './src/get-report-error'; diff --git a/frontend/packages/common/chat-area/utils/src/async.ts b/frontend/packages/common/chat-area/utils/src/async.ts index 0219788d..cd1962f4 100644 --- a/frontend/packages/common/chat-area/utils/src/async.ts +++ b/frontend/packages/common/chat-area/utils/src/async.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const sleep = (t = 0) => new Promise(resolve => setTimeout(resolve, t)); export class Deferred { diff --git a/frontend/packages/common/chat-area/utils/src/collection.ts b/frontend/packages/common/chat-area/utils/src/collection.ts index 2092b1a8..359cdffa 100644 --- a/frontend/packages/common/chat-area/utils/src/collection.ts +++ b/frontend/packages/common/chat-area/utils/src/collection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { safeAsyncThrow } from './safe-async-throw'; export const flatMapByKeyList = ( diff --git a/frontend/packages/common/chat-area/utils/src/exhaustive-check.ts b/frontend/packages/common/chat-area/utils/src/exhaustive-check.ts index 0620e9c1..954baf28 100644 --- a/frontend/packages/common/chat-area/utils/src/exhaustive-check.ts +++ b/frontend/packages/common/chat-area/utils/src/exhaustive-check.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Check for no missing items */ diff --git a/frontend/packages/common/chat-area/utils/src/get-report-error.ts b/frontend/packages/common/chat-area/utils/src/get-report-error.ts index 788aea23..d71b3b7f 100644 --- a/frontend/packages/common/chat-area/utils/src/get-report-error.ts +++ b/frontend/packages/common/chat-area/utils/src/get-report-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; /** diff --git a/frontend/packages/common/chat-area/utils/src/int64.ts b/frontend/packages/common/chat-area/utils/src/int64.ts index 5da705f5..eea7444a 100644 --- a/frontend/packages/common/chat-area/utils/src/int64.ts +++ b/frontend/packages/common/chat-area/utils/src/int64.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import bigInt, { max, min } from 'big-integer'; export const sortInt64CompareFn = (a: string, b: string) => diff --git a/frontend/packages/common/chat-area/utils/src/json-parse.ts b/frontend/packages/common/chat-area/utils/src/json-parse.ts index 01eb2ff4..25550c82 100644 --- a/frontend/packages/common/chat-area/utils/src/json-parse.ts +++ b/frontend/packages/common/chat-area/utils/src/json-parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const typeSafeJsonParse = ( str: string, onParseError: (error: Error) => void, diff --git a/frontend/packages/common/chat-area/utils/src/parse-markdown/parse-markdown-to-text.ts b/frontend/packages/common/chat-area/utils/src/parse-markdown/parse-markdown-to-text.ts index fec7e57a..e98cc4c5 100644 --- a/frontend/packages/common/chat-area/utils/src/parse-markdown/parse-markdown-to-text.ts +++ b/frontend/packages/common/chat-area/utils/src/parse-markdown/parse-markdown-to-text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Text, type Link, type Parent, type Image } from 'mdast'; import { isObject, isUndefined } from 'lodash-es'; /** diff --git a/frontend/packages/common/chat-area/utils/src/perform-simple-type-check.ts b/frontend/packages/common/chat-area/utils/src/perform-simple-type-check.ts index 3d9fd94d..a5741ce6 100644 --- a/frontend/packages/common/chat-area/utils/src/perform-simple-type-check.ts +++ b/frontend/packages/common/chat-area/utils/src/perform-simple-type-check.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNumber, isObject, isString } from 'lodash-es'; type CheckMethodName = 'is-string' | 'is-number'; diff --git a/frontend/packages/common/chat-area/utils/src/rate-limit.ts b/frontend/packages/common/chat-area/utils/src/rate-limit.ts index 54bc5bbb..754ba68a 100644 --- a/frontend/packages/common/chat-area/utils/src/rate-limit.ts +++ b/frontend/packages/common/chat-area/utils/src/rate-limit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { sleep } from './async'; type Fn = (...args: ARGS) => Ret; diff --git a/frontend/packages/common/chat-area/utils/src/safe-async-throw.ts b/frontend/packages/common/chat-area/utils/src/safe-async-throw.ts index d0f8ea54..f2c731d0 100644 --- a/frontend/packages/common/chat-area/utils/src/safe-async-throw.ts +++ b/frontend/packages/common/chat-area/utils/src/safe-async-throw.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Off-line environment blocking; only exception output and asynchronous errors are thrown after build */ diff --git a/frontend/packages/common/chat-area/utils/src/typings.d.ts b/frontend/packages/common/chat-area/utils/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/chat-area/utils/src/typings.d.ts +++ b/frontend/packages/common/chat-area/utils/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/chat-area/utils/src/update-only-defined.ts b/frontend/packages/common/chat-area/utils/src/update-only-defined.ts index bc60d53c..c8b23f87 100644 --- a/frontend/packages/common/chat-area/utils/src/update-only-defined.ts +++ b/frontend/packages/common/chat-area/utils/src/update-only-defined.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isUndefined, omitBy } from 'lodash-es'; /** diff --git a/frontend/packages/common/chat-area/utils/vitest.config.ts b/frontend/packages/common/chat-area/utils/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/chat-area/utils/vitest.config.ts +++ b/frontend/packages/common/chat-area/utils/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/coze-mitt/src/index.ts b/frontend/packages/common/coze-mitt/src/index.ts index 6137906e..bb298ebe 100644 --- a/frontend/packages/common/coze-mitt/src/index.ts +++ b/frontend/packages/common/coze-mitt/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mitt from 'mitt'; /** diff --git a/frontend/packages/common/coze-mitt/src/typings.d.ts b/frontend/packages/common/coze-mitt/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/coze-mitt/src/typings.d.ts +++ b/frontend/packages/common/coze-mitt/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/coze-mitt/vitest.config.ts b/frontend/packages/common/coze-mitt/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/coze-mitt/vitest.config.ts +++ b/frontend/packages/common/coze-mitt/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/editor-plugins/src/action-bar/context/index.ts b/frontend/packages/common/editor-plugins/src/action-bar/context/index.ts index 662dc510..75ca0395 100644 --- a/frontend/packages/common/editor-plugins/src/action-bar/context/index.ts +++ b/frontend/packages/common/editor-plugins/src/action-bar/context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type ActionController, type ActionSize } from '../types'; diff --git a/frontend/packages/common/editor-plugins/src/action-bar/hooks/index.ts b/frontend/packages/common/editor-plugins/src/action-bar/hooks/index.ts index 6a66dc85..76cc2209 100644 --- a/frontend/packages/common/editor-plugins/src/action-bar/hooks/index.ts +++ b/frontend/packages/common/editor-plugins/src/action-bar/hooks/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useActionBarPreference } from './use-action-bar-perference'; diff --git a/frontend/packages/common/editor-plugins/src/action-bar/hooks/use-action-bar-perference.ts b/frontend/packages/common/editor-plugins/src/action-bar/hooks/use-action-bar-perference.ts index de559cab..e7acf2c1 100644 --- a/frontend/packages/common/editor-plugins/src/action-bar/hooks/use-action-bar-perference.ts +++ b/frontend/packages/common/editor-plugins/src/action-bar/hooks/use-action-bar-perference.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { type ActionController, type ActionSize } from '../types'; diff --git a/frontend/packages/common/editor-plugins/src/action-bar/index.ts b/frontend/packages/common/editor-plugins/src/action-bar/index.ts index a976ff54..5d3c1e06 100644 --- a/frontend/packages/common/editor-plugins/src/action-bar/index.ts +++ b/frontend/packages/common/editor-plugins/src/action-bar/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ActionBar } from './ui-component'; export { ActionBarContext } from './context'; export { useActionBarPreference } from './hooks/use-action-bar-perference'; diff --git a/frontend/packages/common/editor-plugins/src/action-bar/types.ts b/frontend/packages/common/editor-plugins/src/action-bar/types.ts index 619e13f6..c6246d48 100644 --- a/frontend/packages/common/editor-plugins/src/action-bar/types.ts +++ b/frontend/packages/common/editor-plugins/src/action-bar/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ButtonProps } from '@coze-arch/coze-design'; export interface ActionController { diff --git a/frontend/packages/common/editor-plugins/src/action-bar/ui-component.tsx b/frontend/packages/common/editor-plugins/src/action-bar/ui-component.tsx index 839da4fa..421093e0 100644 --- a/frontend/packages/common/editor-plugins/src/action-bar/ui-component.tsx +++ b/frontend/packages/common/editor-plugins/src/action-bar/ui-component.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useEffect, diff --git a/frontend/packages/common/editor-plugins/src/actions/copy/index.tsx b/frontend/packages/common/editor-plugins/src/actions/copy/index.tsx index f6b0f726..66978d01 100644 --- a/frontend/packages/common/editor-plugins/src/actions/copy/index.tsx +++ b/frontend/packages/common/editor-plugins/src/actions/copy/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEditor } from '@coze-editor/editor/react'; import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/editor-plugins/src/actions/index.ts b/frontend/packages/common/editor-plugins/src/actions/index.ts index 397f526a..6285db24 100644 --- a/frontend/packages/common/editor-plugins/src/actions/index.ts +++ b/frontend/packages/common/editor-plugins/src/actions/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InsertInputSlotAction } from './insert-input-slot'; export { insertInputSlot } from '../input-slot/action/insert-input-slot-action'; export { CopyAction } from './copy'; diff --git a/frontend/packages/common/editor-plugins/src/actions/insert-input-slot/component.tsx b/frontend/packages/common/editor-plugins/src/actions/insert-input-slot/component.tsx index 8c79ce83..87cec7f5 100644 --- a/frontend/packages/common/editor-plugins/src/actions/insert-input-slot/component.tsx +++ b/frontend/packages/common/editor-plugins/src/actions/insert-input-slot/component.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { useEditor } from '@coze-editor/editor/react'; import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; diff --git a/frontend/packages/common/editor-plugins/src/actions/insert-input-slot/index.tsx b/frontend/packages/common/editor-plugins/src/actions/insert-input-slot/index.tsx index 05326717..684561df 100644 --- a/frontend/packages/common/editor-plugins/src/actions/insert-input-slot/index.tsx +++ b/frontend/packages/common/editor-plugins/src/actions/insert-input-slot/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InsertInputSlotAction } from './component'; diff --git a/frontend/packages/common/editor-plugins/src/expression/core/constant.ts b/frontend/packages/common/editor-plugins/src/expression/core/constant.ts index 30185293..36aa4610 100644 --- a/frontend/packages/common/editor-plugins/src/expression/core/constant.ts +++ b/frontend/packages/common/editor-plugins/src/expression/core/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ExpressionEditorEvent { Change = 'change', Select = 'select', diff --git a/frontend/packages/common/editor-plugins/src/expression/core/index.ts b/frontend/packages/common/editor-plugins/src/expression/core/index.ts index 69f4f6b5..20d40df8 100644 --- a/frontend/packages/common/editor-plugins/src/expression/core/index.ts +++ b/frontend/packages/common/editor-plugins/src/expression/core/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ExpressionEditorEvent, ExpressionEditorToken, diff --git a/frontend/packages/common/editor-plugins/src/expression/core/parser/index.test.ts b/frontend/packages/common/editor-plugins/src/expression/core/parser/index.test.ts index cf2848a2..4d232eac 100644 --- a/frontend/packages/common/editor-plugins/src/expression/core/parser/index.test.ts +++ b/frontend/packages/common/editor-plugins/src/expression/core/parser/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { type ExpressionEditorParseData } from '../type'; import { ExpressionEditorSegmentType } from '../constant'; diff --git a/frontend/packages/common/editor-plugins/src/expression/core/parser/index.ts b/frontend/packages/common/editor-plugins/src/expression/core/parser/index.ts index 42e64fe8..eefb33ed 100644 --- a/frontend/packages/common/editor-plugins/src/expression/core/parser/index.ts +++ b/frontend/packages/common/editor-plugins/src/expression/core/parser/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ import type { diff --git a/frontend/packages/common/editor-plugins/src/expression/core/tree-helper/index.test.ts b/frontend/packages/common/editor-plugins/src/expression/core/tree-helper/index.test.ts index 55c783a6..7dc6c8b2 100644 --- a/frontend/packages/common/editor-plugins/src/expression/core/tree-helper/index.test.ts +++ b/frontend/packages/common/editor-plugins/src/expression/core/tree-helper/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/consistent-type-assertions */ import { describe, it, beforeEach, expect } from 'vitest'; diff --git a/frontend/packages/common/editor-plugins/src/expression/core/tree-helper/index.ts b/frontend/packages/common/editor-plugins/src/expression/core/tree-helper/index.ts index 476982c7..4b7c96d0 100644 --- a/frontend/packages/common/editor-plugins/src/expression/core/tree-helper/index.ts +++ b/frontend/packages/common/editor-plugins/src/expression/core/tree-helper/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable @typescript-eslint/no-magic-numbers */ diff --git a/frontend/packages/common/editor-plugins/src/expression/core/type.ts b/frontend/packages/common/editor-plugins/src/expression/core/type.ts index cc2b0dc8..784ffc92 100644 --- a/frontend/packages/common/editor-plugins/src/expression/core/type.ts +++ b/frontend/packages/common/editor-plugins/src/expression/core/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { TreeNodeData } from '@coze-arch/bot-semi/Tree'; import { type ViewVariableType as VariableType } from '../variable-types'; diff --git a/frontend/packages/common/editor-plugins/src/expression/highlight/index.tsx b/frontend/packages/common/editor-plugins/src/expression/highlight/index.tsx index ad80a361..42daa192 100644 --- a/frontend/packages/common/editor-plugins/src/expression/highlight/index.tsx +++ b/frontend/packages/common/editor-plugins/src/expression/highlight/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect } from 'react'; import { useInjector } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/expression/index.ts b/frontend/packages/common/editor-plugins/src/expression/index.ts index 17644ac4..3e2407d3 100644 --- a/frontend/packages/common/editor-plugins/src/expression/index.ts +++ b/frontend/packages/common/editor-plugins/src/expression/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Popover as Completion } from './popover'; export { Validation } from './validation'; export { HighlightExpressionOnActive } from './highlight'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/index.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/index.ts index a67b0bbd..0998bd6f 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/index.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useInterpolationContent } from './use-interpolation-content'; export { useCharacterTriggerContext } from './use-character-trigger-context'; export { useEmptyContent } from './use-empty-content'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/types.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/types.ts index 11318983..7c23ebc3 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/types.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface CompletionContext { from: number; to: number; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-character-trigger-context.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-character-trigger-context.ts index 14021fe5..31307c3e 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-character-trigger-context.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-character-trigger-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint @coze-arch/max-line-per-function: "warn" */ import { useLayoutEffect, useState } from 'react'; @@ -148,9 +148,9 @@ function useCharacterTriggerContext(disableUpdateTrigger?: boolean) { { from: tr.changes.from, to: tr.changes.to, - insert: `${ - hasExtraLeftBrace ? '' : '{' - }${tr.changes.insert}}}`, + insert: `${hasExtraLeftBrace ? '' : '{'}${ + tr.changes.insert + }}}`, }, ], selection: EditorSelection.cursor( diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-drill-variable-tree.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-drill-variable-tree.ts index 5fe27058..b8513045 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-drill-variable-tree.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-drill-variable-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-empty-content.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-empty-content.ts index afeece64..f38ff255 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-empty-content.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-empty-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-filtered-variable-tree.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-filtered-variable-tree.ts index 704020a5..2649b2cf 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-filtered-variable-tree.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-filtered-variable-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { getSearchValue } from '../../shared'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-focused.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-focused.ts index 77ee3a54..b03bc524 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-focused.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-focused.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { type EditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-interpolation-content.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-interpolation-content.ts index f3b90b7f..8f87fa14 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-interpolation-content.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-interpolation-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-keyboard.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-keyboard.ts index e36358e2..6522f9a1 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-keyboard.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-keyboard.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useLatest } from '../../shared'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-options-operations.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-options-operations.ts index 5ab2728f..af1e5ee4 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-options-operations.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-options-operations.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-selected-value.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-selected-value.ts index 5c4d4709..0987b1ae 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-selected-value.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-selected-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { ExpressionEditorParserBuiltin } from '../../core/parser'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-selection.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-selection.ts index 11e8fe47..4ce4a8aa 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-selection.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-selection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-tree.ts b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-tree.ts index d68ccf89..4fb39126 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-tree.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/hooks/use-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, type MutableRefObject } from 'react'; import { type Tree } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/index.ts b/frontend/packages/common/editor-plugins/src/expression/popover/index.ts index 734a4ac3..516abc29 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/index.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Popover } from './popover'; diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/popover.tsx b/frontend/packages/common/editor-plugins/src/expression/popover/popover.tsx index 0970e1d2..cb741393 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/popover.tsx +++ b/frontend/packages/common/editor-plugins/src/expression/popover/popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, forwardRef, diff --git a/frontend/packages/common/editor-plugins/src/expression/popover/shared.ts b/frontend/packages/common/editor-plugins/src/expression/popover/shared.ts index a6545e5e..06cb58aa 100644 --- a/frontend/packages/common/editor-plugins/src/expression/popover/shared.ts +++ b/frontend/packages/common/editor-plugins/src/expression/popover/shared.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; import { getFlags } from '@coze-arch/bot-flags'; import { diff --git a/frontend/packages/common/editor-plugins/src/expression/shared.ts b/frontend/packages/common/editor-plugins/src/expression/shared.ts index 5736375f..436f8da7 100644 --- a/frontend/packages/common/editor-plugins/src/expression/shared.ts +++ b/frontend/packages/common/editor-plugins/src/expression/shared.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useRef, diff --git a/frontend/packages/common/editor-plugins/src/expression/validation/index.tsx b/frontend/packages/common/editor-plugins/src/expression/validation/index.tsx index 8485e633..91109067 100644 --- a/frontend/packages/common/editor-plugins/src/expression/validation/index.tsx +++ b/frontend/packages/common/editor-plugins/src/expression/validation/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useLayoutEffect } from 'react'; import { useEditor, useInjector } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/expression/validation/validate.ts b/frontend/packages/common/editor-plugins/src/expression/validation/validate.ts index 387cb1d3..43eb068c 100644 --- a/frontend/packages/common/editor-plugins/src/expression/validation/validate.ts +++ b/frontend/packages/common/editor-plugins/src/expression/validation/validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ExpressionEditorParserBuiltin } from '../core/parser'; import { ExpressionEditorSegmentType, diff --git a/frontend/packages/common/editor-plugins/src/expression/variable-types.ts b/frontend/packages/common/editor-plugins/src/expression/variable-types.ts index 8a9f4eff..338575d7 100644 --- a/frontend/packages/common/editor-plugins/src/expression/variable-types.ts +++ b/frontend/packages/common/editor-plugins/src/expression/variable-types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // modified from @coze-workflow/nodes /* eslint-disable @typescript-eslint/naming-convention */ diff --git a/frontend/packages/common/editor-plugins/src/index.tsx b/frontend/packages/common/editor-plugins/src/index.tsx index b486030c..68144b0e 100644 --- a/frontend/packages/common/editor-plugins/src/index.tsx +++ b/frontend/packages/common/editor-plugins/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type Extension } from './types'; diff --git a/frontend/packages/common/editor-plugins/src/input-slot/action/insert-input-slot-action.ts b/frontend/packages/common/editor-plugins/src/input-slot/action/insert-input-slot-action.ts index 792f99a8..022cffac 100644 --- a/frontend/packages/common/editor-plugins/src/input-slot/action/insert-input-slot-action.ts +++ b/frontend/packages/common/editor-plugins/src/input-slot/action/insert-input-slot-action.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; import { I18n } from '@coze-arch/i18n'; import { EditorSelection } from '@codemirror/state'; diff --git a/frontend/packages/common/editor-plugins/src/input-slot/hooks/use-in-input-slot.ts b/frontend/packages/common/editor-plugins/src/input-slot/hooks/use-in-input-slot.ts index fc7da431..1516d59d 100644 --- a/frontend/packages/common/editor-plugins/src/input-slot/hooks/use-in-input-slot.ts +++ b/frontend/packages/common/editor-plugins/src/input-slot/hooks/use-in-input-slot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useEditor } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/input-slot/hooks/use-in-jinja-raw.ts b/frontend/packages/common/editor-plugins/src/input-slot/hooks/use-in-jinja-raw.ts index f42ab189..1e062c42 100644 --- a/frontend/packages/common/editor-plugins/src/input-slot/hooks/use-in-jinja-raw.ts +++ b/frontend/packages/common/editor-plugins/src/input-slot/hooks/use-in-jinja-raw.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useEditor } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/input-slot/index.ts b/frontend/packages/common/editor-plugins/src/input-slot/index.ts index ff11deed..a1843bf3 100644 --- a/frontend/packages/common/editor-plugins/src/input-slot/index.ts +++ b/frontend/packages/common/editor-plugins/src/input-slot/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputSlotWidget } from './input-slot-widget'; export { insertInputSlot } from './action/insert-input-slot-action'; export { diff --git a/frontend/packages/common/editor-plugins/src/input-slot/input-config-popover/index.tsx b/frontend/packages/common/editor-plugins/src/input-slot/input-config-popover/index.tsx index e69a84be..bdab40be 100644 --- a/frontend/packages/common/editor-plugins/src/input-slot/input-config-popover/index.tsx +++ b/frontend/packages/common/editor-plugins/src/input-slot/input-config-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { PositionMirror } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/input-slot/input-slot-widget/config-mode-popover.tsx b/frontend/packages/common/editor-plugins/src/input-slot/input-slot-widget/config-mode-popover.tsx index d125bd5a..cb70f585 100644 --- a/frontend/packages/common/editor-plugins/src/input-slot/input-slot-widget/config-mode-popover.tsx +++ b/frontend/packages/common/editor-plugins/src/input-slot/input-slot-widget/config-mode-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useEditor } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/input-slot/input-slot-widget/index.tsx b/frontend/packages/common/editor-plugins/src/input-slot/input-slot-widget/index.tsx index 759358f1..480c5a09 100644 --- a/frontend/packages/common/editor-plugins/src/input-slot/input-slot-widget/index.tsx +++ b/frontend/packages/common/editor-plugins/src/input-slot/input-slot-widget/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConfigModeWidgetPopover } from './config-mode-popover'; import './index.css'; diff --git a/frontend/packages/common/editor-plugins/src/language-support/index.ts b/frontend/packages/common/editor-plugins/src/language-support/index.ts index 01be379d..6678d0d0 100644 --- a/frontend/packages/common/editor-plugins/src/language-support/index.ts +++ b/frontend/packages/common/editor-plugins/src/language-support/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect } from 'react'; import { useInjector } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/assets/index.ts b/frontend/packages/common/editor-plugins/src/library-insert/assets/index.ts index 17fb93dc..04713fc4 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/assets/index.ts +++ b/frontend/packages/common/editor-plugins/src/library-insert/assets/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as pluginIcon } from './plugin.svg'; export { default as workflowIcon } from './workflow.svg'; export { default as imageflowIcon } from './imageflow.svg'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/hooks/use-keymap.ts b/frontend/packages/common/editor-plugins/src/library-insert/hooks/use-keymap.ts index 9c0eabdc..2fd5773f 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/hooks/use-keymap.ts +++ b/frontend/packages/common/editor-plugins/src/library-insert/hooks/use-keymap.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect } from 'react'; import { useInjector } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/index.ts b/frontend/packages/common/editor-plugins/src/library-insert/index.ts index e5450033..42e85535 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/index.ts +++ b/frontend/packages/common/editor-plugins/src/library-insert/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LibraryBlockWidget } from './library-block-widget'; export { LibrarySearchPopover } from './library-search-popover'; export { diff --git a/frontend/packages/common/editor-plugins/src/library-insert/library-block-widget/index.tsx b/frontend/packages/common/editor-plugins/src/library-insert/library-block-widget/index.tsx index f72aa557..4bdceff4 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/library-block-widget/index.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/library-block-widget/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useLayoutEffect, useRef } from 'react'; import { useInjector, useEditor } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/library-block-widget/library-block-widget-type.tsx b/frontend/packages/common/editor-plugins/src/library-insert/library-block-widget/library-block-widget-type.tsx index 9c2d1077..ffbb19dc 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/library-block-widget/library-block-widget-type.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/library-block-widget/library-block-widget-type.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, useLayoutEffect, useState } from 'react'; import { type Root, createRoot } from 'react-dom/client'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/actions/add-library-action.tsx b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/actions/add-library-action.tsx index e6257130..a55e1640 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/actions/add-library-action.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/actions/add-library-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/actions/rename-library-action.tsx b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/actions/rename-library-action.tsx index 07fe1a2e..a4b603b0 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/actions/rename-library-action.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/actions/rename-library-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject } from 'react'; import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/index.tsx b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/index.tsx index e81152c2..304f3836 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/index.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/library-item.tsx b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/library-item.tsx index cec8d46c..848536c4 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/library-item.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/library-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/library-list.tsx b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/library-list.tsx index ce4c0695..6ab85a14 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/library-list.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/library-search-popover/library-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/types.ts b/frontend/packages/common/editor-plugins/src/library-insert/types.ts index 117f9cf6..e2f3a49a 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/types.ts +++ b/frontend/packages/common/editor-plugins/src/library-insert/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PromptReferenceType, type PromptReferenceInfo, diff --git a/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-info.ts b/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-info.ts index 9dc4b31d..980ec2e2 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-info.ts +++ b/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { merge } from 'lodash-es'; import { diff --git a/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-status.tsx b/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-status.tsx index 39cf88b4..e42e5bd9 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-status.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-status.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ILibraryList, type LibraryBlockInfo } from '../types'; import { findTargetLibrary, isLibraryNameOutDate } from './library-validate'; interface LibraryBlockTooltipProps { diff --git a/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-tooltip.tsx b/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-tooltip.tsx index 06601551..a58505b0 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-tooltip.tsx +++ b/frontend/packages/common/editor-plugins/src/library-insert/utils/get-library-tooltip.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject } from 'react'; import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; diff --git a/frontend/packages/common/editor-plugins/src/library-insert/utils/library-validate.ts b/frontend/packages/common/editor-plugins/src/library-insert/utils/library-validate.ts index d08b879a..873da44b 100644 --- a/frontend/packages/common/editor-plugins/src/library-insert/utils/library-validate.ts +++ b/frontend/packages/common/editor-plugins/src/library-insert/utils/library-validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PlaygroundApi } from '@coze-arch/bot-api'; import { diff --git a/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/index.tsx b/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/index.tsx index da00bea0..ec51b3eb 100644 --- a/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/index.tsx +++ b/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState } from 'react'; import { diff --git a/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/library/use-library-list.tsx b/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/library/use-library-list.tsx index e12de474..d0cff855 100644 --- a/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/library/use-library-list.tsx +++ b/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/library/use-library-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useMemo, useRef } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/library/use-options-operations.tsx b/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/library/use-options-operations.tsx index 532baca0..17cef9d5 100644 --- a/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/library/use-options-operations.tsx +++ b/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/library/use-options-operations.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject } from 'react'; import styles from '../style.module.less'; diff --git a/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/variable/use-variables-tree.tsx b/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/variable/use-variables-tree.tsx index 47007788..0983ed2b 100644 --- a/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/variable/use-variables-tree.tsx +++ b/frontend/packages/common/editor-plugins/src/library-variable-insert/content-search-popover/variable/use-variables-tree.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import React, { useCallback, useRef } from 'react'; diff --git a/frontend/packages/common/editor-plugins/src/library-variable-insert/index.ts b/frontend/packages/common/editor-plugins/src/library-variable-insert/index.ts index 12de0068..87539aea 100644 --- a/frontend/packages/common/editor-plugins/src/library-variable-insert/index.ts +++ b/frontend/packages/common/editor-plugins/src/library-variable-insert/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ContentSearchPopover } from './content-search-popover'; export type { ContentSearchPopoverProps } from './types'; diff --git a/frontend/packages/common/editor-plugins/src/library-variable-insert/types.ts b/frontend/packages/common/editor-plugins/src/library-variable-insert/types.ts index 66121b5b..16633a15 100644 --- a/frontend/packages/common/editor-plugins/src/library-variable-insert/types.ts +++ b/frontend/packages/common/editor-plugins/src/library-variable-insert/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps } from 'react'; import { type Popover } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/editor-plugins/src/shared/hooks/use-editor-readonly.ts b/frontend/packages/common/editor-plugins/src/shared/hooks/use-editor-readonly.ts index c727fdd9..e92d348d 100644 --- a/frontend/packages/common/editor-plugins/src/shared/hooks/use-editor-readonly.ts +++ b/frontend/packages/common/editor-plugins/src/shared/hooks/use-editor-readonly.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useEditor } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/shared/utils/template-parser.ts b/frontend/packages/common/editor-plugins/src/shared/utils/template-parser.ts index 2f25f6e3..cf3c7d6f 100644 --- a/frontend/packages/common/editor-plugins/src/shared/utils/template-parser.ts +++ b/frontend/packages/common/editor-plugins/src/shared/utils/template-parser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SyntaxNode } from '@lezer/common'; import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; import { type SelectionEnlargerSpec } from '@coze-editor/editor'; diff --git a/frontend/packages/common/editor-plugins/src/syntax-highlight/index.ts b/frontend/packages/common/editor-plugins/src/syntax-highlight/index.ts index 56f63c17..4022fbd3 100644 --- a/frontend/packages/common/editor-plugins/src/syntax-highlight/index.ts +++ b/frontend/packages/common/editor-plugins/src/syntax-highlight/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Markdown } from './markdown'; import { Jinja } from './jinja'; diff --git a/frontend/packages/common/editor-plugins/src/syntax-highlight/jinja.tsx b/frontend/packages/common/editor-plugins/src/syntax-highlight/jinja.tsx index 170c8bbb..02a1f764 100644 --- a/frontend/packages/common/editor-plugins/src/syntax-highlight/jinja.tsx +++ b/frontend/packages/common/editor-plugins/src/syntax-highlight/jinja.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect } from 'react'; import { useInjector } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/syntax-highlight/markdown.tsx b/frontend/packages/common/editor-plugins/src/syntax-highlight/markdown.tsx index f4047650..1c0511c6 100644 --- a/frontend/packages/common/editor-plugins/src/syntax-highlight/markdown.tsx +++ b/frontend/packages/common/editor-plugins/src/syntax-highlight/markdown.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect } from 'react'; import { useInjector } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/theme/index.ts b/frontend/packages/common/editor-plugins/src/theme/index.ts index fe968e6b..f7ccc785 100644 --- a/frontend/packages/common/editor-plugins/src/theme/index.ts +++ b/frontend/packages/common/editor-plugins/src/theme/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ThemeExtension } from './theme-extension'; diff --git a/frontend/packages/common/editor-plugins/src/theme/theme-extension.tsx b/frontend/packages/common/editor-plugins/src/theme/theme-extension.tsx index 697ed466..f16a0e15 100644 --- a/frontend/packages/common/editor-plugins/src/theme/theme-extension.tsx +++ b/frontend/packages/common/editor-plugins/src/theme/theme-extension.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect } from 'react'; import { useInjector } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/editor-plugins/src/types.ts b/frontend/packages/common/editor-plugins/src/types.ts index 66f6719e..adb28749 100644 --- a/frontend/packages/common/editor-plugins/src/types.ts +++ b/frontend/packages/common/editor-plugins/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type Extension = | { extension: Extension; diff --git a/frontend/packages/common/editor-plugins/src/typings.d.ts b/frontend/packages/common/editor-plugins/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/editor-plugins/src/typings.d.ts +++ b/frontend/packages/common/editor-plugins/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/editor-plugins/tailwind.config.ts b/frontend/packages/common/editor-plugins/tailwind.config.ts index a175da22..ce2eaf1f 100644 --- a/frontend/packages/common/editor-plugins/tailwind.config.ts +++ b/frontend/packages/common/editor-plugins/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/common/editor-plugins/vitest.config.ts b/frontend/packages/common/editor-plugins/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/editor-plugins/vitest.config.ts +++ b/frontend/packages/common/editor-plugins/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/flowgram-adapter/common/src/index.ts b/frontend/packages/common/flowgram-adapter/common/src/index.ts index 99440d86..b2861bee 100644 --- a/frontend/packages/common/flowgram-adapter/common/src/index.ts +++ b/frontend/packages/common/flowgram-adapter/common/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; export { useObserve, ReactiveState } from '@flowgram.ai/reactive'; export { diff --git a/frontend/packages/common/flowgram-adapter/common/vitest.config.ts b/frontend/packages/common/flowgram-adapter/common/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/flowgram-adapter/common/vitest.config.ts +++ b/frontend/packages/common/flowgram-adapter/common/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/flowgram-adapter/fixed-layout-editor/src/css-load.ts b/frontend/packages/common/flowgram-adapter/fixed-layout-editor/src/css-load.ts index 0ab23d6a..6ef266f8 100644 --- a/frontend/packages/common/flowgram-adapter/fixed-layout-editor/src/css-load.ts +++ b/frontend/packages/common/flowgram-adapter/fixed-layout-editor/src/css-load.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@flowgram.ai/fixed-layout-editor/index.css'; diff --git a/frontend/packages/common/flowgram-adapter/fixed-layout-editor/src/index.ts b/frontend/packages/common/flowgram-adapter/fixed-layout-editor/src/index.ts index 5bb135fb..19e551c6 100644 --- a/frontend/packages/common/flowgram-adapter/fixed-layout-editor/src/index.ts +++ b/frontend/packages/common/flowgram-adapter/fixed-layout-editor/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; export { type FlowNodeEntity, diff --git a/frontend/packages/common/flowgram-adapter/fixed-layout-editor/vitest.config.ts b/frontend/packages/common/flowgram-adapter/fixed-layout-editor/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/flowgram-adapter/fixed-layout-editor/vitest.config.ts +++ b/frontend/packages/common/flowgram-adapter/fixed-layout-editor/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/css-load.ts b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/css-load.ts index 55a973f2..54b9d8bc 100644 --- a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/css-load.ts +++ b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/css-load.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@flowgram.ai/free-layout-editor/index.css'; diff --git a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/deprecated.ts b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/deprecated.ts index 71950f03..4ec4a503 100644 --- a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/deprecated.ts +++ b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/deprecated.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @deprecated * @param val diff --git a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/index.ts b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/index.ts index 9fa2dbf3..e7df6ddc 100644 --- a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/index.ts +++ b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; export { FlowMinimapService, diff --git a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/use-entity.ts b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/use-entity.ts index 91460d2e..95e89038 100644 --- a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/use-entity.ts +++ b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/use-entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect } from 'react'; import { diff --git a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/workflow-json-format.ts b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/workflow-json-format.ts index 71965754..2b7b084d 100644 --- a/frontend/packages/common/flowgram-adapter/free-layout-editor/src/workflow-json-format.ts +++ b/frontend/packages/common/flowgram-adapter/free-layout-editor/src/workflow-json-format.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowJSON, type WorkflowDocument, diff --git a/frontend/packages/common/flowgram-adapter/free-layout-editor/vitest.config.ts b/frontend/packages/common/flowgram-adapter/free-layout-editor/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/flowgram-adapter/free-layout-editor/vitest.config.ts +++ b/frontend/packages/common/flowgram-adapter/free-layout-editor/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/md-editor-adapter/src/editor.tsx b/frontend/packages/common/md-editor-adapter/src/editor.tsx index c99bd0c6..a5f7f127 100644 --- a/frontend/packages/common/md-editor-adapter/src/editor.tsx +++ b/frontend/packages/common/md-editor-adapter/src/editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useRef, diff --git a/frontend/packages/common/md-editor-adapter/src/index.tsx b/frontend/packages/common/md-editor-adapter/src/index.tsx index f00a9ebc..0270ab95 100644 --- a/frontend/packages/common/md-editor-adapter/src/index.tsx +++ b/frontend/packages/common/md-editor-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-extraneous-class */ /* eslint-disable @typescript-eslint/no-explicit-any */ diff --git a/frontend/packages/common/md-editor-adapter/src/types.ts b/frontend/packages/common/md-editor-adapter/src/types.ts index 192b2ff6..74a90661 100644 --- a/frontend/packages/common/md-editor-adapter/src/types.ts +++ b/frontend/packages/common/md-editor-adapter/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { type CSSProperties } from 'react'; diff --git a/frontend/packages/common/md-editor-adapter/src/typings.d.ts b/frontend/packages/common/md-editor-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/md-editor-adapter/src/typings.d.ts +++ b/frontend/packages/common/md-editor-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/md-editor-adapter/src/utils.ts b/frontend/packages/common/md-editor-adapter/src/utils.ts index 068ebe93..b512515f 100644 --- a/frontend/packages/common/md-editor-adapter/src/utils.ts +++ b/frontend/packages/common/md-editor-adapter/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type Delta, type Editor } from './types'; diff --git a/frontend/packages/common/md-editor-adapter/stories/demo.stories.tsx b/frontend/packages/common/md-editor-adapter/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/common/md-editor-adapter/stories/demo.stories.tsx +++ b/frontend/packages/common/md-editor-adapter/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/common/md-editor-adapter/vitest.config.ts b/frontend/packages/common/md-editor-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/md-editor-adapter/vitest.config.ts +++ b/frontend/packages/common/md-editor-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/prompt-kit/adapter/src/create-prompt/index.tsx b/frontend/packages/common/prompt-kit/adapter/src/create-prompt/index.tsx index 6c1bde9e..22ae0dbe 100644 --- a/frontend/packages/common/prompt-kit/adapter/src/create-prompt/index.tsx +++ b/frontend/packages/common/prompt-kit/adapter/src/create-prompt/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePromptConfiguratorModal } from './use-modal'; export { PromptConfiguratorModal } from './prompt-configurator-modal'; diff --git a/frontend/packages/common/prompt-kit/adapter/src/create-prompt/prompt-configurator-modal.tsx b/frontend/packages/common/prompt-kit/adapter/src/create-prompt/prompt-configurator-modal.tsx index e8720c1c..cc48d231 100644 --- a/frontend/packages/common/prompt-kit/adapter/src/create-prompt/prompt-configurator-modal.tsx +++ b/frontend/packages/common/prompt-kit/adapter/src/create-prompt/prompt-configurator-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCursorInInputSlot } from '@coze-common/editor-plugins/input-slot'; import { PromptConfiguratorModal as BasePromptConfiguratorModal, diff --git a/frontend/packages/common/prompt-kit/adapter/src/create-prompt/use-modal.tsx b/frontend/packages/common/prompt-kit/adapter/src/create-prompt/use-modal.tsx index da2fad28..66ae1d7d 100644 --- a/frontend/packages/common/prompt-kit/adapter/src/create-prompt/use-modal.tsx +++ b/frontend/packages/common/prompt-kit/adapter/src/create-prompt/use-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { usePromptConfiguratorModal as BaseUsePromptConfiguratorModal, type UsePromptConfiguratorModalProps, diff --git a/frontend/packages/common/prompt-kit/adapter/src/index.tsx b/frontend/packages/common/prompt-kit/adapter/src/index.tsx index 8abad6a6..db473395 100644 --- a/frontend/packages/common/prompt-kit/adapter/src/index.tsx +++ b/frontend/packages/common/prompt-kit/adapter/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePromptConfiguratorModal } from './create-prompt'; diff --git a/frontend/packages/common/prompt-kit/adapter/src/typings.d.ts b/frontend/packages/common/prompt-kit/adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/prompt-kit/adapter/src/typings.d.ts +++ b/frontend/packages/common/prompt-kit/adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/prompt-kit/adapter/stories/demo.stories.tsx b/frontend/packages/common/prompt-kit/adapter/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/common/prompt-kit/adapter/stories/demo.stories.tsx +++ b/frontend/packages/common/prompt-kit/adapter/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/common/prompt-kit/adapter/vitest.config.ts b/frontend/packages/common/prompt-kit/adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/prompt-kit/adapter/vitest.config.ts +++ b/frontend/packages/common/prompt-kit/adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/close-modal.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/close-modal.tsx index af50c3c1..10dd963b 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/close-modal.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/close-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/index.ts b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/index.ts index d10428dc..e7b71f7b 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/index.ts +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CloseModal } from './close-modal'; export { SavePrompt } from './save-prompt'; export { PromptDiff } from './prompt-diff'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/prompt-diff.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/prompt-diff.tsx index 003580e8..855343dd 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/prompt-diff.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/prompt-diff.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; import { I18n } from '@coze-arch/i18n'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/save-prompt.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/save-prompt.tsx index c1169f56..d528ea5d 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/save-prompt.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/footer-actions/save-prompt.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Button } from '@coze-arch/coze-design'; interface SavePromptProps { diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/header.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/header.tsx index 4a197732..51869a8b 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/header.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozEdit } from '@coze-arch/coze-design/icons'; import { Tooltip, Divider, IconButton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/insert-input-slot.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/insert-input-slot.tsx index 02925fc1..7a4b3f31 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/insert-input-slot.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/insert-input-slot.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect, type PropsWithChildren } from 'react'; import { useLocalStorageState } from 'ahooks'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/placeholder/import-prompt-when-empty.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/placeholder/import-prompt-when-empty.tsx index 3bbc41c7..5985f011 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/placeholder/import-prompt-when-empty.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/placeholder/import-prompt-when-empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEditor } from '@coze-editor/editor/react'; import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/prompt-info-input.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/prompt-info-input.tsx index 35780447..ef06ed97 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/components/prompt-info-input.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/components/prompt-info-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, type ComponentProps } from 'react'; import { withField, FormInput, FormTextArea } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/context/index.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/context/index.tsx index 912f8362..94aab7e9 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/context/index.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/context/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type FormApi } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/index.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/index.tsx index cad916bc..419246ad 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/index.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePromptConfiguratorModal } from './use-modal'; export type { PromptConfiguratorModalProps } from './types'; export { ImportPromptWhenEmptyPlaceholder } from './components/placeholder/import-prompt-when-empty'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/prompt-configurator-modal.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/prompt-configurator-modal.tsx index 5b55d9bc..eed6e591 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/prompt-configurator-modal.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/prompt-configurator-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers */ /* eslint-disable max-lines-per-function */ import { useEffect, useRef, Suspense, lazy, useState } from 'react'; diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/types.ts b/frontend/packages/common/prompt-kit/base/src/create-prompt/types.ts index 12e0d94f..8b0ee5e9 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/types.ts +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ModalProps } from '@coze-arch/coze-design'; export interface PromptContextInfo { diff --git a/frontend/packages/common/prompt-kit/base/src/create-prompt/use-modal.tsx b/frontend/packages/common/prompt-kit/base/src/create-prompt/use-modal.tsx index 06c6a9dd..66da428a 100644 --- a/frontend/packages/common/prompt-kit/base/src/create-prompt/use-modal.tsx +++ b/frontend/packages/common/prompt-kit/base/src/create-prompt/use-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { useState } from 'react'; diff --git a/frontend/packages/common/prompt-kit/base/src/editor/context/index.tsx b/frontend/packages/common/prompt-kit/base/src/editor/context/index.tsx index 1e87d7b2..b03e9334 100644 --- a/frontend/packages/common/prompt-kit/base/src/editor/context/index.tsx +++ b/frontend/packages/common/prompt-kit/base/src/editor/context/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { EditorProvider } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/prompt-kit/base/src/editor/index.tsx b/frontend/packages/common/prompt-kit/base/src/editor/index.tsx index 351279b5..6fa27530 100644 --- a/frontend/packages/common/prompt-kit/base/src/editor/index.tsx +++ b/frontend/packages/common/prompt-kit/base/src/editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PromptEditorRender } from './render'; export { PromptEditorProvider } from './context'; export { useEditor, ActiveLinePlaceholder } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/prompt-kit/base/src/editor/render.tsx b/frontend/packages/common/prompt-kit/base/src/editor/render.tsx index c5ea13cb..727f544b 100644 --- a/frontend/packages/common/prompt-kit/base/src/editor/render.tsx +++ b/frontend/packages/common/prompt-kit/base/src/editor/render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useEffect, type ReactNode, useMemo } from 'react'; import { merge } from 'lodash-es'; diff --git a/frontend/packages/common/prompt-kit/base/src/index.tsx b/frontend/packages/common/prompt-kit/base/src/index.tsx index b8943775..55ceaab7 100644 --- a/frontend/packages/common/prompt-kit/base/src/index.tsx +++ b/frontend/packages/common/prompt-kit/base/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PromptEditorRender } from './editor/render'; export { PromptEditorProvider } from './editor/context'; export type { PromptEditorRenderProps } from './editor/render'; diff --git a/frontend/packages/common/prompt-kit/base/src/shared/hooks/use-editor-readonly.ts b/frontend/packages/common/prompt-kit/base/src/shared/hooks/use-editor-readonly.ts index c727fdd9..e92d348d 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/hooks/use-editor-readonly.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/hooks/use-editor-readonly.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useEditor } from '@coze-editor/editor/react'; diff --git a/frontend/packages/common/prompt-kit/base/src/shared/hooks/use-set-session-visible-persist.ts b/frontend/packages/common/prompt-kit/base/src/shared/hooks/use-set-session-visible-persist.ts index 9a412ae4..8e3484ea 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/hooks/use-set-session-visible-persist.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/hooks/use-set-session-visible-persist.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { localStorageService } from '@coze-foundation/local-storage'; diff --git a/frontend/packages/common/prompt-kit/base/src/shared/index.tsx b/frontend/packages/common/prompt-kit/base/src/shared/index.tsx index 42f5048f..7bd7a639 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/index.tsx +++ b/frontend/packages/common/prompt-kit/base/src/shared/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createFreeGrabModalHierarchyStore, type FreeGrabModalHierarchyStore, diff --git a/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/index.ts b/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/index.ts index bf3442c6..79b6d43d 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/index.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ModalHierarchyServiceConstructor } from './type'; import { type FreeGrabModalHierarchyAction } from './store'; diff --git a/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/store.ts b/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/store.ts index 51267a3c..11b94b20 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/store.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/type.ts b/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/type.ts index 0a7505a5..bded5a8e 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/type.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/service/free-grab-modal-hierarchy-service/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FreeGrabModalHierarchyAction } from './store'; export interface ModalHierarchyServiceConstructor { diff --git a/frontend/packages/common/prompt-kit/base/src/shared/types/index.ts b/frontend/packages/common/prompt-kit/base/src/shared/types/index.ts index 26286ae8..900f805c 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/types/index.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/types/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type PromptContextInfo } from './prompt'; diff --git a/frontend/packages/common/prompt-kit/base/src/shared/types/prompt.ts b/frontend/packages/common/prompt-kit/base/src/shared/types/prompt.ts index 67a2882b..251b07ef 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/types/prompt.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/types/prompt.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface PromptContextInfo { botId?: string; name?: string; diff --git a/frontend/packages/common/prompt-kit/base/src/shared/utils/insert-to-newline.ts b/frontend/packages/common/prompt-kit/base/src/shared/utils/insert-to-newline.ts index e20b406e..56b3d43f 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/utils/insert-to-newline.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/utils/insert-to-newline.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; export const insertToNewline = async ({ diff --git a/frontend/packages/common/prompt-kit/base/src/shared/utils/rect.ts b/frontend/packages/common/prompt-kit/base/src/shared/utils/rect.ts index 75ce8bd4..83cb09d4 100644 --- a/frontend/packages/common/prompt-kit/base/src/shared/utils/rect.ts +++ b/frontend/packages/common/prompt-kit/base/src/shared/utils/rect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; export const getSelectionBoundary = (editor: EditorAPI) => { diff --git a/frontend/packages/common/prompt-kit/base/src/theme/default.ts b/frontend/packages/common/prompt-kit/base/src/theme/default.ts index ba1d0419..1b53f360 100644 --- a/frontend/packages/common/prompt-kit/base/src/theme/default.ts +++ b/frontend/packages/common/prompt-kit/base/src/theme/default.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Extension } from '@coze-common/editor-plugins/types'; import { EditorView } from '@codemirror/view'; diff --git a/frontend/packages/common/prompt-kit/base/src/typings.d.ts b/frontend/packages/common/prompt-kit/base/src/typings.d.ts index 0e4723b3..6eac7feb 100644 --- a/frontend/packages/common/prompt-kit/base/src/typings.d.ts +++ b/frontend/packages/common/prompt-kit/base/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_OVERSEA: boolean; diff --git a/frontend/packages/common/prompt-kit/base/stories/demo.stories.tsx b/frontend/packages/common/prompt-kit/base/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/common/prompt-kit/base/stories/demo.stories.tsx +++ b/frontend/packages/common/prompt-kit/base/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/common/prompt-kit/base/vitest.config.ts b/frontend/packages/common/prompt-kit/base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/prompt-kit/base/vitest.config.ts +++ b/frontend/packages/common/prompt-kit/base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/prompt-kit/main/src/index.ts b/frontend/packages/common/prompt-kit/main/src/index.ts index 46f34c51..acf2ea6a 100644 --- a/frontend/packages/common/prompt-kit/main/src/index.ts +++ b/frontend/packages/common/prompt-kit/main/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@coze-arch/bot-typings'; import '@coze-arch/bot-env/typings'; export { usePromptLibraryModal } from './prompt-library'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/empty.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/empty.tsx index bb23f589..90b51e90 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/empty.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozEmpty } from '@coze-arch/coze-design/icons'; import { EmptyState } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/copy-prompt.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/copy-prompt.tsx index f82875fd..76eed185 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/copy-prompt.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/copy-prompt.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import copy from 'copy-to-clipboard'; import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/index.ts b/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/index.ts index 1f0289f1..b97ae498 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/index.ts +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CopyPrompt } from './copy-prompt'; export { InsertToEditor } from './insert-to-editor'; export { PromptDiff } from './prompt-diff'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/insert-to-editor.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/insert-to-editor.tsx index 6d907a55..650cf577 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/insert-to-editor.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/insert-to-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; import { insertToNewline } from '@coze-common/prompt-kit-base/shared'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/prompt-diff.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/prompt-diff.tsx index ccd2d0d3..09803925 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/prompt-diff.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/footer-actions/prompt-diff.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Button } from '@coze-arch/coze-design'; export const PromptDiff = (props: { onDiff: () => void }) => { diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/index.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/index.tsx index 36b8bc87..c4ec9aa8 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/index.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import classNames from 'classnames'; @@ -21,12 +21,7 @@ import { useEditor } from '@coze-editor/editor/react'; import { type EditorAPI } from '@coze-editor/editor/preset-prompt'; import { I18n } from '@coze-arch/i18n'; import { IconCozPlus } from '@coze-arch/coze-design/icons'; -import { - Modal, - type ModalProps, - Search, - Button, -} from '@coze-arch/coze-design'; +import { Modal, type ModalProps, Search, Button } from '@coze-arch/coze-design'; import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; import { PlaygroundApi } from '@coze-arch/bot-api'; import { LibraryBlockWidget } from '@coze-common/editor-plugins/library-insert'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/empty.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/empty.tsx index 6778b90d..75436594 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/empty.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/footer.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/footer.tsx index c42fa158..628dcd5b 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/footer.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/footer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/index.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/index.tsx index 2187cfdb..238627a8 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/index.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useImperativeHandle, diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/type.ts b/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/type.ts index ee23894d..bae15e51 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/type.ts +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/infinite-list/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactElement, type RefObject } from 'react'; import { diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/library-item.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/library-item.tsx index 4074023a..93bbb24f 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/library-item.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/library-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/library-list.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-library/library-list.tsx index cdeb95f9..59269057 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/library-list.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/library-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type RefObject, diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-library/library-request.ts b/frontend/packages/common/prompt-kit/main/src/prompt-library/library-request.ts index ec94f64b..6a3db423 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-library/library-request.ts +++ b/frontend/packages/common/prompt-kit/main/src/prompt-library/library-request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ResourceAction, ResType } from '@coze-arch/idl/plugin_develop'; import { PlaygroundApi, PluginDevelopApi } from '@coze-arch/bot-api'; export interface LibraryInfo { diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/hooks/use-case/use-scroll-control.ts b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/hooks/use-case/use-scroll-control.ts index c967b05d..da0cead9 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/hooks/use-case/use-scroll-control.ts +++ b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/hooks/use-case/use-scroll-control.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; interface ScrollControlProps { diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/hooks/use-get-librarys.ts b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/hooks/use-get-librarys.ts index 233dea0a..243c6eba 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/hooks/use-get-librarys.ts +++ b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/hooks/use-get-librarys.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/index.ts b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/index.ts index 92eeb028..c9207c87 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/index.ts +++ b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { RecommendCard } from './recommend-card/index'; export { RecommendPannel } from './recommend-pannel/index'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-card/card-loading.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-card/card-loading.tsx index 6d4f1151..a4140dd0 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-card/card-loading.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-card/card-loading.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Skeleton } from '@coze-arch/coze-design'; export const RecommendCardLoading = () => (
diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-card/index.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-card/index.tsx index 133d1df3..6340521a 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-card/index.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/empty.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/empty.tsx index b7dc7723..15a5ae19 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/empty.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozEmpty } from '@coze-arch/coze-design/icons'; import { EmptyState } from '@coze-arch/coze-design'; diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/index.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/index.tsx index 5e4b27a9..9ea93e45 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/index.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ForwardedRef, forwardRef, diff --git a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/scroll-button.tsx b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/scroll-button.tsx index 150cfa4e..b29c1764 100644 --- a/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/scroll-button.tsx +++ b/frontend/packages/common/prompt-kit/main/src/prompt-recommend/recommend-pannel/scroll-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozArrowLeftFill, IconCozArrowRightFill, diff --git a/frontend/packages/common/prompt-kit/main/src/typings.d.ts b/frontend/packages/common/prompt-kit/main/src/typings.d.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/common/prompt-kit/main/src/typings.d.ts +++ b/frontend/packages/common/prompt-kit/main/src/typings.d.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/common/prompt-kit/main/vitest.config.ts b/frontend/packages/common/prompt-kit/main/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/prompt-kit/main/vitest.config.ts +++ b/frontend/packages/common/prompt-kit/main/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/uploader-adapter/__tests__/index.test.ts b/frontend/packages/common/uploader-adapter/__tests__/index.test.ts index 20cd50cc..54b990de 100644 --- a/frontend/packages/common/uploader-adapter/__tests__/index.test.ts +++ b/frontend/packages/common/uploader-adapter/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import type { Config, STSToken } from '@coze-arch/uploader-interface'; diff --git a/frontend/packages/common/uploader-adapter/src/index.ts b/frontend/packages/common/uploader-adapter/src/index.ts index 4d96f67f..a40b0c64 100644 --- a/frontend/packages/common/uploader-adapter/src/index.ts +++ b/frontend/packages/common/uploader-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Uploader, { type ImageXFileOption } from 'tt-uploader'; import { type Config, diff --git a/frontend/packages/common/uploader-adapter/src/utils.ts b/frontend/packages/common/uploader-adapter/src/utils.ts index a2e37a17..99258b13 100644 --- a/frontend/packages/common/uploader-adapter/src/utils.ts +++ b/frontend/packages/common/uploader-adapter/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const REGION_MAP = { 'cn-north-1': 'cn-north-1', 'ap-singapore-1': 'ap-singapore-1', diff --git a/frontend/packages/common/uploader-adapter/vitest.config.ts b/frontend/packages/common/uploader-adapter/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/common/uploader-adapter/vitest.config.ts +++ b/frontend/packages/common/uploader-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/uploader-interface/src/index.ts b/frontend/packages/common/uploader-interface/src/index.ts index 5abbfa9f..2cf474df 100644 --- a/frontend/packages/common/uploader-interface/src/index.ts +++ b/frontend/packages/common/uploader-interface/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface STSToken { AccessKeyId: string; SecretAccessKey: string; diff --git a/frontend/packages/common/uploader-interface/vitest.config.ts b/frontend/packages/common/uploader-interface/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/common/uploader-interface/vitest.config.ts +++ b/frontend/packages/common/uploader-interface/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/common/websocket-manager-adapter/src/index.tsx b/frontend/packages/common/websocket-manager-adapter/src/index.tsx index 3f832db6..f5aaf95d 100644 --- a/frontend/packages/common/websocket-manager-adapter/src/index.tsx +++ b/frontend/packages/common/websocket-manager-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-empty-function */ /* eslint-disable @typescript-eslint/no-useless-constructor */ /* eslint-disable @typescript-eslint/no-explicit-any */ diff --git a/frontend/packages/common/websocket-manager-adapter/src/typings.d.ts b/frontend/packages/common/websocket-manager-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/common/websocket-manager-adapter/src/typings.d.ts +++ b/frontend/packages/common/websocket-manager-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/common/websocket-manager-adapter/stories/demo.stories.tsx b/frontend/packages/common/websocket-manager-adapter/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/common/websocket-manager-adapter/stories/demo.stories.tsx +++ b/frontend/packages/common/websocket-manager-adapter/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/common/websocket-manager-adapter/vitest.config.ts b/frontend/packages/common/websocket-manager-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/common/websocket-manager-adapter/vitest.config.ts +++ b/frontend/packages/common/websocket-manager-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/community/component/src/card/components/button/index.tsx b/frontend/packages/community/component/src/card/components/button/index.tsx index 67451fe3..6d60dc5b 100644 --- a/frontend/packages/community/component/src/card/components/button/index.tsx +++ b/frontend/packages/community/component/src/card/components/button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/community/component/src/card/components/container/index.tsx b/frontend/packages/community/component/src/card/components/container/index.tsx index 39a95f28..03235112 100644 --- a/frontend/packages/community/component/src/card/components/container/index.tsx +++ b/frontend/packages/community/component/src/card/components/container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/community/component/src/card/components/info/index.tsx b/frontend/packages/community/component/src/card/components/info/index.tsx index a8b5beae..ebd90c48 100644 --- a/frontend/packages/community/component/src/card/components/info/index.tsx +++ b/frontend/packages/community/component/src/card/components/info/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/community/component/src/card/components/tag/index.tsx b/frontend/packages/community/component/src/card/components/tag/index.tsx index ae67a536..977c1ece 100644 --- a/frontend/packages/community/component/src/card/components/tag/index.tsx +++ b/frontend/packages/community/component/src/card/components/tag/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; diff --git a/frontend/packages/community/component/src/card/template/index.tsx b/frontend/packages/community/component/src/card/template/index.tsx index c4bd3703..fca73931 100644 --- a/frontend/packages/community/component/src/card/template/index.tsx +++ b/frontend/packages/community/component/src/card/template/index.tsx @@ -63,7 +63,9 @@ export const TemplateCard: FC = props => { setVisible(false)} /> ) : null} diff --git a/frontend/packages/community/component/src/card/type.ts b/frontend/packages/community/component/src/card/type.ts index 294bb763..e7313c92 100644 --- a/frontend/packages/community/component/src/card/type.ts +++ b/frontend/packages/community/component/src/card/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type explore } from '@coze-studio/api-schema'; import { type UserInfo as ProductUserInfo } from '@coze-arch/bot-api/product_api'; type UserInfo = explore.product_common.UserInfo; diff --git a/frontend/packages/community/component/src/connector-list/index.tsx b/frontend/packages/community/component/src/connector-list/index.tsx index e32a4d37..b9e8b346 100644 --- a/frontend/packages/community/component/src/connector-list/index.tsx +++ b/frontend/packages/community/component/src/connector-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { CozAvatar, Tag, Tooltip, Typography } from '@coze-arch/coze-design'; import { type PluginConnectorInfo } from '@coze-arch/bot-api/product_api'; diff --git a/frontend/packages/community/component/src/const/url.ts b/frontend/packages/community/component/src/const/url.ts index 4e51ddc7..707146a6 100644 --- a/frontend/packages/community/component/src/const/url.ts +++ b/frontend/packages/community/component/src/const/url.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const cozeBaseUrl = IS_OVERSEA ? // cp-disable-next-line 'https://www.coze.com' diff --git a/frontend/packages/community/component/src/favorite-button/index.tsx b/frontend/packages/community/component/src/favorite-button/index.tsx index 5534bfc7..59e19db1 100644 --- a/frontend/packages/community/component/src/favorite-button/index.tsx +++ b/frontend/packages/community/component/src/favorite-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, useState, diff --git a/frontend/packages/community/component/src/favorite-icon-btn/components/favorite-icon-mobile/index.tsx b/frontend/packages/community/component/src/favorite-icon-btn/components/favorite-icon-mobile/index.tsx index d246cb90..350837ba 100644 --- a/frontend/packages/community/component/src/favorite-icon-btn/components/favorite-icon-mobile/index.tsx +++ b/frontend/packages/community/component/src/favorite-icon-btn/components/favorite-icon-mobile/index.tsx @@ -13,13 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; -import { - IconMobileCollect, - IconMobileCollectFill, -} from '@coze-arch/bot-icons'; +import { IconMobileCollect, IconMobileCollectFill } from '@coze-arch/bot-icons'; export const FavoriteIconMobile = (props: { isFavorite?: boolean }) => { const { isFavorite } = props; diff --git a/frontend/packages/community/component/src/favorite-icon-btn/components/favorite-icon/index.tsx b/frontend/packages/community/component/src/favorite-icon-btn/components/favorite-icon/index.tsx index ae99acb0..aac46cf7 100644 --- a/frontend/packages/community/component/src/favorite-icon-btn/components/favorite-icon/index.tsx +++ b/frontend/packages/community/component/src/favorite-icon-btn/components/favorite-icon/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-animation-change.ts b/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-animation-change.ts index 1e22cd15..583723d2 100644 --- a/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-animation-change.ts +++ b/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-animation-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-farvorite-request.ts b/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-farvorite-request.ts index 0ffedb73..dfb94b40 100644 --- a/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-farvorite-request.ts +++ b/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-farvorite-request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemoizedFn } from 'ahooks'; import { type ProductEntityType } from '@coze-arch/bot-api/product_api'; import { ProductApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-favorite-change.ts b/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-favorite-change.ts index 2cb7d6da..2db988ce 100644 --- a/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-favorite-change.ts +++ b/frontend/packages/community/component/src/favorite-icon-btn/hooks/use-favorite-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useCallback, useRef, type MouseEvent } from 'react'; import { useMemoizedFn, useUpdateEffect } from 'ahooks'; diff --git a/frontend/packages/community/component/src/favorite-icon-btn/index.tsx b/frontend/packages/community/component/src/favorite-icon-btn/index.tsx index b26853a5..9b3209ca 100644 --- a/frontend/packages/community/component/src/favorite-icon-btn/index.tsx +++ b/frontend/packages/community/component/src/favorite-icon-btn/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useImperativeHandle } from 'react'; import { type FavoriteIconBtnProps } from './type'; diff --git a/frontend/packages/community/component/src/favorite-icon-btn/type.ts b/frontend/packages/community/component/src/favorite-icon-btn/type.ts index ec5183d6..a25c3adb 100644 --- a/frontend/packages/community/component/src/favorite-icon-btn/type.ts +++ b/frontend/packages/community/component/src/favorite-icon-btn/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEvent } from 'react'; export interface FavoriteCommParams { diff --git a/frontend/packages/community/component/src/index.ts b/frontend/packages/community/component/src/index.ts index 76a4e8e0..0387c6a2 100644 --- a/frontend/packages/community/component/src/index.ts +++ b/frontend/packages/community/component/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OfficialLabel } from './official-label'; export { InfiniteList } from './infinite-list'; diff --git a/frontend/packages/community/component/src/infinite-list/components/empty/index.tsx b/frontend/packages/community/component/src/infinite-list/components/empty/index.tsx index f3aff2e8..cb21c221 100644 --- a/frontend/packages/community/component/src/infinite-list/components/empty/index.tsx +++ b/frontend/packages/community/component/src/infinite-list/components/empty/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/community/component/src/infinite-list/components/footer/index.tsx b/frontend/packages/community/component/src/infinite-list/components/footer/index.tsx index 0e48794c..a725a1d7 100644 --- a/frontend/packages/community/component/src/infinite-list/components/footer/index.tsx +++ b/frontend/packages/community/component/src/infinite-list/components/footer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/community/component/src/infinite-list/hooks/use-scroll.ts b/frontend/packages/community/component/src/infinite-list/hooks/use-scroll.ts index 2cd36b8a..26521cad 100644 --- a/frontend/packages/community/component/src/infinite-list/hooks/use-scroll.ts +++ b/frontend/packages/community/component/src/infinite-list/hooks/use-scroll.ts @@ -160,7 +160,7 @@ function useScroll(props: ScrollProps) { const reloadData = useMemoizedFn(() => { mutate({ - list: resetDataIfReload ? [] : (dataInfo?.list ?? []), + list: resetDataIfReload ? [] : dataInfo?.list ?? [], hasMore: undefined, nextPage: 1, }); diff --git a/frontend/packages/community/component/src/infinite-list/index.tsx b/frontend/packages/community/component/src/infinite-list/index.tsx index 600c356e..b9a26a8c 100644 --- a/frontend/packages/community/component/src/infinite-list/index.tsx +++ b/frontend/packages/community/component/src/infinite-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useImperativeHandle, diff --git a/frontend/packages/community/component/src/infinite-list/type.ts b/frontend/packages/community/component/src/infinite-list/type.ts index e69458eb..237c5183 100644 --- a/frontend/packages/community/component/src/infinite-list/type.ts +++ b/frontend/packages/community/component/src/infinite-list/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactElement, type RefObject } from 'react'; import { diff --git a/frontend/packages/community/component/src/official-label/index.tsx b/frontend/packages/community/component/src/official-label/index.tsx index 4755c4c9..0460a785 100644 --- a/frontend/packages/community/component/src/official-label/index.tsx +++ b/frontend/packages/community/component/src/official-label/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/community/component/src/sub-menu-item/index.tsx b/frontend/packages/community/component/src/sub-menu-item/index.tsx index cdd8c00a..871a99d2 100644 --- a/frontend/packages/community/component/src/sub-menu-item/index.tsx +++ b/frontend/packages/community/component/src/sub-menu-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/community/component/src/typings.d.ts b/frontend/packages/community/component/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/community/component/src/typings.d.ts +++ b/frontend/packages/community/component/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/community/component/tailwind.config.ts b/frontend/packages/community/component/tailwind.config.ts index a175da22..ce2eaf1f 100644 --- a/frontend/packages/community/component/tailwind.config.ts +++ b/frontend/packages/community/component/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/community/component/vitest.config.ts b/frontend/packages/community/component/vitest.config.ts index 9ed3982d..0ceb96a4 100644 --- a/frontend/packages/community/component/vitest.config.ts +++ b/frontend/packages/community/component/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import svgr from 'vite-plugin-svgr'; import { defineConfig } from '@coze-arch/vitest-config'; diff --git a/frontend/packages/community/component/vitest.setup.ts b/frontend/packages/community/component/vitest.setup.ts index 2739f8f2..6f7e24ba 100644 --- a/frontend/packages/community/component/vitest.setup.ts +++ b/frontend/packages/community/component/vitest.setup.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom/vitest'; diff --git a/frontend/packages/community/explore/src/hooks/use-explore-route.ts b/frontend/packages/community/explore/src/hooks/use-explore-route.ts index a167671d..84856c1d 100644 --- a/frontend/packages/community/explore/src/hooks/use-explore-route.ts +++ b/frontend/packages/community/explore/src/hooks/use-explore-route.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRouteConfig } from '@coze-arch/bot-hooks'; import { type TRouteConfigGlobal } from '@coze-arch/bot-hooks'; diff --git a/frontend/packages/community/explore/src/index.tsx b/frontend/packages/community/explore/src/index.tsx index d5bdb871..fb5da6e5 100644 --- a/frontend/packages/community/explore/src/index.tsx +++ b/frontend/packages/community/explore/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ExploreSubMenu } from './components/sub-menu'; export { TemplatePage } from './pages/template'; export { PluginPage } from './pages/plugin'; diff --git a/frontend/packages/community/explore/src/pages/plugin/index.tsx b/frontend/packages/community/explore/src/pages/plugin/index.tsx index 64093e0d..f2e8fa6b 100644 --- a/frontend/packages/community/explore/src/pages/plugin/index.tsx +++ b/frontend/packages/community/explore/src/pages/plugin/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { explore } from '@coze-studio/api-schema'; diff --git a/frontend/packages/community/explore/src/pages/template/index.tsx b/frontend/packages/community/explore/src/pages/template/index.tsx index 3d289c1a..af057008 100644 --- a/frontend/packages/community/explore/src/pages/template/index.tsx +++ b/frontend/packages/community/explore/src/pages/template/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { explore } from '@coze-studio/api-schema'; import { TemplateCard, diff --git a/frontend/packages/community/explore/src/typings.d.ts b/frontend/packages/community/explore/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/community/explore/src/typings.d.ts +++ b/frontend/packages/community/explore/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/community/explore/vitest.config.ts b/frontend/packages/community/explore/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/community/explore/vitest.config.ts +++ b/frontend/packages/community/explore/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/biz-tooltip-ui/__tests__/components/case-block.test.tsx b/frontend/packages/components/biz-tooltip-ui/__tests__/components/case-block.test.tsx index ad060211..eb99313b 100644 --- a/frontend/packages/components/biz-tooltip-ui/__tests__/components/case-block.test.tsx +++ b/frontend/packages/components/biz-tooltip-ui/__tests__/components/case-block.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { render, screen } from '@testing-library/react'; diff --git a/frontend/packages/components/biz-tooltip-ui/__tests__/components/rerank-tips.test.tsx b/frontend/packages/components/biz-tooltip-ui/__tests__/components/rerank-tips.test.tsx index d88f457e..96f87275 100644 --- a/frontend/packages/components/biz-tooltip-ui/__tests__/components/rerank-tips.test.tsx +++ b/frontend/packages/components/biz-tooltip-ui/__tests__/components/rerank-tips.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { render, screen, within } from '@testing-library/react'; diff --git a/frontend/packages/components/biz-tooltip-ui/__tests__/components/rewrite-tips.test.tsx b/frontend/packages/components/biz-tooltip-ui/__tests__/components/rewrite-tips.test.tsx index 9e452919..8ef12408 100644 --- a/frontend/packages/components/biz-tooltip-ui/__tests__/components/rewrite-tips.test.tsx +++ b/frontend/packages/components/biz-tooltip-ui/__tests__/components/rewrite-tips.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { render, screen } from '@testing-library/react'; diff --git a/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/case-block.tsx b/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/case-block.tsx index 4d004cf7..a3993667 100644 --- a/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/case-block.tsx +++ b/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/case-block.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import s from './index.module.less'; diff --git a/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/index.ts b/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/index.ts index f95a8779..8c2336ef 100644 --- a/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/index.ts +++ b/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RewriteTips } from './rewrite-tips'; import { RerankTips } from './rerank-tips'; export { RewriteTips, RerankTips }; diff --git a/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/rerank-tips.tsx b/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/rerank-tips.tsx index 858d87f4..2f62b3cc 100644 --- a/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/rerank-tips.tsx +++ b/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/rerank-tips.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/rewrite-tips.tsx b/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/rewrite-tips.tsx index 8f944896..7afdafce 100644 --- a/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/rewrite-tips.tsx +++ b/frontend/packages/components/biz-tooltip-ui/src/components/setting-tips/rewrite-tips.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/components/biz-tooltip-ui/src/index.tsx b/frontend/packages/components/biz-tooltip-ui/src/index.tsx index c4245a73..b77ad9ed 100644 --- a/frontend/packages/components/biz-tooltip-ui/src/index.tsx +++ b/frontend/packages/components/biz-tooltip-ui/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { RewriteTips, RerankTips } from './components/setting-tips'; diff --git a/frontend/packages/components/biz-tooltip-ui/src/typings.d.ts b/frontend/packages/components/biz-tooltip-ui/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/components/biz-tooltip-ui/src/typings.d.ts +++ b/frontend/packages/components/biz-tooltip-ui/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/components/biz-tooltip-ui/vitest.config.ts b/frontend/packages/components/biz-tooltip-ui/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/components/biz-tooltip-ui/vitest.config.ts +++ b/frontend/packages/components/biz-tooltip-ui/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/bot-icons/src/factory.tsx b/frontend/packages/components/bot-icons/src/factory.tsx index 3f370ecc..ba63b232 100644 --- a/frontend/packages/components/bot-icons/src/factory.tsx +++ b/frontend/packages/components/bot-icons/src/factory.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type Ref, forwardRef } from 'react'; import Icon, { type IconProps } from '@douyinfe/semi-icons'; diff --git a/frontend/packages/components/bot-icons/src/global.d.ts b/frontend/packages/components/bot-icons/src/global.d.ts index 578d72c4..ace44f8b 100644 --- a/frontend/packages/components/bot-icons/src/global.d.ts +++ b/frontend/packages/components/bot-icons/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.png' { const value: string; export default value; diff --git a/frontend/packages/components/bot-icons/src/index.tsx b/frontend/packages/components/bot-icons/src/index.tsx index 999fa249..27283cb8 100644 --- a/frontend/packages/components/bot-icons/src/index.tsx +++ b/frontend/packages/components/bot-icons/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ import { IconFactory } from './factory'; import { ReactComponent as SvtPlaygroundIcon } from './assets/playground-icon.svg'; diff --git a/frontend/packages/components/bot-icons/vitest.config.ts b/frontend/packages/components/bot-icons/vitest.config.ts index 8b8baa73..1b1724bf 100644 --- a/frontend/packages/components/bot-icons/vitest.config.ts +++ b/frontend/packages/components/bot-icons/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/bot-semi/package.json b/frontend/packages/components/bot-semi/package.json index 54d4bf96..eb6aba3f 100644 --- a/frontend/packages/components/bot-semi/package.json +++ b/frontend/packages/components/bot-semi/package.json @@ -284,10 +284,10 @@ }, "dependencies": { "@coze-arch/bot-icons": "workspace:*", + "@coze-arch/i18n": "workspace:*", "@douyinfe/semi-icons": "^2.36.0", "@douyinfe/semi-illustrations": "^2.36.0", "@douyinfe/semi-ui": "~2.72.3", - "@coze-arch/i18n": "workspace:*", "ahooks": "^3.7.8", "classnames": "^2.3.2", "lodash-es": "^4.17.21", diff --git a/frontend/packages/components/bot-semi/src/components/ui-audio/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-audio/index.tsx index 97e05df1..b19dbd16 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-audio/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-audio/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { FC, useMemo } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-button/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-button/index.tsx index 80d7d744..04b23815 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-button/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Ref, forwardRef } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-cascader/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-cascader/index.tsx index efb44b14..ceb063f9 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-cascader/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-cascader/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { CascaderProps } from '@douyinfe/semi-ui/lib/es/cascader'; import { Cascader, withField } from '@douyinfe/semi-ui'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-content/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-content/index.tsx index f3a7946d..b73dc533 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-content/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { ForwardedRef, PropsWithChildren, forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-divider/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-divider/index.tsx index 9e7dff8b..7fb3656f 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-divider/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-divider/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Divider as UIDivider } from '@douyinfe/semi-ui'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-drawer/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-drawer/index.tsx index 2e8335de..38651c3b 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-drawer/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-drawer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { PropsWithChildren, useEffect, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-dropdown/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-dropdown/index.tsx index 83661f18..3d372834 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-dropdown/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-dropdown/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-empty/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-empty/index.tsx index 7f620a1c..b5c7fc97 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-empty/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-empty/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { ReactElement } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-flip-move/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-flip-move/index.tsx index fd91303c..413e7749 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-flip-move/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-flip-move/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import FlipMove from 'react-flip-move'; import React, { PropsWithChildren } from 'react'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-footer/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-footer/index.tsx index 5f82bb8f..61449959 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-footer/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-footer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-form/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-form/index.tsx index c52639eb..001acfaf 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-form/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UIFormInput } from './input'; export { UIFormTextArea } from './text-area'; export { UIFormSelect } from './select'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-form/select/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-form/select/index.tsx index 8493830c..7fa9f05f 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-form/select/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-form/select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ComponentProps } from 'react'; import { SelectProps } from '@douyinfe/semi-ui/lib/es/select'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-form/text-area/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-form/text-area/index.tsx index c7a2522f..ff4adfc0 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-form/text-area/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-form/text-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-header/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-header/index.tsx index f960cbe1..19f710cf 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-header/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { PropsWithChildren, ReactElement } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-icon-button/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-icon-button/index.tsx index 03e5b3f4..5cb7a390 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-icon-button/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-icon-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LegacyRef, forwardRef } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-input/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-input/index.tsx index 1152f197..ae880e53 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-input/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Ref, forwardRef } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-layout/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-layout/index.tsx index 222fd6fd..8e18ff75 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-layout/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-layout/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { Helmet } from 'react-helmet'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-modal/hooks.tsx b/frontend/packages/components/bot-semi/src/components/ui-modal/hooks.tsx index 18433857..899cb801 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-modal/hooks.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { ModalReactProps } from '@douyinfe/semi-ui/lib/es/modal/'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-modal/index.ts b/frontend/packages/components/bot-semi/src/components/ui-modal/index.ts index 2623a16c..5a405314 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-modal/index.ts +++ b/frontend/packages/components/bot-semi/src/components/ui-modal/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ export * from './ui-modal'; export * from './ui-composition-modal'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-composition-modal.tsx b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-composition-modal.tsx index cc3319a1..a6e47ea9 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-composition-modal.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-composition-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { PropsWithChildren, ReactNode } from 'react'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-drag-modal.tsx b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-drag-modal.tsx index ede22828..b870f88c 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-drag-modal.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-drag-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createPortal } from 'react-dom'; import React, { ComponentProps, diff --git a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-mobile-modal.tsx b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-mobile-modal.tsx index 550ad28a..07b51735 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-mobile-modal.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-mobile-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ComponentProps, ForwardedRef, forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-modal.tsx b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-modal.tsx index fb02e29c..37830f3f 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-modal.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ComponentProps } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-tabs-modal/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-tabs-modal/index.tsx index 2d581ba8..f69ba8e5 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-modal/ui-tabs-modal/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-modal/ui-tabs-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-pagination/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-pagination/index.tsx index 595f8e34..bf175479 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-pagination/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-pagination/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FC, useContext } from 'react'; import { i18nContext, type I18nContext } from '@coze-arch/i18n/i18n-provider'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-search-input/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-search-input/index.tsx index ac821301..000abc06 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-search-input/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-search-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ForwardedRef, forwardRef, useImperativeHandle, useRef } from 'react'; import { InputProps } from '@douyinfe/semi-ui/lib/es/input'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-search/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-search/index.tsx index 07efbf1b..56c089ba 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-search/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-search/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useEffect, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-select/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-select/index.tsx index 5a7f4ac2..46ad7b64 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-select/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import React, { diff --git a/frontend/packages/components/bot-semi/src/components/ui-sign/index.ts b/frontend/packages/components/bot-semi/src/components/ui-sign/index.ts index 5b046db6..fb13f979 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-sign/index.ts +++ b/frontend/packages/components/bot-semi/src/components/ui-sign/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SignFrame } from './sign-frame'; export { SignPanel } from './sign-panel'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-sign/sign-frame.tsx b/frontend/packages/components/bot-semi/src/components/ui-sign/sign-frame.tsx index cb24ef27..fbfdae91 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-sign/sign-frame.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-sign/sign-frame.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { PropsWithChildren } from 'react'; import { isMobile } from '../../utils'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-sign/sign-panel.tsx b/frontend/packages/components/bot-semi/src/components/ui-sign/sign-panel.tsx index 9f285f9f..87c94d57 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-sign/sign-panel.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-sign/sign-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-tab-bar/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-tab-bar/index.tsx index be7cef4a..5ccaca97 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-tab-bar/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-tab-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PropsWithChildren } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-table-action/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-table-action/index.tsx index 687ae052..d13a560e 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-table-action/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-table-action/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FC, useCallback, useContext } from 'react'; import { i18nContext, type I18nContext } from '@coze-arch/i18n/i18n-provider'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-table-meta/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-table-meta/index.tsx index 342be748..6b778e8b 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-table-meta/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-table-meta/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { ReactElement } from 'react-markdown/lib/react-markdown'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-table/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-table/index.tsx index e26f0a77..b421ef43 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-table/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-table/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { Dispatch, SetStateAction, diff --git a/frontend/packages/components/bot-semi/src/components/ui-tag/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-tag/index.tsx index 3915ad63..51624b88 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-tag/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-tag/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LegacyRef, forwardRef } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/components/bot-semi/src/components/ui-toast/index.tsx b/frontend/packages/components/bot-semi/src/components/ui-toast/index.tsx index 39c37e5b..4f6037a1 100644 --- a/frontend/packages/components/bot-semi/src/components/ui-toast/index.tsx +++ b/frontend/packages/components/bot-semi/src/components/ui-toast/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { isString, isUndefined, merge, omitBy } from 'lodash-es'; diff --git a/frontend/packages/components/bot-semi/src/global.d.ts b/frontend/packages/components/bot-semi/src/global.d.ts index ba1eee07..b5e3a7a0 100644 --- a/frontend/packages/components/bot-semi/src/global.d.ts +++ b/frontend/packages/components/bot-semi/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.less' { diff --git a/frontend/packages/components/bot-semi/src/hooks/use-grab.ts b/frontend/packages/components/bot-semi/src/hooks/use-grab.ts index 99e7d43d..dfff4234 100644 --- a/frontend/packages/components/bot-semi/src/hooks/use-grab.ts +++ b/frontend/packages/components/bot-semi/src/hooks/use-grab.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RefObject, useCallback, useRef, useState } from 'react'; const ANCHOR_UPDATE_BUFFER = 10; diff --git a/frontend/packages/components/bot-semi/src/index.ts b/frontend/packages/components/bot-semi/src/index.ts index e10111df..2df5125d 100644 --- a/frontend/packages/components/bot-semi/src/index.ts +++ b/frontend/packages/components/bot-semi/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Input as UIInput, /** diff --git a/frontend/packages/components/bot-semi/src/semi/anchor.ts b/frontend/packages/components/bot-semi/src/semi/anchor.ts index cc74745f..6b30ff2f 100644 --- a/frontend/packages/components/bot-semi/src/semi/anchor.ts +++ b/frontend/packages/components/bot-semi/src/semi/anchor.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/anchor'; diff --git a/frontend/packages/components/bot-semi/src/semi/auto-complete.ts b/frontend/packages/components/bot-semi/src/semi/auto-complete.ts index e8aef5d5..2011c90d 100644 --- a/frontend/packages/components/bot-semi/src/semi/auto-complete.ts +++ b/frontend/packages/components/bot-semi/src/semi/auto-complete.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/autoComplete'; diff --git a/frontend/packages/components/bot-semi/src/semi/avatar.ts b/frontend/packages/components/bot-semi/src/semi/avatar.ts index 989ae64c..4f70ee24 100644 --- a/frontend/packages/components/bot-semi/src/semi/avatar.ts +++ b/frontend/packages/components/bot-semi/src/semi/avatar.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/avatar'; // eslint-disable-next-line @coze-arch/no-batch-import-or-export diff --git a/frontend/packages/components/bot-semi/src/semi/backtop.ts b/frontend/packages/components/bot-semi/src/semi/backtop.ts index bfe189fb..7d57408d 100644 --- a/frontend/packages/components/bot-semi/src/semi/backtop.ts +++ b/frontend/packages/components/bot-semi/src/semi/backtop.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/backtop'; diff --git a/frontend/packages/components/bot-semi/src/semi/badge.ts b/frontend/packages/components/bot-semi/src/semi/badge.ts index f1a3d945..abf2b670 100644 --- a/frontend/packages/components/bot-semi/src/semi/badge.ts +++ b/frontend/packages/components/bot-semi/src/semi/badge.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/badge'; diff --git a/frontend/packages/components/bot-semi/src/semi/banner.ts b/frontend/packages/components/bot-semi/src/semi/banner.ts index 913379fd..fb22ab56 100644 --- a/frontend/packages/components/bot-semi/src/semi/banner.ts +++ b/frontend/packages/components/bot-semi/src/semi/banner.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/banner'; diff --git a/frontend/packages/components/bot-semi/src/semi/breadcrumb.ts b/frontend/packages/components/bot-semi/src/semi/breadcrumb.ts index ab4730b1..7a60c726 100644 --- a/frontend/packages/components/bot-semi/src/semi/breadcrumb.ts +++ b/frontend/packages/components/bot-semi/src/semi/breadcrumb.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/breadcrumb'; diff --git a/frontend/packages/components/bot-semi/src/semi/button.ts b/frontend/packages/components/bot-semi/src/semi/button.ts index 61974755..694dddc3 100644 --- a/frontend/packages/components/bot-semi/src/semi/button.ts +++ b/frontend/packages/components/bot-semi/src/semi/button.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/button'; diff --git a/frontend/packages/components/bot-semi/src/semi/calendar.ts b/frontend/packages/components/bot-semi/src/semi/calendar.ts index 2c6cf67d..ea0bac79 100644 --- a/frontend/packages/components/bot-semi/src/semi/calendar.ts +++ b/frontend/packages/components/bot-semi/src/semi/calendar.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/calendar'; diff --git a/frontend/packages/components/bot-semi/src/semi/card.ts b/frontend/packages/components/bot-semi/src/semi/card.ts index 3db7c167..38a0b762 100644 --- a/frontend/packages/components/bot-semi/src/semi/card.ts +++ b/frontend/packages/components/bot-semi/src/semi/card.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/card'; diff --git a/frontend/packages/components/bot-semi/src/semi/carousel.ts b/frontend/packages/components/bot-semi/src/semi/carousel.ts index e5cf2b05..3312dc4c 100644 --- a/frontend/packages/components/bot-semi/src/semi/carousel.ts +++ b/frontend/packages/components/bot-semi/src/semi/carousel.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/carousel'; diff --git a/frontend/packages/components/bot-semi/src/semi/cascader.ts b/frontend/packages/components/bot-semi/src/semi/cascader.ts index 00324f72..35ca61d0 100644 --- a/frontend/packages/components/bot-semi/src/semi/cascader.ts +++ b/frontend/packages/components/bot-semi/src/semi/cascader.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/cascader'; diff --git a/frontend/packages/components/bot-semi/src/semi/checkbox.ts b/frontend/packages/components/bot-semi/src/semi/checkbox.ts index 5e9bbee0..1898c040 100644 --- a/frontend/packages/components/bot-semi/src/semi/checkbox.ts +++ b/frontend/packages/components/bot-semi/src/semi/checkbox.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/checkbox'; diff --git a/frontend/packages/components/bot-semi/src/semi/collapse.ts b/frontend/packages/components/bot-semi/src/semi/collapse.ts index 95c5b10f..eacf3237 100644 --- a/frontend/packages/components/bot-semi/src/semi/collapse.ts +++ b/frontend/packages/components/bot-semi/src/semi/collapse.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/collapse'; diff --git a/frontend/packages/components/bot-semi/src/semi/collapsible.ts b/frontend/packages/components/bot-semi/src/semi/collapsible.ts index 873fe031..edd35e36 100644 --- a/frontend/packages/components/bot-semi/src/semi/collapsible.ts +++ b/frontend/packages/components/bot-semi/src/semi/collapsible.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/collapsible'; diff --git a/frontend/packages/components/bot-semi/src/semi/config-provider.ts b/frontend/packages/components/bot-semi/src/semi/config-provider.ts index 7d2cf447..da974a6f 100644 --- a/frontend/packages/components/bot-semi/src/semi/config-provider.ts +++ b/frontend/packages/components/bot-semi/src/semi/config-provider.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/configProvider'; diff --git a/frontend/packages/components/bot-semi/src/semi/date-picker.ts b/frontend/packages/components/bot-semi/src/semi/date-picker.ts index dc14fe6f..92f79711 100644 --- a/frontend/packages/components/bot-semi/src/semi/date-picker.ts +++ b/frontend/packages/components/bot-semi/src/semi/date-picker.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/datePicker'; diff --git a/frontend/packages/components/bot-semi/src/semi/descriptions.ts b/frontend/packages/components/bot-semi/src/semi/descriptions.ts index 84a9ca5f..290a9a13 100644 --- a/frontend/packages/components/bot-semi/src/semi/descriptions.ts +++ b/frontend/packages/components/bot-semi/src/semi/descriptions.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/descriptions'; diff --git a/frontend/packages/components/bot-semi/src/semi/divider.ts b/frontend/packages/components/bot-semi/src/semi/divider.ts index 6ae2e193..a195495e 100644 --- a/frontend/packages/components/bot-semi/src/semi/divider.ts +++ b/frontend/packages/components/bot-semi/src/semi/divider.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/divider'; diff --git a/frontend/packages/components/bot-semi/src/semi/dropdown.ts b/frontend/packages/components/bot-semi/src/semi/dropdown.ts index 38c6e0dd..9b66e4e5 100644 --- a/frontend/packages/components/bot-semi/src/semi/dropdown.ts +++ b/frontend/packages/components/bot-semi/src/semi/dropdown.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/dropdown'; diff --git a/frontend/packages/components/bot-semi/src/semi/empty.ts b/frontend/packages/components/bot-semi/src/semi/empty.ts index ee67f8b5..aaaec1e2 100644 --- a/frontend/packages/components/bot-semi/src/semi/empty.ts +++ b/frontend/packages/components/bot-semi/src/semi/empty.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/empty'; diff --git a/frontend/packages/components/bot-semi/src/semi/form.ts b/frontend/packages/components/bot-semi/src/semi/form.ts index 30fb3438..06f99b18 100644 --- a/frontend/packages/components/bot-semi/src/semi/form.ts +++ b/frontend/packages/components/bot-semi/src/semi/form.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/form'; diff --git a/frontend/packages/components/bot-semi/src/semi/grid.ts b/frontend/packages/components/bot-semi/src/semi/grid.ts index 40a92c76..5300481b 100644 --- a/frontend/packages/components/bot-semi/src/semi/grid.ts +++ b/frontend/packages/components/bot-semi/src/semi/grid.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/grid'; diff --git a/frontend/packages/components/bot-semi/src/semi/highlight.ts b/frontend/packages/components/bot-semi/src/semi/highlight.ts index 2874b801..43d86401 100644 --- a/frontend/packages/components/bot-semi/src/semi/highlight.ts +++ b/frontend/packages/components/bot-semi/src/semi/highlight.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/highlight'; diff --git a/frontend/packages/components/bot-semi/src/semi/icon-button.ts b/frontend/packages/components/bot-semi/src/semi/icon-button.ts index 2331e0c5..9f6df439 100644 --- a/frontend/packages/components/bot-semi/src/semi/icon-button.ts +++ b/frontend/packages/components/bot-semi/src/semi/icon-button.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/iconButton'; diff --git a/frontend/packages/components/bot-semi/src/semi/icons.ts b/frontend/packages/components/bot-semi/src/semi/icons.ts index 81ffec19..b52af048 100644 --- a/frontend/packages/components/bot-semi/src/semi/icons.ts +++ b/frontend/packages/components/bot-semi/src/semi/icons.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/icons'; diff --git a/frontend/packages/components/bot-semi/src/semi/image.ts b/frontend/packages/components/bot-semi/src/semi/image.ts index 0c2e8bdc..f69da742 100644 --- a/frontend/packages/components/bot-semi/src/semi/image.ts +++ b/frontend/packages/components/bot-semi/src/semi/image.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/image'; diff --git a/frontend/packages/components/bot-semi/src/semi/index.ts b/frontend/packages/components/bot-semi/src/semi/index.ts index 41e3bdcd..5b18f225 100644 --- a/frontend/packages/components/bot-semi/src/semi/index.ts +++ b/frontend/packages/components/bot-semi/src/semi/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // re-export everything from semi ui // Keep the named export here. When those components need to be modified in the future, you can modify the supplementary file. export { diff --git a/frontend/packages/components/bot-semi/src/semi/input-number.ts b/frontend/packages/components/bot-semi/src/semi/input-number.ts index a8233b0f..6a9224c4 100644 --- a/frontend/packages/components/bot-semi/src/semi/input-number.ts +++ b/frontend/packages/components/bot-semi/src/semi/input-number.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/inputNumber'; diff --git a/frontend/packages/components/bot-semi/src/semi/input.ts b/frontend/packages/components/bot-semi/src/semi/input.ts index d3185d7b..99da1087 100644 --- a/frontend/packages/components/bot-semi/src/semi/input.ts +++ b/frontend/packages/components/bot-semi/src/semi/input.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/input'; diff --git a/frontend/packages/components/bot-semi/src/semi/layout.ts b/frontend/packages/components/bot-semi/src/semi/layout.ts index 79f72f89..5b6ea478 100644 --- a/frontend/packages/components/bot-semi/src/semi/layout.ts +++ b/frontend/packages/components/bot-semi/src/semi/layout.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/layout'; diff --git a/frontend/packages/components/bot-semi/src/semi/list.ts b/frontend/packages/components/bot-semi/src/semi/list.ts index 39200562..57422122 100644 --- a/frontend/packages/components/bot-semi/src/semi/list.ts +++ b/frontend/packages/components/bot-semi/src/semi/list.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/list'; diff --git a/frontend/packages/components/bot-semi/src/semi/locale.ts b/frontend/packages/components/bot-semi/src/semi/locale.ts index a29d7de1..be8da5de 100644 --- a/frontend/packages/components/bot-semi/src/semi/locale.ts +++ b/frontend/packages/components/bot-semi/src/semi/locale.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as zhCN } from '@douyinfe/semi-ui/lib/es/locale/source/zh_CN'; export { default as enUS } from '@douyinfe/semi-ui/lib/es/locale/source/en_US'; diff --git a/frontend/packages/components/bot-semi/src/semi/modal.ts b/frontend/packages/components/bot-semi/src/semi/modal.ts index d4a712fc..25dea1ec 100644 --- a/frontend/packages/components/bot-semi/src/semi/modal.ts +++ b/frontend/packages/components/bot-semi/src/semi/modal.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/modal'; diff --git a/frontend/packages/components/bot-semi/src/semi/navigation.ts b/frontend/packages/components/bot-semi/src/semi/navigation.ts index 7a285372..4bd898d6 100644 --- a/frontend/packages/components/bot-semi/src/semi/navigation.ts +++ b/frontend/packages/components/bot-semi/src/semi/navigation.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/navigation'; diff --git a/frontend/packages/components/bot-semi/src/semi/notification.ts b/frontend/packages/components/bot-semi/src/semi/notification.ts index 8d38c37a..f7bbcb64 100644 --- a/frontend/packages/components/bot-semi/src/semi/notification.ts +++ b/frontend/packages/components/bot-semi/src/semi/notification.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/notification'; diff --git a/frontend/packages/components/bot-semi/src/semi/overflow-list.ts b/frontend/packages/components/bot-semi/src/semi/overflow-list.ts index 469c5cbc..7894476e 100644 --- a/frontend/packages/components/bot-semi/src/semi/overflow-list.ts +++ b/frontend/packages/components/bot-semi/src/semi/overflow-list.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/overflowList'; diff --git a/frontend/packages/components/bot-semi/src/semi/pagination.ts b/frontend/packages/components/bot-semi/src/semi/pagination.ts index 28feb825..4e18ab51 100644 --- a/frontend/packages/components/bot-semi/src/semi/pagination.ts +++ b/frontend/packages/components/bot-semi/src/semi/pagination.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/pagination'; diff --git a/frontend/packages/components/bot-semi/src/semi/popconfirm.ts b/frontend/packages/components/bot-semi/src/semi/popconfirm.ts index 385d4702..26487f1f 100644 --- a/frontend/packages/components/bot-semi/src/semi/popconfirm.ts +++ b/frontend/packages/components/bot-semi/src/semi/popconfirm.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/popconfirm'; diff --git a/frontend/packages/components/bot-semi/src/semi/popover.ts b/frontend/packages/components/bot-semi/src/semi/popover.ts index be07fa04..05eef9db 100644 --- a/frontend/packages/components/bot-semi/src/semi/popover.ts +++ b/frontend/packages/components/bot-semi/src/semi/popover.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/popover'; diff --git a/frontend/packages/components/bot-semi/src/semi/progress.ts b/frontend/packages/components/bot-semi/src/semi/progress.ts index bcd9f84c..2e5e2a3a 100644 --- a/frontend/packages/components/bot-semi/src/semi/progress.ts +++ b/frontend/packages/components/bot-semi/src/semi/progress.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/progress'; diff --git a/frontend/packages/components/bot-semi/src/semi/radio.ts b/frontend/packages/components/bot-semi/src/semi/radio.ts index 47856a8c..efc11154 100644 --- a/frontend/packages/components/bot-semi/src/semi/radio.ts +++ b/frontend/packages/components/bot-semi/src/semi/radio.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/radio'; diff --git a/frontend/packages/components/bot-semi/src/semi/rating.ts b/frontend/packages/components/bot-semi/src/semi/rating.ts index 4f1f36cb..43c10c35 100644 --- a/frontend/packages/components/bot-semi/src/semi/rating.ts +++ b/frontend/packages/components/bot-semi/src/semi/rating.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/rating'; diff --git a/frontend/packages/components/bot-semi/src/semi/resize-observer.ts b/frontend/packages/components/bot-semi/src/semi/resize-observer.ts index 3691654e..7949f613 100644 --- a/frontend/packages/components/bot-semi/src/semi/resize-observer.ts +++ b/frontend/packages/components/bot-semi/src/semi/resize-observer.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/resizeObserver'; diff --git a/frontend/packages/components/bot-semi/src/semi/scroll-list.ts b/frontend/packages/components/bot-semi/src/semi/scroll-list.ts index f0bb7b3d..7a8d16c1 100644 --- a/frontend/packages/components/bot-semi/src/semi/scroll-list.ts +++ b/frontend/packages/components/bot-semi/src/semi/scroll-list.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/scrollList'; diff --git a/frontend/packages/components/bot-semi/src/semi/select.ts b/frontend/packages/components/bot-semi/src/semi/select.ts index d1a3592e..6cc0802b 100644 --- a/frontend/packages/components/bot-semi/src/semi/select.ts +++ b/frontend/packages/components/bot-semi/src/semi/select.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/select'; diff --git a/frontend/packages/components/bot-semi/src/semi/side-sheet.ts b/frontend/packages/components/bot-semi/src/semi/side-sheet.ts index d88ac36c..5f2d4cc9 100644 --- a/frontend/packages/components/bot-semi/src/semi/side-sheet.ts +++ b/frontend/packages/components/bot-semi/src/semi/side-sheet.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/sideSheet'; diff --git a/frontend/packages/components/bot-semi/src/semi/skeleton.ts b/frontend/packages/components/bot-semi/src/semi/skeleton.ts index e41ff595..f62c5276 100644 --- a/frontend/packages/components/bot-semi/src/semi/skeleton.ts +++ b/frontend/packages/components/bot-semi/src/semi/skeleton.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/skeleton'; diff --git a/frontend/packages/components/bot-semi/src/semi/slider.ts b/frontend/packages/components/bot-semi/src/semi/slider.ts index c2ddfd2f..13e17bcd 100644 --- a/frontend/packages/components/bot-semi/src/semi/slider.ts +++ b/frontend/packages/components/bot-semi/src/semi/slider.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/slider'; diff --git a/frontend/packages/components/bot-semi/src/semi/space.ts b/frontend/packages/components/bot-semi/src/semi/space.ts index 4a08a9d2..fe2fdae8 100644 --- a/frontend/packages/components/bot-semi/src/semi/space.ts +++ b/frontend/packages/components/bot-semi/src/semi/space.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/space'; diff --git a/frontend/packages/components/bot-semi/src/semi/spin.ts b/frontend/packages/components/bot-semi/src/semi/spin.ts index 616fc6d7..01c7202d 100644 --- a/frontend/packages/components/bot-semi/src/semi/spin.ts +++ b/frontend/packages/components/bot-semi/src/semi/spin.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/spin'; diff --git a/frontend/packages/components/bot-semi/src/semi/steps.ts b/frontend/packages/components/bot-semi/src/semi/steps.ts index 0b7fd34b..0b73a942 100644 --- a/frontend/packages/components/bot-semi/src/semi/steps.ts +++ b/frontend/packages/components/bot-semi/src/semi/steps.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/steps'; diff --git a/frontend/packages/components/bot-semi/src/semi/switch.ts b/frontend/packages/components/bot-semi/src/semi/switch.ts index 56c7cde1..0852afe5 100644 --- a/frontend/packages/components/bot-semi/src/semi/switch.ts +++ b/frontend/packages/components/bot-semi/src/semi/switch.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/switch'; diff --git a/frontend/packages/components/bot-semi/src/semi/table.ts b/frontend/packages/components/bot-semi/src/semi/table.ts index 81a91698..2536b13f 100644 --- a/frontend/packages/components/bot-semi/src/semi/table.ts +++ b/frontend/packages/components/bot-semi/src/semi/table.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/table'; diff --git a/frontend/packages/components/bot-semi/src/semi/tabs.ts b/frontend/packages/components/bot-semi/src/semi/tabs.ts index abaa3d70..cba3cb8c 100644 --- a/frontend/packages/components/bot-semi/src/semi/tabs.ts +++ b/frontend/packages/components/bot-semi/src/semi/tabs.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/tabs'; diff --git a/frontend/packages/components/bot-semi/src/semi/tag-input.ts b/frontend/packages/components/bot-semi/src/semi/tag-input.ts index 70d1ee36..fb57189a 100644 --- a/frontend/packages/components/bot-semi/src/semi/tag-input.ts +++ b/frontend/packages/components/bot-semi/src/semi/tag-input.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/tagInput'; diff --git a/frontend/packages/components/bot-semi/src/semi/tag.ts b/frontend/packages/components/bot-semi/src/semi/tag.ts index 922fee2a..e156b3d1 100644 --- a/frontend/packages/components/bot-semi/src/semi/tag.ts +++ b/frontend/packages/components/bot-semi/src/semi/tag.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/tag'; diff --git a/frontend/packages/components/bot-semi/src/semi/time-picker.ts b/frontend/packages/components/bot-semi/src/semi/time-picker.ts index 35cef6cd..8742c533 100644 --- a/frontend/packages/components/bot-semi/src/semi/time-picker.ts +++ b/frontend/packages/components/bot-semi/src/semi/time-picker.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/timePicker'; diff --git a/frontend/packages/components/bot-semi/src/semi/timeline.ts b/frontend/packages/components/bot-semi/src/semi/timeline.ts index 5b822867..351b6367 100644 --- a/frontend/packages/components/bot-semi/src/semi/timeline.ts +++ b/frontend/packages/components/bot-semi/src/semi/timeline.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/timeline'; diff --git a/frontend/packages/components/bot-semi/src/semi/toast.ts b/frontend/packages/components/bot-semi/src/semi/toast.ts index 4e14b0a5..dd8e70ff 100644 --- a/frontend/packages/components/bot-semi/src/semi/toast.ts +++ b/frontend/packages/components/bot-semi/src/semi/toast.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/toast'; diff --git a/frontend/packages/components/bot-semi/src/semi/tooltip.ts b/frontend/packages/components/bot-semi/src/semi/tooltip.ts index da0f1e5d..5ed33881 100644 --- a/frontend/packages/components/bot-semi/src/semi/tooltip.ts +++ b/frontend/packages/components/bot-semi/src/semi/tooltip.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/tooltip'; diff --git a/frontend/packages/components/bot-semi/src/semi/transfer.ts b/frontend/packages/components/bot-semi/src/semi/transfer.ts index 26428c3b..cb340479 100644 --- a/frontend/packages/components/bot-semi/src/semi/transfer.ts +++ b/frontend/packages/components/bot-semi/src/semi/transfer.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/transfer'; diff --git a/frontend/packages/components/bot-semi/src/semi/tree-select.ts b/frontend/packages/components/bot-semi/src/semi/tree-select.ts index bcbd5f4d..04b91e87 100644 --- a/frontend/packages/components/bot-semi/src/semi/tree-select.ts +++ b/frontend/packages/components/bot-semi/src/semi/tree-select.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/treeSelect'; diff --git a/frontend/packages/components/bot-semi/src/semi/tree.ts b/frontend/packages/components/bot-semi/src/semi/tree.ts index 556861b9..20a0bd57 100644 --- a/frontend/packages/components/bot-semi/src/semi/tree.ts +++ b/frontend/packages/components/bot-semi/src/semi/tree.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/tree'; diff --git a/frontend/packages/components/bot-semi/src/semi/trigger.ts b/frontend/packages/components/bot-semi/src/semi/trigger.ts index 3e11d406..e956d2ce 100644 --- a/frontend/packages/components/bot-semi/src/semi/trigger.ts +++ b/frontend/packages/components/bot-semi/src/semi/trigger.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/trigger'; diff --git a/frontend/packages/components/bot-semi/src/semi/typography.ts b/frontend/packages/components/bot-semi/src/semi/typography.ts index 98c0a9d9..ae14e4ce 100644 --- a/frontend/packages/components/bot-semi/src/semi/typography.ts +++ b/frontend/packages/components/bot-semi/src/semi/typography.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/typography'; diff --git a/frontend/packages/components/bot-semi/src/semi/upload.ts b/frontend/packages/components/bot-semi/src/semi/upload.ts index cd65935d..c128fe8a 100644 --- a/frontend/packages/components/bot-semi/src/semi/upload.ts +++ b/frontend/packages/components/bot-semi/src/semi/upload.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export type * from '@douyinfe/semi-ui/lib/es/upload'; diff --git a/frontend/packages/components/bot-semi/src/utils/env.ts b/frontend/packages/components/bot-semi/src/utils/env.ts index c257a403..8fd8ec35 100644 --- a/frontend/packages/components/bot-semi/src/utils/env.ts +++ b/frontend/packages/components/bot-semi/src/utils/env.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const isMobile = (): boolean => { const MOBILE_WIDTH_TH = 640; const width = document.documentElement.clientWidth; diff --git a/frontend/packages/components/bot-semi/src/utils/index.ts b/frontend/packages/components/bot-semi/src/utils/index.ts index 68795569..7d8d7985 100644 --- a/frontend/packages/components/bot-semi/src/utils/index.ts +++ b/frontend/packages/components/bot-semi/src/utils/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { isMobile } from './env'; diff --git a/frontend/packages/components/bot-semi/vitest.config.ts b/frontend/packages/components/bot-semi/vitest.config.ts index 8b8baa73..1b1724bf 100644 --- a/frontend/packages/components/bot-semi/vitest.config.ts +++ b/frontend/packages/components/bot-semi/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/json-viewer/__tests__/index.test.tsx b/frontend/packages/components/json-viewer/__tests__/index.test.tsx index 1466234e..89809316 100644 --- a/frontend/packages/components/json-viewer/__tests__/index.test.tsx +++ b/frontend/packages/components/json-viewer/__tests__/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import BigNumber from 'bignumber.js'; import { render } from '@testing-library/react'; diff --git a/frontend/packages/components/json-viewer/src/components/index.ts b/frontend/packages/components/json-viewer/src/components/index.ts index 1bba7001..29dd90b5 100644 --- a/frontend/packages/components/json-viewer/src/components/index.ts +++ b/frontend/packages/components/json-viewer/src/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { JsonField } from './json-field'; export { Line } from './line'; diff --git a/frontend/packages/components/json-viewer/src/components/json-field/index.tsx b/frontend/packages/components/json-viewer/src/components/json-field/index.tsx index e6357574..4b1ea784 100644 --- a/frontend/packages/components/json-viewer/src/components/json-field/index.tsx +++ b/frontend/packages/components/json-viewer/src/components/json-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { last } from 'lodash-es'; diff --git a/frontend/packages/components/json-viewer/src/components/line/index.tsx b/frontend/packages/components/json-viewer/src/components/line/index.tsx index cce7b2a4..2c2f0497 100644 --- a/frontend/packages/components/json-viewer/src/components/line/index.tsx +++ b/frontend/packages/components/json-viewer/src/components/line/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/components/json-viewer/src/components/long-str-value.tsx b/frontend/packages/components/json-viewer/src/components/long-str-value.tsx index d8ff852e..d9a84322 100644 --- a/frontend/packages/components/json-viewer/src/components/long-str-value.tsx +++ b/frontend/packages/components/json-viewer/src/components/long-str-value.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/components/json-viewer/src/components/text-field.tsx b/frontend/packages/components/json-viewer/src/components/text-field.tsx index ece6668e..493d14c1 100644 --- a/frontend/packages/components/json-viewer/src/components/text-field.tsx +++ b/frontend/packages/components/json-viewer/src/components/text-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/components/json-viewer/src/constants.ts b/frontend/packages/components/json-viewer/src/constants.ts index 412195bf..6155d883 100644 --- a/frontend/packages/components/json-viewer/src/constants.ts +++ b/frontend/packages/components/json-viewer/src/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Preset special key */ export enum LogObjSpecialKey { Error = '$error', diff --git a/frontend/packages/components/json-viewer/src/context.tsx b/frontend/packages/components/json-viewer/src/context.tsx index b128f1e3..9893cc37 100644 --- a/frontend/packages/components/json-viewer/src/context.tsx +++ b/frontend/packages/components/json-viewer/src/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useState, diff --git a/frontend/packages/components/json-viewer/src/declarations.d.ts b/frontend/packages/components/json-viewer/src/declarations.d.ts index 7cc757a8..a5e22767 100644 --- a/frontend/packages/components/json-viewer/src/declarations.d.ts +++ b/frontend/packages/components/json-viewer/src/declarations.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/components/json-viewer/src/hooks/index.ts b/frontend/packages/components/json-viewer/src/hooks/index.ts index 09e7767c..a26c249f 100644 --- a/frontend/packages/components/json-viewer/src/hooks/index.ts +++ b/frontend/packages/components/json-viewer/src/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useExpand } from './use-expand'; export { useValue } from './use-value'; diff --git a/frontend/packages/components/json-viewer/src/hooks/use-expand.ts b/frontend/packages/components/json-viewer/src/hooks/use-expand.ts index a7da3b11..f7f18118 100644 --- a/frontend/packages/components/json-viewer/src/hooks/use-expand.ts +++ b/frontend/packages/components/json-viewer/src/hooks/use-expand.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { useContextSelector } from 'use-context-selector'; diff --git a/frontend/packages/components/json-viewer/src/hooks/use-value.tsx b/frontend/packages/components/json-viewer/src/hooks/use-value.tsx index d9280aff..c4d2155b 100644 --- a/frontend/packages/components/json-viewer/src/hooks/use-value.tsx +++ b/frontend/packages/components/json-viewer/src/hooks/use-value.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { isBoolean, isNull, isNumber, isObject, isString } from 'lodash-es'; diff --git a/frontend/packages/components/json-viewer/src/index.tsx b/frontend/packages/components/json-viewer/src/index.tsx index dab5dadc..0a27da9e 100644 --- a/frontend/packages/components/json-viewer/src/index.tsx +++ b/frontend/packages/components/json-viewer/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { isNil, isString } from 'lodash-es'; diff --git a/frontend/packages/components/json-viewer/src/types.ts b/frontend/packages/components/json-viewer/src/types.ts index c0a01906..3b14fb0a 100644 --- a/frontend/packages/components/json-viewer/src/types.ts +++ b/frontend/packages/components/json-viewer/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /******************************************************************************* * Log related types */ diff --git a/frontend/packages/components/json-viewer/src/utils/big-number.ts b/frontend/packages/components/json-viewer/src/utils/big-number.ts index 84006c72..17a28bf2 100644 --- a/frontend/packages/components/json-viewer/src/utils/big-number.ts +++ b/frontend/packages/components/json-viewer/src/utils/big-number.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import BigNumber from 'bignumber.js'; /** diff --git a/frontend/packages/components/json-viewer/src/utils/generate-field.ts b/frontend/packages/components/json-viewer/src/utils/generate-field.ts index 86d5e8e3..b831d846 100644 --- a/frontend/packages/components/json-viewer/src/utils/generate-field.ts +++ b/frontend/packages/components/json-viewer/src/utils/generate-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { LineStatus, type JsonValueType, type Field } from '../types'; diff --git a/frontend/packages/components/json-viewer/src/utils/generate-str-avoid-escape.ts b/frontend/packages/components/json-viewer/src/utils/generate-str-avoid-escape.ts index 6194047b..30f37505 100644 --- a/frontend/packages/components/json-viewer/src/utils/generate-str-avoid-escape.ts +++ b/frontend/packages/components/json-viewer/src/utils/generate-str-avoid-escape.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Text in the object to avoid characters being translated export const generateStrAvoidEscape = (str: string) => { const characters = { diff --git a/frontend/packages/components/json-viewer/src/utils/generate-str-to-link.tsx b/frontend/packages/components/json-viewer/src/utils/generate-str-to-link.tsx index cdea8fb3..3bd538d5 100644 --- a/frontend/packages/components/json-viewer/src/utils/generate-str-to-link.tsx +++ b/frontend/packages/components/json-viewer/src/utils/generate-str-to-link.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { isString } from 'lodash-es'; diff --git a/frontend/packages/components/json-viewer/src/utils/index.ts b/frontend/packages/components/json-viewer/src/utils/index.ts index 3b8ea2ca..bcdd5a3f 100644 --- a/frontend/packages/components/json-viewer/src/utils/index.ts +++ b/frontend/packages/components/json-viewer/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { generateFields } from './generate-field'; export { generateStr2Link } from './generate-str-to-link'; export { generateStrAvoidEscape } from './generate-str-avoid-escape'; diff --git a/frontend/packages/components/json-viewer/vitest.config.ts b/frontend/packages/components/json-viewer/vitest.config.ts index 7c4a1610..7d18350b 100644 --- a/frontend/packages/components/json-viewer/vitest.config.ts +++ b/frontend/packages/components/json-viewer/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/components/loading-button/src/index.tsx b/frontend/packages/components/loading-button/src/index.tsx index ef151acb..5683afd0 100644 --- a/frontend/packages/components/loading-button/src/index.tsx +++ b/frontend/packages/components/loading-button/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useState } from 'react'; import { isString } from 'lodash-es'; diff --git a/frontend/packages/components/loading-button/src/typings.d.ts b/frontend/packages/components/loading-button/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/components/loading-button/src/typings.d.ts +++ b/frontend/packages/components/loading-button/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/components/loading-button/stories/demo.stories.tsx b/frontend/packages/components/loading-button/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/components/loading-button/stories/demo.stories.tsx +++ b/frontend/packages/components/loading-button/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/components/loading-button/vitest.config.ts b/frontend/packages/components/loading-button/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/components/loading-button/vitest.config.ts +++ b/frontend/packages/components/loading-button/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/mouse-pad-selector/src/constants.ts b/frontend/packages/components/mouse-pad-selector/src/constants.ts index 439b7a3d..86171159 100644 --- a/frontend/packages/components/mouse-pad-selector/src/constants.ts +++ b/frontend/packages/components/mouse-pad-selector/src/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const CACHE_KEY = 'workflow_prefer_interactive_type'; export const SHOW_KEY = 'show_workflow_interactive_type_guide'; diff --git a/frontend/packages/components/mouse-pad-selector/src/icons/mouse.tsx b/frontend/packages/components/mouse-pad-selector/src/icons/mouse.tsx index 4c3e480e..55b676f5 100644 --- a/frontend/packages/components/mouse-pad-selector/src/icons/mouse.tsx +++ b/frontend/packages/components/mouse-pad-selector/src/icons/mouse.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function MouseIcon() { return ( diff --git a/frontend/packages/components/mouse-pad-selector/src/utils.ts b/frontend/packages/components/mouse-pad-selector/src/utils.ts index 039cdb2b..491a6a75 100644 --- a/frontend/packages/components/mouse-pad-selector/src/utils.ts +++ b/frontend/packages/components/mouse-pad-selector/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InteractiveType } from './mouse-pad-selector'; import { CACHE_KEY, SHOW_KEY, IS_MAC_OS } from './constants'; diff --git a/frontend/packages/components/mouse-pad-selector/src/with-guiding-popover.tsx b/frontend/packages/components/mouse-pad-selector/src/with-guiding-popover.tsx index 784966dd..30b47436 100644 --- a/frontend/packages/components/mouse-pad-selector/src/with-guiding-popover.tsx +++ b/frontend/packages/components/mouse-pad-selector/src/with-guiding-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/components/mouse-pad-selector/stories/demo.stories.tsx b/frontend/packages/components/mouse-pad-selector/stories/demo.stories.tsx index 63488597..673bc37c 100644 --- a/frontend/packages/components/mouse-pad-selector/stories/demo.stories.tsx +++ b/frontend/packages/components/mouse-pad-selector/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef } from 'react'; import { GuidingPopover } from '../src/with-guiding-popover'; diff --git a/frontend/packages/components/mouse-pad-selector/stories/demo1.stories.tsx b/frontend/packages/components/mouse-pad-selector/stories/demo1.stories.tsx index 6c719442..cbe13ba2 100644 --- a/frontend/packages/components/mouse-pad-selector/stories/demo1.stories.tsx +++ b/frontend/packages/components/mouse-pad-selector/stories/demo1.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GuidingPopover } from '../src/with-guiding-popover'; // import { transform } from 'lodash-es'; diff --git a/frontend/packages/components/mouse-pad-selector/vitest.config.ts b/frontend/packages/components/mouse-pad-selector/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/components/mouse-pad-selector/vitest.config.ts +++ b/frontend/packages/components/mouse-pad-selector/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/resource-tree/src/components/base-node/constants.ts b/frontend/packages/components/resource-tree/src/components/base-node/constants.ts index be3e353b..6af53a6d 100644 --- a/frontend/packages/components/resource-tree/src/components/base-node/constants.ts +++ b/frontend/packages/components/resource-tree/src/components/base-node/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DependencyOrigin, NodeType } from '../../typings'; export const colorMap: Record = { diff --git a/frontend/packages/components/resource-tree/src/components/base-node/icon.tsx b/frontend/packages/components/resource-tree/src/components/base-node/icon.tsx index a7bc91c5..08d5f4bf 100644 --- a/frontend/packages/components/resource-tree/src/components/base-node/icon.tsx +++ b/frontend/packages/components/resource-tree/src/components/base-node/icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { CozAvatar } from '@coze-arch/coze-design'; diff --git a/frontend/packages/components/resource-tree/src/components/base-node/index.tsx b/frontend/packages/components/resource-tree/src/components/base-node/index.tsx index b7308af3..fac6237b 100644 --- a/frontend/packages/components/resource-tree/src/components/base-node/index.tsx +++ b/frontend/packages/components/resource-tree/src/components/base-node/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useState, useContext } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/resource-tree/src/components/base-node/tags.tsx b/frontend/packages/components/resource-tree/src/components/base-node/tags.tsx index 915434fb..2ca2504a 100644 --- a/frontend/packages/components/resource-tree/src/components/base-node/tags.tsx +++ b/frontend/packages/components/resource-tree/src/components/base-node/tags.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; import { IconCozInfinity } from '@coze-arch/coze-design/icons'; import { Tag, Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/components/resource-tree/src/components/collapse/arrow.tsx b/frontend/packages/components/resource-tree/src/components/collapse/arrow.tsx index f2fbd17b..a777ee22 100644 --- a/frontend/packages/components/resource-tree/src/components/collapse/arrow.tsx +++ b/frontend/packages/components/resource-tree/src/components/collapse/arrow.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function Arrow({ color }: { color: string }) { return ( diff --git a/frontend/packages/components/resource-tree/src/components/lines-render/render-line.tsx b/frontend/packages/components/resource-tree/src/components/lines-render/render-line.tsx index 882de86a..e29ef318 100644 --- a/frontend/packages/components/resource-tree/src/components/lines-render/render-line.tsx +++ b/frontend/packages/components/resource-tree/src/components/lines-render/render-line.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { type IPoint } from '@flowgram-adapter/fixed-layout-editor'; diff --git a/frontend/packages/components/resource-tree/src/components/lines-render/utils.tsx b/frontend/packages/components/resource-tree/src/components/lines-render/utils.tsx index 297647c9..e7b84c18 100644 --- a/frontend/packages/components/resource-tree/src/components/lines-render/utils.tsx +++ b/frontend/packages/components/resource-tree/src/components/lines-render/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IPoint, Rectangle } from '@flowgram-adapter/fixed-layout-editor'; export enum BezierControlType { diff --git a/frontend/packages/components/resource-tree/src/components/tools/index.tsx b/frontend/packages/components/resource-tree/src/components/tools/index.tsx index d2c53e03..c27f0406 100644 --- a/frontend/packages/components/resource-tree/src/components/tools/index.tsx +++ b/frontend/packages/components/resource-tree/src/components/tools/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { Divider } from '@coze-arch/coze-design'; diff --git a/frontend/packages/components/resource-tree/src/components/tools/interactive.tsx b/frontend/packages/components/resource-tree/src/components/tools/interactive.tsx index bec513ba..2fc1206f 100644 --- a/frontend/packages/components/resource-tree/src/components/tools/interactive.tsx +++ b/frontend/packages/components/resource-tree/src/components/tools/interactive.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/components/resource-tree/src/components/tools/minimap-switch.tsx b/frontend/packages/components/resource-tree/src/components/tools/minimap-switch.tsx index 6ccaad48..4008b1e6 100644 --- a/frontend/packages/components/resource-tree/src/components/tools/minimap-switch.tsx +++ b/frontend/packages/components/resource-tree/src/components/tools/minimap-switch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/components/resource-tree/src/components/tools/minimap.tsx b/frontend/packages/components/resource-tree/src/components/tools/minimap.tsx index 847ade2b..e7c899fb 100644 --- a/frontend/packages/components/resource-tree/src/components/tools/minimap.tsx +++ b/frontend/packages/components/resource-tree/src/components/tools/minimap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowMinimapService, MinimapRender, diff --git a/frontend/packages/components/resource-tree/src/components/tools/zoom-select.tsx b/frontend/packages/components/resource-tree/src/components/tools/zoom-select.tsx index 2e4c6f50..c858edaf 100644 --- a/frontend/packages/components/resource-tree/src/components/tools/zoom-select.tsx +++ b/frontend/packages/components/resource-tree/src/components/tools/zoom-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers */ import { useMemo, useState, type CSSProperties } from 'react'; diff --git a/frontend/packages/components/resource-tree/src/constants/id.ts b/frontend/packages/components/resource-tree/src/constants/id.ts index 799be2da..5afdf3e6 100644 --- a/frontend/packages/components/resource-tree/src/constants/id.ts +++ b/frontend/packages/components/resource-tree/src/constants/id.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const NANO_ID_NUM = 5; diff --git a/frontend/packages/components/resource-tree/src/constants/index.ts b/frontend/packages/components/resource-tree/src/constants/index.ts index 00a65c2e..ed0de370 100644 --- a/frontend/packages/components/resource-tree/src/constants/index.ts +++ b/frontend/packages/components/resource-tree/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NODE_WIDTH, NODE_HEIGHT, COLLAPSE_WIDTH } from './node'; export { STROKE_WIDTH, diff --git a/frontend/packages/components/resource-tree/src/constants/line.ts b/frontend/packages/components/resource-tree/src/constants/line.ts index 62ad3964..821dccbd 100644 --- a/frontend/packages/components/resource-tree/src/constants/line.ts +++ b/frontend/packages/components/resource-tree/src/constants/line.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const STROKE_WIDTH = 2; export const ARROW_HEIGHT = 7; export const LINE_CLASS_NAME = 'resource-tree-custom-line'; diff --git a/frontend/packages/components/resource-tree/src/constants/node.ts b/frontend/packages/components/resource-tree/src/constants/node.ts index a22cf94a..bf571b73 100644 --- a/frontend/packages/components/resource-tree/src/constants/node.ts +++ b/frontend/packages/components/resource-tree/src/constants/node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const NODE_WIDTH = 200; export const NODE_HEIGHT = 80; diff --git a/frontend/packages/components/resource-tree/src/contexts/index.tsx b/frontend/packages/components/resource-tree/src/contexts/index.tsx index ee9fe863..e2c9b5c3 100644 --- a/frontend/packages/components/resource-tree/src/contexts/index.tsx +++ b/frontend/packages/components/resource-tree/src/contexts/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TreeContext } from './tree-context'; diff --git a/frontend/packages/components/resource-tree/src/contexts/tree-context.tsx b/frontend/packages/components/resource-tree/src/contexts/tree-context.tsx index 1e849ed6..0f1634cd 100644 --- a/frontend/packages/components/resource-tree/src/contexts/tree-context.tsx +++ b/frontend/packages/components/resource-tree/src/contexts/tree-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export interface TreeContextValue { diff --git a/frontend/packages/components/resource-tree/src/entities/custom-render-state.ts b/frontend/packages/components/resource-tree/src/entities/custom-render-state.ts index 89cb5173..51eb5be6 100644 --- a/frontend/packages/components/resource-tree/src/entities/custom-render-state.ts +++ b/frontend/packages/components/resource-tree/src/entities/custom-render-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConfigEntity, type FlowNodeEntity, diff --git a/frontend/packages/components/resource-tree/src/entities/index.ts b/frontend/packages/components/resource-tree/src/entities/index.ts index 862819b4..c28e5ad9 100644 --- a/frontend/packages/components/resource-tree/src/entities/index.ts +++ b/frontend/packages/components/resource-tree/src/entities/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CustomRenderStateEntity } from './render-state-entity'; export { CustomRenderStateConfigEntity } from './custom-render-state'; diff --git a/frontend/packages/components/resource-tree/src/entities/render-state-entity.ts b/frontend/packages/components/resource-tree/src/entities/render-state-entity.ts index 7f979f88..8b98d6c6 100644 --- a/frontend/packages/components/resource-tree/src/entities/render-state-entity.ts +++ b/frontend/packages/components/resource-tree/src/entities/render-state-entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConfigEntity } from '@flowgram-adapter/fixed-layout-editor'; interface CustomRenderState { diff --git a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/index.tsx b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/index.tsx index c25d4a41..9a868c00 100644 --- a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/index.tsx +++ b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useCallback, forwardRef } from 'react'; import { type interfaces } from 'inversify'; @@ -42,7 +42,7 @@ export const FixedLayoutEditorProvider = forwardRef< get document(): FlowDocument { return container.get(FlowDocument); }, - }) as FixedLayoutPluginContext, + } as FixedLayoutPluginContext), [], ); return ( diff --git a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/container-module.ts b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/container-module.ts index 0ed6de63..79b105d7 100644 --- a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/container-module.ts +++ b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { bindContributions, diff --git a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/fixed-layout-preset.ts b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/fixed-layout-preset.ts index 8d5f2ba1..dae34976 100644 --- a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/fixed-layout-preset.ts +++ b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/fixed-layout-preset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createOperationPlugin, type PluginsProvider, diff --git a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/fixed-layout-props.ts b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/fixed-layout-props.ts index eb3bf7ae..2bea5f52 100644 --- a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/fixed-layout-props.ts +++ b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/fixed-layout-props.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ClipboardService, type EditorPluginContext, diff --git a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/flow-registers.ts b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/flow-registers.ts index 8c6f4e31..f21299a5 100644 --- a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/flow-registers.ts +++ b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/flow-registers.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { FlowNodesContentLayer, diff --git a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/index.ts b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/index.ts index 394701b9..b8448932 100644 --- a/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/index.ts +++ b/frontend/packages/components/resource-tree/src/fixed-layout-editor-provider/preset/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type FixedLayoutPluginContext, type FixedLayoutProps, diff --git a/frontend/packages/components/resource-tree/src/global.d.ts b/frontend/packages/components/resource-tree/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/components/resource-tree/src/global.d.ts +++ b/frontend/packages/components/resource-tree/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/components/resource-tree/src/hooks/index.tsx b/frontend/packages/components/resource-tree/src/hooks/index.tsx index 3c37d743..ed4ed4c1 100644 --- a/frontend/packages/components/resource-tree/src/hooks/index.tsx +++ b/frontend/packages/components/resource-tree/src/hooks/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useEditorProps } from './use-editor-props'; export { useBaseColor } from './use-base-color'; export { useCustomNodeRender } from './use-custom-node-render'; diff --git a/frontend/packages/components/resource-tree/src/hooks/use-base-color.tsx b/frontend/packages/components/resource-tree/src/hooks/use-base-color.tsx index 4756e624..7cf0a084 100644 --- a/frontend/packages/components/resource-tree/src/hooks/use-base-color.tsx +++ b/frontend/packages/components/resource-tree/src/hooks/use-base-color.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConstantKeys, FlowDocumentOptions, diff --git a/frontend/packages/components/resource-tree/src/hooks/use-custom-node-render.tsx b/frontend/packages/components/resource-tree/src/hooks/use-custom-node-render.tsx index d632d087..f0af8027 100644 --- a/frontend/packages/components/resource-tree/src/hooks/use-custom-node-render.tsx +++ b/frontend/packages/components/resource-tree/src/hooks/use-custom-node-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useContext, useMemo } from 'react'; import { diff --git a/frontend/packages/components/resource-tree/src/hooks/use-editor-props.tsx b/frontend/packages/components/resource-tree/src/hooks/use-editor-props.tsx index 9cecd34c..c9f260d2 100644 --- a/frontend/packages/components/resource-tree/src/hooks/use-editor-props.tsx +++ b/frontend/packages/components/resource-tree/src/hooks/use-editor-props.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { createMinimapPlugin } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/components/resource-tree/src/index.tsx b/frontend/packages/components/resource-tree/src/index.tsx index 499b5c90..fd789ed8 100644 --- a/frontend/packages/components/resource-tree/src/index.tsx +++ b/frontend/packages/components/resource-tree/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EditorRenderer } from '@flowgram-adapter/fixed-layout-editor'; import { type DependencyTree } from '@coze-arch/bot-api/workflow_api'; diff --git a/frontend/packages/components/resource-tree/src/initial-data.ts b/frontend/packages/components/resource-tree/src/initial-data.ts index ad35416e..55de05d1 100644 --- a/frontend/packages/components/resource-tree/src/initial-data.ts +++ b/frontend/packages/components/resource-tree/src/initial-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowDocumentJSON } from '@flowgram-adapter/fixed-layout-editor'; // only for test export const initialData: FlowDocumentJSON = { diff --git a/frontend/packages/components/resource-tree/src/layers/flow-lines-layer.tsx b/frontend/packages/components/resource-tree/src/layers/flow-lines-layer.tsx index 21c60bd6..edfb2711 100644 --- a/frontend/packages/components/resource-tree/src/layers/flow-lines-layer.tsx +++ b/frontend/packages/components/resource-tree/src/layers/flow-lines-layer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { throttle } from 'lodash-es'; diff --git a/frontend/packages/components/resource-tree/src/layers/index.tsx b/frontend/packages/components/resource-tree/src/layers/index.tsx index 22a2053c..cb95585a 100644 --- a/frontend/packages/components/resource-tree/src/layers/index.tsx +++ b/frontend/packages/components/resource-tree/src/layers/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FlowLinesLayer } from './flow-lines-layer'; diff --git a/frontend/packages/components/resource-tree/src/node-registries.ts b/frontend/packages/components/resource-tree/src/node-registries.ts index 89569df2..b22db8f1 100644 --- a/frontend/packages/components/resource-tree/src/node-registries.ts +++ b/frontend/packages/components/resource-tree/src/node-registries.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeJSON, FlowNodeBaseType, diff --git a/frontend/packages/components/resource-tree/src/plugins/custom-line-plugin.ts b/frontend/packages/components/resource-tree/src/plugins/custom-line-plugin.ts index 5c3acc48..d4430eb4 100644 --- a/frontend/packages/components/resource-tree/src/plugins/custom-line-plugin.ts +++ b/frontend/packages/components/resource-tree/src/plugins/custom-line-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { bindConfigEntity, definePluginCreator, diff --git a/frontend/packages/components/resource-tree/src/plugins/index.ts b/frontend/packages/components/resource-tree/src/plugins/index.ts index 07d8e1c2..951b37c1 100644 --- a/frontend/packages/components/resource-tree/src/plugins/index.ts +++ b/frontend/packages/components/resource-tree/src/plugins/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createCustomLinesPlugin } from './custom-line-plugin'; diff --git a/frontend/packages/components/resource-tree/src/services/custom-hover-service.ts b/frontend/packages/components/resource-tree/src/services/custom-hover-service.ts index 821a23ce..b221cb86 100644 --- a/frontend/packages/components/resource-tree/src/services/custom-hover-service.ts +++ b/frontend/packages/components/resource-tree/src/services/custom-hover-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { Emitter, diff --git a/frontend/packages/components/resource-tree/src/services/custom-lines-manager.ts b/frontend/packages/components/resource-tree/src/services/custom-lines-manager.ts index a650acad..76dbc882 100644 --- a/frontend/packages/components/resource-tree/src/services/custom-lines-manager.ts +++ b/frontend/packages/components/resource-tree/src/services/custom-lines-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { EntityManager, diff --git a/frontend/packages/components/resource-tree/src/services/index.ts b/frontend/packages/components/resource-tree/src/services/index.ts index d5887241..39522ec2 100644 --- a/frontend/packages/components/resource-tree/src/services/index.ts +++ b/frontend/packages/components/resource-tree/src/services/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CustomLinesManager } from './custom-lines-manager'; export { CustomHoverService } from './custom-hover-service'; export { TreeService } from './tree-service'; diff --git a/frontend/packages/components/resource-tree/src/services/tree-service.ts b/frontend/packages/components/resource-tree/src/services/tree-service.ts index 43e65743..24304d48 100644 --- a/frontend/packages/components/resource-tree/src/services/tree-service.ts +++ b/frontend/packages/components/resource-tree/src/services/tree-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-params */ /* eslint-disable complexity */ diff --git a/frontend/packages/components/resource-tree/src/typings/index.ts b/frontend/packages/components/resource-tree/src/typings/index.ts index 8c3b7419..d6e05850 100644 --- a/frontend/packages/components/resource-tree/src/typings/index.ts +++ b/frontend/packages/components/resource-tree/src/typings/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CustomLine, NodeType, DependencyOrigin, EdgeItem } from './line'; export { TreeNode } from './tree'; diff --git a/frontend/packages/components/resource-tree/src/typings/line.ts b/frontend/packages/components/resource-tree/src/typings/line.ts index 252a212c..17f2f850 100644 --- a/frontend/packages/components/resource-tree/src/typings/line.ts +++ b/frontend/packages/components/resource-tree/src/typings/line.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity, type IPoint, diff --git a/frontend/packages/components/resource-tree/src/typings/tree.ts b/frontend/packages/components/resource-tree/src/typings/tree.ts index cad7d8a7..186da5d0 100644 --- a/frontend/packages/components/resource-tree/src/typings/tree.ts +++ b/frontend/packages/components/resource-tree/src/typings/tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeMeta } from '@flowgram-adapter/fixed-layout-editor'; export interface TreeNode { diff --git a/frontend/packages/components/resource-tree/src/utils/ext-info.ts b/frontend/packages/components/resource-tree/src/utils/ext-info.ts index 6bc681ba..68c2d5a2 100644 --- a/frontend/packages/components/resource-tree/src/utils/ext-info.ts +++ b/frontend/packages/components/resource-tree/src/utils/ext-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEmpty } from 'lodash-es'; import { type FlowNodeEntity, diff --git a/frontend/packages/components/resource-tree/src/utils/index.ts b/frontend/packages/components/resource-tree/src/utils/index.ts index d2428dea..9c279f4c 100644 --- a/frontend/packages/components/resource-tree/src/utils/index.ts +++ b/frontend/packages/components/resource-tree/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getParentChildrenCount, getTreeIdFromNodeId, diff --git a/frontend/packages/components/resource-tree/src/utils/line.ts b/frontend/packages/components/resource-tree/src/utils/line.ts index a9d7726f..e95ee74f 100644 --- a/frontend/packages/components/resource-tree/src/utils/line.ts +++ b/frontend/packages/components/resource-tree/src/utils/line.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Bezier } from 'bezier-js'; import { type IPoint, Point } from '@flowgram-adapter/fixed-layout-editor'; diff --git a/frontend/packages/components/resource-tree/src/utils/node.ts b/frontend/packages/components/resource-tree/src/utils/node.ts index dd781ae1..9d8ac067 100644 --- a/frontend/packages/components/resource-tree/src/utils/node.ts +++ b/frontend/packages/components/resource-tree/src/utils/node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/fixed-layout-editor'; const getParentOfNoBlock = ( diff --git a/frontend/packages/components/resource-tree/src/utils/status.ts b/frontend/packages/components/resource-tree/src/utils/status.ts index b8cfb9c6..8648124e 100644 --- a/frontend/packages/components/resource-tree/src/utils/status.ts +++ b/frontend/packages/components/resource-tree/src/utils/status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DependencyTree } from '@coze-arch/bot-api/workflow_api'; export const isDepEmpty = (data?: DependencyTree) => { diff --git a/frontend/packages/components/resource-tree/src/utils/transform-tree.ts b/frontend/packages/components/resource-tree/src/utils/transform-tree.ts index f8cce2e7..a8f10c94 100644 --- a/frontend/packages/components/resource-tree/src/utils/transform-tree.ts +++ b/frontend/packages/components/resource-tree/src/utils/transform-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import type { DependencyTree, diff --git a/frontend/packages/components/resource-tree/vitest.config.ts b/frontend/packages/components/resource-tree/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/components/resource-tree/vitest.config.ts +++ b/frontend/packages/components/resource-tree/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/scroll-view/src/index.tsx b/frontend/packages/components/scroll-view/src/index.tsx index 176cded2..396ca24f 100644 --- a/frontend/packages/components/scroll-view/src/index.tsx +++ b/frontend/packages/components/scroll-view/src/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ScrollView } from './scroll-view'; export { type ScrollViewController } from './scroll-view/type'; diff --git a/frontend/packages/components/scroll-view/src/scroll-view/consts.ts b/frontend/packages/components/scroll-view/src/scroll-view/consts.ts index ef989dbd..477f5ac9 100644 --- a/frontend/packages/components/scroll-view/src/scroll-view/consts.ts +++ b/frontend/packages/components/scroll-view/src/scroll-view/consts.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const SCROLL_VIEW_ANCHOR_CONTAINER = 'scroll-view-anchor-container'; diff --git a/frontend/packages/components/scroll-view/src/scroll-view/context.tsx b/frontend/packages/components/scroll-view/src/scroll-view/context.tsx index 0b7588da..89c97868 100644 --- a/frontend/packages/components/scroll-view/src/scroll-view/context.tsx +++ b/frontend/packages/components/scroll-view/src/scroll-view/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, createContext, useContext } from 'react'; export const ScrollViewContentContext = createContext< diff --git a/frontend/packages/components/scroll-view/src/scroll-view/hooks.ts b/frontend/packages/components/scroll-view/src/scroll-view/hooks.ts index b7b8925b..1c357169 100644 --- a/frontend/packages/components/scroll-view/src/scroll-view/hooks.ts +++ b/frontend/packages/components/scroll-view/src/scroll-view/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { type RefObject, useEffect, useLayoutEffect, useRef } from 'react'; diff --git a/frontend/packages/components/scroll-view/src/scroll-view/index.tsx b/frontend/packages/components/scroll-view/src/scroll-view/index.tsx index 70f966ce..f897ba51 100644 --- a/frontend/packages/components/scroll-view/src/scroll-view/index.tsx +++ b/frontend/packages/components/scroll-view/src/scroll-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { diff --git a/frontend/packages/components/scroll-view/src/scroll-view/type.ts b/frontend/packages/components/scroll-view/src/scroll-view/type.ts index 2869b6d1..17c63a0e 100644 --- a/frontend/packages/components/scroll-view/src/scroll-view/type.ts +++ b/frontend/packages/components/scroll-view/src/scroll-view/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject } from 'react'; export interface ScrollViewController { diff --git a/frontend/packages/components/scroll-view/src/scroll-view/utils.ts b/frontend/packages/components/scroll-view/src/scroll-view/utils.ts index a81deea6..06090e65 100644 --- a/frontend/packages/components/scroll-view/src/scroll-view/utils.ts +++ b/frontend/packages/components/scroll-view/src/scroll-view/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * From: https://stackoverflow.com/questions/4900436/how-to-detect-the-installed-chrome-version */ diff --git a/frontend/packages/components/scroll-view/src/typings.d.ts b/frontend/packages/components/scroll-view/src/typings.d.ts index 7cc757a8..a5e22767 100644 --- a/frontend/packages/components/scroll-view/src/typings.d.ts +++ b/frontend/packages/components/scroll-view/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/components/scroll-view/src/utils/is-apple-webkit.ts b/frontend/packages/components/scroll-view/src/utils/is-apple-webkit.ts index 9e19b738..06760319 100644 --- a/frontend/packages/components/scroll-view/src/utils/is-apple-webkit.ts +++ b/frontend/packages/components/scroll-view/src/utils/is-apple-webkit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Is it under the Webkit kernel browser of the Apple platform? * Note: This judgment condition is not equal to under Apple devices, because some Apple devices (such as Mac) can run non-native Webkit engine browsers, such as Chromium (Blink) diff --git a/frontend/packages/components/scroll-view/stories/demo.stories.tsx b/frontend/packages/components/scroll-view/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/components/scroll-view/stories/demo.stories.tsx +++ b/frontend/packages/components/scroll-view/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/components/scroll-view/vitest.config.ts b/frontend/packages/components/scroll-view/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/components/scroll-view/vitest.config.ts +++ b/frontend/packages/components/scroll-view/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/table-view/__tests__/components/image-render/index.test.tsx b/frontend/packages/components/table-view/__tests__/components/image-render/index.test.tsx index 5fe30dbd..bfb941a4 100644 --- a/frontend/packages/components/table-view/__tests__/components/image-render/index.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/image-render/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, expect, test, vi } from 'vitest'; diff --git a/frontend/packages/components/table-view/__tests__/components/image-render/use-image-preview.test.tsx b/frontend/packages/components/table-view/__tests__/components/image-render/use-image-preview.test.tsx index 373f67aa..3e1cb68f 100644 --- a/frontend/packages/components/table-view/__tests__/components/image-render/use-image-preview.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/image-render/use-image-preview.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, expect, test, vi } from 'vitest'; diff --git a/frontend/packages/components/table-view/__tests__/components/image-render/utils.test.ts b/frontend/packages/components/table-view/__tests__/components/image-render/utils.test.ts index 3a93a5d4..ebc1aed1 100644 --- a/frontend/packages/components/table-view/__tests__/components/image-render/utils.test.ts +++ b/frontend/packages/components/table-view/__tests__/components/image-render/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, test, vi } from 'vitest'; import { diff --git a/frontend/packages/components/table-view/__tests__/components/renders/actions-render.test.tsx b/frontend/packages/components/table-view/__tests__/components/renders/actions-render.test.tsx index 717e2ff1..5f2150d7 100644 --- a/frontend/packages/components/table-view/__tests__/components/renders/actions-render.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/renders/actions-render.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, expect, test, vi } from 'vitest'; diff --git a/frontend/packages/components/table-view/__tests__/components/renders/edit-header-render.test.tsx b/frontend/packages/components/table-view/__tests__/components/renders/edit-header-render.test.tsx index c95a2b4b..fda633fd 100644 --- a/frontend/packages/components/table-view/__tests__/components/renders/edit-header-render.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/renders/edit-header-render.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, expect, test, vi } from 'vitest'; diff --git a/frontend/packages/components/table-view/__tests__/components/renders/tag-render.test.tsx b/frontend/packages/components/table-view/__tests__/components/renders/tag-render.test.tsx index a92175b7..c87c0a55 100644 --- a/frontend/packages/components/table-view/__tests__/components/renders/tag-render.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/renders/tag-render.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, expect, test } from 'vitest'; diff --git a/frontend/packages/components/table-view/__tests__/components/renders/text-render.test.tsx b/frontend/packages/components/table-view/__tests__/components/renders/text-render.test.tsx index 36136440..d27a88d9 100644 --- a/frontend/packages/components/table-view/__tests__/components/renders/text-render.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/renders/text-render.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, expect, test, vi, beforeEach } from 'vitest'; diff --git a/frontend/packages/components/table-view/__tests__/components/table-view/edit-menu.test.tsx b/frontend/packages/components/table-view/__tests__/components/table-view/edit-menu.test.tsx index ca487a14..744c35f0 100644 --- a/frontend/packages/components/table-view/__tests__/components/table-view/edit-menu.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/table-view/edit-menu.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, expect, test, vi, beforeEach } from 'vitest'; diff --git a/frontend/packages/components/table-view/__tests__/components/table-view/index.test.tsx b/frontend/packages/components/table-view/__tests__/components/table-view/index.test.tsx index d6c30b78..ad1da85d 100644 --- a/frontend/packages/components/table-view/__tests__/components/table-view/index.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/table-view/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, expect, test, vi, beforeEach } from 'vitest'; diff --git a/frontend/packages/components/table-view/__tests__/components/table-view/service.test.ts b/frontend/packages/components/table-view/__tests__/components/table-view/service.test.ts index 8b8443f9..a77143d6 100644 --- a/frontend/packages/components/table-view/__tests__/components/table-view/service.test.ts +++ b/frontend/packages/components/table-view/__tests__/components/table-view/service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, test, vi, beforeEach, afterEach } from 'vitest'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/components/table-view/__tests__/components/table-view/utils.test.tsx b/frontend/packages/components/table-view/__tests__/components/table-view/utils.test.tsx index 6ab22257..45392541 100644 --- a/frontend/packages/components/table-view/__tests__/components/table-view/utils.test.tsx +++ b/frontend/packages/components/table-view/__tests__/components/table-view/utils.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, test, vi } from 'vitest'; import { EditMenuItem } from '../../../src/components/types'; diff --git a/frontend/packages/components/table-view/src/components/renders/actions-render.tsx b/frontend/packages/components/table-view/src/components/renders/actions-render.tsx index f08b5265..1e9e6d18 100644 --- a/frontend/packages/components/table-view/src/components/renders/actions-render.tsx +++ b/frontend/packages/components/table-view/src/components/renders/actions-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { IconCozEdit, IconCozTrashCan } from '@coze-arch/coze-design/icons'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/components/table-view/src/components/renders/edit-header-render.tsx b/frontend/packages/components/table-view/src/components/renders/edit-header-render.tsx index 9261aeab..f75c62ca 100644 --- a/frontend/packages/components/table-view/src/components/renders/edit-header-render.tsx +++ b/frontend/packages/components/table-view/src/components/renders/edit-header-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { Tooltip, UIButton, UIInput } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/components/table-view/src/components/renders/image-render/index.tsx b/frontend/packages/components/table-view/src/components/renders/image-render/index.tsx index 8e0a707c..a51adcfc 100644 --- a/frontend/packages/components/table-view/src/components/renders/image-render/index.tsx +++ b/frontend/packages/components/table-view/src/components/renders/image-render/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState } from 'react'; import { Image } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/components/table-view/src/components/renders/image-render/use-image-preview.tsx b/frontend/packages/components/table-view/src/components/renders/image-render/use-image-preview.tsx index 0e343f48..9494863a 100644 --- a/frontend/packages/components/table-view/src/components/renders/image-render/use-image-preview.tsx +++ b/frontend/packages/components/table-view/src/components/renders/image-render/use-image-preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/components/table-view/src/components/renders/image-render/utils.ts b/frontend/packages/components/table-view/src/components/renders/image-render/utils.ts index 0d1dc03f..2d1a436d 100644 --- a/frontend/packages/components/table-view/src/components/renders/image-render/utils.ts +++ b/frontend/packages/components/table-view/src/components/renders/image-render/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CustomError } from '@coze-arch/bot-error'; export const getBase64 = (file: Blob): Promise => diff --git a/frontend/packages/components/table-view/src/components/renders/index.ts b/frontend/packages/components/table-view/src/components/renders/index.ts index f6ae9461..5308b320 100644 --- a/frontend/packages/components/table-view/src/components/renders/index.ts +++ b/frontend/packages/components/table-view/src/components/renders/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextRender } from './text-render'; export { EditHeaderRender } from './edit-header-render'; export { TagRender } from './tag-render'; diff --git a/frontend/packages/components/table-view/src/components/renders/tag-render.tsx b/frontend/packages/components/table-view/src/components/renders/tag-render.tsx index 58223b62..04d3b28f 100644 --- a/frontend/packages/components/table-view/src/components/renders/tag-render.tsx +++ b/frontend/packages/components/table-view/src/components/renders/tag-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/table-view/src/components/renders/text-render.tsx b/frontend/packages/components/table-view/src/components/renders/text-render.tsx index a3f8d911..ccb11f4b 100644 --- a/frontend/packages/components/table-view/src/components/renders/text-render.tsx +++ b/frontend/packages/components/table-view/src/components/renders/text-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState, useEffect, useRef } from 'react'; import { TextArea } from '@coze-arch/coze-design'; diff --git a/frontend/packages/components/table-view/src/components/table-view/edit-menu.tsx b/frontend/packages/components/table-view/src/components/table-view/edit-menu.tsx index 784ba506..b4f91fa0 100644 --- a/frontend/packages/components/table-view/src/components/table-view/edit-menu.tsx +++ b/frontend/packages/components/table-view/src/components/table-view/edit-menu.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/components/table-view/src/components/table-view/index.tsx b/frontend/packages/components/table-view/src/components/table-view/index.tsx index 039d87ac..b56117ab 100644 --- a/frontend/packages/components/table-view/src/components/table-view/index.tsx +++ b/frontend/packages/components/table-view/src/components/table-view/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { useState, diff --git a/frontend/packages/components/table-view/src/components/table-view/service.ts b/frontend/packages/components/table-view/src/components/table-view/service.ts index 6407e498..3b262538 100644 --- a/frontend/packages/components/table-view/src/components/table-view/service.ts +++ b/frontend/packages/components/table-view/src/components/table-view/service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS } from '@coze-arch/report-events'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/components/table-view/src/components/table-view/utils.tsx b/frontend/packages/components/table-view/src/components/table-view/utils.tsx index b7d77a39..e60d859d 100644 --- a/frontend/packages/components/table-view/src/components/table-view/utils.tsx +++ b/frontend/packages/components/table-view/src/components/table-view/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozEdit, IconCozTrashCan } from '@coze-arch/coze-design/icons'; import { type RowKey } from '@coze-arch/bot-semi/Table'; diff --git a/frontend/packages/components/table-view/src/components/types.ts b/frontend/packages/components/table-view/src/components/types.ts index dd196acf..21db99c1 100644 --- a/frontend/packages/components/table-view/src/components/types.ts +++ b/frontend/packages/components/table-view/src/components/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ColumnProps } from '@coze-arch/bot-semi/Table'; export type TableViewValue = string | number | undefined; diff --git a/frontend/packages/components/table-view/src/index.ts b/frontend/packages/components/table-view/src/index.ts index 18d9c13c..bc0b76e2 100644 --- a/frontend/packages/components/table-view/src/index.ts +++ b/frontend/packages/components/table-view/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import './main.css'; export { TableView, type TableViewMethods } from './components/table-view'; diff --git a/frontend/packages/components/table-view/src/typings.d.ts b/frontend/packages/components/table-view/src/typings.d.ts index 7cc757a8..a5e22767 100644 --- a/frontend/packages/components/table-view/src/typings.d.ts +++ b/frontend/packages/components/table-view/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/components/table-view/stories/demo.stories.tsx b/frontend/packages/components/table-view/stories/demo.stories.tsx index 77a2bcec..736d7459 100644 --- a/frontend/packages/components/table-view/stories/demo.stories.tsx +++ b/frontend/packages/components/table-view/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TableView } from '../src'; export default { diff --git a/frontend/packages/components/table-view/vitest.config.ts b/frontend/packages/components/table-view/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/components/table-view/vitest.config.ts +++ b/frontend/packages/components/table-view/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/components/virtual-list/src/index.ts b/frontend/packages/components/virtual-list/src/index.ts index 44099bb3..0071e6f3 100644 --- a/frontend/packages/components/virtual-list/src/index.ts +++ b/frontend/packages/components/virtual-list/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Centralized management of virtual list dependencies used in coze export { diff --git a/frontend/packages/components/virtual-list/vitest.config.ts b/frontend/packages/components/virtual-list/vitest.config.ts index 8b8baa73..1b1724bf 100644 --- a/frontend/packages/components/virtual-list/vitest.config.ts +++ b/frontend/packages/components/virtual-list/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/common/e2e/src/bot-e2e.ts b/frontend/packages/data/common/e2e/src/bot-e2e.ts index a2feb3bf..87aee35b 100644 --- a/frontend/packages/data/common/e2e/src/bot-e2e.ts +++ b/frontend/packages/data/common/e2e/src/bot-e2e.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum BotE2e { BotTab = 'bot.tab', BotListSearch = 'bot.list.search.input', diff --git a/frontend/packages/data/common/e2e/src/common-e2e.ts b/frontend/packages/data/common/e2e/src/common-e2e.ts index a4aea610..c9c04fc1 100644 --- a/frontend/packages/data/common/e2e/src/common-e2e.ts +++ b/frontend/packages/data/common/e2e/src/common-e2e.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum CommonE2e { PictureUpload = 'common.picture.upload', CommonFilePicker = 'common.file.picker', diff --git a/frontend/packages/data/common/e2e/src/index.ts b/frontend/packages/data/common/e2e/src/index.ts index cb7cb0c6..a0da91b9 100644 --- a/frontend/packages/data/common/e2e/src/index.ts +++ b/frontend/packages/data/common/e2e/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { KnowledgeE2e } from './knowledge-e2e'; export { BotE2e } from './bot-e2e'; export { CommonE2e } from './common-e2e'; diff --git a/frontend/packages/data/common/e2e/src/knowledge-e2e.ts b/frontend/packages/data/common/e2e/src/knowledge-e2e.ts index 3d8b4572..c45d7cb7 100644 --- a/frontend/packages/data/common/e2e/src/knowledge-e2e.ts +++ b/frontend/packages/data/common/e2e/src/knowledge-e2e.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum KnowledgeE2e { KnowledgeTab = 'knowledge.tab', // Knowledge Base List diff --git a/frontend/packages/data/common/e2e/src/variable-e2e.ts b/frontend/packages/data/common/e2e/src/variable-e2e.ts index 599744b5..a813183f 100644 --- a/frontend/packages/data/common/e2e/src/variable-e2e.ts +++ b/frontend/packages/data/common/e2e/src/variable-e2e.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum VariableE2e { VariableTreeDeleteBtn = 'variable.tree.delete.btn', } diff --git a/frontend/packages/data/common/feature-register/src/external-store.ts b/frontend/packages/data/common/feature-register/src/external-store.ts index de28fefa..0be0bdd3 100644 --- a/frontend/packages/data/common/feature-register/src/external-store.ts +++ b/frontend/packages/data/common/feature-register/src/external-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { unstable_batchedUpdates } from 'react-dom'; diff --git a/frontend/packages/data/common/feature-register/src/feature-registry-manager.ts b/frontend/packages/data/common/feature-register/src/feature-registry-manager.ts index fc328c67..2bbe4f9f 100644 --- a/frontend/packages/data/common/feature-register/src/feature-registry-manager.ts +++ b/frontend/packages/data/common/feature-register/src/feature-registry-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { ExternalStore } from './external-store'; diff --git a/frontend/packages/data/common/feature-register/src/index.ts b/frontend/packages/data/common/feature-register/src/index.ts index 88577b4d..a637cbd8 100644 --- a/frontend/packages/data/common/feature-register/src/index.ts +++ b/frontend/packages/data/common/feature-register/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import type { SetRequired } from 'type-fest'; import type { Draft } from 'immer'; @@ -57,7 +57,11 @@ export interface FeatureTypeInternalThisType { export type Disposer = () => void; -export class FeatureRegistry extends ExternalStore<{ +export class FeatureRegistry< + Type, + Module, + Context = undefined, +> extends ExternalStore<{ featureMap: Map>; }> { protected name: string; diff --git a/frontend/packages/data/common/feature-register/src/react.ts b/frontend/packages/data/common/feature-register/src/react.ts index 98453389..dd3980e0 100644 --- a/frontend/packages/data/common/feature-register/src/react.ts +++ b/frontend/packages/data/common/feature-register/src/react.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useSyncExternalStore } from 'use-sync-external-store/shim'; import type { IExternalStore } from './external-store'; diff --git a/frontend/packages/data/common/feature-register/src/typings.d.ts b/frontend/packages/data/common/feature-register/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/common/feature-register/src/typings.d.ts +++ b/frontend/packages/data/common/feature-register/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/common/feature-register/stories/demo.stories.tsx b/frontend/packages/data/common/feature-register/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/common/feature-register/stories/demo.stories.tsx +++ b/frontend/packages/data/common/feature-register/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/common/feature-register/vitest.config.ts b/frontend/packages/data/common/feature-register/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/common/feature-register/vitest.config.ts +++ b/frontend/packages/data/common/feature-register/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/common/reporter/__tests__/data-reporter.test.ts b/frontend/packages/data/common/reporter/__tests__/data-reporter.test.ts index 0b756483..a8fac78d 100644 --- a/frontend/packages/data/common/reporter/__tests__/data-reporter.test.ts +++ b/frontend/packages/data/common/reporter/__tests__/data-reporter.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, describe, test, vi } from 'vitest'; import { dataReporter } from '../src/reporter/data-reporter'; diff --git a/frontend/packages/data/common/reporter/__tests__/error-boundary.test.tsx b/frontend/packages/data/common/reporter/__tests__/error-boundary.test.tsx index c63f0aa7..5823573a 100644 --- a/frontend/packages/data/common/reporter/__tests__/error-boundary.test.tsx +++ b/frontend/packages/data/common/reporter/__tests__/error-boundary.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import React, { useState } from 'react'; diff --git a/frontend/packages/data/common/reporter/__tests__/utils.test.ts b/frontend/packages/data/common/reporter/__tests__/utils.test.ts index 9292c9f9..03177986 100644 --- a/frontend/packages/data/common/reporter/__tests__/utils.test.ts +++ b/frontend/packages/data/common/reporter/__tests__/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, describe, test, vi } from 'vitest'; import { reporterFun } from '../src/reporter/utils'; diff --git a/frontend/packages/data/common/reporter/src/components/error-boundary/error-boundary.tsx b/frontend/packages/data/common/reporter/src/components/error-boundary/error-boundary.tsx index 48a59c61..bd2bf441 100644 --- a/frontend/packages/data/common/reporter/src/components/error-boundary/error-boundary.tsx +++ b/frontend/packages/data/common/reporter/src/components/error-boundary/error-boundary.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type PropsWithChildren } from 'react'; import { logger, ErrorBoundary } from '@coze-arch/logger'; diff --git a/frontend/packages/data/common/reporter/src/constants.ts b/frontend/packages/data/common/reporter/src/constants.ts index 1909b3d4..7f950ab8 100644 --- a/frontend/packages/data/common/reporter/src/constants.ts +++ b/frontend/packages/data/common/reporter/src/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum DataNamespace { KNOWLEDGE = 'knowledge', DATABASE = 'database', diff --git a/frontend/packages/data/common/reporter/src/index.ts b/frontend/packages/data/common/reporter/src/index.ts index 99933539..c453963b 100644 --- a/frontend/packages/data/common/reporter/src/index.ts +++ b/frontend/packages/data/common/reporter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DataErrorBoundary, ErrorFallbackComponent, diff --git a/frontend/packages/data/common/reporter/src/reporter/data-reporter.ts b/frontend/packages/data/common/reporter/src/reporter/data-reporter.ts index dccdb009..8146b515 100644 --- a/frontend/packages/data/common/reporter/src/reporter/data-reporter.ts +++ b/frontend/packages/data/common/reporter/src/reporter/data-reporter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import type { ErrorEvent, CustomEvent } from '@coze-arch/logger'; diff --git a/frontend/packages/data/common/reporter/src/reporter/index.ts b/frontend/packages/data/common/reporter/src/reporter/index.ts index 532c3c82..6a110815 100644 --- a/frontend/packages/data/common/reporter/src/reporter/index.ts +++ b/frontend/packages/data/common/reporter/src/reporter/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { dataReporter } from './data-reporter'; diff --git a/frontend/packages/data/common/reporter/src/reporter/utils.ts b/frontend/packages/data/common/reporter/src/reporter/utils.ts index 5e115b4c..db655a9b 100644 --- a/frontend/packages/data/common/reporter/src/reporter/utils.ts +++ b/frontend/packages/data/common/reporter/src/reporter/utils.ts @@ -13,12 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { - reporter, - type CustomEvent, - type ErrorEvent, -} from '@coze-arch/logger'; + +import { reporter, type CustomEvent, type ErrorEvent } from '@coze-arch/logger'; import { type DataNamespace } from '../constants'; export const reporterFun = ( diff --git a/frontend/packages/data/common/reporter/src/typings.d.ts b/frontend/packages/data/common/reporter/src/typings.d.ts index 7cc757a8..a5e22767 100644 --- a/frontend/packages/data/common/reporter/src/typings.d.ts +++ b/frontend/packages/data/common/reporter/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/data/common/reporter/stories/DataErrorBoundary.stories.tsx b/frontend/packages/data/common/reporter/stories/DataErrorBoundary.stories.tsx index 3e228e6d..16b75944 100644 --- a/frontend/packages/data/common/reporter/stories/DataErrorBoundary.stories.tsx +++ b/frontend/packages/data/common/reporter/stories/DataErrorBoundary.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataErrorBoundary, DataNamespace } from '../src'; export default { diff --git a/frontend/packages/data/common/reporter/vitest.config.ts b/frontend/packages/data/common/reporter/vitest.config.ts index 4143276e..1d81d601 100644 --- a/frontend/packages/data/common/reporter/vitest.config.ts +++ b/frontend/packages/data/common/reporter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/common/utils/__tests__/data-type-select.test.tsx b/frontend/packages/data/common/utils/__tests__/data-type-select.test.tsx index a5348db5..6124706e 100644 --- a/frontend/packages/data/common/utils/__tests__/data-type-select.test.tsx +++ b/frontend/packages/data/common/utils/__tests__/data-type-select.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, vi, describe, test } from 'vitest'; import { fireEvent, render, screen } from '@testing-library/react'; diff --git a/frontend/packages/data/common/utils/__tests__/index.test.ts b/frontend/packages/data/common/utils/__tests__/index.test.ts index 4e25d89e..46697fec 100644 --- a/frontend/packages/data/common/utils/__tests__/index.test.ts +++ b/frontend/packages/data/common/utils/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, describe, test } from 'vitest'; import { isValidUrl, completeUrl } from '../src/url'; diff --git a/frontend/packages/data/common/utils/__tests__/singleline-select.test.tsx b/frontend/packages/data/common/utils/__tests__/singleline-select.test.tsx index ab7961f0..f2979f00 100644 --- a/frontend/packages/data/common/utils/__tests__/singleline-select.test.tsx +++ b/frontend/packages/data/common/utils/__tests__/singleline-select.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, vi, describe, test } from 'vitest'; import { fireEvent, render, screen } from '@testing-library/react'; import { type SelectProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/common/utils/src/components/data-type-select/index.tsx b/frontend/packages/data/common/utils/src/components/data-type-select/index.tsx index 00d5587a..9b29da07 100644 --- a/frontend/packages/data/common/utils/src/components/data-type-select/index.tsx +++ b/frontend/packages/data/common/utils/src/components/data-type-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/common/utils/src/components/input-with-count/index.tsx b/frontend/packages/data/common/utils/src/components/input-with-count/index.tsx index 3a86b626..d4d55ebe 100644 --- a/frontend/packages/data/common/utils/src/components/input-with-count/index.tsx +++ b/frontend/packages/data/common/utils/src/components/input-with-count/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { Input, type InputProps, withField } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/common/utils/src/components/singleline-select/index.tsx b/frontend/packages/data/common/utils/src/components/singleline-select/index.tsx index e7f9e24b..5efa74ad 100644 --- a/frontend/packages/data/common/utils/src/components/singleline-select/index.tsx +++ b/frontend/packages/data/common/utils/src/components/singleline-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cs from 'classnames'; import { useReactive } from 'ahooks'; import { Select, type SelectProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/common/utils/src/components/text-area/index.tsx b/frontend/packages/data/common/utils/src/components/text-area/index.tsx index d7244647..9ec84508 100644 --- a/frontend/packages/data/common/utils/src/components/text-area/index.tsx +++ b/frontend/packages/data/common/utils/src/components/text-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/data/common/utils/src/database-page.ts b/frontend/packages/data/common/utils/src/database-page.ts index 38656f63..55e2f0f5 100644 --- a/frontend/packages/data/common/utils/src/database-page.ts +++ b/frontend/packages/data/common/utils/src/database-page.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface DatabasePageQuery { page_mode?: 'modal' | 'normal'; from?: 'bot' | 'workflow' | 'library' | 'create'; diff --git a/frontend/packages/data/common/utils/src/feishu-lark.ts b/frontend/packages/data/common/utils/src/feishu-lark.ts index 559737a5..83acb5fc 100644 --- a/frontend/packages/data/common/utils/src/feishu-lark.ts +++ b/frontend/packages/data/common/utils/src/feishu-lark.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataSourceType } from '@coze-arch/bot-api/memory'; import { DocumentSource } from '@coze-arch/bot-api/knowledge'; import { UnitType } from '@coze-data/knowledge-resource-processor-core'; diff --git a/frontend/packages/data/common/utils/src/hooks/use-data-modal.tsx b/frontend/packages/data/common/utils/src/hooks/use-data-modal.tsx index 562d420e..7d654bf9 100644 --- a/frontend/packages/data/common/utils/src/hooks/use-data-modal.tsx +++ b/frontend/packages/data/common/utils/src/hooks/use-data-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/data/common/utils/src/index.ts b/frontend/packages/data/common/utils/src/index.ts index 96127be6..75601896 100644 --- a/frontend/packages/data/common/utils/src/index.ts +++ b/frontend/packages/data/common/utils/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { isValidUrl, completeUrl } from './url'; export { getFormatTypeFromUnitType } from './knowledge-page'; diff --git a/frontend/packages/data/common/utils/src/knowledge-page.ts b/frontend/packages/data/common/utils/src/knowledge-page.ts index b94808bf..399698fd 100644 --- a/frontend/packages/data/common/utils/src/knowledge-page.ts +++ b/frontend/packages/data/common/utils/src/knowledge-page.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { FormatType } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/common/utils/src/types.ts b/frontend/packages/data/common/utils/src/types.ts index fe857e07..fcce7be8 100644 --- a/frontend/packages/data/common/utils/src/types.ts +++ b/frontend/packages/data/common/utils/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum FilterKnowledgeType { ALL = 'ALL', TEXT = 'TEXT', diff --git a/frontend/packages/data/common/utils/src/typing.d.ts b/frontend/packages/data/common/utils/src/typing.d.ts index 0101ab48..ab47853b 100644 --- a/frontend/packages/data/common/utils/src/typing.d.ts +++ b/frontend/packages/data/common/utils/src/typing.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// /// diff --git a/frontend/packages/data/common/utils/src/update-interval.ts b/frontend/packages/data/common/utils/src/update-interval.ts index 3f58dd7d..88ef4444 100644 --- a/frontend/packages/data/common/utils/src/update-interval.ts +++ b/frontend/packages/data/common/utils/src/update-interval.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FormatType } from '@coze-arch/bot-api/memory'; import { type DocumentSource } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/common/utils/stories/data-type-select.stories.tsx b/frontend/packages/data/common/utils/stories/data-type-select.stories.tsx index 2e65eef9..919d518b 100644 --- a/frontend/packages/data/common/utils/stories/data-type-select.stories.tsx +++ b/frontend/packages/data/common/utils/stories/data-type-select.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getDataTypeOptions, DataTypeSelect, diff --git a/frontend/packages/data/common/utils/vitest.config.ts b/frontend/packages/data/common/utils/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/common/utils/vitest.config.ts +++ b/frontend/packages/data/common/utils/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/common/components/src/doc-preview/preview-md.tsx b/frontend/packages/data/knowledge/common/components/src/doc-preview/preview-md.tsx index 023e0463..38b380a3 100644 --- a/frontend/packages/data/knowledge/common/components/src/doc-preview/preview-md.tsx +++ b/frontend/packages/data/knowledge/common/components/src/doc-preview/preview-md.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, useRef } from 'react'; import { Spin } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/common/components/src/doc-preview/preview-txt.tsx b/frontend/packages/data/knowledge/common/components/src/doc-preview/preview-txt.tsx index fd5f17bf..dc4a8635 100644 --- a/frontend/packages/data/knowledge/common/components/src/doc-preview/preview-txt.tsx +++ b/frontend/packages/data/knowledge/common/components/src/doc-preview/preview-txt.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { Spin } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/common/components/src/doc-preview/use-preview-pdf/index.tsx b/frontend/packages/data/knowledge/common/components/src/doc-preview/use-preview-pdf/index.tsx index 6e072d03..e86848eb 100644 --- a/frontend/packages/data/knowledge/common/components/src/doc-preview/use-preview-pdf/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/doc-preview/use-preview-pdf/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { Document, Page, pdfjs } from 'react-pdf'; import { useMemo, useRef, useState } from 'react'; diff --git a/frontend/packages/data/knowledge/common/components/src/file-picker/components/common-file-picker.tsx b/frontend/packages/data/knowledge/common/components/src/file-picker/components/common-file-picker.tsx index 7f87595a..ab969da9 100644 --- a/frontend/packages/data/knowledge/common/components/src/file-picker/components/common-file-picker.tsx +++ b/frontend/packages/data/knowledge/common/components/src/file-picker/components/common-file-picker.tsx @@ -13,14 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useImperativeHandle, useRef, useState } from 'react'; import { Tree } from '@coze-arch/coze-design'; -import type { - TreeProps, - RenderFullLabelProps, -} from '@coze-arch/bot-semi/Tree'; +import type { TreeProps, RenderFullLabelProps } from '@coze-arch/bot-semi/Tree'; import { CommonE2e } from '@coze-data/e2e'; import { distinctFileNodes, levelMapTreeNodesToMap } from '../utils'; diff --git a/frontend/packages/data/knowledge/common/components/src/file-picker/consts.ts b/frontend/packages/data/knowledge/common/components/src/file-picker/consts.ts index ef2fba26..7fb6b26c 100644 --- a/frontend/packages/data/knowledge/common/components/src/file-picker/consts.ts +++ b/frontend/packages/data/knowledge/common/components/src/file-picker/consts.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Indent related data export const DEFAULT_FILENODE_LEVEL_INDENT = 24; diff --git a/frontend/packages/data/knowledge/common/components/src/file-picker/global.d.ts b/frontend/packages/data/knowledge/common/components/src/file-picker/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/common/components/src/file-picker/global.d.ts +++ b/frontend/packages/data/knowledge/common/components/src/file-picker/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/common/components/src/file-picker/hooks/useDefaultLabelRenderer.tsx b/frontend/packages/data/knowledge/common/components/src/file-picker/hooks/useDefaultLabelRenderer.tsx index bef99bb5..f0706c44 100644 --- a/frontend/packages/data/knowledge/common/components/src/file-picker/hooks/useDefaultLabelRenderer.tsx +++ b/frontend/packages/data/knowledge/common/components/src/file-picker/hooks/useDefaultLabelRenderer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable @coze-arch/max-line-per-function */ import React, { useState } from 'react'; diff --git a/frontend/packages/data/knowledge/common/components/src/file-picker/index.tsx b/frontend/packages/data/knowledge/common/components/src/file-picker/index.tsx index d6b7f2e5..3ba03077 100644 --- a/frontend/packages/data/knowledge/common/components/src/file-picker/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/file-picker/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CommonFilePicker, type CommonFilePickerProps, diff --git a/frontend/packages/data/knowledge/common/components/src/file-picker/types.ts b/frontend/packages/data/knowledge/common/components/src/file-picker/types.ts index 42242117..e6062568 100644 --- a/frontend/packages/data/knowledge/common/components/src/file-picker/types.ts +++ b/frontend/packages/data/knowledge/common/components/src/file-picker/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { isObject } from 'lodash-es'; diff --git a/frontend/packages/data/knowledge/common/components/src/file-picker/utils.ts b/frontend/packages/data/knowledge/common/components/src/file-picker/utils.ts index a80f0613..1ea7f59e 100644 --- a/frontend/packages/data/knowledge/common/components/src/file-picker/utils.ts +++ b/frontend/packages/data/knowledge/common/components/src/file-picker/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FileNode, TransSelectedFilesMiddleware } from './types'; export const getLeafFiles: TransSelectedFilesMiddleware = ( diff --git a/frontend/packages/data/knowledge/common/components/src/index.tsx b/frontend/packages/data/knowledge/common/components/src/index.tsx index 5ae15e4f..d76028a9 100644 --- a/frontend/packages/data/knowledge/common/components/src/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PreviewMd } from './doc-preview/preview-md'; export { PreviewTxt } from './doc-preview/preview-txt'; export { usePreviewPdf } from './doc-preview/use-preview-pdf'; diff --git a/frontend/packages/data/knowledge/common/components/src/segment-menu/document-item.tsx b/frontend/packages/data/knowledge/common/components/src/segment-menu/document-item.tsx index 64ef7da7..85e91469 100644 --- a/frontend/packages/data/knowledge/common/components/src/segment-menu/document-item.tsx +++ b/frontend/packages/data/knowledge/common/components/src/segment-menu/document-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/segment-menu/index.tsx b/frontend/packages/data/knowledge/common/components/src/segment-menu/index.tsx index 02f96669..228c4a1a 100644 --- a/frontend/packages/data/knowledge/common/components/src/segment-menu/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/segment-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/segment-menu/segment-tree.tsx b/frontend/packages/data/knowledge/common/components/src/segment-menu/segment-tree.tsx index ab6dae4b..9a20bd2d 100644 --- a/frontend/packages/data/knowledge/common/components/src/segment-menu/segment-tree.tsx +++ b/frontend/packages/data/knowledge/common/components/src/segment-menu/segment-tree.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Tree, type NodeRendererProps, type CursorProps } from 'react-arborist'; import { useState, type CSSProperties } from 'react'; diff --git a/frontend/packages/data/knowledge/common/components/src/segment-menu/types/index.ts b/frontend/packages/data/knowledge/common/components/src/segment-menu/types/index.ts index 7a2ccfc2..ad924cfe 100644 --- a/frontend/packages/data/knowledge/common/components/src/segment-menu/types/index.ts +++ b/frontend/packages/data/knowledge/common/components/src/segment-menu/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ILevelSegment } from '@coze-data/knowledge-stores'; export type LevelDocumentTree = Omit< diff --git a/frontend/packages/data/knowledge/common/components/src/segment-menu/use-context-menu.tsx b/frontend/packages/data/knowledge/common/components/src/segment-menu/use-context-menu.tsx index 59b27d25..48dad06a 100644 --- a/frontend/packages/data/knowledge/common/components/src/segment-menu/use-context-menu.tsx +++ b/frontend/packages/data/knowledge/common/components/src/segment-menu/use-context-menu.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeApi } from 'react-arborist'; import { useState } from 'react'; diff --git a/frontend/packages/data/knowledge/common/components/src/segment-menu/utils/level-tree-op.ts b/frontend/packages/data/knowledge/common/components/src/segment-menu/utils/level-tree-op.ts index bdf2003d..34578ff6 100644 --- a/frontend/packages/data/knowledge/common/components/src/segment-menu/utils/level-tree-op.ts +++ b/frontend/packages/data/knowledge/common/components/src/segment-menu/utils/level-tree-op.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { type ILevelSegment } from '@coze-data/knowledge-stores'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/document/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/document/index.tsx index 31102963..35aad981 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/document/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/document/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import DOMPurify from 'dompurify'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/image/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/image/index.tsx index 118550e0..9aa7df02 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/image/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/image/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import DOMPurify from 'dompurify'; import cls from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/title/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/title/index.tsx index afbf53ec..2b6f4df1 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/title/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/components/preview-chunk/title/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; export const TitleChunkPreview = ({ diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/event/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/event/index.tsx index 61c8cb6f..6aca9410 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/event/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/event/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import mitt from 'mitt'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/index.tsx index 08b493af..af8a9f72 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UploadImageMenu, UploadImageButton, diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/module.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/module.ts index 851763cf..3645cb5c 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/module.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { type Editor } from '@tiptap/react'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/registry.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/registry.ts index 146535ba..270dc9b8 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/registry.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FeatureRegistry } from '@coze-data/feature-register'; import { type EditorActionModule } from './module'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/base.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/base.tsx index 0e49e74e..ea099d7e 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/base.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/base.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type Editor } from '@tiptap/react'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/button-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/button-action.tsx index 476db1eb..b86f615d 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/button-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/button-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozImage } from '@coze-arch/coze-design/icons'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/custom-upload.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/custom-upload.tsx index 967d3b07..57a5dfaa 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/custom-upload.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/custom-upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/icon-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/icon-action.tsx index 8acffaa2..abc1d65c 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/icon-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/icon-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozImage } from '@coze-arch/coze-design/icons'; import { IconButton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/index.tsx index b60e85b0..38320c53 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UploadImageIcon } from './icon-action'; export { UploadImageButton } from './button-action'; export { UploadImageMenu } from './menu-action'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/menu-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/menu-action.tsx index a3df52e4..fe7f1da5 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/menu-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-actions/upload-image/menu-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { IconCozImage } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-context-menu/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-context-menu/index.tsx index 5847518c..7b0e32d2 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-context-menu/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-context-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-toolbar/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-toolbar/index.tsx index dce92b70..ddf36ff0 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-toolbar/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor-toolbar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Editor } from '@tiptap/react'; import { type EditorActionRegistry } from '../editor-actions/registry'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor/editor.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor/editor.tsx index 36209b17..dc73db3b 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor/editor.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor/editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor/index.tsx index 5968659b..af7477f1 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/editor/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DocumentEditor } from './editor'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/add-after-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/add-after-action.tsx index 5dee9398..4578ef81 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/add-after-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/add-after-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/add-before-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/add-before-action.tsx index ff06f81d..745f4f4e 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/add-before-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/add-before-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/delete-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/delete-action.tsx index 49906364..ef37c8ca 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/delete-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/delete-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/edit-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/edit-action.tsx index 0f91869b..d1c078c7 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/edit-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/edit-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/index.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/index.ts index 48324fa2..0682a0e1 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/index.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { EditAction } from './edit-action'; export { DeleteAction } from './delete-action'; export { AddBeforeAction } from './add-before-action'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/module.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/module.ts index c4b883a1..22085863 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/module.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { type Chunk } from '@/text-knowledge-editor/types/chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/registry.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/registry.ts index a00d2203..207335e6 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/registry.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar-actions/registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FeatureRegistry } from '@coze-data/feature-register'; import { type HoverEditBarActionModule } from './module'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar/hover-edit-bar.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar/hover-edit-bar.tsx index 6b27e8d5..c86c3a15 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar/hover-edit-bar.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar/hover-edit-bar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar/index.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar/index.ts index 9e0bb2e3..660e5316 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar/index.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/hover-edit-bar/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { HoverEditBar, type HoverEditBarProps } from './hover-edit-bar'; export { HoverEditBar, type HoverEditBarProps }; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/add-after-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/add-after-action.tsx index 10912cc0..0016432f 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/add-after-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/add-after-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/add-before-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/add-before-action.tsx index 5e3769a8..45707250 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/add-before-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/add-before-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/delete-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/delete-action.tsx index 5b01ef69..f5caea9e 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/delete-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/delete-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/edit-action.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/edit-action.tsx index 40563c4b..e5c97a47 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/edit-action.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/edit-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/index.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/index.ts index d095b3c7..4edeb520 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/index.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { EditAction } from './edit-action'; export { DeleteAction } from './delete-action'; export { AddBeforeAction } from './add-before-action'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/module.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/module.ts index 95a34eb9..9ffc63cc 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/module.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { type Chunk } from '@/text-knowledge-editor/types/chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/registry.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/registry.ts index ea94d46a..383dba3c 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/registry.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu-items/registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FeatureRegistry } from '@coze-data/feature-register'; import { type PreviewContextMenuItemModule } from './module'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu/index.tsx index 7caa7baf..7125af2a 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview-context-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview/index.tsx index 423e926e..b76a154f 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DocumentPreview } from './preview'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview/preview.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview/preview.tsx index 78d31e48..97f295b2 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview/preview.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/features/preview/preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-context-menu.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-context-menu.ts index 9b84c14f..dbea550b 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-context-menu.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-context-menu.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; interface UseControlContextMenuProps { diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-editor-context-menu.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-editor-context-menu.ts index 12f3b807..bf10ec99 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-editor-context-menu.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-editor-context-menu.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; interface UseControlEditorContextMenuProps { diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-preview-context-menu.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-preview-context-menu.ts index 26a10f94..3aecfa8a 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-preview-context-menu.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-control-preview-context-menu.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useEffect } from 'react'; import { type Chunk } from '@/text-knowledge-editor/types/chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-create-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-create-chunk.ts index 8daff2d0..e2f88e91 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-create-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-create-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-delete-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-delete-chunk.ts index 2584e784..e7edb0bb 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-delete-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-delete-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { CustomError } from '@coze-arch/bot-error'; import { KnowledgeApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-hover-effect.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-hover-effect.ts index a0a01037..90f42762 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-hover-effect.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-hover-effect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; export const useHoverEffect = () => { diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-out-editor-mode.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-out-editor-mode.ts index ba85d30b..a8be3322 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-out-editor-mode.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-out-editor-mode.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; export interface UseOutEditorModeProps { diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-update-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-update-chunk.ts index 3d1d9aab..06137b6d 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-update-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/inner/use-update-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { CustomError } from '@coze-arch/bot-error'; import { KnowledgeApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/index.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/index.ts index a4098ddf..c77a57b5 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/index.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useAddEmptyChunkAction } from './use-add-empty-chunk-action'; export { useDeleteAction } from './use-delete-action'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/use-add-empty-chunk-action.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/use-add-empty-chunk-action.ts index 49175f5d..81718725 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/use-add-empty-chunk-action.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/use-add-empty-chunk-action.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useEffect } from 'react'; import { type Chunk } from '@/text-knowledge-editor/types/chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/use-delete-action.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/use-delete-action.ts index 5276029e..e5effa51 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/use-delete-action.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/chunk-actions/use-delete-action.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useEffect } from 'react'; import { type Chunk } from '@/text-knowledge-editor/types/chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-create-local-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-create-local-chunk.ts index 6525b3f5..cec04d50 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-create-local-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-create-local-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Chunk } from '@/text-knowledge-editor/types/chunk'; import { updateLocalChunk } from '@/text-knowledge-editor/services/inner/chunk-op.service'; import { useCreateChunk } from '@/text-knowledge-editor/hooks/inner/use-create-chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-delete-local-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-delete-local-chunk.ts index 753cc178..a946a9b6 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-delete-local-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-delete-local-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Chunk } from '@/text-knowledge-editor/types/chunk'; import { deleteLocalChunk as deleteLocalChunkService } from '@/text-knowledge-editor/services/inner/chunk-op.service'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-delete-remote-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-delete-remote-chunk.ts index b3de3e3b..2530c22c 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-delete-remote-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-delete-remote-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Chunk } from '@/text-knowledge-editor/types/chunk'; import { deleteRemoteChunk as deleteRemoteChunkService } from '@/text-knowledge-editor/services/inner/chunk-op.service'; import { useDeleteChunk } from '@/text-knowledge-editor/hooks/inner/use-delete-chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-init-editor.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-init-editor.ts index 7f69bdb3..9c31164b 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-init-editor.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-init-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import StarterKit from '@tiptap/starter-kit'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-preview-context-menu.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-preview-context-menu.ts index 1714d121..29b398f5 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-preview-context-menu.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-preview-context-menu.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useEffect, useCallback } from 'react'; import { type Chunk } from '@/text-knowledge-editor/types/chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-save-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-save-chunk.ts index 40c86bf2..ab5eec73 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-save-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-save-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Chunk } from '@/text-knowledge-editor/types/chunk'; import { useUpdateRemoteChunk } from './use-update-remote-chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-update-remote-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-update-remote-chunk.ts index 24cfa08f..97428279 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-update-remote-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/hooks/use-case/use-update-remote-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Toast } from '@coze-arch/coze-design'; import { type Chunk } from '@/text-knowledge-editor/types/chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/index.tsx index 7ca67cd3..213e7ad2 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type Chunk } from './types/chunk'; export { DocumentEditor } from './features/editor'; export { DocumentPreview } from './features/preview'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/editor-context-actions-contributes.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/editor-context-actions-contributes.ts index 1f27512c..471d425e 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/editor-context-actions-contributes.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/editor-context-actions-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UploadImageMenu } from '@/text-knowledge-editor/features/editor-actions/upload-image'; import { createEditorActionFeatureRegistry, diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/hover-edit-bar-actions-contributes.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/hover-edit-bar-actions-contributes.ts index 27cb39e3..84842ae4 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/hover-edit-bar-actions-contributes.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/hover-edit-bar-actions-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createHoverEditBarActionFeatureRegistry, type HoverEditBarActionRegistry, diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/index.tsx index efb749ff..a7e6aa49 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BaseTextKnowledgeEditor } from './main'; export { type DocumentChunk } from './types/base-document'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/main.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/main.tsx index 492f60bf..3a8a9b87 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/main.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useState } from 'react'; import { useSaveChunk } from '@/text-knowledge-editor/hooks/use-case/use-save-chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/preview-context-menu-items-contributes.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/preview-context-menu-items-contributes.ts index cce11ee6..927e45c9 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/preview-context-menu-items-contributes.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/preview-context-menu-items-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createPreviewContextMenuItemFeatureRegistry, type PreviewContextMenuItemRegistry, diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/types/base-document.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/types/base-document.ts index b77e7d83..17a5fa2c 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/types/base-document.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/base/types/base-document.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SliceInfo } from '@coze-arch/bot-api/knowledge'; import { type Chunk } from '@/text-knowledge-editor/types/chunk'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/editor-actions-contributes.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/editor-actions-contributes.ts index 00bf5e98..a6dca383 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/editor-actions-contributes.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/editor-actions-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UploadImageMenu } from '@/text-knowledge-editor/features/editor-actions/upload-image'; import { createEditorActionFeatureRegistry, diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/inner/use-active-chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/inner/use-active-chunk.ts index 95e70b7b..82dfb7dd 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/inner/use-active-chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/inner/use-active-chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { type LevelDocumentTreeNode } from '../../types/level-document'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/inner/use-chunk-render-path.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/inner/use-chunk-render-path.ts index b6e385e4..b6e3f0a2 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/inner/use-chunk-render-path.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/inner/use-chunk-render-path.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { type LevelDocumentChunk } from '../../types/level-document'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/use-case/index.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/use-case/index.ts index 58a3f96e..d80ad4a7 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/use-case/index.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/use-case/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useScrollToSelection } from './use-scroll-to-selection'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/use-case/use-scroll-to-selection.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/use-case/use-scroll-to-selection.ts index 342b25ad..948d7a9c 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/use-case/use-scroll-to-selection.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hooks/use-case/use-scroll-to-selection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { createLocateChunkId } from '../../services/locate-segment'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hover-edit-bar-actions-contributes.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hover-edit-bar-actions-contributes.ts index f678ffb9..8836bf58 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hover-edit-bar-actions-contributes.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/hover-edit-bar-actions-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createHoverEditBarActionFeatureRegistry, type HoverEditBarActionRegistry, diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/index.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/index.tsx index 3194b37c..82e535df 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/index.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LevelTextKnowledgeEditor } from './main'; export { withTitle } from './services/chunk-op.service'; export { diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/main.tsx b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/main.tsx index 24a63c31..7df18421 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/main.tsx +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useEffect, useState, useCallback } from 'react'; import { type Editor } from '@tiptap/react'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/preview-context-menu-items-contributes.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/preview-context-menu-items-contributes.ts index 67028d95..b3e73846 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/preview-context-menu-items-contributes.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/preview-context-menu-items-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createPreviewContextMenuItemFeatureRegistry, type PreviewContextMenuItemRegistry, diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/services/chunk-op.service.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/services/chunk-op.service.ts index 0955d3ee..ff64ee71 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/services/chunk-op.service.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/services/chunk-op.service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LevelDocumentTree, type LevelDocumentChunk, diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/services/locate-segment.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/services/locate-segment.ts index 50e19b64..ff1f7bd5 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/services/locate-segment.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/services/locate-segment.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const createLocateChunkId = (id: number | string) => `segment-${id}`; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/types/level-document.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/types/level-document.ts index a9ed2c9d..4b4fa7f6 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/types/level-document.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/scenes/level/types/level-document.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ILevelSegment } from '@coze-data/knowledge-stores'; import { type Chunk } from '@coze-data/knowledge-common-components/text-knowledge-editor'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/chunk-op.service.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/chunk-op.service.ts index d64cfdd7..f09dcad2 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/chunk-op.service.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/chunk-op.service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { SliceStatus } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/document-editor.service.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/document-editor.service.ts index 85ef0a10..31a572f5 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/document-editor.service.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/document-editor.service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Chunk } from '@/text-knowledge-editor/types/chunk'; /** diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-img-cls.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-img-cls.ts index 4260c714..6ab0e341 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-img-cls.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-img-cls.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; export const getEditorImgClassname = () => diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-table-cls.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-table-cls.ts index b34270e6..11095be8 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-table-cls.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-table-cls.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; export const getEditorTableClassname = () => diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-words-cls.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-words-cls.ts index 6feb369d..63db2c6d 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-words-cls.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/inner/get-editor-words-cls.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; export const getEditorWordsCls = () => diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-editor-content.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-editor-content.ts index df3d7b3f..9bc8462b 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-editor-content.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-editor-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Editor } from '@tiptap/react'; /** diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-init-editor-content.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-init-editor-content.ts index 79d41a7a..87b4ec4e 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-init-editor-content.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-init-editor-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The editor doesn't wrap/n, so it needs to be converted to a < br/> tag */ diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-render-editor-content.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-render-editor-content.ts index 17500604..5261a04f 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-render-editor-content.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/get-render-editor-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { escapeHtml } from '@/text-knowledge-editor/utils/escape-html'; /** diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/is-editor-content-change.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/is-editor-content-change.ts index 9fd812ad..460fddb8 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/is-editor-content-change.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/services/use-case/is-editor-content-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Chunk } from '@/text-knowledge-editor/types/chunk'; import { processEditorContent } from '../inner/document-editor.service'; diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/types/chunk.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/types/chunk.ts index 91f87d7b..28aace31 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/types/chunk.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/types/chunk.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SliceStatus } from '@coze-arch/bot-api/knowledge'; export interface Chunk { diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/utils/escape-html.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/utils/escape-html.ts index d695be67..ff36cd2f 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/utils/escape-html.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/utils/escape-html.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * HTML whitelist to prevent XSS attacks */ diff --git a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/utils/upload.ts b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/utils/upload.ts index 98e3e064..9aa11364 100644 --- a/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/utils/upload.ts +++ b/frontend/packages/data/knowledge/common/components/src/text-knowledge-editor/utils/upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/data/knowledge/common/components/src/typings.d.ts b/frontend/packages/data/knowledge/common/components/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/common/components/src/typings.d.ts +++ b/frontend/packages/data/knowledge/common/components/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/common/components/stories/demo.stories.tsx b/frontend/packages/data/knowledge/common/components/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/common/components/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/common/components/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/common/components/vitest.config.ts b/frontend/packages/data/knowledge/common/components/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/common/components/vitest.config.ts +++ b/frontend/packages/data/knowledge/common/components/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/common/hooks/src/index.tsx b/frontend/packages/data/knowledge/common/hooks/src/index.tsx index 47e8724d..3350d4f2 100644 --- a/frontend/packages/data/knowledge/common/hooks/src/index.tsx +++ b/frontend/packages/data/knowledge/common/hooks/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useKnowledgeNavigate } from './use-case/use-knowledge-navigate'; export { useGetKnowledgeListInfo } from './use-case/use-get-knowledge-list-info'; export { useTosContent } from './use-case/use-tos-content'; diff --git a/frontend/packages/data/knowledge/common/hooks/src/typings.d.ts b/frontend/packages/data/knowledge/common/hooks/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/common/hooks/src/typings.d.ts +++ b/frontend/packages/data/knowledge/common/hooks/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/common/hooks/src/use-case/index.tsx b/frontend/packages/data/knowledge/common/hooks/src/use-case/index.tsx index 2195c087..bb5c6657 100644 --- a/frontend/packages/data/knowledge/common/hooks/src/use-case/index.tsx +++ b/frontend/packages/data/knowledge/common/hooks/src/use-case/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useGetKnowledgeListInfo } from './use-get-knowledge-list-info'; export { useKnowledgeNavigate } from './use-knowledge-navigate'; export { useTosContent } from './use-tos-content'; diff --git a/frontend/packages/data/knowledge/common/hooks/src/use-case/use-get-knowledge-list-info.ts b/frontend/packages/data/knowledge/common/hooks/src/use-case/use-get-knowledge-list-info.ts index 87a37c8e..d611a5b5 100644 --- a/frontend/packages/data/knowledge/common/hooks/src/use-case/use-get-knowledge-list-info.ts +++ b/frontend/packages/data/knowledge/common/hooks/src/use-case/use-get-knowledge-list-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { useSpaceStore } from '@coze-arch/bot-studio-store'; import { useErrorHandler } from '@coze-arch/logger'; diff --git a/frontend/packages/data/knowledge/common/hooks/src/use-case/use-knowledge-navigate.ts b/frontend/packages/data/knowledge/common/hooks/src/use-case/use-knowledge-navigate.ts index 28392cc5..ba6f0c81 100644 --- a/frontend/packages/data/knowledge/common/hooks/src/use-case/use-knowledge-navigate.ts +++ b/frontend/packages/data/knowledge/common/hooks/src/use-case/use-knowledge-navigate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, type To, diff --git a/frontend/packages/data/knowledge/common/hooks/src/use-case/use-tos-content.tsx b/frontend/packages/data/knowledge/common/hooks/src/use-case/use-tos-content.tsx index d368fd07..1361b1b8 100644 --- a/frontend/packages/data/knowledge/common/hooks/src/use-case/use-tos-content.tsx +++ b/frontend/packages/data/knowledge/common/hooks/src/use-case/use-tos-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; export const useTosContent = (tosUrl?: string) => { diff --git a/frontend/packages/data/knowledge/common/hooks/stories/demo.stories.tsx b/frontend/packages/data/knowledge/common/hooks/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/common/hooks/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/common/hooks/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/common/hooks/vitest.config.ts b/frontend/packages/data/knowledge/common/hooks/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/common/hooks/vitest.config.ts +++ b/frontend/packages/data/knowledge/common/hooks/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/common/services/src/index.tsx b/frontend/packages/data/knowledge/common/services/src/index.tsx index c73c27db..e69be192 100644 --- a/frontend/packages/data/knowledge/common/services/src/index.tsx +++ b/frontend/packages/data/knowledge/common/services/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getKnowledgeIDEQuery, getKnowledgeIsFullModeByBiz } from './use-case'; diff --git a/frontend/packages/data/knowledge/common/services/src/typings.d.ts b/frontend/packages/data/knowledge/common/services/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/common/services/src/typings.d.ts +++ b/frontend/packages/data/knowledge/common/services/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/common/services/src/use-case/get-knowledge-ide-query.ts b/frontend/packages/data/knowledge/common/services/src/use-case/get-knowledge-ide-query.ts index 165c14c1..9d68cb47 100644 --- a/frontend/packages/data/knowledge/common/services/src/use-case/get-knowledge-ide-query.ts +++ b/frontend/packages/data/knowledge/common/services/src/use-case/get-knowledge-ide-query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface KnowledgeIDEQuery { biz?: 'agentIDE' | 'workflow' | 'library' | 'project'; bot_id?: string; diff --git a/frontend/packages/data/knowledge/common/services/src/use-case/get-knowledge-is-full-mode-by-biz.ts b/frontend/packages/data/knowledge/common/services/src/use-case/get-knowledge-is-full-mode-by-biz.ts index d711212e..ecd5bfa5 100644 --- a/frontend/packages/data/knowledge/common/services/src/use-case/get-knowledge-is-full-mode-by-biz.ts +++ b/frontend/packages/data/knowledge/common/services/src/use-case/get-knowledge-is-full-mode-by-biz.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getKnowledgeIDEQuery } from './get-knowledge-ide-query'; const isKnowledgePathname = (): boolean => { diff --git a/frontend/packages/data/knowledge/common/services/src/use-case/index.tsx b/frontend/packages/data/knowledge/common/services/src/use-case/index.tsx index b120b306..2587fd3d 100644 --- a/frontend/packages/data/knowledge/common/services/src/use-case/index.tsx +++ b/frontend/packages/data/knowledge/common/services/src/use-case/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getKnowledgeIDEQuery } from './get-knowledge-ide-query'; export { getKnowledgeIsFullModeByBiz } from './get-knowledge-is-full-mode-by-biz'; diff --git a/frontend/packages/data/knowledge/common/services/stories/demo.stories.tsx b/frontend/packages/data/knowledge/common/services/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/common/services/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/common/services/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/common/services/vitest.config.ts b/frontend/packages/data/knowledge/common/services/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/common/services/vitest.config.ts +++ b/frontend/packages/data/knowledge/common/services/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/common/stores/src/context.tsx b/frontend/packages/data/knowledge/common/stores/src/context.tsx index 338421c0..6548ba39 100644 --- a/frontend/packages/data/knowledge/common/stores/src/context.tsx +++ b/frontend/packages/data/knowledge/common/stores/src/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type PropsWithChildren, type FC, useRef } from 'react'; import { diff --git a/frontend/packages/data/knowledge/common/stores/src/hooks.ts b/frontend/packages/data/knowledge/common/stores/src/hooks.ts index 7f359644..f8d9b61a 100644 --- a/frontend/packages/data/knowledge/common/stores/src/hooks.ts +++ b/frontend/packages/data/knowledge/common/stores/src/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { useStoreWithEqualityFn } from 'zustand/traditional'; diff --git a/frontend/packages/data/knowledge/common/stores/src/index.ts b/frontend/packages/data/knowledge/common/stores/src/index.ts index 5e2af1ae..ddf0ee2e 100644 --- a/frontend/packages/data/knowledge/common/stores/src/index.ts +++ b/frontend/packages/data/knowledge/common/stores/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDataCallbacks, useDataNavigate, diff --git a/frontend/packages/data/knowledge/common/stores/src/knowledge-preview.ts b/frontend/packages/data/knowledge/common/stores/src/knowledge-preview.ts index 473fb1e9..5aa239fc 100644 --- a/frontend/packages/data/knowledge/common/stores/src/knowledge-preview.ts +++ b/frontend/packages/data/knowledge/common/stores/src/knowledge-preview.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { type DocumentInfo, type Dataset } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/common/stores/src/level-segments-slice.ts b/frontend/packages/data/knowledge/common/stores/src/level-segments-slice.ts index 857c56f3..467a7fd0 100644 --- a/frontend/packages/data/knowledge/common/stores/src/level-segments-slice.ts +++ b/frontend/packages/data/knowledge/common/stores/src/level-segments-slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; export interface ITableDetail { diff --git a/frontend/packages/data/knowledge/common/stores/src/params-store.ts b/frontend/packages/data/knowledge/common/stores/src/params-store.ts index a4a5f6cf..34b46e92 100644 --- a/frontend/packages/data/knowledge/common/stores/src/params-store.ts +++ b/frontend/packages/data/knowledge/common/stores/src/params-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { diff --git a/frontend/packages/data/knowledge/common/stores/src/processing-knowledge.ts b/frontend/packages/data/knowledge/common/stores/src/processing-knowledge.ts index c8fdc000..a1de1dae 100644 --- a/frontend/packages/data/knowledge/common/stores/src/processing-knowledge.ts +++ b/frontend/packages/data/knowledge/common/stores/src/processing-knowledge.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/knowledge/common/stores/src/storage-strategy-slice.ts b/frontend/packages/data/knowledge/common/stores/src/storage-strategy-slice.ts index b837b8e2..36eaa250 100644 --- a/frontend/packages/data/knowledge/common/stores/src/storage-strategy-slice.ts +++ b/frontend/packages/data/knowledge/common/stores/src/storage-strategy-slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; import { type OpenSearchConfig, diff --git a/frontend/packages/data/knowledge/common/stores/src/typings.d.ts b/frontend/packages/data/knowledge/common/stores/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/common/stores/src/typings.d.ts +++ b/frontend/packages/data/knowledge/common/stores/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/common/stores/vitest.config.ts b/frontend/packages/data/knowledge/common/stores/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/common/stores/vitest.config.ts +++ b/frontend/packages/data/knowledge/common/stores/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/index.tsx b/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/index.tsx index cffab02b..63de7daf 100644 --- a/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDatasetStore } from './store/data-set'; diff --git a/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/store/data-set.ts b/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/store/data-set.ts index b661f3a9..dae8e604 100644 --- a/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/store/data-set.ts +++ b/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/store/data-set.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { type Dataset } from '@coze-arch/idl/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/typings.d.ts b/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/typings.d.ts +++ b/frontend/packages/data/knowledge/knowledge-data-set-for-agent/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/knowledge-data-set-for-agent/vitest.config.ts b/frontend/packages/data/knowledge/knowledge-data-set-for-agent/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/knowledge-data-set-for-agent/vitest.config.ts +++ b/frontend/packages/data/knowledge/knowledge-data-set-for-agent/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/index.tsx index ff97bb6b..ebcb7497 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BaseKnowledgeIDE, type BaseKnowledgeIDEProps } from './scenes/base'; export { useBaseKnowledgeIDEFullScreenModal } from './scenes/base/modal'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/img-ide/import-knowledge-source-menu-contributes.ts b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/img-ide/import-knowledge-source-menu-contributes.ts index a9674bc9..72e43beb 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/img-ide/import-knowledge-source-menu-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/img-ide/import-knowledge-source-menu-contributes.ts @@ -13,10 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { - ImageLocalModule, -} from '@coze-data/knowledge-ide-base/features/import-knowledge-sources/menu/image-local'; + +import { ImageLocalModule } from '@coze-data/knowledge-ide-base/features/import-knowledge-sources/menu/image-local'; import { createImportKnowledgeMenuSourceFeatureRegistry, type ImportKnowledgeMenuSourceRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/img-ide/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/img-ide/index.tsx index d58e09e7..eeb34a7b 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/img-ide/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/img-ide/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { KnowledgeIDEBaseLayout } from '@coze-data/knowledge-ide-base/layout/base'; import { BaseKnowledgeIDENavBar } from '@coze-data/knowledge-ide-base/features/nav-bar/base'; import { diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/index.tsx index 01fe0a3f..c13cb228 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useGetKnowledgeType } from '@coze-data/knowledge-ide-base/hooks/use-case'; import { FormatType } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/modal/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/modal/index.tsx index cc074066..50b1b636 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/modal/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IKnowledgeParams } from '@coze-data/knowledge-stores'; import { useKnowledgeIDEFullScreenModal as useKnowledgeIDEFullScreenModalBase } from '@coze-data/knowledge-ide-base/layout/base/modal'; import { type KnowledgeIDENavBarProps } from '@coze-data/knowledge-ide-base/components/knowledge-nav-bar'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/table-ide/import-knowledge-source-menu-contributes.ts b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/table-ide/import-knowledge-source-menu-contributes.ts index 97fceb56..16993dcc 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/table-ide/import-knowledge-source-menu-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/table-ide/import-knowledge-source-menu-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TableLocalModule, TableCustomModule, diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/table-ide/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/table-ide/index.tsx index 4bd155af..eaebc55f 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/table-ide/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/table-ide/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { KnowledgeIDEBaseLayout } from '@coze-data/knowledge-ide-base/layout/base'; import { TableKnowledgeWorkspace, diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/text-ide/import-knowledge-source-menu-contributes.ts b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/text-ide/import-knowledge-source-menu-contributes.ts index eb8a92ec..92d8828c 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/text-ide/import-knowledge-source-menu-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/text-ide/import-knowledge-source-menu-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TextLocalModule } from '@coze-data/knowledge-ide-base/features/import-knowledge-sources/menu/text-local'; import { TextCustomModule } from '@coze-data/knowledge-ide-base/features/import-knowledge-sources/menu/text-custom'; import { diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/text-ide/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/text-ide/index.tsx index b2284c6c..e6c88e40 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/text-ide/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/text-ide/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { KnowledgeIDEBaseLayout } from '@coze-data/knowledge-ide-base/layout/base'; import { type TextKnowledgeWorkspaceProps, diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/types.ts b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/types.ts index 408f094d..917d72c8 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/types.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/base/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type KnowledgeIDEBaseLayoutProps } from '@coze-data/knowledge-ide-base/layout'; import { type KnowledgeIDENavBarProps } from '@coze-data/knowledge-ide-base/components/knowledge-nav-bar'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-agent-ide/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-agent-ide/index.tsx index 2d5e5aa8..9b7474fe 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-agent-ide/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-agent-ide/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BizAgentIdeKnowledgeIDENavBar } from '@coze-data/knowledge-ide-base/features/nav-bar/biz-agent-ide'; import { BaseKnowledgeIDE, type BaseKnowledgeIDEProps } from '../base'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-agent-ide/types.ts b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-agent-ide/types.ts index 8596bf15..a9088edf 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-agent-ide/types.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-agent-ide/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type KnowledgeIDENavBarProps } from '@coze-data/knowledge-ide-base/components/knowledge-nav-bar'; import { type BaseKnowledgeIDEProps } from '../base/types'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-library/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-library/index.tsx index 14c81c94..e5897f56 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-library/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-library/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BaseKnowledgeIDE, type BaseKnowledgeIDEProps } from '../base'; export type BizLibraryKnowledgeIDEProps = BaseKnowledgeIDEProps; export const BizLibraryKnowledgeIDE = (props: BizLibraryKnowledgeIDEProps) => ( diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-project/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-project/index.tsx index 45778678..7500a7ec 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-project/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-project/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BizProjectKnowledgeIDENavBar } from '@coze-data/knowledge-ide-base/features/nav-bar/biz-project'; import { BaseKnowledgeIDE, type BaseKnowledgeIDEProps } from '../base'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/index.tsx index 33d3a1dd..daa6c097 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BizWorkflowKnowledgeIDENavBar } from '@coze-data/knowledge-ide-base/features/nav-bar/biz-workflow'; import { BaseKnowledgeIDE, type BaseKnowledgeIDEProps } from '../base'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/modal/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/modal/index.tsx index bb93d66e..3540f41e 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/modal/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IKnowledgeParams } from '@coze-data/knowledge-stores'; import { useKnowledgeIDEFullScreenModal as useKnowledgeIDEFullScreenModalBase } from '@coze-data/knowledge-ide-base/layout/base/modal'; import { type KnowledgeModalNavBarProps } from '@coze-data/knowledge-ide-base/components/knowledge-modal-nav-bar'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/types.ts b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/types.ts index 3cc55ce8..0de77a62 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/types.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/scenes/biz-workflow/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type KnowledgeModalNavBarProps } from '@coze-data/knowledge-ide-base/components/knowledge-modal-nav-bar'; import { type BaseKnowledgeIDEProps } from '../base/types'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/typings.d.ts b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/src/typings.d.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/stories/demo.stories.tsx b/frontend/packages/data/knowledge/knowledge-ide-adapter/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/knowledge-ide-adapter/vitest.config.ts b/frontend/packages/data/knowledge/knowledge-ide-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-adapter/vitest.config.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/Icon-with-suffix/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/Icon-with-suffix/index.tsx index 90345246..04784ef8 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/Icon-with-suffix/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/Icon-with-suffix/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/auto-generate-photo-detail-button/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/auto-generate-photo-detail-button/index.tsx index aed56eec..3718f607 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/auto-generate-photo-detail-button/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/auto-generate-photo-detail-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/header-tags/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/header-tags/index.tsx index c4b46963..34b72102 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/header-tags/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/header-tags/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/index.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/index.ts index 48037314..58b5457b 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/index.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { HeaderTags } from './header-tags'; export { RelatedBotsList } from './related-bots-list'; export { FailedTag } from './tag'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-config-menu/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-config-menu/index.tsx index 63721627..65d871b7 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-config-menu/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-config-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type ReactNode } from 'react'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-ide-upate-config/table-config-button/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-ide-upate-config/table-config-button/index.tsx index a9b65d6d..5cf7ae4d 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-ide-upate-config/table-config-button/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-ide-upate-config/table-config-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DocumentInfo } from '@coze-arch/bot-api/knowledge'; export interface TableConfigButtonProps { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-ide-upate-config/text-config-button/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-ide-upate-config/text-config-button/index.tsx index b69eb17c..142c7cc9 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-ide-upate-config/text-config-button/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-ide-upate-config/text-config-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface TextConfigButtonProps { reload: () => void; } diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-modal-nav-bar/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-modal-nav-bar/index.tsx index 83e97459..78e458f0 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-modal-nav-bar/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-modal-nav-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-nav-bar/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-nav-bar/index.tsx index 0155cbde..0d6cc93c 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-nav-bar/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-nav-bar/index.tsx @@ -13,14 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable complexity */ import { useNavigate } from 'react-router-dom'; import { useMemo } from 'react'; import classNames from 'classnames'; -import { useKnowledgeParams, useKnowledgeStore } from '@coze-data/knowledge-stores'; +import { + useKnowledgeParams, + useKnowledgeStore, +} from '@coze-data/knowledge-stores'; import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { useEditKnowledgeModal } from '@coze-data/knowledge-modal-adapter'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-menu-item/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-menu-item/index.tsx index 5abc38d3..38a61717 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-menu-item/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-menu-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Menu } from '@coze-arch/coze-design'; interface KnowledgeSourceMenuItemProps { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-menu/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-menu/index.tsx index a65bbe99..dead73ff 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-menu/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ReactNode } from 'react'; import { Menu } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-radio-group/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-radio-group/index.tsx index 295577f5..950a034f 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-radio-group/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-radio-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ReactNode } from 'react'; import { RadioGroup } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-radio/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-radio/index.tsx index d7119d47..fbdefc62 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-radio/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/knowledge-source-radio/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Radio, Typography } from '@coze-arch/coze-design'; interface KnowledgeSourceRadioProps { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/photo-detail-modal/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/photo-detail-modal/index.tsx index f5c91200..30386210 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/photo-detail-modal/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/photo-detail-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable react-hooks/exhaustive-deps */ import React, { useEffect, useState } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/photo-filter/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/photo-filter/index.tsx index e4cd4e94..ad665a76 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/photo-filter/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/photo-filter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/preview-navigation/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/preview-navigation/index.tsx index 3bca2b8e..9feb6205 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/preview-navigation/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/preview-navigation/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DataSetInfo } from '@coze-arch/bot-api/memory'; import { type Dataset } from '@coze-arch/bot-api/knowledge'; import { UIBreadcrumb } from '@coze-studio/components'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/related-bots-list/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/related-bots-list/index.tsx index 006ab7cc..4027192c 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/related-bots-list/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/related-bots-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/render-document-icon/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/render-document-icon/index.tsx index 5f69f04a..73c84a5b 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/render-document-icon/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/render-document-icon/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DocumentSource, FormatType } from '@coze-arch/bot-api/knowledge'; import { isFeishuOrLarkDocumentSource } from '@coze-data/utils'; import { IconUnitsTable, IconUnitsFile } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/render-document-icon/suffix.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/render-document-icon/suffix.tsx index 10fbe043..5c03f99b 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/render-document-icon/suffix.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/render-document-icon/suffix.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/tag/index.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/tag/index.ts index f659a24f..166f8ce5 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/tag/index.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/tag/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FailedTag } from './tag'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/tag/tag.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/tag/tag.tsx index 28eeb36a..90da6af7 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/components/tag/tag.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/components/tag/tag.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/constant/index.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/constant/index.ts index fa9060bc..b4955ad1 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/constant/index.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/constant/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { DocumentUpdateType, FormatType } from '@coze-arch/bot-api/memory'; import { UnitType } from '@coze-data/knowledge-resource-processor-core'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/constant/polling.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/constant/polling.ts index 1ab0d972..5e8b1305 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/constant/polling.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/constant/polling.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const POLLING_TIME = 5000; //ms diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/context/knowledge-ide-registry-context/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/context/knowledge-ide-registry-context/index.tsx index 69eb8175..a82a25c5 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/context/knowledge-ide-registry-context/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/context/knowledge-ide-registry-context/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type ImportKnowledgeMenuSourceRegistry } from '@/features/import-knowledge-sources/menu/registry'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/image-knowledge-workspace/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/image-knowledge-workspace/index.tsx index 62adb2b4..54113cec 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/image-knowledge-workspace/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/image-knowledge-workspace/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable max-lines-per-function */ diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/image-knowledge-workspace/use-photo-list.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/image-knowledge-workspace/use-photo-list.ts index 633fa5ac..91472e02 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/image-knowledge-workspace/use-photo-list.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/image-knowledge-workspace/use-photo-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InfiniteScrollOptions } from 'ahooks/lib/useInfiniteScroll/types'; import { useInfiniteScroll } from 'ahooks'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; @@ -59,9 +59,9 @@ export const usePhotoList = ( filterPhotoType === FilterPhotoType.HasCaption ? true : filterPhotoType === FilterPhotoType.NoCaption - ? false - : // Pass undefined to return all - undefined, + ? false + : // Pass undefined to return all + undefined, }, }); return { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/index.tsx index 3be7a224..504f4fdb 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/services/use-case/disabled-tooltip.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/services/use-case/disabled-tooltip.ts index f4786ae4..c3423905 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/services/use-case/disabled-tooltip.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/services/use-case/disabled-tooltip.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { KNOWLEDGE_MAX_DOC_SIZE, KNOWLEDGE_MAX_SLICE_COUNT, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/services/use-case/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/services/use-case/index.tsx index 779c4b88..ac117229 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/services/use-case/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/base/services/use-case/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getTableFormatTooltip, getDefaultFormatTooltip, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/biz-agent-ide/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/biz-agent-ide/index.tsx index 714399ee..ac27fd47 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/biz-agent-ide/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/biz-agent-ide/index.tsx @@ -13,9 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; -import { useKnowledgeParams, useKnowledgeStore } from '@coze-data/knowledge-stores'; +import { + useKnowledgeParams, + useKnowledgeStore, +} from '@coze-data/knowledge-stores'; import { type UnitType } from '@coze-data/knowledge-resource-processor-core'; import { useKnowledgeNavigate } from '@coze-data/knowledge-common-hooks/use-case'; import { useSpaceStore } from '@coze-arch/bot-studio-store'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/module.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/module.ts index f527e92c..c996a266 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/module.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-button/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface ImportKnowledgeSourceButtonProps { disabledTooltip?: string; onSourceChange?: (source: string) => void; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-menu/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-menu/index.tsx index 5d99fb5b..98907b99 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-menu/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ReactNode } from 'react'; import { type UnitType } from '@coze-data/knowledge-resource-processor-core'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-image-knowledge-source-contributes.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-image-knowledge-source-contributes.ts index 0a099ca1..269ac5fa 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-image-knowledge-source-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-image-knowledge-source-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ImageLocalModule } from '@/features/import-knowledge-sources/radio/image-local'; import { createImportKnowledgeSourceRadioFeatureRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-table-knowledge-source-contributes.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-table-knowledge-source-contributes.ts index 878eed73..1c9909f2 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-table-knowledge-source-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-table-knowledge-source-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TableLocalModule } from '@coze-data/knowledge-ide-base/features/import-knowledge-sources/radio/table-local'; import { createImportKnowledgeSourceRadioFeatureRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-text-knowledge-source-contributes.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-text-knowledge-source-contributes.ts index 2c736e5a..cefecaf4 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-text-knowledge-source-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/import-text-knowledge-source-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createImportKnowledgeSourceRadioFeatureRegistry, type ImportKnowledgeRadioSourceFeatureRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/index.tsx index 48d44ba4..ab64be5a 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-source-radio-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type UnitType } from '@coze-data/knowledge-resource-processor-core'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/image-local/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/image-local/index.tsx index 58460308..8e70f4be 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/image-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/image-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/index.tsx index e0bac883..ac32fe09 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableCustomModule } from './table-custom'; export { TableLocalModule } from './table-local'; export { TextCustomModule } from './text-custom'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/module.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/module.ts index d6f925ef..aeab57ec 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/module.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { UnitType } from '@coze-data/knowledge-resource-processor-core'; export interface ImportKnowledgeMenuSourceModuleProps { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/registry.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/registry.ts index 27d2d2f8..1f6f8881 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/registry.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FeatureRegistry } from '@coze-data/feature-register'; import { type ImportKnowledgeMenuSourceModule } from './module'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/table-custom/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/table-custom/index.tsx index b1dd3db4..f030eecd 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/table-custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/table-custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/table-local/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/table-local/index.tsx index adb0b898..1689ec6e 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/table-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/table-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/text-custom/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/text-custom/index.tsx index c4eed5f0..13f455dd 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/text-custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/text-custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/text-local/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/text-local/index.tsx index 4eaa95dc..365f9ad4 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/text-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/menu/text-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/image-local/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/image-local/index.tsx index b6e43828..90a102be 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/image-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/image-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/index.tsx index 7cf09227..e4cdf6ea 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableCustomModule } from './table-custom'; export { TableLocalModule } from './table-local'; export { TextCustomModule } from './text-custom'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/module.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/module.ts index 5171072f..739bcd51 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/module.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ComponentProps, ReactElement } from 'react'; import type { KnowledgeSourceRadio } from '@/components/knowledge-source-radio'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/registry.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/registry.ts index 5bdb7f1f..60c6a2d8 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/registry.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FeatureRegistry } from '@coze-data/feature-register'; import { TextLocalModule } from './text-local'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/table-custom/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/table-custom/index.tsx index 13a5f4c4..a2e2e1ef 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/table-custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/table-custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/table-local/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/table-local/index.tsx index fc014acb..4693a83b 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/table-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/table-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozDocument } from '@coze-arch/coze-design/icons'; import { UnitType } from '@coze-data/knowledge-resource-processor-core'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/text-custom/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/text-custom/index.tsx index eda36491..0b6e8a77 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/text-custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/text-custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozPencilPaper } from '@coze-arch/coze-design/icons'; import { UnitType } from '@coze-data/knowledge-resource-processor-core'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/text-local/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/text-local/index.tsx index 766c18c9..aeba78aa 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/text-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/import-knowledge-sources/radio/text-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/configuration-table-structure/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/configuration-table-structure/index.tsx index c2015302..971868dd 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/configuration-table-structure/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/configuration-table-structure/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDataNavigate } from '@coze-data/knowledge-stores'; import { OptType } from '@coze-data/knowledge-resource-processor-core'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/index.tsx index 2bd777bb..0b110963 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createTableConfigMenuRegistry, type TableConfigMenuRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/module.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/module.ts index 2a156f84..24ceedad 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/module.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { DocumentInfo } from '@coze-arch/bot-api/knowledge'; export interface TableConfigMenuModuleProps { documentInfo: DocumentInfo; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/registry.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/registry.ts index a9751b3b..b7edb4d4 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/registry.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config-menus/registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FeatureRegistry } from '@coze-data/feature-register'; import { type TableConfigMenuModule } from './module'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/base/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/base/index.tsx index 14970ecc..a079ad1a 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useKnowledgeStore } from '@coze-data/knowledge-stores'; import { type DocumentInfo } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/index.tsx index 693df2c1..3676646d 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-custom/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-custom/index.tsx index f6bd7065..5688d9f0 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TableConfigButton, type TableConfigButtonProps } from '../base'; import { knowledgeTableConfigMenuContributes } from './knowledge-ide-table-config-menu-contributes'; export const TableCustomTableConfigButton = (props: TableConfigButtonProps) => ( diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-custom/knowledge-ide-table-config-menu-contributes.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-custom/knowledge-ide-table-config-menu-contributes.ts index 0f0d20f5..a2df0860 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-custom/knowledge-ide-table-config-menu-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-custom/knowledge-ide-table-config-menu-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConfigurationTableStructureModule, createTableConfigMenuRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-local/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-local/index.tsx index bb565e70..7b687384 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TableConfigButton, type TableConfigButtonProps } from '../base'; import { knowledgeTableLocalConfigMenuContributes } from './knowledge-ide-table-config-menu-contributes'; export const TableLocalTableConfigButton = (props: TableConfigButtonProps) => ( diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-local/knowledge-ide-table-config-menu-contributes.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-local/knowledge-ide-table-config-menu-contributes.ts index da79cb4f..9e03d762 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-local/knowledge-ide-table-config-menu-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/knowledge-ide-table-config/table-local/knowledge-ide-table-config-menu-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConfigurationTableStructureModule, createTableConfigMenuRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar-action-button/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar-action-button/index.tsx index 6a427b73..dd6b76be 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar-action-button/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar-action-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useKnowledgeParams } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/base/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/base/index.tsx index d74e0ebd..13511c74 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-agent-ide/hooks/use-case/use-before-knowledgeide-close.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-agent-ide/hooks/use-case/use-before-knowledgeide-close.ts index f198f4ab..aceecdf3 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-agent-ide/hooks/use-case/use-before-knowledgeide-close.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-agent-ide/hooks/use-case/use-before-knowledgeide-close.ts @@ -13,11 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; -import { useKnowledgeParams, useKnowledgeStore } from '@coze-data/knowledge-stores'; +import { + useKnowledgeParams, + useKnowledgeStore, +} from '@coze-data/knowledge-stores'; import { I18n } from '@coze-arch/i18n'; import { SceneType, usePageJumpService } from '@coze-arch/bot-hooks'; import { StorageLocation } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-agent-ide/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-agent-ide/index.tsx index 0048cbb4..c5f65518 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-agent-ide/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-agent-ide/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-library/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-library/index.tsx index ef75dcf4..95b0c521 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-library/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-library/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type KnowledgeIDENavBarProps } from '../module'; import { BaseKnowledgeIDENavBar } from '../base'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-project/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-project/index.tsx index 2b21bdf5..5e56770f 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-project/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-project/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type KnowledgeIDENavBarProps } from '../module'; import { BaseKnowledgeIDENavBar } from '../base'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-workflow/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-workflow/index.tsx index 2acc9c8f..9d3b6bae 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-workflow/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/biz-workflow/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/module.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/module.ts index ce4a4014..d2f68d27 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/module.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/nav-bar/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ProgressMap } from '@/types'; export interface KnowledgeIDENavBarProps { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/components/main.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/components/main.tsx index e133e71b..402934db 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/components/main.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/components/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useRef, useState } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/components/table-data-view.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/components/table-data-view.tsx index 78e19c3a..528fb2bd 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/components/table-data-view.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/components/table-data-view.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { useKnowledgeParamsStore, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-actions-context.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-actions-context.tsx index 37264539..1391e048 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-actions-context.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-actions-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type DatasetDataScrollList } from '@/service'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-data-context.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-data-context.tsx index 66719688..072b6ac8 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-data-context.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-data-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type DatasetDataScrollList } from '@/service'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-ui-context.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-ui-context.tsx index d0deda28..780ed3f2 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-ui-context.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/context/table-ui-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type MutableRefObject } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-create-slice.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-create-slice.ts index f20a5941..2f99ce97 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-create-slice.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-create-slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useKnowledgeStore } from '@coze-data/knowledge-stores'; import { type ISliceInfo } from '@/types/slice'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-get-slice-list-data.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-get-slice-list-data.ts index 14a349a4..9edc2032 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-get-slice-list-data.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-get-slice-list-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-scroll.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-scroll.ts index 20537cce..1fc6ff7f 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-scroll.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-scroll.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useTableData } from '../../context/table-data-context'; const ADD_BTN_HEIGHT = 56; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-table-height.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-table-height.ts index d0bd2bd7..a36d900d 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-table-height.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/inner/use-table-height.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useTableUI } from '../../context/table-ui-context'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-add-row.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-add-row.ts index 776a6d5f..4590b1c4 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-add-row.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-add-row.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type ISliceInfo } from '@/types/slice'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-delete-slice-modal.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-delete-slice-modal.tsx index c7ad878a..f52e207d 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-delete-slice-modal.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-delete-slice-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; import { useSliceDeleteModal } from '@coze-data/knowledge-modal-base'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-table-segment-modal.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-table-segment-modal.tsx index 5cac4e61..53535f02 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-table-segment-modal.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-table-segment-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useKnowledgeStore } from '@coze-data/knowledge-stores'; import { ModalActionType, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-table-slice-operations.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-table-slice-operations.tsx index 312b317f..066a0e27 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-table-slice-operations.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/hooks/use-case/use-table-slice-operations.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; import { transSliceContentOutput } from '@coze-data/knowledge-modal-base'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/index.tsx index 0351fd4f..6b60ca42 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TableKnowledgeWorkspace } from './components/main'; // export component diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/service/use-case/get-table-render-columns-data.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/service/use-case/get-table-render-columns-data.tsx index fb18ec51..c8153b00 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/service/use-case/get-table-render-columns-data.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/table-knowledge-workspace/service/use-case/get-table-render-columns-data.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { get } from 'lodash-es'; import { getDataTypeText } from '@coze-data/utils'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/base-content.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/base-content.tsx index 857134cb..69e5b676 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/base-content.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/base-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { IllustrationNoResult } from '@douyinfe/semi-illustrations'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; @@ -63,8 +63,8 @@ export const BaseContent: React.FC = ({ isProcessing ? I18n.t('content_view_003') : searchValue - ? I18n.t('knowledge_no_result') - : I18n.t('dataset_segment_empty_desc') + ? I18n.t('knowledge_no_result') + : I18n.t('dataset_segment_empty_desc') } />
diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/doc-selector.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/doc-selector.tsx index 34f1ef18..51e46181 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/doc-selector.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/doc-selector.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useState } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/doc-tag.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/doc-tag.tsx index a3e42b68..6462a1b4 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/doc-tag.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/doc-tag.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/file-preview.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/file-preview.tsx index ce9abc58..3e2346de 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/file-preview.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/file-preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { usePreviewPdf, diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/level-content.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/level-content.tsx index 285f435e..aec5bfdc 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/level-content.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/level-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { IllustrationNoResult } from '@douyinfe/semi-illustrations'; import { @@ -69,8 +69,8 @@ export const LevelContent: React.FC = ({ isProcessing ? I18n.t('content_view_003') : searchValue - ? I18n.t('knowledge_no_result') - : I18n.t('dataset_segment_empty_desc') + ? I18n.t('knowledge_no_result') + : I18n.t('dataset_segment_empty_desc') } /> diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/main.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/main.tsx index c8fead6a..0b9d2d97 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/main.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable complexity */ diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/text-toolbar.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/text-toolbar.tsx index e8855edc..634de4d9 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/text-toolbar.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/components/text-toolbar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type ReactNode } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/doc-selector.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/doc-selector.tsx index 3a93eb37..b17bc2b0 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/doc-selector.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/doc-selector.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useMemo, useState } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/doc-tag.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/doc-tag.tsx index d683f3bb..db2615ae 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/doc-tag.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/doc-tag.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/index.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/index.ts index ca48792e..b28a8f98 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/index.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Export all hooks by function */ diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/life-cycle/use-document-info.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/life-cycle/use-document-info.ts index b59d59c3..a03e80b2 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/life-cycle/use-document-info.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/life-cycle/use-document-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; import { DocumentStatus } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/life-cycle/use-slice-data.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/life-cycle/use-slice-data.ts index 22c3a3d7..5c8f0566 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/life-cycle/use-slice-data.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/life-cycle/use-slice-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-document-management.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-document-management.ts index 9f9fb196..ab03bb60 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-document-management.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-document-management.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-file-preview.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-file-preview.ts index a7148e2c..1e97f9fe 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-file-preview.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-file-preview.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; export const useFilePreview = (curDocId: string) => { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-init-select-first-doc.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-init-select-first-doc.ts index 57efaf81..75cd8790 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-init-select-first-doc.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-init-select-first-doc.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-level-segments.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-level-segments.ts index bb817d90..bb7ae85b 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-level-segments.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-level-segments.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useMemo, useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-modals.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-modals.ts index 1ae0f39f..f78d312d 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-modals.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-modals.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-slice-counter.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-slice-counter.ts index b3e73ab4..f04b0fdd 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-slice-counter.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/hooks/use-case/use-slice-counter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useKnowledgeStore } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/index.tsx index 005f880f..91782e19 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TextKnowledgeWorkspace } from './components/main'; export { TextKnowledgeWorkspace }; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/base-segment.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/base-segment.ts index ba500b3e..c3b57865 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/base-segment.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/base-segment.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type DocumentChunk } from '@coze-data/knowledge-common-components/text-knowledge-editor/scenes/base'; import { type SliceInfo } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/document-opts.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/document-opts.tsx index 1a73ac51..f0443f79 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/document-opts.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/document-opts.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/document-utils.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/document-utils.tsx index f6370565..96f105c4 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/document-utils.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/document-utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type ILevelSegment } from '@coze-data/knowledge-stores'; import { type DocumentChunk } from '@coze-data/knowledge-common-components/text-knowledge-editor/scenes/base'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/level-segment.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/level-segment.ts index 06144000..118c4820 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/level-segment.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/features/text-knowledge-workspace/utils/level-segment.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type ILevelSegment } from '@coze-data/knowledge-stores'; import { type LevelDocumentChunk } from '@coze-data/knowledge-common-components/text-knowledge-editor'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/index.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/index.ts index c4940799..ead12439 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/index.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useGetKnowledgeType } from './use-get-knowledge-type'; export { useReloadKnowledgeIDE } from './use-reload-knowledge-ide'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/use-get-knowledge-type.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/use-get-knowledge-type.ts index a6bff39c..0fedecfc 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/use-get-knowledge-type.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/use-get-knowledge-type.ts @@ -13,11 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; -import { useKnowledgeParams, useKnowledgeStore } from '@coze-data/knowledge-stores'; +import { + useKnowledgeParams, + useKnowledgeStore, +} from '@coze-data/knowledge-stores'; import { useDataSetDetailReq } from '@/service/dataset'; export const useGetKnowledgeType = () => { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/use-reload-knowledge-ide.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/use-reload-knowledge-ide.ts index 30ff3c91..22ad26a5 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/use-reload-knowledge-ide.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/hooks/use-case/use-reload-knowledge-ide.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/index.tsx index fda456a1..90c334d2 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ActionType } from './types'; export { useGetKnowledgeType } from './hooks/use-case/use-get-knowledge-type'; export { useReloadKnowledgeIDE } from './hooks/use-case/use-reload-knowledge-ide'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/base/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/base/index.tsx index cd8f5a13..aba5f280 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/base/modal/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/base/modal/index.tsx index 0428f639..8cd39697 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/base/modal/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/base/modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-params */ import { useState } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/index.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/index.tsx index a9bbc2b2..388d1ec0 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { KnowledgeIDEBaseLayoutProps } from './module'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/module.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/module.ts index 0cc5f729..4109e605 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/module.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/layout/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type Dataset, type DocumentInfo } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/service/dataset.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/service/dataset.ts index d537692b..019aa250 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/service/dataset.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/service/dataset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useRequest } from 'ahooks'; import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/service/document.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/service/document.ts index 5fc3cac1..9f4df937 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/service/document.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/service/document.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/service/index.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/service/index.ts index e484ca1c..29074ff6 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/service/index.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/service/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useListDataSetReq, useDataSetDetailReq } from './dataset'; export { useListDocumentReq, usePollingTaskProgress } from './document'; export { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/service/slice.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/service/slice.ts index 6190821a..1c5cf7d4 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/service/slice.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/service/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BasicTarget } from 'ahooks/lib/utils/domTarget'; import { useInfiniteScroll, useRequest } from 'ahooks'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/types/index.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/types/index.ts index 0a562fbf..b1ebe20a 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/types/index.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DocumentStatus } from '@coze-arch/bot-api/knowledge'; export interface ProgressItem { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/types/slice.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/types/slice.ts index d1bdb8fc..ecb9d5ef 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/types/slice.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/types/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TableViewRecord } from '@coze-common/table-view'; import { type DocTableColumn } from '@coze-arch/bot-api/memory'; import { type SliceInfo } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/typings.d.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/typings.d.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/utils/history.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/utils/history.ts index 7c1d75b5..0737eb37 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/utils/history.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/utils/history.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const MAX_HISTORY_COUNT = 2; export const hasHistory = (): boolean => Boolean( diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/src/utils/index.ts b/frontend/packages/data/knowledge/knowledge-ide-base/src/utils/index.ts index def9019f..00b25dea 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/src/utils/index.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/src/utils/index.ts @@ -13,9 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ -import { OptType, UnitType } from '@coze-data/knowledge-resource-processor-core'; +import { + OptType, + UnitType, +} from '@coze-data/knowledge-resource-processor-core'; import { I18n } from '@coze-arch/i18n'; import { type DropDownMenuItemItem } from '@coze-arch/bot-semi/Dropdown'; import { FormatType, type DocumentInfo } from '@coze-arch/bot-api/knowledge'; @@ -23,10 +26,7 @@ import { DocumentSource } from '@coze-arch/bot-api/knowledge'; import { type ActionType } from '@/types'; -import { - getBasicConfig, - getResegmentType, -} from './preview'; +import { getBasicConfig, getResegmentType } from './preview'; export const getUnitType = (doc: DocumentInfo) => { if (doc.format_type === FormatType.Text) { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/stories/demo.stories.tsx b/frontend/packages/data/knowledge/knowledge-ide-base/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/knowledge-ide-base/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/knowledge-ide-base/vitest.config.ts b/frontend/packages/data/knowledge/knowledge-ide-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/knowledge-ide-base/vitest.config.ts +++ b/frontend/packages/data/knowledge/knowledge-ide-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/create-knowledge-modal-v2/scenes/base/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/create-knowledge-modal-v2/scenes/base/index.tsx index 2e49a831..c848ae71 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/create-knowledge-modal-v2/scenes/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/create-knowledge-modal-v2/scenes/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { useDataModalWithCoze } from '@coze-data/utils'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/edit-knowledge-modal/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/edit-knowledge-modal/index.tsx index d1e4a8df..4def7830 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/edit-knowledge-modal/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/edit-knowledge-modal/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useEditKnowledgeModal } from '@coze-data/knowledge-modal-base'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/index.tsx index f54d9f51..0833aba8 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useEditKnowledgeModal } from './edit-knowledge-modal'; export { useKnowledgeListModal } from './knowledge-list-modal/scenes/base'; export { useCreateKnowledgeModalV2 } from './create-knowledge-modal-v2/scenes/base'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/knowledge-list-modal/scenes/base/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/knowledge-list-modal/scenes/base/index.tsx index bf3d756b..0bdf77cf 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/knowledge-list-modal/scenes/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/knowledge-list-modal/scenes/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UnitType } from '@coze-data/knowledge-resource-processor-core'; import { useKnowledgeListModal as useKnowledgeListModalBase, diff --git a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/knowledge-list-modal/scenes/base/use-content.tsx b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/knowledge-list-modal/scenes/base/use-content.tsx index 377e6fa4..51443a7e 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/knowledge-list-modal/scenes/base/use-content.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/knowledge-list-modal/scenes/base/use-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UnitType } from '@coze-data/knowledge-resource-processor-core'; import { useKnowledgeListModalContent as useKnowledgeListModalContentBase, diff --git a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/typings.d.ts b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-adapter/src/typings.d.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/knowledge-modal-adapter/stories/demo.stories.tsx b/frontend/packages/data/knowledge/knowledge-modal-adapter/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-adapter/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-adapter/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/knowledge-modal-adapter/vitest.config.ts b/frontend/packages/data/knowledge/knowledge-modal-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-adapter/vitest.config.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/const.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/const.tsx index 250df14a..229f91ec 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/const.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/const.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozDicumentOnline, IconCozDocument, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/hooks.tsx index 5b4e3678..1f10f25b 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/index.ts index d50b9e45..8032a046 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-checkbox-doc/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBatchCheckboxDoc, type IBatchCheckboxDocProps } from './hooks'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-fetch-modal/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-fetch-modal/hooks.tsx index 1cc5aa3a..5135cfb1 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-fetch-modal/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-fetch-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { REPORT_EVENTS } from '@coze-arch/report-events'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-fetch-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-fetch-modal/index.ts index 6a25de66..d5757114 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-fetch-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-fetch-modal/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBatchFetchModal, type TBatchFetchModalProps } from './hooks'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-frequency-modal/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-frequency-modal/hooks.tsx index b317355a..cfdadb32 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-frequency-modal/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-frequency-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-frequency-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-frequency-modal/index.ts index 45a09724..61f998bc 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-frequency-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/batch-frequency-modal/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBatchFrequencyModal, type TBatchFrequencyModalProps, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/constant.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/constant.ts index 2c4c6208..e1bdb6bd 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/constant.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const KNOWLEDGE_UNIT_NAME_MAX_LEN = 100; export const KNOWLEDGE_MAX_DOC_SIZE = 300; export const KNOWLEDGE_MAX_SLICE_COUNT = 10000; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/components/source-radio/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/components/source-radio/index.tsx index c0d8e734..4b487fac 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/components/source-radio/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/components/source-radio/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Radio, Typography } from '@coze-arch/coze-design'; interface SourceRadioProps { diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/components/source-select/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/components/source-select/index.tsx index baa06fd9..5c9b5aca 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/components/source-select/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/components/source-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ReactNode } from 'react'; import { RadioGroup } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/add-type-content/coze-knowledge/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/add-type-content/coze-knowledge/index.tsx index fccca5f0..c158d179 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/add-type-content/coze-knowledge/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/add-type-content/coze-knowledge/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useState } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/image-knowledge-source-select.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/image-knowledge-source-select.tsx index 2d2d83d9..593f961c 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/image-knowledge-source-select.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/image-knowledge-source-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ImportKnowledgeSourceSelectModuleProps } from '../module'; import { ImageLocal } from '../../import-knowledge-source/image-local'; import { SourceSelect } from '../../../components/source-select'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/index.tsx index 5ad95e8a..89d82d06 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FormatType } from '@coze-arch/bot-api/knowledge'; import { type ImportKnowledgeSourceSelectModule } from '../module'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/table-knowledge-source-select.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/table-knowledge-source-select.tsx index 6b44a343..41accf0a 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/table-knowledge-source-select.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/table-knowledge-source-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ImportKnowledgeSourceSelectModuleProps } from '../module'; import { TableLocal } from '../../import-knowledge-source/table-local'; import { TableCustom } from '../../import-knowledge-source/table-custom'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/text-knowledge-source-select.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/text-knowledge-source-select.tsx index 460d1c25..e930c2eb 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/text-knowledge-source-select.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/base/text-knowledge-source-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ImportKnowledgeSourceSelectModuleProps } from '../module'; import { TextLocal } from '../../import-knowledge-source/text-local'; import { TextCustom } from '../../import-knowledge-source/text-custom'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/module.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/module.ts index f47cefcb..a56127d8 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/module.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source-select/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UnitType } from '@coze-data/knowledge-resource-processor-core'; import { type FormatType } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/image-local/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/image-local/index.tsx index f0dbe6d2..15344904 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/image-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/image-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/index.ts index 4a1349ee..1b17581f 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableCustom } from './table-custom'; export { TableLocal } from './table-local'; export { TextCustom } from './text-custom'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/module.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/module.ts index 007bd3f8..748dca50 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/module.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RadioGroupProps } from '@coze-arch/coze-design'; export type ImportKnowledgeSourceModule = React.ComponentType; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/table-custom/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/table-custom/index.tsx index 81af58c7..1d91901a 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/table-custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/table-custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/table-local/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/table-local/index.tsx index 08e7c46d..f22dabc3 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/table-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/table-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/text-custom/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/text-custom/index.tsx index ac251be7..c0edc62f 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/text-custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/text-custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/text-local/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/text-local/index.tsx index 7a2273fc..1b6a89fc 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/text-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/import-knowledge-source/text-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UnitType } from '@coze-data/knowledge-resource-processor-core'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/select-format-type/base/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/select-format-type/base/index.tsx index 9e1c899d..8e405d63 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/select-format-type/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/select-format-type/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; import { withField } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/select-format-type/module.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/select-format-type/module.ts index a5da55f3..26f531ff 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/select-format-type/module.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/features/select-format-type/module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import type { FormatType } from '@coze-arch/bot-api/memory'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/index.ts index f9179b4d..3d4dbf58 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/create-knowledge-modal-v2/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CozeKnowledgeAddTypeContent, type CozeKnowledgeAddTypeContentFormData, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/delete-unit-modal/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/delete-unit-modal/hooks.tsx index 6a191e99..a0e1fc00 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/delete-unit-modal/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/delete-unit-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { useRequest } from 'ahooks'; import { useDataModalWithCoze } from '@coze-data/utils'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/delete-unit-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/delete-unit-modal/index.ts index 9b710bbd..4044b29d 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/delete-unit-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/delete-unit-modal/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDeleteUnitModal, type IDeleteUnitModalProps } from './hooks'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-knowledge-modal/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-knowledge-modal/index.tsx index 722b408e..a54692bc 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-knowledge-modal/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-knowledge-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useState } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-unit-name-modal/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-unit-name-modal/hooks.tsx index 0924b040..fbeeeccb 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-unit-name-modal/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-unit-name-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useDataModalWithCoze } from '@coze-data/utils'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-unit-name-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-unit-name-modal/index.ts index 5df8b57c..20fcf964 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-unit-name-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/edit-unit-name-modal/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useEditUnitNameModal } from './hooks'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/fetch-slice-modal/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/fetch-slice-modal/hooks.tsx index b23c85c4..44677457 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/fetch-slice-modal/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/fetch-slice-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { useDataModalWithCoze } from '@coze-data/utils'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/fetch-slice-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/fetch-slice-modal/index.ts index 482b68a8..0e497f54 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/fetch-slice-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/fetch-slice-modal/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useFetchSliceModal } from './hooks'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/global.d.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/global.d.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/index.tsx index 951dcf62..d34831b7 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useEditKnowledgeModal, type EditModalData, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/index.tsx index 21d8df22..f29c505b 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/components/file-popover/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/components/file-popover/index.tsx index 17b76226..81ac66b4 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/components/file-popover/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/components/file-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/components/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/components/index.tsx index 6df641aa..24de5afc 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/components/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/components/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FilePopover } from './file-popover'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/index.ts index 8f84fc9a..465dde69 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { KnowledgeCardListVertical, type DatasetCardListVerticalOperations, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/vertical.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/vertical.tsx index d7de5239..991360ae 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/vertical.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card-list/vertical.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { unix } from 'dayjs'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card/index.tsx index 6ef32610..21258307 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/knowledge-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import copy from 'copy-to-clipboard'; import { useDataNavigate } from '@coze-data/knowledge-stores'; import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/sider-category.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/sider-category.tsx index 2f584080..cd9d3038 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/sider-category.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/sider-category.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { IconCozKnowledgeFill } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/use-content.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/use-content.tsx index 4e79e6b8..ed4d3cbb 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/use-content.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/use-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC, ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/use-knowledge-filter/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/use-knowledge-filter/index.tsx index 97e54a6f..d73ff306 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/use-knowledge-filter/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/knowledge-list-modal/use-knowledge-filter/index.tsx @@ -353,96 +353,99 @@ const useKnowledgeFilter = ({ }; const renderSearch = useMemo( - () => () => ( - - ), + () => () => + ( + + ), [], ); const renderCreateBtn = useMemo( - () => () => ( - - {I18n.t('datasets_create_btn')} - - ), + () => () => + ( + + {I18n.t('datasets_create_btn')} + + ), [handleAdd], ); const renderFilters = useMemo( - () => () => ( - <> -
- {uniqKnowledgeTypeConfigList.reduce( - ( - accumulator: ReactNode[], - currentValue: FilterKnowledgeType, - currentIndex: number, - ) => { - const reactNode = renderKnowledgeTypeConfigNode(currentValue); - if (currentIndex !== 0) { - return accumulator.concat([ - , - reactNode, - ]); - } - return accumulator.concat([reactNode]); - }, - [], - )} -
+ () => () => + ( + <> +
+ {uniqKnowledgeTypeConfigList.reduce( + ( + accumulator: ReactNode[], + currentValue: FilterKnowledgeType, + currentIndex: number, + ) => { + const reactNode = renderKnowledgeTypeConfigNode(currentValue); + if (currentIndex !== 0) { + return accumulator.concat([ + , + reactNode, + ]); + } + return accumulator.concat([reactNode]); + }, + [], + )} +
-
- {uniq(showFilters).map((filterType: DatasetFilterType) => { - if (filterType === 'scope-type') { - return !isPersonal ? ( - { - setScopeType(v as DatasetScopeType); - }} - /> - ) : null; - } else if (filterType === 'search-type') { - return ( - { - handleSearchTypeChange(v as OrderField); - }} - /> - ); - } - })} -
- - ), +
+ {uniq(showFilters).map((filterType: DatasetFilterType) => { + if (filterType === 'scope-type') { + return !isPersonal ? ( + { + setScopeType(v as DatasetScopeType); + }} + /> + ) : null; + } else if (filterType === 'search-type') { + return ( + { + handleSearchTypeChange(v as OrderField); + }} + /> + ); + } + })} +
+ + ), [ headerClassName, handleSearchTypeChange, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/constant.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/constant.tsx index e546a48d..60d06130 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/constant.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/constant.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import copy from 'copy-to-clipboard'; import { BotE2e } from '@coze-data/e2e'; import { I18n, getUnReactiveLanguage } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/index.tsx index f197838b..453535f6 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef } from 'react'; import { debounce, isEmpty } from 'lodash-es'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/radio-group-setting.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/radio-group-setting.tsx index 1b1ef89e..78aeb184 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/radio-group-setting.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/radio-group-setting.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties, type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/setting-item.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/setting-item.tsx index 13f111c7..24911150 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/setting-item.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/setting-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { type I18nKeysNoOptionsType } from '@coze-arch/i18n'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/slider-setting.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/slider-setting.tsx index 1e9f6ac7..bae99257 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/slider-setting.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/slider-setting.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { InputNumber, Slider } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/title-area.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/title-area.tsx index e078f10e..38eb061a 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/title-area.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/title-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconInfo } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/type.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/type.ts index 622d108b..2bdfa9e6 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/type.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type KnowledgeShowSourceMode, type KnowledgeNoRecallReplyMode, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/utils.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/utils.ts index 63b03229..3043bf83 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/rag-mode-configuration/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RecallStrategy } from '@coze-arch/bot-api/playground_api'; import { type IDataSetInfo } from './type'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/components/account-frequency-item.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/components/account-frequency-item.tsx index 5236b378..c2df052d 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/components/account-frequency-item.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/components/account-frequency-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/hooks/life-cycle/use-init.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/hooks/life-cycle/use-init.ts index 5413429f..119fb64c 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/hooks/life-cycle/use-init.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/hooks/life-cycle/use-init.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/hooks/use-case/use-set-append-frequency-modal.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/hooks/use-case/use-set-append-frequency-modal.tsx index 2e45bbbb..750e46fd 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/hooks/use-case/use-set-append-frequency-modal.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/hooks/use-case/use-set-append-frequency-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { SetAppendFrequencyModal } from '../../components/main'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/index.ts index 6b96f225..9a79f041 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSetAppendFrequencyModal } from './hooks/use-case/use-set-append-frequency-modal'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/service/use-case/save-setting-change.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/service/use-case/save-setting-change.ts index 06cf1935..2c348134 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/service/use-case/save-setting-change.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/set-append-frequency-modal/service/use-case/save-setting-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { REPORT_EVENTS } from '@coze-arch/report-events'; import { type AuthFrequencyInfo } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/slice-delete-modal/index.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/slice-delete-modal/index.tsx index 7e04e04f..ad5af737 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/slice-delete-modal/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/slice-delete-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDataModalWithCoze } from '@coze-data/utils'; import { I18n } from '@coze-arch/i18n'; import { type ButtonColor } from '@coze-arch/coze-design/types'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/hooks.tsx index b208fca3..9639e71b 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useMemo, useRef, useState } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/index.ts index 8a7c3316..34575a23 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useTableSegmentModal, type UseTableSegmentModalParams, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/modal.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/modal.tsx index 71708a0e..bf6cd4c7 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/modal.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/table-segment-modal/modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, type ComponentProps } from 'react'; import { ImageRender } from '@coze-common/table-view'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/text-resegment-modal/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/text-resegment-modal/hooks.tsx index 26838f02..e54c353b 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/text-resegment-modal/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/text-resegment-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDataModalWithCoze } from '@coze-data/utils'; import { I18n } from '@coze-arch/i18n'; import { type ButtonColor } from '@coze-arch/coze-design/types'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/text-resegment-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/text-resegment-modal/index.ts index 18293817..142e27c6 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/text-resegment-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/text-resegment-modal/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useTextResegmentModal } from './hooks'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/typings.d.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/typings.d.ts index 486f74cd..6eca7b5f 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/typings.d.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/update-frequency-modal/hooks.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/src/update-frequency-modal/hooks.tsx index 22bcba97..6e691b3d 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/update-frequency-modal/hooks.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/update-frequency-modal/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/update-frequency-modal/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/update-frequency-modal/index.ts index b06ff230..aaeedfa0 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/update-frequency-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/update-frequency-modal/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useUpdateFrequencyModal, type UseUpdateFrequencyModalProps, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/common.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/common.ts index 7b071d50..ae91bb07 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/common.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { CustomError } from '@coze-arch/bot-error'; import { Toast } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/index.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/index.ts index 46fbc384..cf26423a 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/index.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getEllipsisCount, formatBytes, diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/slice.ts b/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/slice.ts index 698b8429..65481594 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/slice.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/src/utils/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ImageFail from '../assets/image-fail.png'; export const transSliceContentOutput = ( diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/stories/demo.stories.tsx b/frontend/packages/data/knowledge/knowledge-modal-base/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/knowledge-modal-base/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/knowledge-modal-base/vitest.config.ts b/frontend/packages/data/knowledge/knowledge-modal-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/knowledge-modal-base/vitest.config.ts +++ b/frontend/packages/data/knowledge/knowledge-modal-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/index.tsx index 654b3a36..6b4367f5 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getUploadConfig } from './scenes/base/config'; export { KnowledgeResourceProcessor, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/scenes/base/config.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/scenes/base/config.ts index eca823de..74a110c1 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/scenes/base/config.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/scenes/base/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type GetUploadConfig, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/scenes/base/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/scenes/base/index.tsx index fc7bd8c5..cc275334 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/scenes/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/scenes/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useKnowledgeParams } from '@coze-data/knowledge-stores'; import { OptType, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/typings.d.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/typings.d.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/stories/demo.stories.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/vitest.config.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/vitest.config.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/browser-url-modal.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/browser-url-modal.tsx index 2259e171..b9c8f719 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/browser-url-modal.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/browser-url-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/editor-context-actions-contributes.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/editor-context-actions-contributes.ts index e44256d5..150ceae4 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/editor-context-actions-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/editor-context-actions-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UploadImageMenu } from '@coze-data/knowledge-common-components/text-knowledge-editor/features/editor-actions/upload-image'; import { createEditorActionFeatureRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/editor-toolbar-actions-contributes.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/editor-toolbar-actions-contributes.ts index 9dcd703d..fdf64016 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/editor-toolbar-actions-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/editor-toolbar-actions-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UploadImageButton } from '@coze-data/knowledge-common-components/text-knowledge-editor/features/editor-actions/upload-image'; import { createEditorActionFeatureRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/hooks/get-web-info.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/hooks/get-web-info.ts index 1dc255c0..d76df897 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/hooks/get-web-info.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/hooks/get-web-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { KnowledgeApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/index.ts index 3451c3cc..649138b6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/browser-url-modal/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBrowseUrlModal } from './browser-url-modal'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/card-radio-group/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/card-radio-group/index.tsx index 06f2f145..3372f28a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/card-radio-group/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/card-radio-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/collapse-panel/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/collapse-panel/index.tsx index 732fb150..3f7e1496 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/collapse-panel/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/collapse-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/banner.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/banner.tsx index 758ac47b..572bcd4b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/banner.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/banner.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Banner } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/error.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/error.tsx index 0baf311e..fceb0159 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/error.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/error.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IllustrationNoResult } from '@douyinfe/semi-illustrations'; import { UIEmpty } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/loading.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/loading.tsx index a2b8da8a..a74b2660 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/loading.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/configuration/loading.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Spin } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/document-list/document-item.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/document-list/document-item.tsx index 691e7c5d..3fa91580 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/document-list/document-item.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/document-list/document-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/document-list/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/document-list/index.tsx index 16daf0f7..717df1f5 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/document-list/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/document-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { Tag, Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty-auth/common-empty-auth/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty-auth/common-empty-auth/index.tsx index 1d2db7bb..0371d9bd 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty-auth/common-empty-auth/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty-auth/common-empty-auth/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty-auth/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty-auth/index.tsx index 51c87c21..736c3a8a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty-auth/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty-auth/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AuthEmpty } from './common-empty-auth'; export type { CommonEmptyAuthProps } from './common-empty-auth'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty/index.tsx index b447a7bf..077e3e5e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/empty/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { UIButton } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/frequency-form-item/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/frequency-form-item/index.tsx index 478c5bdb..ffc36dfe 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/frequency-form-item/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/frequency-form-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/index.tsx index 26728854..459035c4 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UploadFooter } from './upload-footer'; export { useBrowseUrlModal } from './browser-url-modal'; export { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/process-progress-item/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/process-progress-item/index.ts index ebfdbb21..627b3e8f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/process-progress-item/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/process-progress-item/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ProcessProgressItem } from './process-progress-item'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/process-progress-item/process-progress-item.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/process-progress-item/process-progress-item.tsx index 543be836..73d21f9e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/process-progress-item/process-progress-item.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/process-progress-item/process-progress-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Fragment } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-preview/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-preview/index.tsx index 9ba9c809..3ab54320 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-preview/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { IllustrationNoResult } from '@douyinfe/semi-illustrations'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-setting-bar/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-setting-bar/index.tsx index 7fb326fe..5f98a88e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-setting-bar/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-setting-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useRef } from 'react'; import { get, isNumber } from 'lodash-es'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-setting-bar/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-setting-bar/utils.ts index b0b0cbb9..be2a38ec 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-setting-bar/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-setting-bar/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const initIndexOptions = (length: number, start: number) => { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-structure/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-structure/index.tsx index f4f5be18..7917445a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-structure/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/components/table-structure/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ /* eslint-disable max-lines-per-function */ import React, { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/index.tsx index caee4bf0..890e58a3 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/table-format/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // component related export { TableSettingBar, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/unit-progress/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/unit-progress/index.ts index aa7795c3..cffa4beb 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/unit-progress/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/unit-progress/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UnitProgress } from './unit-progress'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/unit-progress/unit-progress.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/unit-progress/unit-progress.tsx index 80640a90..de8f96e9 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/unit-progress/unit-progress.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/unit-progress/unit-progress.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { getFormatTypeFromUnitType } from '@coze-data/utils'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-footer/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-footer/index.ts index ccc775fd..2ef7b007 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-footer/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-footer/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UploadFooter } from './upload-footer'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-footer/upload-footer.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-footer/upload-footer.tsx index b12a0a2c..25cce986 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-footer/upload-footer.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-footer/upload-footer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isArray, isObject, get } from 'lodash-es'; import { FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-navbar/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-navbar/index.tsx index 31b11cf7..e1a5b41e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-navbar/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-navbar/index.tsx @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { getKnowledgeIDEQuery } from '@coze-data/knowledge-common-services'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { IconCozArrowLeft } from '@coze-arch/coze-design/icons'; import { IconButton, Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/before-upload.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/before-upload.ts index e8370fdf..633b93b6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/before-upload.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/before-upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { UploadStatus } from '@coze-data/knowledge-resource-processor-core'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/custom-request.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/custom-request.ts index 639c0c5a..a4a538a3 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/custom-request.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/custom-request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { UploadStatus } from '@coze-data/knowledge-resource-processor-core'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/index.ts index a4f769ee..4d07f700 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UploadUnitFile } from './upload-unit-file'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/preview-file.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/preview-file.tsx index 7be253cb..03dec83b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/preview-file.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/preview-file.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type RenderFileItemProps } from '@coze-arch/bot-semi/Upload'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/type.d.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/type.d.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/type.d.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/type.d.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/types.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/types.ts index dce26a3f..3df11574 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/types.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/types.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type FileType = 'unknown' | 'pdf' | 'docx' | 'text'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/upload-unit-file.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/upload-unit-file.tsx index 9dca0622..2f7ed5d8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/upload-unit-file.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/upload-unit-file.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, useCallback, useMemo, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/utils.ts index f163cd3e..31d60b36 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UploadStatus, type UnitItem, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/actions/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/actions/index.tsx index 57be00ef..68cf85c6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/actions/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/actions/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UnitItem } from '@coze-data/knowledge-resource-processor-core'; import { useEditUnitNameModal } from '@coze-data/knowledge-modal-base'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/action-render/action.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/action-render/action.tsx index 48059f5f..a1cec280 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/action-render/action.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/action-render/action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { UITableAction } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/action-render/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/action-render/index.ts index 7a5e2d21..c00be716 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/action-render/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/action-render/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Action } from './action'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/index.ts index c7e9a9b0..2d5d9d58 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UploadStatusComp } from './upload-status'; export { UnitName } from './unit-name'; export { Action } from './action-render'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/unit-name/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/unit-name/index.tsx index 435c0518..bb7eae42 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/unit-name/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/unit-name/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { KNOWLEDGE_UNIT_NAME_MAX_LEN } from '@coze-data/knowledge-modal-base'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/unit-name/unit-name.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/unit-name/unit-name.tsx index c3d3aec2..0aa35f3d 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/unit-name/unit-name.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/unit-name/unit-name.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, type FC } from 'react'; import { KNOWLEDGE_UNIT_NAME_MAX_LEN } from '@coze-data/knowledge-modal-base'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/upload-status/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/upload-status/index.tsx index afa9a0f2..e996393a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/upload-status/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/components/upload-status/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import classNames from 'classnames'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/index.tsx index 5acfbb16..7ef3d5f8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UploadUnitTable } from './upload-unit-table'; export { type RenderColumnsProps } from './types'; export { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/types.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/types.ts index bdbfa966..acbb3c4b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/types.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/upload-unit-table.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/upload-unit-table.tsx index 6f74ee23..17fc4f1f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/upload-unit-table.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/upload-unit-table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type ReactNode } from 'react'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/utils.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/utils.tsx index ddaaac4c..84e16251 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/utils.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-table/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EntityStatus, UploadStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/components.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/components.ts index 99cf9441..cbc47266 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/components.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/components.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** update frequency */ export enum FrequencyDay { ZERO = 0, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/index.ts index 3e4e6388..9293352e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SUCCESSFUL_UPLOAD_PROGRESS, POLLING_TIME, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/table.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/table.ts index 59f6cb33..290d3dd5 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/table.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** table common constants */ export enum TableStatus { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/text.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/text.ts index 1e27d824..beb46253 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/text.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/constants/text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type CustomSegmentRule, SeperatorType } from '../types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/config.tsx index 7083571d..f5551dce 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FooterControlsProps, type UploadConfig, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/index.tsx index df51fb29..45990a6a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ImageFileAddConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/annotation/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/annotation/index.tsx index f825ef50..6408f124 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/annotation/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/annotation/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/process/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/process/index.tsx index 153421e2..b6e25fe9 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/process/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/process/index.tsx @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps } from '@coze-data/knowledge-resource-processor-core'; import { getKnowledgeIDEQuery } from '@coze-data/knowledge-common-services'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/upload/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/upload/index.tsx index c56d498f..05cfc548 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/upload/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/upload/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/upload/use-retry.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/upload/use-retry.ts index e29a63ea..bd4060de 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/upload/use-retry.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/steps/upload/use-retry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { type UnitItem } from '@coze-data/knowledge-resource-processor-core'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/store/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/store/index.ts index a8059388..f0569099 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/store/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/store/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/types.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/types.ts index 34e7e901..e06e7090 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/types.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/image/file/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ImageFileAddStep { Upload = 0, Annotation, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/config.tsx index 172ef96a..fc6f79dd 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/constant.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/constant.ts index 4c5042b4..20cc3f9b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/constant.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** table-custom add steps */ export enum TableCustomStep { CREATE, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/index.tsx index 7b87d8a4..3b48b7e6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableCustomAddConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/create-v2.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/create-v2.tsx index 4ddfc78c..b0653165 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/create-v2.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/create-v2.tsx @@ -13,11 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState } from 'react'; import { nanoid } from 'nanoid'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { FooterBtnStatus, type ContentProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/create.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/create.tsx index 7a0319da..c4eed1af 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/create.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/create.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TableLocalContentProps } from '../../types'; import { TableCustomCreate as TableCustomCreateV2 } from './create-v2'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/index.tsx index fcae4689..9e762ef2 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/create/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableCustomCreate } from './create'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/index.tsx index fcae4689..9e762ef2 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/steps/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableCustomCreate } from './create'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/index.tsx index fe94b12c..07018722 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createTableCustomAddStore } from './store'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/slice.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/slice.ts index ffabbaad..c73b3de6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/slice.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/store.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/store.ts index a6b77c61..843805ad 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/store.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/store/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/types.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/types.ts index c8378944..0ab47776 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/types.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/add/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ContentProps } from '@coze-data/knowledge-resource-processor-core'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/config.tsx index f2b161fa..2abafe16 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/constants.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/constants.ts index 4f39c323..34a4b34a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/constants.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TableCustomIncrementalStep { UPLOAD, } diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/index.tsx index fd533437..8fbe6a3b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableCustomIncrementalConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/index.tsx index 4fe5e9b1..40202dc8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableUpload } from './upload'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/hooks.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/hooks.ts index 468dcb46..8eb900d8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/hooks.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useState, useEffect } from 'react'; import { type TableDataItem } from '@coze-data/knowledge-modal-base'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/index.tsx index 4fe5e9b1..40202dc8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableUpload } from './upload'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/upload.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/upload.tsx index ab377174..1ddf6c0e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/upload.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/upload.tsx @@ -13,13 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { useEffect, useMemo, useRef, useState } from 'react'; import classNames from 'classnames'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps } from '@coze-data/knowledge-resource-processor-core'; import { type TableDataItem, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/utils.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/utils.tsx index 4361c0b8..708bd174 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/utils.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/steps/upload/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getDataTypeText } from '@coze-data/utils'; import { FooterBtnStatus } from '@coze-data/knowledge-resource-processor-core'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/store.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/store.ts index 1d360d62..414f004a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/store.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/incremental/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/index.ts index bcc77544..a71d181b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/custom/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableCustomAddConfig } from './add/config'; export { TableCustomIncrementalConfig } from './incremental/config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/hooks.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/hooks.ts index 0147f086..a71db163 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/hooks.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type StoreApi, type UseBoundStore } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/index.tsx index 1eb2502b..e5ff1ad1 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useTableCheck } from './hooks'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/config.tsx index 6a976665..8611d548 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/index.tsx index 76fefe3b..25b93043 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableLocalAddConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/configuration/configuration.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/configuration/configuration.tsx index 3b2323a4..d1c031fa 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/configuration/configuration.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/configuration/configuration.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEmpty } from 'lodash-es'; import { IllustrationNoResult } from '@douyinfe/semi-illustrations'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/configuration/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/configuration/index.ts index 896a3133..2dbb121f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/configuration/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/configuration/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableConfiguration } from './configuration'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/index.tsx index f9194010..4e9f1f17 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableUpload } from './upload'; export { TableConfiguration } from './configuration'; export { TablePreview } from './preview'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/preview/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/preview/index.ts index a9ebeaee..4e1600ea 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/preview/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/preview/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TablePreview } from './preview'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/preview/preview.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/preview/preview.tsx index 899f1832..2bb4e6a0 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/preview/preview.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/preview/preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ContentProps, FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/processing/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/processing/index.ts index f8aa4c1a..3cb7bb8c 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/processing/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/processing/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/processing/processing.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/processing/processing.tsx index fdc77f73..d51050fd 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/processing/processing.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/processing/processing.tsx @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useEffect } from 'react'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps, FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/services.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/services.ts index b65fdf37..75763611 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/services.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/services.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Service definition: contains business processes & events */ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/index.ts index 4fe5e9b1..40202dc8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableUpload } from './upload'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/upload.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/upload.tsx index 9d3f1734..4b2eccc9 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/upload.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/utils.ts index 228d532d..6ba6ed12 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/steps/upload/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UnitItem, FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/store.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/store.ts index 381a924e..06202fd9 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/store.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/add/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/constants.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/constants.ts index 786f85fd..3fab13f7 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/constants.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** table-local add and resegment unit steps */ export enum TableLocalStep { UPLOAD, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/config.tsx index dc9e426b..122ce34e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/index.tsx index c0d320a6..c85812ff 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableLocalIncrementalConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/configuration/configuration.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/configuration/configuration.tsx index ea368df7..afd7ed55 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/configuration/configuration.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/configuration/configuration.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { isEmpty } from 'lodash-es'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/configuration/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/configuration/index.ts index 896a3133..2dbb121f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/configuration/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/configuration/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableConfiguration } from './configuration'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/index.tsx index f9194010..4e9f1f17 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableUpload } from './upload'; export { TableConfiguration } from './configuration'; export { TablePreview } from './preview'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/preview/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/preview/index.ts index a9ebeaee..4e1600ea 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/preview/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/preview/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TablePreview } from './preview'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/preview/preview.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/preview/preview.tsx index b5026117..8e0157c9 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/preview/preview.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/preview/preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ContentProps, FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/processing/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/processing/index.ts index f8aa4c1a..3cb7bb8c 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/processing/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/processing/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/processing/processing.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/processing/processing.tsx index 99666cae..7ae75971 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/processing/processing.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/processing/processing.tsx @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useEffect } from 'react'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps, FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/services.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/services.ts index b65fdf37..75763611 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/services.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/services.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Service definition: contains business processes & events */ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/index.ts index 4fe5e9b1..40202dc8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableUpload } from './upload'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/upload.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/upload.tsx index 2fff8ef2..d369d01a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/upload.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { isEmpty } from 'lodash-es'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/utils.ts index ec6ee079..94cbd87b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/steps/upload/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UnitItem, FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/store.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/store.ts index 96c37173..792b69a8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/store.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/incremental/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/index.ts index 2bc309d8..8e0ce3c1 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/first-party/local/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableLocalAddConfig } from './add/config'; export { TableLocalIncrementalConfig } from './incremental/config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/hooks.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/hooks.ts index f87e98a3..5c4571a0 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/hooks.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * pure network request & common services */ @@ -22,7 +22,10 @@ import { type StoreApi, type UseBoundStore } from 'zustand'; import { debounce, get } from 'lodash-es'; import { useRequest } from 'ahooks'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { type ProgressItem, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/index.tsx index a6286e91..6eb51ae2 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type UploadTableAction, type UploadTableState } from './interface'; export { useFetchTableSchemaInfo, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/interface.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/interface.ts index df932b57..8e7a3116 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/interface.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/interface.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadBaseAction, type UploadBaseState, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/slice.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/slice.ts index 72970456..888994cd 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/slice.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; import { CreateUnitStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/utils.ts index 4e1e3a9f..5c140e3e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/table/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { isFeishuOrLarkDocumentSource } from '@coze-data/utils'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/const.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/const.ts index 09fd4601..7465115d 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/const.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + enum PreProcessRule { REMOVE_SPACES = 'remove_extra_spaces', REMOVE_EMAILS = 'remove_urls_emails', diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/config.tsx index 51227767..1f89ed07 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/constants.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/constants.ts index 6a5abb73..f29aa4ce 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/constants.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TextCustomAddUpdateStep { UPLOAD_CONTENT = 0, SEGMENT_CLEANER = 1, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/index.tsx index 5aee71a7..89c80285 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextCustomAddUpdateConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/index.ts index 8df4ed4f..1ad09e5a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextUpload } from './upload'; export { TextSegment } from './segment'; export { TextProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/processing/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/processing/index.tsx index 4723af1d..9b239013 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/processing/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/processing/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/processing/processing.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/processing/processing.tsx index 01b5235f..7277f9dd 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/processing/processing.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/processing/processing.tsx @@ -13,11 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps } from '@coze-data/knowledge-resource-processor-core'; import { getKnowledgeIDEQuery } from '@coze-data/knowledge-common-services'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/index.tsx index f53eb369..357a01f0 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextSegment } from './segment'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/segment.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/segment.tsx index 0d4cbeff..24240d8b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/segment.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/segment.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/utils.ts index 36e84dda..d6c96773 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/segment/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FooterBtnStatus } from '@coze-data/knowledge-resource-processor-core'; import { type StorageLocation } from '@coze-arch/idl/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/editor-context-actions-contributes.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/editor-context-actions-contributes.ts index e44256d5..150ceae4 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/editor-context-actions-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/editor-context-actions-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UploadImageMenu } from '@coze-data/knowledge-common-components/text-knowledge-editor/features/editor-actions/upload-image'; import { createEditorActionFeatureRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/editor-toolbar-actions-contributes.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/editor-toolbar-actions-contributes.ts index 9dcd703d..fdf64016 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/editor-toolbar-actions-contributes.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/editor-toolbar-actions-contributes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UploadImageButton } from '@coze-data/knowledge-common-components/text-knowledge-editor/features/editor-actions/upload-image'; import { createEditorActionFeatureRegistry, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/hooks.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/hooks.ts index e29a63ea..bd4060de 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/hooks.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { type UnitItem } from '@coze-data/knowledge-resource-processor-core'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/index.tsx index 32d24912..d800bf9a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextUpload } from './upload'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/upload.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/upload.tsx index 9ea9e8d3..db7e90fa 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/upload.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/steps/upload/upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext, useMemo } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/index.ts index a5c99a1b..31375c72 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createTextCustomAddUpdateStore } from './store'; export { UploadTextCustomAddUpdateStore } from './types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/slice.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/slice.ts index f25603ad..914c3e49 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/slice.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/store.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/store.ts index e1e1244f..3db5c0d6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/store.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/types.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/types.ts index 23980090..60183e7a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/types.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/add/store/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadTextState, type UploadTextAction, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/index.tsx index 0eb7681a..79612701 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextCustomAddUpdateConfig } from './add/config'; export { UploadTextCustomAddUpdateStore } from './add/store'; export { TextCustomAddUpdateStep } from './add/constants'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/config.tsx index 8cf10d46..6c53120b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/constants.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/constants.ts index b7564cfa..e14e4803 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/constants.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TextLocalAddUpdateStep { UPLOAD_FILE, SEGMENT_CLEANER, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/index.tsx index d75e3952..eec9d1af 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextLocalAddUpdateConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/index.ts index 8df4ed4f..1ad09e5a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextUpload } from './upload'; export { TextSegment } from './segment'; export { TextProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/preview/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/preview/index.tsx index 67caa649..0b648b16 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/preview/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useMemo, type FC } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/index.tsx index 4723af1d..9b239013 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/processing.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/processing.tsx index 349fa7c4..e92b8762 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/processing.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/processing.tsx @@ -13,11 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps } from '@coze-data/knowledge-resource-processor-core'; import { getKnowledgeIDEQuery } from '@coze-data/knowledge-common-services'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/utils.ts index 0b985b54..7778bfd0 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/processing/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { merge } from 'lodash-es'; import { type UnitItem } from '@coze-data/knowledge-resource-processor-core'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/index.tsx index f53eb369..357a01f0 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextSegment } from './segment'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/segment.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/segment.tsx index 666e7ea4..bba2e193 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/segment.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/segment.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/utils.ts index 2bf07193..a26bd191 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/segment/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FooterBtnStatus } from '@coze-data/knowledge-resource-processor-core'; import { SegmentMode, SeperatorType, type CustomSegmentRule } from '@/types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/hooks.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/hooks.ts index e29a63ea..bd4060de 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/hooks.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { type UnitItem } from '@coze-data/knowledge-resource-processor-core'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/index.tsx index 32d24912..d800bf9a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextUpload } from './upload'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/upload.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/upload.tsx index 0aab4ae9..f3b9f0d8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/upload.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/steps/upload/upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useContext } from 'react'; import { KnowledgeParamsStoreContext } from '@coze-data/knowledge-stores/src/context'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/doc-review-slice.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/doc-review-slice.ts index 1b6ae4d3..9c9c3240 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/doc-review-slice.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/doc-review-slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; import { type Review } from '@coze-arch/idl/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/index.ts index 1a22ebf7..ad39aa56 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createTextLocalAddUpdateStore } from './store'; export { UploadTextLocalAddUpdateStore } from './types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/types.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/types.ts index 040ed0eb..d41b76e7 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/types.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/add/store/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ILevelSegmentsSlice } from '@coze-data/knowledge-stores'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/index.tsx index 2c8cf2c0..1e355985 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextLocalResegmentConfig } from './resegment/config'; export { TextLocalAddUpdateConfig } from './add/config'; export { type UploadTextLocalAddUpdateStore } from './add/store'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/config.tsx index 58d071ba..b83739aa 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/constants.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/constants.ts index 2b362091..a31b917f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/constants.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TextLocalResegmentStep { SEGMENT_CLEANER, SEGMENT_PREVIEW, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/index.tsx index 66166d8a..8d315497 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextLocalResegmentStep } from './constants'; export { TextLocalResegmentConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/index.tsx index 2659eab0..88f01f08 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextSegment } from './segment'; export { TextProcessing } from './processing'; export { SegmentPreviewStep } from './preview'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/preview/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/preview/index.tsx index 8ea36776..a8a1ea1f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/preview/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useMemo, type FC } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/hooks.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/hooks.ts index f4807d7f..640f36b1 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/hooks.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UseBoundStore, type StoreApi } from 'zustand'; import { merge } from 'lodash-es'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/index.tsx index 4723af1d..9b239013 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/processing.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/processing.tsx index 7630fb2e..f16b34d8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/processing.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/processing/processing.tsx @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect } from 'react'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps } from '@coze-data/knowledge-resource-processor-core'; import { getKnowledgeIDEQuery } from '@coze-data/knowledge-common-services'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/index.tsx index f53eb369..357a01f0 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextSegment } from './segment'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/segment.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/segment.tsx index ab2c0598..a5b8b944 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/segment.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/segment.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect, useRef } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/utils.ts index ada895ea..27055211 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/steps/segment/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FooterBtnStatus } from '@coze-data/knowledge-resource-processor-core'; import { SegmentMode, SeperatorType, type CustomSegmentRule } from '@/types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/doc-review-slice.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/doc-review-slice.ts index 1b6ae4d3..9c9c3240 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/doc-review-slice.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/doc-review-slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; import { type Review } from '@coze-arch/idl/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/index.tsx index 12f7bcb7..fe007180 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createTextLocalResegmentStore } from './store'; export { UploadTextLocalResegmentStore } from './types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/types.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/types.ts index 9a44b872..bcd49ba7 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/types.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/first-party/local/resegment/store/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ILevelSegmentsSlice } from '@coze-data/knowledge-stores'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/index.tsx index 29cd7c84..d19af196 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { validateSegmentRules, getCustomValues } from './utils'; export { createTextSlice, getDefaultTextState } from './slice'; export { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/interface.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/interface.ts index 00c6d008..72dbdc33 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/interface.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/interface.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadBaseAction, type UploadBaseState, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/slice.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/slice.ts index 5e7887d9..ccb3b52a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/slice.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; import { CreateUnitStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/utils.ts index 5e103c8d..14347fca 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/knowledge-type/text/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UnitItem } from '@coze-data/knowledge-resource-processor-core'; import { type DocumentTaskInfo } from '@coze-arch/bot-api/memory'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/config.tsx index 6dbec9a5..137ed326 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/constants.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/constants.ts index 1f366dda..a3011f61 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/constants.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** table-local resegment unit steps */ export enum TableLocalResegmentStep { CONFIGURATION, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/index.tsx index ee6b31ab..ea12f93c 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableResegmentConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/configuration/configuration.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/configuration/configuration.tsx index f6fd4dfd..b419cd62 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/configuration/configuration.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/configuration/configuration.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/configuration/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/configuration/index.ts index 896a3133..2dbb121f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/configuration/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/configuration/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableConfiguration } from './configuration'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/index.ts index 259e03b1..bec9ecee 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableConfiguration } from './configuration'; export { TablePreview } from './preview'; export { TableProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/preview/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/preview/index.ts index a9ebeaee..4e1600ea 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/preview/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/preview/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TablePreview } from './preview'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/preview/preview.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/preview/preview.tsx index 1b5157e1..7f9a4f26 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/preview/preview.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/preview/preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ContentProps, FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/hooks.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/hooks.ts index 6fc661e4..f7887158 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/hooks.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StoreApi, type UseBoundStore } from 'zustand'; import { useRequest } from 'ahooks'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/index.ts index f8aa4c1a..3cb7bb8c 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TableProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/processing.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/processing.tsx index df6da559..6e339c68 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/processing.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/steps/processing/processing.tsx @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useEffect } from 'react'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps, FooterBtnStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/index.ts index 01e49d23..2e72a588 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createTableLocalResegmentStore } from './store'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/slice.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/slice.ts index 379309af..d0ed59b8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/slice.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StateCreator } from 'zustand'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/store.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/store.ts index 1a717976..4f3c345e 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/store.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/table/store/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/config.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/config.tsx index d2a0496c..1a501ead 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/config.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadConfig, type FooterControlsProps, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/constants.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/constants.ts index ab7d2e4f..c1ed575c 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/constants.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TextResegmentStep { SEGMENT_CLEANER = 0, EMBED_PROGRESS = 1, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/index.tsx index 02ca5fb1..05456365 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextResegmentConfig } from './config'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/index.ts index ee858784..aca1db04 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextSegment } from './segment'; export { TextProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/hooks.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/hooks.ts index 95d89c2f..fde3f811 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/hooks.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { type UseBoundStore, type StoreApi } from 'zustand'; import { merge } from 'lodash-es'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/index.tsx index 4723af1d..9b239013 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextProcessing } from './processing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/processing.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/processing.tsx index 0d81b469..b08a41f6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/processing.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/processing/processing.tsx @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect } from 'react'; -import { useDataNavigate, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataNavigate, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { type ContentProps } from '@coze-data/knowledge-resource-processor-core'; import { getKnowledgeIDEQuery } from '@coze-data/knowledge-common-services/use-case'; import { KnowledgeE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/index.tsx index f53eb369..357a01f0 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextSegment } from './segment'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/segment.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/segment.tsx index e3946066..5d7c02f3 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/segment.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/segment.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type FC, useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/utils.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/utils.ts index 2a9c799e..0fdfb19f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/utils.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/steps/segment/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FooterBtnStatus } from '@coze-data/knowledge-resource-processor-core'; import { type CustomSegmentRule, SegmentMode, SeperatorType } from '@/types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/store/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/store/index.ts index fe01792f..d71d52bf 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/store/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/store/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UploadTextResegmentStore } from './types'; export { createTextResegmentStore } from './store'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/store/types.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/store/types.ts index a33a7671..22f33888 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/store/types.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/resegment/text/store/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TextCustomResegmentAction, type TextCustomResegmentState, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-config/base/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-config/base/index.tsx index fa4c292f..0eabd151 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-config/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-config/base/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ParsingStrategy } from '@coze-arch/idl/knowledge'; import { I18n } from '@coze-arch/i18n'; import type { FormApi } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-config/text-local/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-config/text-local/index.tsx index a900f301..b558cd48 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-config/text-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-config/text-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ParsingStrategy, ParsingType } from '@coze-arch/idl/knowledge'; import { I18n } from '@coze-arch/i18n'; import type { FormApi } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-preview/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-preview/index.tsx index 2ffec53c..febea08b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-preview/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable @typescript-eslint/no-magic-numbers */ /* eslint-disable complexity */ @@ -86,8 +86,8 @@ export const SegmentPreview = (props: ISegmentPreviewProps) => { const fileType = currentReview?.document_type; // The front end is not good to display docx, so you need to use the URL in pdf format converted by the back end. const fileUrl = ['docx', 'doc'].includes(fileType ?? '') - ? (currentReview?.preview_tos_url ?? '') - : (currentReview?.tos_url ?? ''); + ? currentReview?.preview_tos_url ?? '' + : currentReview?.tos_url ?? ''; const segmentTosUrl = currentReview?.doc_tree_tos_url ?? ''; // Save review when switching documents const { loading: saveLoading, runAsync: saveDocumentReview } = useRequest( diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/index.tsx index 1159ea77..b073bb9c 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PrecisionParsing } from './precision-parsing'; export { QuickParsing } from './quick-parsing'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/index.tsx index 25235c73..b791aaf8 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ParsingStrategy } from '@coze-arch/idl/knowledge'; import { I18n } from '@coze-arch/i18n'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/filter-modal.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/filter-modal.tsx index c7d8312d..922e0983 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/filter-modal.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/filter-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { produce } from 'immer'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/index.tsx index 1fa37a33..3b0c9b35 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps, type ComponentType, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/pdf-document.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/pdf-document.tsx index d08f2a2a..1b1c0e8d 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/pdf-document.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/document-parse-form/pdf-filter/pdf-document.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Document, Page, pdfjs } from 'react-pdf'; import { useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/index.tsx index 7143bbcc..d081bac1 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/precision-parsing/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { merge, omit } from 'lodash-es'; import classNames from 'classnames'; import { type ParsingStrategy, ParsingType } from '@coze-arch/idl/knowledge'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/quick-parsing/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/quick-parsing/index.tsx index a4606e8e..2b6a99a1 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/quick-parsing/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/document-parse-strategy/quick-parsing/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ParsingType } from '@coze-arch/idl/knowledge'; import { I18n } from '@coze-arch/i18n'; import { Radio } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/automatic-cleaning/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/automatic-cleaning/index.tsx index 1191cda2..a9fb57a3 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/automatic-cleaning/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/automatic-cleaning/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; import { Radio } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/custom/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/custom/index.tsx index cc4d224f..381d88a9 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/custom/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/custom/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { KnowledgeE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/index.tsx index b6aced0c..52b791ee 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/segment-strategys/segment-strategy/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AutomaticCleaning } from './automatic-cleaning'; export { CustomSegment } from './custom'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/image-local/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/image-local/index.tsx index 28a9a3ca..66ef3a06 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/image-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/image-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/index.tsx index 56241e02..74b84b9b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ImageLocalTaskList } from './image-local'; export { TextLocalTaskList } from './text-local'; export { TableLocalTaskList } from './table-local'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/table-local/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/table-local/index.tsx index b77b757d..4a8562e5 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/table-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/table-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/text-local/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/text-local/index.tsx index b7e35b14..bb7fdae5 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/text-local/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/features/upload-task-list/text-local/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/hooks/common.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/hooks/common.ts index e9c1e66d..a2306ff0 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/hooks/common.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/hooks/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useEffect } from 'react'; import { type StoreApi, type UseBoundStore } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/hooks/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/hooks/index.ts index 253df0a8..ba17fba6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/hooks/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePollingTaskProgress, useCreateDocument, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/index.tsx index 1b208c53..ee5e2659 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // ! Notice prohibits the direct export of getUploadConfig, various third-party dependencies such as pdf.js will be loaded on the first screen of most pages // export { getUploadConfig } from './config'; export { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/layout/base/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/layout/base/index.tsx index 580cf462..df32e200 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/layout/base/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/layout/base/index.tsx @@ -13,11 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo } from 'react'; import classNames from 'classnames'; -import { useDataCallbacks, useKnowledgeParams } from '@coze-data/knowledge-stores'; +import { + useDataCallbacks, + useKnowledgeParams, +} from '@coze-data/knowledge-stores'; import { DataErrorBoundary, DataNamespace, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/services/common.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/services/common.ts index 558f79a0..aa3b1aa2 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/services/common.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/services/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { useKnowledgeParams } from '@coze-data/knowledge-stores'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/services/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/services/index.ts index 1eca2652..bb3dde3f 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/services/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/services/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useListDocumentReq, useCreateDocumentReq } from './common'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/components.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/components.ts index b422f45d..fac75f9d 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/components.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/components.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * types for src/components */ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/index.ts index 4eb376ed..fa42bd07 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Types Since multiple locations are used to avoid circular dependencies, the top layer is mentioned */ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/process.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/process.ts index cf996f50..01530c73 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/process.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/process.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; export enum ProcessStatus { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/table.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/table.ts index 64dfa2ef..c7d9cbcc 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/table.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This file contains the types related to the components under steps/table */ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/text.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/text.ts index 5b679e05..84c57e90 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/text.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/types/text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum SegmentMode { AUTO, CUSTOM, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/typings.d.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/typings.d.ts index ab448fc8..7ecfd5cd 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/typings.d.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_OVERSEA: boolean; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/common.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/common.ts index e1527c65..52f58a20 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/common.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { useKnowledgeParams } from '@coze-data/knowledge-stores'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/convert-crop-data.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/convert-crop-data.ts index 99aa48e5..3e25319c 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/convert-crop-data.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/convert-crop-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type Cropper from 'cropperjs'; import { type CropperSizePercent } from '@/features/knowledge-type/text/interface'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/convert-filter-strategy-to-params.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/convert-filter-strategy-to-params.ts index 1e12721f..6371424a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/convert-filter-strategy-to-params.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/convert-filter-strategy-to-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ResegmentRequest } from '@coze-arch/idl/knowledge'; import { type PDFDocumentFilterValue } from '@/features/knowledge-type/text/interface'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/get-storage-strategy-enabled.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/get-storage-strategy-enabled.ts index 0aa65a80..a863128b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/get-storage-strategy-enabled.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/get-storage-strategy-enabled.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Dataset, StorageLocation } from '@coze-arch/idl/knowledge'; export function getStorageStrategyEnabled(dataset?: Dataset) { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/index.ts index 188cd339..256f8a63 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getFrequencyMap, IValidateRes, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/is-local-text-document.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/is-local-text-document.ts index a4397e40..f943d3c2 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/is-local-text-document.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/is-local-text-document.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DocumentInfo, DocumentSource, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/map-pdf-filter-config.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/map-pdf-filter-config.ts index 36fec646..b5c822e7 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/map-pdf-filter-config.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/map-pdf-filter-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FilterPageConfig } from '@/features/knowledge-type/text/interface'; export const mapPDFFilterConfig = (list: FilterPageConfig[]) => diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/render-document-filter-value.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/render-document-filter-value.ts index d3e84486..6b628d14 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/render-document-filter-value.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/render-document-filter-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/table.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/table.ts index 33c6236a..1fffc130 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/table.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** This file contains table utils */ import { get } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/text.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/text.ts index 3d15ecd3..7a6ff190 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/text.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ChunkType, type ChunkStrategy, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/validate-common-doc-next-step.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/validate-common-doc-next-step.ts index 239245dc..2a796473 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/validate-common-doc-next-step.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/utils/validate-common-doc-next-step.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FooterBtnStatus } from '@coze-data/knowledge-resource-processor-core'; import { type CustomSegmentRule, SegmentMode, SeperatorType } from '../types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/stories/demo.stories.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-base/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/stories/demo.stories.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/vitest.config.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/vitest.config.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/__tests__/main.test.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-core/__tests__/main.test.tsx index 45745c9b..93a7225d 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/__tests__/main.test.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/__tests__/main.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { type StoreApi, type UseBoundStore, create } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/constants/common.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/constants/common.ts index 719123f3..2d03948b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/constants/common.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/constants/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** The type value on the upload page url */ export enum UnitType { /** Text format: local documents, upload PDF, TXT, DOCX local files */ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/constants/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/constants/index.ts index eef36c0d..a6596a38 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/constants/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UnitType, OptType, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/context.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/context.tsx index da5cd70a..656d2d04 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/context.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type PropsWithChildren, type FC, useRef } from 'react'; import { type StoreApi, type UseBoundStore } from 'zustand'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/index.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/index.tsx index eeb7c835..a3e95c23 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/index.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Upload } from './main'; export type { UploadBaseState, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/main.tsx b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/main.tsx index 268725ac..7f82c0bc 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/main.tsx +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useContext, useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/protocol/base.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/protocol/base.ts index fccd3be7..4ae11480 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/protocol/base.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/protocol/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StoreApi, type UseBoundStore } from 'zustand'; import type { ProgressItem, UnitItem, ContentProps } from '../types'; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/protocol/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/protocol/index.ts index 2f34c64d..141f962d 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/protocol/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/protocol/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type { UploadBaseState, UploadBaseAction, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/common.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/common.ts index 3652511e..4f191537 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/common.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UpdateType, type DocumentStatus, diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/index.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/index.ts index 61d70d32..a591af2a 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/index.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Types Since multiple locations are used to avoid circular dependencies, the top layer is mentioned */ diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/upload.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/upload.ts index 9e98bc6f..387c9f52 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/upload.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/types/upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; /** diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/typings.d.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/typings.d.ts index 7cc757a8..a5e22767 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/typings.d.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-core/vitest.config.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-core/vitest.config.ts index 98c01abf..c81eb5e1 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-core/vitest.config.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-core/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/data/memory/database-creator/__tests__/database-modal.test.tsx b/frontend/packages/data/memory/database-creator/__tests__/database-modal.test.tsx index 37006e84..280febbb 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/database-modal.test.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/database-modal.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { expect, vi, describe, test } from 'vitest'; @@ -151,8 +151,8 @@ vi.mock('@douyinfe/semi-icons', async () => { const actual = await vi.importActual('@douyinfe/semi-icons'); return { ...(actual as any), - IconAlertTriangle: () => <>IconAlertTriangle, - IconClose: () => <>IconClose, + IconAlertTriangle: () => <>IconAlertTriangle, + IconClose: () => <>IconClose, IconChevronDown: () => <>IconChevronDown, }; }); @@ -198,7 +198,7 @@ describe('database modal test', () => { const aiCreateButton = await screen.queryByText('bot_database_ai_create'); expect(aiCreateButton).not.toBeNull(); if (aiCreateButton) { - await fireEvent.click(aiCreateButton); + await fireEvent.click(aiCreateButton); } const aiGenerateButton = await screen.queryByText( 'bot_database_ai_generate', @@ -216,16 +216,16 @@ describe('database modal test', () => { const aiCreateButton = await screen.queryByText('bot_database_ai_create'); expect(aiCreateButton).not.toBeNull(); if (aiCreateButton) { - await fireEvent.click(aiCreateButton); + await fireEvent.click(aiCreateButton); } const nlInput = await screen.queryByRole('mock-textarea'); expect(nlInput).not.toBeNull(); if (nlInput) { - await fireEvent.input(nlInput, { - target: { - value: 'a pokemon table, name and score', - }, - }); + await fireEvent.input(nlInput, { + target: { + value: 'a pokemon table, name and score', + }, + }); } const aiGenerateButton = await screen.queryByText( 'bot_database_ai_generate', @@ -233,7 +233,7 @@ describe('database modal test', () => { expect(aiGenerateButton).not.toBeNull(); if (aiGenerateButton) { - await fireEvent.click(aiGenerateButton); + await fireEvent.click(aiGenerateButton); } const content = await screen.queryByText('test'); expect(content).not.toBeNull(); diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-banner.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-banner.tsx index 80d18c0c..72112c61 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-banner.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-banner.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const mockBanner = (props: { description: string }) => ( diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-button.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-button.tsx index 86aad06d..09c7f0ba 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-button.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockButton = (props: { diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-divider.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-divider.tsx index 4e8e9c52..cc58cee8 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-divider.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-divider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockDivider = () => <>divider; diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-form.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-form.tsx index 7fbe5098..cf630df6 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-form.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import React, { useCallback, diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-icon.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-icon.tsx index 0b02d11e..f2a908d2 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-icon.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const Icon = (props: { svg: React.ReactElement }) => <>{props.svg}; diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-image.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-image.tsx index ab6ceff2..525aadc4 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-image.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-image.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockImage = (props: { src: string }) => ; diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-modal.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-modal.tsx index b0df4f01..117941e0 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-modal.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const Modal = (props: { diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-popconfirm.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-popconfirm.tsx index acd5b5cc..54110bc0 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-popconfirm.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-popconfirm.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockPopConfirm = (props: { diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-popover.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-popover.tsx index 5416f92d..d6e27b22 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-popover.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockPopover = (props: { diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-spin.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-spin.tsx index b2f86997..6988f6c0 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-spin.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-spin.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const mockSpin = () => <>spin; diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-switch.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-switch.tsx index 4b567fac..a652f960 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-switch.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-switch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockSwitch = (props: { diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-table-action.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-table-action.tsx index 0582b3c9..38fc7fb2 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-table-action.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-table-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockUITableAction = (props: { diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-textarea.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-textarea.tsx index b38d4c3c..52272f56 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-textarea.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-textarea.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useImperativeHandle, useState } from 'react'; export const MockTextArea = React.forwardRef( diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-toast.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-toast.tsx index c0d7e4ab..f861ee9c 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-toast.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-toast.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const Toast = { error: () => {}, waring: () => {}, diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-tooltip.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-tooltip.tsx index 693b43c0..c5addfc9 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-tooltip.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-tooltip.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockTooltip = (props: { diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-ui-button.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-ui-button.tsx index 2499125b..bbef35d9 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-ui-button.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-ui-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockUIButton = (props: { diff --git a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-ui-table.tsx b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-ui-table.tsx index e2b048f2..589ed38e 100644 --- a/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-ui-table.tsx +++ b/frontend/packages/data/memory/database-creator/__tests__/mock-components/mock-ui-table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const MockUITable = (props: { diff --git a/frontend/packages/data/memory/database-creator/src/components/bot-debug-button/index.tsx b/frontend/packages/data/memory/database-creator/src/components/bot-debug-button/index.tsx index 0787f0bc..235defe0 100644 --- a/frontend/packages/data/memory/database-creator/src/components/bot-debug-button/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/bot-debug-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Ref, forwardRef, type FC } from 'react'; import { type ButtonProps } from '@coze-arch/bot-semi/Button'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing-tag/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing-tag/index.tsx index 24466571..f5837b87 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing-tag/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing-tag/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing/index.tsx index f7518bc2..53587378 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing/upload-progress/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing/upload-progress/index.tsx index 7a2581c0..edba38c5 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing/upload-progress/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/processing/upload-progress/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Typography } from '@coze-arch/bot-semi'; import { ImportFileTaskStatus } from '../../../datamodel'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/step-footer/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/step-footer/index.tsx index 54ca53c6..5ec9214b 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/step-footer/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/step-footer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import { isNumber } from 'lodash-es'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/table-preview/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/table-preview/index.tsx index 3702cd8a..de298e0c 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/table-preview/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/table-preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/table-structure/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/table-structure/index.tsx index f62bbac8..4c6a139f 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/table-structure/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/table-structure/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, type FC, useState, useMemo } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/upload/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/upload/index.tsx index 3c2db10d..4e8409d9 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/upload/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/components/upload/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, type FC } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/const.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/const.ts index 69721539..32fbb191 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/const.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // 20MB limit export const ACCEPT_FILE_MAX_SIZE = 20 * 1024 * 1024; export const ACCEPT_FILE_TYPES = ['.xlsx', '.xls', '.csv'].join(','); diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/index.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/index.ts index e061ea09..62d9d445 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/index.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/namespaces/base.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/namespaces/base.ts index 07d4ed87..e9e62386 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/namespaces/base.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/namespaces/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/namespaces/table_import.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/namespaces/table_import.ts index b544c72c..eb42f9be 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/namespaces/table_import.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/datamodel/namespaces/table_import.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/event-emitter.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/event-emitter.ts index c5617eff..6d8f1e87 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/event-emitter.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/event-emitter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Callback } from '../types'; class EventEmitter { diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-base64.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-base64.ts index 7fec68fd..44636d74 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-base64.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-base64.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function getBase64(file: Blob): Promise { return new Promise((resolve, reject) => { const fileReader = new FileReader(); diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-file-extension.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-file-extension.ts index e9e85d28..1ca27fe1 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-file-extension.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-file-extension.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getFileExtension = (name: string) => { const index = name.lastIndexOf('.'); return name.slice(index + 1); diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-file-icon.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-file-icon.tsx index 64d653b6..1b292ee8 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-file-icon.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/helpers/get-file-icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Icon } from '@coze-arch/bot-semi'; import { ReactComponent as ExcelSVG } from '../../../assets/icon_wiki-excel_colorful.svg'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/hooks/use-step.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/hooks/use-step.ts index 7c87bb73..16244c14 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/hooks/use-step.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/hooks/use-step.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type Callback } from '../types'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/hooks/use-upload-progress.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/hooks/use-upload-progress.ts index 2ac09ac9..2d6f319b 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/hooks/use-upload-progress.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/hooks/use-upload-progress.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState, useEffect } from 'react'; import { useLocalStorageState } from 'ahooks'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/index.tsx index 4a407e70..d58a0953 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; import { type DatabaseInfo } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/store/initial-config.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/store/initial-config.ts index 4ae92e3e..68d53e6a 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/store/initial-config.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/store/initial-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { create } from 'zustand'; import { noop } from 'lodash-es'; import { type DatabaseInfo } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/store/step.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/store/step.ts index 53a30dd0..dbb4fb88 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/store/step.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/store/step.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/types.ts b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/types.ts index c33ba9a7..f1ec3d3d 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/types.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-create-from-excel/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseInfo } from '@coze-studio/bot-detail-store'; import { type FileItem } from '@coze-arch/bot-semi/Upload'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-modal/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-modal/index.tsx index 9ffb7458..9145a4a8 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-modal/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { useRef, useMemo, useEffect, useState } from 'react'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-table-structure/components/ColumnHeader/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-table-structure/components/ColumnHeader/index.tsx index c2372583..e40502c6 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-table-structure/components/ColumnHeader/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-table-structure/components/ColumnHeader/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import { Icon, Popover } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-table-structure/components/KeyTipsNode/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-table-structure/components/KeyTipsNode/index.tsx index 6ee96f43..5deb4f6a 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-table-structure/components/KeyTipsNode/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-table-structure/components/KeyTipsNode/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PopoverContent } from '@coze-studio/components'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-table-structure/helpers/validate.ts b/frontend/packages/data/memory/database-creator/src/components/database-table-structure/helpers/validate.ts index 3c604eb9..e531a2ac 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-table-structure/helpers/validate.ts +++ b/frontend/packages/data/memory/database-creator/src/components/database-table-structure/helpers/validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type TableMemoryItem } from '@coze-studio/bot-detail-store'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/database-creator/src/components/database-table-structure/index.tsx b/frontend/packages/data/memory/database-creator/src/components/database-table-structure/index.tsx index 13492498..a420fef2 100644 --- a/frontend/packages/data/memory/database-creator/src/components/database-table-structure/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/database-table-structure/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, forwardRef, diff --git a/frontend/packages/data/memory/database-creator/src/components/singleline-input/index.tsx b/frontend/packages/data/memory/database-creator/src/components/singleline-input/index.tsx index 8681eb34..a400aac2 100644 --- a/frontend/packages/data/memory/database-creator/src/components/singleline-input/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/singleline-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ComponentProps, useRef, diff --git a/frontend/packages/data/memory/database-creator/src/components/singleline-select/index.tsx b/frontend/packages/data/memory/database-creator/src/components/singleline-select/index.tsx index 64765e1e..4ce5ff05 100644 --- a/frontend/packages/data/memory/database-creator/src/components/singleline-select/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/components/singleline-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { type SelectProps } from '@coze-arch/bot-semi/Select'; import { type InputProps } from '@coze-arch/bot-semi/Input'; diff --git a/frontend/packages/data/memory/database-creator/src/const.tsx b/frontend/packages/data/memory/database-creator/src/const.tsx index d0e4a267..6e25c5d2 100644 --- a/frontend/packages/data/memory/database-creator/src/const.tsx +++ b/frontend/packages/data/memory/database-creator/src/const.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type DatabaseInfo, diff --git a/frontend/packages/data/memory/database-creator/src/global.d.ts b/frontend/packages/data/memory/database-creator/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/memory/database-creator/src/global.d.ts +++ b/frontend/packages/data/memory/database-creator/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/memory/database-creator/src/hooks/use-create-from-excel-fg.ts b/frontend/packages/data/memory/database-creator/src/hooks/use-create-from-excel-fg.ts index c616e2ff..f63b8d4f 100644 --- a/frontend/packages/data/memory/database-creator/src/hooks/use-create-from-excel-fg.ts +++ b/frontend/packages/data/memory/database-creator/src/hooks/use-create-from-excel-fg.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const useCreateFromExcelFG = (): boolean => // Feature flag bot.data.excel_to_database is OFF, returning false. false; diff --git a/frontend/packages/data/memory/database-creator/src/index.tsx b/frontend/packages/data/memory/database-creator/src/index.tsx index db808167..e1c941f6 100644 --- a/frontend/packages/data/memory/database-creator/src/index.tsx +++ b/frontend/packages/data/memory/database-creator/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DatabaseModal, DatabaseModalProps } from './components/database-modal'; export { ProcessingTag, diff --git a/frontend/packages/data/memory/database-creator/src/types.ts b/frontend/packages/data/memory/database-creator/src/types.ts index 928bc621..a21378c9 100644 --- a/frontend/packages/data/memory/database-creator/src/types.ts +++ b/frontend/packages/data/memory/database-creator/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseInfo } from '@coze-studio/bot-detail-store'; import { type AlterBotTableResponse, diff --git a/frontend/packages/data/memory/database-creator/vitest.config.ts b/frontend/packages/data/memory/database-creator/vitest.config.ts index 0157f1cf..f1b1670b 100644 --- a/frontend/packages/data/memory/database-creator/vitest.config.ts +++ b/frontend/packages/data/memory/database-creator/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import svgr from 'vite-plugin-svgr'; import { defineConfig } from '@coze-arch/vitest-config'; diff --git a/frontend/packages/data/memory/database-v2-adapter/src/components/base-info-modal/index.tsx b/frontend/packages/data/memory/database-v2-adapter/src/components/base-info-modal/index.tsx index d5e38697..9dbe67ca 100644 --- a/frontend/packages/data/memory/database-v2-adapter/src/components/base-info-modal/index.tsx +++ b/frontend/packages/data/memory/database-v2-adapter/src/components/base-info-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DatabaseBaseInfoModal, useDatabaseInfoModal, diff --git a/frontend/packages/data/memory/database-v2-adapter/src/components/create-table-modal/index.tsx b/frontend/packages/data/memory/database-v2-adapter/src/components/create-table-modal/index.tsx index 885e9485..2a11e045 100644 --- a/frontend/packages/data/memory/database-v2-adapter/src/components/create-table-modal/index.tsx +++ b/frontend/packages/data/memory/database-v2-adapter/src/components/create-table-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DatabaseCreateTableModal, useDatabaseCreateTableModal, diff --git a/frontend/packages/data/memory/database-v2-adapter/src/components/database-mode-select/index.tsx b/frontend/packages/data/memory/database-v2-adapter/src/components/database-mode-select/index.tsx index 99dd5573..762acb5d 100644 --- a/frontend/packages/data/memory/database-v2-adapter/src/components/database-mode-select/index.tsx +++ b/frontend/packages/data/memory/database-v2-adapter/src/components/database-mode-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { type CommonexcludeType } from '@coze-arch/bot-semi/Form'; diff --git a/frontend/packages/data/memory/database-v2-adapter/src/index.tsx b/frontend/packages/data/memory/database-v2-adapter/src/index.tsx index 705d251b..209880b3 100644 --- a/frontend/packages/data/memory/database-v2-adapter/src/index.tsx +++ b/frontend/packages/data/memory/database-v2-adapter/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DatabaseDetailWaring } from '@coze-data/database-v2-base/features/database-detail-waring'; diff --git a/frontend/packages/data/memory/database-v2-adapter/src/typings.d.ts b/frontend/packages/data/memory/database-v2-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/memory/database-v2-adapter/src/typings.d.ts +++ b/frontend/packages/data/memory/database-v2-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/memory/database-v2-adapter/stories/demo.stories.tsx b/frontend/packages/data/memory/database-v2-adapter/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/memory/database-v2-adapter/stories/demo.stories.tsx +++ b/frontend/packages/data/memory/database-v2-adapter/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/memory/database-v2-adapter/vitest.config.ts b/frontend/packages/data/memory/database-v2-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/memory/database-v2-adapter/vitest.config.ts +++ b/frontend/packages/data/memory/database-v2-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/memory/database-v2-base/src/components/base-info-modal/index.tsx b/frontend/packages/data/memory/database-v2-base/src/components/base-info-modal/index.tsx index c6d4b624..df4a1366 100644 --- a/frontend/packages/data/memory/database-v2-base/src/components/base-info-modal/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/components/base-info-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useState, type FC, useRef, useEffect, useCallback } from 'react'; diff --git a/frontend/packages/data/memory/database-v2-base/src/components/create-table-modal/index.tsx b/frontend/packages/data/memory/database-v2-base/src/components/create-table-modal/index.tsx index 7399733b..e60eebda 100644 --- a/frontend/packages/data/memory/database-v2-base/src/components/create-table-modal/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/components/create-table-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useMemo, useEffect } from 'react'; import type { ReactNode, RefObject } from 'react'; diff --git a/frontend/packages/data/memory/database-v2-base/src/components/database-field-title/index.tsx b/frontend/packages/data/memory/database-v2-base/src/components/database-field-title/index.tsx index 9be91ccf..e5ed7034 100644 --- a/frontend/packages/data/memory/database-v2-base/src/components/database-field-title/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/components/database-field-title/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type FieldItemType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/data/memory/database-v2-base/src/components/database-table-structure/components/KeyTipsNode/index.tsx b/frontend/packages/data/memory/database-v2-base/src/components/database-table-structure/components/KeyTipsNode/index.tsx index 6ee96f43..5deb4f6a 100644 --- a/frontend/packages/data/memory/database-v2-base/src/components/database-table-structure/components/KeyTipsNode/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/components/database-table-structure/components/KeyTipsNode/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PopoverContent } from '@coze-studio/components'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/database-v2-base/src/components/database-table-structure/helpers/validate.ts b/frontend/packages/data/memory/database-v2-base/src/components/database-table-structure/helpers/validate.ts index ac5fc68b..983954a2 100644 --- a/frontend/packages/data/memory/database-v2-base/src/components/database-table-structure/helpers/validate.ts +++ b/frontend/packages/data/memory/database-v2-base/src/components/database-table-structure/helpers/validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type TableMemoryItem } from '@coze-studio/bot-detail-store'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/database-v2-base/src/components/dismissible-banner/index.tsx b/frontend/packages/data/memory/database-v2-base/src/components/dismissible-banner/index.tsx index 2745bc68..b2d76fdf 100644 --- a/frontend/packages/data/memory/database-v2-base/src/components/dismissible-banner/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/components/dismissible-banner/index.tsx @@ -13,13 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type PropsWithChildren } from 'react'; import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { IconCozCross } from '@coze-arch/coze-design/icons'; -import { type BannerProps, IconButton, Typography } from '@coze-arch/coze-design'; +import { + type BannerProps, + IconButton, + Typography, +} from '@coze-arch/coze-design'; export type BannerType = NonNullable; diff --git a/frontend/packages/data/memory/database-v2-base/src/components/singleline-input/index.tsx b/frontend/packages/data/memory/database-v2-base/src/components/singleline-input/index.tsx index 069e6bb3..02d30545 100644 --- a/frontend/packages/data/memory/database-v2-base/src/components/singleline-input/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/components/singleline-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ComponentProps, useRef, diff --git a/frontend/packages/data/memory/database-v2-base/src/components/singleline-select/index.tsx b/frontend/packages/data/memory/database-v2-base/src/components/singleline-select/index.tsx index b8b7058e..d58f484c 100644 --- a/frontend/packages/data/memory/database-v2-base/src/components/singleline-select/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/components/singleline-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { Select, diff --git a/frontend/packages/data/memory/database-v2-base/src/constants/database-field.tsx b/frontend/packages/data/memory/database-v2-base/src/constants/database-field.tsx index 0fe78210..847124e2 100644 --- a/frontend/packages/data/memory/database-v2-base/src/constants/database-field.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/constants/database-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type DatabaseInfo, diff --git a/frontend/packages/data/memory/database-v2-base/src/constants/index.ts b/frontend/packages/data/memory/database-v2-base/src/constants/index.ts index 427c0848..82f9c8bd 100644 --- a/frontend/packages/data/memory/database-v2-base/src/constants/index.ts +++ b/frontend/packages/data/memory/database-v2-base/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FIELD_TYPE_OPTIONS } from './database-field'; export { TEMPLATE_INFO } from './database-field'; export { SYSTEM_FIELDS, SYSTEM_FIELD_ROW_INDEX } from './database-field'; diff --git a/frontend/packages/data/memory/database-v2-base/src/features/database-detail-waring/index.tsx b/frontend/packages/data/memory/database-v2-base/src/features/database-detail-waring/index.tsx index f9a376dc..c2fc99fa 100644 --- a/frontend/packages/data/memory/database-v2-base/src/features/database-detail-waring/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/features/database-detail-waring/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const DatabaseDetailWaring = () => <>; diff --git a/frontend/packages/data/memory/database-v2-base/src/index.tsx b/frontend/packages/data/memory/database-v2-base/src/index.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/data/memory/database-v2-base/src/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/index.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/data/memory/database-v2-base/src/types/database-tabs.ts b/frontend/packages/data/memory/database-v2-base/src/types/database-tabs.ts index 80d285ce..7b3b1924 100644 --- a/frontend/packages/data/memory/database-v2-base/src/types/database-tabs.ts +++ b/frontend/packages/data/memory/database-v2-base/src/types/database-tabs.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Database details page tab */ diff --git a/frontend/packages/data/memory/database-v2-base/src/types/index.ts b/frontend/packages/data/memory/database-v2-base/src/types/index.ts index 0078c57a..0ebdc116 100644 --- a/frontend/packages/data/memory/database-v2-base/src/types/index.ts +++ b/frontend/packages/data/memory/database-v2-base/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DatabaseTabs } from './database-tabs'; export { CreateType } from './database-field'; export { type NL2DBInfo } from './database-field'; diff --git a/frontend/packages/data/memory/database-v2-base/src/typings.d.ts b/frontend/packages/data/memory/database-v2-base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/memory/database-v2-base/src/typings.d.ts +++ b/frontend/packages/data/memory/database-v2-base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/memory/database-v2-base/src/utils/get-base64.ts b/frontend/packages/data/memory/database-v2-base/src/utils/get-base64.ts index 37057b3d..3cf6a2b3 100644 --- a/frontend/packages/data/memory/database-v2-base/src/utils/get-base64.ts +++ b/frontend/packages/data/memory/database-v2-base/src/utils/get-base64.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/data/memory/database-v2-base/src/utils/get-file-extension.ts b/frontend/packages/data/memory/database-v2-base/src/utils/get-file-extension.ts index e9e85d28..1ca27fe1 100644 --- a/frontend/packages/data/memory/database-v2-base/src/utils/get-file-extension.ts +++ b/frontend/packages/data/memory/database-v2-base/src/utils/get-file-extension.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getFileExtension = (name: string) => { const index = name.lastIndexOf('.'); return name.slice(index + 1); diff --git a/frontend/packages/data/memory/database-v2-base/stories/demo.stories.tsx b/frontend/packages/data/memory/database-v2-base/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/memory/database-v2-base/stories/demo.stories.tsx +++ b/frontend/packages/data/memory/database-v2-base/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/memory/database-v2-base/vitest.config.ts b/frontend/packages/data/memory/database-v2-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/memory/database-v2-base/vitest.config.ts +++ b/frontend/packages/data/memory/database-v2-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/import-steps.tsx b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/import-steps.tsx index 0452ddb0..c0eeeff6 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/import-steps.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/import-steps.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { Steps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/index.tsx index c44603f1..5c8985c9 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { diff --git a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/config.tsx b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/config.tsx index c7f40bfb..668287f2 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/config.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/preview.tsx b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/preview.tsx index 6b1a2084..834c4bfe 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/preview.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/process.tsx b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/process.tsx index 6a93bbc4..90ab4687 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/process.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/process.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, useMemo } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/upload.tsx b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/upload.tsx index bf039ac9..f9e41a68 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/upload.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/batch-import-modal/steps/upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/bot-debug-button/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/bot-debug-button/index.tsx index 0787f0bc..235defe0 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/bot-debug-button/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/bot-debug-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Ref, forwardRef, type FC } from 'react'; import { type ButtonProps } from '@coze-arch/bot-semi/Button'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-detail/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/database-detail/index.tsx index f14ef10a..13c242ec 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-detail/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-detail/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useEffect, useMemo } from 'react'; import { pick } from 'lodash-es'; @@ -99,7 +99,7 @@ export const DatabaseDetail = ({ const [databaseInfo, setDatabaseInfo] = useState({}); // tab key const [activeKey, setActiveKey] = useState( - version ? DatabaseTabs.Structure : (initialTab ?? DatabaseTabs.Structure), + version ? DatabaseTabs.Structure : initialTab ?? DatabaseTabs.Structure, ); // btn loading const [btnLoading, setBtnLoading] = useState(false); diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-modal/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/database-modal/index.tsx index 51b7a5a5..4a2111d5 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-modal/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function */ diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/batch-delete-toolbar.tsx b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/batch-delete-toolbar.tsx index 5780a667..2ad6061e 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/batch-delete-toolbar.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/batch-delete-toolbar.tsx @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { IconCozCross, IconCozTrashCan } from '@coze-arch/coze-design/icons'; -import { Button, Divider, IconButton, Typography } from '@coze-arch/coze-design'; +import { + Button, + Divider, + IconButton, + Typography, +} from '@coze-arch/coze-design'; export interface BatchDeleteToolbarProps { selectedCount?: number; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/index.tsx index 054df0e4..6d58cfee 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useMemo, useRef, useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/sortable-row.tsx b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/sortable-row.tsx index 99f3a990..ce07438b 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/sortable-row.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/sortable-row.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type HTMLAttributes } from 'react'; import { CSS } from '@dnd-kit/utilities'; @@ -22,7 +22,7 @@ import { useSortable } from '@dnd-kit/sortable'; /** * Split from packages/data/database-v2/src/components/database-table-data/index.tsx * The original implementation was basically copied from the Semi document, and the sorted data was not submitted to the server level. The PM did not seem to know about this function, so... - * @see + * @see */ export const SortableRow = ( // https://github.com/DouyinFE/semi-design/blob/v2.69.2/packages/semi-ui/table/Body/BaseRow.tsx#L396 diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/test-data.ts b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/test-data.ts index dbb5adc3..15c6f28d 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/test-data.ts +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/test-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TableMemoryItem } from '@coze-studio/bot-detail-store'; import { FieldItemType } from '@coze-arch/bot-api/memory'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/tool-buttons-bar.tsx b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/tool-buttons-bar.tsx index 4cec126a..0497b27c 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/tool-buttons-bar.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/tool-buttons-bar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/type.ts b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/type.ts index 18e86763..2749993f 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/type.ts +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-table-data/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TableMemoryItem } from '@coze-studio/bot-detail-store'; import { type FieldItemType } from '@coze-arch/bot-api/memory'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/database-table-structure-readonly/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/database-table-structure-readonly/index.tsx index 34689fda..7f5a7edb 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/database-table-structure-readonly/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/database-table-structure-readonly/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { type TableMemoryItem } from '@coze-studio/bot-detail-store'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/date/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/date/index.tsx index 4e46b5eb..34d9f1c9 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/date/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/date/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState, useRef } from 'react'; import { isEmpty, cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/input/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/input/index.tsx index 05510635..53d8ddd0 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/input/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, type FC, useRef } from 'react'; import { cloneDeep, isUndefined } from 'lodash-es'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/switch/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/switch/index.tsx index 36f474f8..83b32f34 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/switch/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/switch/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/textarea/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/textarea/index.tsx index 68443f0c..66d0e358 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/textarea/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/field-edit-kit/textarea/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, type FC, useRef } from 'react'; import { isUndefined, cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/index.tsx b/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/index.tsx index 697b8d1a..020cdd51 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ import React, { useState, diff --git a/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/items.tsx b/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/items.tsx index ee820fb6..e3ffbb9e 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/items.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/items.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cn from 'classnames'; diff --git a/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/sider-category.tsx b/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/sider-category.tsx index 2f584080..cd9d3038 100644 --- a/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/sider-category.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/components/select-database-modal/sider-category.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { IconCozKnowledgeFill } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/data/memory/database-v2-main/src/hooks/use-connector-options.ts b/frontend/packages/data/memory/database-v2-main/src/hooks/use-connector-options.ts index 1d24364f..b97e797b 100644 --- a/frontend/packages/data/memory/database-v2-main/src/hooks/use-connector-options.ts +++ b/frontend/packages/data/memory/database-v2-main/src/hooks/use-connector-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams, useSearchParams } from 'react-router-dom'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/memory/database-v2-main/src/hooks/use-get-table-data.ts b/frontend/packages/data/memory/database-v2-main/src/hooks/use-get-table-data.ts index 6c13fb55..7e4f4938 100644 --- a/frontend/packages/data/memory/database-v2-main/src/hooks/use-get-table-data.ts +++ b/frontend/packages/data/memory/database-v2-main/src/hooks/use-get-table-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { type TableData } from '../components/database-table-data/type'; diff --git a/frontend/packages/data/memory/database-v2-main/src/hooks/use-library-create-database-modal.tsx b/frontend/packages/data/memory/database-v2-main/src/hooks/use-library-create-database-modal.tsx index 20de88be..8c906675 100644 --- a/frontend/packages/data/memory/database-v2-main/src/hooks/use-library-create-database-modal.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/hooks/use-library-create-database-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState, useMemo } from 'react'; import { userStoreService } from '@coze-studio/user-store'; diff --git a/frontend/packages/data/memory/database-v2-main/src/hooks/use-route-leaving-guard.tsx b/frontend/packages/data/memory/database-v2-main/src/hooks/use-route-leaving-guard.tsx index 042ce33f..6ebef3b8 100644 --- a/frontend/packages/data/memory/database-v2-main/src/hooks/use-route-leaving-guard.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/hooks/use-route-leaving-guard.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useBlocker } from 'react-router-dom'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/database-v2-main/src/hooks/use-table-data.ts b/frontend/packages/data/memory/database-v2-main/src/hooks/use-table-data.ts index 04ee46f6..87f9ec3f 100644 --- a/frontend/packages/data/memory/database-v2-main/src/hooks/use-table-data.ts +++ b/frontend/packages/data/memory/database-v2-main/src/hooks/use-table-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { produce } from 'immer'; diff --git a/frontend/packages/data/memory/database-v2-main/src/index.tsx b/frontend/packages/data/memory/database-v2-main/src/index.tsx index a5c5c5e6..e4a0cc70 100644 --- a/frontend/packages/data/memory/database-v2-main/src/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useLibraryCreateDatabaseModal } from './hooks/use-library-create-database-modal'; export { SelectDatabaseModal, diff --git a/frontend/packages/data/memory/database-v2-main/src/pages/database/index.tsx b/frontend/packages/data/memory/database-v2-main/src/pages/database/index.tsx index dfac9645..24773f0f 100644 --- a/frontend/packages/data/memory/database-v2-main/src/pages/database/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/pages/database/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useKnowledgeParams } from '@coze-data/knowledge-stores'; diff --git a/frontend/packages/data/memory/database-v2-main/src/pages/library/index.tsx b/frontend/packages/data/memory/database-v2-main/src/pages/library/index.tsx index 88366358..7031e9fd 100644 --- a/frontend/packages/data/memory/database-v2-main/src/pages/library/index.tsx +++ b/frontend/packages/data/memory/database-v2-main/src/pages/library/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import React, { useMemo, useState } from 'react'; diff --git a/frontend/packages/data/memory/database-v2-main/src/typings.d.ts b/frontend/packages/data/memory/database-v2-main/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/memory/database-v2-main/src/typings.d.ts +++ b/frontend/packages/data/memory/database-v2-main/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/memory/database-v2-main/src/utils/fake-fetch.ts b/frontend/packages/data/memory/database-v2-main/src/utils/fake-fetch.ts index 7e4017d9..9a95fe40 100644 --- a/frontend/packages/data/memory/database-v2-main/src/utils/fake-fetch.ts +++ b/frontend/packages/data/memory/database-v2-main/src/utils/fake-fetch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @typescript-eslint/no-explicit-any export const simulateFetch = (v: any) => new Promise(resolve => { diff --git a/frontend/packages/data/memory/database-v2-main/src/utils/get-default-value.ts b/frontend/packages/data/memory/database-v2-main/src/utils/get-default-value.ts index a5909b71..c836a4e2 100644 --- a/frontend/packages/data/memory/database-v2-main/src/utils/get-default-value.ts +++ b/frontend/packages/data/memory/database-v2-main/src/utils/get-default-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { format } from 'date-fns'; import { FieldItemType } from '@coze-arch/bot-api/memory'; diff --git a/frontend/packages/data/memory/database-v2-main/src/utils/is-table-data-error-or-un-submit.ts b/frontend/packages/data/memory/database-v2-main/src/utils/is-table-data-error-or-un-submit.ts index c4b22916..5d120a29 100644 --- a/frontend/packages/data/memory/database-v2-main/src/utils/is-table-data-error-or-un-submit.ts +++ b/frontend/packages/data/memory/database-v2-main/src/utils/is-table-data-error-or-un-submit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { RowInternalStatus, type TableData, diff --git a/frontend/packages/data/memory/database-v2-main/src/utils/table.ts b/frontend/packages/data/memory/database-v2-main/src/utils/table.ts index 97637876..1abd83b5 100644 --- a/frontend/packages/data/memory/database-v2-main/src/utils/table.ts +++ b/frontend/packages/data/memory/database-v2-main/src/utils/table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ColumnProps } from '@coze-arch/coze-design'; import { type TableRow } from '../components/database-table-data/type'; diff --git a/frontend/packages/data/memory/database-v2-main/vitest.config.ts b/frontend/packages/data/memory/database-v2-main/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/memory/database-v2-main/vitest.config.ts +++ b/frontend/packages/data/memory/database-v2-main/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/memory/database/__tests__/components/database-debug.test.tsx b/frontend/packages/data/memory/database/__tests__/components/database-debug.test.tsx index 4e4f49cf..540fc82b 100644 --- a/frontend/packages/data/memory/database/__tests__/components/database-debug.test.tsx +++ b/frontend/packages/data/memory/database/__tests__/components/database-debug.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { describe, expect, it, vi } from 'vitest'; import { render } from '@testing-library/react'; diff --git a/frontend/packages/data/memory/database/__tests__/components/multi-table.test.tsx b/frontend/packages/data/memory/database/__tests__/components/multi-table.test.tsx index 81178a87..dd72e9dc 100644 --- a/frontend/packages/data/memory/database/__tests__/components/multi-table.test.tsx +++ b/frontend/packages/data/memory/database/__tests__/components/multi-table.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { render, screen, fireEvent } from '@testing-library/react'; import '@testing-library/jest-dom'; diff --git a/frontend/packages/data/memory/database/src/components/database-debug/index.tsx b/frontend/packages/data/memory/database/src/components/database-debug/index.tsx index 4579af53..e9cc2aba 100644 --- a/frontend/packages/data/memory/database/src/components/database-debug/index.tsx +++ b/frontend/packages/data/memory/database/src/components/database-debug/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useBotSkillStore } from '@coze-studio/bot-detail-store/bot-skill'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; diff --git a/frontend/packages/data/memory/database/src/components/database-debug/multi-table.tsx b/frontend/packages/data/memory/database/src/components/database-debug/multi-table.tsx index d9e6d098..e26562b3 100644 --- a/frontend/packages/data/memory/database/src/components/database-debug/multi-table.tsx +++ b/frontend/packages/data/memory/database/src/components/database-debug/multi-table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { TabPane, Tabs, Typography, Divider } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/memory/database/src/components/database-debug/table/get-columns.tsx b/frontend/packages/data/memory/database/src/components/database-debug/table/get-columns.tsx index fdd6611d..82ec8b5d 100644 --- a/frontend/packages/data/memory/database/src/components/database-debug/table/get-columns.tsx +++ b/frontend/packages/data/memory/database/src/components/database-debug/table/get-columns.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type TableMemoryItem } from '@coze-studio/bot-detail-store'; import { colWidthCacheService } from '@coze-common/table-view'; diff --git a/frontend/packages/data/memory/database/src/components/database-debug/table/index.tsx b/frontend/packages/data/memory/database/src/components/database-debug/table/index.tsx index cbd0f035..ea5b0128 100644 --- a/frontend/packages/data/memory/database/src/components/database-debug/table/index.tsx +++ b/frontend/packages/data/memory/database/src/components/database-debug/table/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useEffect, diff --git a/frontend/packages/data/memory/database/src/components/database-debug/table/reset-btn.tsx b/frontend/packages/data/memory/database/src/components/database-debug/table/reset-btn.tsx index a8925344..3baad545 100644 --- a/frontend/packages/data/memory/database/src/components/database-debug/table/reset-btn.tsx +++ b/frontend/packages/data/memory/database/src/components/database-debug/table/reset-btn.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseInfo } from '@coze-studio/bot-detail-store'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/action-buttons/index.tsx b/frontend/packages/data/memory/database/src/components/filebox-list/action-buttons/index.tsx index c95fdd20..85731a98 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/action-buttons/index.tsx +++ b/frontend/packages/data/memory/database/src/components/filebox-list/action-buttons/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useRef, type FC } from 'react'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/const.ts b/frontend/packages/data/memory/database/src/components/filebox-list/const.ts index 342336e0..26401593 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/const.ts +++ b/frontend/packages/data/memory/database/src/components/filebox-list/const.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Coze's channel ID, in some scenarios, needs to be written dead and passed to the backend export const COZE_CONNECTOR_ID = '10000010'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/document-list/index.tsx b/frontend/packages/data/memory/database/src/components/filebox-list/document-list/index.tsx index e7f6ad49..6a3a16bf 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/document-list/index.tsx +++ b/frontend/packages/data/memory/database/src/components/filebox-list/document-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/filebox-filter/index.tsx b/frontend/packages/data/memory/database/src/components/filebox-list/filebox-filter/index.tsx index 27fa2780..0dc7b0cb 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/filebox-filter/index.tsx +++ b/frontend/packages/data/memory/database/src/components/filebox-list/filebox-filter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/helpers/format-size.ts b/frontend/packages/data/memory/database/src/components/filebox-list/helpers/format-size.ts index 81ba6e7e..b16474a3 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/helpers/format-size.ts +++ b/frontend/packages/data/memory/database/src/components/filebox-list/helpers/format-size.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum Size { B = 'B', KB = 'KB', diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/helpers/prefix-uri.ts b/frontend/packages/data/memory/database/src/components/filebox-list/helpers/prefix-uri.ts index 67007297..016b3639 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/helpers/prefix-uri.ts +++ b/frontend/packages/data/memory/database/src/components/filebox-list/helpers/prefix-uri.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const prefixUri = (uri: string, url: string) => { const [filePrefix] = uri.split('/'); const urlArray = url.split('/'); diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-file-list.ts b/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-file-list.ts index 9512425a..49ac6cf0 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-file-list.ts +++ b/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-file-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InfiniteScrollOptions } from 'ahooks/lib/useInfiniteScroll/types'; import { useInfiniteScroll } from 'ahooks'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-retry.ts b/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-retry.ts index f746b836..001a3903 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-retry.ts +++ b/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-retry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataNamespace, dataReporter } from '@coze-data/reporter'; import { type UnitItem } from '@coze-data/knowledge-resource-processor-core'; import { diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-upload-modal.tsx b/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-upload-modal.tsx index 4e23ee97..1987afcd 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-upload-modal.tsx +++ b/frontend/packages/data/memory/database/src/components/filebox-list/hooks/use-upload-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useState } from 'react'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/image-list/index.tsx b/frontend/packages/data/memory/database/src/components/filebox-list/image-list/index.tsx index 87f1cd08..95a87520 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/image-list/index.tsx +++ b/frontend/packages/data/memory/database/src/components/filebox-list/image-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/index.tsx b/frontend/packages/data/memory/database/src/components/filebox-list/index.tsx index fb1697a4..d25f7cfc 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/index.tsx +++ b/frontend/packages/data/memory/database/src/components/filebox-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, type FC } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/store.ts b/frontend/packages/data/memory/database/src/components/filebox-list/store.ts index e55f0fdc..4e8ca873 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/store.ts +++ b/frontend/packages/data/memory/database/src/components/filebox-list/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/memory/database/src/components/filebox-list/types.ts b/frontend/packages/data/memory/database/src/components/filebox-list/types.ts index 795cae49..0d0a7e6c 100644 --- a/frontend/packages/data/memory/database/src/components/filebox-list/types.ts +++ b/frontend/packages/data/memory/database/src/components/filebox-list/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StoreApi, type UseBoundStore } from 'zustand'; export enum FileBoxListType { diff --git a/frontend/packages/data/memory/database/src/components/memory-debug-dropdown/index.tsx b/frontend/packages/data/memory/database/src/components/memory-debug-dropdown/index.tsx index 3b61a5eb..04058278 100644 --- a/frontend/packages/data/memory/database/src/components/memory-debug-dropdown/index.tsx +++ b/frontend/packages/data/memory/database/src/components/memory-debug-dropdown/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { BotE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/memory/database/src/components/memory-debug-modal/index.tsx b/frontend/packages/data/memory/database/src/components/memory-debug-modal/index.tsx index bbb1c727..3f457aa1 100644 --- a/frontend/packages/data/memory/database/src/components/memory-debug-modal/index.tsx +++ b/frontend/packages/data/memory/database/src/components/memory-debug-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type Attributes } from 'react'; import { BotE2e } from '@coze-data/e2e'; diff --git a/frontend/packages/data/memory/database/src/components/variable-debug/index.tsx b/frontend/packages/data/memory/database/src/components/variable-debug/index.tsx index 54611f35..5c229c51 100644 --- a/frontend/packages/data/memory/database/src/components/variable-debug/index.tsx +++ b/frontend/packages/data/memory/database/src/components/variable-debug/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/data/memory/database/src/hooks/use-send-tea-event-for-memory-debug.ts b/frontend/packages/data/memory/database/src/hooks/use-send-tea-event-for-memory-debug.ts index a6202149..39962eae 100644 --- a/frontend/packages/data/memory/database/src/hooks/use-send-tea-event-for-memory-debug.ts +++ b/frontend/packages/data/memory/database/src/hooks/use-send-tea-event-for-memory-debug.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { type DynamicParams } from '@coze-arch/bot-typings/teamspace'; diff --git a/frontend/packages/data/memory/database/src/index.ts b/frontend/packages/data/memory/database/src/index.ts index 57963d04..0ce6a5b8 100644 --- a/frontend/packages/data/memory/database/src/index.ts +++ b/frontend/packages/data/memory/database/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useMemoryDebugModal } from './components/memory-debug-modal'; export { VariableDebug } from './components/variable-debug'; diff --git a/frontend/packages/data/memory/database/src/types.ts b/frontend/packages/data/memory/database/src/types.ts index b2fe9fb8..a30dac58 100644 --- a/frontend/packages/data/memory/database/src/types.ts +++ b/frontend/packages/data/memory/database/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; export enum MemoryModule { diff --git a/frontend/packages/data/memory/database/src/typings.d.ts b/frontend/packages/data/memory/database/src/typings.d.ts index 140a12bd..8f194603 100644 --- a/frontend/packages/data/memory/database/src/typings.d.ts +++ b/frontend/packages/data/memory/database/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/data/memory/database/src/utils/index.ts b/frontend/packages/data/memory/database/src/utils/index.ts index 3c238982..37628cc0 100644 --- a/frontend/packages/data/memory/database/src/utils/index.ts +++ b/frontend/packages/data/memory/database/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjs from 'dayjs'; export const formatDate = (v: number, template = 'YYYY/MM/DD HH:mm:ss') => diff --git a/frontend/packages/data/memory/database/tailwind.config.ts b/frontend/packages/data/memory/database/tailwind.config.ts index a175da22..ce2eaf1f 100644 --- a/frontend/packages/data/memory/database/tailwind.config.ts +++ b/frontend/packages/data/memory/database/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/data/memory/database/vitest.config.ts b/frontend/packages/data/memory/database/vitest.config.ts index 7f2495e2..1c836398 100644 --- a/frontend/packages/data/memory/database/vitest.config.ts +++ b/frontend/packages/data/memory/database/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/memory/llm-plugins/index.ts b/frontend/packages/data/memory/llm-plugins/index.ts index 561cac77..26c7b90c 100644 --- a/frontend/packages/data/memory/llm-plugins/index.ts +++ b/frontend/packages/data/memory/llm-plugins/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { RecallSlices } from './src'; diff --git a/frontend/packages/data/memory/llm-plugins/src/index.ts b/frontend/packages/data/memory/llm-plugins/src/index.ts index 948c6ecf..7e8ae1ca 100644 --- a/frontend/packages/data/memory/llm-plugins/src/index.ts +++ b/frontend/packages/data/memory/llm-plugins/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { RecallSlices, LLMOutput } from './plugins'; diff --git a/frontend/packages/data/memory/llm-plugins/src/plugins/index.ts b/frontend/packages/data/memory/llm-plugins/src/plugins/index.ts index 7a102d36..324de084 100644 --- a/frontend/packages/data/memory/llm-plugins/src/plugins/index.ts +++ b/frontend/packages/data/memory/llm-plugins/src/plugins/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { RecallSlices, LLMOutput } from './recall-slices'; diff --git a/frontend/packages/data/memory/llm-plugins/src/plugins/recall-slices/helpers/filter-unnecessary-content-from-slice.ts b/frontend/packages/data/memory/llm-plugins/src/plugins/recall-slices/helpers/filter-unnecessary-content-from-slice.ts index 209a7ffe..ddbca3f2 100644 --- a/frontend/packages/data/memory/llm-plugins/src/plugins/recall-slices/helpers/filter-unnecessary-content-from-slice.ts +++ b/frontend/packages/data/memory/llm-plugins/src/plugins/recall-slices/helpers/filter-unnecessary-content-from-slice.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const filterUnnecessaryContentFromSlice = (slice: string): string => { let res = slice; // Filter img tags diff --git a/frontend/packages/data/memory/llm-plugins/src/plugins/recall-slices/index.tsx b/frontend/packages/data/memory/llm-plugins/src/plugins/recall-slices/index.tsx index d56157d8..b499d1b2 100644 --- a/frontend/packages/data/memory/llm-plugins/src/plugins/recall-slices/index.tsx +++ b/frontend/packages/data/memory/llm-plugins/src/plugins/recall-slices/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useMemo, useRef, useState } from 'react'; import { DataNamespace, dataReporter } from '@coze-data/reporter'; @@ -64,14 +64,14 @@ const getSourceTypeDescription = (sourceType: number): string | undefined => ), [DocumentSource.Notion]: I18n.t('chat-area-knowledge-notion-data-source'), [DocumentSource.LarkWeb]: I18n.t('Lark_00002'), - })[sourceType]; + }[sourceType]); const getFormatTypeDescription = (formatType: number): string | undefined => ({ [FormatType.Table]: I18n.t('knowledge-dataset-type-table'), [FormatType.Text]: I18n.t('knowledge-dataset-type-text'), [FormatType.Image]: I18n.t('knowledge_photo_025'), - })[formatType]; + }[formatType]); function RecallSlice(props: { llmOutput: LLMOutput; index: number }) { const { llmOutput, index } = props; diff --git a/frontend/packages/data/memory/llm-plugins/src/typings.d.ts b/frontend/packages/data/memory/llm-plugins/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/memory/llm-plugins/src/typings.d.ts +++ b/frontend/packages/data/memory/llm-plugins/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/memory/llm-plugins/stories/demo.stories.tsx b/frontend/packages/data/memory/llm-plugins/stories/demo.stories.tsx index 6c881ef5..96f98c50 100644 --- a/frontend/packages/data/memory/llm-plugins/stories/demo.stories.tsx +++ b/frontend/packages/data/memory/llm-plugins/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoRecallSlices } from './demo'; export default { diff --git a/frontend/packages/data/memory/llm-plugins/stories/demo.tsx b/frontend/packages/data/memory/llm-plugins/stories/demo.tsx index aaa5d5b9..f41dc235 100644 --- a/frontend/packages/data/memory/llm-plugins/stories/demo.tsx +++ b/frontend/packages/data/memory/llm-plugins/stories/demo.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { RecallSlices } from '../src'; diff --git a/frontend/packages/data/memory/llm-plugins/vitest.config.ts b/frontend/packages/data/memory/llm-plugins/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/memory/llm-plugins/vitest.config.ts +++ b/frontend/packages/data/memory/llm-plugins/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/data/memory/variables/src/components/variable-group/group-collapsible-wraper/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-group/group-collapsible-wraper/index.tsx index 469dd531..f6925843 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-group/group-collapsible-wraper/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-group/group-collapsible-wraper/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren, useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-group/group-header/hooks/use-get-hide-keys.ts b/frontend/packages/data/memory/variables/src/components/variable-group/group-header/hooks/use-get-hide-keys.ts index ca6d8695..9bafb6cd 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-group/group-header/hooks/use-get-hide-keys.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-group/group-header/hooks/use-get-hide-keys.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VariableChannel } from '@coze-arch/bot-api/memory'; import { type VariableGroup } from '@/store'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-group/group-header/index.ts b/frontend/packages/data/memory/variables/src/components/variable-group/group-header/index.ts index ee49ef52..9cb9f601 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-group/group-header/index.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-group/group-header/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VariableGroupParamHeader } from './render'; export { useGetHideKeys } from './hooks/use-get-hide-keys'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-group/group-header/render.tsx b/frontend/packages/data/memory/variables/src/components/variable-group/group-header/render.tsx index 88f0825d..bde15ddc 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-group/group-header/render.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-group/group-header/render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { I18n } from '@coze-arch/i18n'; export const VariableGroupParamHeader = ({ diff --git a/frontend/packages/data/memory/variables/src/components/variable-group/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-group/index.tsx index 17385e35..df952965 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-group/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableGroup as VariableGroupType } from '@/store'; import { type TreeNodeCustomData } from '../variable-tree/type'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/add-operation/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/add-operation/index.tsx index add9f949..9070e5a0 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/add-operation/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/add-operation/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconAdd } from '@coze-arch/bot-icons'; @@ -50,7 +50,9 @@ export default function AddOperation({ { diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-default/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-default/index.tsx index 2a89dfe2..5d9084b4 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-default/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-default/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-description/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-description/index.tsx index e4396402..b5b2f3b3 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-description/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-description/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Input } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/hooks/use-cache-field.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/hooks/use-cache-field.ts index 902abeb1..38c276b8 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/hooks/use-cache-field.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/hooks/use-cache-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { useFormApi } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/index.tsx index 47a627c0..4c2e906a 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { FormInput, useFormApi } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/services/check-rules.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/services/check-rules.ts index 8841bcac..48410b11 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/services/check-rules.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-name/services/check-rules.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { VariableChannel } from '@coze-arch/bot-api/memory'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-operator/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-operator/index.tsx index 13424143..f0483d61 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-operator/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-operator/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { VariableE2e } from '@coze-data/e2e'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/constants.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/constants.tsx index c6768d9c..a8791abd 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/constants.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/constants.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/index.tsx index 8541ef25..13dc431d 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { useMemo } from 'react'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/utils.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/utils.tsx index 868e8ce2..d32dfb53 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/utils.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/param-type/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { VARIABLE_TYPE_ALIAS_MAP } from '@/types/view-variable-tree'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/readonly-text/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/readonly-text/index.tsx index b4caae8f..4feeb172 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/readonly-text/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/components/readonly-text/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/constants.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/constants.ts index 19b8e0eb..6b06e4ec 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/constants.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@/store'; export enum ChangeMode { diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/index.tsx index 5cba5850..f4a407cd 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/custom-tree-node/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { useCallback, useRef } from 'react'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/index.tsx index ade18da7..9a2886b2 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/service/convert-schema-service.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/service/convert-schema-service.ts index 6de621c9..af9f2fef 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/service/convert-schema-service.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/service/convert-schema-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface SchemaNode { name: string; type: number; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/utils/format-json.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/utils/format-json.ts index 73284004..8a2c1096 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/utils/format-json.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-editor/utils/format-json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const INDENT = 4; export const formatJson = (json: string) => { try { diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/index.tsx index e41eae8e..4d319368 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, type FC } from 'react'; import { merge, cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/services/life-cycle-service/init-service.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/services/life-cycle-service/init-service.ts index 3f06af4a..61fdc5a5 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/services/life-cycle-service/init-service.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/services/life-cycle-service/init-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@/store/variable-groups/types'; import { type TreeNodeCustomData } from '@/components/variable-tree/type'; import { formatJson } from '@/components/variable-tree/components/json-editor/utils/format-json'; @@ -100,21 +100,18 @@ export const getEditorViewVariableJson = (treeData: TreeNodeCustomData) => { return [result]; } - return nodes.reduce( - (acc, node) => { - if (!node.name) { - return acc; - } - if (node.children && node.children.length > 0) { - const value = processChildren(node.children, node.type); - acc[node.name] = isArrayType(node.type) ? [value] : value; - } else { - acc[node.name] = getDefaultValueByType(node.type); - } + return nodes.reduce((acc, node) => { + if (!node.name) { return acc; - }, - {} satisfies Record, - ); + } + if (node.children && node.children.length > 0) { + const value = processChildren(node.children, node.type); + acc[node.name] = isArrayType(node.type) ? [value] : value; + } else { + acc[node.name] = getDefaultValueByType(node.type); + } + return acc; + }, {} satisfies Record); }; // Generate the final JSON structure diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/services/use-case-service/export-variable-service.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/services/use-case-service/export-variable-service.ts index f11f51b1..eaddf8b2 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/services/use-case-service/export-variable-service.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/services/use-case-service/export-variable-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableChannel } from '@coze-arch/bot-api/memory'; import { type ViewVariableType } from '@/store/variable-groups/types'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/cut-off.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/cut-off.ts index ec2931a0..27f3e92e 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/cut-off.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/cut-off.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Variable, ViewVariableType } from '@/store'; import { diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/merge.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/merge.ts index 022c6af1..6d232ed4 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/merge.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/merge.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import type { TreeNodeCustomData } from '../../../type'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/traverse.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/traverse.ts index 5fbb2935..551a0332 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/traverse.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/components/json-import/utils/traverse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ // eslint-disable-next-line @typescript-eslint/no-explicit-any export type TraverseValue = any; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/constants.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/constants.ts index 7df40682..0708c9d9 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/constants.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ /** Indent width of each level of tree */ diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/index.tsx b/frontend/packages/data/memory/variables/src/components/variable-tree/index.tsx index 6056dd5b..f53fa5c0 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/index.tsx +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useParams } from 'react-router-dom'; import React, { diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/type.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/type.ts index eb894dac..80d1777c 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/type.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { type Variable, type ViewVariableType } from '@/store'; diff --git a/frontend/packages/data/memory/variables/src/components/variable-tree/utils.ts b/frontend/packages/data/memory/variables/src/components/variable-tree/utils.ts index 6807fd26..f8bb41d2 100644 --- a/frontend/packages/data/memory/variables/src/components/variable-tree/utils.ts +++ b/frontend/packages/data/memory/variables/src/components/variable-tree/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { traverse } from '@/utils/traverse'; import { type Variable, type VariableGroup } from '@/store'; diff --git a/frontend/packages/data/memory/variables/src/context/index.ts b/frontend/packages/data/memory/variables/src/context/index.ts index b1c4db67..be4d60ce 100644 --- a/frontend/packages/data/memory/variables/src/context/index.ts +++ b/frontend/packages/data/memory/variables/src/context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type VariableGroup } from '../store'; diff --git a/frontend/packages/data/memory/variables/src/context/variable-tree-context.ts b/frontend/packages/data/memory/variables/src/context/variable-tree-context.ts index bb77e749..94e78a79 100644 --- a/frontend/packages/data/memory/variables/src/context/variable-tree-context.ts +++ b/frontend/packages/data/memory/variables/src/context/variable-tree-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type Variable } from '../store'; diff --git a/frontend/packages/data/memory/variables/src/hooks/life-cycle/use-destory.ts b/frontend/packages/data/memory/variables/src/hooks/life-cycle/use-destory.ts index 34547209..964e03b0 100644 --- a/frontend/packages/data/memory/variables/src/hooks/life-cycle/use-destory.ts +++ b/frontend/packages/data/memory/variables/src/hooks/life-cycle/use-destory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useVariableGroupsStore } from '../../store'; diff --git a/frontend/packages/data/memory/variables/src/hooks/life-cycle/use-init.ts b/frontend/packages/data/memory/variables/src/hooks/life-cycle/use-init.ts index c47f2e92..40f1587d 100644 --- a/frontend/packages/data/memory/variables/src/hooks/life-cycle/use-init.ts +++ b/frontend/packages/data/memory/variables/src/hooks/life-cycle/use-init.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/data/memory/variables/src/hooks/use-case/use-change-warning.ts b/frontend/packages/data/memory/variables/src/hooks/use-case/use-change-warning.ts index 4248a30d..45cc5225 100644 --- a/frontend/packages/data/memory/variables/src/hooks/use-case/use-change-warning.ts +++ b/frontend/packages/data/memory/variables/src/hooks/use-case/use-change-warning.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useHiddenSession } from '@/hooks/use-case/use-hidden-session'; diff --git a/frontend/packages/data/memory/variables/src/hooks/use-case/use-hidden-session.ts b/frontend/packages/data/memory/variables/src/hooks/use-case/use-hidden-session.ts index 1ea87ce9..c96bda15 100644 --- a/frontend/packages/data/memory/variables/src/hooks/use-case/use-hidden-session.ts +++ b/frontend/packages/data/memory/variables/src/hooks/use-case/use-hidden-session.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { localStorageService } from '@coze-foundation/local-storage'; diff --git a/frontend/packages/data/memory/variables/src/hooks/use-case/use-leave-waring.tsx b/frontend/packages/data/memory/variables/src/hooks/use-case/use-leave-waring.tsx index 938723c0..ec7df65d 100644 --- a/frontend/packages/data/memory/variables/src/hooks/use-case/use-leave-waring.tsx +++ b/frontend/packages/data/memory/variables/src/hooks/use-case/use-leave-waring.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import { useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/data/memory/variables/src/index.tsx b/frontend/packages/data/memory/variables/src/index.tsx index 739afb21..0c076665 100644 --- a/frontend/packages/data/memory/variables/src/index.tsx +++ b/frontend/packages/data/memory/variables/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { useKnowledgeParams } from '@coze-data/knowledge-stores'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/data/memory/variables/src/service/use-case-service/submit-service.ts b/frontend/packages/data/memory/variables/src/service/use-case-service/submit-service.ts index 1eee77ee..491e6c95 100644 --- a/frontend/packages/data/memory/variables/src/service/use-case-service/submit-service.ts +++ b/frontend/packages/data/memory/variables/src/service/use-case-service/submit-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { MemoryApi } from '@coze-arch/bot-api'; import { Toast } from '@coze-arch/coze-design'; diff --git a/frontend/packages/data/memory/variables/src/store/index.ts b/frontend/packages/data/memory/variables/src/store/index.ts index a9d4445c..d31ae351 100644 --- a/frontend/packages/data/memory/variables/src/store/index.ts +++ b/frontend/packages/data/memory/variables/src/store/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useVariableGroupsStore, type VariableGroup, diff --git a/frontend/packages/data/memory/variables/src/store/variable-groups/index.ts b/frontend/packages/data/memory/variables/src/store/variable-groups/index.ts index 0a3a796b..db3a5d06 100644 --- a/frontend/packages/data/memory/variables/src/store/variable-groups/index.ts +++ b/frontend/packages/data/memory/variables/src/store/variable-groups/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useVariableGroupsStore, type VariableGroup, diff --git a/frontend/packages/data/memory/variables/src/store/variable-groups/store.ts b/frontend/packages/data/memory/variables/src/store/variable-groups/store.ts index 23c01c10..9e1ff438 100644 --- a/frontend/packages/data/memory/variables/src/store/variable-groups/store.ts +++ b/frontend/packages/data/memory/variables/src/store/variable-groups/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/data/memory/variables/src/store/variable-groups/transform/dto2vo.ts b/frontend/packages/data/memory/variables/src/store/variable-groups/transform/dto2vo.ts index 593be7ba..96e862e9 100644 --- a/frontend/packages/data/memory/variables/src/store/variable-groups/transform/dto2vo.ts +++ b/frontend/packages/data/memory/variables/src/store/variable-groups/transform/dto2vo.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { exhaustiveCheckSimple, diff --git a/frontend/packages/data/memory/variables/src/store/variable-groups/transform/vo2dto.ts b/frontend/packages/data/memory/variables/src/store/variable-groups/transform/vo2dto.ts index adf21166..f2a933ec 100644 --- a/frontend/packages/data/memory/variables/src/store/variable-groups/transform/vo2dto.ts +++ b/frontend/packages/data/memory/variables/src/store/variable-groups/transform/vo2dto.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { exhaustiveCheckSimple, safeAsyncThrow, diff --git a/frontend/packages/data/memory/variables/src/store/variable-groups/types.ts b/frontend/packages/data/memory/variables/src/store/variable-groups/types.ts index 3c49c9d0..e89dbc1d 100644 --- a/frontend/packages/data/memory/variables/src/store/variable-groups/types.ts +++ b/frontend/packages/data/memory/variables/src/store/variable-groups/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum VariableTypeDTO { Object = 'object', List = 'list', diff --git a/frontend/packages/data/memory/variables/src/types/view-variable-tree.ts b/frontend/packages/data/memory/variables/src/types/view-variable-tree.ts index d039be8a..0b0dd989 100644 --- a/frontend/packages/data/memory/variables/src/types/view-variable-tree.ts +++ b/frontend/packages/data/memory/variables/src/types/view-variable-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { ViewVariableType } from '../store'; diff --git a/frontend/packages/data/memory/variables/src/typings.d.ts b/frontend/packages/data/memory/variables/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/data/memory/variables/src/typings.d.ts +++ b/frontend/packages/data/memory/variables/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/data/memory/variables/src/utils/traverse.ts b/frontend/packages/data/memory/variables/src/utils/traverse.ts index 4b186357..894c3ccd 100644 --- a/frontend/packages/data/memory/variables/src/utils/traverse.ts +++ b/frontend/packages/data/memory/variables/src/utils/traverse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line max-params export function traverse< T extends { [key in K]?: T[] }, diff --git a/frontend/packages/data/memory/variables/src/variables-config.tsx b/frontend/packages/data/memory/variables/src/variables-config.tsx index 71140aa0..3ef33d63 100644 --- a/frontend/packages/data/memory/variables/src/variables-config.tsx +++ b/frontend/packages/data/memory/variables/src/variables-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/data/memory/variables/src/variables-value.tsx b/frontend/packages/data/memory/variables/src/variables-value.tsx index bd7be793..60b39656 100644 --- a/frontend/packages/data/memory/variables/src/variables-value.tsx +++ b/frontend/packages/data/memory/variables/src/variables-value.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjs from 'dayjs'; import classNames from 'classnames'; import { useRequest } from 'ahooks'; @@ -27,7 +27,13 @@ import { IconCozRefresh, IconCozCrossCircleFill, } from '@coze-arch/coze-design/icons'; -import { Table, Select, IconButton, Tooltip, Empty } from '@coze-arch/coze-design'; +import { + Table, + Select, + IconButton, + Tooltip, + Empty, +} from '@coze-arch/coze-design'; export interface VariablesValueProps { projectID: string; diff --git a/frontend/packages/data/memory/variables/stories/demo.stories.tsx b/frontend/packages/data/memory/variables/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/data/memory/variables/stories/demo.stories.tsx +++ b/frontend/packages/data/memory/variables/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/data/memory/variables/vitest.config.ts b/frontend/packages/data/memory/variables/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/data/memory/variables/vitest.config.ts +++ b/frontend/packages/data/memory/variables/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/devops/common-modules/src/index.ts b/frontend/packages/devops/common-modules/src/index.ts index 09c0ca6f..0e07d2fa 100644 --- a/frontend/packages/devops/common-modules/src/index.ts +++ b/frontend/packages/devops/common-modules/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TraceFlamethread, TraceTree, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/config.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/config.ts index 911c0ed7..e9a175f4 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/config.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GlobalStyle, type RectStyle, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/index.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/index.tsx index a0164029..f7484488 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/index.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useEffect, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/typing.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/typing.ts index 28cb9409..76d06fbb 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/typing.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/flamethread/typing.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/constant/flow.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/constant/flow.tsx index 10eb2c1b..e48012d5 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/constant/flow.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/constant/flow.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EdgeProps } from 'reactflow'; import { SpanCategory } from '@coze-arch/bot-api/ob_query_api'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/constant/index.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/constant/index.tsx index 0d140a19..e9d890a1 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/constant/index.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/constant/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozDatabaseFill, IconCozLongTermMemory, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-edges/common.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-edges/common.tsx index bf224f84..a6bae0ab 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-edges/common.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-edges/common.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EdgeProps, BaseEdge, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-edges/index.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-edges/index.tsx index 02515ee2..ef996cf8 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-edges/index.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-edges/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CommonEdge } from './common'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-nodes/common.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-nodes/common.tsx index e299e5aa..6d6eb10d 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-nodes/common.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-nodes/common.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Handle, type NodeProps, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-nodes/index.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-nodes/index.tsx index b229f9e2..42eb5879 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-nodes/index.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/custom-nodes/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CommonNode } from './common'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/hook.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/hook.tsx index 1ef21bf2..f1f9133f 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/hook.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/hook.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useReactFlow, useStoreApi } from 'reactflow'; import { type RefObject, useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/util.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/util.tsx index 7149f03c..ce825815 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/util.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/topology-flow/util.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MarkerType } from 'reactflow'; import { getFlags } from '@coze-arch/bot-flags'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/config.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/config.ts index 10cdcc08..48825292 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/config.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpanStatus, SpanCategory } from '@coze-arch/bot-api/ob_query_api'; import { type LabelStyle, type RectStyle } from '../flamethread'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/index.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/index.tsx index 079298ed..568b7c45 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/index.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC, useMemo, useState, useCallback } from 'react'; import { type IElement } from '@visactor/vgrammar'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/typing.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/typing.ts index edc6010e..3933bcc4 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/typing.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/typing.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlamethreadProps } from '../flamethread'; import { type DataSource } from '../../typings/graph'; import { diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/util.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/util.ts index 66fea6a6..c5740d89 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/util.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-flamethread/util.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { sortBy } from 'lodash-es'; import { SpanCategory } from '@coze-arch/bot-api/ob_query_api'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/config.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/config.tsx index 6a037bc9..1e41c4f0 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/config.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/index.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/index.tsx index 3a5e47ee..78dc2429 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/index.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect, useMemo, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/typing.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/typing.ts index 4993c529..c852f0da 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/typing.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/typing.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TreeProps } from '../tree'; import { type DataSource } from '../../typings/graph'; import { type SpanTypeConfigMap } from '../../typings/config'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/util.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/util.tsx index b498e73e..283c92ac 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/util.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/trace-tree/util.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/config.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/config.ts index eabe9123..3f2b4f64 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/config.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GlobalStyle, type LineStyle } from './typing'; export const defaultGlobalStyle: GlobalStyle = { diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/index.tsx b/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/index.tsx index 6c162549..4838cceb 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/index.tsx +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers -- there will be many numbers calculated in this component, no need to deal with them*/ import { type FC, useCallback, useMemo, useState } from 'react'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/typing.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/typing.ts index 7ae89894..5d050a6f 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/typing.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/typing.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type SVGAttributes } from 'react'; export type LineAttrs = Pick< diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/util.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/util.ts index 9efae74b..3e7b8b1a 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/util.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/components/tree/util.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { omit } from 'lodash-es'; import { type TreeNodeFlatten, type TreeNode, type Line } from './typing'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/config/cspan.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/config/cspan.ts index 5023a299..86c95790 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/config/cspan.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/config/cspan.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpanCategory, SpanStatus, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/constant.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/constant.ts index bc3a29cc..ea5362b8 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/constant.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/constant.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const virtualStartSpanId = '-10001'; export const rootBreakSpanId = '-10002'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/hooks/use-span-transform.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/hooks/use-span-transform.ts index 51b69af5..19286836 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/hooks/use-span-transform.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/hooks/use-span-transform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/index.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/index.ts index 5e5ac0ad..fac2fa17 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/index.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as TraceFlamethread } from './components/trace-flamethread'; export { default as TraceTree } from './components/trace-tree'; export { default as TopologyFlow } from './components/topology-flow'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/typings/config.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/typings/config.ts index 39ee19c6..034fa892 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/typings/config.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/typings/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface SpanTypeConfig { label?: string; } diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/typings/cspan.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/typings/cspan.ts index e35ef296..3d93e8d2 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/typings/cspan.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/typings/cspan.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Span, type AttrUserInput, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/typings/graph.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/typings/graph.ts index 3ce4210c..63bf7b65 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/typings/graph.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/typings/graph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSpan } from './cspan'; export enum DataSourceTypeEnum { diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan-graph.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan-graph.ts index 93efca96..3d6293c1 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan-graph.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan-graph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { omit } from 'lodash-es'; import { SpanCategory, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan-transform.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan-transform.ts index 6858cb11..e4bae522 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan-transform.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan-transform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { pick, uniqBy } from 'lodash-es'; import { type Span, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan.ts index a022d3dc..e7ec5c01 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/cspan.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpanCategory, SpanStatus, diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/field-item-handler.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/field-item-handler.ts index 36996dd3..af259960 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/field-item-handler.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/field-item-handler.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/format-time.ts b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/format-time.ts index dfcb17f7..3bb9145c 100644 --- a/frontend/packages/devops/common-modules/src/modules/query-trace/utils/format-time.ts +++ b/frontend/packages/devops/common-modules/src/modules/query-trace/utils/format-time.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjs from 'dayjs'; export const formatTime = (timestamp?: number | string) => diff --git a/frontend/packages/devops/common-modules/src/typings.d.ts b/frontend/packages/devops/common-modules/src/typings.d.ts index 7cc757a8..a5e22767 100644 --- a/frontend/packages/devops/common-modules/src/typings.d.ts +++ b/frontend/packages/devops/common-modules/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/devops/common-modules/vitest.config.ts b/frontend/packages/devops/common-modules/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/devops/common-modules/vitest.config.ts +++ b/frontend/packages/devops/common-modules/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/chart/index.tsx b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/chart/index.tsx index 86acce5a..439a7313 100644 --- a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/chart/index.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/chart/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useCallback, diff --git a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/common/index.tsx b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/common/index.tsx index a5327d88..e55b84cc 100644 --- a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/common/index.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/common/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { type TextProps } from '@coze-arch/bot-semi/Typography'; diff --git a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/detail/index.tsx b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/detail/index.tsx index cccd81c5..5b0ebb70 100644 --- a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/detail/index.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/detail/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import ReactJson from 'react-json-view'; import { useMemo } from 'react'; diff --git a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/header/index.tsx b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/header/index.tsx index e579109d..b1aefdd5 100644 --- a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/header/index.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { UIButton } from '@coze-arch/bot-semi'; import { IconClose } from '@douyinfe/semi-icons'; diff --git a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/index.tsx b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/index.tsx index dc039a1f..71c18c20 100644 --- a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/index.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; diff --git a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/query-filter/index.tsx b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/query-filter/index.tsx index 554bf157..30dfa669 100644 --- a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/query-filter/index.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/query-filter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type PropsWithChildren, useRef } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/side-panel/index.tsx b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/side-panel/index.tsx index 738bd186..e4751555 100644 --- a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/side-panel/index.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/side-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ /* eslint-disable max-params */ /* eslint-disable @coze-arch/max-line-per-function */ diff --git a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/summary/index.tsx b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/summary/index.tsx index 5838b219..e2050c7e 100644 --- a/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/summary/index.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/components/debug-panel/summary/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import copy from 'copy-to-clipboard'; import classNames from 'classnames'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/devops/debug/debug-panel/src/consts/env.ts b/frontend/packages/devops/debug/debug-panel/src/consts/env.ts index 87158762..80f4c0ac 100644 --- a/frontend/packages/devops/debug/debug-panel/src/consts/env.ts +++ b/frontend/packages/devops/debug/debug-panel/src/consts/env.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const IS_DEV_MODE = (process.env.NODE_ENV as 'production' | 'development' | 'test') === 'development'; diff --git a/frontend/packages/devops/debug/debug-panel/src/consts/index.ts b/frontend/packages/devops/debug/debug-panel/src/consts/index.ts index 8624c19b..b303078f 100644 --- a/frontend/packages/devops/debug/debug-panel/src/consts/index.ts +++ b/frontend/packages/devops/debug/debug-panel/src/consts/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Support for filtering query time ranges */ diff --git a/frontend/packages/devops/debug/debug-panel/src/consts/span.tsx b/frontend/packages/devops/debug/debug-panel/src/consts/span.tsx index 7105e2ef..92068ad4 100644 --- a/frontend/packages/devops/debug/debug-panel/src/consts/span.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/consts/span.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { spanCategoryConfigMap, spanTypeConfigMap, diff --git a/frontend/packages/devops/debug/debug-panel/src/consts/static.tsx b/frontend/packages/devops/debug/debug-panel/src/consts/static.tsx index 3bcba069..e17af609 100644 --- a/frontend/packages/devops/debug/debug-panel/src/consts/static.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/consts/static.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactJsonViewProps } from 'react-json-view'; import { TopoType } from '@coze-arch/bot-api/dp_manage_api'; diff --git a/frontend/packages/devops/debug/debug-panel/src/global.d.ts b/frontend/packages/devops/debug/debug-panel/src/global.d.ts index ba1eee07..b5e3a7a0 100644 --- a/frontend/packages/devops/debug/debug-panel/src/global.d.ts +++ b/frontend/packages/devops/debug/debug-panel/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.less' { diff --git a/frontend/packages/devops/debug/debug-panel/src/hooks/use-batch-span-cols.tsx b/frontend/packages/devops/debug/debug-panel/src/hooks/use-batch-span-cols.tsx index a8806e39..220bfac6 100644 --- a/frontend/packages/devops/debug/debug-panel/src/hooks/use-batch-span-cols.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/hooks/use-batch-span-cols.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/devops/debug/debug-panel/src/hooks/use-debug-panel-layout-config.tsx b/frontend/packages/devops/debug/debug-panel/src/hooks/use-debug-panel-layout-config.tsx index bff3af4a..3f26a9b7 100644 --- a/frontend/packages/devops/debug/debug-panel/src/hooks/use-debug-panel-layout-config.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/hooks/use-debug-panel-layout-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { produce } from 'immer'; diff --git a/frontend/packages/devops/debug/debug-panel/src/hooks/use-span-cols.tsx b/frontend/packages/devops/debug/debug-panel/src/hooks/use-span-cols.tsx index 66f7ecb4..09cea9b7 100644 --- a/frontend/packages/devops/debug/debug-panel/src/hooks/use-span-cols.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/hooks/use-span-cols.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ import { useMemo } from 'react'; diff --git a/frontend/packages/devops/debug/debug-panel/src/hooks/use-trace-cols.tsx b/frontend/packages/devops/debug/debug-panel/src/hooks/use-trace-cols.tsx index c6a03243..4b0126c5 100644 --- a/frontend/packages/devops/debug/debug-panel/src/hooks/use-trace-cols.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/hooks/use-trace-cols.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type CSpan } from '@coze-devops/common-modules/query-trace'; diff --git a/frontend/packages/devops/debug/debug-panel/src/index.ts b/frontend/packages/devops/debug/debug-panel/src/index.ts index 1b189072..54271be2 100644 --- a/frontend/packages/devops/debug/debug-panel/src/index.ts +++ b/frontend/packages/devops/debug/debug-panel/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import './main.css'; import { DebugPanel } from './components/debug-panel'; diff --git a/frontend/packages/devops/debug/debug-panel/src/store/index.ts b/frontend/packages/devops/debug/debug-panel/src/store/index.ts index 79482a40..60dd7ebc 100644 --- a/frontend/packages/devops/debug/debug-panel/src/store/index.ts +++ b/frontend/packages/devops/debug/debug-panel/src/store/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { type CSpan } from '@coze-devops/common-modules/query-trace'; diff --git a/frontend/packages/devops/debug/debug-panel/src/typings/index.ts b/frontend/packages/devops/debug/debug-panel/src/typings/index.ts index 5d6396e3..875d7303 100644 --- a/frontend/packages/devops/debug/debug-panel/src/typings/index.ts +++ b/frontend/packages/devops/debug/debug-panel/src/typings/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldItem, type CSpan, diff --git a/frontend/packages/devops/debug/debug-panel/src/utils/field-item.tsx b/frontend/packages/devops/debug/debug-panel/src/utils/field-item.tsx index 6e56ff28..640330ca 100644 --- a/frontend/packages/devops/debug/debug-panel/src/utils/field-item.tsx +++ b/frontend/packages/devops/debug/debug-panel/src/utils/field-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/devops/debug/debug-panel/src/utils/index.ts b/frontend/packages/devops/debug/debug-panel/src/utils/index.ts index af900dae..2fe26f31 100644 --- a/frontend/packages/devops/debug/debug-panel/src/utils/index.ts +++ b/frontend/packages/devops/debug/debug-panel/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import JSONBig from 'json-bigint'; import utc from 'dayjs/plugin/utc'; import dayjs from 'dayjs'; diff --git a/frontend/packages/devops/debug/debug-panel/src/utils/span.ts b/frontend/packages/devops/debug/debug-panel/src/utils/span.ts index 5e783127..b7ed4399 100644 --- a/frontend/packages/devops/debug/debug-panel/src/utils/span.ts +++ b/frontend/packages/devops/debug/debug-panel/src/utils/span.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { span2CSpan } from '@coze-devops/common-modules/query-trace'; import { checkIsBatchBasicCSpan, diff --git a/frontend/packages/devops/debug/debug-panel/src/utils/url.ts b/frontend/packages/devops/debug/debug-panel/src/utils/url.ts index 0d702eef..ca6936e2 100644 --- a/frontend/packages/devops/debug/debug-panel/src/utils/url.ts +++ b/frontend/packages/devops/debug/debug-panel/src/utils/url.ts @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -// + +// export function windowOpen({ url, target }: { url: string; target?: string }) { const element = document.createElement('a'); element.target = target || '_blank'; diff --git a/frontend/packages/devops/debug/debug-panel/tailwind.config.ts b/frontend/packages/devops/debug/debug-panel/tailwind.config.ts index 7a2b1535..ea24eabe 100644 --- a/frontend/packages/devops/debug/debug-panel/tailwind.config.ts +++ b/frontend/packages/devops/debug/debug-panel/tailwind.config.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export default {}; diff --git a/frontend/packages/devops/debug/debug-panel/vitest.config.ts b/frontend/packages/devops/debug/debug-panel/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/devops/debug/debug-panel/vitest.config.ts +++ b/frontend/packages/devops/debug/debug-panel/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/devops/json-link-preview/src/common/load-error/index.tsx b/frontend/packages/devops/json-link-preview/src/common/load-error/index.tsx index 5b539c3f..2d86c902 100644 --- a/frontend/packages/devops/json-link-preview/src/common/load-error/index.tsx +++ b/frontend/packages/devops/json-link-preview/src/common/load-error/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozCross } from '@coze-arch/coze-design/icons'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/devops/json-link-preview/src/common/not-support/index.tsx b/frontend/packages/devops/json-link-preview/src/common/not-support/index.tsx index c294d951..27cc43a7 100644 --- a/frontend/packages/devops/json-link-preview/src/common/not-support/index.tsx +++ b/frontend/packages/devops/json-link-preview/src/common/not-support/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/devops/json-link-preview/src/common/overlay.tsx b/frontend/packages/devops/json-link-preview/src/common/overlay.tsx index cbc775e9..0266b2ce 100644 --- a/frontend/packages/devops/json-link-preview/src/common/overlay.tsx +++ b/frontend/packages/devops/json-link-preview/src/common/overlay.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactDOM from 'react-dom'; import React from 'react'; diff --git a/frontend/packages/devops/json-link-preview/src/hooks/use-resource-size.ts b/frontend/packages/devops/json-link-preview/src/hooks/use-resource-size.ts index f32dd954..066a2eb1 100644 --- a/frontend/packages/devops/json-link-preview/src/hooks/use-resource-size.ts +++ b/frontend/packages/devops/json-link-preview/src/hooks/use-resource-size.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; function useResourceSize(url: string) { diff --git a/frontend/packages/devops/json-link-preview/src/index.tsx b/frontend/packages/devops/json-link-preview/src/index.tsx index dc6de0a6..139f44ef 100644 --- a/frontend/packages/devops/json-link-preview/src/index.tsx +++ b/frontend/packages/devops/json-link-preview/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Component, type ReactNode } from 'react'; import { isEmpty, last } from 'lodash-es'; diff --git a/frontend/packages/devops/json-link-preview/src/plugins/base.ts b/frontend/packages/devops/json-link-preview/src/plugins/base.ts index 7c488955..025f2db3 100644 --- a/frontend/packages/devops/json-link-preview/src/plugins/base.ts +++ b/frontend/packages/devops/json-link-preview/src/plugins/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const DEFAULT_PRIORITY = 0; export abstract class JsonPreviewBasePlugin { diff --git a/frontend/packages/devops/json-link-preview/src/plugins/image/hooks.tsx b/frontend/packages/devops/json-link-preview/src/plugins/image/hooks.tsx index 06c0394c..589fc0d9 100644 --- a/frontend/packages/devops/json-link-preview/src/plugins/image/hooks.tsx +++ b/frontend/packages/devops/json-link-preview/src/plugins/image/hooks.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; const useImage = (src: string) => { diff --git a/frontend/packages/devops/json-link-preview/src/plugins/image/index.tsx b/frontend/packages/devops/json-link-preview/src/plugins/image/index.tsx index 4048e268..4ecaa71e 100644 --- a/frontend/packages/devops/json-link-preview/src/plugins/image/index.tsx +++ b/frontend/packages/devops/json-link-preview/src/plugins/image/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { JsonPreviewBasePlugin } from '../base'; import OverlayAPI from '../../common/overlay'; import { ImagePreviewContent } from './preview'; diff --git a/frontend/packages/devops/json-link-preview/src/plugins/image/preview.tsx b/frontend/packages/devops/json-link-preview/src/plugins/image/preview.tsx index f9e21603..322c82f7 100644 --- a/frontend/packages/devops/json-link-preview/src/plugins/image/preview.tsx +++ b/frontend/packages/devops/json-link-preview/src/plugins/image/preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Spin, ImagePreview } from '@coze-arch/coze-design'; import { LoadError } from '../../common/load-error'; diff --git a/frontend/packages/devops/json-link-preview/src/plugins/index.ts b/frontend/packages/devops/json-link-preview/src/plugins/index.ts index 846ec93d..84f375b1 100644 --- a/frontend/packages/devops/json-link-preview/src/plugins/index.ts +++ b/frontend/packages/devops/json-link-preview/src/plugins/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PdfPreview } from './pdf'; export { ImagePreview } from './image'; export { JsonPreviewBasePlugin } from './base'; diff --git a/frontend/packages/devops/json-link-preview/src/plugins/pdf/index.tsx b/frontend/packages/devops/json-link-preview/src/plugins/pdf/index.tsx index 9d89edbf..3a93daae 100644 --- a/frontend/packages/devops/json-link-preview/src/plugins/pdf/index.tsx +++ b/frontend/packages/devops/json-link-preview/src/plugins/pdf/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // At present, the size information of the file cannot be obtained. If the file is too large, the browser card PDF does not need to be registered for the time being, and then it will be released. import { JsonPreviewBasePlugin } from '../base'; import OverlayAPI from '../../common/overlay'; diff --git a/frontend/packages/devops/json-link-preview/src/plugins/pdf/preview.tsx b/frontend/packages/devops/json-link-preview/src/plugins/pdf/preview.tsx index 8813e1b9..4b26497c 100644 --- a/frontend/packages/devops/json-link-preview/src/plugins/pdf/preview.tsx +++ b/frontend/packages/devops/json-link-preview/src/plugins/pdf/preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useCallback, useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/devops/json-link-preview/src/typings.d.ts b/frontend/packages/devops/json-link-preview/src/typings.d.ts index 5a3f9770..046749f7 100644 --- a/frontend/packages/devops/json-link-preview/src/typings.d.ts +++ b/frontend/packages/devops/json-link-preview/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.less' { diff --git a/frontend/packages/devops/json-link-preview/src/utils/download.ts b/frontend/packages/devops/json-link-preview/src/utils/download.ts index 933b764e..bf45f26e 100644 --- a/frontend/packages/devops/json-link-preview/src/utils/download.ts +++ b/frontend/packages/devops/json-link-preview/src/utils/download.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const fetchResource = async (url: string) => { const response = await fetch(url); const blob = await response.blob(); diff --git a/frontend/packages/devops/json-link-preview/src/utils/parse.ts b/frontend/packages/devops/json-link-preview/src/utils/parse.ts index 0d8a3fca..a213de77 100644 --- a/frontend/packages/devops/json-link-preview/src/utils/parse.ts +++ b/frontend/packages/devops/json-link-preview/src/utils/parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface JsonValue { content_type: string; content: { diff --git a/frontend/packages/devops/json-link-preview/src/utils/url.ts b/frontend/packages/devops/json-link-preview/src/utils/url.ts index 0220bb58..617b1f21 100644 --- a/frontend/packages/devops/json-link-preview/src/utils/url.ts +++ b/frontend/packages/devops/json-link-preview/src/utils/url.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const httpUrlRegex = /^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)$/; diff --git a/frontend/packages/devops/json-link-preview/tailwind.config.ts b/frontend/packages/devops/json-link-preview/tailwind.config.ts index a175da22..ce2eaf1f 100644 --- a/frontend/packages/devops/json-link-preview/tailwind.config.ts +++ b/frontend/packages/devops/json-link-preview/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/devops/json-link-preview/vitest.config.ts b/frontend/packages/devops/json-link-preview/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/devops/json-link-preview/vitest.config.ts +++ b/frontend/packages/devops/json-link-preview/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/devops/mockset-manage/__tests__/hooks.test.ts b/frontend/packages/devops/mockset-manage/__tests__/hooks.test.ts index ce7d1cd8..b3d5b7e7 100644 --- a/frontend/packages/devops/mockset-manage/__tests__/hooks.test.ts +++ b/frontend/packages/devops/mockset-manage/__tests__/hooks.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { type BizCtx, diff --git a/frontend/packages/devops/mockset-manage/__tests__/utils.test.ts b/frontend/packages/devops/mockset-manage/__tests__/utils.test.ts index 3e9e681f..0d643c99 100644 --- a/frontend/packages/devops/mockset-manage/__tests__/utils.test.ts +++ b/frontend/packages/devops/mockset-manage/__tests__/utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BizCtx, ComponentType, diff --git a/frontend/packages/devops/mockset-manage/package.json b/frontend/packages/devops/mockset-manage/package.json index 4511073d..f4bedafc 100644 --- a/frontend/packages/devops/mockset-manage/package.json +++ b/frontend/packages/devops/mockset-manage/package.json @@ -71,3 +71,4 @@ }, "// deps": "debug@^4.3.4 为脚本自动补齐,请勿改动" } + diff --git a/frontend/packages/devops/mockset-manage/src/components/auto-generate-select/index.tsx b/frontend/packages/devops/mockset-manage/src/components/auto-generate-select/index.tsx index 60d1ad28..da0dc9d1 100644 --- a/frontend/packages/devops/mockset-manage/src/components/auto-generate-select/index.tsx +++ b/frontend/packages/devops/mockset-manage/src/components/auto-generate-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/devops/mockset-manage/src/components/index.tsx b/frontend/packages/devops/mockset-manage/src/components/index.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/devops/mockset-manage/src/components/index.tsx +++ b/frontend/packages/devops/mockset-manage/src/components/index.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/devops/mockset-manage/src/components/mock-select/option-item.tsx b/frontend/packages/devops/mockset-manage/src/components/mock-select/option-item.tsx index cb269558..3732b326 100644 --- a/frontend/packages/devops/mockset-manage/src/components/mock-select/option-item.tsx +++ b/frontend/packages/devops/mockset-manage/src/components/mock-select/option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/devops/mockset-manage/src/components/mockset-delete-modal/index.tsx b/frontend/packages/devops/mockset-manage/src/components/mockset-delete-modal/index.tsx index 35c25474..1602ea36 100644 --- a/frontend/packages/devops/mockset-manage/src/components/mockset-delete-modal/index.tsx +++ b/frontend/packages/devops/mockset-manage/src/components/mockset-delete-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/devops/mockset-manage/src/const.ts b/frontend/packages/devops/mockset-manage/src/const.ts index 0a1124a4..251009f9 100644 --- a/frontend/packages/devops/mockset-manage/src/const.ts +++ b/frontend/packages/devops/mockset-manage/src/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type RuleItem } from '@coze-arch/bot-semi/Form'; diff --git a/frontend/packages/devops/mockset-manage/src/hooks/store.ts b/frontend/packages/devops/mockset-manage/src/hooks/store.ts index ff2ce9ca..4eb12a2e 100644 --- a/frontend/packages/devops/mockset-manage/src/hooks/store.ts +++ b/frontend/packages/devops/mockset-manage/src/hooks/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { create } from 'zustand'; import { produce } from 'immer'; import { diff --git a/frontend/packages/devops/mockset-manage/src/index.tsx b/frontend/packages/devops/mockset-manage/src/index.tsx index ec267419..82c09ce5 100644 --- a/frontend/packages/devops/mockset-manage/src/index.tsx +++ b/frontend/packages/devops/mockset-manage/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MockTrafficEnabled, CONNECTOR_ID } from './const'; export { diff --git a/frontend/packages/devops/mockset-manage/src/interface.ts b/frontend/packages/devops/mockset-manage/src/interface.ts index 7ceec755..83cabf93 100644 --- a/frontend/packages/devops/mockset-manage/src/interface.ts +++ b/frontend/packages/devops/mockset-manage/src/interface.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { diff --git a/frontend/packages/devops/mockset-manage/src/typings.d.ts b/frontend/packages/devops/mockset-manage/src/typings.d.ts index 6705bec2..56689931 100644 --- a/frontend/packages/devops/mockset-manage/src/typings.d.ts +++ b/frontend/packages/devops/mockset-manage/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.svg' { diff --git a/frontend/packages/devops/mockset-manage/src/utils/auto-generate-storage.ts b/frontend/packages/devops/mockset-manage/src/utils/auto-generate-storage.ts index 4e30ca96..2ad7ce51 100644 --- a/frontend/packages/devops/mockset-manage/src/utils/auto-generate-storage.ts +++ b/frontend/packages/devops/mockset-manage/src/utils/auto-generate-storage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginMockDataGenerateMode } from '@coze-arch/bot-tea'; const LOCAL_STORAGE_KEY = 'mockset_auto_generate_latest_choice'; diff --git a/frontend/packages/devops/mockset-manage/src/utils/index.ts b/frontend/packages/devops/mockset-manage/src/utils/index.ts index 3312476b..67725f50 100644 --- a/frontend/packages/devops/mockset-manage/src/utils/index.ts +++ b/frontend/packages/devops/mockset-manage/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash-es'; import { safeJSONParse } from '@coze-arch/bot-utils'; import { diff --git a/frontend/packages/devops/mockset-manage/vitest.config.ts b/frontend/packages/devops/mockset-manage/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/devops/mockset-manage/vitest.config.ts +++ b/frontend/packages/devops/mockset-manage/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/devops/testset-manage/package.json b/frontend/packages/devops/testset-manage/package.json index bf9a846d..782a5581 100644 --- a/frontend/packages/devops/testset-manage/package.json +++ b/frontend/packages/devops/testset-manage/package.json @@ -55,3 +55,4 @@ }, "// deps": "immer@^10.0.3 为脚本自动补齐,请勿改动" } + diff --git a/frontend/packages/devops/testset-manage/src/components/auto-load-more.tsx b/frontend/packages/devops/testset-manage/src/components/auto-load-more.tsx index e4905574..f54d9986 100644 --- a/frontend/packages/devops/testset-manage/src/components/auto-load-more.tsx +++ b/frontend/packages/devops/testset-manage/src/components/auto-load-more.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/devops/testset-manage/src/components/sidesheet-title.tsx b/frontend/packages/devops/testset-manage/src/components/sidesheet-title.tsx index 211d8469..35d25bb5 100644 --- a/frontend/packages/devops/testset-manage/src/components/sidesheet-title.tsx +++ b/frontend/packages/devops/testset-manage/src/components/sidesheet-title.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ReactNode } from 'react'; import { IconCloseNoCycle } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/auto-fill.tsx b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/auto-fill.tsx index c3968d8f..35aee33f 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/auto-fill.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/auto-fill.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, type CSSProperties } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/form-label.tsx b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/form-label.tsx index 60a9a9ac..2bd2527a 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/form-label.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/form-label.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/index.tsx b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/index.tsx index 9c0e7dca..7945c8c7 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/index.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/node-form-section.tsx b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/node-form-section.tsx index 95d00ae5..c0d4aa49 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/node-form-section.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/node-form-section.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, Fragment } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/testset-name-input.tsx b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/testset-name-input.tsx index fc15b7c5..ab4dfa56 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/testset-name-input.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/testset-name-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ChangeEvent, type FocusEvent } from 'react'; import { type InputProps } from '@coze-arch/bot-semi/Input'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/utils.ts b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/utils.ts index f4470f3d..ef333778 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/utils.ts +++ b/frontend/packages/devops/testset-manage/src/components/testset-edit-sidesheet/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention -- copy */ import Ajv from 'ajv'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-select/index.tsx b/frontend/packages/devops/testset-manage/src/components/testset-select/index.tsx index 426af2cf..b42f556e 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-select/index.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, useState, useRef, useEffect } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-select/testset-option-item.tsx b/frontend/packages/devops/testset-manage/src/components/testset-select/testset-option-item.tsx index 4a965969..71ae9d65 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-select/testset-option-item.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-select/testset-option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEvent, type CSSProperties } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/devops/testset-manage/src/components/testset-sidesheet/index.tsx b/frontend/packages/devops/testset-manage/src/components/testset-sidesheet/index.tsx index 1677102b..ab7f9011 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-sidesheet/index.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-sidesheet/index.tsx @@ -13,19 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { useInfiniteScroll } from 'ahooks'; import { logger } from '@coze-arch/logger'; import { I18n } from '@coze-arch/i18n'; -import { - Empty, - UIButton, - Spin, - SideSheet, - UIToast, -} from '@coze-arch/bot-semi'; +import { Empty, UIButton, Spin, SideSheet, UIToast } from '@coze-arch/bot-semi'; import { debuggerApi } from '@coze-arch/bot-api'; import { IllustrationNoContent, diff --git a/frontend/packages/devops/testset-manage/src/components/testset-sidesheet/testset-list-item.tsx b/frontend/packages/devops/testset-manage/src/components/testset-sidesheet/testset-list-item.tsx index fbfc45f8..bd39d40b 100644 --- a/frontend/packages/devops/testset-manage/src/components/testset-sidesheet/testset-list-item.tsx +++ b/frontend/packages/devops/testset-manage/src/components/testset-sidesheet/testset-list-item.tsx @@ -13,18 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEvent, useState } from 'react'; import dayjs from 'dayjs'; import cls from 'classnames'; import { I18n } from '@coze-arch/i18n'; -import { - Popconfirm, - Tooltip, - Typography, - UIButton, -} from '@coze-arch/bot-semi'; +import { Popconfirm, Tooltip, Typography, UIButton } from '@coze-arch/bot-semi'; import { IconDeleteOutline, IconEdit, diff --git a/frontend/packages/devops/testset-manage/src/context.tsx b/frontend/packages/devops/testset-manage/src/context.tsx index f510dc6e..de43e883 100644 --- a/frontend/packages/devops/testset-manage/src/context.tsx +++ b/frontend/packages/devops/testset-manage/src/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, type PropsWithChildren, createContext } from 'react'; import { createTestsetManageStore, type TestsetManageState } from './store'; diff --git a/frontend/packages/devops/testset-manage/src/events.ts b/frontend/packages/devops/testset-manage/src/events.ts index b3f01d69..78c7429f 100644 --- a/frontend/packages/devops/testset-manage/src/events.ts +++ b/frontend/packages/devops/testset-manage/src/events.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TestsetManageEventName { /** Created test set successfully */ CREATE_TESTSET_SUCCESS = 'create_testset_success', diff --git a/frontend/packages/devops/testset-manage/src/hooks/index.ts b/frontend/packages/devops/testset-manage/src/hooks/index.ts index 3956fc67..1abecbbf 100644 --- a/frontend/packages/devops/testset-manage/src/hooks/index.ts +++ b/frontend/packages/devops/testset-manage/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useTestsetOptions } from './use-testset-options'; export { useTestsetManageStore } from './use-testset-manage-store'; export { useCheckSchema, SchemaError } from './use-check-schema'; diff --git a/frontend/packages/devops/testset-manage/src/hooks/use-check-schema.ts b/frontend/packages/devops/testset-manage/src/hooks/use-check-schema.ts index ef2fd345..7de4f67e 100644 --- a/frontend/packages/devops/testset-manage/src/hooks/use-check-schema.ts +++ b/frontend/packages/devops/testset-manage/src/hooks/use-check-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // import { useEffect } from 'react'; import { useState } from 'react'; diff --git a/frontend/packages/devops/testset-manage/src/hooks/use-testset-manage-store.ts b/frontend/packages/devops/testset-manage/src/hooks/use-testset-manage-store.ts index 871e7bf6..e8ba8a58 100644 --- a/frontend/packages/devops/testset-manage/src/hooks/use-testset-manage-store.ts +++ b/frontend/packages/devops/testset-manage/src/hooks/use-testset-manage-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { useStore } from 'zustand'; diff --git a/frontend/packages/devops/testset-manage/src/hooks/use-testset-options.ts b/frontend/packages/devops/testset-manage/src/hooks/use-testset-options.ts index 915d387d..183e7d56 100644 --- a/frontend/packages/devops/testset-manage/src/hooks/use-testset-options.ts +++ b/frontend/packages/devops/testset-manage/src/hooks/use-testset-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/devops/testset-manage/src/index.ts b/frontend/packages/devops/testset-manage/src/index.ts index 6e1c7327..63f6b55d 100644 --- a/frontend/packages/devops/testset-manage/src/index.ts +++ b/frontend/packages/devops/testset-manage/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestsetSideSheet, type TestsetSideSheetProps, diff --git a/frontend/packages/devops/testset-manage/src/store.ts b/frontend/packages/devops/testset-manage/src/store.ts index 07853a38..fd476d2d 100644 --- a/frontend/packages/devops/testset-manage/src/store.ts +++ b/frontend/packages/devops/testset-manage/src/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { create } from 'zustand'; import { type BizCtx, diff --git a/frontend/packages/devops/testset-manage/src/types.ts b/frontend/packages/devops/testset-manage/src/types.ts index c6793278..0a2417ef 100644 --- a/frontend/packages/devops/testset-manage/src/types.ts +++ b/frontend/packages/devops/testset-manage/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type CommonFieldProps } from '@coze-arch/bot-semi/Form'; diff --git a/frontend/packages/devops/testset-manage/src/typing.d.ts b/frontend/packages/devops/testset-manage/src/typing.d.ts index 19135582..5fccf07a 100644 --- a/frontend/packages/devops/testset-manage/src/typing.d.ts +++ b/frontend/packages/devops/testset-manage/src/typing.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.less' { diff --git a/frontend/packages/foundation/account-adapter/__tests__/setup-vitest.ts b/frontend/packages/foundation/account-adapter/__tests__/setup-vitest.ts index bee231e7..f3dd10be 100644 --- a/frontend/packages/foundation/account-adapter/__tests__/setup-vitest.ts +++ b/frontend/packages/foundation/account-adapter/__tests__/setup-vitest.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); diff --git a/frontend/packages/foundation/account-adapter/package.json b/frontend/packages/foundation/account-adapter/package.json index fddee2c2..bf3249a2 100644 --- a/frontend/packages/foundation/account-adapter/package.json +++ b/frontend/packages/foundation/account-adapter/package.json @@ -41,3 +41,4 @@ "react-dom": ">=18.2.0" } } + diff --git a/frontend/packages/foundation/account-adapter/src/hooks/__tests__/index.test.ts b/frontend/packages/foundation/account-adapter/src/hooks/__tests__/index.test.ts index cd47bf0a..a4705e69 100644 --- a/frontend/packages/foundation/account-adapter/src/hooks/__tests__/index.test.ts +++ b/frontend/packages/foundation/account-adapter/src/hooks/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation, useNavigate } from 'react-router-dom'; import { renderHook } from '@testing-library/react'; @@ -72,7 +72,9 @@ describe('useCheckLogin', () => { renderHook(() => useCheckLogin({ needLogin: true })); expect(mockNavigate).toBeCalledWith( - `${signPath}?${signRedirectKey}=${encodeURIComponent(`${mockLocation.pathname}${mockLocation.search}`)}`, + `${signPath}?${signRedirectKey}=${encodeURIComponent( + `${mockLocation.pathname}${mockLocation.search}`, + )}`, ); }); diff --git a/frontend/packages/foundation/account-adapter/src/hooks/index.ts b/frontend/packages/foundation/account-adapter/src/hooks/index.ts index 8ef2c09b..de742a2f 100644 --- a/frontend/packages/foundation/account-adapter/src/hooks/index.ts +++ b/frontend/packages/foundation/account-adapter/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation, useNavigate } from 'react-router-dom'; import { useCheckLoginBase } from '@coze-foundation/account-base'; diff --git a/frontend/packages/foundation/account-adapter/src/index.ts b/frontend/packages/foundation/account-adapter/src/index.ts index f36b024b..4f2864ea 100644 --- a/frontend/packages/foundation/account-adapter/src/index.ts +++ b/frontend/packages/foundation/account-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getUserInfo, getLoginStatus, diff --git a/frontend/packages/foundation/account-adapter/src/passport-api/__tests__/index.test.ts b/frontend/packages/foundation/account-adapter/src/passport-api/__tests__/index.test.ts index cb0b1a62..241e2cc2 100644 --- a/frontend/packages/foundation/account-adapter/src/passport-api/__tests__/index.test.ts +++ b/frontend/packages/foundation/account-adapter/src/passport-api/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect, beforeEach } from 'vitest'; import { passport } from '@coze-studio/api-schema'; import { passportApi } from '../index'; diff --git a/frontend/packages/foundation/account-adapter/src/passport-api/index.ts b/frontend/packages/foundation/account-adapter/src/passport-api/index.ts index c4b05450..75f92785 100644 --- a/frontend/packages/foundation/account-adapter/src/passport-api/index.ts +++ b/frontend/packages/foundation/account-adapter/src/passport-api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UserUpdateProfileRequest } from '@coze-studio/api-schema/passport'; import { passport } from '@coze-studio/api-schema'; import { resetUserStore, type UserInfo } from '@coze-foundation/account-base'; diff --git a/frontend/packages/foundation/account-adapter/src/typings.d.ts b/frontend/packages/foundation/account-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/account-adapter/src/typings.d.ts +++ b/frontend/packages/foundation/account-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/account-adapter/src/utils/__tests__/index.test.ts b/frontend/packages/foundation/account-adapter/src/utils/__tests__/index.test.ts index 37576027..1e8c2101 100644 --- a/frontend/packages/foundation/account-adapter/src/utils/__tests__/index.test.ts +++ b/frontend/packages/foundation/account-adapter/src/utils/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect, beforeEach } from 'vitest'; import { refreshUserInfo, diff --git a/frontend/packages/foundation/account-adapter/src/utils/constants.ts b/frontend/packages/foundation/account-adapter/src/utils/constants.ts index 59c512a6..71b2571c 100644 --- a/frontend/packages/foundation/account-adapter/src/utils/constants.ts +++ b/frontend/packages/foundation/account-adapter/src/utils/constants.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const signPath = '/sign'; export const signRedirectKey = 'redirect'; diff --git a/frontend/packages/foundation/account-adapter/src/utils/index.ts b/frontend/packages/foundation/account-adapter/src/utils/index.ts index d3e55d7b..12e98d1d 100644 --- a/frontend/packages/foundation/account-adapter/src/utils/index.ts +++ b/frontend/packages/foundation/account-adapter/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/use-error-in-catch */ import { refreshUserInfoBase, diff --git a/frontend/packages/foundation/account-adapter/vitest.config.ts b/frontend/packages/foundation/account-adapter/vitest.config.ts index 6f4125a3..3e3d99cd 100644 --- a/frontend/packages/foundation/account-adapter/vitest.config.ts +++ b/frontend/packages/foundation/account-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/account-base/__tests__/setup-vitest.ts b/frontend/packages/foundation/account-base/__tests__/setup-vitest.ts index bee231e7..f3dd10be 100644 --- a/frontend/packages/foundation/account-base/__tests__/setup-vitest.ts +++ b/frontend/packages/foundation/account-base/__tests__/setup-vitest.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); diff --git a/frontend/packages/foundation/account-base/package.json b/frontend/packages/foundation/account-base/package.json index fa455682..160a06b5 100644 --- a/frontend/packages/foundation/account-base/package.json +++ b/frontend/packages/foundation/account-base/package.json @@ -45,3 +45,4 @@ "react": ">=18.2.0" } } + diff --git a/frontend/packages/foundation/account-base/src/hooks/__tests__/factory.test.ts b/frontend/packages/foundation/account-base/src/hooks/__tests__/factory.test.ts index 6fac8142..4451e4ac 100644 --- a/frontend/packages/foundation/account-base/src/hooks/__tests__/factory.test.ts +++ b/frontend/packages/foundation/account-base/src/hooks/__tests__/factory.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect, beforeEach, type Mock } from 'vitest'; import { renderHook, act } from '@testing-library/react'; import { diff --git a/frontend/packages/foundation/account-base/src/hooks/__tests__/index.test.ts b/frontend/packages/foundation/account-base/src/hooks/__tests__/index.test.ts index 4ddb7c2e..c319e656 100644 --- a/frontend/packages/foundation/account-base/src/hooks/__tests__/index.test.ts +++ b/frontend/packages/foundation/account-base/src/hooks/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { useDocumentVisibility } from 'ahooks'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/foundation/account-base/src/hooks/__tests__/use-sync-local-storage-uid.test.ts b/frontend/packages/foundation/account-base/src/hooks/__tests__/use-sync-local-storage-uid.test.ts index 2b383775..ecf3a1cb 100644 --- a/frontend/packages/foundation/account-base/src/hooks/__tests__/use-sync-local-storage-uid.test.ts +++ b/frontend/packages/foundation/account-base/src/hooks/__tests__/use-sync-local-storage-uid.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { beforeEach, describe, expect, it, type Mock, vi } from 'vitest'; import { renderHook } from '@testing-library/react'; import { localStorageService } from '@coze-foundation/local-storage'; diff --git a/frontend/packages/foundation/account-base/src/hooks/factory.ts b/frontend/packages/foundation/account-base/src/hooks/factory.ts index 9c295983..6a14a75f 100644 --- a/frontend/packages/foundation/account-base/src/hooks/factory.ts +++ b/frontend/packages/foundation/account-base/src/hooks/factory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/foundation/account-base/src/hooks/index.ts b/frontend/packages/foundation/account-base/src/hooks/index.ts index f6679ba2..bfacb1ce 100644 --- a/frontend/packages/foundation/account-base/src/hooks/index.ts +++ b/frontend/packages/foundation/account-base/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useDocumentVisibility, useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/foundation/account-base/src/hooks/use-sync-local-storage-uid.ts b/frontend/packages/foundation/account-base/src/hooks/use-sync-local-storage-uid.ts index cd95e3e5..8177b051 100644 --- a/frontend/packages/foundation/account-base/src/hooks/use-sync-local-storage-uid.ts +++ b/frontend/packages/foundation/account-base/src/hooks/use-sync-local-storage-uid.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { localStorageService } from '@coze-foundation/local-storage'; diff --git a/frontend/packages/foundation/account-base/src/index.ts b/frontend/packages/foundation/account-base/src/index.ts index 82bba2c2..24a0e61b 100644 --- a/frontend/packages/foundation/account-base/src/index.ts +++ b/frontend/packages/foundation/account-base/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // types export type { UserInfo, LoginStatus } from './types'; export type { diff --git a/frontend/packages/foundation/account-base/src/store/__tests__/user.test.ts b/frontend/packages/foundation/account-base/src/store/__tests__/user.test.ts index b15f8439..f4c83559 100644 --- a/frontend/packages/foundation/account-base/src/store/__tests__/user.test.ts +++ b/frontend/packages/foundation/account-base/src/store/__tests__/user.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect, beforeEach, type Mock } from 'vitest'; import { DeveloperApi, PlaygroundApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/foundation/account-base/src/store/user.ts b/frontend/packages/foundation/account-base/src/store/user.ts index 2dd17dcb..7d7ab651 100644 --- a/frontend/packages/foundation/account-base/src/store/user.ts +++ b/frontend/packages/foundation/account-base/src/store/user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { diff --git a/frontend/packages/foundation/account-base/src/types/index.ts b/frontend/packages/foundation/account-base/src/types/index.ts index 24353a0d..20d50451 100644 --- a/frontend/packages/foundation/account-base/src/types/index.ts +++ b/frontend/packages/foundation/account-base/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * User information of the currently logged in account */ diff --git a/frontend/packages/foundation/account-base/src/types/passport.ts b/frontend/packages/foundation/account-base/src/types/passport.ts index 21228b12..92c8c2b8 100644 --- a/frontend/packages/foundation/account-base/src/types/passport.ts +++ b/frontend/packages/foundation/account-base/src/types/passport.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type OAuth2StateType = 'login' | 'delete_account' | 'oauth'; export interface OAuth2RedirectConfig { diff --git a/frontend/packages/foundation/account-base/src/typings.d.ts b/frontend/packages/foundation/account-base/src/typings.d.ts index 3c68aca6..024a5d58 100644 --- a/frontend/packages/foundation/account-base/src/typings.d.ts +++ b/frontend/packages/foundation/account-base/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_DEV_MODE: boolean; diff --git a/frontend/packages/foundation/account-base/src/utils/__tests__/factory.test.ts b/frontend/packages/foundation/account-base/src/utils/__tests__/factory.test.ts index 9de304ea..64c101cd 100644 --- a/frontend/packages/foundation/account-base/src/utils/__tests__/factory.test.ts +++ b/frontend/packages/foundation/account-base/src/utils/__tests__/factory.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { setUserInfoContext } from '@coze-arch/logger'; diff --git a/frontend/packages/foundation/account-base/src/utils/__tests__/index.test.ts b/frontend/packages/foundation/account-base/src/utils/__tests__/index.test.ts index 1c3eb283..a9319d41 100644 --- a/frontend/packages/foundation/account-base/src/utils/__tests__/index.test.ts +++ b/frontend/packages/foundation/account-base/src/utils/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/foundation/account-base/src/utils/factory.ts b/frontend/packages/foundation/account-base/src/utils/factory.ts index a8e3e20b..a289a362 100644 --- a/frontend/packages/foundation/account-base/src/utils/factory.ts +++ b/frontend/packages/foundation/account-base/src/utils/factory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { setUserInfoContext } from '@coze-arch/logger'; import { type UserInfo } from '../types'; diff --git a/frontend/packages/foundation/account-base/src/utils/index.ts b/frontend/packages/foundation/account-base/src/utils/index.ts index 62b357c0..d5cc9564 100644 --- a/frontend/packages/foundation/account-base/src/utils/index.ts +++ b/frontend/packages/foundation/account-base/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UserAuthInfo } from '@coze-arch/idl/developer_api'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/foundation/account-base/vitest.config.ts b/frontend/packages/foundation/account-base/vitest.config.ts index 6f4125a3..3e3d99cd 100644 --- a/frontend/packages/foundation/account-base/vitest.config.ts +++ b/frontend/packages/foundation/account-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/account-ui-adapter/src/index.ts b/frontend/packages/foundation/account-ui-adapter/src/index.ts index 6bc55b35..e1d2ee1d 100644 --- a/frontend/packages/foundation/account-ui-adapter/src/index.ts +++ b/frontend/packages/foundation/account-ui-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useLogout, RequireAuthContainer, diff --git a/frontend/packages/foundation/account-ui-adapter/src/pages/login-page/favicon.tsx b/frontend/packages/foundation/account-ui-adapter/src/pages/login-page/favicon.tsx index a7ee01da..f4af6b4e 100644 --- a/frontend/packages/foundation/account-ui-adapter/src/pages/login-page/favicon.tsx +++ b/frontend/packages/foundation/account-ui-adapter/src/pages/login-page/favicon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import FaviconBase from './favicon-base.png'; import FaviconAddon from './favicon-addon.png'; diff --git a/frontend/packages/foundation/account-ui-adapter/src/pages/login-page/service.ts b/frontend/packages/foundation/account-ui-adapter/src/pages/login-page/service.ts index 4199d5a5..f3bb0b46 100644 --- a/frontend/packages/foundation/account-ui-adapter/src/pages/login-page/service.ts +++ b/frontend/packages/foundation/account-ui-adapter/src/pages/login-page/service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/packages/foundation/account-ui-adapter/src/typings.d.ts b/frontend/packages/foundation/account-ui-adapter/src/typings.d.ts index ab448fc8..7ecfd5cd 100644 --- a/frontend/packages/foundation/account-ui-adapter/src/typings.d.ts +++ b/frontend/packages/foundation/account-ui-adapter/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_OVERSEA: boolean; diff --git a/frontend/packages/foundation/account-ui-adapter/vitest.config.ts b/frontend/packages/foundation/account-ui-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/account-ui-adapter/vitest.config.ts +++ b/frontend/packages/foundation/account-ui-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/account-ui-base/src/components/loading-container.tsx b/frontend/packages/foundation/account-ui-base/src/components/loading-container.tsx index b7bef068..d3536590 100644 --- a/frontend/packages/foundation/account-ui-base/src/components/loading-container.tsx +++ b/frontend/packages/foundation/account-ui-base/src/components/loading-container.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Spin } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/foundation/account-ui-base/src/components/require-auth-container/index.tsx b/frontend/packages/foundation/account-ui-base/src/components/require-auth-container/index.tsx index c13f9c30..2a52c71e 100644 --- a/frontend/packages/foundation/account-ui-base/src/components/require-auth-container/index.tsx +++ b/frontend/packages/foundation/account-ui-base/src/components/require-auth-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/index.tsx b/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/index.tsx index 4dd54213..477b57b5 100644 --- a/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/index.tsx +++ b/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type ReactNode, @@ -135,10 +135,10 @@ const updateProfileCheckEvent = createReportEvent({ const getUserName = (userInfo?: DataItem.UserInfo | null): string => userInfo?.bui_audit_info?.audit_status === 1 - ? (userInfo?.bui_audit_info?.audit_info.user_unique_name ?? + ? userInfo?.bui_audit_info?.audit_info.user_unique_name ?? userInfo?.app_user_info.user_unique_name ?? - '') - : (userInfo?.app_user_info.user_unique_name ?? ''); + '' + : userInfo?.app_user_info.user_unique_name ?? ''; // eslint-disable-next-line @coze-arch/max-line-per-function export const UserInfoPanel = () => { diff --git a/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/password-field.tsx b/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/password-field.tsx index 28c0a408..5e08b191 100644 --- a/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/password-field.tsx +++ b/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/password-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { IconCozEyeClose, IconCozEye } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/user-info-field.tsx b/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/user-info-field.tsx index 30b6d763..890f2208 100644 --- a/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/user-info-field.tsx +++ b/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/user-info-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type ComponentType, diff --git a/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/username-input/index.tsx b/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/username-input/index.tsx index 1ef387f7..269f4ad5 100644 --- a/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/username-input/index.tsx +++ b/frontend/packages/foundation/account-ui-base/src/components/user-info-panel/username-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { Form, Input, type InputProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/foundation/account-ui-base/src/hooks/logout.tsx b/frontend/packages/foundation/account-ui-base/src/hooks/logout.tsx index 06461af0..ca16f8a7 100644 --- a/frontend/packages/foundation/account-ui-base/src/hooks/logout.tsx +++ b/frontend/packages/foundation/account-ui-base/src/hooks/logout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useState } from 'react'; diff --git a/frontend/packages/foundation/account-ui-base/src/hooks/use-account-settings/index.tsx b/frontend/packages/foundation/account-ui-base/src/hooks/use-account-settings/index.tsx index 3cdeccb5..eaca2714 100644 --- a/frontend/packages/foundation/account-ui-base/src/hooks/use-account-settings/index.tsx +++ b/frontend/packages/foundation/account-ui-base/src/hooks/use-account-settings/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactElement, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/foundation/account-ui-base/src/hooks/use-account-settings/use-modal.tsx b/frontend/packages/foundation/account-ui-base/src/hooks/use-account-settings/use-modal.tsx index ba22273e..d1054ecd 100644 --- a/frontend/packages/foundation/account-ui-base/src/hooks/use-account-settings/use-modal.tsx +++ b/frontend/packages/foundation/account-ui-base/src/hooks/use-account-settings/use-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { Modal, type ModalProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/foundation/account-ui-base/src/index.ts b/frontend/packages/foundation/account-ui-base/src/index.ts index caaea12e..70212bf2 100644 --- a/frontend/packages/foundation/account-ui-base/src/index.ts +++ b/frontend/packages/foundation/account-ui-base/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useLogout } from './hooks/logout'; export { RequireAuthContainer } from './components/require-auth-container'; export { LoadingContainer } from './components/loading-container'; diff --git a/frontend/packages/foundation/account-ui-base/src/typings.d.ts b/frontend/packages/foundation/account-ui-base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/account-ui-base/src/typings.d.ts +++ b/frontend/packages/foundation/account-ui-base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/account-ui-base/vitest.config.ts b/frontend/packages/foundation/account-ui-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/account-ui-base/vitest.config.ts +++ b/frontend/packages/foundation/account-ui-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/browser-upgrade-banner/src/components/browser-upgrade-wrap/index.tsx b/frontend/packages/foundation/browser-upgrade-banner/src/components/browser-upgrade-wrap/index.tsx index c29d5706..b9b0ee9a 100644 --- a/frontend/packages/foundation/browser-upgrade-banner/src/components/browser-upgrade-wrap/index.tsx +++ b/frontend/packages/foundation/browser-upgrade-banner/src/components/browser-upgrade-wrap/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, diff --git a/frontend/packages/foundation/browser-upgrade-banner/src/constants/index.ts b/frontend/packages/foundation/browser-upgrade-banner/src/constants/index.ts index bfc97f33..56fb2457 100644 --- a/frontend/packages/foundation/browser-upgrade-banner/src/constants/index.ts +++ b/frontend/packages/foundation/browser-upgrade-banner/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const enum EventNames { BrowserUpgradeTipsVisible = 'browserUpgradeTipsVisible', BrowserUpgradeClick = 'browserUpgradeClick', diff --git a/frontend/packages/foundation/browser-upgrade-banner/src/index.tsx b/frontend/packages/foundation/browser-upgrade-banner/src/index.tsx index 9504d936..7cdaab66 100644 --- a/frontend/packages/foundation/browser-upgrade-banner/src/index.tsx +++ b/frontend/packages/foundation/browser-upgrade-banner/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BrowserUpgradeWrap } from './components/browser-upgrade-wrap'; diff --git a/frontend/packages/foundation/browser-upgrade-banner/src/typings.d.ts b/frontend/packages/foundation/browser-upgrade-banner/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/browser-upgrade-banner/src/typings.d.ts +++ b/frontend/packages/foundation/browser-upgrade-banner/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/browser-upgrade-banner/src/utils/compare-version.ts b/frontend/packages/foundation/browser-upgrade-banner/src/utils/compare-version.ts index 13dcb80f..46af8872 100644 --- a/frontend/packages/foundation/browser-upgrade-banner/src/utils/compare-version.ts +++ b/frontend/packages/foundation/browser-upgrade-banner/src/utils/compare-version.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function compareVersion(version1: string, version2: string): number { // Split the version number string into an array of numbers, here use map (Number) to ensure conversion to numeric type const parts1 = version1.split('.').map(Number); diff --git a/frontend/packages/foundation/browser-upgrade-banner/src/utils/index.ts b/frontend/packages/foundation/browser-upgrade-banner/src/utils/index.ts index 2a1ca064..fbd8fa6b 100644 --- a/frontend/packages/foundation/browser-upgrade-banner/src/utils/index.ts +++ b/frontend/packages/foundation/browser-upgrade-banner/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { detect, type Browser } from 'detect-browser'; import { compareVersion } from './compare-version'; @@ -98,8 +98,7 @@ const testPCVersion = () => { return { downloadUrl: IS_OVERSEA - ? (INTERNATIONAL_BROWSER_DOWNLOAD_CONFIG[name] ?? - INTERNATIONAL_CHROME_URL) - : (CN_BROWSER_DOWNLOAD_CONFIG[name] ?? CN_CHROME_URL), + ? INTERNATIONAL_BROWSER_DOWNLOAD_CONFIG[name] ?? INTERNATIONAL_CHROME_URL + : CN_BROWSER_DOWNLOAD_CONFIG[name] ?? CN_CHROME_URL, }; }; diff --git a/frontend/packages/foundation/browser-upgrade-banner/src/utils/is-mobile.ts b/frontend/packages/foundation/browser-upgrade-banner/src/utils/is-mobile.ts index 6befff3f..ecbae8fb 100644 --- a/frontend/packages/foundation/browser-upgrade-banner/src/utils/is-mobile.ts +++ b/frontend/packages/foundation/browser-upgrade-banner/src/utils/is-mobile.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const isMobileFromUA = () => { const { userAgent } = navigator; // Check if it is a mobile device diff --git a/frontend/packages/foundation/browser-upgrade-banner/vitest.config.ts b/frontend/packages/foundation/browser-upgrade-banner/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/browser-upgrade-banner/vitest.config.ts +++ b/frontend/packages/foundation/browser-upgrade-banner/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-check-enterprise-exist.test.ts b/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-check-enterprise-exist.test.ts index a5ef5a79..22ec43de 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-check-enterprise-exist.test.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-check-enterprise-exist.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-current-enterprise-info.test.ts b/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-current-enterprise-info.test.ts index 13b125dd..113a1a95 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-current-enterprise-info.test.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-current-enterprise-info.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { Level } from '@coze-arch/bot-api/pat_permission_api'; diff --git a/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-enterprise-list.test.ts b/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-enterprise-list.test.ts index 28af961b..21eb37ac 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-enterprise-list.test.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/__tests__/hooks/use-enterprise-list.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/foundation/enterprise-store-adapter/__tests__/utils/personal.test.ts b/frontend/packages/foundation/enterprise-store-adapter/__tests__/utils/personal.test.ts index 425422c3..0d2c1654 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/__tests__/utils/personal.test.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/__tests__/utils/personal.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { isPersonalEnterprise } from '../../src/utils/personal'; diff --git a/frontend/packages/foundation/enterprise-store-adapter/__tests__/utils/switch-enterprise.test.ts b/frontend/packages/foundation/enterprise-store-adapter/__tests__/utils/switch-enterprise.test.ts index 02ac730f..338f5527 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/__tests__/utils/switch-enterprise.test.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/__tests__/utils/switch-enterprise.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { switchEnterprise } from '../../src/utils/switch-enterprise'; diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/constants.ts b/frontend/packages/foundation/enterprise-store-adapter/src/constants.ts index 0f705bb7..5641cdf8 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/constants.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/constants.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const PERSONAL_ENTERPRISE_ID = 'personal'; diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-check-enterprise-exist.ts b/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-check-enterprise-exist.ts index dfbef78b..6bafc2f4 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-check-enterprise-exist.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-check-enterprise-exist.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The @file open-source version does not provide enterprise management functions for the time being. The methods exported in this file are for future expansion. */ diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-current-enterprise-info.ts b/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-current-enterprise-info.ts index 0c1e3660..4f088e9e 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-current-enterprise-info.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-current-enterprise-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The @file open-source version does not provide enterprise management functions for the time being. The methods exported in this file are for future expansion. */ diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-enterprise-list.ts b/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-enterprise-list.ts index 81f14418..2e4830af 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-enterprise-list.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/hooks/use-enterprise-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The @file open-source version does not provide enterprise management functions for the time being. The methods exported in this file are for future expansion. */ diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/index.ts b/frontend/packages/foundation/enterprise-store-adapter/src/index.ts index e015736b..6e003b7b 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/index.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The @file open-source version does not provide enterprise management functions for the time being. The methods exported in this file are for future expansion. */ diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/stores/enterprise.ts b/frontend/packages/foundation/enterprise-store-adapter/src/stores/enterprise.ts index b28db0fc..7a840308 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/stores/enterprise.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/stores/enterprise.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The @file open-source version does not provide enterprise management functions for the time being. The methods exported in this file are for future expansion. */ diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/typings.d.ts b/frontend/packages/foundation/enterprise-store-adapter/src/typings.d.ts index 3c68aca6..024a5d58 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/typings.d.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_DEV_MODE: boolean; diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/utils/personal.ts b/frontend/packages/foundation/enterprise-store-adapter/src/utils/personal.ts index dada105a..b3cbfac7 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/utils/personal.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/utils/personal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The @file open-source version does not provide enterprise management functions for the time being. The methods exported in this file are for future expansion. */ diff --git a/frontend/packages/foundation/enterprise-store-adapter/src/utils/switch-enterprise.ts b/frontend/packages/foundation/enterprise-store-adapter/src/utils/switch-enterprise.ts index b0086b7d..b1f75fd0 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/src/utils/switch-enterprise.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/src/utils/switch-enterprise.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The @file open-source version does not provide enterprise management functions for the time being. The methods exported in this file are for future expansion. */ diff --git a/frontend/packages/foundation/enterprise-store-adapter/vitest.config.ts b/frontend/packages/foundation/enterprise-store-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/enterprise-store-adapter/vitest.config.ts +++ b/frontend/packages/foundation/enterprise-store-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/foundation-sdk/__tests__/index.test.ts b/frontend/packages/foundation/foundation-sdk/__tests__/index.test.ts index 783c96c6..40d8f72c 100644 --- a/frontend/packages/foundation/foundation-sdk/__tests__/index.test.ts +++ b/frontend/packages/foundation/foundation-sdk/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + describe('Hello World', () => { it('test', () => { expect(1).toBe(1); diff --git a/frontend/packages/foundation/foundation-sdk/src/index.ts b/frontend/packages/foundation/foundation-sdk/src/index.ts index b1e6643c..ab5d40ef 100644 --- a/frontend/packages/foundation/foundation-sdk/src/index.ts +++ b/frontend/packages/foundation/foundation-sdk/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type useCurrentTheme as useCurrentThemeOfSDK } from '@coze-arch/foundation-sdk'; import { useTheme } from '@coze-arch/coze-design'; diff --git a/frontend/packages/foundation/foundation-sdk/src/passport.ts b/frontend/packages/foundation/foundation-sdk/src/passport.ts index 67d655a9..aa7a4ade 100644 --- a/frontend/packages/foundation/foundation-sdk/src/passport.ts +++ b/frontend/packages/foundation/foundation-sdk/src/passport.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type logoutOnly as logoutOnlyOfSdk, type uploadAvatar as uploadAvatarOfSdk, diff --git a/frontend/packages/foundation/foundation-sdk/src/space.ts b/frontend/packages/foundation/foundation-sdk/src/space.ts index f3c5e1c1..1764d52f 100644 --- a/frontend/packages/foundation/foundation-sdk/src/space.ts +++ b/frontend/packages/foundation/foundation-sdk/src/space.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BotSpace } from '@coze-arch/bot-api/developer_api'; import { useSpace as useInternalSpace } from '@coze-foundation/space-store'; diff --git a/frontend/packages/foundation/foundation-sdk/src/user.ts b/frontend/packages/foundation/foundation-sdk/src/user.ts index a96636b4..5ce985c4 100644 --- a/frontend/packages/foundation/foundation-sdk/src/user.ts +++ b/frontend/packages/foundation/foundation-sdk/src/user.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type refreshUserInfo as refreshUserInfoOfSdk, type getIsSettled as getIsSettledOfSdk, diff --git a/frontend/packages/foundation/foundation-sdk/vitest.config.ts b/frontend/packages/foundation/foundation-sdk/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/foundation/foundation-sdk/vitest.config.ts +++ b/frontend/packages/foundation/foundation-sdk/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/global-adapter/src/components/account-dropdown/account-settings/index.tsx b/frontend/packages/foundation/global-adapter/src/components/account-dropdown/account-settings/index.tsx index 7bcace59..07833e53 100644 --- a/frontend/packages/foundation/global-adapter/src/components/account-dropdown/account-settings/index.tsx +++ b/frontend/packages/foundation/global-adapter/src/components/account-dropdown/account-settings/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PatBody } from '@coze-studio/open-auth'; import { useAccountSettings as useBaseAccountSettings, diff --git a/frontend/packages/foundation/global-adapter/src/components/account-dropdown/index.tsx b/frontend/packages/foundation/global-adapter/src/components/account-dropdown/index.tsx index 8b55804e..9797abd8 100644 --- a/frontend/packages/foundation/global-adapter/src/components/account-dropdown/index.tsx +++ b/frontend/packages/foundation/global-adapter/src/components/account-dropdown/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { GlobalLayoutAccountDropdown } from '@coze-foundation/layout'; diff --git a/frontend/packages/foundation/global-adapter/src/components/account-dropdown/user-info-menu.tsx b/frontend/packages/foundation/global-adapter/src/components/account-dropdown/user-info-menu.tsx index 3087989e..caa4107f 100644 --- a/frontend/packages/foundation/global-adapter/src/components/account-dropdown/user-info-menu.tsx +++ b/frontend/packages/foundation/global-adapter/src/components/account-dropdown/user-info-menu.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useUserInfo, useUserLabel } from '@coze-arch/foundation-sdk'; import { CozAvatar, diff --git a/frontend/packages/foundation/global-adapter/src/components/global-layout-composed/hooks/use-has-sider.ts b/frontend/packages/foundation/global-adapter/src/components/global-layout-composed/hooks/use-has-sider.ts index 75856dd9..311fe80b 100644 --- a/frontend/packages/foundation/global-adapter/src/components/global-layout-composed/hooks/use-has-sider.ts +++ b/frontend/packages/foundation/global-adapter/src/components/global-layout-composed/hooks/use-has-sider.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import { useIsLogined } from '@coze-arch/foundation-sdk'; diff --git a/frontend/packages/foundation/global-adapter/src/components/global-layout-composed/index.tsx b/frontend/packages/foundation/global-adapter/src/components/global-layout-composed/index.tsx index 0d171974..89dc441f 100644 --- a/frontend/packages/foundation/global-adapter/src/components/global-layout-composed/index.tsx +++ b/frontend/packages/foundation/global-adapter/src/components/global-layout-composed/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { type FC, type PropsWithChildren } from 'react'; diff --git a/frontend/packages/foundation/global-adapter/src/components/global-layout/index.tsx b/frontend/packages/foundation/global-adapter/src/components/global-layout/index.tsx index 474b883c..9c3241a1 100644 --- a/frontend/packages/foundation/global-adapter/src/components/global-layout/index.tsx +++ b/frontend/packages/foundation/global-adapter/src/components/global-layout/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Outlet } from 'react-router-dom'; import { type FC, useEffect } from 'react'; diff --git a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/index.ts b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/index.ts index 5763d285..c3befa9f 100644 --- a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/index.ts +++ b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { reporter, logger } from '@coze-arch/logger'; diff --git a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-init-common-config.ts b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-init-common-config.ts index 10b3c4c6..1cc91203 100644 --- a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-init-common-config.ts +++ b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-init-common-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @File open source version does not support background configuration for future expansion */ diff --git a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-reset-store-on-logout.ts b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-reset-store-on-logout.ts index 9fe50511..f23cb641 100644 --- a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-reset-store-on-logout.ts +++ b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-reset-store-on-logout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { userStoreService } from '@coze-studio/user-store'; diff --git a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-responsive-body-style.ts b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-responsive-body-style.ts index b3e65fd3..63330d1b 100644 --- a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-responsive-body-style.ts +++ b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-responsive-body-style.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { setMobileBody, setPCBody } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-track-route-change.ts b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-track-route-change.ts index 36eb893c..ca934a8d 100644 --- a/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-track-route-change.ts +++ b/frontend/packages/foundation/global-adapter/src/hooks/use-app-init/use-track-route-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/packages/foundation/global-adapter/src/index.tsx b/frontend/packages/foundation/global-adapter/src/index.tsx index e39cca8e..af36593b 100644 --- a/frontend/packages/foundation/global-adapter/src/index.tsx +++ b/frontend/packages/foundation/global-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { GlobalLayout } from './components/global-layout'; export { useAppInit } from './hooks/use-app-init'; export { useHasSider } from './components/global-layout-composed/hooks/use-has-sider'; diff --git a/frontend/packages/foundation/global-adapter/src/typings.d.ts b/frontend/packages/foundation/global-adapter/src/typings.d.ts index 16abda1d..5f53ae86 100644 --- a/frontend/packages/foundation/global-adapter/src/typings.d.ts +++ b/frontend/packages/foundation/global-adapter/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_OVERSEA: boolean; diff --git a/frontend/packages/foundation/global-adapter/vitest.config.ts b/frontend/packages/foundation/global-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/global-adapter/vitest.config.ts +++ b/frontend/packages/foundation/global-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/global-store/src/index.ts b/frontend/packages/foundation/global-store/src/index.ts index a9a9a3df..698d9464 100644 --- a/frontend/packages/foundation/global-store/src/index.ts +++ b/frontend/packages/foundation/global-store/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // stores export { useCommonConfigStore } from './stores/common-config-store'; diff --git a/frontend/packages/foundation/global-store/src/typings.d.ts b/frontend/packages/foundation/global-store/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/global-store/src/typings.d.ts +++ b/frontend/packages/foundation/global-store/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/global-store/vitest.config.ts b/frontend/packages/foundation/global-store/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/global-store/vitest.config.ts +++ b/frontend/packages/foundation/global-store/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/global/src/hooks/use-app-init/index.ts b/frontend/packages/foundation/global/src/hooks/use-app-init/index.ts index 775f80ee..1f0f1bb5 100644 --- a/frontend/packages/foundation/global/src/hooks/use-app-init/index.ts +++ b/frontend/packages/foundation/global/src/hooks/use-app-init/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useAlertOnLogout } from './use-alert-on-logout'; diff --git a/frontend/packages/foundation/global/src/hooks/use-app-init/use-alert-on-logout.ts b/frontend/packages/foundation/global/src/hooks/use-app-init/use-alert-on-logout.ts index 4e027991..499f8f47 100644 --- a/frontend/packages/foundation/global/src/hooks/use-app-init/use-alert-on-logout.ts +++ b/frontend/packages/foundation/global/src/hooks/use-app-init/use-alert-on-logout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/foundation/global/src/hooks/use-create-bot-action.tsx b/frontend/packages/foundation/global/src/hooks/use-create-bot-action.tsx index 1855677c..b4bdcbd1 100644 --- a/frontend/packages/foundation/global/src/hooks/use-create-bot-action.tsx +++ b/frontend/packages/foundation/global/src/hooks/use-create-bot-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; diff --git a/frontend/packages/foundation/global/src/index.ts b/frontend/packages/foundation/global/src/index.ts index a952f979..2bccc252 100644 --- a/frontend/packages/foundation/global/src/index.ts +++ b/frontend/packages/foundation/global/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { removeGlobalLoading } from './utils/global-loading'; export { useCreateBotAction } from './hooks/use-create-bot-action'; diff --git a/frontend/packages/foundation/global/src/typings.d.ts b/frontend/packages/foundation/global/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/global/src/typings.d.ts +++ b/frontend/packages/foundation/global/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/global/src/utils/global-loading.ts b/frontend/packages/foundation/global/src/utils/global-loading.ts index 864d9c76..f89c91fa 100644 --- a/frontend/packages/foundation/global/src/utils/global-loading.ts +++ b/frontend/packages/foundation/global/src/utils/global-loading.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function removeGlobalLoading() { const spin = document.querySelector('#global-spin-wrapper'); // Hide loading directly for browsers that do not support MutationObserver to avoid affecting the display of normal pages diff --git a/frontend/packages/foundation/global/vitest.config.ts b/frontend/packages/foundation/global/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/global/vitest.config.ts +++ b/frontend/packages/foundation/global/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/layout/__tests__/mobile.test.ts b/frontend/packages/foundation/layout/__tests__/mobile.test.ts index d1fe9512..4f636f71 100644 --- a/frontend/packages/foundation/layout/__tests__/mobile.test.ts +++ b/frontend/packages/foundation/layout/__tests__/mobile.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import './setup-vitest'; import { useSignMobileStore } from '../src/store'; diff --git a/frontend/packages/foundation/layout/__tests__/setup-vitest.ts b/frontend/packages/foundation/layout/__tests__/setup-vitest.ts index bee231e7..f3dd10be 100644 --- a/frontend/packages/foundation/layout/__tests__/setup-vitest.ts +++ b/frontend/packages/foundation/layout/__tests__/setup-vitest.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); diff --git a/frontend/packages/foundation/layout/__tests__/use-mobile-tips.test.ts b/frontend/packages/foundation/layout/__tests__/use-mobile-tips.test.ts index 3ec38955..5aef277d 100644 --- a/frontend/packages/foundation/layout/__tests__/use-mobile-tips.test.ts +++ b/frontend/packages/foundation/layout/__tests__/use-mobile-tips.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { useUIModal } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/foundation/layout/src/components/account-dropdown/index.tsx b/frontend/packages/foundation/layout/src/components/account-dropdown/index.tsx index b250a335..6669a6b2 100644 --- a/frontend/packages/foundation/layout/src/components/account-dropdown/index.tsx +++ b/frontend/packages/foundation/layout/src/components/account-dropdown/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, isValidElement, diff --git a/frontend/packages/foundation/layout/src/components/back-button/index.tsx b/frontend/packages/foundation/layout/src/components/back-button/index.tsx index 10ebafb4..4bb489d8 100644 --- a/frontend/packages/foundation/layout/src/components/back-button/index.tsx +++ b/frontend/packages/foundation/layout/src/components/back-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type BackButtonProps } from '@coze-arch/foundation-sdk'; diff --git a/frontend/packages/foundation/layout/src/components/global-error/index.tsx b/frontend/packages/foundation/layout/src/components/global-error/index.tsx index 4a68364b..70a887e9 100644 --- a/frontend/packages/foundation/layout/src/components/global-error/index.tsx +++ b/frontend/packages/foundation/layout/src/components/global-error/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, useRouteError } from 'react-router-dom'; import { useMemo, useState, type FC } from 'react'; diff --git a/frontend/packages/foundation/layout/src/components/global-layout/component/action-btn.tsx b/frontend/packages/foundation/layout/src/components/global-layout/component/action-btn.tsx index 278dbc89..6a9792bb 100644 --- a/frontend/packages/foundation/layout/src/components/global-layout/component/action-btn.tsx +++ b/frontend/packages/foundation/layout/src/components/global-layout/component/action-btn.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/foundation/layout/src/components/global-layout/component/menu-item.tsx b/frontend/packages/foundation/layout/src/components/global-layout/component/menu-item.tsx index ce2ee72e..0f9058ec 100644 --- a/frontend/packages/foundation/layout/src/components/global-layout/component/menu-item.tsx +++ b/frontend/packages/foundation/layout/src/components/global-layout/component/menu-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { NavLink, useLocation } from 'react-router-dom'; import { type FC } from 'react'; @@ -53,7 +53,9 @@ export const GLobalLayoutMenuItem: FC = ({ // cp-disable-next-line const isLink = newPath.startsWith('https://'); - const navId = `primary-menu-${newPath.startsWith('/') ? newPath.slice(1) : newPath}`; + const navId = `primary-menu-${ + newPath.startsWith('/') ? newPath.slice(1) : newPath + }`; return ( { diff --git a/frontend/packages/foundation/layout/src/components/side-sheet-menu.tsx b/frontend/packages/foundation/layout/src/components/side-sheet-menu.tsx index 804ef19e..ef12ada5 100644 --- a/frontend/packages/foundation/layout/src/components/side-sheet-menu.tsx +++ b/frontend/packages/foundation/layout/src/components/side-sheet-menu.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconButton } from '@coze-arch/coze-design'; import { IconSideFoldOutlined } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/foundation/layout/src/hooks/index.ts b/frontend/packages/foundation/layout/src/hooks/index.ts index 8a798000..af203c77 100644 --- a/frontend/packages/foundation/layout/src/hooks/index.ts +++ b/frontend/packages/foundation/layout/src/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /**store */ export { useMobileTips } from './use-mobile-tips'; diff --git a/frontend/packages/foundation/layout/src/hooks/use-mobile-tips/index.tsx b/frontend/packages/foundation/layout/src/hooks/use-mobile-tips/index.tsx index 2a7191c4..70052851 100644 --- a/frontend/packages/foundation/layout/src/hooks/use-mobile-tips/index.tsx +++ b/frontend/packages/foundation/layout/src/hooks/use-mobile-tips/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/foundation/layout/src/index.tsx b/frontend/packages/foundation/layout/src/index.tsx index 19ef2cb4..1d329eb3 100644 --- a/frontend/packages/foundation/layout/src/index.tsx +++ b/frontend/packages/foundation/layout/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** layout framework */ export { SideSheetMenu } from './components/side-sheet-menu'; export { GlobalError } from './components/global-error'; diff --git a/frontend/packages/foundation/layout/src/store/bot-mobile/index.ts b/frontend/packages/foundation/layout/src/store/bot-mobile/index.ts index 44ec0062..455def3a 100644 --- a/frontend/packages/foundation/layout/src/store/bot-mobile/index.ts +++ b/frontend/packages/foundation/layout/src/store/bot-mobile/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/foundation/layout/src/store/index.ts b/frontend/packages/foundation/layout/src/store/index.ts index 6ec396d8..cc2749df 100644 --- a/frontend/packages/foundation/layout/src/store/index.ts +++ b/frontend/packages/foundation/layout/src/store/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSignMobileStore } from './bot-mobile'; diff --git a/frontend/packages/foundation/layout/src/typings.d.ts b/frontend/packages/foundation/layout/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/layout/src/typings.d.ts +++ b/frontend/packages/foundation/layout/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/layout/vitest.config.ts b/frontend/packages/foundation/layout/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/layout/vitest.config.ts +++ b/frontend/packages/foundation/layout/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/local-storage/__tests__/core/local-storage-service.test.ts b/frontend/packages/foundation/local-storage/__tests__/core/local-storage-service.test.ts index 8a5db73f..49ca84ce 100644 --- a/frontend/packages/foundation/local-storage/__tests__/core/local-storage-service.test.ts +++ b/frontend/packages/foundation/local-storage/__tests__/core/local-storage-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach, vi } from 'vitest'; import { localStorageService } from '../../src/core'; diff --git a/frontend/packages/foundation/local-storage/__tests__/hooks/use-value.test.tsx b/frontend/packages/foundation/local-storage/__tests__/hooks/use-value.test.tsx index 9e59021a..be77a627 100644 --- a/frontend/packages/foundation/local-storage/__tests__/hooks/use-value.test.tsx +++ b/frontend/packages/foundation/local-storage/__tests__/hooks/use-value.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/foundation/local-storage/__tests__/utils/parse.test.ts b/frontend/packages/foundation/local-storage/__tests__/utils/parse.test.ts index b79fd8bd..3b7231f6 100644 --- a/frontend/packages/foundation/local-storage/__tests__/utils/parse.test.ts +++ b/frontend/packages/foundation/local-storage/__tests__/utils/parse.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { paseLocalStorageValue, filterCacheData } from '../../src/utils/parse'; diff --git a/frontend/packages/foundation/local-storage/src/config.ts b/frontend/packages/foundation/local-storage/src/config.ts index 539cdded..9fa56919 100644 --- a/frontend/packages/foundation/local-storage/src/config.ts +++ b/frontend/packages/foundation/local-storage/src/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LocalStorageCacheConfig } from './types'; // Maintain key definitions uniformly to avoid conflicts diff --git a/frontend/packages/foundation/local-storage/src/core/index.ts b/frontend/packages/foundation/local-storage/src/core/index.ts index 25e551b4..ea85da7e 100644 --- a/frontend/packages/foundation/local-storage/src/core/index.ts +++ b/frontend/packages/foundation/local-storage/src/core/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { throttle } from 'lodash-es'; import EventEmitter from 'eventemitter3'; diff --git a/frontend/packages/foundation/local-storage/src/hooks/use-value.ts b/frontend/packages/foundation/local-storage/src/hooks/use-value.ts index d1e48c18..6f300ad9 100644 --- a/frontend/packages/foundation/local-storage/src/hooks/use-value.ts +++ b/frontend/packages/foundation/local-storage/src/hooks/use-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { localStorageService } from '../core'; diff --git a/frontend/packages/foundation/local-storage/src/index.ts b/frontend/packages/foundation/local-storage/src/index.ts index fa7b9782..1616b158 100644 --- a/frontend/packages/foundation/local-storage/src/index.ts +++ b/frontend/packages/foundation/local-storage/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { localStorageService } from './core'; export { useValue as useLocalStorageValue } from './hooks/use-value'; diff --git a/frontend/packages/foundation/local-storage/src/types.ts b/frontend/packages/foundation/local-storage/src/types.ts index f7a8fcdc..8d4ae788 100644 --- a/frontend/packages/foundation/local-storage/src/types.ts +++ b/frontend/packages/foundation/local-storage/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface LocalStorageCacheConfig { bindAccount?: boolean; } diff --git a/frontend/packages/foundation/local-storage/src/typings.d.ts b/frontend/packages/foundation/local-storage/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/local-storage/src/typings.d.ts +++ b/frontend/packages/foundation/local-storage/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/local-storage/src/utils/parse.ts b/frontend/packages/foundation/local-storage/src/utils/parse.ts index ea2fe29a..1a3523c5 100644 --- a/frontend/packages/foundation/local-storage/src/utils/parse.ts +++ b/frontend/packages/foundation/local-storage/src/utils/parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CacheDataItems, type LocalStorageCacheData } from '../types'; import { LOCAL_STORAGE_CACHE_KEYS } from '../config'; diff --git a/frontend/packages/foundation/local-storage/vitest.config.ts b/frontend/packages/foundation/local-storage/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/local-storage/vitest.config.ts +++ b/frontend/packages/foundation/local-storage/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/space-store-adapter/__tests__/space.test.ts b/frontend/packages/foundation/space-store-adapter/__tests__/space.test.ts index e43a9dad..52e77cd2 100644 --- a/frontend/packages/foundation/space-store-adapter/__tests__/space.test.ts +++ b/frontend/packages/foundation/space-store-adapter/__tests__/space.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpaceType } from '@coze-arch/bot-api/playground_api'; import { PlaygroundApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/foundation/space-store-adapter/setup-vitest.ts b/frontend/packages/foundation/space-store-adapter/setup-vitest.ts index fc6155b4..61ace360 100644 --- a/frontend/packages/foundation/space-store-adapter/setup-vitest.ts +++ b/frontend/packages/foundation/space-store-adapter/setup-vitest.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); vi.mock('zustand'); diff --git a/frontend/packages/foundation/space-store-adapter/src/index.ts b/frontend/packages/foundation/space-store-adapter/src/index.ts index 06a08808..8c15ff7d 100644 --- a/frontend/packages/foundation/space-store-adapter/src/index.ts +++ b/frontend/packages/foundation/space-store-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSpaceStore } from './space'; diff --git a/frontend/packages/foundation/space-store-adapter/src/space/const.ts b/frontend/packages/foundation/space-store-adapter/src/space/const.ts index 8a9a04b2..7b094e77 100644 --- a/frontend/packages/foundation/space-store-adapter/src/space/const.ts +++ b/frontend/packages/foundation/space-store-adapter/src/space/const.ts @@ -13,9 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ReportEventNames { EmptySpaceList = 'empty_space_List', // Space list is empty PollingSpaceList = 'polling_space_list', // Rotation space list } - diff --git a/frontend/packages/foundation/space-store-adapter/src/space/index.ts b/frontend/packages/foundation/space-store-adapter/src/space/index.ts index b92ce84d..cde98670 100644 --- a/frontend/packages/foundation/space-store-adapter/src/space/index.ts +++ b/frontend/packages/foundation/space-store-adapter/src/space/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function */ import { devtools } from 'zustand/middleware'; diff --git a/frontend/packages/foundation/space-store-adapter/src/space/utils.ts b/frontend/packages/foundation/space-store-adapter/src/space/utils.ts index 162cbcfa..d3aaef6a 100644 --- a/frontend/packages/foundation/space-store-adapter/src/space/utils.ts +++ b/frontend/packages/foundation/space-store-adapter/src/space/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { reporter } from '@coze-arch/logger'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/foundation/space-store-adapter/src/typings.d.ts b/frontend/packages/foundation/space-store-adapter/src/typings.d.ts index d501eb23..c8125967 100644 --- a/frontend/packages/foundation/space-store-adapter/src/typings.d.ts +++ b/frontend/packages/foundation/space-store-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare const IS_DEV_MODE: boolean; diff --git a/frontend/packages/foundation/space-store-adapter/vitest.config.ts b/frontend/packages/foundation/space-store-adapter/vitest.config.ts index ad76a96d..63e34d5f 100644 --- a/frontend/packages/foundation/space-store-adapter/vitest.config.ts +++ b/frontend/packages/foundation/space-store-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/space-store/setup-vitest.ts b/frontend/packages/foundation/space-store/setup-vitest.ts index fc6155b4..61ace360 100644 --- a/frontend/packages/foundation/space-store/setup-vitest.ts +++ b/frontend/packages/foundation/space-store/setup-vitest.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); vi.mock('zustand'); diff --git a/frontend/packages/foundation/space-store/src/hooks/__tests__/use-space-app.test.ts b/frontend/packages/foundation/space-store/src/hooks/__tests__/use-space-app.test.ts index f236a5ae..dd0cf98c 100644 --- a/frontend/packages/foundation/space-store/src/hooks/__tests__/use-space-app.test.ts +++ b/frontend/packages/foundation/space-store/src/hooks/__tests__/use-space-app.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import { renderHook } from '@testing-library/react-hooks'; diff --git a/frontend/packages/foundation/space-store/src/hooks/use-space-app.ts b/frontend/packages/foundation/space-store/src/hooks/use-space-app.ts index c8982b5c..fc6467ab 100644 --- a/frontend/packages/foundation/space-store/src/hooks/use-space-app.ts +++ b/frontend/packages/foundation/space-store/src/hooks/use-space-app.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; /** diff --git a/frontend/packages/foundation/space-store/src/index.ts b/frontend/packages/foundation/space-store/src/index.ts index 3d1e9b25..70eddd8a 100644 --- a/frontend/packages/foundation/space-store/src/index.ts +++ b/frontend/packages/foundation/space-store/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSpaceStore } from '@coze-foundation/space-store-adapter'; export { useSpace, useSpaceList, useRefreshSpaces } from './space/hooks'; export { useSpaceApp } from './hooks/use-space-app'; diff --git a/frontend/packages/foundation/space-store/src/space/__tests__/use-refresh-space.test.ts b/frontend/packages/foundation/space-store/src/space/__tests__/use-refresh-space.test.ts index 40d5f27f..fb3e2d12 100644 --- a/frontend/packages/foundation/space-store/src/space/__tests__/use-refresh-space.test.ts +++ b/frontend/packages/foundation/space-store/src/space/__tests__/use-refresh-space.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { useSpaceStore } from '@coze-foundation/space-store-adapter'; diff --git a/frontend/packages/foundation/space-store/src/space/__tests__/use-space-list.test.ts b/frontend/packages/foundation/space-store/src/space/__tests__/use-space-list.test.ts index 01d8e12b..2a1bc263 100644 --- a/frontend/packages/foundation/space-store/src/space/__tests__/use-space-list.test.ts +++ b/frontend/packages/foundation/space-store/src/space/__tests__/use-space-list.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { renderHook } from '@testing-library/react-hooks'; import { useSpaceStore } from '@coze-foundation/space-store-adapter'; diff --git a/frontend/packages/foundation/space-store/src/space/__tests__/use-space.test.ts b/frontend/packages/foundation/space-store/src/space/__tests__/use-space.test.ts index 101de891..80f03eb8 100644 --- a/frontend/packages/foundation/space-store/src/space/__tests__/use-space.test.ts +++ b/frontend/packages/foundation/space-store/src/space/__tests__/use-space.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react-hooks'; import { useSpaceStore } from '@coze-foundation/space-store-adapter'; diff --git a/frontend/packages/foundation/space-store/src/space/hooks.ts b/frontend/packages/foundation/space-store/src/space/hooks.ts index d29b5df5..85b2c4c3 100644 --- a/frontend/packages/foundation/space-store/src/space/hooks.ts +++ b/frontend/packages/foundation/space-store/src/space/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useSpaceStore } from '@coze-foundation/space-store-adapter'; diff --git a/frontend/packages/foundation/space-store/src/typings.d.ts b/frontend/packages/foundation/space-store/src/typings.d.ts index d501eb23..c8125967 100644 --- a/frontend/packages/foundation/space-store/src/typings.d.ts +++ b/frontend/packages/foundation/space-store/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare const IS_DEV_MODE: boolean; diff --git a/frontend/packages/foundation/space-store/vitest.config.ts b/frontend/packages/foundation/space-store/vitest.config.ts index ad76a96d..63e34d5f 100644 --- a/frontend/packages/foundation/space-store/vitest.config.ts +++ b/frontend/packages/foundation/space-store/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/space-ui-adapter/src/components/space-layout/index.tsx b/frontend/packages/foundation/space-ui-adapter/src/components/space-layout/index.tsx index e7cbb4db..3608bf47 100644 --- a/frontend/packages/foundation/space-ui-adapter/src/components/space-layout/index.tsx +++ b/frontend/packages/foundation/space-ui-adapter/src/components/space-layout/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Outlet, useParams } from 'react-router-dom'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/foundation/space-ui-adapter/src/components/workspace-sub-menu/index.tsx b/frontend/packages/foundation/space-ui-adapter/src/components/workspace-sub-menu/index.tsx index d4da1efc..c81ec162 100644 --- a/frontend/packages/foundation/space-ui-adapter/src/components/workspace-sub-menu/index.tsx +++ b/frontend/packages/foundation/space-ui-adapter/src/components/workspace-sub-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkspaceSubMenu as BaseWorkspaceSubMenu } from '@coze-foundation/space-ui-base'; import { useSpaceStore } from '@coze-foundation/space-store'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/foundation/space-ui-adapter/src/const.ts b/frontend/packages/foundation/space-ui-adapter/src/const.ts index 688f9b86..927a8ec5 100644 --- a/frontend/packages/foundation/space-ui-adapter/src/const.ts +++ b/frontend/packages/foundation/space-ui-adapter/src/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum SpaceSubModuleEnum { DEVELOP = 'develop', LIBRARY = 'library', diff --git a/frontend/packages/foundation/space-ui-adapter/src/hooks/use-init-space.ts b/frontend/packages/foundation/space-ui-adapter/src/hooks/use-init-space.ts index cfe3e1c7..7f0ef0c6 100644 --- a/frontend/packages/foundation/space-ui-adapter/src/hooks/use-init-space.ts +++ b/frontend/packages/foundation/space-ui-adapter/src/hooks/use-init-space.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useInitSpace as useBaseInitSpace } from '@coze-foundation/space-ui-base'; import { useSpaceStore } from '@coze-foundation/space-store'; diff --git a/frontend/packages/foundation/space-ui-adapter/src/index.tsx b/frontend/packages/foundation/space-ui-adapter/src/index.tsx index 75030cdf..d642a924 100644 --- a/frontend/packages/foundation/space-ui-adapter/src/index.tsx +++ b/frontend/packages/foundation/space-ui-adapter/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkspaceSubMenu } from './components/workspace-sub-menu'; export { SpaceSubModuleEnum } from './const'; export { SpaceLayout } from './components/space-layout'; diff --git a/frontend/packages/foundation/space-ui-adapter/src/typings.d.ts b/frontend/packages/foundation/space-ui-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/space-ui-adapter/src/typings.d.ts +++ b/frontend/packages/foundation/space-ui-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/space-ui-adapter/vitest.config.ts b/frontend/packages/foundation/space-ui-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/space-ui-adapter/vitest.config.ts +++ b/frontend/packages/foundation/space-ui-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/foundation/space-ui-base/src/components/space-id-layout.tsx b/frontend/packages/foundation/space-ui-base/src/components/space-id-layout.tsx index 27d93cdd..cf4fae45 100644 --- a/frontend/packages/foundation/space-ui-base/src/components/space-id-layout.tsx +++ b/frontend/packages/foundation/space-ui-base/src/components/space-id-layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Outlet, useParams } from 'react-router-dom'; import { useDestorySpace } from '@coze-common/auth'; diff --git a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/favorites-list-item.tsx b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/favorites-list-item.tsx index 0b6f81d4..daf28dd5 100644 --- a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/favorites-list-item.tsx +++ b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/favorites-list-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/favorites-list.tsx b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/favorites-list.tsx index ce56162b..5e4e9557 100644 --- a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/favorites-list.tsx +++ b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/favorites-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef, useEffect, useMemo } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/workspace-list-item.tsx b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/workspace-list-item.tsx index c03037e9..323d026a 100644 --- a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/workspace-list-item.tsx +++ b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/workspace-list-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { type ReactNode, type FC } from 'react'; diff --git a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/workspace-list.tsx b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/workspace-list.tsx index 8e72bc21..39ab0aa1 100644 --- a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/workspace-list.tsx +++ b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/components/workspace-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Space } from '@coze-arch/coze-design'; diff --git a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/index.tsx b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/index.tsx index d99336fa..b0bd1d4d 100644 --- a/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/index.tsx +++ b/frontend/packages/foundation/space-ui-base/src/components/workspace-sub-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/foundation/space-ui-base/src/hooks/use-init-space.ts b/frontend/packages/foundation/space-ui-base/src/hooks/use-init-space.ts index de1d378e..5ea2a6ec 100644 --- a/frontend/packages/foundation/space-ui-base/src/hooks/use-init-space.ts +++ b/frontend/packages/foundation/space-ui-base/src/hooks/use-init-space.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useEffect, useState } from 'react'; @@ -65,7 +65,7 @@ export const useInitSpace = ({ space: store.space, spaceListLoading: store.loading, spaceList: store.spaceList, - }) as const, + } as const), ), ); diff --git a/frontend/packages/foundation/space-ui-base/src/index.tsx b/frontend/packages/foundation/space-ui-base/src/index.tsx index 78d54f60..caee641e 100644 --- a/frontend/packages/foundation/space-ui-base/src/index.tsx +++ b/frontend/packages/foundation/space-ui-base/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkspaceSubMenu } from './components/workspace-sub-menu'; export { SpaceIdLayout } from './components/space-id-layout'; diff --git a/frontend/packages/foundation/space-ui-base/src/typings.d.ts b/frontend/packages/foundation/space-ui-base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/foundation/space-ui-base/src/typings.d.ts +++ b/frontend/packages/foundation/space-ui-base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/foundation/space-ui-base/vitest.config.ts b/frontend/packages/foundation/space-ui-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/foundation/space-ui-base/vitest.config.ts +++ b/frontend/packages/foundation/space-ui-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/project-ide/base-adapter/package.json b/frontend/packages/project-ide/base-adapter/package.json index 0a746e65..29816432 100644 --- a/frontend/packages/project-ide/base-adapter/package.json +++ b/frontend/packages/project-ide/base-adapter/package.json @@ -13,9 +13,9 @@ "test:cov": "npm run test -- --coverage" }, "dependencies": { + "@coze-arch/bot-typings": "workspace:*", "@coze-project-ide/base-interface": "workspace:*", "@coze-project-ide/client": "workspace:*", - "@coze-arch/bot-typings": "workspace:*", "inversify": "^6.0.1", "react-router-dom": "^6.22.0" }, diff --git a/frontend/packages/project-ide/base-adapter/src/global.d.ts b/frontend/packages/project-ide/base-adapter/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/base-adapter/src/global.d.ts +++ b/frontend/packages/project-ide/base-adapter/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/base-adapter/src/hooks/index.ts b/frontend/packages/project-ide/base-adapter/src/hooks/index.ts index 4a09b332..b6c783a5 100644 --- a/frontend/packages/project-ide/base-adapter/src/hooks/index.ts +++ b/frontend/packages/project-ide/base-adapter/src/hooks/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCommitVersion } from './use-commit-version'; diff --git a/frontend/packages/project-ide/base-adapter/src/hooks/use-commit-version.ts b/frontend/packages/project-ide/base-adapter/src/hooks/use-commit-version.ts index 01669319..b45a98c9 100644 --- a/frontend/packages/project-ide/base-adapter/src/hooks/use-commit-version.ts +++ b/frontend/packages/project-ide/base-adapter/src/hooks/use-commit-version.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const useCommitVersion = () => ({ version: '', patch: () => null, diff --git a/frontend/packages/project-ide/base-adapter/src/index.ts b/frontend/packages/project-ide/base-adapter/src/index.ts index 2e869a8f..a17bb804 100644 --- a/frontend/packages/project-ide/base-adapter/src/index.ts +++ b/frontend/packages/project-ide/base-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCommitVersion } from './hooks'; export { IDEGlobalProvider, diff --git a/frontend/packages/project-ide/base-adapter/src/services/index.ts b/frontend/packages/project-ide/base-adapter/src/services/index.ts index 94c20188..5602d463 100644 --- a/frontend/packages/project-ide/base-adapter/src/services/index.ts +++ b/frontend/packages/project-ide/base-adapter/src/services/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OptionsService } from './options-service'; export { WsService } from './ws-service'; diff --git a/frontend/packages/project-ide/base-adapter/src/services/options-service.ts b/frontend/packages/project-ide/base-adapter/src/services/options-service.ts index 9fefbc4e..52322287 100644 --- a/frontend/packages/project-ide/base-adapter/src/services/options-service.ts +++ b/frontend/packages/project-ide/base-adapter/src/services/options-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * plug-in configuration */ diff --git a/frontend/packages/project-ide/base-adapter/src/services/ws-service.ts b/frontend/packages/project-ide/base-adapter/src/services/ws-service.ts index 9b8ba54d..384b4381 100644 --- a/frontend/packages/project-ide/base-adapter/src/services/ws-service.ts +++ b/frontend/packages/project-ide/base-adapter/src/services/ws-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { Emitter } from '@coze-project-ide/client'; import { type WsMessageProps } from '@coze-project-ide/base-interface'; diff --git a/frontend/packages/project-ide/base-adapter/vitest.config.ts b/frontend/packages/project-ide/base-adapter/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/project-ide/base-adapter/vitest.config.ts +++ b/frontend/packages/project-ide/base-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/project-ide/base-interface/src/context/create-store.ts b/frontend/packages/project-ide/base-interface/src/context/create-store.ts index b467d308..8eb346c4 100644 --- a/frontend/packages/project-ide/base-interface/src/context/create-store.ts +++ b/frontend/packages/project-ide/base-interface/src/context/create-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { shallow } from 'zustand/shallow'; import { type UseBoundStore, type StoreApi } from 'zustand'; diff --git a/frontend/packages/project-ide/base-interface/src/context/index.ts b/frontend/packages/project-ide/base-interface/src/context/index.ts index 42e863be..9ad2c6ae 100644 --- a/frontend/packages/project-ide/base-interface/src/context/index.ts +++ b/frontend/packages/project-ide/base-interface/src/context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IDEGlobalProvider, useIDEGlobalContext, diff --git a/frontend/packages/project-ide/base-interface/src/context/provider.tsx b/frontend/packages/project-ide/base-interface/src/context/provider.tsx index 03e354ba..0ca816cd 100644 --- a/frontend/packages/project-ide/base-interface/src/context/provider.tsx +++ b/frontend/packages/project-ide/base-interface/src/context/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { createContext, useContext, useMemo } from 'react'; import { diff --git a/frontend/packages/project-ide/base-interface/src/global.d.ts b/frontend/packages/project-ide/base-interface/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/base-interface/src/global.d.ts +++ b/frontend/packages/project-ide/base-interface/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/base-interface/src/index.ts b/frontend/packages/project-ide/base-interface/src/index.ts index 7e8b7e36..ec3fc7c1 100644 --- a/frontend/packages/project-ide/base-interface/src/index.ts +++ b/frontend/packages/project-ide/base-interface/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IDEGlobalProvider, useIDEGlobalContext, diff --git a/frontend/packages/project-ide/base-interface/src/types/index.ts b/frontend/packages/project-ide/base-interface/src/types/index.ts index 114fa166..9124f9d0 100644 --- a/frontend/packages/project-ide/base-interface/src/types/index.ts +++ b/frontend/packages/project-ide/base-interface/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { MessageOperateType, MessageBizType, diff --git a/frontend/packages/project-ide/base-interface/vitest.config.ts b/frontend/packages/project-ide/base-interface/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/project-ide/base-interface/vitest.config.ts +++ b/frontend/packages/project-ide/base-interface/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/project-ide/biz-components/src/hooks/index.ts b/frontend/packages/project-ide/biz-components/src/hooks/index.ts index bccc4b37..3deb28e1 100644 --- a/frontend/packages/project-ide/biz-components/src/hooks/index.ts +++ b/frontend/packages/project-ide/biz-components/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useResourceList } from './use-resource-list'; export { useOpenResource } from './use-open-resource'; export { useResourceCopyDispatch } from './use-resource-copy-dispatch'; diff --git a/frontend/packages/project-ide/biz-components/src/hooks/use-open-resource.ts b/frontend/packages/project-ide/biz-components/src/hooks/use-open-resource.ts index 78406c40..02e86ac4 100644 --- a/frontend/packages/project-ide/biz-components/src/hooks/use-open-resource.ts +++ b/frontend/packages/project-ide/biz-components/src/hooks/use-open-resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIDENavigate } from '@coze-project-ide/framework'; import { type BizResourceTypeEnum } from '@/resource-folder-coze/type'; diff --git a/frontend/packages/project-ide/biz-components/src/hooks/use-resource-copy-dispatch.tsx b/frontend/packages/project-ide/biz-components/src/hooks/use-resource-copy-dispatch.tsx index 5599f19f..c6341a5a 100644 --- a/frontend/packages/project-ide/biz-components/src/hooks/use-resource-copy-dispatch.tsx +++ b/frontend/packages/project-ide/biz-components/src/hooks/use-resource-copy-dispatch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/biz-components/src/hooks/use-resource-list.tsx b/frontend/packages/project-ide/biz-components/src/hooks/use-resource-list.tsx index 0dcc0e1e..1258db4b 100644 --- a/frontend/packages/project-ide/biz-components/src/hooks/use-resource-list.tsx +++ b/frontend/packages/project-ide/biz-components/src/hooks/use-resource-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { ProjectResourceGroupType } from '@coze-arch/bot-api/plugin_develop'; diff --git a/frontend/packages/project-ide/biz-components/src/index.ts b/frontend/packages/project-ide/biz-components/src/index.ts index bef01dd3..4783d91f 100644 --- a/frontend/packages/project-ide/biz-components/src/index.ts +++ b/frontend/packages/project-ide/biz-components/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ResourceFolderCoze, type BizResourceType, diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/constants.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/constants.tsx index 960a08d6..3f363be1 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/constants.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/constants.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/empty.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/empty.tsx index 2367eebe..1a9bfd95 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/empty.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/expandable-arrow.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/expandable-arrow.tsx index bc2687b2..ee4986db 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/expandable-arrow.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/expandable-arrow.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozArrowRightFill } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/index.ts b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/index.ts index da87fc5c..4d187649 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/index.ts +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDeleteModal } from './use-delete-modal'; export { useResourceFolderConfig } from './use-resource-folder-config'; export { useResourceOpen } from './use-resource-open'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-delete-modal.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-delete-modal.tsx index 09518646..c4468b7c 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-delete-modal.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-delete-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, useMemo, useState } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-resource-folder-config.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-resource-folder-config.tsx index 3d5d73e6..eb6bfd17 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-resource-folder-config.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-resource-folder-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import React, { useCallback, useMemo } from 'react'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-resource-open.ts b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-resource-open.ts index 2b17f6ba..82bf2865 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-resource-open.ts +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/use-resource-open.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import { useEffect } from 'react'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/with-rename-sync.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/with-rename-sync.tsx index dbc41cd9..79ac0fe3 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/with-rename-sync.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/hooks/with-rename-sync.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import React from 'react'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/index.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/index.tsx index 423ad1d4..23b2a7c9 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/index.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ResourceFolderCoze } from './resource-folder-coze'; export { BizResourceTypeEnum, diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/create-resource-folder-plugin.ts b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/create-resource-folder-plugin.ts index 17b861bb..acfef043 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/create-resource-folder-plugin.ts +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/create-resource-folder-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { definePluginCreator, type PluginCreator, diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/index.ts b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/index.ts index ee40b887..a2a99ec7 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/index.ts +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createResourceFolderPlugin } from './create-resource-folder-plugin'; export { CustomResourceFolderShortcutService } from './shortcut-service'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/resource-folder-contribution.ts b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/resource-folder-contribution.ts index 1b1421c5..b400efee 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/resource-folder-contribution.ts +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/resource-folder-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable, postConstruct } from 'inversify'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/shortcut-service.ts b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/shortcut-service.ts index 04ebbe7f..9fe90c1d 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/shortcut-service.ts +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/plugins/shortcut-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { ProjectResourceActionKey } from '@coze-arch/bot-api/plugin_develop'; import { diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-folder-coze.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-folder-coze.tsx index 131e2656..92aa2b49 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-folder-coze.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-folder-coze.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type RefObject, diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-group-actions.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-group-actions.tsx index 1e9fe907..cfec03cb 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-group-actions.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-group-actions.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-group.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-group.tsx index 8bc957cf..70a6011e 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-group.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/resource-group.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/type.ts b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/type.ts index bcf95496..5239441c 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/type.ts +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ReactNode } from 'react'; import { diff --git a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/utils.tsx b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/utils.tsx index 0bb0b462..ab955d3d 100644 --- a/frontend/packages/project-ide/biz-components/src/resource-folder-coze/utils.tsx +++ b/frontend/packages/project-ide/biz-components/src/resource-folder-coze/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/project-ide/biz-components/src/stores/index.ts b/frontend/packages/project-ide/biz-components/src/stores/index.ts index 441f7299..4f2104e6 100644 --- a/frontend/packages/project-ide/biz-components/src/stores/index.ts +++ b/frontend/packages/project-ide/biz-components/src/stores/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePrimarySidebarStore } from './primary-sidebar-store'; diff --git a/frontend/packages/project-ide/biz-components/src/stores/primary-sidebar-store.ts b/frontend/packages/project-ide/biz-components/src/stores/primary-sidebar-store.ts index 703dd6fc..cc17bfa1 100644 --- a/frontend/packages/project-ide/biz-components/src/stores/primary-sidebar-store.ts +++ b/frontend/packages/project-ide/biz-components/src/stores/primary-sidebar-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { ProjectResourceGroupType } from '@coze-arch/bot-api/plugin_develop'; diff --git a/frontend/packages/project-ide/biz-components/src/typings.d.ts b/frontend/packages/project-ide/biz-components/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/biz-components/src/typings.d.ts +++ b/frontend/packages/project-ide/biz-components/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/biz-components/src/utils.ts b/frontend/packages/project-ide/biz-components/src/utils.ts index 4965d32e..612e7689 100644 --- a/frontend/packages/project-ide/biz-components/src/utils.ts +++ b/frontend/packages/project-ide/biz-components/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ResType } from '@coze-arch/bot-api/plugin_develop'; import { BizResourceTypeEnum } from '@/resource-folder-coze/type'; diff --git a/frontend/packages/project-ide/biz-components/stories/demo.stories.tsx b/frontend/packages/project-ide/biz-components/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/project-ide/biz-components/stories/demo.stories.tsx +++ b/frontend/packages/project-ide/biz-components/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/project-ide/biz-components/vitest.config.ts b/frontend/packages/project-ide/biz-components/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/project-ide/biz-components/vitest.config.ts +++ b/frontend/packages/project-ide/biz-components/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/project-ide/biz-data/src/components/sider-category.tsx b/frontend/packages/project-ide/biz-data/src/components/sider-category.tsx index 2f584080..cd9d3038 100644 --- a/frontend/packages/project-ide/biz-data/src/components/sider-category.tsx +++ b/frontend/packages/project-ide/biz-data/src/components/sider-category.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { IconCozKnowledgeFill } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/project-ide/biz-data/src/database-main.tsx b/frontend/packages/project-ide/biz-data/src/database-main.tsx index 99dc3ba4..d016b85f 100644 --- a/frontend/packages/project-ide/biz-data/src/database-main.tsx +++ b/frontend/packages/project-ide/biz-data/src/database-main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import qs from 'qs'; diff --git a/frontend/packages/project-ide/biz-data/src/hooks/use-data-resource.tsx b/frontend/packages/project-ide/biz-data/src/hooks/use-data-resource.tsx index d37a909a..1f4037f2 100644 --- a/frontend/packages/project-ide/biz-data/src/hooks/use-data-resource.tsx +++ b/frontend/packages/project-ide/biz-data/src/hooks/use-data-resource.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, useMemo } from 'react'; import { @@ -24,7 +24,10 @@ import { import { validateNameConflict } from '@coze-project-ide/biz-components'; import { I18n } from '@coze-arch/i18n'; import { ResType } from '@coze-arch/bot-api/plugin_develop'; -import { IconCozDatabase, IconCozKnowledge } from '@coze-arch/coze-design/icons'; +import { + IconCozDatabase, + IconCozKnowledge, +} from '@coze-arch/coze-design/icons'; import useKnowledgeResource from './use-knowledge-resource'; import useImportData from './use-import-data'; diff --git a/frontend/packages/project-ide/biz-data/src/hooks/use-database-resource.tsx b/frontend/packages/project-ide/biz-data/src/hooks/use-database-resource.tsx index c7ef1dbe..b6e50705 100644 --- a/frontend/packages/project-ide/biz-data/src/hooks/use-database-resource.tsx +++ b/frontend/packages/project-ide/biz-data/src/hooks/use-database-resource.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useCallback } from 'react'; import { diff --git a/frontend/packages/project-ide/biz-data/src/hooks/use-import-data.tsx b/frontend/packages/project-ide/biz-data/src/hooks/use-import-data.tsx index b773cc94..1d92c100 100644 --- a/frontend/packages/project-ide/biz-data/src/hooks/use-import-data.tsx +++ b/frontend/packages/project-ide/biz-data/src/hooks/use-import-data.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useProjectId, useSpaceId } from '@coze-project-ide/framework'; diff --git a/frontend/packages/project-ide/biz-data/src/hooks/use-knowledge-resource.tsx b/frontend/packages/project-ide/biz-data/src/hooks/use-knowledge-resource.tsx index d1ff3563..98a6c894 100644 --- a/frontend/packages/project-ide/biz-data/src/hooks/use-knowledge-resource.tsx +++ b/frontend/packages/project-ide/biz-data/src/hooks/use-knowledge-resource.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, useCallback } from 'react'; import { @@ -70,7 +70,9 @@ const useKnowledgeResource = (): UseKnowledgeResourceReturn => { refetch(); close(); IDENav( - `/knowledge/${datasetID}?type=${unitType}${shouldUpload ? '&module=upload' : ''}`, + `/knowledge/${datasetID}?type=${unitType}${ + shouldUpload ? '&module=upload' : '' + }`, ); }, }); diff --git a/frontend/packages/project-ide/biz-data/src/hooks/use-resource-operation.tsx b/frontend/packages/project-ide/biz-data/src/hooks/use-resource-operation.tsx index 42262206..1464f51b 100644 --- a/frontend/packages/project-ide/biz-data/src/hooks/use-resource-operation.tsx +++ b/frontend/packages/project-ide/biz-data/src/hooks/use-resource-operation.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BizResourceType, useResourceCopyDispatch, diff --git a/frontend/packages/project-ide/biz-data/src/index.tsx b/frontend/packages/project-ide/biz-data/src/index.tsx index e44bee3d..5adbef61 100644 --- a/frontend/packages/project-ide/biz-data/src/index.tsx +++ b/frontend/packages/project-ide/biz-data/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { KnowledgeWidgetRegistry, VariablesWidgetRegistry, diff --git a/frontend/packages/project-ide/biz-data/src/main.tsx b/frontend/packages/project-ide/biz-data/src/main.tsx index 3f09bc48..c66775e5 100644 --- a/frontend/packages/project-ide/biz-data/src/main.tsx +++ b/frontend/packages/project-ide/biz-data/src/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import qs from 'qs'; diff --git a/frontend/packages/project-ide/biz-data/src/registry.tsx b/frontend/packages/project-ide/biz-data/src/registry.tsx index 229d6870..bc9a1c6f 100644 --- a/frontend/packages/project-ide/biz-data/src/registry.tsx +++ b/frontend/packages/project-ide/biz-data/src/registry.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/project-ide/biz-data/src/typings.d.ts b/frontend/packages/project-ide/biz-data/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/biz-data/src/typings.d.ts +++ b/frontend/packages/project-ide/biz-data/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/biz-data/src/variables-main.tsx b/frontend/packages/project-ide/biz-data/src/variables-main.tsx index ec363792..38e3557b 100644 --- a/frontend/packages/project-ide/biz-data/src/variables-main.tsx +++ b/frontend/packages/project-ide/biz-data/src/variables-main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import qs from 'qs'; diff --git a/frontend/packages/project-ide/biz-data/vitest.config.ts b/frontend/packages/project-ide/biz-data/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/project-ide/biz-data/vitest.config.ts +++ b/frontend/packages/project-ide/biz-data/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/project-ide/biz-plugin-registry-adapter/src/index.ts b/frontend/packages/project-ide/biz-plugin-registry-adapter/src/index.ts index d94bb2e5..97d047c2 100644 --- a/frontend/packages/project-ide/biz-plugin-registry-adapter/src/index.ts +++ b/frontend/packages/project-ide/biz-plugin-registry-adapter/src/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginWidgetRegistry } from './registry'; diff --git a/frontend/packages/project-ide/biz-plugin-registry-adapter/src/registry.tsx b/frontend/packages/project-ide/biz-plugin-registry-adapter/src/registry.tsx index e35231ae..e5cc3ed1 100644 --- a/frontend/packages/project-ide/biz-plugin-registry-adapter/src/registry.tsx +++ b/frontend/packages/project-ide/biz-plugin-registry-adapter/src/registry.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/project-ide/biz-plugin-registry-adapter/src/typings.d.ts b/frontend/packages/project-ide/biz-plugin-registry-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/biz-plugin-registry-adapter/src/typings.d.ts +++ b/frontend/packages/project-ide/biz-plugin-registry-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/biz-plugin-registry-adapter/vitest.config.ts b/frontend/packages/project-ide/biz-plugin-registry-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/project-ide/biz-plugin-registry-adapter/vitest.config.ts +++ b/frontend/packages/project-ide/biz-plugin-registry-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/project-ide/biz-plugin/src/hooks/typings.d.ts b/frontend/packages/project-ide/biz-plugin/src/hooks/typings.d.ts index 12630af8..6d4142a1 100644 --- a/frontend/packages/project-ide/biz-plugin/src/hooks/typings.d.ts +++ b/frontend/packages/project-ide/biz-plugin/src/hooks/typings.d.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare const IS_BOE: boolean; declare const IS_OVERSEA: boolean; diff --git a/frontend/packages/project-ide/biz-plugin/src/hooks/use-plugin-resource.tsx b/frontend/packages/project-ide/biz-plugin/src/hooks/use-plugin-resource.tsx index a4f4b867..efc336e0 100644 --- a/frontend/packages/project-ide/biz-plugin/src/hooks/use-plugin-resource.tsx +++ b/frontend/packages/project-ide/biz-plugin/src/hooks/use-plugin-resource.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { type ReactNode, useCallback, useState } from 'react'; diff --git a/frontend/packages/project-ide/biz-plugin/src/hooks/use-resource-operation.tsx b/frontend/packages/project-ide/biz-plugin/src/hooks/use-resource-operation.tsx index 8a443fe3..d24651c2 100644 --- a/frontend/packages/project-ide/biz-plugin/src/hooks/use-resource-operation.tsx +++ b/frontend/packages/project-ide/biz-plugin/src/hooks/use-resource-operation.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BizResourceType, useResourceCopyDispatch, diff --git a/frontend/packages/project-ide/biz-plugin/src/index.tsx b/frontend/packages/project-ide/biz-plugin/src/index.tsx index b4fbeb68..17602a8d 100644 --- a/frontend/packages/project-ide/biz-plugin/src/index.tsx +++ b/frontend/packages/project-ide/biz-plugin/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as usePluginResource } from './hooks/use-plugin-resource'; diff --git a/frontend/packages/project-ide/biz-plugin/src/main.tsx b/frontend/packages/project-ide/biz-plugin/src/main.tsx index 7d16e627..3f08f0a1 100644 --- a/frontend/packages/project-ide/biz-plugin/src/main.tsx +++ b/frontend/packages/project-ide/biz-plugin/src/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import React, { type ReactNode, useEffect } from 'react'; diff --git a/frontend/packages/project-ide/biz-plugin/src/types.ts b/frontend/packages/project-ide/biz-plugin/src/types.ts index 50f82593..bd470fe2 100644 --- a/frontend/packages/project-ide/biz-plugin/src/types.ts +++ b/frontend/packages/project-ide/biz-plugin/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ModuleType { TOOL = 'tool', MOCKSET_LIST = 'mockset_list', diff --git a/frontend/packages/project-ide/biz-workflow/src/components/index.ts b/frontend/packages/project-ide/biz-workflow/src/components/index.ts index 7383b3c1..f06f58f7 100644 --- a/frontend/packages/project-ide/biz-workflow/src/components/index.ts +++ b/frontend/packages/project-ide/biz-workflow/src/components/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowTooltip } from './workflow-tooltip'; export { WorkflowWidgetIcon } from './workflow-widget-icon'; diff --git a/frontend/packages/project-ide/biz-workflow/src/components/workflow-tooltip.tsx b/frontend/packages/project-ide/biz-workflow/src/components/workflow-tooltip.tsx index 05d7027e..146f345f 100644 --- a/frontend/packages/project-ide/biz-workflow/src/components/workflow-tooltip.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/components/workflow-tooltip.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/biz-workflow/src/components/workflow-widget-icon.tsx b/frontend/packages/project-ide/biz-workflow/src/components/workflow-widget-icon.tsx index 4e54a031..ce77f581 100644 --- a/frontend/packages/project-ide/biz-workflow/src/components/workflow-widget-icon.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/components/workflow-widget-icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect, useState, useMemo } from 'react'; import { WorkflowMode } from '@coze-arch/bot-api/workflow_api'; diff --git a/frontend/packages/project-ide/biz-workflow/src/constants.tsx b/frontend/packages/project-ide/biz-workflow/src/constants.tsx index a1ad9e65..954a4893 100644 --- a/frontend/packages/project-ide/biz-workflow/src/constants.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/constants.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozChat, IconCozWorkflow } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/chat-history/index.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/chat-history/index.tsx index a40db2ea..283b079a 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/chat-history/index.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/chat-history/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { Suspense, lazy, useMemo } from 'react'; import { userStoreService } from '@coze-studio/user-store'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/chat-history/use-skeleton.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/chat-history/use-skeleton.tsx index b1b994d0..1dcd64e6 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/chat-history/use-skeleton.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/chat-history/use-skeleton.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { Skeleton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/constants/index.ts b/frontend/packages/project-ide/biz-workflow/src/conversation/constants/index.ts index c68bccc7..b3b698f7 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/constants/index.ts +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; // Default session unique_id diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/conversation-content/edit-input.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/conversation-content/edit-input.tsx index 6af128cf..390766c6 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/conversation-content/edit-input.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/conversation-content/edit-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/conversation-content/index.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/conversation-content/index.tsx index 86758b7b..4a40433a 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/conversation-content/index.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/conversation-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Element } from 'react-scroll'; import { useLocation } from 'react-router-dom'; import React, { diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/dynamic-chat-list/index.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/dynamic-chat-list/index.tsx index d25ae512..6c0d51f5 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/dynamic-chat-list/index.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/dynamic-chat-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { scroller } from 'react-scroll'; import React, { useMemo, useRef, useState } from 'react'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/index.ts b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/index.ts index 3e6e4045..aed51a5b 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/index.ts +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDeleteChat } from './use-delete-chat'; export { useUpdateChat } from './use-update-chat'; export { useCreateChat } from './use-create-chat'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-batch-delete.ts b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-batch-delete.ts index 19bfc793..0ecf20c4 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-batch-delete.ts +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-batch-delete.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; import { diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-connector-list.ts b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-connector-list.ts index ed46142f..e6a293f7 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-connector-list.ts +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-connector-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, useMemo } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-conversation-list.ts b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-conversation-list.ts index f729e40b..0dd9dd1b 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-conversation-list.ts +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-conversation-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-create-chat.ts b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-create-chat.ts index dced7417..66e62c5f 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-create-chat.ts +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-create-chat.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-delete-chat/index.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-delete-chat/index.tsx index 8ce0bfdc..48d21201 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-delete-chat/index.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-delete-chat/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-update-chat.ts b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-update-chat.ts index 67ed3dbf..1c9f1eb5 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-update-chat.ts +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/hooks/use-update-chat.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { workflowApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/main.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/main.tsx index 9d6ae07b..b09d4cc0 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/main.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { TabBar } from '@coze-arch/coze-design'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/registry.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/registry.tsx index cf5204ee..62f5173a 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/registry.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/registry.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/static-chat-list/index.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/static-chat-list/index.tsx index 0fd3a027..152bd4a8 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/static-chat-list/index.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/static-chat-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { scroller } from 'react-scroll'; import React, { useState } from 'react'; diff --git a/frontend/packages/project-ide/biz-workflow/src/conversation/title-with-tooltip/index.tsx b/frontend/packages/project-ide/biz-workflow/src/conversation/title-with-tooltip/index.tsx index 0508bbb7..64feab6e 100644 --- a/frontend/packages/project-ide/biz-workflow/src/conversation/title-with-tooltip/index.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/conversation/title-with-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/debug.ts b/frontend/packages/project-ide/biz-workflow/src/hooks/debug.ts index 11be1914..83cef2c9 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/debug.ts +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/debug.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ProjectResourceActionKey } from '@coze-arch/bot-api/plugin_develop'; export const workflowActions = [ diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/index.ts b/frontend/packages/project-ide/biz-workflow/src/hooks/index.ts index 79a2a10e..8a420f36 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/index.ts +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useProjectApi } from './use-project-api'; export { useListenWFMessageEvent } from './use-listen-message-event'; diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/use-change-flow-mode.ts b/frontend/packages/project-ide/biz-workflow/src/hooks/use-change-flow-mode.ts index 0b11f8cf..550cab92 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/use-change-flow-mode.ts +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/use-change-flow-mode.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIDENavigate, getURIByResource, diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/use-import-library-workflow.tsx b/frontend/packages/project-ide/biz-workflow/src/hooks/use-import-library-workflow.tsx index 5f2c2d01..98a41aaa 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/use-import-library-workflow.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/use-import-library-workflow.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/use-listen-message-event.ts b/frontend/packages/project-ide/biz-workflow/src/hooks/use-listen-message-event.ts index 9424ac8d..5d489685 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/use-listen-message-event.ts +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/use-listen-message-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/use-name-validators.ts b/frontend/packages/project-ide/biz-workflow/src/hooks/use-name-validators.ts index 8bdad222..31bdc527 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/use-name-validators.ts +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/use-name-validators.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject } from 'react'; import { diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/use-project-api.ts b/frontend/packages/project-ide/biz-workflow/src/hooks/use-project-api.ts index 1f6e9cea..cde7f76e 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/use-project-api.ts +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/use-project-api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemoizedFn } from 'ahooks'; import { type ProjectApi } from '@coze-workflow/playground'; import { diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/use-refresh.ts b/frontend/packages/project-ide/biz-workflow/src/hooks/use-refresh.ts index f5c08dc4..d07888d5 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/use-refresh.ts +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/use-refresh.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type RefObject } from 'react'; import { type WorkflowPlaygroundRef } from '@coze-workflow/playground'; diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/use-resource-operation.tsx b/frontend/packages/project-ide/biz-workflow/src/hooks/use-resource-operation.tsx index 45e3f56c..938290cb 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/use-resource-operation.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/use-resource-operation.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BizResourceType, useResourceCopyDispatch, diff --git a/frontend/packages/project-ide/biz-workflow/src/hooks/use-workflow-resource.tsx b/frontend/packages/project-ide/biz-workflow/src/hooks/use-workflow-resource.tsx index 35214ae7..cadf4cf4 100644 --- a/frontend/packages/project-ide/biz-workflow/src/hooks/use-workflow-resource.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/hooks/use-workflow-resource.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, useCallback, @@ -250,15 +250,16 @@ export const useWorkflowResource = (): UseWorkflowResourceReturn => { const iconRender: ResourceFolderCozeProps['iconRender'] = useMemo( () => - ({ resource }) => ( - <> - { - WORKFLOW_SUB_TYPE_ICON_MAP[ - resource.res_sub_type || WorkflowMode.Workflow - ] - } - - ), + ({ resource }) => + ( + <> + { + WORKFLOW_SUB_TYPE_ICON_MAP[ + resource.res_sub_type || WorkflowMode.Workflow + ] + } + + ), [], ); diff --git a/frontend/packages/project-ide/biz-workflow/src/index.tsx b/frontend/packages/project-ide/biz-workflow/src/index.tsx index 334eb3d1..2b8fe9e5 100644 --- a/frontend/packages/project-ide/biz-workflow/src/index.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ResourceRefTooltip, usePluginDetail, diff --git a/frontend/packages/project-ide/biz-workflow/src/main.tsx b/frontend/packages/project-ide/biz-workflow/src/main.tsx index cdbffe3a..91cc13ae 100644 --- a/frontend/packages/project-ide/biz-workflow/src/main.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/main.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useEffect, useMemo, useRef } from 'react'; import { diff --git a/frontend/packages/project-ide/biz-workflow/src/registry.tsx b/frontend/packages/project-ide/biz-workflow/src/registry.tsx index cf1391e1..c9d7eec2 100644 --- a/frontend/packages/project-ide/biz-workflow/src/registry.tsx +++ b/frontend/packages/project-ide/biz-workflow/src/registry.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/project-ide/biz-workflow/src/type.ts b/frontend/packages/project-ide/biz-workflow/src/type.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/project-ide/biz-workflow/src/type.ts +++ b/frontend/packages/project-ide/biz-workflow/src/type.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/project-ide/biz-workflow/src/typings.d.ts b/frontend/packages/project-ide/biz-workflow/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/biz-workflow/src/typings.d.ts +++ b/frontend/packages/project-ide/biz-workflow/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/client/src/components/ide-client.tsx b/frontend/packages/project-ide/client/src/components/ide-client.tsx index 6240a4c9..0adff139 100644 --- a/frontend/packages/project-ide/client/src/components/ide-client.tsx +++ b/frontend/packages/project-ide/client/src/components/ide-client.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, forwardRef, diff --git a/frontend/packages/project-ide/client/src/components/index.tsx b/frontend/packages/project-ide/client/src/components/index.tsx index 5d0bf97e..3fef671a 100644 --- a/frontend/packages/project-ide/client/src/components/index.tsx +++ b/frontend/packages/project-ide/client/src/components/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IDEClient, type IDEClientProps } from './ide-client'; diff --git a/frontend/packages/project-ide/client/src/contributions/client-default-contribution.ts b/frontend/packages/project-ide/client/src/contributions/client-default-contribution.ts index b39190e5..7ec54b9e 100644 --- a/frontend/packages/project-ide/client/src/contributions/client-default-contribution.ts +++ b/frontend/packages/project-ide/client/src/contributions/client-default-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-empty-function */ import { inject, injectable } from 'inversify'; import { diff --git a/frontend/packages/project-ide/client/src/create-default-preset.ts b/frontend/packages/project-ide/client/src/create-default-preset.ts index 10fea132..927a6286 100644 --- a/frontend/packages/project-ide/client/src/create-default-preset.ts +++ b/frontend/packages/project-ide/client/src/create-default-preset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { bindContributions } from '@flowgram-adapter/common'; import { createHistoryPlugin } from '@flowgram-adapter/common'; import { diff --git a/frontend/packages/project-ide/client/src/index.ts b/frontend/packages/project-ide/client/src/index.ts index 93426d77..68bdf1bc 100644 --- a/frontend/packages/project-ide/client/src/index.ts +++ b/frontend/packages/project-ide/client/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from '@coze-project-ide/core'; export { diff --git a/frontend/packages/project-ide/client/src/types/index.ts b/frontend/packages/project-ide/client/src/types/index.ts index 4aef9d36..fb7d2275 100644 --- a/frontend/packages/project-ide/client/src/types/index.ts +++ b/frontend/packages/project-ide/client/src/types/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type IDEClientOptions, IDEClientContext } from './options'; diff --git a/frontend/packages/project-ide/client/src/types/options.ts b/frontend/packages/project-ide/client/src/types/options.ts index 911311f2..6c0556c8 100644 --- a/frontend/packages/project-ide/client/src/types/options.ts +++ b/frontend/packages/project-ide/client/src/types/options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ import { type interfaces } from 'inversify'; import { type AsClass } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/application/application.ts b/frontend/packages/project-ide/core/src/application/application.ts index 0f29ddfb..6bf98db6 100644 --- a/frontend/packages/project-ide/core/src/application/application.ts +++ b/frontend/packages/project-ide/core/src/application/application.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, inject, named } from 'inversify'; import { ContributionProvider, Emitter } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/application/container-module.ts b/frontend/packages/project-ide/core/src/application/container-module.ts index 33d4d390..693accf8 100644 --- a/frontend/packages/project-ide/core/src/application/container-module.ts +++ b/frontend/packages/project-ide/core/src/application/container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule, type interfaces } from 'inversify'; import { bindContributionProvider } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/application/index.ts b/frontend/packages/project-ide/core/src/application/index.ts index e056ab0c..df38018a 100644 --- a/frontend/packages/project-ide/core/src/application/index.ts +++ b/frontend/packages/project-ide/core/src/application/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Application } from './application'; export { IDEContainerModule } from './container-module'; diff --git a/frontend/packages/project-ide/core/src/command/create-command-plugin.ts b/frontend/packages/project-ide/core/src/command/create-command-plugin.ts index 01063a4b..e0d239fc 100644 --- a/frontend/packages/project-ide/core/src/command/create-command-plugin.ts +++ b/frontend/packages/project-ide/core/src/command/create-command-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { pick } from '@flowgram-adapter/common'; import { CommandContainerModule, diff --git a/frontend/packages/project-ide/core/src/command/index.ts b/frontend/packages/project-ide/core/src/command/index.ts index fb012ab5..b95274c8 100644 --- a/frontend/packages/project-ide/core/src/command/index.ts +++ b/frontend/packages/project-ide/core/src/command/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Command, CommandService, diff --git a/frontend/packages/project-ide/core/src/common/container-factory.ts b/frontend/packages/project-ide/core/src/common/container-factory.ts index a3aa04aa..086d5150 100644 --- a/frontend/packages/project-ide/core/src/common/container-factory.ts +++ b/frontend/packages/project-ide/core/src/common/container-factory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type interfaces } from 'inversify'; export const ContainerFactory = Symbol('ContainerFactory'); diff --git a/frontend/packages/project-ide/core/src/common/context-key-service.ts b/frontend/packages/project-ide/core/src/common/context-key-service.ts index d7bf12f0..cccfee6b 100644 --- a/frontend/packages/project-ide/core/src/common/context-key-service.ts +++ b/frontend/packages/project-ide/core/src/common/context-key-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; export enum ContextKey { diff --git a/frontend/packages/project-ide/core/src/common/index.ts b/frontend/packages/project-ide/core/src/common/index.ts index 00e9cb17..6a3a40df 100644 --- a/frontend/packages/project-ide/core/src/common/index.ts +++ b/frontend/packages/project-ide/core/src/common/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createLifecyclePlugin, definePluginCreator, diff --git a/frontend/packages/project-ide/core/src/common/lifecycle-contribution.ts b/frontend/packages/project-ide/core/src/common/lifecycle-contribution.ts index 370131b1..66cc2daf 100644 --- a/frontend/packages/project-ide/core/src/common/lifecycle-contribution.ts +++ b/frontend/packages/project-ide/core/src/common/lifecycle-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/method-signature-style */ import { type MaybePromise } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/common/open-service.ts b/frontend/packages/project-ide/core/src/common/open-service.ts index d855979c..cc6fc28b 100644 --- a/frontend/packages/project-ide/core/src/common/open-service.ts +++ b/frontend/packages/project-ide/core/src/common/open-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { named, injectable, inject } from 'inversify'; import { ContributionProvider, diff --git a/frontend/packages/project-ide/core/src/common/path.ts b/frontend/packages/project-ide/core/src/common/path.ts index 67179427..1733493d 100644 --- a/frontend/packages/project-ide/core/src/common/path.ts +++ b/frontend/packages/project-ide/core/src/common/path.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/prefer-as-const */ export class Path { static separator: '/' = '/'; diff --git a/frontend/packages/project-ide/core/src/common/plugin.ts b/frontend/packages/project-ide/core/src/common/plugin.ts index 3338dd5f..60856c48 100644 --- a/frontend/packages/project-ide/core/src/common/plugin.ts +++ b/frontend/packages/project-ide/core/src/common/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule, type interfaces } from 'inversify'; import type { MaybePromise } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/common/prioritizeable.spec.ts b/frontend/packages/project-ide/core/src/common/prioritizeable.spec.ts index 493f868c..3aca02e4 100644 --- a/frontend/packages/project-ide/core/src/common/prioritizeable.spec.ts +++ b/frontend/packages/project-ide/core/src/common/prioritizeable.spec.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, test, expect } from 'vitest'; import { diff --git a/frontend/packages/project-ide/core/src/common/prioritizeable.ts b/frontend/packages/project-ide/core/src/common/prioritizeable.ts index 8f1e346b..58c6e386 100644 --- a/frontend/packages/project-ide/core/src/common/prioritizeable.ts +++ b/frontend/packages/project-ide/core/src/common/prioritizeable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MaybeArray, type MaybePromise } from '@flowgram-adapter/common'; export interface Priority { diff --git a/frontend/packages/project-ide/core/src/common/storage-service.ts b/frontend/packages/project-ide/core/src/common/storage-service.ts index 6b191ab1..3a5af6a8 100644 --- a/frontend/packages/project-ide/core/src/common/storage-service.ts +++ b/frontend/packages/project-ide/core/src/common/storage-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, postConstruct } from 'inversify'; export const StorageService = Symbol('StorageService'); diff --git a/frontend/packages/project-ide/core/src/common/uri.spec.ts b/frontend/packages/project-ide/core/src/common/uri.spec.ts index 6501de12..24d77a12 100644 --- a/frontend/packages/project-ide/core/src/common/uri.spec.ts +++ b/frontend/packages/project-ide/core/src/common/uri.spec.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { URI } from './uri'; diff --git a/frontend/packages/project-ide/core/src/common/window-service.ts b/frontend/packages/project-ide/core/src/common/window-service.ts index a151592b..dc38747e 100644 --- a/frontend/packages/project-ide/core/src/common/window-service.ts +++ b/frontend/packages/project-ide/core/src/common/window-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { type Event, Emitter } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/event/create-event-plugin.ts b/frontend/packages/project-ide/core/src/event/create-event-plugin.ts index b253f615..99428e0e 100644 --- a/frontend/packages/project-ide/core/src/event/create-event-plugin.ts +++ b/frontend/packages/project-ide/core/src/event/create-event-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { definePluginCreator } from '../common'; import { EventContainerModule } from './event-container-module'; diff --git a/frontend/packages/project-ide/core/src/event/event-container-module.ts b/frontend/packages/project-ide/core/src/event/event-container-module.ts index 8d7ae6d7..7c4bdd5e 100644 --- a/frontend/packages/project-ide/core/src/event/event-container-module.ts +++ b/frontend/packages/project-ide/core/src/event/event-container-module.ts @@ -13,9 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; -import { bindContributionProvider, bindContributions } from '@flowgram-adapter/common'; +import { + bindContributionProvider, + bindContributions, +} from '@flowgram-adapter/common'; import { LifecycleContribution } from '../common'; import { EventRegistry } from './event-registry'; diff --git a/frontend/packages/project-ide/core/src/event/event-contribution.ts b/frontend/packages/project-ide/core/src/event/event-contribution.ts index 2ad09e2e..fbb30ac4 100644 --- a/frontend/packages/project-ide/core/src/event/event-contribution.ts +++ b/frontend/packages/project-ide/core/src/event/event-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Disposable } from '@flowgram-adapter/common'; export const EventService = Symbol('EventService'); diff --git a/frontend/packages/project-ide/core/src/event/event-registry.ts b/frontend/packages/project-ide/core/src/event/event-registry.ts index 7d606edc..bef563ee 100644 --- a/frontend/packages/project-ide/core/src/event/event-registry.ts +++ b/frontend/packages/project-ide/core/src/event/event-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, multiInject, optional } from 'inversify'; import { Disposable, DisposableCollection } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/event/index.ts b/frontend/packages/project-ide/core/src/event/index.ts index d624e9ad..7115af70 100644 --- a/frontend/packages/project-ide/core/src/event/index.ts +++ b/frontend/packages/project-ide/core/src/event/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createEventPlugin } from './create-event-plugin'; export { EventContribution, EventService } from './event-contribution'; diff --git a/frontend/packages/project-ide/core/src/index.ts b/frontend/packages/project-ide/core/src/index.ts index 9bef1732..599f7581 100644 --- a/frontend/packages/project-ide/core/src/index.ts +++ b/frontend/packages/project-ide/core/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** public function */ export { diff --git a/frontend/packages/project-ide/core/src/label/create-label-plugin.ts b/frontend/packages/project-ide/core/src/label/create-label-plugin.ts index a3f25c08..d4992a61 100644 --- a/frontend/packages/project-ide/core/src/label/create-label-plugin.ts +++ b/frontend/packages/project-ide/core/src/label/create-label-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { bindContributionProvider, bindContributions, diff --git a/frontend/packages/project-ide/core/src/label/index.ts b/frontend/packages/project-ide/core/src/label/index.ts index 22e715d1..ca86eaad 100644 --- a/frontend/packages/project-ide/core/src/label/index.ts +++ b/frontend/packages/project-ide/core/src/label/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type LabelChangeEvent, LabelHandler } from './label-handler'; export { LabelService } from './label-service'; export { diff --git a/frontend/packages/project-ide/core/src/label/label-handler.ts b/frontend/packages/project-ide/core/src/label/label-handler.ts index df52ecd7..67e87780 100644 --- a/frontend/packages/project-ide/core/src/label/label-handler.ts +++ b/frontend/packages/project-ide/core/src/label/label-handler.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Event } from '@flowgram-adapter/common'; import { type URI } from '../common'; diff --git a/frontend/packages/project-ide/core/src/label/label-manager.ts b/frontend/packages/project-ide/core/src/label/label-manager.ts index 3971838f..38a96950 100644 --- a/frontend/packages/project-ide/core/src/label/label-manager.ts +++ b/frontend/packages/project-ide/core/src/label/label-manager.ts @@ -13,11 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { injectable, inject, named } from 'inversify'; -import { Emitter, type Event, ContributionProvider } from '@flowgram-adapter/common'; +import { + Emitter, + type Event, + ContributionProvider, +} from '@flowgram-adapter/common'; import { type URI, diff --git a/frontend/packages/project-ide/core/src/label/label-service.ts b/frontend/packages/project-ide/core/src/label/label-service.ts index 795f6dd5..28b76c76 100644 --- a/frontend/packages/project-ide/core/src/label/label-service.ts +++ b/frontend/packages/project-ide/core/src/label/label-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Event } from '@flowgram-adapter/common'; import { type URI } from '../common'; diff --git a/frontend/packages/project-ide/core/src/label/uri-label.tsx b/frontend/packages/project-ide/core/src/label/uri-label.tsx index 9cf80d6a..8d81f8df 100644 --- a/frontend/packages/project-ide/core/src/label/uri-label.tsx +++ b/frontend/packages/project-ide/core/src/label/uri-label.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { URI } from '../common'; diff --git a/frontend/packages/project-ide/core/src/navigation/browser-history.ts b/frontend/packages/project-ide/core/src/navigation/browser-history.ts index d9b583bc..a2204ea0 100644 --- a/frontend/packages/project-ide/core/src/navigation/browser-history.ts +++ b/frontend/packages/project-ide/core/src/navigation/browser-history.ts @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { Disposable, DisposableCollection, Emitter } from '@flowgram-adapter/common'; + +import { + Disposable, + DisposableCollection, + Emitter, +} from '@flowgram-adapter/common'; import { type URI } from '../common'; diff --git a/frontend/packages/project-ide/core/src/navigation/create-navigation-plugin.ts b/frontend/packages/project-ide/core/src/navigation/create-navigation-plugin.ts index 5e0eaae5..5963df70 100644 --- a/frontend/packages/project-ide/core/src/navigation/create-navigation-plugin.ts +++ b/frontend/packages/project-ide/core/src/navigation/create-navigation-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { bindContributions } from '@flowgram-adapter/common'; import { ShortcutsContribution } from '../shortcut/shortcuts-service'; diff --git a/frontend/packages/project-ide/core/src/navigation/index.ts b/frontend/packages/project-ide/core/src/navigation/index.ts index 6dd778b4..ef42153e 100644 --- a/frontend/packages/project-ide/core/src/navigation/index.ts +++ b/frontend/packages/project-ide/core/src/navigation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NavigationService } from './navigation-service'; export { NavigationHistory } from './navigation-history'; export { diff --git a/frontend/packages/project-ide/core/src/navigation/navigation-contribution.ts b/frontend/packages/project-ide/core/src/navigation/navigation-contribution.ts index 895df6f8..02350bfd 100644 --- a/frontend/packages/project-ide/core/src/navigation/navigation-contribution.ts +++ b/frontend/packages/project-ide/core/src/navigation/navigation-contribution.ts @@ -13,9 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; -import { DisposableCollection, addEventListener } from '@flowgram-adapter/common'; +import { + DisposableCollection, + addEventListener, +} from '@flowgram-adapter/common'; import { type ShortcutsContribution, diff --git a/frontend/packages/project-ide/core/src/navigation/navigation-history.ts b/frontend/packages/project-ide/core/src/navigation/navigation-history.ts index 833e61bb..5c68d1cc 100644 --- a/frontend/packages/project-ide/core/src/navigation/navigation-history.ts +++ b/frontend/packages/project-ide/core/src/navigation/navigation-history.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { isNumber, diff --git a/frontend/packages/project-ide/core/src/navigation/navigation-service.ts b/frontend/packages/project-ide/core/src/navigation/navigation-service.ts index 6f973366..e0691529 100644 --- a/frontend/packages/project-ide/core/src/navigation/navigation-service.ts +++ b/frontend/packages/project-ide/core/src/navigation/navigation-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { DisposableCollection } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/preference/create-preferences-plugin.ts b/frontend/packages/project-ide/core/src/preference/create-preferences-plugin.ts index ea9faf73..1a42c647 100644 --- a/frontend/packages/project-ide/core/src/preference/create-preferences-plugin.ts +++ b/frontend/packages/project-ide/core/src/preference/create-preferences-plugin.ts @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { bindContributions, bindContributionProvider } from '@flowgram-adapter/common'; + +import { + bindContributions, + bindContributionProvider, +} from '@flowgram-adapter/common'; import { definePluginCreator, LifecycleContribution } from '../common'; import { PreferencesManager } from './preferences-manager'; diff --git a/frontend/packages/project-ide/core/src/preference/index.ts b/frontend/packages/project-ide/core/src/preference/index.ts index ae01a958..2b081574 100644 --- a/frontend/packages/project-ide/core/src/preference/index.ts +++ b/frontend/packages/project-ide/core/src/preference/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PreferenceContribution, type PreferenceSchema, diff --git a/frontend/packages/project-ide/core/src/preference/preference-contribution.ts b/frontend/packages/project-ide/core/src/preference/preference-contribution.ts index 3bc77305..841ddcf2 100644 --- a/frontend/packages/project-ide/core/src/preference/preference-contribution.ts +++ b/frontend/packages/project-ide/core/src/preference/preference-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaDecoration } from '@flowgram-adapter/common'; interface PreferenceSchema { diff --git a/frontend/packages/project-ide/core/src/preference/preferences-contribution.ts b/frontend/packages/project-ide/core/src/preference/preferences-contribution.ts index a617c47a..a2641b31 100644 --- a/frontend/packages/project-ide/core/src/preference/preferences-contribution.ts +++ b/frontend/packages/project-ide/core/src/preference/preferences-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable, named } from 'inversify'; import { ContributionProvider } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/preference/preferences-manager.ts b/frontend/packages/project-ide/core/src/preference/preferences-manager.ts index 991bd593..c70ee5b2 100644 --- a/frontend/packages/project-ide/core/src/preference/preferences-manager.ts +++ b/frontend/packages/project-ide/core/src/preference/preferences-manager.ts @@ -13,9 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; -import { isObject, type SchemaDecoration, Emitter } from '@flowgram-adapter/common'; +import { + isObject, + type SchemaDecoration, + Emitter, +} from '@flowgram-adapter/common'; import { type PreferenceSchema } from './preference-contribution'; diff --git a/frontend/packages/project-ide/core/src/renderer/context.ts b/frontend/packages/project-ide/core/src/renderer/context.ts index c8bc544e..bf5a9960 100644 --- a/frontend/packages/project-ide/core/src/renderer/context.ts +++ b/frontend/packages/project-ide/core/src/renderer/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const IDEContainerContext = React.createContext({}); diff --git a/frontend/packages/project-ide/core/src/renderer/ide-provider.tsx b/frontend/packages/project-ide/core/src/renderer/ide-provider.tsx index a02659cd..aeffe5e6 100644 --- a/frontend/packages/project-ide/core/src/renderer/ide-provider.tsx +++ b/frontend/packages/project-ide/core/src/renderer/ide-provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useEffect, diff --git a/frontend/packages/project-ide/core/src/renderer/ide-renderer.tsx b/frontend/packages/project-ide/core/src/renderer/ide-renderer.tsx index f1424978..d7192599 100644 --- a/frontend/packages/project-ide/core/src/renderer/ide-renderer.tsx +++ b/frontend/packages/project-ide/core/src/renderer/ide-renderer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useIDEContainer } from './use-ide-container'; diff --git a/frontend/packages/project-ide/core/src/renderer/index.ts b/frontend/packages/project-ide/core/src/renderer/index.ts index 3355e933..b04adcb9 100644 --- a/frontend/packages/project-ide/core/src/renderer/index.ts +++ b/frontend/packages/project-ide/core/src/renderer/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useIDEService } from './use-ide-service'; export { useRefresh } from './use-refresh'; export { useIDEContainer } from './use-ide-container'; diff --git a/frontend/packages/project-ide/core/src/renderer/use-ide-container.ts b/frontend/packages/project-ide/core/src/renderer/use-ide-container.ts index 0c9f4b6a..db55c062 100644 --- a/frontend/packages/project-ide/core/src/renderer/use-ide-container.ts +++ b/frontend/packages/project-ide/core/src/renderer/use-ide-container.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type interfaces } from 'inversify'; diff --git a/frontend/packages/project-ide/core/src/renderer/use-ide-service.ts b/frontend/packages/project-ide/core/src/renderer/use-ide-service.ts index 11316ec6..38790f6c 100644 --- a/frontend/packages/project-ide/core/src/renderer/use-ide-service.ts +++ b/frontend/packages/project-ide/core/src/renderer/use-ide-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type interfaces } from 'inversify'; import { useIDEContainer } from './use-ide-container'; diff --git a/frontend/packages/project-ide/core/src/renderer/use-location.ts b/frontend/packages/project-ide/core/src/renderer/use-location.ts index 44ff39af..0b5bdb90 100644 --- a/frontend/packages/project-ide/core/src/renderer/use-location.ts +++ b/frontend/packages/project-ide/core/src/renderer/use-location.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { NavigationService } from '../navigation'; diff --git a/frontend/packages/project-ide/core/src/renderer/use-navigation.ts b/frontend/packages/project-ide/core/src/renderer/use-navigation.ts index 651078aa..4037919f 100644 --- a/frontend/packages/project-ide/core/src/renderer/use-navigation.ts +++ b/frontend/packages/project-ide/core/src/renderer/use-navigation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { NavigationHistory, NavigationService } from '../navigation'; diff --git a/frontend/packages/project-ide/core/src/renderer/use-refresh.ts b/frontend/packages/project-ide/core/src/renderer/use-refresh.ts index 7b382c2a..7006928e 100644 --- a/frontend/packages/project-ide/core/src/renderer/use-refresh.ts +++ b/frontend/packages/project-ide/core/src/renderer/use-refresh.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useRefresh } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/renderer/use-styling.tsx b/frontend/packages/project-ide/core/src/renderer/use-styling.tsx index a309adca..cee698f0 100644 --- a/frontend/packages/project-ide/core/src/renderer/use-styling.tsx +++ b/frontend/packages/project-ide/core/src/renderer/use-styling.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/project-ide/core/src/renderer/use-theme.ts b/frontend/packages/project-ide/core/src/renderer/use-theme.ts index 13eae26d..b798303c 100644 --- a/frontend/packages/project-ide/core/src/renderer/use-theme.ts +++ b/frontend/packages/project-ide/core/src/renderer/use-theme.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { ThemeService } from '../styles'; diff --git a/frontend/packages/project-ide/core/src/resource/auto-save-resource.ts b/frontend/packages/project-ide/core/src/resource/auto-save-resource.ts index 5e387fa9..4a9e1de8 100644 --- a/frontend/packages/project-ide/core/src/resource/auto-save-resource.ts +++ b/frontend/packages/project-ide/core/src/resource/auto-save-resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, inject } from 'inversify'; import { type CancellationToken, @@ -38,10 +38,9 @@ export interface AutoSaveResourceOptions { */ @injectable() export abstract class AutoSaveResource< - CHANGE_SET = string, - INFO extends ResourceInfo = ResourceInfo, - > - implements Disposable, Resource + CHANGE_SET = string, + INFO extends ResourceInfo = ResourceInfo, +> implements Disposable, Resource { readonly autoSave: 'on' | 'off' = 'on'; diff --git a/frontend/packages/project-ide/core/src/resource/create-resource-plugin.ts b/frontend/packages/project-ide/core/src/resource/create-resource-plugin.ts index 527be922..83b31ae7 100644 --- a/frontend/packages/project-ide/core/src/resource/create-resource-plugin.ts +++ b/frontend/packages/project-ide/core/src/resource/create-resource-plugin.ts @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { type AsClass, bindContributionProvider } from '@flowgram-adapter/common'; + +import { + type AsClass, + bindContributionProvider, +} from '@flowgram-adapter/common'; // import { LabelHandler } from '../label'; import { definePluginCreator } from '../common'; diff --git a/frontend/packages/project-ide/core/src/resource/index.ts b/frontend/packages/project-ide/core/src/resource/index.ts index 039645dc..a57d549d 100644 --- a/frontend/packages/project-ide/core/src/resource/index.ts +++ b/frontend/packages/project-ide/core/src/resource/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type ResourcePluginOptions, createResourcePlugin, diff --git a/frontend/packages/project-ide/core/src/resource/resource-manager.ts b/frontend/packages/project-ide/core/src/resource/resource-manager.ts index 5c3641ce..c08fd6c1 100644 --- a/frontend/packages/project-ide/core/src/resource/resource-manager.ts +++ b/frontend/packages/project-ide/core/src/resource/resource-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, inject, named } from 'inversify'; import { ContributionProvider, Emitter } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/resource/resource-service.ts b/frontend/packages/project-ide/core/src/resource/resource-service.ts index d469b2f4..8d5b732b 100644 --- a/frontend/packages/project-ide/core/src/resource/resource-service.ts +++ b/frontend/packages/project-ide/core/src/resource/resource-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, inject } from 'inversify'; import { type URI } from '../common'; diff --git a/frontend/packages/project-ide/core/src/resource/resource.ts b/frontend/packages/project-ide/core/src/resource/resource.ts index 6ced6f33..fac0f19f 100644 --- a/frontend/packages/project-ide/core/src/resource/resource.ts +++ b/frontend/packages/project-ide/core/src/resource/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Disposable, type MaybePromise, diff --git a/frontend/packages/project-ide/core/src/resource/utils.ts b/frontend/packages/project-ide/core/src/resource/utils.ts index f2718a4d..200796f3 100644 --- a/frontend/packages/project-ide/core/src/resource/utils.ts +++ b/frontend/packages/project-ide/core/src/resource/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual } from 'lodash'; import { Emitter } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/shortcut/create-shortcuts-plugin.ts b/frontend/packages/project-ide/core/src/shortcut/create-shortcuts-plugin.ts index e813a38b..d3cf35be 100644 --- a/frontend/packages/project-ide/core/src/shortcut/create-shortcuts-plugin.ts +++ b/frontend/packages/project-ide/core/src/shortcut/create-shortcuts-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { definePluginCreator } from '../common'; import { type ShortcutsHandler, ShortcutsService } from './shortcuts-service'; import { ShortcutsContainerModule } from './shortcuts-container-module'; diff --git a/frontend/packages/project-ide/core/src/shortcut/index.ts b/frontend/packages/project-ide/core/src/shortcut/index.ts index 1d42d18d..2de20215 100644 --- a/frontend/packages/project-ide/core/src/shortcut/index.ts +++ b/frontend/packages/project-ide/core/src/shortcut/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ShortcutsContainerModule } from './shortcuts-container-module'; export { createShortcutsPlugin, diff --git a/frontend/packages/project-ide/core/src/shortcut/keybinding/index.ts b/frontend/packages/project-ide/core/src/shortcut/keybinding/index.ts index 1069a775..ce28297d 100644 --- a/frontend/packages/project-ide/core/src/shortcut/keybinding/index.ts +++ b/frontend/packages/project-ide/core/src/shortcut/keybinding/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Keybinding } from './keybinding'; export { KeybindingContribution, diff --git a/frontend/packages/project-ide/core/src/shortcut/keybinding/keybinding-service.ts b/frontend/packages/project-ide/core/src/shortcut/keybinding/keybinding-service.ts index 92c66e01..1cedaa9f 100644 --- a/frontend/packages/project-ide/core/src/shortcut/keybinding/keybinding-service.ts +++ b/frontend/packages/project-ide/core/src/shortcut/keybinding/keybinding-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { ContextMatcher, type LifecycleContribution } from '../../common'; diff --git a/frontend/packages/project-ide/core/src/shortcut/keybinding/keybinding.ts b/frontend/packages/project-ide/core/src/shortcut/keybinding/keybinding.ts index 44dc98c9..d2ef5204 100644 --- a/frontend/packages/project-ide/core/src/shortcut/keybinding/keybinding.ts +++ b/frontend/packages/project-ide/core/src/shortcut/keybinding/keybinding.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getKeyLabel, isKeyStringMatch } from '../utils'; export interface Keybinding { diff --git a/frontend/packages/project-ide/core/src/shortcut/shortcuts-container-module.ts b/frontend/packages/project-ide/core/src/shortcut/shortcuts-container-module.ts index 2695622b..62f8a286 100644 --- a/frontend/packages/project-ide/core/src/shortcut/shortcuts-container-module.ts +++ b/frontend/packages/project-ide/core/src/shortcut/shortcuts-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { bindContributionProvider } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/shortcut/shortcuts-service.tsx b/frontend/packages/project-ide/core/src/shortcut/shortcuts-service.tsx index 88603840..f0055eb1 100644 --- a/frontend/packages/project-ide/core/src/shortcut/shortcuts-service.tsx +++ b/frontend/packages/project-ide/core/src/shortcut/shortcuts-service.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/project-ide/core/src/shortcut/shortcuts/index.tsx b/frontend/packages/project-ide/core/src/shortcut/shortcuts/index.tsx index e8a3a76e..cecc2bb2 100644 --- a/frontend/packages/project-ide/core/src/shortcut/shortcuts/index.tsx +++ b/frontend/packages/project-ide/core/src/shortcut/shortcuts/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; const isMacOS = /(Macintosh|MacIntel|MacPPC|Mac68K|iPad)/.test( diff --git a/frontend/packages/project-ide/core/src/shortcut/utils/device.ts b/frontend/packages/project-ide/core/src/shortcut/utils/device.ts index 103a5009..2fd62022 100644 --- a/frontend/packages/project-ide/core/src/shortcut/utils/device.ts +++ b/frontend/packages/project-ide/core/src/shortcut/utils/device.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const isAppleDevice = /(mac|iphone|ipod|ipad)/i.test( typeof navigator !== 'undefined' ? navigator?.platform : '', ); diff --git a/frontend/packages/project-ide/core/src/shortcut/utils/dom.ts b/frontend/packages/project-ide/core/src/shortcut/utils/dom.ts index c7f3368a..70e86c37 100644 --- a/frontend/packages/project-ide/core/src/shortcut/utils/dom.ts +++ b/frontend/packages/project-ide/core/src/shortcut/utils/dom.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const domEditable = (dom: HTMLElement) => { const editableContent = dom.closest('div[contentEditable=true]'); if (editableContent) { diff --git a/frontend/packages/project-ide/core/src/shortcut/utils/index.ts b/frontend/packages/project-ide/core/src/shortcut/utils/index.ts index ea5e2ce8..86b7148d 100644 --- a/frontend/packages/project-ide/core/src/shortcut/utils/index.ts +++ b/frontend/packages/project-ide/core/src/shortcut/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { isKeyStringMatch } from './key-match'; export { getKeyLabel } from './key-label'; export { domEditable } from './dom'; diff --git a/frontend/packages/project-ide/core/src/shortcut/utils/key-label.ts b/frontend/packages/project-ide/core/src/shortcut/utils/key-label.ts index bdfe1321..695497a5 100644 --- a/frontend/packages/project-ide/core/src/shortcut/utils/key-label.ts +++ b/frontend/packages/project-ide/core/src/shortcut/utils/key-label.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isAppleDevice } from './device'; const BaseKey: Record = { diff --git a/frontend/packages/project-ide/core/src/shortcut/utils/key-match.ts b/frontend/packages/project-ide/core/src/shortcut/utils/key-match.ts index 3906caf5..6f74e677 100644 --- a/frontend/packages/project-ide/core/src/shortcut/utils/key-match.ts +++ b/frontend/packages/project-ide/core/src/shortcut/utils/key-match.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isAppleDevice } from './device'; // Keyboard Event keyCode Alias diff --git a/frontend/packages/project-ide/core/src/styles/color/color-contribution.ts b/frontend/packages/project-ide/core/src/styles/color/color-contribution.ts index d7b29bf7..f3e3b36b 100644 --- a/frontend/packages/project-ide/core/src/styles/color/color-contribution.ts +++ b/frontend/packages/project-ide/core/src/styles/color/color-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaDecoration } from '@flowgram-adapter/common'; import { type ColorService } from './color-service'; diff --git a/frontend/packages/project-ide/core/src/styles/color/color-service.ts b/frontend/packages/project-ide/core/src/styles/color/color-service.ts index b990a28c..07f74c25 100644 --- a/frontend/packages/project-ide/core/src/styles/color/color-service.ts +++ b/frontend/packages/project-ide/core/src/styles/color/color-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable, named } from 'inversify'; import { Disposable, diff --git a/frontend/packages/project-ide/core/src/styles/color/colors/base-colors.ts b/frontend/packages/project-ide/core/src/styles/color/colors/base-colors.ts index b9c27737..474722df 100644 --- a/frontend/packages/project-ide/core/src/styles/color/colors/base-colors.ts +++ b/frontend/packages/project-ide/core/src/styles/color/colors/base-colors.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ColorDefinition } from '../../types'; // white diff --git a/frontend/packages/project-ide/core/src/styles/color/colors/index.ts b/frontend/packages/project-ide/core/src/styles/color/colors/index.ts index 3084381c..b77e39b1 100644 --- a/frontend/packages/project-ide/core/src/styles/color/colors/index.ts +++ b/frontend/packages/project-ide/core/src/styles/color/colors/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { viewColors } from './view-colors'; import * as baseColors from './base-colors'; diff --git a/frontend/packages/project-ide/core/src/styles/color/colors/view-colors.ts b/frontend/packages/project-ide/core/src/styles/color/colors/view-colors.ts index 61eabdad..f9368498 100644 --- a/frontend/packages/project-ide/core/src/styles/color/colors/view-colors.ts +++ b/frontend/packages/project-ide/core/src/styles/color/colors/view-colors.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { baseBg0 } from './base-colors'; const viewColors = [ diff --git a/frontend/packages/project-ide/core/src/styles/color/index.ts b/frontend/packages/project-ide/core/src/styles/color/index.ts index 229ea220..12defac3 100644 --- a/frontend/packages/project-ide/core/src/styles/color/index.ts +++ b/frontend/packages/project-ide/core/src/styles/color/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ColorService } from './color-service'; export { ColorContribution } from './color-contribution'; export { colors } from './colors'; diff --git a/frontend/packages/project-ide/core/src/styles/create-styles-plugin.ts b/frontend/packages/project-ide/core/src/styles/create-styles-plugin.ts index ab0cba55..da7a4227 100644 --- a/frontend/packages/project-ide/core/src/styles/create-styles-plugin.ts +++ b/frontend/packages/project-ide/core/src/styles/create-styles-plugin.ts @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { bindContributions, bindContributionProvider } from '@flowgram-adapter/common'; + +import { + bindContributions, + bindContributionProvider, +} from '@flowgram-adapter/common'; import { definePluginCreator, LifecycleContribution } from '../common'; import { ThemeService } from './theme'; diff --git a/frontend/packages/project-ide/core/src/styles/index.ts b/frontend/packages/project-ide/core/src/styles/index.ts index e123d45c..c99874c6 100644 --- a/frontend/packages/project-ide/core/src/styles/index.ts +++ b/frontend/packages/project-ide/core/src/styles/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createStylesPlugin } from './create-styles-plugin'; export { StylingContribution, diff --git a/frontend/packages/project-ide/core/src/styles/styles-contribution.ts b/frontend/packages/project-ide/core/src/styles/styles-contribution.ts index b4c5cbab..23c49b58 100644 --- a/frontend/packages/project-ide/core/src/styles/styles-contribution.ts +++ b/frontend/packages/project-ide/core/src/styles/styles-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { Deferred, logger } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/styles/styling/index.ts b/frontend/packages/project-ide/core/src/styles/styling/index.ts index e2615e57..d59f1ca8 100644 --- a/frontend/packages/project-ide/core/src/styles/styling/index.ts +++ b/frontend/packages/project-ide/core/src/styles/styling/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { StylingService } from './styling-service'; export { StylingContribution, diff --git a/frontend/packages/project-ide/core/src/styles/styling/styling-contribution.ts b/frontend/packages/project-ide/core/src/styles/styling/styling-contribution.ts index b88d8516..887e84f5 100644 --- a/frontend/packages/project-ide/core/src/styles/styling/styling-contribution.ts +++ b/frontend/packages/project-ide/core/src/styles/styling/styling-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Theme } from '../types'; interface Collector { diff --git a/frontend/packages/project-ide/core/src/styles/styling/styling-service.ts b/frontend/packages/project-ide/core/src/styles/styling/styling-service.ts index 1f6f5daa..d2147a75 100644 --- a/frontend/packages/project-ide/core/src/styles/styling/styling-service.ts +++ b/frontend/packages/project-ide/core/src/styles/styling/styling-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, inject, named } from 'inversify'; import { ContributionProvider, diff --git a/frontend/packages/project-ide/core/src/styles/theme/index.ts b/frontend/packages/project-ide/core/src/styles/theme/index.ts index 93f04869..23c2048c 100644 --- a/frontend/packages/project-ide/core/src/styles/theme/index.ts +++ b/frontend/packages/project-ide/core/src/styles/theme/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ThemeService } from './theme-service'; diff --git a/frontend/packages/project-ide/core/src/styles/theme/theme-service.ts b/frontend/packages/project-ide/core/src/styles/theme/theme-service.ts index feecf208..aa400394 100644 --- a/frontend/packages/project-ide/core/src/styles/theme/theme-service.ts +++ b/frontend/packages/project-ide/core/src/styles/theme/theme-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { Emitter, type Event, Disposable } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/core/src/styles/types.ts b/frontend/packages/project-ide/core/src/styles/types.ts index b2dd0d7a..f5c57f5a 100644 --- a/frontend/packages/project-ide/core/src/styles/types.ts +++ b/frontend/packages/project-ide/core/src/styles/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * theme */ diff --git a/frontend/packages/project-ide/core/vitest.config.ts b/frontend/packages/project-ide/core/vitest.config.ts index 87399883..8716ad9c 100644 --- a/frontend/packages/project-ide/core/vitest.config.ts +++ b/frontend/packages/project-ide/core/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from 'vitest/config'; export default defineConfig({ diff --git a/frontend/packages/project-ide/core/vitest.setup.ts b/frontend/packages/project-ide/core/vitest.setup.ts index deda8415..9d7a10fd 100644 --- a/frontend/packages/project-ide/core/vitest.setup.ts +++ b/frontend/packages/project-ide/core/vitest.setup.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; diff --git a/frontend/packages/project-ide/framework/src/components/ide-client.tsx b/frontend/packages/project-ide/framework/src/components/ide-client.tsx index 92a0a843..1e21fb93 100644 --- a/frontend/packages/project-ide/framework/src/components/ide-client.tsx +++ b/frontend/packages/project-ide/framework/src/components/ide-client.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { IDEClient, type IDEClientOptions } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/components/index.ts b/frontend/packages/project-ide/framework/src/components/index.ts index d2719de5..0bce4cef 100644 --- a/frontend/packages/project-ide/framework/src/components/index.ts +++ b/frontend/packages/project-ide/framework/src/components/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ProjectIDEClient } from './ide-client'; export * from './resource-folder'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/constant.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/constant.ts index 3908b02b..c9bc4f47 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/constant.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ResourceTypeEnum } from './type'; import { BaseResourceContextMenuBtnType } from './hooks/use-right-click-panel/constant'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-collapsed-map.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-collapsed-map.ts index 0f2bfbe1..3062ec51 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-collapsed-map.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-collapsed-map.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useStateRef } from './uss-state-ref'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-context-change.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-context-change.ts index fc6b0206..3ceb2c1d 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-context-change.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-context-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { ContextKeyService, useIDEService } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/index.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/index.tsx index dfafcdb6..9f3ca746 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/index.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines-per-function */ /* eslint-disable @coze-arch/max-line-per-function */ diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/promise-controller.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/promise-controller.ts index 280adeed..5c17781d 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/promise-controller.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/promise-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + class PromiseController { private lastVersion: number; private callbacks: Array<(v: O) => void> = []; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/use-custom-validator.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/use-custom-validator.ts index adae838c..6688eb21 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/use-custom-validator.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-create-edit-resource/use-custom-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { type CustomValidatorPropsType } from '../../type'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-custom-event.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-custom-event.tsx index 3da6d703..6d990e8b 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-custom-event.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-custom-event.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef } from 'react'; enum EventKey { diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-focus-resource/index.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-focus-resource/index.ts index db1eb9ed..96c89d32 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-focus-resource/index.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-focus-resource/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { calcOffsetTopByCollapsedMap } from '../../utils'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/index.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/index.tsx index 3d63bd04..3980ad6d 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/index.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable complexity */ /* eslint-disable @coze-arch/max-line-per-function */ diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/use-drag-ui.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/use-drag-ui.tsx index 1715229f..acf12b0e 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/use-drag-ui.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/use-drag-ui.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef, useState } from 'react'; import { EventKey } from '../use-custom-event'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/utils.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/utils.ts index 2390d3a5..86489a62 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/utils.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-mouse-event/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type ConfigType, type IdType, type ResourceType } from '../../type'; import { MAX_DEEP, ROOT_KEY, ROOT_NODE } from '../../constant'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-optimism-ui/index.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-optimism-ui/index.ts index 1a784ede..5267fa44 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-optimism-ui/index.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-optimism-ui/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function */ import { useState } from 'react'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-register-command/index.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-register-command/index.ts index 87c79e85..c838ec56 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-register-command/index.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-register-command/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { CommandRegistry, useIDEService } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/constant.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/constant.ts index 83bf0ca5..c5899af1 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/constant.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum BaseResourceContextMenuBtnType { CreateFolder = 'resource-folder-create-folder', CreateResource = 'resource-folder-create-resource', diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/index.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/index.tsx index c370c87f..ab4d7c7e 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/index.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import type React from 'react'; import { useRef, useEffect } from 'react'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/util.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/util.ts index 19cce4a9..e7d950be 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/util.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-right-click-panel/util.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RightPanelConfigType } from '../../type'; import { ContextMenuConfigMap } from './constant'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-selected-change.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-selected-change.ts index b6147bd1..70018734 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-selected-change.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/use-selected-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; const useSelectedChange = ({ diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/uss-state-ref.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/uss-state-ref.ts index 0213f2db..7e1a1e10 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/uss-state-ref.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/hooks/uss-state-ref.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; const useStateRef = ( diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/index.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/index.tsx index 7532be31..db643875 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/index.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines */ /* eslint-disable max-lines-per-function */ diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/base-render.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/base-render.tsx index e2eae42e..20496d82 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/base-render.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/base-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type CommonComponentProps, ResourceTypeEnum } from '../type'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/item-render.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/item-render.tsx index 206d2b92..77eda720 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/item-render.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/item-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { type CommonComponentProps } from '../../type'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/memo-text.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/memo-text.tsx index f690bb79..5bf95811 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/memo-text.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/memo-text.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { memo } from 'react'; import { Typography, Highlight } from '@coze-arch/coze-design'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/more-tools.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/more-tools.tsx index 70d73bde..a878190e 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/more-tools.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/more-tools.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozMore } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/name-input.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/name-input.tsx index b0372492..30120b95 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/name-input.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/name-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef, useState } from 'react'; import { Input } from '@coze-arch/coze-design'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/static-error-msg-render.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/static-error-msg-render.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/static-error-msg-render.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/static-error-msg-render.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/file-render.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/file-render.tsx index eed8f165..d506244f 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/file-render.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/file-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type CommonComponentProps } from '../type'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/folder-render.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/folder-render.tsx index b845dbb0..b2d5a752 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/folder-render.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/folder-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type CommonComponentProps } from '../type'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/type.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/type.ts index 3c8ec561..3cf19cc7 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/type.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import type React from 'react'; import { type MutableRefObject } from 'react'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/utils/base-event.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/utils/base-event.ts index 752bbd2b..2f23e578 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/utils/base-event.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/utils/base-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ type Any = any; diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/utils/index.ts b/frontend/packages/project-ide/framework/src/components/resource-folder/utils/index.ts index 77b972b4..6844bf42 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/utils/index.ts +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IdType, type ResourceType, diff --git a/frontend/packages/project-ide/framework/src/components/resource-modal/success-content.tsx b/frontend/packages/project-ide/framework/src/components/resource-modal/success-content.tsx index 14c76478..cbe84076 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-modal/success-content.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-modal/success-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/framework/src/components/resource-modal/use-navigate-resource.tsx b/frontend/packages/project-ide/framework/src/components/resource-modal/use-navigate-resource.tsx index fba5fa67..161b5052 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-modal/use-navigate-resource.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-modal/use-navigate-resource.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ResType } from '@coze-arch/bot-api/plugin_develop'; export const useNavigateResource = diff --git a/frontend/packages/project-ide/framework/src/constants/commands.ts b/frontend/packages/project-ide/framework/src/constants/commands.ts index 9656873d..67b90ea1 100644 --- a/frontend/packages/project-ide/framework/src/constants/commands.ts +++ b/frontend/packages/project-ide/framework/src/constants/commands.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum CustomCommand { RELOAD = 'reload', } diff --git a/frontend/packages/project-ide/framework/src/constants/index.ts b/frontend/packages/project-ide/framework/src/constants/index.ts index 84c0130d..59c0e64f 100644 --- a/frontend/packages/project-ide/framework/src/constants/index.ts +++ b/frontend/packages/project-ide/framework/src/constants/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './uri'; export { CustomCommand } from './commands'; diff --git a/frontend/packages/project-ide/framework/src/constants/uri.ts b/frontend/packages/project-ide/framework/src/constants/uri.ts index 67230546..bc4c34e2 100644 --- a/frontend/packages/project-ide/framework/src/constants/uri.ts +++ b/frontend/packages/project-ide/framework/src/constants/uri.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { URI } from '@coze-project-ide/client'; export const URI_SCHEME = 'coze-project'; diff --git a/frontend/packages/project-ide/framework/src/context/index.ts b/frontend/packages/project-ide/framework/src/context/index.ts index 7b020fa8..fe6b3d40 100644 --- a/frontend/packages/project-ide/framework/src/context/index.ts +++ b/frontend/packages/project-ide/framework/src/context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IDEGlobalProvider, useIDEGlobalContext, diff --git a/frontend/packages/project-ide/framework/src/context/widget-context.ts b/frontend/packages/project-ide/framework/src/context/widget-context.ts index 82a7ad94..78c5877d 100644 --- a/frontend/packages/project-ide/framework/src/context/widget-context.ts +++ b/frontend/packages/project-ide/framework/src/context/widget-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type URI } from '@coze-project-ide/client'; import { type ProjectIDEServices } from '../types'; diff --git a/frontend/packages/project-ide/framework/src/global.d.ts b/frontend/packages/project-ide/framework/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/framework/src/global.d.ts +++ b/frontend/packages/project-ide/framework/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/framework/src/hooks/index.ts b/frontend/packages/project-ide/framework/src/hooks/index.ts index 0a5d374d..ad5dd27b 100644 --- a/frontend/packages/project-ide/framework/src/hooks/index.ts +++ b/frontend/packages/project-ide/framework/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSpaceId } from './use-space-id'; export { useProjectIDEServices } from './use-project-ide-services'; export { useCurrentWidgetContext } from './use-current-widget-context'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-activate-widget-context.ts b/frontend/packages/project-ide/framework/src/hooks/use-activate-widget-context.ts index 03369cfa..1f5b7bfc 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-activate-widget-context.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-activate-widget-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentWidgetFromArea, LayoutPanelType, diff --git a/frontend/packages/project-ide/framework/src/hooks/use-commit-version.tsx b/frontend/packages/project-ide/framework/src/hooks/use-commit-version.tsx index 79420ca2..8ed5b17f 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-commit-version.tsx +++ b/frontend/packages/project-ide/framework/src/hooks/use-commit-version.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIDEGlobalStore } from '../context'; export const useCommitVersion = () => { diff --git a/frontend/packages/project-ide/framework/src/hooks/use-current-mode-type.ts b/frontend/packages/project-ide/framework/src/hooks/use-current-mode-type.ts index b196d6b2..cdeae2d5 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-current-mode-type.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-current-mode-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useLocation } from 'react-router-dom'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-current-split-screen.ts b/frontend/packages/project-ide/framework/src/hooks/use-current-split-screen.ts index bea57946..bf982733 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-current-split-screen.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-current-split-screen.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { diff --git a/frontend/packages/project-ide/framework/src/hooks/use-current-widget-context.ts b/frontend/packages/project-ide/framework/src/hooks/use-current-widget-context.ts index c16db719..bce499de 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-current-widget-context.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-current-widget-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentWidget } from '@coze-project-ide/client'; import { type ProjectIDEWidget } from '@/widgets/project-ide-widget'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-get-ui-widget-from-id.ts b/frontend/packages/project-ide/framework/src/hooks/use-get-ui-widget-from-id.ts index ad62a49b..d9398ef2 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-get-ui-widget-from-id.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-get-ui-widget-from-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { URI, useIDEService, WidgetManager } from '@coze-project-ide/client'; import { type ProjectIDEWidget } from '../widgets/project-ide-widget'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-ide-location.ts b/frontend/packages/project-ide/framework/src/hooks/use-ide-location.ts index a61072f5..97b6911c 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-ide-location.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-ide-location.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useLayoutEffect, useRef, useState } from 'react'; import { type URI, useCurrentWidget } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-ide-navigate.ts b/frontend/packages/project-ide/framework/src/hooks/use-ide-navigate.ts index 1ebe248f..ac3fa1ee 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-ide-navigate.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-ide-navigate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, type NavigateOptions } from 'react-router-dom'; import { useCallback } from 'react'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-ide-service-in-biz.ts b/frontend/packages/project-ide/framework/src/hooks/use-ide-service-in-biz.ts index 0ea86b57..b55d2099 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-ide-service-in-biz.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-ide-service-in-biz.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type interfaces } from 'inversify'; import { useIDEContainer } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-message-event.ts b/frontend/packages/project-ide/framework/src/hooks/use-message-event.ts index a7a326cc..30d4231d 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-message-event.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-message-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useRef } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-project-id.ts b/frontend/packages/project-ide/framework/src/hooks/use-project-id.ts index 59c88e59..7642b73f 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-project-id.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-project-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIDEGlobalContext } from '../context'; export const useProjectId = () => { diff --git a/frontend/packages/project-ide/framework/src/hooks/use-project-ide-services.ts b/frontend/packages/project-ide/framework/src/hooks/use-project-ide-services.ts index 1efc8d03..8b1c16a6 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-project-ide-services.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-project-ide-services.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIDEService } from '@coze-project-ide/client'; import { ProjectIDEServices } from '../plugins/create-preset-plugin/project-ide-services'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-shortcuts.ts b/frontend/packages/project-ide/framework/src/hooks/use-shortcuts.ts index d879492e..f00ad591 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-shortcuts.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-shortcuts.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIDEService, ShortcutsService, diff --git a/frontend/packages/project-ide/framework/src/hooks/use-space-id.ts b/frontend/packages/project-ide/framework/src/hooks/use-space-id.ts index 2b32998d..0e63b7cd 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-space-id.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-space-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIDEGlobalContext } from '../context'; export const useSpaceId = () => { diff --git a/frontend/packages/project-ide/framework/src/hooks/use-title.ts b/frontend/packages/project-ide/framework/src/hooks/use-title.ts index 44c3d78f..8111fba9 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-title.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-title.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useCurrentWidgetContext } from './use-current-widget-context'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-view-service.ts b/frontend/packages/project-ide/framework/src/hooks/use-view-service.ts index 6bfe04cb..8f88972d 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-view-service.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-view-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewService } from '@/plugins/create-preset-plugin/view-service'; import { useProjectIDEServices } from './use-project-ide-services'; diff --git a/frontend/packages/project-ide/framework/src/hooks/use-ws-listener.ts b/frontend/packages/project-ide/framework/src/hooks/use-ws-listener.ts index fe42bbd0..7874710f 100644 --- a/frontend/packages/project-ide/framework/src/hooks/use-ws-listener.ts +++ b/frontend/packages/project-ide/framework/src/hooks/use-ws-listener.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect } from 'react'; import { useIDEService } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/index.ts b/frontend/packages/project-ide/framework/src/index.ts index 86c0ec13..7a0f3c96 100644 --- a/frontend/packages/project-ide/framework/src/index.ts +++ b/frontend/packages/project-ide/framework/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** pass-through sdk */ export { IDEClient, diff --git a/frontend/packages/project-ide/framework/src/plugins/close-confirm-plugin/close-confirm-contribution.ts b/frontend/packages/project-ide/framework/src/plugins/close-confirm-plugin/close-confirm-contribution.ts index 46c0a91f..d1b00a71 100644 --- a/frontend/packages/project-ide/framework/src/plugins/close-confirm-plugin/close-confirm-contribution.ts +++ b/frontend/packages/project-ide/framework/src/plugins/close-confirm-plugin/close-confirm-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type CommandContribution, diff --git a/frontend/packages/project-ide/framework/src/plugins/close-confirm-plugin/index.ts b/frontend/packages/project-ide/framework/src/plugins/close-confirm-plugin/index.ts index d4daf6b6..9a24d0d3 100644 --- a/frontend/packages/project-ide/framework/src/plugins/close-confirm-plugin/index.ts +++ b/frontend/packages/project-ide/framework/src/plugins/close-confirm-plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { bindContributions, definePluginCreator, diff --git a/frontend/packages/project-ide/framework/src/plugins/create-context-menu-plugin/index.ts b/frontend/packages/project-ide/framework/src/plugins/create-context-menu-plugin/index.ts index e3849b75..e0345ff3 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-context-menu-plugin/index.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-context-menu-plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { definePluginCreator, diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/index.ts b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/index.ts index dccd7b17..06331e91 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/index.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LabelHandler, LifecycleContribution, diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/lifecycle-service.ts b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/lifecycle-service.ts index 40e6284d..863d7c8d 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/lifecycle-service.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/lifecycle-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable, postConstruct } from 'inversify'; import { ApplicationShell, diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/preset-contribution.ts b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/preset-contribution.ts index 9e9ec8ae..793a25f4 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/preset-contribution.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/preset-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/project-ide-services.ts b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/project-ide-services.ts index 0241eda8..b97ced43 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/project-ide-services.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/project-ide-services.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { CommandService, diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/tooltip-contribution.tsx b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/tooltip-contribution.tsx index d1df39a8..27192ae0 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/tooltip-contribution.tsx +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/tooltip-contribution.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { inject, injectable, postConstruct } from 'inversify'; diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/view-service.ts b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/view-service.ts index c0d1da75..c633917c 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/view-service.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/view-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { ApplicationShell, @@ -119,8 +119,9 @@ export class ViewService { } async uiBuilderReopen() { - const uiBuilderWidget = - await this.widgetManager.getOrCreateWidgetFromURI(UI_BUILDER_CONTENT); + const uiBuilderWidget = await this.widgetManager.getOrCreateWidgetFromURI( + UI_BUILDER_CONTENT, + ); uiBuilderWidget.dispose(); this.openPanel('ui-builder'); } diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/widget-service.ts b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/widget-service.ts index 79fe596f..e3e3fd93 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/widget-service.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/widget-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { CommandRegistry, diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/index.tsx b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/index.tsx index cd0a81cc..05326a66 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/index.tsx +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Spin } from '@coze-arch/coze-design'; diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/use-lifecycle.ts b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/use-lifecycle.ts index 4ed349d2..61dbf9ce 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/use-lifecycle.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/use-lifecycle.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useCallback } from 'react'; import { diff --git a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/use-mount.ts b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/use-mount.ts index 4a1e1c30..498caf8e 100644 --- a/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/use-mount.ts +++ b/frontend/packages/project-ide/framework/src/plugins/create-preset-plugin/with-registry-content/use-mount.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * True mount timing of cgroup pieces */ diff --git a/frontend/packages/project-ide/framework/src/plugins/index.ts b/frontend/packages/project-ide/framework/src/plugins/index.ts index 95a96f8e..e80f68b7 100644 --- a/frontend/packages/project-ide/framework/src/plugins/index.ts +++ b/frontend/packages/project-ide/framework/src/plugins/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createPresetPlugin } from './create-preset-plugin'; export { createContextMenuPlugin } from './create-context-menu-plugin'; export { createCloseConfirmPlugin } from './close-confirm-plugin'; diff --git a/frontend/packages/project-ide/framework/src/services/error-service.ts b/frontend/packages/project-ide/framework/src/services/error-service.ts index 1ace5721..0c1478a4 100644 --- a/frontend/packages/project-ide/framework/src/services/error-service.ts +++ b/frontend/packages/project-ide/framework/src/services/error-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { Emitter, type Event } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/services/index.ts b/frontend/packages/project-ide/framework/src/services/index.ts index b2174290..4585ead0 100644 --- a/frontend/packages/project-ide/framework/src/services/index.ts +++ b/frontend/packages/project-ide/framework/src/services/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModalService, ModalType } from './modal-service'; export { ErrorService } from './error-service'; export { diff --git a/frontend/packages/project-ide/framework/src/services/message-event-service.ts b/frontend/packages/project-ide/framework/src/services/message-event-service.ts index 9b712c22..48e4fe0f 100644 --- a/frontend/packages/project-ide/framework/src/services/message-event-service.ts +++ b/frontend/packages/project-ide/framework/src/services/message-event-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, inject } from 'inversify'; import { Emitter, type URI, WidgetManager } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/services/modal-service.tsx b/frontend/packages/project-ide/framework/src/services/modal-service.tsx index cdb476c7..e74b8690 100644 --- a/frontend/packages/project-ide/framework/src/services/modal-service.tsx +++ b/frontend/packages/project-ide/framework/src/services/modal-service.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/use-error-in-catch */ import { inject, injectable } from 'inversify'; import { Emitter, type Event } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/types/client.ts b/frontend/packages/project-ide/framework/src/types/client.ts index dda91556..1043598e 100644 --- a/frontend/packages/project-ide/framework/src/types/client.ts +++ b/frontend/packages/project-ide/framework/src/types/client.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactElement } from 'react'; import { diff --git a/frontend/packages/project-ide/framework/src/types/index.ts b/frontend/packages/project-ide/framework/src/types/index.ts index 2f29a140..446ae797 100644 --- a/frontend/packages/project-ide/framework/src/types/index.ts +++ b/frontend/packages/project-ide/framework/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type WidgetRegistry, RegistryHandler } from './registry'; export type { WidgetUIState } from './widget'; export { type ProjectIDEServices } from './services'; diff --git a/frontend/packages/project-ide/framework/src/types/registry.ts b/frontend/packages/project-ide/framework/src/types/registry.ts index 9493b36b..05be2848 100644 --- a/frontend/packages/project-ide/framework/src/types/registry.ts +++ b/frontend/packages/project-ide/framework/src/types/registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type URI, type ReactWidget, diff --git a/frontend/packages/project-ide/framework/src/types/resource.ts b/frontend/packages/project-ide/framework/src/types/resource.ts index 2f67072e..d801833f 100644 --- a/frontend/packages/project-ide/framework/src/types/resource.ts +++ b/frontend/packages/project-ide/framework/src/types/resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * resource type */ diff --git a/frontend/packages/project-ide/framework/src/types/services.ts b/frontend/packages/project-ide/framework/src/types/services.ts index 5229b17f..a673ff3a 100644 --- a/frontend/packages/project-ide/framework/src/types/services.ts +++ b/frontend/packages/project-ide/framework/src/types/services.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewService } from '@/plugins/create-preset-plugin/view-service'; import { type WidgetContext } from '@/context/widget-context'; diff --git a/frontend/packages/project-ide/framework/src/types/widget.ts b/frontend/packages/project-ide/framework/src/types/widget.ts index d211da7f..633dd90c 100644 --- a/frontend/packages/project-ide/framework/src/types/widget.ts +++ b/frontend/packages/project-ide/framework/src/types/widget.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type WidgetUIState = 'loading' | 'saving' | 'error' | 'normal'; diff --git a/frontend/packages/project-ide/framework/src/utils/add-preserved-search-params.ts b/frontend/packages/project-ide/framework/src/utils/add-preserved-search-params.ts index bfa8cf69..571cac6e 100644 --- a/frontend/packages/project-ide/framework/src/utils/add-preserved-search-params.ts +++ b/frontend/packages/project-ide/framework/src/utils/add-preserved-search-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** reserved query parameters */ const PRESERVED_SEARCH_PARAMS = ['commit_version']; diff --git a/frontend/packages/project-ide/framework/src/utils/custom-layout.ts b/frontend/packages/project-ide/framework/src/utils/custom-layout.ts index 1149f787..36928287 100644 --- a/frontend/packages/project-ide/framework/src/utils/custom-layout.ts +++ b/frontend/packages/project-ide/framework/src/utils/custom-layout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ApplicationShell, createBoxLayout, diff --git a/frontend/packages/project-ide/framework/src/utils/index.ts b/frontend/packages/project-ide/framework/src/utils/index.ts index 51bcde9d..77da51fc 100644 --- a/frontend/packages/project-ide/framework/src/utils/index.ts +++ b/frontend/packages/project-ide/framework/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { customLayout } from './custom-layout'; export { withLazyLoad } from './with-lazy-load'; export { diff --git a/frontend/packages/project-ide/framework/src/utils/resource-tools.ts b/frontend/packages/project-ide/framework/src/utils/resource-tools.ts index e4d0e5ed..7797b266 100644 --- a/frontend/packages/project-ide/framework/src/utils/resource-tools.ts +++ b/frontend/packages/project-ide/framework/src/utils/resource-tools.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { URI } from '@coze-project-ide/client'; import { URI_SCHEME } from '../constants'; diff --git a/frontend/packages/project-ide/framework/src/utils/with-lazy-load.tsx b/frontend/packages/project-ide/framework/src/utils/with-lazy-load.tsx index 64673632..11c95ef4 100644 --- a/frontend/packages/project-ide/framework/src/utils/with-lazy-load.tsx +++ b/frontend/packages/project-ide/framework/src/utils/with-lazy-load.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { Suspense, lazy } from 'react'; const withLazyLoad = ( diff --git a/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/config-widget.tsx b/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/config-widget.tsx index 0f8de4e6..2000f4de 100644 --- a/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/config-widget.tsx +++ b/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/config-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/index.tsx b/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/index.tsx index 1b748937..49284f5b 100644 --- a/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/index.tsx +++ b/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, type interfaces } from 'inversify'; import { SplitWidget, type URI } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/resource-widget.tsx b/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/resource-widget.tsx index b9ed1746..d05070d8 100644 --- a/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/resource-widget.tsx +++ b/frontend/packages/project-ide/framework/src/widgets/primary-sidebar-widget/resource-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/project-ide/framework/src/widgets/project-ide-widget.tsx b/frontend/packages/project-ide/framework/src/widgets/project-ide-widget.tsx index fd92481e..1552a0e1 100644 --- a/frontend/packages/project-ide/framework/src/widgets/project-ide-widget.tsx +++ b/frontend/packages/project-ide/framework/src/widgets/project-ide-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type interfaces } from 'inversify'; import { Emitter, ReactWidget } from '@coze-project-ide/client'; diff --git a/frontend/packages/project-ide/main/src/components/browser-title/index.tsx b/frontend/packages/project-ide/main/src/components/browser-title/index.tsx index b3c0d18d..7d6ddf3f 100644 --- a/frontend/packages/project-ide/main/src/components/browser-title/index.tsx +++ b/frontend/packages/project-ide/main/src/components/browser-title/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Helmet } from 'react-helmet'; import React from 'react'; diff --git a/frontend/packages/project-ide/main/src/components/error-fallback/index.tsx b/frontend/packages/project-ide/main/src/components/error-fallback/index.tsx index bb19dae1..e11a8a01 100644 --- a/frontend/packages/project-ide/main/src/components/error-fallback/index.tsx +++ b/frontend/packages/project-ide/main/src/components/error-fallback/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozIllusError } from '@coze-arch/coze-design/illustrations'; diff --git a/frontend/packages/project-ide/main/src/components/global-handler/index.tsx b/frontend/packages/project-ide/main/src/components/global-handler/index.tsx index ecba03ef..00ac9359 100644 --- a/frontend/packages/project-ide/main/src/components/global-handler/index.tsx +++ b/frontend/packages/project-ide/main/src/components/global-handler/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { type WsMessageProps } from '@coze-project-ide/framework/src/types'; diff --git a/frontend/packages/project-ide/main/src/components/global-loading/index.tsx b/frontend/packages/project-ide/main/src/components/global-loading/index.tsx index 42d1600b..aac531d2 100644 --- a/frontend/packages/project-ide/main/src/components/global-loading/index.tsx +++ b/frontend/packages/project-ide/main/src/components/global-loading/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState } from 'react'; import { Spin } from '@coze-arch/coze-design'; diff --git a/frontend/packages/project-ide/main/src/components/global-modals/close-confirm-modal/index.tsx b/frontend/packages/project-ide/main/src/components/global-modals/close-confirm-modal/index.tsx index 3ae8a3a7..15f02300 100644 --- a/frontend/packages/project-ide/main/src/components/global-modals/close-confirm-modal/index.tsx +++ b/frontend/packages/project-ide/main/src/components/global-modals/close-confirm-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useCallback, useEffect, useRef } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/main/src/components/global-modals/index.tsx b/frontend/packages/project-ide/main/src/components/global-modals/index.tsx index b67dd2dc..e307221e 100644 --- a/frontend/packages/project-ide/main/src/components/global-modals/index.tsx +++ b/frontend/packages/project-ide/main/src/components/global-modals/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { ResourceModal } from './resource-modal'; diff --git a/frontend/packages/project-ide/main/src/components/global-modals/resource-modal/index.tsx b/frontend/packages/project-ide/main/src/components/global-modals/resource-modal/index.tsx index a0950fd3..4e7d26e9 100644 --- a/frontend/packages/project-ide/main/src/components/global-modals/resource-modal/index.tsx +++ b/frontend/packages/project-ide/main/src/components/global-modals/resource-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { diff --git a/frontend/packages/project-ide/main/src/components/global-modals/resource-modal/loop-content.tsx b/frontend/packages/project-ide/main/src/components/global-modals/resource-modal/loop-content.tsx index 65257111..c706250e 100644 --- a/frontend/packages/project-ide/main/src/components/global-modals/resource-modal/loop-content.tsx +++ b/frontend/packages/project-ide/main/src/components/global-modals/resource-modal/loop-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/main/src/components/index.ts b/frontend/packages/project-ide/main/src/components/index.ts index f39f8617..f7997f3b 100644 --- a/frontend/packages/project-ide/main/src/components/index.ts +++ b/frontend/packages/project-ide/main/src/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TopBar } from './top-bar'; export { PrimarySidebar } from './primary-sidebar'; export { widgetTitleRender } from './widget-title'; diff --git a/frontend/packages/project-ide/main/src/components/primary-sidebar/index.tsx b/frontend/packages/project-ide/main/src/components/primary-sidebar/index.tsx index 3ea51921..b5e2f44f 100644 --- a/frontend/packages/project-ide/main/src/components/primary-sidebar/index.tsx +++ b/frontend/packages/project-ide/main/src/components/primary-sidebar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, lazy, Suspense } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/project-ide/main/src/components/resource-list/index.tsx b/frontend/packages/project-ide/main/src/components/resource-list/index.tsx index 01f11789..5f88f759 100644 --- a/frontend/packages/project-ide/main/src/components/resource-list/index.tsx +++ b/frontend/packages/project-ide/main/src/components/resource-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { diff --git a/frontend/packages/project-ide/main/src/components/resource-list/use-resource-actions.tsx b/frontend/packages/project-ide/main/src/components/resource-list/use-resource-actions.tsx index d15db364..a76654a8 100644 --- a/frontend/packages/project-ide/main/src/components/resource-list/use-resource-actions.tsx +++ b/frontend/packages/project-ide/main/src/components/resource-list/use-resource-actions.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ResourceFolderProps, type ResourceType, diff --git a/frontend/packages/project-ide/main/src/components/resource-tree-modal/index.tsx b/frontend/packages/project-ide/main/src/components/resource-tree-modal/index.tsx index 6e621edf..7c7565b6 100644 --- a/frontend/packages/project-ide/main/src/components/resource-tree-modal/index.tsx +++ b/frontend/packages/project-ide/main/src/components/resource-tree-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; @@ -38,7 +38,13 @@ import { } from '@coze-arch/bot-api/workflow_api'; import { workflowApi } from '@coze-arch/bot-api'; import { IconCozCross, IconCozInfoCircle } from '@coze-arch/coze-design/icons'; -import { Modal, Button, Tooltip, Loading, Typography } from '@coze-arch/coze-design'; +import { + Modal, + Button, + Tooltip, + Loading, + Typography, +} from '@coze-arch/coze-design'; import { ResourceContent } from './resource-content'; diff --git a/frontend/packages/project-ide/main/src/components/resource-tree-modal/resource-content.tsx b/frontend/packages/project-ide/main/src/components/resource-tree-modal/resource-content.tsx index 5d3ad6ed..93bc92c6 100644 --- a/frontend/packages/project-ide/main/src/components/resource-tree-modal/resource-content.tsx +++ b/frontend/packages/project-ide/main/src/components/resource-tree-modal/resource-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ErrorBoundary } from 'react-error-boundary'; import React, { useCallback } from 'react'; diff --git a/frontend/packages/project-ide/main/src/components/sidebar-expand/index.tsx b/frontend/packages/project-ide/main/src/components/sidebar-expand/index.tsx index 73b1e5ed..fa366215 100644 --- a/frontend/packages/project-ide/main/src/components/sidebar-expand/index.tsx +++ b/frontend/packages/project-ide/main/src/components/sidebar-expand/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLocation } from 'react-router-dom'; import React, { useCallback, diff --git a/frontend/packages/project-ide/main/src/components/toolbar/full-screen-button/index.tsx b/frontend/packages/project-ide/main/src/components/toolbar/full-screen-button/index.tsx index c2afbdfa..fa7a410d 100644 --- a/frontend/packages/project-ide/main/src/components/toolbar/full-screen-button/index.tsx +++ b/frontend/packages/project-ide/main/src/components/toolbar/full-screen-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useEffect, useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/main/src/components/toolbar/index.tsx b/frontend/packages/project-ide/main/src/components/toolbar/index.tsx index 636ebc01..807aade9 100644 --- a/frontend/packages/project-ide/main/src/components/toolbar/index.tsx +++ b/frontend/packages/project-ide/main/src/components/toolbar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type ProjectIDEWidget } from '@coze-project-ide/framework'; diff --git a/frontend/packages/project-ide/main/src/components/toolbar/reload-button/index.tsx b/frontend/packages/project-ide/main/src/components/toolbar/reload-button/index.tsx index bf1c087e..7b7238d0 100644 --- a/frontend/packages/project-ide/main/src/components/toolbar/reload-button/index.tsx +++ b/frontend/packages/project-ide/main/src/components/toolbar/reload-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/main/src/components/top-bar/go-back-button.tsx b/frontend/packages/project-ide/main/src/components/top-bar/go-back-button.tsx index cedc9904..7a7585fa 100644 --- a/frontend/packages/project-ide/main/src/components/top-bar/go-back-button.tsx +++ b/frontend/packages/project-ide/main/src/components/top-bar/go-back-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import React, { useCallback } from 'react'; diff --git a/frontend/packages/project-ide/main/src/components/top-bar/index.tsx b/frontend/packages/project-ide/main/src/components/top-bar/index.tsx index 9a860549..a13aacad 100644 --- a/frontend/packages/project-ide/main/src/components/top-bar/index.tsx +++ b/frontend/packages/project-ide/main/src/components/top-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Row, Col } from '@coze-arch/coze-design'; diff --git a/frontend/packages/project-ide/main/src/components/top-bar/operators/index.tsx b/frontend/packages/project-ide/main/src/components/top-bar/operators/index.tsx index dc057a73..dcbd92f1 100644 --- a/frontend/packages/project-ide/main/src/components/top-bar/operators/index.tsx +++ b/frontend/packages/project-ide/main/src/components/top-bar/operators/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import React, { type PropsWithChildren, useCallback } from 'react'; diff --git a/frontend/packages/project-ide/main/src/components/top-bar/operators/monetize/index.tsx b/frontend/packages/project-ide/main/src/components/top-bar/operators/monetize/index.tsx index 70ddbf55..0c2f5e76 100644 --- a/frontend/packages/project-ide/main/src/components/top-bar/operators/monetize/index.tsx +++ b/frontend/packages/project-ide/main/src/components/top-bar/operators/monetize/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/project-ide/main/src/components/top-bar/project-info/index.tsx b/frontend/packages/project-ide/main/src/components/top-bar/project-info/index.tsx index 4b056aa2..01ff2014 100644 --- a/frontend/packages/project-ide/main/src/components/top-bar/project-info/index.tsx +++ b/frontend/packages/project-ide/main/src/components/top-bar/project-info/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/project-ide/main/src/components/top-bar/project-info/info-content.tsx b/frontend/packages/project-ide/main/src/components/top-bar/project-info/info-content.tsx index 81a1ab99..0d62f1e8 100644 --- a/frontend/packages/project-ide/main/src/components/top-bar/project-info/info-content.tsx +++ b/frontend/packages/project-ide/main/src/components/top-bar/project-info/info-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/project-ide/main/src/components/ui-builder/index.tsx b/frontend/packages/project-ide/main/src/components/ui-builder/index.tsx index 89591eed..a47f44c2 100644 --- a/frontend/packages/project-ide/main/src/components/ui-builder/index.tsx +++ b/frontend/packages/project-ide/main/src/components/ui-builder/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { UIBuilder as RawUIBuilder } from '@coze-project-ide/ui-adapter'; diff --git a/frontend/packages/project-ide/main/src/components/widget-default-renderer/index.tsx b/frontend/packages/project-ide/main/src/components/widget-default-renderer/index.tsx index c146df01..6d0cf8f0 100644 --- a/frontend/packages/project-ide/main/src/components/widget-default-renderer/index.tsx +++ b/frontend/packages/project-ide/main/src/components/widget-default-renderer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { diff --git a/frontend/packages/project-ide/main/src/components/widget-default-renderer/shortcut-item/index.tsx b/frontend/packages/project-ide/main/src/components/widget-default-renderer/shortcut-item/index.tsx index 0fc0c0ce..1b17f562 100644 --- a/frontend/packages/project-ide/main/src/components/widget-default-renderer/shortcut-item/index.tsx +++ b/frontend/packages/project-ide/main/src/components/widget-default-renderer/shortcut-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import styles from './styles.module.less'; diff --git a/frontend/packages/project-ide/main/src/components/widget-fallback/index.tsx b/frontend/packages/project-ide/main/src/components/widget-fallback/index.tsx index 29081071..a22808ef 100644 --- a/frontend/packages/project-ide/main/src/components/widget-fallback/index.tsx +++ b/frontend/packages/project-ide/main/src/components/widget-fallback/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type ReactWidget } from '@coze-project-ide/framework'; diff --git a/frontend/packages/project-ide/main/src/components/widget-title/index.tsx b/frontend/packages/project-ide/main/src/components/widget-title/index.tsx index cf0e351f..4f08a6a1 100644 --- a/frontend/packages/project-ide/main/src/components/widget-title/index.tsx +++ b/frontend/packages/project-ide/main/src/components/widget-title/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useState, useCallback } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/project-ide/main/src/constants/styles.ts b/frontend/packages/project-ide/main/src/constants/styles.ts index 18a85809..ac72dc8a 100644 --- a/frontend/packages/project-ide/main/src/constants/styles.ts +++ b/frontend/packages/project-ide/main/src/constants/styles.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const HEADER_HEIGHT = 44; diff --git a/frontend/packages/project-ide/main/src/global.d.ts b/frontend/packages/project-ide/main/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/main/src/global.d.ts +++ b/frontend/packages/project-ide/main/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/main/src/hooks/index.ts b/frontend/packages/project-ide/main/src/hooks/index.ts index 4e7c4c4a..d5ed0096 100644 --- a/frontend/packages/project-ide/main/src/hooks/index.ts +++ b/frontend/packages/project-ide/main/src/hooks/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useProjectInfo } from './use-project-info'; diff --git a/frontend/packages/project-ide/main/src/hooks/use-project-info.ts b/frontend/packages/project-ide/main/src/hooks/use-project-info.ts index ebb13be2..4992f424 100644 --- a/frontend/packages/project-ide/main/src/hooks/use-project-info.ts +++ b/frontend/packages/project-ide/main/src/hooks/use-project-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { diff --git a/frontend/packages/project-ide/main/src/layout.tsx b/frontend/packages/project-ide/main/src/layout.tsx index 64042ecd..e5eb7239 100644 --- a/frontend/packages/project-ide/main/src/layout.tsx +++ b/frontend/packages/project-ide/main/src/layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import React from 'react'; diff --git a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/app-contribution.ts b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/app-contribution.ts index 07fe96d0..66c5353b 100644 --- a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/app-contribution.ts +++ b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/app-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Project ide app life cycle */ diff --git a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/index.ts b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/index.ts index 18c4b455..368d214a 100644 --- a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/index.ts +++ b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Plugin to host the business logic of the project ide app */ diff --git a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/layout-restore-service.ts b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/layout-restore-service.ts index 6d7c6dad..2b1035b7 100644 --- a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/layout-restore-service.ts +++ b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/layout-restore-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Business layer data persistence */ diff --git a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/open-url-resource-service.ts b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/open-url-resource-service.ts index 8168a005..d8ade4ed 100644 --- a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/open-url-resource-service.ts +++ b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/open-url-resource-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Open resources carried on the url when the project ide app is initialized */ diff --git a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/project-info-service.ts b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/project-info-service.ts index feb9963b..d4ca6788 100644 --- a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/project-info-service.ts +++ b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/project-info-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { userStoreService } from '@coze-studio/user-store'; import { type ProjectFormValues } from '@coze-studio/project-entity-adapter'; diff --git a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/utils/layout-store.ts b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/utils/layout-store.ts index 5bb66d83..9e699980 100644 --- a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/utils/layout-store.ts +++ b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/utils/layout-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Dexie, type EntityTable } from 'dexie'; /** diff --git a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/widget-event-service.ts b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/widget-event-service.ts index 17cfe9ab..c265e053 100644 --- a/frontend/packages/project-ide/main/src/plugins/create-app-plugin/widget-event-service.ts +++ b/frontend/packages/project-ide/main/src/plugins/create-app-plugin/widget-event-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Business logic that needs to be executed to listen for widget events */ diff --git a/frontend/packages/project-ide/main/src/plugins/index.ts b/frontend/packages/project-ide/main/src/plugins/index.ts index 3dcf9cbb..1ed2869a 100644 --- a/frontend/packages/project-ide/main/src/plugins/index.ts +++ b/frontend/packages/project-ide/main/src/plugins/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createAppPlugin } from './create-app-plugin'; diff --git a/frontend/packages/project-ide/ui-adapter/src/components/index.ts b/frontend/packages/project-ide/ui-adapter/src/components/index.ts index 8d63ac29..26c5162f 100644 --- a/frontend/packages/project-ide/ui-adapter/src/components/index.ts +++ b/frontend/packages/project-ide/ui-adapter/src/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModeTab } from './mode-tab'; export { LeftContentButtons } from './left-content-buttons'; export { SecondarySidebar } from './secondary-sidebar'; diff --git a/frontend/packages/project-ide/ui-adapter/src/components/left-content-buttons/index.tsx b/frontend/packages/project-ide/ui-adapter/src/components/left-content-buttons/index.tsx index 56e3e95d..eca866ba 100644 --- a/frontend/packages/project-ide/ui-adapter/src/components/left-content-buttons/index.tsx +++ b/frontend/packages/project-ide/ui-adapter/src/components/left-content-buttons/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // The @file open-source version does not provide historical recording for the time being. The methods exported in this file are for future expansion. export const LeftContentButtons = () => null; diff --git a/frontend/packages/project-ide/ui-adapter/src/components/mode-tab/index.tsx b/frontend/packages/project-ide/ui-adapter/src/components/mode-tab/index.tsx index 88746560..b3347fc7 100644 --- a/frontend/packages/project-ide/ui-adapter/src/components/mode-tab/index.tsx +++ b/frontend/packages/project-ide/ui-adapter/src/components/mode-tab/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // The @file open source version does not provide user interface functions for the time being. The methods exported in this file are for future expansion. export const ModeTab = () => null; diff --git a/frontend/packages/project-ide/ui-adapter/src/components/secondary-sidebar/index.tsx b/frontend/packages/project-ide/ui-adapter/src/components/secondary-sidebar/index.tsx index 3e6744b9..59f4a160 100644 --- a/frontend/packages/project-ide/ui-adapter/src/components/secondary-sidebar/index.tsx +++ b/frontend/packages/project-ide/ui-adapter/src/components/secondary-sidebar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // The @file open-source version does not provide historical recording for the time being. The methods exported in this file are for future expansion. import React from 'react'; diff --git a/frontend/packages/project-ide/ui-adapter/src/components/ui-builder/index.ts b/frontend/packages/project-ide/ui-adapter/src/components/ui-builder/index.ts index 37d72ddd..246ab21d 100644 --- a/frontend/packages/project-ide/ui-adapter/src/components/ui-builder/index.ts +++ b/frontend/packages/project-ide/ui-adapter/src/components/ui-builder/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // The @file open source version does not provide user interface functions for the time being. The methods exported in this file are for future expansion. export const UIBuilder = (_props: any) => null; diff --git a/frontend/packages/project-ide/ui-adapter/src/global.d.ts b/frontend/packages/project-ide/ui-adapter/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/project-ide/ui-adapter/src/global.d.ts +++ b/frontend/packages/project-ide/ui-adapter/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/project-ide/ui-adapter/src/hooks/index.ts b/frontend/packages/project-ide/ui-adapter/src/hooks/index.ts index 4a09b332..b6c783a5 100644 --- a/frontend/packages/project-ide/ui-adapter/src/hooks/index.ts +++ b/frontend/packages/project-ide/ui-adapter/src/hooks/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCommitVersion } from './use-commit-version'; diff --git a/frontend/packages/project-ide/ui-adapter/src/hooks/use-commit-version.ts b/frontend/packages/project-ide/ui-adapter/src/hooks/use-commit-version.ts index 4539258e..78904f46 100644 --- a/frontend/packages/project-ide/ui-adapter/src/hooks/use-commit-version.ts +++ b/frontend/packages/project-ide/ui-adapter/src/hooks/use-commit-version.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useIDEGlobalStore } from '@coze-project-ide/base-interface'; export const useCommitVersion = () => { diff --git a/frontend/packages/project-ide/ui-adapter/src/index.ts b/frontend/packages/project-ide/ui-adapter/src/index.ts index 3a5a7332..f7257244 100644 --- a/frontend/packages/project-ide/ui-adapter/src/index.ts +++ b/frontend/packages/project-ide/ui-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCommitVersion } from './hooks'; export { IDEGlobalProvider, diff --git a/frontend/packages/project-ide/ui-adapter/vitest.config.ts b/frontend/packages/project-ide/ui-adapter/vitest.config.ts index ffaceecf..09124151 100644 --- a/frontend/packages/project-ide/ui-adapter/vitest.config.ts +++ b/frontend/packages/project-ide/ui-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/project-ide/view/src/components/activity-bar/index.tsx b/frontend/packages/project-ide/view/src/components/activity-bar/index.tsx index f26cf111..20378316 100644 --- a/frontend/packages/project-ide/view/src/components/activity-bar/index.tsx +++ b/frontend/packages/project-ide/view/src/components/activity-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { clsx } from 'clsx'; diff --git a/frontend/packages/project-ide/view/src/components/activity-bar/styles.ts b/frontend/packages/project-ide/view/src/components/activity-bar/styles.ts index eb903866..15d1d3dc 100644 --- a/frontend/packages/project-ide/view/src/components/activity-bar/styles.ts +++ b/frontend/packages/project-ide/view/src/components/activity-bar/styles.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useStyling as useStylingCore } from '@coze-project-ide/core'; export const useStyling = () => { diff --git a/frontend/packages/project-ide/view/src/components/scroll-bar/types/perfect-scrollbar.d.ts b/frontend/packages/project-ide/view/src/components/scroll-bar/types/perfect-scrollbar.d.ts index 5758cf4d..cefbfdfb 100644 --- a/frontend/packages/project-ide/view/src/components/scroll-bar/types/perfect-scrollbar.d.ts +++ b/frontend/packages/project-ide/view/src/components/scroll-bar/types/perfect-scrollbar.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare namespace PerfectScrollbar { export interface Options { handlers?: string[]; @@ -72,7 +72,7 @@ declare class PerfectScrollbar { scrollbarYRight: number; scrollbarYTop: number; settings: PerfectScrollbar.Options; - reach: { x: 'start' | 'end' | null, y: 'start' | 'end' | null }; + reach: { x: 'start' | 'end' | null; y: 'start' | 'end' | null }; } export default PerfectScrollbar; diff --git a/frontend/packages/project-ide/view/src/components/status-bar/index.tsx b/frontend/packages/project-ide/view/src/components/status-bar/index.tsx index 7a286607..ccf8062e 100644 --- a/frontend/packages/project-ide/view/src/components/status-bar/index.tsx +++ b/frontend/packages/project-ide/view/src/components/status-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { diff --git a/frontend/packages/project-ide/view/src/constants/area-id.ts b/frontend/packages/project-ide/view/src/constants/area-id.ts index 656d1608..582b0b90 100644 --- a/frontend/packages/project-ide/view/src/constants/area-id.ts +++ b/frontend/packages/project-ide/view/src/constants/area-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const MAIN_PANEL_ID = 'flowide-main-panel'; export const BOTTOM_PANEL_ID = 'flowide-bottom-panel'; diff --git a/frontend/packages/project-ide/view/src/constants/class-names.ts b/frontend/packages/project-ide/view/src/constants/class-names.ts index 1dabd22c..758efef3 100644 --- a/frontend/packages/project-ide/view/src/constants/class-names.ts +++ b/frontend/packages/project-ide/view/src/constants/class-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const CUSTOM_TAB_BAR_CONTAINER = 'custom-tabBar-container'; // Previous actions diff --git a/frontend/packages/project-ide/view/src/constants/dock-panel.ts b/frontend/packages/project-ide/view/src/constants/dock-panel.ts index 6be9bae0..792df1d1 100644 --- a/frontend/packages/project-ide/view/src/constants/dock-panel.ts +++ b/frontend/packages/project-ide/view/src/constants/dock-panel.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const SINGLE_MODE = 'single-document'; diff --git a/frontend/packages/project-ide/view/src/constants/hover.ts b/frontend/packages/project-ide/view/src/constants/hover.ts index fd55f7af..bcbd4f42 100644 --- a/frontend/packages/project-ide/view/src/constants/hover.ts +++ b/frontend/packages/project-ide/view/src/constants/hover.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { URI } from '@coze-project-ide/core'; export const HOVER_TOOLTIP_LABEL = new URI('flowide:///hover/tooltip-label'); diff --git a/frontend/packages/project-ide/view/src/constants/index.ts b/frontend/packages/project-ide/view/src/constants/index.ts index 9e06a8de..dd017ade 100644 --- a/frontend/packages/project-ide/view/src/constants/index.ts +++ b/frontend/packages/project-ide/view/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VIEW_CONTAINER_CLASS_NAME, PANEL_CLASS_NAME_MAP } from './view'; export * from './class-names'; export * from './hover'; diff --git a/frontend/packages/project-ide/view/src/constants/view-options.ts b/frontend/packages/project-ide/view/src/constants/view-options.ts index 8f8d2e4e..2b31fa8b 100644 --- a/frontend/packages/project-ide/view/src/constants/view-options.ts +++ b/frontend/packages/project-ide/view/src/constants/view-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewPluginOptions } from '../types'; export const ViewOptions = Symbol('ViewOptions'); export type ViewOptions = ViewPluginOptions; diff --git a/frontend/packages/project-ide/view/src/constants/view.ts b/frontend/packages/project-ide/view/src/constants/view.ts index 8c446bbe..9213a058 100644 --- a/frontend/packages/project-ide/view/src/constants/view.ts +++ b/frontend/packages/project-ide/view/src/constants/view.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { URI } from '@coze-project-ide/core'; import { LayoutPanelType } from '../types'; diff --git a/frontend/packages/project-ide/view/src/contributions/activity-bar-contribution.ts b/frontend/packages/project-ide/view/src/contributions/activity-bar-contribution.ts index 275b2246..927c5a9e 100644 --- a/frontend/packages/project-ide/view/src/contributions/activity-bar-contribution.ts +++ b/frontend/packages/project-ide/view/src/contributions/activity-bar-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type interfaces } from 'inversify'; import { type URI } from '@coze-project-ide/core'; diff --git a/frontend/packages/project-ide/view/src/contributions/context-menu/context-menu-container-module.ts b/frontend/packages/project-ide/view/src/contributions/context-menu/context-menu-container-module.ts index 68e9ee38..798ab299 100644 --- a/frontend/packages/project-ide/view/src/contributions/context-menu/context-menu-container-module.ts +++ b/frontend/packages/project-ide/view/src/contributions/context-menu/context-menu-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { bindContributions } from '@flowgram-adapter/common'; import { LifecycleContribution } from '@coze-project-ide/core'; diff --git a/frontend/packages/project-ide/view/src/contributions/context-menu/context-menu.ts b/frontend/packages/project-ide/view/src/contributions/context-menu/context-menu.ts index 173c92d7..c7f4eb2f 100644 --- a/frontend/packages/project-ide/view/src/contributions/context-menu/context-menu.ts +++ b/frontend/packages/project-ide/view/src/contributions/context-menu/context-menu.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { inject, injectable, postConstruct } from 'inversify'; diff --git a/frontend/packages/project-ide/view/src/contributions/context-menu/create-context-menu-plugin.ts b/frontend/packages/project-ide/view/src/contributions/context-menu/create-context-menu-plugin.ts index f2761833..a7698383 100644 --- a/frontend/packages/project-ide/view/src/contributions/context-menu/create-context-menu-plugin.ts +++ b/frontend/packages/project-ide/view/src/contributions/context-menu/create-context-menu-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { definePluginCreator } from '@coze-project-ide/core'; import { ContextMenuContainerModule } from './context-menu-container-module'; diff --git a/frontend/packages/project-ide/view/src/contributions/context-menu/index.ts b/frontend/packages/project-ide/view/src/contributions/context-menu/index.ts index ef2ceabd..f9ef578f 100644 --- a/frontend/packages/project-ide/view/src/contributions/context-menu/index.ts +++ b/frontend/packages/project-ide/view/src/contributions/context-menu/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createContextMenuPlugin } from './create-context-menu-plugin'; export { MenuService } from './menu-registry'; diff --git a/frontend/packages/project-ide/view/src/contributions/context-menu/menu-registry.ts b/frontend/packages/project-ide/view/src/contributions/context-menu/menu-registry.ts index b4f0a44e..13e5ec31 100644 --- a/frontend/packages/project-ide/view/src/contributions/context-menu/menu-registry.ts +++ b/frontend/packages/project-ide/view/src/contributions/context-menu/menu-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/project-ide/view/src/contributions/context-menu/menu.ts b/frontend/packages/project-ide/view/src/contributions/context-menu/menu.ts index d2d71bc0..c3edc0ac 100644 --- a/frontend/packages/project-ide/view/src/contributions/context-menu/menu.ts +++ b/frontend/packages/project-ide/view/src/contributions/context-menu/menu.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/contributions/index.ts b/frontend/packages/project-ide/view/src/contributions/index.ts index 77160870..54c36f65 100644 --- a/frontend/packages/project-ide/view/src/contributions/index.ts +++ b/frontend/packages/project-ide/view/src/contributions/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { bindActivityBarView } from './activity-bar-contribution'; export { ViewCommonContribution } from './view-common-contribution'; export { ViewContribution } from './view-contribution'; diff --git a/frontend/packages/project-ide/view/src/contributions/styles/menu-style.ts b/frontend/packages/project-ide/view/src/contributions/styles/menu-style.ts index 94855dab..3f8b9d06 100644 --- a/frontend/packages/project-ide/view/src/contributions/styles/menu-style.ts +++ b/frontend/packages/project-ide/view/src/contributions/styles/menu-style.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getFlowMenuStyle = (getColor: (id: string) => string): string => ` .flow-Menu { z-index: 10000; diff --git a/frontend/packages/project-ide/view/src/contributions/styles/panel-style.ts b/frontend/packages/project-ide/view/src/contributions/styles/panel-style.ts index e5dcc5dd..5559f2e0 100644 --- a/frontend/packages/project-ide/view/src/contributions/styles/panel-style.ts +++ b/frontend/packages/project-ide/view/src/contributions/styles/panel-style.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LayoutPanelType } from '../../types'; import { SPLIT_PANEL_CLASSNAME } from '../../constants/view'; import { PANEL_CLASS_NAME_MAP } from '../../constants'; diff --git a/frontend/packages/project-ide/view/src/contributions/view-common-contribution.ts b/frontend/packages/project-ide/view/src/contributions/view-common-contribution.ts index bdf2ee51..1d38ab09 100644 --- a/frontend/packages/project-ide/view/src/contributions/view-common-contribution.ts +++ b/frontend/packages/project-ide/view/src/contributions/view-common-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type CommandContribution, diff --git a/frontend/packages/project-ide/view/src/contributions/view-contribution.ts b/frontend/packages/project-ide/view/src/contributions/view-contribution.ts index 5af918d0..38ffc7af 100644 --- a/frontend/packages/project-ide/view/src/contributions/view-contribution.ts +++ b/frontend/packages/project-ide/view/src/contributions/view-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewPluginOptions } from '../types/view'; export interface ViewOptionRegisterService { diff --git a/frontend/packages/project-ide/view/src/create-view-plugin.tsx b/frontend/packages/project-ide/view/src/create-view-plugin.tsx index 528f3ab3..7bf59d30 100644 --- a/frontend/packages/project-ide/view/src/create-view-plugin.tsx +++ b/frontend/packages/project-ide/view/src/create-view-plugin.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type interfaces } from 'inversify'; diff --git a/frontend/packages/project-ide/view/src/hooks/index.ts b/frontend/packages/project-ide/view/src/hooks/index.ts index 2325e4d1..9d80207c 100644 --- a/frontend/packages/project-ide/view/src/hooks/index.ts +++ b/frontend/packages/project-ide/view/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCurrentWidget } from './use-current-widget'; export { useCurrentWidgetFromArea } from './use-current-widget-from-area'; export { diff --git a/frontend/packages/project-ide/view/src/hooks/use-current-resource.ts b/frontend/packages/project-ide/view/src/hooks/use-current-resource.ts index 0cf3878b..c9eca984 100644 --- a/frontend/packages/project-ide/view/src/hooks/use-current-resource.ts +++ b/frontend/packages/project-ide/view/src/hooks/use-current-resource.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/project-ide/view/src/hooks/use-current-widget-from-area.ts b/frontend/packages/project-ide/view/src/hooks/use-current-widget-from-area.ts index bb54bd52..d5c22fb3 100644 --- a/frontend/packages/project-ide/view/src/hooks/use-current-widget-from-area.ts +++ b/frontend/packages/project-ide/view/src/hooks/use-current-widget-from-area.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useIDEService, useRefresh } from '@coze-project-ide/core'; diff --git a/frontend/packages/project-ide/view/src/hooks/use-current-widget.ts b/frontend/packages/project-ide/view/src/hooks/use-current-widget.ts index 7359d42c..4ef87aae 100644 --- a/frontend/packages/project-ide/view/src/hooks/use-current-widget.ts +++ b/frontend/packages/project-ide/view/src/hooks/use-current-widget.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { type ReactWidget, ReactWidgetContext } from '../widget/react-widget'; diff --git a/frontend/packages/project-ide/view/src/index.ts b/frontend/packages/project-ide/view/src/index.ts index d00bcad9..c295082e 100644 --- a/frontend/packages/project-ide/view/src/index.ts +++ b/frontend/packages/project-ide/view/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import PerfectScrollbar from './components/scroll-bar'; export { ReactWidget, ReactWidgetContext } from './widget/react-widget'; diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/array.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/array.ts index 6cfd51e2..bc3f568d 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/array.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/array.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/chain.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/chain.ts index ef8edf1e..72db6edc 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/chain.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/chain.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/empty.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/empty.ts index 97b1fe6d..76035ca3 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/empty.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/empty.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/enumerate.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/enumerate.ts index 2dbe74e6..bffd0346 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/enumerate.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/enumerate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/filter.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/filter.ts index d8ccb849..db97d69c 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/filter.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/filter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/find.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/find.ts index c6a9f00e..c6cf0806 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/find.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/find.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/index.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/index.ts index fb6289ca..700f71b2 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/iter.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/iter.ts index 3929a940..ce973f38 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/iter.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/iter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/map.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/map.ts index 4406f03b..0b11b3a7 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/map.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/map.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/range.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/range.ts index a1359e74..f52800b6 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/range.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/range.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/reduce.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/reduce.ts index d35eb38f..824ebd46 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/reduce.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/reduce.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/repeat.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/repeat.ts index f7cc9184..b5d9f594 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/repeat.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/repeat.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/retro.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/retro.ts index 614452b1..56bb0958 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/retro.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/retro.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/sort.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/sort.ts index 2febc3cd..d87a1bae 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/sort.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/sort.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/stride.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/stride.ts index f1ae9911..73adc6b8 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/stride.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/stride.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/string.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/string.ts index 9e757491..4f73b6c6 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/string.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/string.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/take.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/take.ts index 3b564dcb..d45dcbaa 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/take.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/take.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/algorithm/zip.ts b/frontend/packages/project-ide/view/src/lumino/algorithm/zip.ts index 8a2d8587..d2cbff1d 100644 --- a/frontend/packages/project-ide/view/src/lumino/algorithm/zip.ts +++ b/frontend/packages/project-ide/view/src/lumino/algorithm/zip.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/collections/index.ts b/frontend/packages/project-ide/view/src/lumino/collections/index.ts index b66f6097..ed63f865 100644 --- a/frontend/packages/project-ide/view/src/lumino/collections/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/collections/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/collections/linkedlist.ts b/frontend/packages/project-ide/view/src/lumino/collections/linkedlist.ts index a75d36ad..c7bbbdb7 100644 --- a/frontend/packages/project-ide/view/src/lumino/collections/linkedlist.ts +++ b/frontend/packages/project-ide/view/src/lumino/collections/linkedlist.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/index.common.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/index.common.ts index c7ce775b..55f980f2 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/index.common.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/index.common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/index.node.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/index.node.ts index 66d5fa4b..2cb1d2e9 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/index.node.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/index.node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* * Copyright (c) Jupyter Development Team. * Distributed under the terms of the Modified BSD License. diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/index.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/index.ts index 7858e341..87d1719d 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/json.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/json.ts index b00c5423..8600ada2 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/json.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/mime.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/mime.ts index dbb756fb..57db3f67 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/mime.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/mime.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/promise.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/promise.ts index fed987a5..5f267108 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/promise.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/promise.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/random.browser.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/random.browser.ts index 3c5436da..b07e7366 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/random.browser.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/random.browser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/random.node.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/random.node.ts index f3d8786c..e734d38d 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/random.node.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/random.node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/random.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/random.ts index 8949c4e4..e6021f17 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/random.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/random.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/token.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/token.ts index f4b19886..4b84bc8b 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/token.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/token.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.browser.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.browser.ts index 565acbb5..6fba7130 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.browser.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.browser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.node.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.node.ts index dcc65b82..ea522418 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.node.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.ts b/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.ts index d069eaaa..fd18a93d 100644 --- a/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.ts +++ b/frontend/packages/project-ide/view/src/lumino/coreutils/uuid.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/disposable/index.tsx b/frontend/packages/project-ide/view/src/lumino/disposable/index.tsx index df3d8984..a27922c5 100644 --- a/frontend/packages/project-ide/view/src/lumino/disposable/index.tsx +++ b/frontend/packages/project-ide/view/src/lumino/disposable/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/domutils/clipboard.ts b/frontend/packages/project-ide/view/src/lumino/domutils/clipboard.ts index 77e3aa92..2abfad57 100644 --- a/frontend/packages/project-ide/view/src/lumino/domutils/clipboard.ts +++ b/frontend/packages/project-ide/view/src/lumino/domutils/clipboard.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/domutils/element.ts b/frontend/packages/project-ide/view/src/lumino/domutils/element.ts index cf9e0d68..51578986 100644 --- a/frontend/packages/project-ide/view/src/lumino/domutils/element.ts +++ b/frontend/packages/project-ide/view/src/lumino/domutils/element.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/domutils/index.ts b/frontend/packages/project-ide/view/src/lumino/domutils/index.ts index 19390977..58195d1b 100644 --- a/frontend/packages/project-ide/view/src/lumino/domutils/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/domutils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/domutils/platform.ts b/frontend/packages/project-ide/view/src/lumino/domutils/platform.ts index 78ad51ec..963c637e 100644 --- a/frontend/packages/project-ide/view/src/lumino/domutils/platform.ts +++ b/frontend/packages/project-ide/view/src/lumino/domutils/platform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/domutils/selector.ts b/frontend/packages/project-ide/view/src/lumino/domutils/selector.ts index 1780b534..74e0d722 100644 --- a/frontend/packages/project-ide/view/src/lumino/domutils/selector.ts +++ b/frontend/packages/project-ide/view/src/lumino/domutils/selector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/dragdrop/index.ts b/frontend/packages/project-ide/view/src/lumino/dragdrop/index.ts index cf464c06..8f548620 100644 --- a/frontend/packages/project-ide/view/src/lumino/dragdrop/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/dragdrop/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DisposableDelegate, type IDisposable } from '../disposable'; import { type MimeData } from '../coreutils'; diff --git a/frontend/packages/project-ide/view/src/lumino/messaging/index.ts b/frontend/packages/project-ide/view/src/lumino/messaging/index.ts index 714b182d..7f3da0ce 100644 --- a/frontend/packages/project-ide/view/src/lumino/messaging/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/messaging/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/properties/index.ts b/frontend/packages/project-ide/view/src/lumino/properties/index.ts index 2519b272..702e5091 100644 --- a/frontend/packages/project-ide/view/src/lumino/properties/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/properties/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/signaling/index.ts b/frontend/packages/project-ide/view/src/lumino/signaling/index.ts index 95d999a4..a4a07dee 100644 --- a/frontend/packages/project-ide/view/src/lumino/signaling/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/signaling/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/virtualdom/index.ts b/frontend/packages/project-ide/view/src/lumino/virtualdom/index.ts index f9984a9d..d5baf910 100644 --- a/frontend/packages/project-ide/view/src/lumino/virtualdom/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/virtualdom/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/boxengine.ts b/frontend/packages/project-ide/view/src/lumino/widgets/boxengine.ts index 72b03e0e..97d6250c 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/boxengine.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/boxengine.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/boxlayout.ts b/frontend/packages/project-ide/view/src/lumino/widgets/boxlayout.ts index e5346e35..e272b9f5 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/boxlayout.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/boxlayout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/boxpanel.ts b/frontend/packages/project-ide/view/src/lumino/widgets/boxpanel.ts index fa316cc1..a318e32f 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/boxpanel.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/boxpanel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/docklayout.ts b/frontend/packages/project-ide/view/src/lumino/widgets/docklayout.ts index add8ef98..3483c17c 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/docklayout.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/docklayout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/dockpanel.ts b/frontend/packages/project-ide/view/src/lumino/widgets/dockpanel.ts index 434cfb47..92ecdad0 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/dockpanel.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/dockpanel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/focustracker.ts b/frontend/packages/project-ide/view/src/lumino/widgets/focustracker.ts index edecf55d..5c3886e4 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/focustracker.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/focustracker.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/gridlayout.ts b/frontend/packages/project-ide/view/src/lumino/widgets/gridlayout.ts index fe58ff86..2a24c79d 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/gridlayout.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/gridlayout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/index.ts b/frontend/packages/project-ide/view/src/lumino/widgets/index.ts index 51852ef2..47fe6049 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/index.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/layout.ts b/frontend/packages/project-ide/view/src/lumino/widgets/layout.ts index 742f6fe5..144d5c06 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/layout.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/layout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/panel.ts b/frontend/packages/project-ide/view/src/lumino/widgets/panel.ts index 9cb21ecc..a186f02e 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/panel.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/panel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/panellayout.ts b/frontend/packages/project-ide/view/src/lumino/widgets/panellayout.ts index d9b427de..4b91c00e 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/panellayout.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/panellayout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/scrollbar.ts b/frontend/packages/project-ide/view/src/lumino/widgets/scrollbar.ts index f5ce0e6d..9aacf0f2 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/scrollbar.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/scrollbar.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/singletonlayout.ts b/frontend/packages/project-ide/view/src/lumino/widgets/singletonlayout.ts index e898bf37..a4d86d78 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/singletonlayout.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/singletonlayout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/splitlayout.ts b/frontend/packages/project-ide/view/src/lumino/widgets/splitlayout.ts index 461f0ef0..18eaff95 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/splitlayout.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/splitlayout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/splitpanel.ts b/frontend/packages/project-ide/view/src/lumino/widgets/splitpanel.ts index 6d061af4..adf073f2 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/splitpanel.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/splitpanel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/stackedlayout.ts b/frontend/packages/project-ide/view/src/lumino/widgets/stackedlayout.ts index ace7d5c1..6ff7bf47 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/stackedlayout.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/stackedlayout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/stackedpanel.ts b/frontend/packages/project-ide/view/src/lumino/widgets/stackedpanel.ts index 2e8f8c4d..d2d7fd01 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/stackedpanel.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/stackedpanel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/tabbar.ts b/frontend/packages/project-ide/view/src/lumino/widgets/tabbar.ts index a00a67e8..29937593 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/tabbar.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/tabbar.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/tabpanel.ts b/frontend/packages/project-ide/view/src/lumino/widgets/tabpanel.ts index 59f78ce9..0cfce68e 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/tabpanel.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/tabpanel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/title.ts b/frontend/packages/project-ide/view/src/lumino/widgets/title.ts index 6df90c0c..829bb7bf 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/title.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/title.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/utils.ts b/frontend/packages/project-ide/view/src/lumino/widgets/utils.ts index 6657d17d..fa0802cc 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/utils.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* * Copyright (c) Jupyter Development Team. * Distributed under the terms of the Modified BSD License. diff --git a/frontend/packages/project-ide/view/src/lumino/widgets/widget.ts b/frontend/packages/project-ide/view/src/lumino/widgets/widget.ts index 6dac692b..16937062 100644 --- a/frontend/packages/project-ide/view/src/lumino/widgets/widget.ts +++ b/frontend/packages/project-ide/view/src/lumino/widgets/widget.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /*----------------------------------------------------------------------------- diff --git a/frontend/packages/project-ide/view/src/services/debug-service.ts b/frontend/packages/project-ide/view/src/services/debug-service.ts index facd9ef5..015b5152 100644 --- a/frontend/packages/project-ide/view/src/services/debug-service.ts +++ b/frontend/packages/project-ide/view/src/services/debug-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { DebugBarWidget } from '../widget/react-widgets/debug-bar-widget'; diff --git a/frontend/packages/project-ide/view/src/services/drag-service.ts b/frontend/packages/project-ide/view/src/services/drag-service.ts index 08c0ca46..f2ac0a8c 100644 --- a/frontend/packages/project-ide/view/src/services/drag-service.ts +++ b/frontend/packages/project-ide/view/src/services/drag-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type URI } from '@coze-project-ide/core'; diff --git a/frontend/packages/project-ide/view/src/services/hover-service.ts b/frontend/packages/project-ide/view/src/services/hover-service.ts index 6937358b..a1125de0 100644 --- a/frontend/packages/project-ide/view/src/services/hover-service.ts +++ b/frontend/packages/project-ide/view/src/services/hover-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { type Root, createRoot } from 'react-dom/client'; diff --git a/frontend/packages/project-ide/view/src/services/view-service.ts b/frontend/packages/project-ide/view/src/services/view-service.ts index 18368fcc..a95a1c03 100644 --- a/frontend/packages/project-ide/view/src/services/view-service.ts +++ b/frontend/packages/project-ide/view/src/services/view-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { Emitter } from '@flowgram-adapter/common'; import { type URI } from '@coze-project-ide/core'; diff --git a/frontend/packages/project-ide/view/src/shell/application-shell.ts b/frontend/packages/project-ide/view/src/shell/application-shell.ts index be804b9c..5ec62a27 100644 --- a/frontend/packages/project-ide/view/src/shell/application-shell.ts +++ b/frontend/packages/project-ide/view/src/shell/application-shell.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable, optional } from 'inversify'; import { Emitter, type RecursivePartial } from '@flowgram-adapter/common'; import { NavigationHistory, type URI } from '@coze-project-ide/core'; @@ -167,11 +167,13 @@ export class ApplicationShell extends Widget { this.secondarySidebar.hide(); this.layout = createLayout?.(this) || this.createLayout(); - this.activityBarWidget = - await this.widgetManager.getOrCreateWidgetFromURI(ACTIVITY_BAR_CONTENT); + this.activityBarWidget = await this.widgetManager.getOrCreateWidgetFromURI( + ACTIVITY_BAR_CONTENT, + ); try { - this.statusBarWidget = - await this.widgetManager.getOrCreateWidgetFromURI(STATUS_BAR_CONTENT); + this.statusBarWidget = await this.widgetManager.getOrCreateWidgetFromURI( + STATUS_BAR_CONTENT, + ); } catch (e) {} } diff --git a/frontend/packages/project-ide/view/src/shell/index.ts b/frontend/packages/project-ide/view/src/shell/index.ts index 9d628ec6..e1c26e41 100644 --- a/frontend/packages/project-ide/view/src/shell/index.ts +++ b/frontend/packages/project-ide/view/src/shell/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ApplicationShell } from './application-shell'; export { LayoutRestorer, diff --git a/frontend/packages/project-ide/view/src/shell/layout-restorer.ts b/frontend/packages/project-ide/view/src/shell/layout-restorer.ts index 2ecb28d0..87bec54b 100644 --- a/frontend/packages/project-ide/view/src/shell/layout-restorer.ts +++ b/frontend/packages/project-ide/view/src/shell/layout-restorer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFunction } from 'lodash'; import { inject, injectable, multiInject, optional } from 'inversify'; import { Emitter, isObject, type Disposable } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/view/src/shell/types.ts b/frontend/packages/project-ide/view/src/shell/types.ts index 4ce4c06b..5d4e4953 100644 --- a/frontend/packages/project-ide/view/src/shell/types.ts +++ b/frontend/packages/project-ide/view/src/shell/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DockPanel, type Widget } from '../lumino/widgets'; /** diff --git a/frontend/packages/project-ide/view/src/types/common.ts b/frontend/packages/project-ide/view/src/types/common.ts index 9324a36d..9ad53929 100644 --- a/frontend/packages/project-ide/view/src/types/common.ts +++ b/frontend/packages/project-ide/view/src/types/common.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type RequiredFields = T & Required>; diff --git a/frontend/packages/project-ide/view/src/types/custom-lumino.ts b/frontend/packages/project-ide/view/src/types/custom-lumino.ts index 2b4a15b7..45f40021 100644 --- a/frontend/packages/project-ide/view/src/types/custom-lumino.ts +++ b/frontend/packages/project-ide/view/src/types/custom-lumino.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Title, type Widget } from '../lumino/widgets'; import { type Signal } from '../lumino/signaling'; diff --git a/frontend/packages/project-ide/view/src/types/index.ts b/frontend/packages/project-ide/view/src/types/index.ts index dea43931..e886828a 100644 --- a/frontend/packages/project-ide/view/src/types/index.ts +++ b/frontend/packages/project-ide/view/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LayoutPanelType, type ViewPluginOptions, diff --git a/frontend/packages/project-ide/view/src/types/toolbar.ts b/frontend/packages/project-ide/view/src/types/toolbar.ts index b7e4f237..7375f5e2 100644 --- a/frontend/packages/project-ide/view/src/types/toolbar.ts +++ b/frontend/packages/project-ide/view/src/types/toolbar.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ToolbarAlign { LEADING = 'leading', TRAILING = 'trailing', diff --git a/frontend/packages/project-ide/view/src/types/view.ts b/frontend/packages/project-ide/view/src/types/view.ts index 0ff283a4..fd206a77 100644 --- a/frontend/packages/project-ide/view/src/types/view.ts +++ b/frontend/packages/project-ide/view/src/types/view.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FallbackProps } from 'react-error-boundary'; import type React from 'react'; diff --git a/frontend/packages/project-ide/view/src/utils/create-portal.tsx b/frontend/packages/project-ide/view/src/utils/create-portal.tsx index 00927fe7..6113f8c1 100644 --- a/frontend/packages/project-ide/view/src/utils/create-portal.tsx +++ b/frontend/packages/project-ide/view/src/utils/create-portal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ErrorBoundary, type FallbackProps } from 'react-error-boundary'; import ReactDOM from 'react-dom'; import React, { useEffect } from 'react'; diff --git a/frontend/packages/project-ide/view/src/utils/icon.ts b/frontend/packages/project-ide/view/src/utils/icon.ts index 66afce01..d8094b6d 100644 --- a/frontend/packages/project-ide/view/src/utils/icon.ts +++ b/frontend/packages/project-ide/view/src/utils/icon.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const ACTION_ITEM = 'action-label'; export function codicon(name: string, actionItem = false): string { diff --git a/frontend/packages/project-ide/view/src/utils/index.ts b/frontend/packages/project-ide/view/src/utils/index.ts index a3f06657..e31c7cdd 100644 --- a/frontend/packages/project-ide/view/src/utils/index.ts +++ b/frontend/packages/project-ide/view/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './tools'; export { codicon, codiconArray } from './icon'; export { createPortal } from './create-portal'; diff --git a/frontend/packages/project-ide/view/src/utils/layout.ts b/frontend/packages/project-ide/view/src/utils/layout.ts index ab889772..e6a05011 100644 --- a/frontend/packages/project-ide/view/src/utils/layout.ts +++ b/frontend/packages/project-ide/view/src/utils/layout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Widget, BoxPanel, diff --git a/frontend/packages/project-ide/view/src/utils/tools.ts b/frontend/packages/project-ide/view/src/utils/tools.ts index cf565017..5148608b 100644 --- a/frontend/packages/project-ide/view/src/utils/tools.ts +++ b/frontend/packages/project-ide/view/src/utils/tools.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function isFunction unknown>( value: unknown, ): value is T { diff --git a/frontend/packages/project-ide/view/src/utils/uri.ts b/frontend/packages/project-ide/view/src/utils/uri.ts index 2062b544..aa754353 100644 --- a/frontend/packages/project-ide/view/src/utils/uri.ts +++ b/frontend/packages/project-ide/view/src/utils/uri.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type URI } from '@coze-project-ide/core'; export const isURIMatch = (uriA: URI, uriB: URI) => diff --git a/frontend/packages/project-ide/view/src/view-manager.tsx b/frontend/packages/project-ide/view/src/view-manager.tsx index 6f71528d..fa88b7ee 100644 --- a/frontend/packages/project-ide/view/src/view-manager.tsx +++ b/frontend/packages/project-ide/view/src/view-manager.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { mergeWith } from 'lodash'; import { inject, injectable, named } from 'inversify'; import { ContributionProvider } from '@flowgram-adapter/common'; diff --git a/frontend/packages/project-ide/view/src/view-renderer.tsx b/frontend/packages/project-ide/view/src/view-renderer.tsx index 2b6b1cd4..372b35f1 100644 --- a/frontend/packages/project-ide/view/src/view-renderer.tsx +++ b/frontend/packages/project-ide/view/src/view-renderer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef } from 'react'; import { debounce } from 'lodash'; diff --git a/frontend/packages/project-ide/view/src/widget-manager.ts b/frontend/packages/project-ide/view/src/widget-manager.ts index e1c50a58..c062e8be 100644 --- a/frontend/packages/project-ide/view/src/widget-manager.ts +++ b/frontend/packages/project-ide/view/src/widget-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable, type interfaces, named } from 'inversify'; import { type AsClass, diff --git a/frontend/packages/project-ide/view/src/widget/base-widget.ts b/frontend/packages/project-ide/view/src/widget/base-widget.ts index a69594ce..6b9bf898 100644 --- a/frontend/packages/project-ide/view/src/widget/base-widget.ts +++ b/frontend/packages/project-ide/view/src/widget/base-widget.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, decorate, unmanaged } from 'inversify'; import { Emitter, diff --git a/frontend/packages/project-ide/view/src/widget/dock-panel-renderer-factory.ts b/frontend/packages/project-ide/view/src/widget/dock-panel-renderer-factory.ts index 2681e1f5..41e321e6 100644 --- a/frontend/packages/project-ide/view/src/widget/dock-panel-renderer-factory.ts +++ b/frontend/packages/project-ide/view/src/widget/dock-panel-renderer-factory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DockLayout } from '../lumino/widgets'; interface DockPanelRenderer extends DockLayout.IRenderer {} diff --git a/frontend/packages/project-ide/view/src/widget/dock-panel-renderer.ts b/frontend/packages/project-ide/view/src/widget/dock-panel-renderer.ts index be6170b9..e13296cd 100644 --- a/frontend/packages/project-ide/view/src/widget/dock-panel-renderer.ts +++ b/frontend/packages/project-ide/view/src/widget/dock-panel-renderer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { diff --git a/frontend/packages/project-ide/view/src/widget/dock-panel.ts b/frontend/packages/project-ide/view/src/widget/dock-panel.ts index 35be03df..16090ea5 100644 --- a/frontend/packages/project-ide/view/src/widget/dock-panel.ts +++ b/frontend/packages/project-ide/view/src/widget/dock-panel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Emitter, type Event as CustomEvent, diff --git a/frontend/packages/project-ide/view/src/widget/handlers/side-panel-handler.tsx b/frontend/packages/project-ide/view/src/widget/handlers/side-panel-handler.tsx index 2ac01e09..549cb763 100644 --- a/frontend/packages/project-ide/view/src/widget/handlers/side-panel-handler.tsx +++ b/frontend/packages/project-ide/view/src/widget/handlers/side-panel-handler.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { type FlowDockPanel } from '../dock-panel'; diff --git a/frontend/packages/project-ide/view/src/widget/react-widget.tsx b/frontend/packages/project-ide/view/src/widget/react-widget.tsx index bf386faa..cd363c4e 100644 --- a/frontend/packages/project-ide/view/src/widget/react-widget.tsx +++ b/frontend/packages/project-ide/view/src/widget/react-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import * as React from 'react'; import { injectable, type interfaces, unmanaged } from 'inversify'; diff --git a/frontend/packages/project-ide/view/src/widget/react-widgets/activity-bar-widget/index.tsx b/frontend/packages/project-ide/view/src/widget/react-widgets/activity-bar-widget/index.tsx index 5282ef5a..faab4d97 100644 --- a/frontend/packages/project-ide/view/src/widget/react-widgets/activity-bar-widget/index.tsx +++ b/frontend/packages/project-ide/view/src/widget/react-widgets/activity-bar-widget/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/project-ide/view/src/widget/react-widgets/custom-render-widget-factory.tsx b/frontend/packages/project-ide/view/src/widget/react-widgets/custom-render-widget-factory.tsx index 0cd60448..1b48d692 100644 --- a/frontend/packages/project-ide/view/src/widget/react-widgets/custom-render-widget-factory.tsx +++ b/frontend/packages/project-ide/view/src/widget/react-widgets/custom-render-widget-factory.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type interfaces } from 'inversify'; import { ReactWidget } from '../react-widget'; diff --git a/frontend/packages/project-ide/view/src/widget/react-widgets/debug-bar-widget.tsx b/frontend/packages/project-ide/view/src/widget/react-widgets/debug-bar-widget.tsx index 96f6d4ce..761419a1 100644 --- a/frontend/packages/project-ide/view/src/widget/react-widgets/debug-bar-widget.tsx +++ b/frontend/packages/project-ide/view/src/widget/react-widgets/debug-bar-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { inject, injectable, postConstruct } from 'inversify'; diff --git a/frontend/packages/project-ide/view/src/widget/react-widgets/index.ts b/frontend/packages/project-ide/view/src/widget/react-widgets/index.ts index c1c2bb14..241b94bf 100644 --- a/frontend/packages/project-ide/view/src/widget/react-widgets/index.ts +++ b/frontend/packages/project-ide/view/src/widget/react-widgets/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ActivityBarWidget } from './activity-bar-widget'; export { StatusBarWidget } from './status-bar-widget'; export { SplitWidget } from './split-widget'; diff --git a/frontend/packages/project-ide/view/src/widget/react-widgets/split-widget.tsx b/frontend/packages/project-ide/view/src/widget/react-widgets/split-widget.tsx index 4e638de6..cbbc234d 100644 --- a/frontend/packages/project-ide/view/src/widget/react-widgets/split-widget.tsx +++ b/frontend/packages/project-ide/view/src/widget/react-widgets/split-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type AsClass } from '@flowgram-adapter/common'; import { type URI } from '@coze-project-ide/core'; diff --git a/frontend/packages/project-ide/view/src/widget/react-widgets/status-bar-widget.tsx b/frontend/packages/project-ide/view/src/widget/react-widgets/status-bar-widget.tsx index c9be24a9..b1500744 100644 --- a/frontend/packages/project-ide/view/src/widget/react-widgets/status-bar-widget.tsx +++ b/frontend/packages/project-ide/view/src/widget/react-widgets/status-bar-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { injectable } from 'inversify'; diff --git a/frontend/packages/project-ide/view/src/widget/tab-bar/custom-tabbar.ts b/frontend/packages/project-ide/view/src/widget/tab-bar/custom-tabbar.ts index 78308aa3..87aab033 100644 --- a/frontend/packages/project-ide/view/src/widget/tab-bar/custom-tabbar.ts +++ b/frontend/packages/project-ide/view/src/widget/tab-bar/custom-tabbar.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type ReactWidget } from '../react-widget'; diff --git a/frontend/packages/project-ide/view/src/widget/tab-bar/tab-renderer.ts b/frontend/packages/project-ide/view/src/widget/tab-bar/tab-renderer.ts index d191e0e2..2545f935 100644 --- a/frontend/packages/project-ide/view/src/widget/tab-bar/tab-renderer.ts +++ b/frontend/packages/project-ide/view/src/widget/tab-bar/tab-renderer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Root, createRoot } from 'react-dom/client'; import { decorate, inject, injectable } from 'inversify'; import { DisposableCollection } from '@flowgram-adapter/common'; @@ -185,9 +185,9 @@ export class TabBarRenderer extends TabBar.Renderer { } createTabId(title: Title, isPartOfHiddenTabBar = false): string { - return `shell-tab-${ - (title.owner as ReactWidget)?.uri?.displayName - }${isPartOfHiddenTabBar ? '-hidden' : ''}`; + return `shell-tab-${(title.owner as ReactWidget)?.uri?.displayName}${ + isPartOfHiddenTabBar ? '-hidden' : '' + }`; } override createTabStyle( diff --git a/frontend/packages/project-ide/view/src/widget/tab-bar/toolbar.tsx b/frontend/packages/project-ide/view/src/widget/tab-bar/toolbar.tsx index 6d7a1a5e..fc0d542d 100644 --- a/frontend/packages/project-ide/view/src/widget/tab-bar/toolbar.tsx +++ b/frontend/packages/project-ide/view/src/widget/tab-bar/toolbar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/project-ide/view/src/widget/tab-bar/utils.ts b/frontend/packages/project-ide/view/src/widget/tab-bar/utils.ts index c5aeebd1..59aef729 100644 --- a/frontend/packages/project-ide/view/src/widget/tab-bar/utils.ts +++ b/frontend/packages/project-ide/view/src/widget/tab-bar/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ElementInlineStyle } from '../../lumino/virtualdom'; import { type RenderData, type ScrollableRenderData } from './tab-renderer'; diff --git a/frontend/packages/project-ide/view/src/widget/widget-factory.ts b/frontend/packages/project-ide/view/src/widget/widget-factory.ts index 15cdcee8..362c8883 100644 --- a/frontend/packages/project-ide/view/src/widget/widget-factory.ts +++ b/frontend/packages/project-ide/view/src/widget/widget-factory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AsClass, type MaybePromise } from '@flowgram-adapter/common'; import { type URI } from '@coze-project-ide/core'; diff --git a/frontend/packages/project-ide/view/src/widget/widget-open-handler.ts b/frontend/packages/project-ide/view/src/widget/widget-open-handler.ts index 8e925ade..8e6aafb7 100644 --- a/frontend/packages/project-ide/view/src/widget/widget-open-handler.ts +++ b/frontend/packages/project-ide/view/src/widget/widget-open-handler.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type OpenHandler, type URI } from '@coze-project-ide/core'; diff --git a/frontend/packages/studio/autosave/__mocks__/zustand.ts b/frontend/packages/studio/autosave/__mocks__/zustand.ts index 8140ca1f..bad1052b 100644 --- a/frontend/packages/studio/autosave/__mocks__/zustand.ts +++ b/frontend/packages/studio/autosave/__mocks__/zustand.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export import type * as zustand from 'zustand'; import { act } from '@testing-library/react'; diff --git a/frontend/packages/studio/autosave/__tests__/core/manager.test.ts b/frontend/packages/studio/autosave/__tests__/core/manager.test.ts index 4b500fa6..5b425ae5 100644 --- a/frontend/packages/studio/autosave/__tests__/core/manager.test.ts +++ b/frontend/packages/studio/autosave/__tests__/core/manager.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StoreApi, type UseBoundStore } from 'zustand'; import { describe, beforeEach, afterEach, vi, expect } from 'vitest'; diff --git a/frontend/packages/studio/autosave/__tests__/core/observer.test.ts b/frontend/packages/studio/autosave/__tests__/core/observer.test.ts index 52ae71df..01018ef1 100644 --- a/frontend/packages/studio/autosave/__tests__/core/observer.test.ts +++ b/frontend/packages/studio/autosave/__tests__/core/observer.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StoreApi, type UseBoundStore } from 'zustand'; import { describe, beforeEach, afterEach, vi, expect } from 'vitest'; import { diff, type Diff } from 'deep-diff'; diff --git a/frontend/packages/studio/autosave/__tests__/utils/index.test.ts b/frontend/packages/studio/autosave/__tests__/utils/index.test.ts index 1ba1b669..c5e16120 100644 --- a/frontend/packages/studio/autosave/__tests__/utils/index.test.ts +++ b/frontend/packages/studio/autosave/__tests__/utils/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFunction, isObject, diff --git a/frontend/packages/studio/autosave/setup-vitest.ts b/frontend/packages/studio/autosave/setup-vitest.ts index 85901684..1b606a79 100644 --- a/frontend/packages/studio/autosave/setup-vitest.ts +++ b/frontend/packages/studio/autosave/setup-vitest.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.mock('zustand'); diff --git a/frontend/packages/studio/autosave/src/core/manager.ts b/frontend/packages/studio/autosave/src/core/manager.ts index c29f6d6c..bc78a5f9 100644 --- a/frontend/packages/studio/autosave/src/core/manager.ts +++ b/frontend/packages/studio/autosave/src/core/manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StoreApi, type UseBoundStore } from 'zustand'; import { diff --git a/frontend/packages/studio/autosave/src/core/observer.ts b/frontend/packages/studio/autosave/src/core/observer.ts index fe9c94d0..b83fe451 100644 --- a/frontend/packages/studio/autosave/src/core/observer.ts +++ b/frontend/packages/studio/autosave/src/core/observer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StoreApi, type UseBoundStore } from 'zustand'; import { createSelector } from 'reselect'; import { debounce, has, get, type DebouncedFunc } from 'lodash-es'; diff --git a/frontend/packages/studio/autosave/src/index.ts b/frontend/packages/studio/autosave/src/index.ts index af5af8bf..2d5d60ed 100644 --- a/frontend/packages/studio/autosave/src/index.ts +++ b/frontend/packages/studio/autosave/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AutosaveManager } from './core/manager'; export { DebounceTime, diff --git a/frontend/packages/studio/autosave/src/type/index.ts b/frontend/packages/studio/autosave/src/type/index.ts index ba7cac35..fe781240 100644 --- a/frontend/packages/studio/autosave/src/type/index.ts +++ b/frontend/packages/studio/autosave/src/type/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/naming-convention */ import { type StoreApi, type UseBoundStore } from 'zustand'; diff --git a/frontend/packages/studio/autosave/src/utils/index.ts b/frontend/packages/studio/autosave/src/utils/index.ts index dafd25ee..ecdd640f 100644 --- a/frontend/packages/studio/autosave/src/utils/index.ts +++ b/frontend/packages/studio/autosave/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject as isObjectBase, isFunction as isFunctionBase, diff --git a/frontend/packages/studio/autosave/vitest.config.ts b/frontend/packages/studio/autosave/vitest.config.ts index 57503556..2f406ef6 100644 --- a/frontend/packages/studio/autosave/vitest.config.ts +++ b/frontend/packages/studio/autosave/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/bot-utils/__tests__/with-slardar-id-button.test.tsx b/frontend/packages/studio/bot-utils/__tests__/with-slardar-id-button.test.tsx index bfcdf16f..23351a35 100644 --- a/frontend/packages/studio/bot-utils/__tests__/with-slardar-id-button.test.tsx +++ b/frontend/packages/studio/bot-utils/__tests__/with-slardar-id-button.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { render, screen, fireEvent } from '@testing-library/react'; diff --git a/frontend/packages/studio/bot-utils/src/index.tsx b/frontend/packages/studio/bot-utils/src/index.tsx index 28321137..975f0d03 100644 --- a/frontend/packages/studio/bot-utils/src/index.tsx +++ b/frontend/packages/studio/bot-utils/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { withSlardarIdButton } from './with-slardar-id-button'; diff --git a/frontend/packages/studio/bot-utils/src/typings.d.ts b/frontend/packages/studio/bot-utils/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/bot-utils/src/typings.d.ts +++ b/frontend/packages/studio/bot-utils/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/bot-utils/src/with-slardar-id-button.tsx b/frontend/packages/studio/bot-utils/src/with-slardar-id-button.tsx index e4b5667b..cdb2f736 100644 --- a/frontend/packages/studio/bot-utils/src/with-slardar-id-button.tsx +++ b/frontend/packages/studio/bot-utils/src/with-slardar-id-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/studio/bot-utils/vitest.config.ts b/frontend/packages/studio/bot-utils/vitest.config.ts index 20aa3db2..b80c4d0d 100644 --- a/frontend/packages/studio/bot-utils/vitest.config.ts +++ b/frontend/packages/studio/bot-utils/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/common/file-kit/__tests__/util.test.ts b/frontend/packages/studio/common/file-kit/__tests__/util.test.ts index 6f675eb9..168ef7f6 100644 --- a/frontend/packages/studio/common/file-kit/__tests__/util.test.ts +++ b/frontend/packages/studio/common/file-kit/__tests__/util.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { getFileInfo } from '../src/util'; diff --git a/frontend/packages/studio/common/file-kit/src/accept.ts b/frontend/packages/studio/common/file-kit/src/accept.ts index dd5114a7..65bd30c2 100644 --- a/frontend/packages/studio/common/file-kit/src/accept.ts +++ b/frontend/packages/studio/common/file-kit/src/accept.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/studio/common/file-kit/src/const.ts b/frontend/packages/studio/common/file-kit/src/const.ts index a533897a..45410fb3 100644 --- a/frontend/packages/studio/common/file-kit/src/const.ts +++ b/frontend/packages/studio/common/file-kit/src/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EnumToUnion } from './types/util'; export const enum FileTypeEnum { diff --git a/frontend/packages/studio/common/file-kit/src/exports/config.ts b/frontend/packages/studio/common/file-kit/src/exports/config.ts index cce6cfd8..2e6dfe5a 100644 --- a/frontend/packages/studio/common/file-kit/src/exports/config.ts +++ b/frontend/packages/studio/common/file-kit/src/exports/config.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ACCEPT_UPLOAD_TYPES } from '../accept'; diff --git a/frontend/packages/studio/common/file-kit/src/exports/logic.ts b/frontend/packages/studio/common/file-kit/src/exports/logic.ts index 7a82fd3b..9a950d37 100644 --- a/frontend/packages/studio/common/file-kit/src/exports/logic.ts +++ b/frontend/packages/studio/common/file-kit/src/exports/logic.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FileTypeEnum } from '../const'; export { FILE_TYPE_CONFIG } from '../file-type'; export { getFileInfo } from '../util'; diff --git a/frontend/packages/studio/common/file-kit/src/file-type.ts b/frontend/packages/studio/common/file-kit/src/file-type.ts index 04541e2a..9c494076 100644 --- a/frontend/packages/studio/common/file-kit/src/file-type.ts +++ b/frontend/packages/studio/common/file-kit/src/file-type.ts @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FileTypeEnum, type TFileTypeConfig } from './const'; /** * file type - * {@link + * {@link * {@link https://www.iana.org/assignments/media-types/media-types.xhtml#image} */ export const FILE_TYPE_CONFIG: readonly TFileTypeConfig[] = [ diff --git a/frontend/packages/studio/common/file-kit/src/icon/index.ts b/frontend/packages/studio/common/file-kit/src/icon/index.ts index 6e1480bc..dbdc45a7 100644 --- a/frontend/packages/studio/common/file-kit/src/icon/index.ts +++ b/frontend/packages/studio/common/file-kit/src/icon/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as ZipIcon } from '../assets/file/zip-success.svg'; export { default as XlsxIcon } from '../assets/file/xlsx-success.svg'; export { default as VideoIcon } from '../assets/file/video-success.svg'; diff --git a/frontend/packages/studio/common/file-kit/src/types/util.ts b/frontend/packages/studio/common/file-kit/src/types/util.ts index 7a31dac4..8592ddc5 100644 --- a/frontend/packages/studio/common/file-kit/src/types/util.ts +++ b/frontend/packages/studio/common/file-kit/src/types/util.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type EnumToUnion> = T[keyof T]; diff --git a/frontend/packages/studio/common/file-kit/src/typings.d.ts b/frontend/packages/studio/common/file-kit/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/common/file-kit/src/typings.d.ts +++ b/frontend/packages/studio/common/file-kit/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/common/file-kit/src/util.ts b/frontend/packages/studio/common/file-kit/src/util.ts index 9b751401..71f85e50 100644 --- a/frontend/packages/studio/common/file-kit/src/util.ts +++ b/frontend/packages/studio/common/file-kit/src/util.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FILE_TYPE_CONFIG } from './file-type'; // Get file information diff --git a/frontend/packages/studio/common/file-kit/vitest.config.ts b/frontend/packages/studio/common/file-kit/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/common/file-kit/vitest.config.ts +++ b/frontend/packages/studio/common/file-kit/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/components/__tests__/avatar-name.test.tsx b/frontend/packages/studio/components/__tests__/avatar-name.test.tsx index 39c278b0..8c0b23e8 100644 --- a/frontend/packages/studio/components/__tests__/avatar-name.test.tsx +++ b/frontend/packages/studio/components/__tests__/avatar-name.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { render } from '@testing-library/react'; import { AvatarName } from '../src/avatar-name'; diff --git a/frontend/packages/studio/components/__tests__/select-space-modal.test.tsx b/frontend/packages/studio/components/__tests__/select-space-modal.test.tsx index 49ec366f..2dbfe5d2 100644 --- a/frontend/packages/studio/components/__tests__/select-space-modal.test.tsx +++ b/frontend/packages/studio/components/__tests__/select-space-modal.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { render, fireEvent, act } from '@testing-library/react'; import { SelectSpaceModal } from '../src/select-space-modal'; diff --git a/frontend/packages/studio/components/src/avatar-background-notice-dot/index.tsx b/frontend/packages/studio/components/src/avatar-background-notice-dot/index.tsx index e84ff6ab..8ed133e5 100644 --- a/frontend/packages/studio/components/src/avatar-background-notice-dot/index.tsx +++ b/frontend/packages/studio/components/src/avatar-background-notice-dot/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { DotStatus } from '@coze-studio/bot-detail-store'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/components/src/avatar-name/index.tsx b/frontend/packages/studio/components/src/avatar-name/index.tsx index 1542e426..a5cdb987 100644 --- a/frontend/packages/studio/components/src/avatar-name/index.tsx +++ b/frontend/packages/studio/components/src/avatar-name/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { Space, Typography, Tooltip } from '@coze-arch/coze-design'; import { Image } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/studio/components/src/card-thumbnail-popover/index.tsx b/frontend/packages/studio/components/src/card-thumbnail-popover/index.tsx index acad246e..32707771 100644 --- a/frontend/packages/studio/components/src/card-thumbnail-popover/index.tsx +++ b/frontend/packages/studio/components/src/card-thumbnail-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useRef, useCallback } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/studio/components/src/carousel/carousel-item/index.tsx b/frontend/packages/studio/components/src/carousel/carousel-item/index.tsx index 4f8dfb30..850d8bd3 100644 --- a/frontend/packages/studio/components/src/carousel/carousel-item/index.tsx +++ b/frontend/packages/studio/components/src/carousel/carousel-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/studio/components/src/carousel/index.tsx b/frontend/packages/studio/components/src/carousel/index.tsx index fe31ad7a..e4634384 100644 --- a/frontend/packages/studio/components/src/carousel/index.tsx +++ b/frontend/packages/studio/components/src/carousel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useEffect, useRef } from 'react'; import { chunk } from 'lodash-es'; diff --git a/frontend/packages/studio/components/src/collapsible-icon-button/context.ts b/frontend/packages/studio/components/src/collapsible-icon-button/context.ts index 568643f0..ec48e465 100644 --- a/frontend/packages/studio/components/src/collapsible-icon-button/context.ts +++ b/frontend/packages/studio/components/src/collapsible-icon-button/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, createContext, diff --git a/frontend/packages/studio/components/src/collapsible-icon-button/index.tsx b/frontend/packages/studio/components/src/collapsible-icon-button/index.tsx index eb459814..5683e6e7 100644 --- a/frontend/packages/studio/components/src/collapsible-icon-button/index.tsx +++ b/frontend/packages/studio/components/src/collapsible-icon-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type FC, diff --git a/frontend/packages/studio/components/src/coze-brand/index.tsx b/frontend/packages/studio/components/src/coze-brand/index.tsx index 405a2196..50b12dac 100644 --- a/frontend/packages/studio/components/src/coze-brand/index.tsx +++ b/frontend/packages/studio/components/src/coze-brand/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/dnd-provider/index.tsx b/frontend/packages/studio/components/src/dnd-provider/index.tsx index a170ae26..f88dbb9e 100644 --- a/frontend/packages/studio/components/src/dnd-provider/index.tsx +++ b/frontend/packages/studio/components/src/dnd-provider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { HTML5Backend } from 'react-dnd-html5-backend'; import { DndProvider as Provider } from 'react-dnd'; import { type ReactNode, createContext, useContext } from 'react'; diff --git a/frontend/packages/studio/components/src/duplicate-bot/index.tsx b/frontend/packages/studio/components/src/duplicate-bot/index.tsx index a67ad196..1835ce8b 100644 --- a/frontend/packages/studio/components/src/duplicate-bot/index.tsx +++ b/frontend/packages/studio/components/src/duplicate-bot/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; @@ -176,8 +176,8 @@ export const DuplicateBot: FC = ({ pageFromFromStore === BotPageFromEnum.Store ? 'store_workspace' : getPersonalSpaceID() === targetSpaceId - ? 'personal_workspace' - : 'team_workspace', + ? 'personal_workspace' + : 'team_workspace', bot_name: botName ?? botNameFromStore ?? '', }; if (resp.code === 0) { diff --git a/frontend/packages/studio/components/src/flow-shortcuts-help/constants.ts b/frontend/packages/studio/components/src/flow-shortcuts-help/constants.ts index 1895eaa4..23c4de0b 100644 --- a/frontend/packages/studio/components/src/flow-shortcuts-help/constants.ts +++ b/frontend/packages/studio/components/src/flow-shortcuts-help/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const isMacOS = /(Macintosh|MacIntel|MacPPC|Mac68K|iPad)/.test( navigator.userAgent, ); diff --git a/frontend/packages/studio/components/src/flow-shortcuts-help/index.tsx b/frontend/packages/studio/components/src/flow-shortcuts-help/index.tsx index aae50a9f..3363edbe 100644 --- a/frontend/packages/studio/components/src/flow-shortcuts-help/index.tsx +++ b/frontend/packages/studio/components/src/flow-shortcuts-help/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/components/src/generate-button/index.tsx b/frontend/packages/studio/components/src/generate-button/index.tsx index f26c2d75..808e456c 100644 --- a/frontend/packages/studio/components/src/generate-button/index.tsx +++ b/frontend/packages/studio/components/src/generate-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, useState, useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/generate-gif/image-picker.tsx b/frontend/packages/studio/components/src/generate-gif/image-picker.tsx index a4c0a099..e9fa3a55 100644 --- a/frontend/packages/studio/components/src/generate-gif/image-picker.tsx +++ b/frontend/packages/studio/components/src/generate-gif/image-picker.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/generate-gif/index.tsx b/frontend/packages/studio/components/src/generate-gif/index.tsx index 609c6ef7..37655cc0 100644 --- a/frontend/packages/studio/components/src/generate-gif/index.tsx +++ b/frontend/packages/studio/components/src/generate-gif/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useParams } from 'react-router-dom'; import { type CSSProperties, useMemo } from 'react'; diff --git a/frontend/packages/studio/components/src/generate-img-tab/index.tsx b/frontend/packages/studio/components/src/generate-img-tab/index.tsx index be65041b..ef440e5e 100644 --- a/frontend/packages/studio/components/src/generate-img-tab/index.tsx +++ b/frontend/packages/studio/components/src/generate-img-tab/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/generate-img-tab/type.ts b/frontend/packages/studio/components/src/generate-img-tab/type.ts index 4eadfbdb..90e91066 100644 --- a/frontend/packages/studio/components/src/generate-img-tab/type.ts +++ b/frontend/packages/studio/components/src/generate-img-tab/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactElement } from 'react'; export interface TabItem { diff --git a/frontend/packages/studio/components/src/image-list/index.tsx b/frontend/packages/studio/components/src/image-list/index.tsx index de08ba5e..47878d90 100644 --- a/frontend/packages/studio/components/src/image-list/index.tsx +++ b/frontend/packages/studio/components/src/image-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/index.ts b/frontend/packages/studio/components/src/index.ts index 984a3453..67b4981a 100644 --- a/frontend/packages/studio/components/src/index.ts +++ b/frontend/packages/studio/components/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AvatarBackgroundNoticeDot } from './avatar-background-notice-dot'; export { ImageList, type ImageItem, type ImageListProps } from './image-list'; diff --git a/frontend/packages/studio/components/src/input-controls/input-slider/index.tsx b/frontend/packages/studio/components/src/input-controls/input-slider/index.tsx index 8493d57c..436577a1 100644 --- a/frontend/packages/studio/components/src/input-controls/input-slider/index.tsx +++ b/frontend/packages/studio/components/src/input-controls/input-slider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo, useRef, useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/studio/components/src/input-with-count/index.tsx b/frontend/packages/studio/components/src/input-with-count/index.tsx index 66c506cc..0351bebe 100644 --- a/frontend/packages/studio/components/src/input-with-count/index.tsx +++ b/frontend/packages/studio/components/src/input-with-count/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type InputProps } from '@coze-arch/bot-semi/Input'; diff --git a/frontend/packages/studio/components/src/link-list/index.tsx b/frontend/packages/studio/components/src/link-list/index.tsx index f9611388..a6f3284d 100644 --- a/frontend/packages/studio/components/src/link-list/index.tsx +++ b/frontend/packages/studio/components/src/link-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/list-tab/index.ts b/frontend/packages/studio/components/src/list-tab/index.ts index cefae9aa..6b5052d0 100644 --- a/frontend/packages/studio/components/src/list-tab/index.ts +++ b/frontend/packages/studio/components/src/list-tab/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ListTab, type BotListHeaderProps } from './list-tab'; diff --git a/frontend/packages/studio/components/src/list-tab/list-tab.tsx b/frontend/packages/studio/components/src/list-tab/list-tab.tsx index 79fc8821..d0bb3cc1 100644 --- a/frontend/packages/studio/components/src/list-tab/list-tab.tsx +++ b/frontend/packages/studio/components/src/list-tab/list-tab.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type ReactNode } from 'react'; import cs from 'classnames'; diff --git a/frontend/packages/studio/components/src/loading-button/index.tsx b/frontend/packages/studio/components/src/loading-button/index.tsx index 5a338c87..4d79331b 100644 --- a/frontend/packages/studio/components/src/loading-button/index.tsx +++ b/frontend/packages/studio/components/src/loading-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useState } from 'react'; import { isString } from 'lodash-es'; diff --git a/frontend/packages/studio/components/src/markdown-editor/components/action-bar/index.tsx b/frontend/packages/studio/components/src/markdown-editor/components/action-bar/index.tsx index ad7b2e33..cae75d61 100644 --- a/frontend/packages/studio/components/src/markdown-editor/components/action-bar/index.tsx +++ b/frontend/packages/studio/components/src/markdown-editor/components/action-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import -- svg */ import { useState, type ComponentProps, type CSSProperties } from 'react'; diff --git a/frontend/packages/studio/components/src/markdown-editor/components/insert-link-popover/index.tsx b/frontend/packages/studio/components/src/markdown-editor/components/insert-link-popover/index.tsx index 8106a04d..1a6ef351 100644 --- a/frontend/packages/studio/components/src/markdown-editor/components/insert-link-popover/index.tsx +++ b/frontend/packages/studio/components/src/markdown-editor/components/insert-link-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type ComponentProps, type PropsWithChildren } from 'react'; import { Form, Popover, UIButton, UIInput } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/studio/components/src/markdown-editor/components/upload-progress-mask/index.tsx b/frontend/packages/studio/components/src/markdown-editor/components/upload-progress-mask/index.tsx index be34b7fd..6dba296c 100644 --- a/frontend/packages/studio/components/src/markdown-editor/components/upload-progress-mask/index.tsx +++ b/frontend/packages/studio/components/src/markdown-editor/components/upload-progress-mask/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Progress } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/studio/components/src/markdown-editor/constant/file.ts b/frontend/packages/studio/components/src/markdown-editor/constant/file.ts index 23245a75..9508be99 100644 --- a/frontend/packages/studio/components/src/markdown-editor/constant/file.ts +++ b/frontend/packages/studio/components/src/markdown-editor/constant/file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const MAX_FILE_SIZE = 20 * 1024 * 1024; diff --git a/frontend/packages/studio/components/src/markdown-editor/constant/onboarding-variable.ts b/frontend/packages/studio/components/src/markdown-editor/constant/onboarding-variable.ts index 263b190e..81af03f1 100644 --- a/frontend/packages/studio/components/src/markdown-editor/constant/onboarding-variable.ts +++ b/frontend/packages/studio/components/src/markdown-editor/constant/onboarding-variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum OnboardingVariable { USER_NAME = 'user_name', } diff --git a/frontend/packages/studio/components/src/markdown-editor/helpers/get-insert-text-at-position.ts b/frontend/packages/studio/components/src/markdown-editor/helpers/get-insert-text-at-position.ts index 60cb5bec..30bd4ae9 100644 --- a/frontend/packages/studio/components/src/markdown-editor/helpers/get-insert-text-at-position.ts +++ b/frontend/packages/studio/components/src/markdown-editor/helpers/get-insert-text-at-position.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getInsertTextAtPosition = ({ text, insertText, diff --git a/frontend/packages/studio/components/src/markdown-editor/helpers/get-insert-text.ts b/frontend/packages/studio/components/src/markdown-editor/helpers/get-insert-text.ts index 615c22cc..56faaa18 100644 --- a/frontend/packages/studio/components/src/markdown-editor/helpers/get-insert-text.ts +++ b/frontend/packages/studio/components/src/markdown-editor/helpers/get-insert-text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { primitiveExhaustiveCheck } from '../utils/exhaustive-check'; import { type SyncAction } from '../type'; import { getMarkdownLink } from './get-markdown-link'; diff --git a/frontend/packages/studio/components/src/markdown-editor/helpers/get-is-file-format-valid.ts b/frontend/packages/studio/components/src/markdown-editor/helpers/get-is-file-format-valid.ts index 6ac01efc..1617115a 100644 --- a/frontend/packages/studio/components/src/markdown-editor/helpers/get-is-file-format-valid.ts +++ b/frontend/packages/studio/components/src/markdown-editor/helpers/get-is-file-format-valid.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getIsFileFormatValid = (file: File) => file.type.startsWith('image/') && file.type !== 'image/svg+xml'; diff --git a/frontend/packages/studio/components/src/markdown-editor/helpers/get-markdown-image-link.ts b/frontend/packages/studio/components/src/markdown-editor/helpers/get-markdown-image-link.ts index f8854896..bd800cbf 100644 --- a/frontend/packages/studio/components/src/markdown-editor/helpers/get-markdown-image-link.ts +++ b/frontend/packages/studio/components/src/markdown-editor/helpers/get-markdown-image-link.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getMarkdownImageLink = ({ fileName, link, diff --git a/frontend/packages/studio/components/src/markdown-editor/helpers/get-markdown-link.ts b/frontend/packages/studio/components/src/markdown-editor/helpers/get-markdown-link.ts index cad736dd..14cd2798 100644 --- a/frontend/packages/studio/components/src/markdown-editor/helpers/get-markdown-link.ts +++ b/frontend/packages/studio/components/src/markdown-editor/helpers/get-markdown-link.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getMarkdownLink = ({ text, link, diff --git a/frontend/packages/studio/components/src/markdown-editor/hooks/use-markdown-editor.ts b/frontend/packages/studio/components/src/markdown-editor/hooks/use-markdown-editor.ts index 275fbd25..bb681c13 100644 --- a/frontend/packages/studio/components/src/markdown-editor/hooks/use-markdown-editor.ts +++ b/frontend/packages/studio/components/src/markdown-editor/hooks/use-markdown-editor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect, useRef, diff --git a/frontend/packages/studio/components/src/markdown-editor/hooks/use-upload-file.ts b/frontend/packages/studio/components/src/markdown-editor/hooks/use-upload-file.ts index 501ef612..828015af 100644 --- a/frontend/packages/studio/components/src/markdown-editor/hooks/use-upload-file.ts +++ b/frontend/packages/studio/components/src/markdown-editor/hooks/use-upload-file.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/studio/components/src/markdown-editor/index.tsx b/frontend/packages/studio/components/src/markdown-editor/index.tsx index 0ce4eb68..f099b4d8 100644 --- a/frontend/packages/studio/components/src/markdown-editor/index.tsx +++ b/frontend/packages/studio/components/src/markdown-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/markdown-editor/service/upload-controller.ts b/frontend/packages/studio/components/src/markdown-editor/service/upload-controller.ts index a192452d..1a8fa2f6 100644 --- a/frontend/packages/studio/components/src/markdown-editor/service/upload-controller.ts +++ b/frontend/packages/studio/components/src/markdown-editor/service/upload-controller.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uploadFileV2, type EventPayloadMaps as BaseEventPayloadMap, diff --git a/frontend/packages/studio/components/src/markdown-editor/type.ts b/frontend/packages/studio/components/src/markdown-editor/type.ts index eeb4eb5d..80291621 100644 --- a/frontend/packages/studio/components/src/markdown-editor/type.ts +++ b/frontend/packages/studio/components/src/markdown-editor/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface InsertImageAction { type: 'image'; sync: false; diff --git a/frontend/packages/studio/components/src/markdown-editor/utils/exhaustive-check.ts b/frontend/packages/studio/components/src/markdown-editor/utils/exhaustive-check.ts index a68d4987..5547b892 100644 --- a/frontend/packages/studio/components/src/markdown-editor/utils/exhaustive-check.ts +++ b/frontend/packages/studio/components/src/markdown-editor/utils/exhaustive-check.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const primitiveExhaustiveCheck = (_: never) => 0; export const recordExhaustiveCheck = (_: Record) => 0; diff --git a/frontend/packages/studio/components/src/markdown-editor/utils/onboarding-variable.ts b/frontend/packages/studio/components/src/markdown-editor/utils/onboarding-variable.ts index 755aacc7..d86a5463 100644 --- a/frontend/packages/studio/components/src/markdown-editor/utils/onboarding-variable.ts +++ b/frontend/packages/studio/components/src/markdown-editor/utils/onboarding-variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnboardingVariable, type OnboardingVariableMap, diff --git a/frontend/packages/studio/components/src/markdown-editor/utils/typed-keys.ts b/frontend/packages/studio/components/src/markdown-editor/utils/typed-keys.ts index e1b44ad4..3b51b18b 100644 --- a/frontend/packages/studio/components/src/markdown-editor/utils/typed-keys.ts +++ b/frontend/packages/studio/components/src/markdown-editor/utils/typed-keys.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const typedKeys = [number]>( o: T, ): Array => Object.keys(o) as Array; diff --git a/frontend/packages/studio/components/src/model-option/model-description.tsx b/frontend/packages/studio/components/src/model-option/model-description.tsx index 0ef640d9..86f8e20a 100644 --- a/frontend/packages/studio/components/src/model-option/model-description.tsx +++ b/frontend/packages/studio/components/src/model-option/model-description.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MdBoxLazy } from '@coze-arch/bot-md-box-adapter/lazy'; import { type ModelDescGroup } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/components/src/model-option/option-item.tsx b/frontend/packages/studio/components/src/model-option/option-item.tsx index 02e15c37..89685b5e 100644 --- a/frontend/packages/studio/components/src/model-option/option-item.tsx +++ b/frontend/packages/studio/components/src/model-option/option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { lazy, Suspense } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/monetize/index.ts b/frontend/packages/studio/components/src/monetize/index.ts index 84006d58..be404da2 100644 --- a/frontend/packages/studio/components/src/monetize/index.ts +++ b/frontend/packages/studio/components/src/monetize/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MonetizeConfigPanel, MonetizeConfigValue, diff --git a/frontend/packages/studio/components/src/monetize/monetize-config-panel/index.tsx b/frontend/packages/studio/components/src/monetize/monetize-config-panel/index.tsx index 54efc70c..ee985570 100644 --- a/frontend/packages/studio/components/src/monetize/monetize-config-panel/index.tsx +++ b/frontend/packages/studio/components/src/monetize/monetize-config-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDebounceFn } from 'ahooks'; import { type BotMonetizationRefreshPeriod } from '@coze-arch/bot-api/benefit'; diff --git a/frontend/packages/studio/components/src/monetize/monetize-credit-refresh-cycle/index.tsx b/frontend/packages/studio/components/src/monetize/monetize-credit-refresh-cycle/index.tsx index f74584ca..2eeef6b1 100644 --- a/frontend/packages/studio/components/src/monetize/monetize-credit-refresh-cycle/index.tsx +++ b/frontend/packages/studio/components/src/monetize/monetize-credit-refresh-cycle/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; import { Tooltip, Select } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/components/src/monetize/monetize-description/index.tsx b/frontend/packages/studio/components/src/monetize/monetize-description/index.tsx index d11d8220..b0d4902b 100644 --- a/frontend/packages/studio/components/src/monetize/monetize-description/index.tsx +++ b/frontend/packages/studio/components/src/monetize/monetize-description/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Popover } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/components/src/monetize/monetize-free-chat-count/index.tsx b/frontend/packages/studio/components/src/monetize/monetize-free-chat-count/index.tsx index 34ef7a4b..501ef917 100644 --- a/frontend/packages/studio/components/src/monetize/monetize-free-chat-count/index.tsx +++ b/frontend/packages/studio/components/src/monetize/monetize-free-chat-count/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; import { InputNumber, Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/components/src/monetize/monetize-publish-info/index.tsx b/frontend/packages/studio/components/src/monetize/monetize-publish-info/index.tsx index ff4b684d..9a62bc16 100644 --- a/frontend/packages/studio/components/src/monetize/monetize-publish-info/index.tsx +++ b/frontend/packages/studio/components/src/monetize/monetize-publish-info/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/studio/components/src/monetize/monetize-switch/index.tsx b/frontend/packages/studio/components/src/monetize/monetize-switch/index.tsx index 6441dfc4..0ca2a923 100644 --- a/frontend/packages/studio/components/src/monetize/monetize-switch/index.tsx +++ b/frontend/packages/studio/components/src/monetize/monetize-switch/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Switch } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/components/src/personal-header/index.ts b/frontend/packages/studio/components/src/personal-header/index.ts index 5c45d407..a86ca578 100644 --- a/frontend/packages/studio/components/src/personal-header/index.ts +++ b/frontend/packages/studio/components/src/personal-header/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TopBar } from './top-bar'; export { SpaceAppList } from './space-app-list'; diff --git a/frontend/packages/studio/components/src/personal-header/space-app-list/index.tsx b/frontend/packages/studio/components/src/personal-header/space-app-list/index.tsx index 4535e91b..bce3b2be 100644 --- a/frontend/packages/studio/components/src/personal-header/space-app-list/index.tsx +++ b/frontend/packages/studio/components/src/personal-header/space-app-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { NavLink } from 'react-router-dom'; import React, { type ReactNode } from 'react'; diff --git a/frontend/packages/studio/components/src/personal-header/top-bar/index.tsx b/frontend/packages/studio/components/src/personal-header/top-bar/index.tsx index 08d8c45a..26097607 100644 --- a/frontend/packages/studio/components/src/personal-header/top-bar/index.tsx +++ b/frontend/packages/studio/components/src/personal-header/top-bar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type JSX } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/studio/components/src/plugin-limit-info/index.tsx b/frontend/packages/studio/components/src/plugin-limit-info/index.tsx index 9678c6bc..4c940335 100644 --- a/frontend/packages/studio/components/src/plugin-limit-info/index.tsx +++ b/frontend/packages/studio/components/src/plugin-limit-info/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/components/src/plugins/parameters-popover/index.tsx b/frontend/packages/studio/components/src/plugins/parameters-popover/index.tsx index 827a8ae7..1fab348c 100644 --- a/frontend/packages/studio/components/src/plugins/parameters-popover/index.tsx +++ b/frontend/packages/studio/components/src/plugins/parameters-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { sortBy } from 'lodash-es'; diff --git a/frontend/packages/studio/components/src/popover-content/index.tsx b/frontend/packages/studio/components/src/popover-content/index.tsx index cfed9b14..a791e797 100644 --- a/frontend/packages/studio/components/src/popover-content/index.tsx +++ b/frontend/packages/studio/components/src/popover-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { Suspense, lazy, diff --git a/frontend/packages/studio/components/src/project-duplicate-modal/index.tsx b/frontend/packages/studio/components/src/project-duplicate-modal/index.tsx index 10be1a49..321da589 100644 --- a/frontend/packages/studio/components/src/project-duplicate-modal/index.tsx +++ b/frontend/packages/studio/components/src/project-duplicate-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/studio/components/src/project-duplicate-modal/utils.ts b/frontend/packages/studio/components/src/project-duplicate-modal/utils.ts index 2f61cfd8..ecf28bf6 100644 --- a/frontend/packages/studio/components/src/project-duplicate-modal/utils.ts +++ b/frontend/packages/studio/components/src/project-duplicate-modal/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const appendCopySuffix = (name: string) => diff --git a/frontend/packages/studio/components/src/resizable-layout/handle.tsx b/frontend/packages/studio/components/src/resizable-layout/handle.tsx index 198ee50f..591c9e5b 100644 --- a/frontend/packages/studio/components/src/resizable-layout/handle.tsx +++ b/frontend/packages/studio/components/src/resizable-layout/handle.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEventHandler, type FC, diff --git a/frontend/packages/studio/components/src/resizable-layout/types.ts b/frontend/packages/studio/components/src/resizable-layout/types.ts index 0577b8ce..9d5fe09e 100644 --- a/frontend/packages/studio/components/src/resizable-layout/types.ts +++ b/frontend/packages/studio/components/src/resizable-layout/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface ResizableLayoutProps { className?: string; handleClassName?: string; diff --git a/frontend/packages/studio/components/src/search-no-result/card/bot/BotNoResult.tsx b/frontend/packages/studio/components/src/search-no-result/card/bot/BotNoResult.tsx index ad5bf189..b3862bda 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/bot/BotNoResult.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/bot/BotNoResult.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export function BotNoResult(props: React.SVGProps) { diff --git a/frontend/packages/studio/components/src/search-no-result/card/bot/BotNoResultDark.tsx b/frontend/packages/studio/components/src/search-no-result/card/bot/BotNoResultDark.tsx index ecef8d6c..0c735377 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/bot/BotNoResultDark.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/bot/BotNoResultDark.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export function BotNoResultDark(props: React.SVGProps) { diff --git a/frontend/packages/studio/components/src/search-no-result/card/bot/index.tsx b/frontend/packages/studio/components/src/search-no-result/card/bot/index.tsx index 654dd15e..90ba0436 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/bot/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/bot/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ThemeFactory, type COZTheme } from '../../factory'; import { BotNoResultDark } from './BotNoResultDark'; import { BotNoResult } from './BotNoResult'; diff --git a/frontend/packages/studio/components/src/search-no-result/card/common/CommonNoResult.tsx b/frontend/packages/studio/components/src/search-no-result/card/common/CommonNoResult.tsx index c676793f..3ea5b1d1 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/common/CommonNoResult.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/common/CommonNoResult.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; // eslint-disable-next-line @coze-arch/max-line-per-function diff --git a/frontend/packages/studio/components/src/search-no-result/card/common/CommonNoResultDark.tsx b/frontend/packages/studio/components/src/search-no-result/card/common/CommonNoResultDark.tsx index d486fce4..2cf581eb 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/common/CommonNoResultDark.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/common/CommonNoResultDark.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; // eslint-disable-next-line @coze-arch/max-line-per-function diff --git a/frontend/packages/studio/components/src/search-no-result/card/common/index.tsx b/frontend/packages/studio/components/src/search-no-result/card/common/index.tsx index 951bef5a..309e12c1 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/common/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/common/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ThemeFactory, type COZTheme } from '../../factory'; import { CommonNoResultDark } from './CommonNoResultDark'; import { CommonNoResult } from './CommonNoResult'; diff --git a/frontend/packages/studio/components/src/search-no-result/card/index.tsx b/frontend/packages/studio/components/src/search-no-result/card/index.tsx index 8528f5a8..78c74394 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/studio/components/src/search-no-result/card/recommend/RecommendNoResult.tsx b/frontend/packages/studio/components/src/search-no-result/card/recommend/RecommendNoResult.tsx index 9f44be95..e4f879f4 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/recommend/RecommendNoResult.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/recommend/RecommendNoResult.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; // eslint-disable-next-line @coze-arch/max-line-per-function diff --git a/frontend/packages/studio/components/src/search-no-result/card/recommend/RecommendNoResultDark.tsx b/frontend/packages/studio/components/src/search-no-result/card/recommend/RecommendNoResultDark.tsx index 3ed9ebf1..999a629a 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/recommend/RecommendNoResultDark.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/recommend/RecommendNoResultDark.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; // eslint-disable-next-line @coze-arch/max-line-per-function diff --git a/frontend/packages/studio/components/src/search-no-result/card/recommend/index.tsx b/frontend/packages/studio/components/src/search-no-result/card/recommend/index.tsx index 273d6bf3..6ef13323 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/recommend/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/recommend/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ThemeFactory, type COZTheme } from '../../factory'; import { RecommendNoResultDark } from './RecommendNoResultDark'; import { RecommendNoResult } from './RecommendNoResult'; diff --git a/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/SocialSceneFlowNoResult.tsx b/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/SocialSceneFlowNoResult.tsx index 21c492c6..a35a0dd4 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/SocialSceneFlowNoResult.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/SocialSceneFlowNoResult.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export function SocialSceneFlowNoResult(props: React.SVGProps) { diff --git a/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/SocialSceneFlowNoResultDark.tsx b/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/SocialSceneFlowNoResultDark.tsx index cb306c54..c4b78b64 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/SocialSceneFlowNoResultDark.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/SocialSceneFlowNoResultDark.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export function SocialSceneFlowNoResultDark( diff --git a/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/index.tsx b/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/index.tsx index f7ea621c..46c83e6a 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/social-scene-flow/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ThemeFactory, type COZTheme } from '../../factory'; import { SocialSceneFlowNoResultDark } from './SocialSceneFlowNoResultDark'; import { SocialSceneFlowNoResult } from './SocialSceneFlowNoResult'; diff --git a/frontend/packages/studio/components/src/search-no-result/card/social/SocialNoResult.tsx b/frontend/packages/studio/components/src/search-no-result/card/social/SocialNoResult.tsx index 804179fa..165ba08d 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/social/SocialNoResult.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/social/SocialNoResult.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export function SocialNoResult(props: React.SVGProps) { diff --git a/frontend/packages/studio/components/src/search-no-result/card/social/SocialNoResultDark.tsx b/frontend/packages/studio/components/src/search-no-result/card/social/SocialNoResultDark.tsx index f8ff9a29..37bb0c02 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/social/SocialNoResultDark.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/social/SocialNoResultDark.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export function SocialNoResultDark(props: React.SVGProps) { return ( diff --git a/frontend/packages/studio/components/src/search-no-result/card/social/index.tsx b/frontend/packages/studio/components/src/search-no-result/card/social/index.tsx index f36b5282..37286f67 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/social/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/social/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ThemeFactory, type COZTheme } from '../../factory'; import { SocialNoResultDark } from './SocialNoResultDark'; import { SocialNoResult } from './SocialNoResult'; diff --git a/frontend/packages/studio/components/src/search-no-result/card/widget/WidgetNoResult.tsx b/frontend/packages/studio/components/src/search-no-result/card/widget/WidgetNoResult.tsx index aeccca05..4c228f86 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/widget/WidgetNoResult.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/widget/WidgetNoResult.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export function WidgetNoResult(props: React.SVGProps) { diff --git a/frontend/packages/studio/components/src/search-no-result/card/widget/WidgetNoResultDark.tsx b/frontend/packages/studio/components/src/search-no-result/card/widget/WidgetNoResultDark.tsx index 0694b3ff..31212f30 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/widget/WidgetNoResultDark.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/widget/WidgetNoResultDark.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export function WidgetNoResultDark(props: React.SVGProps) { return ( diff --git a/frontend/packages/studio/components/src/search-no-result/card/widget/index.tsx b/frontend/packages/studio/components/src/search-no-result/card/widget/index.tsx index 7690b9b3..42cfb05a 100644 --- a/frontend/packages/studio/components/src/search-no-result/card/widget/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/card/widget/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ThemeFactory, type COZTheme } from '../../factory'; import { WidgetNoResultDark } from './WidgetNoResultDark'; import { WidgetNoResult } from './WidgetNoResult'; diff --git a/frontend/packages/studio/components/src/search-no-result/factory/index.tsx b/frontend/packages/studio/components/src/search-no-result/factory/index.tsx index e1b0de12..32ae8ab8 100644 --- a/frontend/packages/studio/components/src/search-no-result/factory/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/factory/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type JSX } from 'react'; import { type Theme } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/components/src/search-no-result/index.tsx b/frontend/packages/studio/components/src/search-no-result/index.tsx index a90cd4a7..1a8058d8 100644 --- a/frontend/packages/studio/components/src/search-no-result/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/studio/components/src/search-no-result/mask/SearchNoResultDark.tsx b/frontend/packages/studio/components/src/search-no-result/mask/SearchNoResultDark.tsx index 681651f5..09b893a2 100644 --- a/frontend/packages/studio/components/src/search-no-result/mask/SearchNoResultDark.tsx +++ b/frontend/packages/studio/components/src/search-no-result/mask/SearchNoResultDark.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; // eslint-disable-next-line @coze-arch/max-line-per-function diff --git a/frontend/packages/studio/components/src/search-no-result/mask/SearchNoResultLight.tsx b/frontend/packages/studio/components/src/search-no-result/mask/SearchNoResultLight.tsx index 8832d43a..5febfa5f 100644 --- a/frontend/packages/studio/components/src/search-no-result/mask/SearchNoResultLight.tsx +++ b/frontend/packages/studio/components/src/search-no-result/mask/SearchNoResultLight.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; // eslint-disable-next-line @coze-arch/max-line-per-function diff --git a/frontend/packages/studio/components/src/search-no-result/mask/index.tsx b/frontend/packages/studio/components/src/search-no-result/mask/index.tsx index 198ae0e2..f55d601a 100644 --- a/frontend/packages/studio/components/src/search-no-result/mask/index.tsx +++ b/frontend/packages/studio/components/src/search-no-result/mask/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ThemeFactory, type COZTheme } from '../factory'; import { SearchNoResultLight } from './SearchNoResultLight'; import { SearchNoResultDark } from './SearchNoResultDark'; diff --git a/frontend/packages/studio/components/src/search/index.tsx b/frontend/packages/studio/components/src/search/index.tsx index f0ff7215..d2995c44 100644 --- a/frontend/packages/studio/components/src/search/index.tsx +++ b/frontend/packages/studio/components/src/search/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { useUpdateEffect } from 'ahooks'; diff --git a/frontend/packages/studio/components/src/select-space-modal/index.tsx b/frontend/packages/studio/components/src/select-space-modal/index.tsx index 9b8406bc..2c86758e 100644 --- a/frontend/packages/studio/components/src/select-space-modal/index.tsx +++ b/frontend/packages/studio/components/src/select-space-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type PropsWithChildren, useEffect, useRef } from 'react'; import classNames from 'classnames'; @@ -67,8 +67,8 @@ export const SelectSpaceModal: React.FC< form.current?.formApi.setValue( 'spaceId', hide_operation - ? (list?.[0].id ?? '') - : (id ?? useSpaceStore.getState().getPersonalSpaceID() ?? ''), + ? list?.[0].id ?? '' + : id ?? useSpaceStore.getState().getPersonalSpaceID() ?? '', ); } }, [visible, list]); diff --git a/frontend/packages/studio/components/src/social-scene/collapsible-role-list/index.tsx b/frontend/packages/studio/components/src/social-scene/collapsible-role-list/index.tsx index cbb59426..6482168e 100644 --- a/frontend/packages/studio/components/src/social-scene/collapsible-role-list/index.tsx +++ b/frontend/packages/studio/components/src/social-scene/collapsible-role-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Tag, Tooltip } from '@coze-arch/coze-design'; import { Boundary, OverflowList } from '@blueprintjs/core'; diff --git a/frontend/packages/studio/components/src/sortable-list/hooks.ts b/frontend/packages/studio/components/src/sortable-list/hooks.ts index d1a94d18..f161484d 100644 --- a/frontend/packages/studio/components/src/sortable-list/hooks.ts +++ b/frontend/packages/studio/components/src/sortable-list/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDrag, useDrop } from 'react-dnd'; import { useMemo, useRef, type RefObject } from 'react'; diff --git a/frontend/packages/studio/components/src/sortable-list/index.tsx b/frontend/packages/studio/components/src/sortable-list/index.tsx index 80533747..3fab8bfb 100644 --- a/frontend/packages/studio/components/src/sortable-list/index.tsx +++ b/frontend/packages/studio/components/src/sortable-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactElement } from 'react'; import { DndProvider } from '../dnd-provider'; diff --git a/frontend/packages/studio/components/src/space-form-select/index.tsx b/frontend/packages/studio/components/src/space-form-select/index.tsx index e3e1faf2..6f0ea47b 100644 --- a/frontend/packages/studio/components/src/space-form-select/index.tsx +++ b/frontend/packages/studio/components/src/space-form-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useEffect } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/studio/components/src/sticky/index.tsx b/frontend/packages/studio/components/src/sticky/index.tsx index 5a470eff..c34d0074 100644 --- a/frontend/packages/studio/components/src/sticky/index.tsx +++ b/frontend/packages/studio/components/src/sticky/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type PropsWithChildren, useRef, useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/studio/components/src/table-select-all-popover/index.tsx b/frontend/packages/studio/components/src/table-select-all-popover/index.tsx index a9c7e97b..931f3a21 100644 --- a/frontend/packages/studio/components/src/table-select-all-popover/index.tsx +++ b/frontend/packages/studio/components/src/table-select-all-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/components/src/tea-exposure/index.tsx b/frontend/packages/studio/components/src/tea-exposure/index.tsx index 31675d15..0e4fd648 100644 --- a/frontend/packages/studio/components/src/tea-exposure/index.tsx +++ b/frontend/packages/studio/components/src/tea-exposure/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, type ClassAttributes, diff --git a/frontend/packages/studio/components/src/typings.d.ts b/frontend/packages/studio/components/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/components/src/typings.d.ts +++ b/frontend/packages/studio/components/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/components/src/ui-breadcrumb/bread-crumb.tsx b/frontend/packages/studio/components/src/ui-breadcrumb/bread-crumb.tsx index a2ebf3e7..82b6ac34 100644 --- a/frontend/packages/studio/components/src/ui-breadcrumb/bread-crumb.tsx +++ b/frontend/packages/studio/components/src/ui-breadcrumb/bread-crumb.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, useParams } from 'react-router-dom'; import { SpaceAppEnum, BaseEnum } from '@coze-arch/web-context'; diff --git a/frontend/packages/studio/components/src/ui-breadcrumb/index.ts b/frontend/packages/studio/components/src/ui-breadcrumb/index.ts index 4092430f..a172c0ca 100644 --- a/frontend/packages/studio/components/src/ui-breadcrumb/index.ts +++ b/frontend/packages/studio/components/src/ui-breadcrumb/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { UIBreadcrumb, type BreadCrumbProps } from './bread-crumb'; diff --git a/frontend/packages/studio/components/src/ui-search/index.tsx b/frontend/packages/studio/components/src/ui-search/index.tsx index 49fe8458..5a3ea612 100644 --- a/frontend/packages/studio/components/src/ui-search/index.tsx +++ b/frontend/packages/studio/components/src/ui-search/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import { diff --git a/frontend/packages/studio/components/src/upload-generate-button/index.tsx b/frontend/packages/studio/components/src/upload-generate-button/index.tsx index 4eb81b9b..c6231c75 100644 --- a/frontend/packages/studio/components/src/upload-generate-button/index.tsx +++ b/frontend/packages/studio/components/src/upload-generate-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { useGenerateImageStore } from '@coze-studio/bot-detail-store'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/components/vitest.config.ts b/frontend/packages/studio/components/vitest.config.ts index 2d0ffe71..946faee6 100644 --- a/frontend/packages/studio/components/vitest.config.ts +++ b/frontend/packages/studio/components/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import svgr from 'vite-plugin-svgr'; import { defineConfig } from '@coze-arch/vitest-config'; diff --git a/frontend/packages/studio/components/vitest.setup.ts b/frontend/packages/studio/components/vitest.setup.ts index 9946e52c..3c55e5a0 100644 --- a/frontend/packages/studio/components/vitest.setup.ts +++ b/frontend/packages/studio/components/vitest.setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom/vitest'; // Mock globals diff --git a/frontend/packages/studio/entity-adapter/src/hooks/use-create-agent.tsx b/frontend/packages/studio/entity-adapter/src/hooks/use-create-agent.tsx index cd7003bb..8ab85ae6 100644 --- a/frontend/packages/studio/entity-adapter/src/hooks/use-create-agent.tsx +++ b/frontend/packages/studio/entity-adapter/src/hooks/use-create-agent.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { type DraftBot } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/entity-adapter/src/hooks/use-create-or-update-agent/index.tsx b/frontend/packages/studio/entity-adapter/src/hooks/use-create-or-update-agent/index.tsx index 4bc03fda..88fa6163 100644 --- a/frontend/packages/studio/entity-adapter/src/hooks/use-create-or-update-agent/index.tsx +++ b/frontend/packages/studio/entity-adapter/src/hooks/use-create-or-update-agent/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useEffect, useState, Fragment } from 'react'; import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; // Keep if botId is needed directly @@ -138,7 +138,7 @@ export const useCreateOrUpdateAgent = ({ 'spaceId', hide_operation ? res?.bot_space_list?.[0].id - : (spaceId ?? res?.bot_space_list?.[0].id), + : spaceId ?? res?.bot_space_list?.[0].id, ); } }); diff --git a/frontend/packages/studio/entity-adapter/src/hooks/use-update-agent.tsx b/frontend/packages/studio/entity-adapter/src/hooks/use-update-agent.tsx index 8f56c763..490158e2 100644 --- a/frontend/packages/studio/entity-adapter/src/hooks/use-update-agent.tsx +++ b/frontend/packages/studio/entity-adapter/src/hooks/use-update-agent.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject } from 'react'; import { type DraftBot } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/entity-adapter/src/index.ts b/frontend/packages/studio/entity-adapter/src/index.ts index ecfd8744..4cf09fe6 100644 --- a/frontend/packages/studio/entity-adapter/src/index.ts +++ b/frontend/packages/studio/entity-adapter/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCreateAgent } from './hooks/use-create-agent'; export { useUpdateAgent } from './hooks/use-update-agent'; diff --git a/frontend/packages/studio/entity-adapter/src/typings.d.ts b/frontend/packages/studio/entity-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/entity-adapter/src/typings.d.ts +++ b/frontend/packages/studio/entity-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/entity-adapter/vitest.config.ts b/frontend/packages/studio/entity-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/entity-adapter/vitest.config.ts +++ b/frontend/packages/studio/entity-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/mockset-edit-modal-adapter/src/components/mockset-edit-modal/index.tsx b/frontend/packages/studio/mockset-edit-modal-adapter/src/components/mockset-edit-modal/index.tsx index f21f3cf3..85f04e8c 100644 --- a/frontend/packages/studio/mockset-edit-modal-adapter/src/components/mockset-edit-modal/index.tsx +++ b/frontend/packages/studio/mockset-edit-modal-adapter/src/components/mockset-edit-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useRef } from 'react'; diff --git a/frontend/packages/studio/mockset-edit-modal-adapter/src/index.ts b/frontend/packages/studio/mockset-edit-modal-adapter/src/index.ts index c8881052..6dd86d6a 100644 --- a/frontend/packages/studio/mockset-edit-modal-adapter/src/index.ts +++ b/frontend/packages/studio/mockset-edit-modal-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { builtinSuccessCallback, MockSetEditModal, diff --git a/frontend/packages/studio/mockset-edit-modal-adapter/src/typings.d.ts b/frontend/packages/studio/mockset-edit-modal-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/mockset-edit-modal-adapter/src/typings.d.ts +++ b/frontend/packages/studio/mockset-edit-modal-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/mockset-edit-modal-adapter/vitest.config.ts b/frontend/packages/studio/mockset-edit-modal-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/mockset-edit-modal-adapter/vitest.config.ts +++ b/frontend/packages/studio/mockset-edit-modal-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/mockset-editor-adapter/src/components/mockset-editor/index.tsx b/frontend/packages/studio/mockset-editor-adapter/src/components/mockset-editor/index.tsx index 0b67642e..c17de4db 100644 --- a/frontend/packages/studio/mockset-editor-adapter/src/components/mockset-editor/index.tsx +++ b/frontend/packages/studio/mockset-editor-adapter/src/components/mockset-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, diff --git a/frontend/packages/studio/mockset-editor-adapter/src/index.ts b/frontend/packages/studio/mockset-editor-adapter/src/index.ts index bc2554dd..3c1eb0fb 100644 --- a/frontend/packages/studio/mockset-editor-adapter/src/index.ts +++ b/frontend/packages/studio/mockset-editor-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MocksetEditor, type MocksetEditorProps, diff --git a/frontend/packages/studio/mockset-editor-adapter/src/typings.d.ts b/frontend/packages/studio/mockset-editor-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/mockset-editor-adapter/src/typings.d.ts +++ b/frontend/packages/studio/mockset-editor-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/mockset-editor-adapter/vitest.config.ts b/frontend/packages/studio/mockset-editor-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/mockset-editor-adapter/vitest.config.ts +++ b/frontend/packages/studio/mockset-editor-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/mockset-editor/src/components/mockset-editor/index.tsx b/frontend/packages/studio/mockset-editor/src/components/mockset-editor/index.tsx index cf38e088..c5ef0e42 100644 --- a/frontend/packages/studio/mockset-editor/src/components/mockset-editor/index.tsx +++ b/frontend/packages/studio/mockset-editor/src/components/mockset-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type ForwardedRef, diff --git a/frontend/packages/studio/mockset-editor/src/index.ts b/frontend/packages/studio/mockset-editor/src/index.ts index d4b744e9..760e1e70 100644 --- a/frontend/packages/studio/mockset-editor/src/index.ts +++ b/frontend/packages/studio/mockset-editor/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type MockDataEditorMarkerInfo, type MockDataEditorProps, diff --git a/frontend/packages/studio/mockset-editor/src/typings.d.ts b/frontend/packages/studio/mockset-editor/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/mockset-editor/src/typings.d.ts +++ b/frontend/packages/studio/mockset-editor/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/mockset-editor/vitest.config.ts b/frontend/packages/studio/mockset-editor/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/mockset-editor/vitest.config.ts +++ b/frontend/packages/studio/mockset-editor/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/mockset-shared/src/constants/index.ts b/frontend/packages/studio/mockset-shared/src/constants/index.ts index e64e879c..691ec712 100644 --- a/frontend/packages/studio/mockset-shared/src/constants/index.ts +++ b/frontend/packages/studio/mockset-shared/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const FORMAT_SPACE_SETTING = 4; export const MAX_SUBMIT_LENGTH = 102400; export const RANDOM_BOOL_THRESHOLD = 0.5; diff --git a/frontend/packages/studio/mockset-shared/src/index.ts b/frontend/packages/studio/mockset-shared/src/index.ts index aedc0619..33d3f4dd 100644 --- a/frontend/packages/studio/mockset-shared/src/index.ts +++ b/frontend/packages/studio/mockset-shared/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MockDataValueType, MockDataStatus, diff --git a/frontend/packages/studio/mockset-shared/src/types/index.ts b/frontend/packages/studio/mockset-shared/src/types/index.ts index 31cfb4e3..00f178a8 100644 --- a/frontend/packages/studio/mockset-shared/src/types/index.ts +++ b/frontend/packages/studio/mockset-shared/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MockRule } from '@coze-arch/bot-api/debugger_api'; export enum MockDataValueType { diff --git a/frontend/packages/studio/mockset-shared/src/types/interface.ts b/frontend/packages/studio/mockset-shared/src/types/interface.ts index 7ceec755..83cabf93 100644 --- a/frontend/packages/studio/mockset-shared/src/types/interface.ts +++ b/frontend/packages/studio/mockset-shared/src/types/interface.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { diff --git a/frontend/packages/studio/mockset-shared/src/typings.d.ts b/frontend/packages/studio/mockset-shared/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/mockset-shared/src/typings.d.ts +++ b/frontend/packages/studio/mockset-shared/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/mockset-shared/vitest.config.ts b/frontend/packages/studio/mockset-shared/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/mockset-shared/vitest.config.ts +++ b/frontend/packages/studio/mockset-shared/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/open-platform/open-auth/__tests__/hooks/use-token.test.ts b/frontend/packages/studio/open-platform/open-auth/__tests__/hooks/use-token.test.ts index 7b7f031c..14ed1255 100644 --- a/frontend/packages/studio/open-platform/open-auth/__tests__/hooks/use-token.test.ts +++ b/frontend/packages/studio/open-platform/open-auth/__tests__/hooks/use-token.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook, act } from '@testing-library/react-hooks'; import { @@ -152,8 +152,7 @@ vi.mock('@coze-arch/bot-api', () => ({ { description: 'Personal Space', hide_operation: false, - icon_url: - 'https://placehold.co/460x460?text=placeholder-1', + icon_url: 'https://placehold.co/460x460?text=placeholder-1', id: '7304535597841317932', name: 'Personal', role_type: 1, @@ -162,8 +161,7 @@ vi.mock('@coze-arch/bot-api', () => ({ { description: 'Public', hide_operation: true, - icon_url: - 'https://placehold.co/460x460?text=placeholder-1', + icon_url: 'https://placehold.co/460x460?text=placeholder-1', id: '7293504662404071468', name: 'Public', role_type: 3, diff --git a/frontend/packages/studio/open-platform/open-auth/setup/index.ts b/frontend/packages/studio/open-platform/open-auth/setup/index.ts index 1d116530..515e99db 100644 --- a/frontend/packages/studio/open-platform/open-auth/setup/index.ts +++ b/frontend/packages/studio/open-platform/open-auth/setup/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; vi.mock('@coze-arch/i18n', () => ({ diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/auth-table/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/auth-table/index.tsx index d2ed2f2a..36e18da0 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/auth-table/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/auth-table/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/instructions-wrap/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/instructions-wrap/index.tsx index edbb800e..eea81b81 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/instructions-wrap/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/instructions-wrap/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/index.tsx index f655b2a7..6a7f4a67 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-create-at.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-create-at.tsx index 9aeb30e5..6e1ad5f3 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-create-at.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-create-at.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type ColumnProps } from '@coze-arch/coze-design'; import { type PersonalAccessToken } from '@coze-arch/bot-api/pat_permission_api'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-expire-at.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-expire-at.tsx index cf07488f..ab08894f 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-expire-at.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-expire-at.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type ColumnProps } from '@coze-arch/coze-design'; import { type PersonalAccessToken } from '@coze-arch/bot-api/pat_permission_api'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-last-use-at.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-last-use-at.tsx index 88a71d6e..bb36acf7 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-last-use-at.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-last-use-at.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type ColumnProps } from '@coze-arch/coze-design'; import { type PersonalAccessToken } from '@coze-arch/bot-api/pat_permission_api'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-name.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-name.tsx index 93d06f8a..9d7097bb 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-name.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-name.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type ColumnProps } from '@coze-arch/coze-design'; import { type PersonalAccessToken } from '@coze-arch/bot-api/pat_permission_api'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-op.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-op.tsx index 0c68b8f6..960dec0d 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-op.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-op.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-status.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-status.tsx index 01e59ce9..52a310ef 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-status.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/column-status.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Tag } from '@coze-arch/coze-design'; import { type ColumnProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/index.tsx index 21f1d1c2..2ee2a650 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/data-table/table-column/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ColumnProps } from '@coze-arch/coze-design'; import { type PersonalAccessToken } from '@coze-arch/bot-api/pat_permission_api'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/index.tsx index e466e875..e40c59da 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type FetchCustomPatList } from '@/hooks/pat/use-token'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/permission-modal/common-form-params/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/permission-modal/common-form-params/index.tsx index 1f07575b..f4195540 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/permission-modal/common-form-params/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/permission-modal/common-form-params/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/permission-modal/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/permission-modal/index.tsx index 30fbe532..bb35a283 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/permission-modal/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/permission-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, type PropsWithChildren, diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/result-modal/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/result-modal/index.tsx index 2cc01341..b9f33e44 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/result-modal/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/result-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import copy from 'copy-to-clipboard'; import { useMemoizedFn } from 'ahooks'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/components/pat/top-body/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/components/pat/top-body/index.tsx index e9942a49..2cc40bb7 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/components/pat/top-body/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/components/pat/top-body/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/action/use-pat-form.ts b/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/action/use-pat-form.ts index af951cd5..1f9e3a57 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/action/use-pat-form.ts +++ b/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/action/use-pat-form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/action/use-pat-operation.ts b/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/action/use-pat-operation.ts index cf6f0ef4..7e1d1323 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/action/use-pat-operation.ts +++ b/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/action/use-pat-operation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/use-token.ts b/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/use-token.ts index 18fb4b7a..b356e41b 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/use-token.ts +++ b/frontend/packages/studio/open-platform/open-auth/src/hooks/pat/use-token.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useMemoizedFn, useRequest } from 'ahooks'; diff --git a/frontend/packages/studio/open-platform/open-auth/src/hooks/use-table-height.ts b/frontend/packages/studio/open-platform/open-auth/src/hooks/use-table-height.ts index eb9f06fa..c62b8777 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/hooks/use-table-height.ts +++ b/frontend/packages/studio/open-platform/open-auth/src/hooks/use-table-height.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; export const useTableHeight = (tableRef: React.RefObject) => { diff --git a/frontend/packages/studio/open-platform/open-auth/src/index.tsx b/frontend/packages/studio/open-platform/open-auth/src/index.tsx index 399ce7be..80393606 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/index.tsx +++ b/frontend/packages/studio/open-platform/open-auth/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type PATProps, PatBody } from './components/pat'; export { disabledDate, diff --git a/frontend/packages/studio/open-platform/open-auth/src/typings.d.ts b/frontend/packages/studio/open-platform/open-auth/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/open-platform/open-auth/src/typings.d.ts +++ b/frontend/packages/studio/open-platform/open-auth/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/open-platform/open-auth/vitest.config.ts b/frontend/packages/studio/open-platform/open-auth/vitest.config.ts index 421f63bd..f022270a 100644 --- a/frontend/packages/studio/open-platform/open-auth/vitest.config.ts +++ b/frontend/packages/studio/open-platform/open-auth/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/studio/open-platform/open-chat/__tests__/setup.ts b/frontend/packages/studio/open-platform/open-chat/__tests__/setup.ts index 6709c915..d3bc8629 100644 --- a/frontend/packages/studio/open-platform/open-chat/__tests__/setup.ts +++ b/frontend/packages/studio/open-platform/open-chat/__tests__/setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); vi.stubGlobal('IS_BOE', false); vi.stubGlobal('IS_RELEASE_VERSION', true); diff --git a/frontend/packages/studio/open-platform/open-chat/src/components/builder-chat/index.tsx b/frontend/packages/studio/open-platform/open-chat/src/components/builder-chat/index.tsx index 89ccef27..dec23109 100644 --- a/frontend/packages/studio/open-platform/open-chat/src/components/builder-chat/index.tsx +++ b/frontend/packages/studio/open-platform/open-chat/src/components/builder-chat/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@coze/chat-sdk/webCss'; import { forwardRef, useMemo, type Ref, useImperativeHandle } from 'react'; diff --git a/frontend/packages/studio/open-platform/open-chat/src/index.ts b/frontend/packages/studio/open-platform/open-chat/src/index.ts index 2d3ec85e..c263dedb 100644 --- a/frontend/packages/studio/open-platform/open-chat/src/index.ts +++ b/frontend/packages/studio/open-platform/open-chat/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BuilderChat, ChatType, diff --git a/frontend/packages/studio/open-platform/open-chat/src/types/base.ts b/frontend/packages/studio/open-platform/open-chat/src/types/base.ts index a949967b..bfc15c79 100644 --- a/frontend/packages/studio/open-platform/open-chat/src/types/base.ts +++ b/frontend/packages/studio/open-platform/open-chat/src/types/base.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; export enum Layout { diff --git a/frontend/packages/studio/open-platform/open-chat/src/types/builder-chat.ts b/frontend/packages/studio/open-platform/open-chat/src/types/builder-chat.ts index 7df7fed0..d46c6993 100644 --- a/frontend/packages/studio/open-platform/open-chat/src/types/builder-chat.ts +++ b/frontend/packages/studio/open-platform/open-chat/src/types/builder-chat.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { diff --git a/frontend/packages/studio/open-platform/open-chat/src/types/index.ts b/frontend/packages/studio/open-platform/open-chat/src/types/index.ts index d0d6cbc1..5ac558d7 100644 --- a/frontend/packages/studio/open-platform/open-chat/src/types/index.ts +++ b/frontend/packages/studio/open-platform/open-chat/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Layout, type HeaderConfig, type DebugProps } from './base'; export type { IWorkflow, diff --git a/frontend/packages/studio/open-platform/open-chat/src/typings.d.ts b/frontend/packages/studio/open-platform/open-chat/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/open-platform/open-chat/src/typings.d.ts +++ b/frontend/packages/studio/open-platform/open-chat/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/open-platform/open-chat/vitest.config.ts b/frontend/packages/studio/open-platform/open-chat/vitest.config.ts index 547f5cd9..882c38c9 100644 --- a/frontend/packages/studio/open-platform/open-chat/vitest.config.ts +++ b/frontend/packages/studio/open-platform/open-chat/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/open-platform/open-env-adapter/__tests__/chat.test.ts b/frontend/packages/studio/open-platform/open-env-adapter/__tests__/chat.test.ts index c15f3ee2..48a9abbc 100644 --- a/frontend/packages/studio/open-platform/open-env-adapter/__tests__/chat.test.ts +++ b/frontend/packages/studio/open-platform/open-env-adapter/__tests__/chat.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getOpenSDKPath } from '@/chat'; describe('chat-env', () => { it('getOpenSDKUrl', () => { diff --git a/frontend/packages/studio/open-platform/open-env-adapter/__tests__/setup.ts b/frontend/packages/studio/open-platform/open-env-adapter/__tests__/setup.ts index c88feb61..b7426a1a 100644 --- a/frontend/packages/studio/open-platform/open-env-adapter/__tests__/setup.ts +++ b/frontend/packages/studio/open-platform/open-env-adapter/__tests__/setup.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_OVERSEA', false); diff --git a/frontend/packages/studio/open-platform/open-env-adapter/package.json b/frontend/packages/studio/open-platform/open-env-adapter/package.json index c8fd048b..cf46e03b 100644 --- a/frontend/packages/studio/open-platform/open-env-adapter/package.json +++ b/frontend/packages/studio/open-platform/open-env-adapter/package.json @@ -62,3 +62,4 @@ "main": "dist/index.js" } } + diff --git a/frontend/packages/studio/open-platform/open-env-adapter/src/chat/index.ts b/frontend/packages/studio/open-platform/open-env-adapter/src/chat/index.ts index 07839121..503fc730 100644 --- a/frontend/packages/studio/open-platform/open-env-adapter/src/chat/index.ts +++ b/frontend/packages/studio/open-platform/open-env-adapter/src/chat/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Dependency treeShaking Removes Extraneous Configuration (Argus) */ diff --git a/frontend/packages/studio/open-platform/open-env-adapter/src/index.ts b/frontend/packages/studio/open-platform/open-env-adapter/src/index.ts index 075685b6..7795a430 100644 --- a/frontend/packages/studio/open-platform/open-env-adapter/src/index.ts +++ b/frontend/packages/studio/open-platform/open-env-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { iframeAppHost, cozeOfficialHost, diff --git a/frontend/packages/studio/open-platform/open-env-adapter/src/typings.d.ts b/frontend/packages/studio/open-platform/open-env-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/open-platform/open-env-adapter/src/typings.d.ts +++ b/frontend/packages/studio/open-platform/open-env-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/open-platform/open-env-adapter/vitest.config.ts b/frontend/packages/studio/open-platform/open-env-adapter/vitest.config.ts index 547f5cd9..882c38c9 100644 --- a/frontend/packages/studio/open-platform/open-env-adapter/vitest.config.ts +++ b/frontend/packages/studio/open-platform/open-env-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/plugin-form-adapter/src/components/plugin-form-content/hooks.ts b/frontend/packages/studio/plugin-form-adapter/src/components/plugin-form-content/hooks.ts index d4c2f6dc..86daedea 100644 --- a/frontend/packages/studio/plugin-form-adapter/src/components/plugin-form-content/hooks.ts +++ b/frontend/packages/studio/plugin-form-adapter/src/components/plugin-form-content/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { type FormApi } from '@coze-arch/bot-semi/Form'; diff --git a/frontend/packages/studio/plugin-form-adapter/src/index.ts b/frontend/packages/studio/plugin-form-adapter/src/index.ts index d217a547..6b01507b 100644 --- a/frontend/packages/studio/plugin-form-adapter/src/index.ts +++ b/frontend/packages/studio/plugin-form-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginForm } from './components/plugin-form-content'; export { usePluginFormState, diff --git a/frontend/packages/studio/plugin-form-adapter/src/typings.d.ts b/frontend/packages/studio/plugin-form-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/plugin-form-adapter/src/typings.d.ts +++ b/frontend/packages/studio/plugin-form-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/plugin-form-adapter/vitest.config.ts b/frontend/packages/studio/plugin-form-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/plugin-form-adapter/vitest.config.ts +++ b/frontend/packages/studio/plugin-form-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/base.tsx b/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/base.tsx index ef4057c8..9bcf979b 100644 --- a/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/base.tsx +++ b/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/base.tsx @@ -13,15 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, useRef, useState } from 'react'; import { cloneDeep } from 'lodash-es'; -import { - Button, - type ButtonProps, - type FormApi, -} from '@coze-arch/coze-design'; +import { Button, type ButtonProps, type FormApi } from '@coze-arch/coze-design'; import { VersionDescForm, diff --git a/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/index.tsx b/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/index.tsx index f3b78d6a..66533a51 100644 --- a/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/index.tsx +++ b/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/version-description-form.tsx b/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/version-description-form.tsx index 896077c9..de6db220 100644 --- a/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/version-description-form.tsx +++ b/frontend/packages/studio/plugin-publish-ui-adapter/src/components/plugin-publish-ui/version-description-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PublishPluginRequest } from '@coze-arch/idl/plugin_develop'; import { I18n } from '@coze-arch/i18n'; import { type BaseFormProps, Form } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/plugin-publish-ui-adapter/src/index.ts b/frontend/packages/studio/plugin-publish-ui-adapter/src/index.ts index 2d5ac9c2..6bebbaeb 100644 --- a/frontend/packages/studio/plugin-publish-ui-adapter/src/index.ts +++ b/frontend/packages/studio/plugin-publish-ui-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BizPluginPublishPopover, type BizPluginPublishPopoverProps, diff --git a/frontend/packages/studio/plugin-publish-ui-adapter/src/typings.d.ts b/frontend/packages/studio/plugin-publish-ui-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/plugin-publish-ui-adapter/src/typings.d.ts +++ b/frontend/packages/studio/plugin-publish-ui-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/plugin-publish-ui-adapter/vitest.config.ts b/frontend/packages/studio/plugin-publish-ui-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/plugin-publish-ui-adapter/vitest.config.ts +++ b/frontend/packages/studio/plugin-publish-ui-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/plugin-shared/src/constants/index.ts b/frontend/packages/studio/plugin-shared/src/constants/index.ts index 2754406d..1f0bf57a 100644 --- a/frontend/packages/studio/plugin-shared/src/constants/index.ts +++ b/frontend/packages/studio/plugin-shared/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type TagColor } from '@coze-arch/bot-semi/Tag'; import { diff --git a/frontend/packages/studio/plugin-shared/src/index.ts b/frontend/packages/studio/plugin-shared/src/index.ts index 13281c60..08b23fb9 100644 --- a/frontend/packages/studio/plugin-shared/src/index.ts +++ b/frontend/packages/studio/plugin-shared/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PluginType, type pluginTypeOption, diff --git a/frontend/packages/studio/plugin-shared/src/types/index.ts b/frontend/packages/studio/plugin-shared/src/types/index.ts index 407d099c..c91d10b7 100644 --- a/frontend/packages/studio/plugin-shared/src/types/index.ts +++ b/frontend/packages/studio/plugin-shared/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GetPluginInfoResponse } from '@coze-arch/bot-api/plugin_develop'; export type PluginInfoProps = GetPluginInfoResponse & { plugin_id?: string }; diff --git a/frontend/packages/studio/plugin-shared/src/typings.d.ts b/frontend/packages/studio/plugin-shared/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/plugin-shared/src/typings.d.ts +++ b/frontend/packages/studio/plugin-shared/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/plugin-shared/vitest.config.ts b/frontend/packages/studio/plugin-shared/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/plugin-shared/vitest.config.ts +++ b/frontend/packages/studio/plugin-shared/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/plugin-tool-columns-adapter/src/hooks/use-get-tool-columns-adapter.tsx b/frontend/packages/studio/plugin-tool-columns-adapter/src/hooks/use-get-tool-columns-adapter.tsx index 0e9cdb76..c716cd01 100644 --- a/frontend/packages/studio/plugin-tool-columns-adapter/src/hooks/use-get-tool-columns-adapter.tsx +++ b/frontend/packages/studio/plugin-tool-columns-adapter/src/hooks/use-get-tool-columns-adapter.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/studio/plugin-tool-columns-adapter/src/index.ts b/frontend/packages/studio/plugin-tool-columns-adapter/src/index.ts index 27d06cff..3154deea 100644 --- a/frontend/packages/studio/plugin-tool-columns-adapter/src/index.ts +++ b/frontend/packages/studio/plugin-tool-columns-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useGetToolColumnsAdapter, type UseGetToolColumnsAdapterProps, diff --git a/frontend/packages/studio/plugin-tool-columns-adapter/src/typings.d.ts b/frontend/packages/studio/plugin-tool-columns-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/plugin-tool-columns-adapter/src/typings.d.ts +++ b/frontend/packages/studio/plugin-tool-columns-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/plugin-tool-columns-adapter/vitest.config.ts b/frontend/packages/studio/plugin-tool-columns-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/plugin-tool-columns-adapter/vitest.config.ts +++ b/frontend/packages/studio/plugin-tool-columns-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/plugin-tool-columns/src/hooks/use-get-tool-columns.tsx b/frontend/packages/studio/plugin-tool-columns/src/hooks/use-get-tool-columns.tsx index a0f6a0d2..619b6392 100644 --- a/frontend/packages/studio/plugin-tool-columns/src/hooks/use-get-tool-columns.tsx +++ b/frontend/packages/studio/plugin-tool-columns/src/hooks/use-get-tool-columns.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function -- columns */ diff --git a/frontend/packages/studio/plugin-tool-columns/src/index.ts b/frontend/packages/studio/plugin-tool-columns/src/index.ts index 4a22421e..903401d4 100644 --- a/frontend/packages/studio/plugin-tool-columns/src/index.ts +++ b/frontend/packages/studio/plugin-tool-columns/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useGetToolColumns, type UseGetToolColumnsProps, diff --git a/frontend/packages/studio/plugin-tool-columns/src/typings.d.ts b/frontend/packages/studio/plugin-tool-columns/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/plugin-tool-columns/src/typings.d.ts +++ b/frontend/packages/studio/plugin-tool-columns/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/plugin-tool-columns/vitest.config.ts b/frontend/packages/studio/plugin-tool-columns/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/plugin-tool-columns/vitest.config.ts +++ b/frontend/packages/studio/plugin-tool-columns/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/premium/premium-components-adapter/package.json b/frontend/packages/studio/premium/premium-components-adapter/package.json index 81177120..cf5accb7 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/package.json +++ b/frontend/packages/studio/premium/premium-components-adapter/package.json @@ -51,3 +51,4 @@ }, "// deps": "immer@^10.0.3 为脚本自动补齐,请勿改动" } + diff --git a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-manage/index.tsx b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-manage/index.tsx index 2c6234a7..b37f86e3 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-manage/index.tsx +++ b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-manage/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; export { useInitOpenPremiumManage } from './use-init-open-premium-manage'; export { usePremiumManageModal } from './use-premium-manage-modal'; diff --git a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-manage/use-premium-manage-modal.tsx b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-manage/use-premium-manage-modal.tsx index 9ed76cf9..84cdb564 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-manage/use-premium-manage-modal.tsx +++ b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-manage/use-premium-manage-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const voidFunc = () => { console.log('unImplement void func'); }; diff --git a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall-banner/index.tsx b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall-banner/index.tsx index 94b08a09..fd36cf7a 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall-banner/index.tsx +++ b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall-banner/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useFetchKnowledgeBenefit } from './use-fetch-knowledge-benefit'; export enum PremiumPaywallBannerScene { Knowledge, // Knowledge base scenario diff --git a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall-banner/use-fetch-knowledge-benefit.ts b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall-banner/use-fetch-knowledge-benefit.ts index 99527e71..4c9664f6 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall-banner/use-fetch-knowledge-benefit.ts +++ b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall-banner/use-fetch-knowledge-benefit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function useFetchKnowledgeBenefit(_props: unknown = {}) { return { data: { diff --git a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall/index.tsx b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall/index.tsx index 10c42c29..8cd8ef13 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall/index.tsx +++ b/frontend/packages/studio/premium/premium-components-adapter/src/components/premium-paywall/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum PremiumPaywallScene { // Create a new space AddSpace, diff --git a/frontend/packages/studio/premium/premium-components-adapter/src/index.ts b/frontend/packages/studio/premium/premium-components-adapter/src/index.ts index 276306d7..6ec5a797 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/src/index.ts +++ b/frontend/packages/studio/premium/premium-components-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useInitOpenPremiumManage, usePremiumManageModal, diff --git a/frontend/packages/studio/premium/premium-components-adapter/src/typings.d.ts b/frontend/packages/studio/premium/premium-components-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/src/typings.d.ts +++ b/frontend/packages/studio/premium/premium-components-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/premium/premium-components-adapter/vitest.config.ts b/frontend/packages/studio/premium/premium-components-adapter/vitest.config.ts index 9ca5b4f8..b8cc13cd 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/vitest.config.ts +++ b/frontend/packages/studio/premium/premium-components-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/premium/premium-components-adapter/vitest.setup.ts b/frontend/packages/studio/premium/premium-components-adapter/vitest.setup.ts index 48da2108..bb0a50f2 100644 --- a/frontend/packages/studio/premium/premium-components-adapter/vitest.setup.ts +++ b/frontend/packages/studio/premium/premium-components-adapter/vitest.setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); vi.mock('@coze-arch/i18n', () => ({ diff --git a/frontend/packages/studio/premium/premium-store-adapter/__tests__/data.ts b/frontend/packages/studio/premium/premium-store-adapter/__tests__/data.ts index 67b1b6d9..98013b0d 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/__tests__/data.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/__tests__/data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SubscriptionDetailV2 } from '@coze-arch/bot-api/trade'; export const mockUserBenefit = { diff --git a/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-benefit-basic.ts b/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-benefit-basic.ts index f88aa9ed..f69688ee 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-benefit-basic.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-benefit-basic.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { UserLevel, type MemberVersionRights } from '../types'; interface UseBenefitBasicResult { diff --git a/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-premium-quota.ts b/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-premium-quota.ts index 68dac69c..3f1d170d 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-premium-quota.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-premium-quota.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const quota = { /** The current consumption amount corresponds to the daily refresh in the package. */ remain: 0, diff --git a/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-premium-type.ts b/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-premium-type.ts index b9b79a18..cbd7e1e3 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-premium-type.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/src/hooks/use-premium-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SubscriptionDetail } from '../types'; const defaultData = { isFree: false, diff --git a/frontend/packages/studio/premium/premium-store-adapter/src/index.ts b/frontend/packages/studio/premium/premium-store-adapter/src/index.ts index 2e44e9d1..84818751 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/src/index.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePremiumStore, PremiumPlanLevel, diff --git a/frontend/packages/studio/premium/premium-store-adapter/src/stores/premium.ts b/frontend/packages/studio/premium/premium-store-adapter/src/stores/premium.ts index 4ecee77b..33b370bc 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/src/stores/premium.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/src/stores/premium.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/studio/premium/premium-store-adapter/src/types/index.ts b/frontend/packages/studio/premium/premium-store-adapter/src/types/index.ts index 756ed290..94260bf0 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/src/types/index.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SubscriptionBenefitDetail, type SKUInfo, diff --git a/frontend/packages/studio/premium/premium-store-adapter/src/typings.d.ts b/frontend/packages/studio/premium/premium-store-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/src/typings.d.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/premium/premium-store-adapter/src/utils/premium-type.ts b/frontend/packages/studio/premium/premium-store-adapter/src/utils/premium-type.ts index 9ae69039..599bcc72 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/src/utils/premium-type.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/src/utils/premium-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { PremiumPlan, PremiumSubs, diff --git a/frontend/packages/studio/premium/premium-store-adapter/vitest.config.ts b/frontend/packages/studio/premium/premium-store-adapter/vitest.config.ts index 9ca5b4f8..b8cc13cd 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/vitest.config.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/premium/premium-store-adapter/vitest.setup.ts b/frontend/packages/studio/premium/premium-store-adapter/vitest.setup.ts index 48da2108..bb0a50f2 100644 --- a/frontend/packages/studio/premium/premium-store-adapter/vitest.setup.ts +++ b/frontend/packages/studio/premium/premium-store-adapter/vitest.setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + vi.stubGlobal('IS_DEV_MODE', false); vi.mock('@coze-arch/i18n', () => ({ diff --git a/frontend/packages/studio/publish-manage-hooks/src/hooks/index.ts b/frontend/packages/studio/publish-manage-hooks/src/hooks/index.ts index 87517fde..a96f68b1 100644 --- a/frontend/packages/studio/publish-manage-hooks/src/hooks/index.ts +++ b/frontend/packages/studio/publish-manage-hooks/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useIsPublishRecordReady, type UseIsPublishRecordReadyProps, diff --git a/frontend/packages/studio/publish-manage-hooks/src/hooks/use-is-publish-record-ready.ts b/frontend/packages/studio/publish-manage-hooks/src/hooks/use-is-publish-record-ready.ts index 8287c65a..fa30ffcc 100644 --- a/frontend/packages/studio/publish-manage-hooks/src/hooks/use-is-publish-record-ready.ts +++ b/frontend/packages/studio/publish-manage-hooks/src/hooks/use-is-publish-record-ready.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/studio/publish-manage-hooks/src/index.ts b/frontend/packages/studio/publish-manage-hooks/src/index.ts index 91a0df8e..4bef1738 100644 --- a/frontend/packages/studio/publish-manage-hooks/src/index.ts +++ b/frontend/packages/studio/publish-manage-hooks/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useIsPublishRecordReady, type UseIsPublishRecordReadyProps, diff --git a/frontend/packages/studio/publish-manage-hooks/src/typings.d.ts b/frontend/packages/studio/publish-manage-hooks/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/publish-manage-hooks/src/typings.d.ts +++ b/frontend/packages/studio/publish-manage-hooks/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/publish-manage-hooks/vitest.config.ts b/frontend/packages/studio/publish-manage-hooks/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/publish-manage-hooks/vitest.config.ts +++ b/frontend/packages/studio/publish-manage-hooks/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/stores/bot-detail/__mocks__/setup-vitest.ts b/frontend/packages/studio/stores/bot-detail/__mocks__/setup-vitest.ts index c113d14f..46e412cc 100644 --- a/frontend/packages/studio/stores/bot-detail/__mocks__/setup-vitest.ts +++ b/frontend/packages/studio/stores/bot-detail/__mocks__/setup-vitest.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TabStatus } from '@coze-arch/bot-api/playground_api'; vi.stubGlobal('IS_DEV_MODE', false); diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/hook/use-bot-detail-readonly.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/hook/use-bot-detail-readonly.test.ts index 607ef070..b23da431 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/hook/use-bot-detail-readonly.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/hook/use-bot-detail-readonly.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { renderHook } from '@testing-library/react'; import { BotPageFromEnum } from '@coze-arch/bot-typings/common'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/init/init-bot-detail-store.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/init/init-bot-detail-store.test.ts index df5d9fd9..517f2fe6 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/init/init-bot-detail-store.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/init/init-bot-detail-store.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/chat-background.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/chat-background.test.ts index e7e7cc3b..068a4691 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/chat-background.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/chat-background.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { DebounceTime } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/index.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/index.test.ts index fb3d5f16..c7a76f9b 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/index.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { workflowsConfig } from '../../../../../src/save-manager/auto-save/bot-skill/configs/workflows'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/knowledge.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/knowledge.test.ts index 605f8989..89cce4c1 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/knowledge.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/knowledge.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { ItemType } from '../../../../../src/save-manager/types'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/layout-info.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/layout-info.test.ts index c99ecfb0..d1ab0dbd 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/layout-info.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/layout-info.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { DebounceTime } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/onboarding-content.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/onboarding-content.test.ts index 5619f9d9..6be91e85 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/onboarding-content.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/onboarding-content.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { ItemType } from '../../../../../src/save-manager/types'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/plugin.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/plugin.test.ts index a9878d79..62823b14 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/plugin.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/plugin.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { DebounceTime } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/suggestion-config.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/suggestion-config.test.ts index 3347cafa..60fa941e 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/suggestion-config.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/suggestion-config.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { ItemType } from '../../../../../src/save-manager/types'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/task-info.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/task-info.test.ts index 55fc9eb0..b1a75e8c 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/task-info.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/task-info.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { DebounceTime } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/variables.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/variables.test.ts index 27e56f2b..1e705503 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/variables.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/variables.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { DebounceTime } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/voices-info.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/voices-info.test.ts index bb33e680..0a6e9273 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/voices-info.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/voices-info.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { DebounceTime } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/workflows.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/workflows.test.ts index 339837b4..ec9a5fa0 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/workflows.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/configs/workflows.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { DebounceTime } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/index.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/index.test.ts index c090bae4..0d9afd1a 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/index.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/bot-skill/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { botSkillSaveManager } from '../../../../src/save-manager/auto-save/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/index.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/index.test.ts index 4088fc45..84c1a0ce 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/index.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { personaSaveManager } from '../../../src/save-manager/auto-save/persona'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/model/config.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/model/config.test.ts index c8049154..8356a9d4 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/model/config.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/model/config.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, type Mock } from 'vitest'; import { DebounceTime } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/request.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/request.test.ts index 54fba2f1..3c048b18 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/request.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/auto-save/request.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { ItemType } from '@coze-arch/bot-api/developer_api'; import { PlaygroundApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/dev-hooks.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/dev-hooks.test.ts index 94af38b4..501c368e 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/dev-hooks.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/dev-hooks.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type HookInfo } from '@coze-arch/idl/playground_api'; import { ItemType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/filebox.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/filebox.test.ts index 2786c537..a94a00fd 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/filebox.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/filebox.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { ItemType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/memory-table.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/memory-table.test.ts index 5e37e316..f64598b1 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/memory-table.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/memory-table.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { ItemType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/multi-agent.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/multi-agent.test.ts index d7c69172..0dc61f2c 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/multi-agent.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/multi-agent.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { useSpaceStore } from '@coze-arch/bot-studio-store'; import { PlaygroundApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/query-collect.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/query-collect.test.ts index 12a5c6a0..be2bf7e4 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/query-collect.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/query-collect.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type UserQueryCollectConf } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/shortcuts.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/shortcuts.test.ts index 95390317..f8a33c58 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/shortcuts.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/shortcuts.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { useBotSkillStore } from '../../../src/store/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/time-capsule.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/time-capsule.test.ts index d90971b7..c31d84ee 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/time-capsule.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/time-capsule.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { useBotSkillStore } from '../../../src/store/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/tts.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/tts.test.ts index c465f17e..1363fd19 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/tts.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/manual-save/tts.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/utils/bot-dto-info.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/utils/bot-dto-info.test.ts index 21bec68b..8ab58f05 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/utils/bot-dto-info.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/utils/bot-dto-info.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { BotMode } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/utils/save-fetcher.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/utils/save-fetcher.test.ts index ed2ef39e..c34c4bb7 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/utils/save-fetcher.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/save-manager/utils/save-fetcher.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { REPORT_EVENTS } from '@coze-arch/report-events'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/bot-info.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/bot-info.test.ts index 5cbc5078..cf648e85 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/bot-info.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/bot-info.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BotMarketStatus, BotMode } from '@coze-arch/idl/developer_api'; import { useBotDetailStoreSet } from '../../src/store/index'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/bot-skill.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/bot-skill.test.ts index 157cf231..fe5e9560 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/bot-skill.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/bot-skill.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SuggestReplyMode, type BackgroundImageInfo, diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/collaboration-quota.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/collaboration-quota.test.ts index cfe3c3ad..05eddf80 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/collaboration-quota.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/collaboration-quota.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { useSpaceStore } from '@coze-arch/bot-studio-store'; import { SpaceType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/collaboration.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/collaboration.test.ts index fc36f84b..64af0942 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/collaboration.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/collaboration.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect } from 'vitest'; import { Branch } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/diff-task.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/diff-task.test.ts index 53c3f84b..f0c99989 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/diff-task.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/diff-task.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDiffTaskStore, getDefaultDiffTaskStore, diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/index.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/index.test.ts index 63cbecb9..ed3e1377 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/index.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getDefaultPersonaStore, usePersonaStore, diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/manually-switch-agent-store.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/manually-switch-agent-store.test.ts index 5109dcd2..b6782fc2 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/manually-switch-agent-store.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/manually-switch-agent-store.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useManuallySwitchAgentStore } from '../../src/store/manually-switch-agent-store'; import { useBotDetailStoreSet } from '../../src/store/index'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/model.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/model.test.ts index 193e9aa7..a16638b2 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/model.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/model.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContextMode, type GetDraftBotInfoAgwData, diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/monetize-config-store.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/monetize-config-store.test.ts index 01d7d5ef..cda52548 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/monetize-config-store.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/monetize-config-store.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMonetizeConfigStore } from '../../src/store/monetize-config-store'; import { useBotDetailStoreSet } from '../../src/store/index'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/multi-agent.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/multi-agent.test.ts index 8904e81d..b96ead3a 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/multi-agent.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/multi-agent.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Mock } from 'vitest'; import { type GetDraftBotInfoAgwData } from '@coze-arch/idl/playground_api'; import { SpaceApiV2 } from '@coze-arch/bot-space-api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/page-runtime.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/page-runtime.test.ts index 4b64e686..32792033 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/page-runtime.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/page-runtime.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TabDisplayItems, TabStatus } from '@coze-arch/idl/developer_api'; import { SpaceApi } from '@coze-arch/bot-space-api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/persona.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/persona.test.ts index 895b017a..f7b3bc25 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/persona.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/persona.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PromptType } from '@coze-arch/idl/developer_api'; import { diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/query-collect.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/query-collect.test.ts index a4825175..d1161370 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/query-collect.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/query-collect.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQueryCollectStore } from '../../src/store/query-collect'; describe('useQueryCollectStore', () => { diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/store/use-generate-image-store.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/store/use-generate-image-store.test.ts index c231ac17..2206e19e 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/store/use-generate-image-store.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/store/use-generate-image-store.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DotStatus, type GenerateBackGroundModal, diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/execute-draft-bot-request-id.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/execute-draft-bot-request-id.test.ts index 65ce04c9..d63b7435 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/execute-draft-bot-request-id.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/execute-draft-bot-request-id.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { globalVars } from '@coze-arch/web-context'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/generate-image.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/generate-image.test.ts index a96c274f..8dc5f39b 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/generate-image.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/generate-image.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { GenPicStatus, diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/get-dot-status.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/get-dot-status.test.ts index dfbc106d..cbbb0184 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/get-dot-status.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/get-dot-status.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { DotStatus } from '../../src/types/generate-image'; @@ -54,7 +54,7 @@ function simplifiedGetDotStatus( return task?.status === DotStatus.Generating || notices.some(item => item.type === picType && item.un_read) - ? (task?.status ?? DotStatus.None) + ? task?.status ?? DotStatus.None : DotStatus.None; } diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/get-read-only.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/get-read-only.test.ts index 523cbf2c..3eeb99c2 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/get-read-only.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/get-read-only.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BotPageFromEnum } from '@coze-arch/bot-typings/common'; import { getBotDetailIsReadonlyByState } from '../../src/utils/get-read-only'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/handle-status.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/handle-status.test.ts index 2f589618..3b8f7a21 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/handle-status.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/handle-status.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type Branch, type Committer } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/plugin-apis.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/plugin-apis.test.ts index 2b3a228c..5be13e9b 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/plugin-apis.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/plugin-apis.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import type { PluginApi } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/replace-bot-prompt.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/replace-bot-prompt.test.ts index 31920812..e5f7e3b6 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/replace-bot-prompt.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/replace-bot-prompt.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { PromptType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/save.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/save.test.ts index 21147348..79ec0581 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/save.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/save.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { PromptType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/setter-factory.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/setter-factory.test.ts index 3c75acb3..f5759550 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/setter-factory.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/setter-factory.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { setterActionFactory } from '../../src/utils/setter-factory'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/storage.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/storage.test.ts index 3174554d..0518fa27 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/storage.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/storage.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { createStorage, storage } from '../../src/utils/storage'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/submit.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/submit.test.ts index 2e6e5916..e01fa040 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/submit.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/submit.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { I18n } from '@coze-arch/i18n'; import { UIToast } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/studio/stores/bot-detail/__tests__/utils/uniq-memory-list.test.ts b/frontend/packages/studio/stores/bot-detail/__tests__/utils/uniq-memory-list.test.ts index e639a9ca..304f55f2 100644 --- a/frontend/packages/studio/stores/bot-detail/__tests__/utils/uniq-memory-list.test.ts +++ b/frontend/packages/studio/stores/bot-detail/__tests__/utils/uniq-memory-list.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { uniqMemoryList } from '../../src/utils/uniq-memory-list'; diff --git a/frontend/packages/studio/stores/bot-detail/src/global.d.ts b/frontend/packages/studio/stores/bot-detail/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/stores/bot-detail/src/global.d.ts +++ b/frontend/packages/studio/stores/bot-detail/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/stores/bot-detail/src/hooks/use-bot-detail-readonly.ts b/frontend/packages/studio/stores/bot-detail/src/hooks/use-bot-detail-readonly.ts index 97625c19..427e1273 100644 --- a/frontend/packages/studio/stores/bot-detail/src/hooks/use-bot-detail-readonly.ts +++ b/frontend/packages/studio/stores/bot-detail/src/hooks/use-bot-detail-readonly.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { getBotDetailIsReadonlyByState } from '../utils/get-read-only'; diff --git a/frontend/packages/studio/stores/bot-detail/src/hooks/use-chat-background-state.ts b/frontend/packages/studio/stores/bot-detail/src/hooks/use-chat-background-state.ts index 3cd746e0..63f3b23b 100644 --- a/frontend/packages/studio/stores/bot-detail/src/hooks/use-chat-background-state.ts +++ b/frontend/packages/studio/stores/bot-detail/src/hooks/use-chat-background-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useBotSkillStore } from '../store/bot-skill'; export const useChatBackgroundState = () => { diff --git a/frontend/packages/studio/stores/bot-detail/src/index.ts b/frontend/packages/studio/stores/bot-detail/src/index.ts index d6a8bd2c..7e86efd3 100644 --- a/frontend/packages/studio/stores/bot-detail/src/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { avatarBackgroundWebSocket } from './utils/avatar-background-socket'; export { useBotDetailIsReadonly } from './hooks/use-bot-detail-readonly'; diff --git a/frontend/packages/studio/stores/bot-detail/src/init/init-bot-detail-store.ts b/frontend/packages/studio/stores/bot-detail/src/init/init-bot-detail-store.ts index 834b256d..86c85a82 100644 --- a/frontend/packages/studio/stores/bot-detail/src/init/init-bot-detail-store.ts +++ b/frontend/packages/studio/stores/bot-detail/src/init/init-bot-detail-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS as ReportEventNames, createReportEvent, diff --git a/frontend/packages/studio/stores/bot-detail/src/init/init-generate-image.ts b/frontend/packages/studio/stores/bot-detail/src/init/init-generate-image.ts index a16ca803..e4954395 100644 --- a/frontend/packages/studio/stores/bot-detail/src/init/init-generate-image.ts +++ b/frontend/packages/studio/stores/bot-detail/src/init/init-generate-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger } from '@coze-arch/logger'; import { getFlags } from '@coze-arch/bot-flags'; import { PlaygroundApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/chat-background.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/chat-background.ts index bce75713..74266dce 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/chat-background.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/chat-background.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BackgroundImageInfo } from '@coze-arch/bot-api/developer_api'; import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/index.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/index.ts index 6204c10c..c1236b48 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type HostedObserverConfig } from '@coze-studio/autosave'; import { type BotSkillStore } from '@/store/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/knowledge.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/knowledge.ts index 10814169..20d4ac4c 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/knowledge.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/knowledge.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; import type { KnowledgeConfig } from '@/types/skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/layout-info.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/layout-info.ts index d9adcd5e..f3508da0 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/layout-info.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/layout-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type LayoutInfo } from '@coze-arch/idl/developer_api'; import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/onboarding-content.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/onboarding-content.ts index e4977c2e..f30709e4 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/onboarding-content.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/onboarding-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OnboardingInfo } from '@coze-arch/bot-api/playground_api'; import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/plugin.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/plugin.ts index 0010f7d3..92b4e921 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/plugin.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/suggestion-config.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/suggestion-config.ts index 2e68be4f..b240e532 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/suggestion-config.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/suggestion-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; import type { BotSuggestionConfig } from '@/types/skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/task-info.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/task-info.ts index 43673967..88c80c4f 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/task-info.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/task-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; import { type BotSkillStore, useBotSkillStore } from '@/store/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/variables.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/variables.ts index cac264d3..94f8c108 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/variables.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/voices-info.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/voices-info.ts index b32ca171..e8f3cbeb 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/voices-info.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/voices-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { merge } from 'lodash-es'; import { type BotInfoForUpdate } from '@coze-arch/idl/playground_api'; import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/workflows.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/workflows.ts index 92b8ec43..f2b43ec6 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/workflows.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/configs/workflows.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep, uniqBy } from 'lodash-es'; import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/index.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/index.ts index de4adcdc..e52489d5 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/bot-skill/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AutosaveManager } from '@coze-studio/autosave'; import { useBotSkillStore, type BotSkillStore } from '@/store/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/index.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/index.ts index a547b6ae..293bf406 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { personaSaveManager } from './persona'; import { modelSaveManager } from './model'; import { botSkillSaveManager } from './bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/model/config.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/model/config.ts index 5e2bf537..8c33e3c3 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/model/config.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/model/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ModelInfo } from '@coze-arch/bot-api/developer_api'; import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/model/index.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/model/index.ts index 6053739d..f8d32108 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/model/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/model/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ModelInfo } from '@coze-arch/bot-api/developer_api'; import { AutosaveManager } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/multi-agent/config.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/multi-agent/config.ts index 091ea361..1868b65f 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/multi-agent/config.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/multi-agent/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; import { ItemTypeExtra } from '../../types'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/multi-agent/index.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/multi-agent/index.ts index 09683ff2..800f868d 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/multi-agent/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/multi-agent/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useSpaceStore } from '@coze-arch/bot-studio-store'; import { PlaygroundApi } from '@coze-arch/bot-api'; import { AutosaveManager, type SaveRequest } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/persona/config.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/persona/config.ts index bebe214d..0c6cfe17 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/persona/config.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/persona/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DebounceTime, type HostedObserverConfig } from '@coze-studio/autosave'; import { diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/persona/index.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/persona/index.ts index 2138eea3..8a950675 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/persona/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/persona/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AutosaveManager } from '@coze-studio/autosave'; import { diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/request.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/request.ts index 334fd4f8..831085c6 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/request.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/auto-save/request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PlaygroundApi } from '@coze-arch/bot-api'; import { type SaveRequest } from '@coze-studio/autosave'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/index.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/index.ts index fab08384..337e9630 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { autosaveManager } from './auto-save/index'; export { personaSaveManager } from './auto-save/persona'; export { botSkillSaveManager } from './auto-save/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/dev-hooks.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/dev-hooks.ts index 9f75918c..3bf062c2 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/dev-hooks.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/dev-hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type HookInfo } from '@coze-arch/idl/playground_api'; import { ItemType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/filebox.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/filebox.ts index 74b788da..bb2c810f 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/filebox.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/filebox.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FileboxInfoMode, ItemType, diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/memory-table.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/memory-table.ts index d8ee0617..3cda701d 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/memory-table.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/memory-table.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ItemType } from '@coze-arch/bot-api/developer_api'; import { useBotSkillStore } from '@/store/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/multi-agent.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/multi-agent.ts index d7b7d550..b3137fb2 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/multi-agent.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/multi-agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useSpaceStore } from '@coze-arch/bot-studio-store'; import { type MultiAgentConnectorType } from '@coze-arch/bot-api/playground_api'; import { PlaygroundApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/query-collect.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/query-collect.ts index b2d20949..06353610 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/query-collect.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/query-collect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UpdateDraftBotInfoAgwResponse } from '@coze-arch/idl/playground_api'; import { type UserQueryCollectConf } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/shortcuts.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/shortcuts.ts index 39d0902b..59368174 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/shortcuts.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/shortcuts.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { saveFetcher, updateBotRequest } from '../utils/save-fetcher'; import { ItemTypeExtra } from '../types'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/time-capsule.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/time-capsule.ts index 440a45a3..57f72714 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/time-capsule.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/time-capsule.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useBotSkillStore } from '@/store/bot-skill'; import { saveFetcher, updateBotRequest } from '../utils/save-fetcher'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/tts.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/tts.ts index 0717deba..dba5be11 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/tts.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/manual-save/tts.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep, merge } from 'lodash-es'; import { useBotSkillStore } from '@/store/bot-skill'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/types.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/types.ts index f268d9f7..4ae2a93a 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/types.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { ItemType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/src/save-manager/utils/save-fetcher.ts b/frontend/packages/studio/stores/bot-detail/src/save-manager/utils/save-fetcher.ts index 38398ac8..620c1b4d 100644 --- a/frontend/packages/studio/stores/bot-detail/src/save-manager/utils/save-fetcher.ts +++ b/frontend/packages/studio/stores/bot-detail/src/save-manager/utils/save-fetcher.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjs from 'dayjs'; import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/studio/stores/bot-detail/src/services/get-bot-data-service.ts b/frontend/packages/studio/stores/bot-detail/src/services/get-bot-data-service.ts index 3496e6df..f3fffb2a 100644 --- a/frontend/packages/studio/stores/bot-detail/src/services/get-bot-data-service.ts +++ b/frontend/packages/studio/stores/bot-detail/src/services/get-bot-data-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GetBotVersionInfoData, GetBotVersionScene, diff --git a/frontend/packages/studio/stores/bot-detail/src/store/audit-info.ts b/frontend/packages/studio/stores/bot-detail/src/store/audit-info.ts index d71baa59..78f8db17 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/audit-info.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/audit-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/bot-info.ts b/frontend/packages/studio/stores/bot-detail/src/store/bot-info.ts index 08fe1ff5..c788cf35 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/bot-info.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/bot-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/defaults.ts b/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/defaults.ts index 426d06cd..77cfdfc6 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/defaults.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/defaults.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { BotTableRWMode } from '@coze-arch/bot-api/memory'; import { diff --git a/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/index.ts b/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/index.ts index d880f0aa..c1471ee6 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useBotSkillStore, getDefaultBotSkillStore, diff --git a/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/store.ts b/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/store.ts index 29d15be2..a06d4cf4 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/store.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { isFunction } from 'lodash-es'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/transform.ts b/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/transform.ts index a9f1b6d8..4a4baacd 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/transform.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/bot-skill/transform.ts @@ -331,7 +331,7 @@ export const transformVo2Dto = { flow_mode: w.flow_mode, workflow_name: w.name, // eslint-disable-next-line @typescript-eslint/no-explicit-any - }) as any, + } as any), ), knowledge: (knowledge: KnowledgeConfig): BotInfoForUpdate['knowledge'] => ({ diff --git a/frontend/packages/studio/stores/bot-detail/src/store/collaborate-quota.ts b/frontend/packages/studio/stores/bot-detail/src/store/collaborate-quota.ts index 9a9b43a4..4a950b61 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/collaborate-quota.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/collaborate-quota.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger } from '@coze-arch/logger'; import { useSpaceStore } from '@coze-arch/bot-studio-store'; import { SpaceType } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/collaboration.ts b/frontend/packages/studio/stores/bot-detail/src/store/collaboration.ts index ef20bd01..ce5829b5 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/collaboration.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/collaboration.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/diff-task.ts b/frontend/packages/studio/stores/bot-detail/src/store/diff-task.ts index 9636d81a..237ab816 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/diff-task.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/diff-task.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/generate-image-store.ts b/frontend/packages/studio/stores/bot-detail/src/store/generate-image-store.ts index a5fc765a..f1a90531 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/generate-image-store.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/generate-image-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/index.ts b/frontend/packages/studio/stores/bot-detail/src/store/index.ts index 5917287d..b123512c 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useAuditInfoStore } from '@/store/audit-info'; import { useQueryCollectStore } from './query-collect'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/manually-switch-agent-store.ts b/frontend/packages/studio/stores/bot-detail/src/store/manually-switch-agent-store.ts index ddc87b82..60f1dd2a 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/manually-switch-agent-store.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/manually-switch-agent-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * To fulfill a miraculous function * In multi agent mode, replying. diff --git a/frontend/packages/studio/stores/bot-detail/src/store/model.ts b/frontend/packages/studio/stores/bot-detail/src/store/model.ts index 6e0ac16f..a80578c4 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/model.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/monetize-config-store.ts b/frontend/packages/studio/stores/bot-detail/src/store/monetize-config-store.ts index 09f31968..0fd6bcf5 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/monetize-config-store.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/monetize-config-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { isNil } from 'lodash-es'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/defaults.ts b/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/defaults.ts index cfe257b3..e866bed0 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/defaults.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/defaults.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import type { AgentBizInfo } from '../../types/agent'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/index.ts b/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/index.ts index 9bb394b3..04176b3a 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useMultiAgentStore, type MultiAgentStore } from './store'; export { DEFAULT_AGENT_BIZ_INFO } from './defaults'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/store.ts b/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/store.ts index 4ec39956..03f49e70 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/store.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/transform.ts b/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/transform.ts index 45e0a09d..f52d777e 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/transform.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/multi-agent/transform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { omit } from 'lodash-es'; import { diff --git a/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/defaults.ts b/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/defaults.ts index e9245a0b..731b30e6 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/defaults.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/defaults.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TabDisplayItems, TabStatus } from '@coze-arch/idl/developer_api'; export const DEFAULT_BOT_SKILL_BLOCK_COLLAPSIBLE_STATE = diff --git a/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/index.ts b/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/index.ts index 23a2c601..a13c2599 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePageRuntimeStore, type PageRuntime } from './store'; export { DEFAULT_BOT_SKILL_BLOCK_COLLAPSIBLE_STATE } from './defaults'; diff --git a/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/store.ts b/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/store.ts index 72fb5e31..81fae5a4 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/store.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/page-runtime/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { size } from 'lodash-es'; @@ -110,7 +110,7 @@ export const usePageRuntimeStore = create()( /** * Get the status of the user's active expand/collapse bot capability module * ⚠️ Called only when opening my bot edit page for the first time - * @see + * @see */ getBotSkillBlockCollapsibleState: async () => { try { @@ -138,7 +138,7 @@ export const usePageRuntimeStore = create()( /** * Stores the status of the user's active expand/retract bot capability module * ⚠️ Only record when active - * @see + * @see */ setBotSkillBlockCollapsibleState: ( $params: TabDisplayItems, diff --git a/frontend/packages/studio/stores/bot-detail/src/store/persona.ts b/frontend/packages/studio/stores/bot-detail/src/store/persona.ts index d9635eac..50b8efe1 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/persona.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/persona.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { produce } from 'immer'; @@ -79,11 +79,11 @@ export const usePersonaStore = create()( prompt_type: PromptType.SYSTEM, isOptimize: false, record_id: '', - }) as unknown as RequiredBotPrompt, + } as unknown as RequiredBotPrompt), transformVo2Dto: persona => ({ prompt: persona?.data || '', - }) as unknown as BotInfoForUpdate['prompt_info'], + } as unknown as BotInfoForUpdate['prompt_info']), initStore: botData => { const { setPersonaByImmer, transformDto2Vo } = get(); botData && diff --git a/frontend/packages/studio/stores/bot-detail/src/store/query-collect.ts b/frontend/packages/studio/stores/bot-detail/src/store/query-collect.ts index 7da288d4..9cc307e3 100644 --- a/frontend/packages/studio/stores/bot-detail/src/store/query-collect.ts +++ b/frontend/packages/studio/stores/bot-detail/src/store/query-collect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools, subscribeWithSelector } from 'zustand/middleware'; import { create } from 'zustand'; import { diff --git a/frontend/packages/studio/stores/bot-detail/src/types/agent.ts b/frontend/packages/studio/stores/bot-detail/src/types/agent.ts index 4740aa35..c7afdb02 100644 --- a/frontend/packages/studio/stores/bot-detail/src/types/agent.ts +++ b/frontend/packages/studio/stores/bot-detail/src/types/agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PartialRequired } from '@coze-arch/bot-typings/common'; import type { DraftBotApi } from '@coze-arch/bot-api/playground_api'; import type { diff --git a/frontend/packages/studio/stores/bot-detail/src/types/generate-image.ts b/frontend/packages/studio/stores/bot-detail/src/types/generate-image.ts index 2070e74d..14bab93f 100644 --- a/frontend/packages/studio/stores/bot-detail/src/types/generate-image.ts +++ b/frontend/packages/studio/stores/bot-detail/src/types/generate-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TaskNotice, type PicTask, diff --git a/frontend/packages/studio/stores/bot-detail/src/types/model.ts b/frontend/packages/studio/stores/bot-detail/src/types/model.ts index 681bdb65..986d0417 100644 --- a/frontend/packages/studio/stores/bot-detail/src/types/model.ts +++ b/frontend/packages/studio/stores/bot-detail/src/types/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Model, ModelInfo } from '@coze-arch/bot-api/developer_api'; /** Model Settings */ diff --git a/frontend/packages/studio/stores/bot-detail/src/types/persona.ts b/frontend/packages/studio/stores/bot-detail/src/types/persona.ts index c2f3e88a..65b24966 100644 --- a/frontend/packages/studio/stores/bot-detail/src/types/persona.ts +++ b/frontend/packages/studio/stores/bot-detail/src/types/persona.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { BotPrompt, PromptType } from '@coze-arch/bot-api/developer_api'; export interface RequiredBotPrompt extends BotPrompt { diff --git a/frontend/packages/studio/stores/bot-detail/src/types/skill.ts b/frontend/packages/studio/stores/bot-detail/src/types/skill.ts index 12011ba2..a25a9264 100644 --- a/frontend/packages/studio/stores/bot-detail/src/types/skill.ts +++ b/frontend/packages/studio/stores/bot-detail/src/types/skill.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ShortCutStruct } from '@coze-agent-ide/tool-config/src/shortcut-config/type'; import { type PluginStatus, @@ -29,10 +29,7 @@ import { type RecallStrategy, type DefaultUserInputType, } from '@coze-arch/bot-api/playground_api'; -import { - type BotTableRWMode, - type FieldItem, -} from '@coze-arch/bot-api/memory'; +import { type BotTableRWMode, type FieldItem } from '@coze-arch/bot-api/memory'; import { type Dataset } from '@coze-arch/bot-api/knowledge'; import type { FileboxInfo, diff --git a/frontend/packages/studio/stores/bot-detail/src/types/utils.ts b/frontend/packages/studio/stores/bot-detail/src/types/utils.ts index f0b03877..f30c5d21 100644 --- a/frontend/packages/studio/stores/bot-detail/src/types/utils.ts +++ b/frontend/packages/studio/stores/bot-detail/src/types/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type RemoveOptional = { [K in keyof T]-?: T[K]; }; diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/avatar-background-socket/index.ts b/frontend/packages/studio/stores/bot-detail/src/utils/avatar-background-socket/index.ts index 081a2c6a..77f504ee 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/avatar-background-socket/index.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/avatar-background-socket/index.ts @@ -13,15 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { withSlardarIdButton } from '@coze-studio/bot-utils'; import { logger } from '@coze-arch/logger'; import { I18n } from '@coze-arch/i18n'; import { arrayBufferToObject } from '@coze-arch/bot-utils'; -import { - type GenPicMessage, - PicType, -} from '@coze-arch/bot-api/playground_api'; +import { type GenPicMessage, PicType } from '@coze-arch/bot-api/playground_api'; import { PlaygroundApi } from '@coze-arch/bot-api'; import webSocketManager, { type Connection, diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/execute-draft-bot-request-id.ts b/frontend/packages/studio/stores/bot-detail/src/utils/execute-draft-bot-request-id.ts index 839f120e..c90b5625 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/execute-draft-bot-request-id.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/execute-draft-bot-request-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { globalVars } from '@coze-arch/web-context'; export const getExecuteDraftBotRequestId = (): string => diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/find-agent.ts b/frontend/packages/studio/stores/bot-detail/src/utils/find-agent.ts index 58afdf3e..7eb0b539 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/find-agent.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/find-agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { withSlardarIdButton } from '@coze-studio/bot-utils'; import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/generate-image.ts b/frontend/packages/studio/stores/bot-detail/src/utils/generate-image.ts index c0b01529..cb58b887 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/generate-image.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/generate-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GenPicStatus, PicType, diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/get-dot-status.ts b/frontend/packages/studio/stores/bot-detail/src/utils/get-dot-status.ts index 12057510..99563089 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/get-dot-status.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/get-dot-status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PicType, type GetPicTaskData, diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/get-read-only.ts b/frontend/packages/studio/stores/bot-detail/src/utils/get-read-only.ts index 80f0442f..4a809562 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/get-read-only.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/get-read-only.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { usePageRuntimeStore } from '../store/page-runtime'; import { useCollaborationStore, EditLockStatus } from '../store/collaboration'; diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/handle-agent.ts b/frontend/packages/studio/stores/bot-detail/src/utils/handle-agent.ts index 56316f35..d58b93aa 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/handle-agent.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/handle-agent.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/bot-semi'; import { MultiAgentSessionType } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/handle-status.ts b/frontend/packages/studio/stores/bot-detail/src/utils/handle-status.ts index 7b23934d..ba09700e 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/handle-status.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/handle-status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Branch, type Committer } from '@coze-arch/bot-api/developer_api'; import { useCollaborationStore } from '../store/collaboration'; diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/integrated-fg.ts b/frontend/packages/studio/stores/bot-detail/src/utils/integrated-fg.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/integrated-fg.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/integrated-fg.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/plugin-apis.ts b/frontend/packages/studio/stores/bot-detail/src/utils/plugin-apis.ts index eb173a42..a476db3c 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/plugin-apis.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/plugin-apis.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { omit } from 'lodash-es'; import type { PluginApi } from '@coze-arch/bot-api/playground_api'; diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/replace-bot-prompt.ts b/frontend/packages/studio/stores/bot-detail/src/utils/replace-bot-prompt.ts index a6c719c0..e5faf5d4 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/replace-bot-prompt.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/replace-bot-prompt.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PromptType } from '@coze-arch/bot-api/developer_api'; export function replacedBotPrompt(data) { diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/save.ts b/frontend/packages/studio/stores/bot-detail/src/utils/save.ts index 1019842a..b379ee66 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/save.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/save.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BotPrompt, PromptType } from '@coze-arch/bot-api/developer_api'; import { usePersonaStore } from '../store/persona'; diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/setter-factory.ts b/frontend/packages/studio/stores/bot-detail/src/utils/setter-factory.ts index f5d27b91..b0831f4e 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/setter-factory.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/setter-factory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type create } from 'zustand'; export interface SetterAction { diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/storage.ts b/frontend/packages/studio/stores/bot-detail/src/utils/storage.ts index 5baa8345..e0f1df11 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/storage.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/storage.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCollaborationStore } from '../store/collaboration'; export function createStorage( diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/submit.ts b/frontend/packages/studio/stores/bot-detail/src/utils/submit.ts index 95d1e934..66831a13 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/submit.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/submit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { UIToast } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/uniq-memory-list.ts b/frontend/packages/studio/stores/bot-detail/src/utils/uniq-memory-list.ts index 6ba83e17..21247bb5 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/uniq-memory-list.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/uniq-memory-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableItem, VariableKeyErrType } from '../types/skill'; export function uniqMemoryList( diff --git a/frontend/packages/studio/stores/bot-detail/vitest.config.ts b/frontend/packages/studio/stores/bot-detail/vitest.config.ts index f3b36038..dc127dc7 100644 --- a/frontend/packages/studio/stores/bot-detail/vitest.config.ts +++ b/frontend/packages/studio/stores/bot-detail/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/stores/bot-plugin/package.json b/frontend/packages/studio/stores/bot-plugin/package.json index ed7854d2..be96679b 100644 --- a/frontend/packages/studio/stores/bot-plugin/package.json +++ b/frontend/packages/studio/stores/bot-plugin/package.json @@ -13,8 +13,8 @@ "test:cov": "npm run test -- --coverage" }, "dependencies": { - "@coze-arch/bot-error": "workspace:*", "@coze-arch/bot-api": "workspace:*", + "@coze-arch/bot-error": "workspace:*", "@coze-arch/bot-semi": "workspace:*", "@coze-arch/bot-typings": "workspace:*", "@coze-arch/bot-utils": "workspace:*", diff --git a/frontend/packages/studio/stores/bot-plugin/src/context.tsx b/frontend/packages/studio/stores/bot-plugin/src/context.tsx index 601ff50c..471bff8d 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/context.tsx +++ b/frontend/packages/studio/stores/bot-plugin/src/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type PropsWithChildren, diff --git a/frontend/packages/studio/stores/bot-plugin/src/hook/unlock.ts b/frontend/packages/studio/stores/bot-plugin/src/hook/unlock.ts index de500c28..a1b70a5b 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/hook/unlock.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/hook/unlock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { unlockByFetch } from '../utils/fetch'; diff --git a/frontend/packages/studio/stores/bot-plugin/src/index.ts b/frontend/packages/studio/stores/bot-plugin/src/index.ts index 2833f3d7..004d8990 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/index.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BotPluginStoreProvider, usePluginStore, diff --git a/frontend/packages/studio/stores/bot-plugin/src/store/plugin-history-panel-ui.ts b/frontend/packages/studio/stores/bot-plugin/src/store/plugin-history-panel-ui.ts index 0b345834..a3230503 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/store/plugin-history-panel-ui.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/store/plugin-history-panel-ui.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/studio/stores/bot-plugin/src/store/plugin.ts b/frontend/packages/studio/stores/bot-plugin/src/store/plugin.ts index 4e5a1e93..8e2b9c35 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/store/plugin.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/store/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function -- store */ /* eslint-disable max-lines-per-function -- store */ import { devtools, subscribeWithSelector } from 'zustand/middleware'; diff --git a/frontend/packages/studio/stores/bot-plugin/src/types/auth.ts b/frontend/packages/studio/stores/bot-plugin/src/types/auth.ts index d82ff5b9..8df2924b 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/types/auth.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/types/auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SpaceRoleType } from '@coze-arch/bot-api/plugin_develop'; import { I18n } from '@coze-arch/i18n'; export { type GetUserAuthorityData } from '@coze-arch/bot-api/plugin_develop'; diff --git a/frontend/packages/studio/stores/bot-plugin/src/types/global.d.ts b/frontend/packages/studio/stores/bot-plugin/src/types/global.d.ts index bb1b80b6..24144697 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/types/global.d.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/types/global.d.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// /// diff --git a/frontend/packages/studio/stores/bot-plugin/src/types/store/index.ts b/frontend/packages/studio/stores/bot-plugin/src/types/store/index.ts index 2779bf06..c15e11ee 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/types/store/index.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/types/store/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type createPluginStore } from '@/store/plugin'; export type BotPluginStore = ReturnType; diff --git a/frontend/packages/studio/stores/bot-plugin/src/types/store/plugin.ts b/frontend/packages/studio/stores/bot-plugin/src/types/store/plugin.ts index d46e0c28..0f09118e 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/types/store/plugin.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/types/store/plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GetUserAuthorityData, type GetUpdatedAPIsResponse, diff --git a/frontend/packages/studio/stores/bot-plugin/src/types/tool.ts b/frontend/packages/studio/stores/bot-plugin/src/types/tool.ts index 17e001c3..907bfef5 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/types/tool.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/types/tool.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type GetUpdatedAPIsResponse, type GetPluginInfoResponse, diff --git a/frontend/packages/studio/stores/bot-plugin/src/types/user.ts b/frontend/packages/studio/stores/bot-plugin/src/types/user.ts index f1c974bb..fcaa3745 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/types/user.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/types/user.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type Creator } from '@coze-arch/bot-api/plugin_develop'; diff --git a/frontend/packages/studio/stores/bot-plugin/src/utils/api.ts b/frontend/packages/studio/stores/bot-plugin/src/utils/api.ts index 0a924b00..f0c5087f 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/utils/api.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/utils/api.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS } from '@coze-arch/report-events'; import { I18n } from '@coze-arch/i18n'; import { UIModal } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/studio/stores/bot-plugin/src/utils/error.ts b/frontend/packages/studio/stores/bot-plugin/src/utils/error.ts index 8bdb8aa9..90f2ce37 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/utils/error.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/utils/error.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getPluginErrorMessage = (msg: string) => `[PluginStore.Error]: ${msg}`; diff --git a/frontend/packages/studio/stores/bot-plugin/src/utils/fetch.ts b/frontend/packages/studio/stores/bot-plugin/src/utils/fetch.ts index 0fd4b945..3c3dff61 100644 --- a/frontend/packages/studio/stores/bot-plugin/src/utils/fetch.ts +++ b/frontend/packages/studio/stores/bot-plugin/src/utils/fetch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const unlockByFetch = (pluginId: string) => fetch('/api/plugin_api/unlock_plugin_edit', { keepalive: true, diff --git a/frontend/packages/studio/stores/bot-plugin/vitest.config.ts b/frontend/packages/studio/stores/bot-plugin/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/stores/bot-plugin/vitest.config.ts +++ b/frontend/packages/studio/stores/bot-plugin/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/user-store/__tests__/index.test.ts b/frontend/packages/studio/user-store/__tests__/index.test.ts index f088362b..30e99ff1 100644 --- a/frontend/packages/studio/user-store/__tests__/index.test.ts +++ b/frontend/packages/studio/user-store/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { userStoreService } from '../src/index'; describe('userStoreService', () => { diff --git a/frontend/packages/studio/user-store/src/index.ts b/frontend/packages/studio/user-store/src/index.ts index 41a6859c..af49c975 100644 --- a/frontend/packages/studio/user-store/src/index.ts +++ b/frontend/packages/studio/user-store/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UserAuthInfo, type UserLabel, diff --git a/frontend/packages/studio/user-store/src/typings.d.ts b/frontend/packages/studio/user-store/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/user-store/src/typings.d.ts +++ b/frontend/packages/studio/user-store/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/user-store/vitest.config.ts b/frontend/packages/studio/user-store/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/user-store/vitest.config.ts +++ b/frontend/packages/studio/user-store/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/workspace/entry-adapter/src/index.ts b/frontend/packages/studio/workspace/entry-adapter/src/index.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/studio/workspace/entry-adapter/src/index.ts +++ b/frontend/packages/studio/workspace/entry-adapter/src/index.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/studio/workspace/entry-adapter/src/pages/develop/index.tsx b/frontend/packages/studio/workspace/entry-adapter/src/pages/develop/index.tsx index 129756e8..cc8847cf 100644 --- a/frontend/packages/studio/workspace/entry-adapter/src/pages/develop/index.tsx +++ b/frontend/packages/studio/workspace/entry-adapter/src/pages/develop/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ /* eslint @coze-arch/max-line-per-function: ["error", {"max": 500}] */ /* eslint-disable complexity */ @@ -357,8 +357,8 @@ export const Develop: FC = ({ spaceId }) => { filterParams.recentlyOpen ? 'recentOpen' : filterParams.isPublish - ? 'publish' - : 'edit' + ? 'publish' + : 'edit' } /> ))} diff --git a/frontend/packages/studio/workspace/entry-adapter/src/pages/library/index.tsx b/frontend/packages/studio/workspace/entry-adapter/src/pages/library/index.tsx index a06c7e29..3616b33b 100644 --- a/frontend/packages/studio/workspace/entry-adapter/src/pages/library/index.tsx +++ b/frontend/packages/studio/workspace/entry-adapter/src/pages/library/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef } from 'react'; import { diff --git a/frontend/packages/studio/workspace/entry-adapter/src/typings.d.ts b/frontend/packages/studio/workspace/entry-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/workspace/entry-adapter/src/typings.d.ts +++ b/frontend/packages/studio/workspace/entry-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/workspace/entry-adapter/vitest.config.ts b/frontend/packages/studio/workspace/entry-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/workspace/entry-adapter/vitest.config.ts +++ b/frontend/packages/studio/workspace/entry-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/workspace/entry-base/src/components/creator.tsx b/frontend/packages/studio/workspace/entry-base/src/components/creator.tsx index 82028ee6..39178c0f 100644 --- a/frontend/packages/studio/workspace/entry-base/src/components/creator.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/components/creator.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Avatar } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/workspace/entry-base/src/components/layout/list.tsx b/frontend/packages/studio/workspace/entry-base/src/components/layout/list.tsx index 4b98b83f..2cbb7004 100644 --- a/frontend/packages/studio/workspace/entry-base/src/components/layout/list.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/components/layout/list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type HTMLAttributes, forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/workspace/entry-base/src/components/workspace-empty.tsx b/frontend/packages/studio/workspace/entry-base/src/components/workspace-empty.tsx index 0e6a7255..10629f77 100644 --- a/frontend/packages/studio/workspace/entry-base/src/components/workspace-empty.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/components/workspace-empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/workspace/entry-base/src/constants/filter-style.ts b/frontend/packages/studio/workspace/entry-base/src/constants/filter-style.ts index 60bf2bb7..bc60297c 100644 --- a/frontend/packages/studio/workspace/entry-base/src/constants/filter-style.ts +++ b/frontend/packages/studio/workspace/entry-base/src/constants/filter-style.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const highlightFilterStyle = { border: '1px solid var(--semi-color-focus-border)', }; diff --git a/frontend/packages/studio/workspace/entry-base/src/index.tsx b/frontend/packages/studio/workspace/entry-base/src/index.tsx index 03ddb9bf..9246832a 100644 --- a/frontend/packages/studio/workspace/entry-base/src/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as Plugin } from './pages/plugin'; export { default as Tool } from './pages/tool'; export { default as MocksetDetail } from './pages/mockset'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/database/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/database/index.tsx index 0f07df71..ffa90a45 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/database/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/database/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, useParams } from 'react-router-dom'; import React from 'react'; @@ -47,7 +47,9 @@ const DatabaseDetailPage = () => { // eslint-disable-next-line max-params toResource: (resource, resourceID, query, opts) => navigate( - `/space/${params.spaceID}/${resource}/${resourceID}?${qs.stringify(query)}`, + `/space/${params.spaceID}/${resource}/${resourceID}?${qs.stringify( + query, + )}`, opts, ), }} diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/copy-process-mask.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/copy-process-mask.tsx index f6d7698b..42efe02b 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/copy-process-mask.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/copy-process-mask.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRequest } from 'ahooks'; import { type IntelligenceBasicInfo, diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/description.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/description.tsx index e5707c2e..672920c2 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/description.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/description.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/index.tsx index f10826c4..4e4208a7 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint @coze-arch/max-line-per-function: ["error", {"max": 500}] */ /* eslint-disable complexity */ import { useNavigate } from 'react-router-dom'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/menu-actions.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/menu-actions.tsx index 35c001e3..80541076 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/menu-actions.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/menu-actions.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useRef, type FC } from 'react'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/model-info.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/model-info.tsx index c4151156..8f98bed3 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/model-info.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/model-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/name.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/name.tsx index 1205d1eb..9c99efbe 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/name.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/components/bot-card/name.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/develop-filter-options.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/develop-filter-options.ts index 0643332f..390bcbd5 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/develop-filter-options.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/develop-filter-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SearchScope } from '@coze-arch/idl/intelligence_api'; import { diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-cached-query-params.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-cached-query-params.ts index 8f10e668..ced2ba43 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-cached-query-params.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-cached-query-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { isObject, merge } from 'lodash-es'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-card-actions.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-card-actions.tsx index 915379bf..dd0e8c48 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-card-actions.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-card-actions.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Dispatch, type SetStateAction } from 'react'; import { cloneDeep, merge } from 'lodash-es'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-global-event-listeners.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-global-event-listeners.ts index c2d1f468..6991fd23 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-global-event-listeners.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-global-event-listeners.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-intelligence-actions.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-intelligence-actions.tsx index fcac1d1c..cfb40017 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-intelligence-actions.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-intelligence-actions.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { type SetStateAction, type Dispatch, type ReactNode } from 'react'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-intelligence-list.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-intelligence-list.ts index 600a75aa..a0cbcd82 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-intelligence-list.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-intelligence-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import axios, { type CancelTokenSource } from 'axios'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-project-copy-polling.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-project-copy-polling.tsx index 3709658b..63b16a68 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-project-copy-polling.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/hooks/use-project-copy-polling.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { type Dispatch, type SetStateAction, useEffect } from 'react'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/develop/index.tsx index 9ea18254..b99ad87e 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Content, Header, diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/copy.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/copy.ts index 2f812003..96961240 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/copy.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/copy.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { produce } from 'immer'; import { type IntelligenceBasicInfo, diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/filters.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/filters.ts index a9ff5406..d835f282 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/filters.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/filters.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { exhaustiveCheckForRecord } from '@coze-common/chat-area-utils'; import { SearchScope } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/parameters.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/parameters.ts index 5f153887..ea26e47a 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/parameters.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/parameters.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IntelligenceType } from '@coze-arch/idl/intelligence_api'; import { DevelopCustomPublishStatus, DevelopCustomTypeStatus } from '../type'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/predicate.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/predicate.ts index 6bd334d5..09d88dca 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/predicate.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/page-utils/predicate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SearchScope } from '@coze-arch/idl/intelligence_api'; import { DevelopCustomPublishStatus } from '../type'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/develop/service/intelligence-copy-task-polling-service.ts b/frontend/packages/studio/workspace/entry-base/src/pages/develop/service/intelligence-copy-task-polling-service.ts index c4540063..33ef2533 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/develop/service/intelligence-copy-task-polling-service.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/develop/service/intelligence-copy-task-polling-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mitt, { type Emitter } from 'mitt'; import { uniqBy } from 'lodash-es'; import { diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/knowledge-preview/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/knowledge-preview/index.tsx index 45f62a4f..5837144e 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/knowledge-preview/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/knowledge-preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate, useParams } from 'react-router-dom'; import qs from 'qs'; @@ -63,12 +63,16 @@ export const KnowledgePreviewPage = () => { // eslint-disable-next-line max-params toResource: (resource, resourceID, query, opts) => navigate( - `/space/${params.spaceID}/${resource}/${resourceID}?${qs.stringify(query)}`, + `/space/${params.spaceID}/${resource}/${resourceID}?${qs.stringify( + query, + )}`, opts, ), upload: (query, opts) => navigate( - `/space/${params.spaceID}/knowledge/${params.datasetID}/upload?${qs.stringify(query)}`, + `/space/${params.spaceID}/knowledge/${ + params.datasetID + }/upload?${qs.stringify(query)}`, opts, ), }} diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/knowledge-upload/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/knowledge-upload/index.tsx index 094787fe..2e9a5369 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/knowledge-upload/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/knowledge-upload/index.tsx @@ -67,12 +67,16 @@ export const KnowledgeUploadPage = () => { // eslint-disable-next-line max-params toResource: (resource, resourceID, query, opts) => navigate( - `/space/${params.spaceID}/${resource}/${resourceID}?${qs.stringify(query)}`, + `/space/${params.spaceID}/${resource}/${resourceID}?${qs.stringify( + query, + )}`, opts, ), upload: (query, opts) => navigate( - `/space/${params.spaceID}/knowledge/${params.datasetID}/upload?${qs.stringify(query)}`, + `/space/${params.spaceID}/knowledge/${ + params.datasetID + }/upload?${qs.stringify(query)}`, opts, ), }} diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/components/base-library-item.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/components/base-library-item.tsx index d9dc55d1..14640fa0 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/components/base-library-item.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/components/base-library-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { IconCozCheckMarkCircleFill } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/components/library-header.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/components/library-header.tsx index 05003d9e..fac27bdd 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/components/library-header.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/components/library-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/consts.ts b/frontend/packages/studio/workspace/entry-base/src/pages/library/consts.ts index 68ebb91b..c49831e0 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/consts.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/consts.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { PublishStatus, diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-cached-query-params.ts b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-cached-query-params.ts index 0d2a04ff..4f22414d 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-cached-query-params.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-cached-query-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { parse } from 'qs'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-columns.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-columns.tsx index 30323d2d..2b37d9b3 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-columns.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-columns.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEvent } from 'react'; import { useSize } from 'ahooks'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/types.ts b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/types.ts index 4982849b..c8021ac6 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/types.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type ResourceInfo } from '@coze-arch/idl/plugin_develop'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-database-config.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-database-config.tsx index 9775ee35..619fdfe1 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-database-config.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-database-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-knowledge-config.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-knowledge-config.tsx index e67852a6..58ca12b2 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-knowledge-config.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-knowledge-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useRequest } from 'ahooks'; @@ -166,7 +166,9 @@ export const useKnowledgeConfig: UseEntityConfigHook = ({ } = useCreateKnowledgeModalV2({ onFinish: (datasetID, unitType, shouldUpload) => { navigate( - `/space/${spaceId}/knowledge/${datasetID}${shouldUpload ? '/upload' : ''}?type=${unitType}&from=create`, + `/space/${spaceId}/knowledge/${datasetID}${ + shouldUpload ? '/upload' : '' + }?type=${unitType}&from=create`, ); closeCreateKnowledgeModal(); }, diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-plugin-config.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-plugin-config.tsx index 71692f48..87ea63fb 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-plugin-config.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-plugin-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useState } from 'react'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-prompt-config.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-prompt-config.tsx index 845f1380..95ee4567 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-prompt-config.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-prompt-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useRef } from 'react'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-workflow-config.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-workflow-config.tsx index 73247dd2..ab7ea3c8 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-workflow-config.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/hooks/use-entity-configs/use-workflow-config.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowResourceAction } from '@coze-workflow/components'; import { useUserInfo } from '@coze-foundation/account-adapter'; import { ResType, WorkflowMode } from '@coze-arch/idl/plugin_develop'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/library/index.tsx index a2d00b79..8980ad69 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useImperativeHandle } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/library/types.ts b/frontend/packages/studio/workspace/entry-base/src/pages/library/types.ts index af1713d4..6ce91db3 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/library/types.ts +++ b/frontend/packages/studio/workspace/entry-base/src/pages/library/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type CascaderData } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/mockset-list/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/mockset-list/index.tsx index a378525c..5608eeea 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/mockset-list/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/mockset-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MockSetList } from '@coze-agent-ide/bot-plugin/page'; const Plugin = ({ diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/mockset/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/mockset/index.tsx index a20f0bd5..7923fde3 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/mockset/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/mockset/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MockSetDetail } from '@coze-agent-ide/bot-plugin/page'; const Plugin = ({ diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/plugin/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/plugin/index.tsx index 0c26e56b..84bf6a37 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/plugin/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/plugin/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginDetailPage } from '@coze-agent-ide/bot-plugin/page'; export default PluginDetailPage; diff --git a/frontend/packages/studio/workspace/entry-base/src/pages/tool/index.tsx b/frontend/packages/studio/workspace/entry-base/src/pages/tool/index.tsx index e2c63e79..ab013ba1 100644 --- a/frontend/packages/studio/workspace/entry-base/src/pages/tool/index.tsx +++ b/frontend/packages/studio/workspace/entry-base/src/pages/tool/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ToolDetailPage } from '@coze-agent-ide/bot-plugin/page'; export default ToolDetailPage; diff --git a/frontend/packages/studio/workspace/entry-base/src/typings.d.ts b/frontend/packages/studio/workspace/entry-base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/workspace/entry-base/src/typings.d.ts +++ b/frontend/packages/studio/workspace/entry-base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/workspace/entry-base/src/utils.ts b/frontend/packages/studio/workspace/entry-base/src/utils.ts index 3d479561..26d7ba1a 100644 --- a/frontend/packages/studio/workspace/entry-base/src/utils.ts +++ b/frontend/packages/studio/workspace/entry-base/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import qs from 'qs'; import { pick } from 'lodash-es'; import { type PluginNavType } from '@coze-studio/bot-plugin-store/src/context'; @@ -53,13 +53,17 @@ export function resourceNavigate( ), mocksetList: (toolID, query, opts) => navigate( - `${navBase}/plugin/${pluginID}/tool/${toolID}/plugin-mock-set?${qs.stringify(query)}`, + `${navBase}/plugin/${pluginID}/tool/${toolID}/plugin-mock-set?${qs.stringify( + query, + )}`, opts, ), // eslint-disable-next-line max-params mocksetDetail: (toolID, mocksetID, query, opts) => navigate( - `${navBase}/plugin/${pluginID}/tool/${toolID}/plugin-mock-set/${mocksetID}?${qs.stringify(query)}`, + `${navBase}/plugin/${pluginID}/tool/${toolID}/plugin-mock-set/${mocksetID}?${qs.stringify( + query, + )}`, opts, ), cloudIDE: (query, opts) => diff --git a/frontend/packages/studio/workspace/entry-base/vitest.config.ts b/frontend/packages/studio/workspace/entry-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/workspace/entry-base/vitest.config.ts +++ b/frontend/packages/studio/workspace/entry-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/workspace/project-entity-adapter/package.json b/frontend/packages/studio/workspace/project-entity-adapter/package.json index d73a3975..47326645 100644 --- a/frontend/packages/studio/workspace/project-entity-adapter/package.json +++ b/frontend/packages/studio/workspace/project-entity-adapter/package.json @@ -14,8 +14,8 @@ "test:cov": "npm run test -- --coverage" }, "dependencies": { - "@coze-studio/project-entity-base": "workspace:*", - "@coze-arch/idl": "workspace:*" + "@coze-arch/idl": "workspace:*", + "@coze-studio/project-entity-base": "workspace:*" }, "devDependencies": { "@coze-arch/bot-typings": "workspace:*", @@ -42,3 +42,4 @@ "react-dom": ">=18.2.0" } } + diff --git a/frontend/packages/studio/workspace/project-entity-adapter/src/index.ts b/frontend/packages/studio/workspace/project-entity-adapter/src/index.ts index 959dbe79..f199f8d2 100644 --- a/frontend/packages/studio/workspace/project-entity-adapter/src/index.ts +++ b/frontend/packages/studio/workspace/project-entity-adapter/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDeleteIntelligence, type ProjectFormValues, diff --git a/frontend/packages/studio/workspace/project-entity-adapter/src/typings.d.ts b/frontend/packages/studio/workspace/project-entity-adapter/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/workspace/project-entity-adapter/src/typings.d.ts +++ b/frontend/packages/studio/workspace/project-entity-adapter/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/workspace/project-entity-adapter/vitest.config.ts b/frontend/packages/studio/workspace/project-entity-adapter/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/workspace/project-entity-adapter/vitest.config.ts +++ b/frontend/packages/studio/workspace/project-entity-adapter/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/bot-form-modal/index.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/bot-form-modal/index.tsx index 26a79f3b..ea43f318 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/bot-form-modal/index.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/bot-form-modal/index.tsx @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/delete-project-modal/index.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/delete-project-modal/index.tsx index 4cc77282..7ed88df6 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/delete-project-modal/index.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/delete-project-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Modal, Form, Input, type ModalProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/guide-modal/index.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/guide-modal/index.tsx index 79afe0b3..b4828d57 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/guide-modal/index.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/guide-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/project-form-modal/index.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/project-form-modal/index.tsx index a6d2bb12..8e552513 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/project-form-modal/index.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/project-form-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState, Suspense, lazy } from 'react'; import { SpaceFormSelect } from '@coze-studio/components'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/index.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/index.tsx index f4c77d2c..eff8bdd2 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/index.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { groupBy, xorBy } from 'lodash-es'; import { useRequest } from 'ahooks'; import { diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/create-empty-project-ui.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/create-empty-project-ui.tsx index 80a79bc2..66634f0e 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/create-empty-project-ui.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/create-empty-project-ui.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozPlusFill } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/project-template-card.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/project-template-card.tsx index d91d5c85..34999166 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/project-template-card.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/project-template-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, type MouseEventHandler, diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/project-template-group.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/project-template-group.tsx index 3663fec0..6c88cb52 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/project-template-group.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/project-template-group.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/skeleton.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/skeleton.tsx index d8b66d2e..b0e60eec 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/skeleton.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/project-template-modal/template-components/skeleton.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Skeleton } from '@coze-arch/coze-design'; import { ProjectTemplateGroup } from './project-template-group'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/switch-with-desc/index.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/switch-with-desc/index.tsx index 6a94d67c..94b9e324 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/switch-with-desc/index.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/switch-with-desc/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { Switch, type SwitchProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-base-update-or-copy-project-modal.tsx b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-base-update-or-copy-project-modal.tsx index 28157c6d..a2639687 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-base-update-or-copy-project-modal.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-base-update-or-copy-project-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useRequest } from 'ahooks'; @@ -105,8 +105,9 @@ export const useBaseUpdateOrCopyProjectModal = ({ icon_uri: uriList?.at(0)?.uid, description, }; - const response = - await intelligenceApi.DraftProjectUpdate(requestFormValues); + const response = await intelligenceApi.DraftProjectUpdate( + requestFormValues, + ); const { audit_data } = response.data ?? {}; return { ...audit_data, @@ -133,8 +134,9 @@ export const useBaseUpdateOrCopyProjectModal = ({ ...restValues, icon_uri: uriList?.at(0)?.uid, }; - const response = - await intelligenceApi.DraftProjectCopy(requestFormValues); + const response = await intelligenceApi.DraftProjectCopy( + requestFormValues, + ); const { audit_data, basic_info, user_info } = response.data ?? {}; return { ...audit_data, diff --git a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-copy-project-modal.ts b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-copy-project-modal.ts index d0a32755..13833048 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-copy-project-modal.ts +++ b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-copy-project-modal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type DraftProjectCopyRequest } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-create-project-modal.tsx b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-create-project-modal.tsx index a347d0fb..c6134705 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-create-project-modal.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-create-project-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useRequest } from 'ahooks'; @@ -155,8 +155,9 @@ export const useCreateProjectModalBase = ({ }), create_from: bizCreateFrom, }; - const response = - await intelligenceApi.DraftProjectCreate(requestFormValues); + const response = await intelligenceApi.DraftProjectCreate( + requestFormValues, + ); const { project_id, audit_data } = response.data ?? {}; return { ...audit_data, diff --git a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-delete-intelligence.tsx b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-delete-intelligence.tsx index d2919b67..037c5406 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-delete-intelligence.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-delete-intelligence.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { isObject } from 'lodash-es'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-hidden-session.ts b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-hidden-session.ts index a77a3556..ed28a940 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-hidden-session.ts +++ b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-hidden-session.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { localStorageService } from '@coze-foundation/local-storage'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-project-form-submit-state.ts b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-project-form-submit-state.ts index 08f68c02..bedd5ea3 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-project-form-submit-state.ts +++ b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-project-form-submit-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; export const useFormSubmitState = ({ diff --git a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-project-template-copy-modal.tsx b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-project-template-copy-modal.tsx index 1a247e8b..d789ab64 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-project-template-copy-modal.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-project-template-copy-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-update-project-modal.ts b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-update-project-modal.ts index cbfe5d2f..3b1c4616 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-update-project-modal.ts +++ b/frontend/packages/studio/workspace/project-entity-base/src/hooks/use-update-project-modal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type DraftProjectUpdateRequest } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/studio/workspace/project-entity-base/src/index.tsx b/frontend/packages/studio/workspace/project-entity-base/src/index.tsx index f2b8ba8c..ec21202a 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/index.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCreateProjectModalBase, type CreateProjectHookProps, diff --git a/frontend/packages/studio/workspace/project-entity-base/src/type/index.ts b/frontend/packages/studio/workspace/project-entity-base/src/type/index.ts index 4d0215c6..58527077 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/type/index.ts +++ b/frontend/packages/studio/workspace/project-entity-base/src/type/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UploadValue } from '@coze-common/biz-components'; export type ModifyUploadValueType = Omit< diff --git a/frontend/packages/studio/workspace/project-entity-base/src/typings.d.ts b/frontend/packages/studio/workspace/project-entity-base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/typings.d.ts +++ b/frontend/packages/studio/workspace/project-entity-base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/workspace/project-entity-base/src/utils/common-project-form-valid.ts b/frontend/packages/studio/workspace/project-entity-base/src/utils/common-project-form-valid.ts index f628d379..ba9a7c24 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/utils/common-project-form-valid.ts +++ b/frontend/packages/studio/workspace/project-entity-base/src/utils/common-project-form-valid.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ProjectFormValues } from '../components/project-form'; export const commonProjectFormValid = ( diff --git a/frontend/packages/studio/workspace/project-entity-base/vitest.config.ts b/frontend/packages/studio/workspace/project-entity-base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/workspace/project-entity-base/vitest.config.ts +++ b/frontend/packages/studio/workspace/project-entity-base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/studio/workspace/project-publish/src/context/publish-container-context.tsx b/frontend/packages/studio/workspace/project-publish/src/context/publish-container-context.tsx index d93e8015..c622783a 100644 --- a/frontend/packages/studio/workspace/project-publish/src/context/publish-container-context.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/context/publish-container-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, type RefObject, useContext } from 'react'; export interface PublishContainerContextProps { diff --git a/frontend/packages/studio/workspace/project-publish/src/hooks/use-biz-connector-anchor.ts b/frontend/packages/studio/workspace/project-publish/src/hooks/use-biz-connector-anchor.ts index 25b541cc..69bd76c5 100644 --- a/frontend/packages/studio/workspace/project-publish/src/hooks/use-biz-connector-anchor.ts +++ b/frontend/packages/studio/workspace/project-publish/src/hooks/use-biz-connector-anchor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useUserInfo } from '@coze-arch/foundation-sdk'; import { type DynamicParams } from '@coze-arch/bot-typings/teamspace'; import { useParams } from 'react-router-dom'; diff --git a/frontend/packages/studio/workspace/project-publish/src/hooks/use-mcp-config-modal.tsx b/frontend/packages/studio/workspace/project-publish/src/hooks/use-mcp-config-modal.tsx index 06a5bc66..e65bec6c 100644 --- a/frontend/packages/studio/workspace/project-publish/src/hooks/use-mcp-config-modal.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/hooks/use-mcp-config-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable @coze-arch/max-line-per-function */ import { useParams } from 'react-router-dom'; diff --git a/frontend/packages/studio/workspace/project-publish/src/hooks/use-publish-status.tsx b/frontend/packages/studio/workspace/project-publish/src/hooks/use-publish-status.tsx index 320755f8..cda42425 100644 --- a/frontend/packages/studio/workspace/project-publish/src/hooks/use-publish-status.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/hooks/use-publish-status.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/studio/workspace/project-publish/src/index.tsx b/frontend/packages/studio/workspace/project-publish/src/index.tsx index 55a71361..c72906ac 100644 --- a/frontend/packages/studio/workspace/project-publish/src/index.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ProjectPublish } from './publish-main'; export { useBizConnectorAnchor } from './hooks/use-biz-connector-anchor'; diff --git a/frontend/packages/studio/workspace/project-publish/src/publish-button/index.tsx b/frontend/packages/studio/workspace/project-publish/src/publish-button/index.tsx index d6765abd..235242ee 100644 --- a/frontend/packages/studio/workspace/project-publish/src/publish-button/index.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/publish-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable react-hooks/exhaustive-deps */ import { useNavigate } from 'react-router-dom'; @@ -170,7 +170,9 @@ export const PublishButton = ({ onClick={() => open()} > - {`${I18n.t('app_ide_publish_modal_recent_publication')} ${latestVersion?.version_number}`} + {`${I18n.t('app_ide_publish_modal_recent_publication')} ${ + latestVersion?.version_number + }`} {tag} { // Define regular expressions that match the pattern of "number. number. number" const regex = /(\d+)\.(\d+)\.(\d+)/g; diff --git a/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/init-publish-store.ts b/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/init-publish-store.ts index f3d948ae..646cf172 100644 --- a/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/init-publish-store.ts +++ b/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/init-publish-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConnectorClassification, type ConnectorPublishConfig, diff --git a/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/is-store-bind-configured.ts b/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/is-store-bind-configured.ts index 79e70af2..865f9692 100644 --- a/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/is-store-bind-configured.ts +++ b/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/is-store-bind-configured.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StoreBindKey } from '@/store'; type SelfMapping = { diff --git a/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/publish-draft.ts b/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/publish-draft.ts index 60241bd0..5cd30177 100644 --- a/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/publish-draft.ts +++ b/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/publish-draft.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ConnectorPublishConfig } from '@coze-arch/idl/intelligence_api'; import { typeSafeJSONParse } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/version-number-check.ts b/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/version-number-check.ts index ce1b18ab..aba0d5ac 100644 --- a/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/version-number-check.ts +++ b/frontend/packages/studio/workspace/project-publish/src/publish-main/utils/version-number-check.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { intelligenceApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/connector-status.tsx b/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/connector-status.tsx index 54f0361e..c59201af 100644 --- a/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/connector-status.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/connector-status.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type publish, ConnectorPublishStatus, diff --git a/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/publish-step-icon.tsx b/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/publish-step-icon.tsx index 138991d4..0a032aca 100644 --- a/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/publish-step-icon.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/publish-step-icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozCheckMarkCircle, IconCozClock, diff --git a/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/publish-step-title.tsx b/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/publish-step-title.tsx index f7b0087f..6623a9a0 100644 --- a/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/publish-step-title.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/publish-progress/components/publish-step-title.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Tag, type TagProps, Typography } from '@coze-arch/coze-design'; export interface PublishStepTitleProps { diff --git a/frontend/packages/studio/workspace/project-publish/src/service/connector-anchor.ts b/frontend/packages/studio/workspace/project-publish/src/service/connector-anchor.ts index 29dfc818..ee274e27 100644 --- a/frontend/packages/studio/workspace/project-publish/src/service/connector-anchor.ts +++ b/frontend/packages/studio/workspace/project-publish/src/service/connector-anchor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z } from 'zod'; import { produce } from 'immer'; import { typeSafeJSONParse } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/studio/workspace/project-publish/src/store.ts b/frontend/packages/studio/workspace/project-publish/src/store.ts index aa145338..6e65b9ef 100644 --- a/frontend/packages/studio/workspace/project-publish/src/store.ts +++ b/frontend/packages/studio/workspace/project-publish/src/store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; import { produce as immerProduce } from 'immer'; diff --git a/frontend/packages/studio/workspace/project-publish/src/typings.d.ts b/frontend/packages/studio/workspace/project-publish/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/studio/workspace/project-publish/src/typings.d.ts +++ b/frontend/packages/studio/workspace/project-publish/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/studio/workspace/project-publish/src/utils/constants.ts b/frontend/packages/studio/workspace/project-publish/src/utils/constants.ts index 63963008..1f79b286 100644 --- a/frontend/packages/studio/workspace/project-publish/src/utils/constants.ts +++ b/frontend/packages/studio/workspace/project-publish/src/utils/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Channel IDs published as Web SDKs */ export const WEB_SDK_CONNECTOR_ID = '999'; /** Post to Button - Template Channel ID */ diff --git a/frontend/packages/studio/workspace/project-publish/src/utils/is-publish-finish.ts b/frontend/packages/studio/workspace/project-publish/src/utils/is-publish-finish.ts index a85fdef2..7d7062ea 100644 --- a/frontend/packages/studio/workspace/project-publish/src/utils/is-publish-finish.ts +++ b/frontend/packages/studio/workspace/project-publish/src/utils/is-publish-finish.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PublishRecordDetail, PublishRecordStatus, diff --git a/frontend/packages/studio/workspace/project-publish/src/utils/setter-factory.ts b/frontend/packages/studio/workspace/project-publish/src/utils/setter-factory.ts index f5d27b91..b0831f4e 100644 --- a/frontend/packages/studio/workspace/project-publish/src/utils/setter-factory.ts +++ b/frontend/packages/studio/workspace/project-publish/src/utils/setter-factory.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type create } from 'zustand'; export interface SetterAction { diff --git a/frontend/packages/studio/workspace/project-publish/src/utils/upload-custom-request.ts b/frontend/packages/studio/workspace/project-publish/src/utils/upload-custom-request.ts index a7ec6bad..f995c453 100644 --- a/frontend/packages/studio/workspace/project-publish/src/utils/upload-custom-request.ts +++ b/frontend/packages/studio/workspace/project-publish/src/utils/upload-custom-request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { AxiosError } from 'axios'; import { type UploadProps } from '@coze-arch/coze-design'; import { upLoadFile } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/studio/workspace/project-publish/src/web-sdk-guide/index.tsx b/frontend/packages/studio/workspace/project-publish/src/web-sdk-guide/index.tsx index 207fab3a..de482ae4 100644 --- a/frontend/packages/studio/workspace/project-publish/src/web-sdk-guide/index.tsx +++ b/frontend/packages/studio/workspace/project-publish/src/web-sdk-guide/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { getOpenSDKUrl } from '@coze-studio/open-env-adapter'; diff --git a/frontend/packages/studio/workspace/project-publish/vitest.config.ts b/frontend/packages/studio/workspace/project-publish/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/studio/workspace/project-publish/vitest.config.ts +++ b/frontend/packages/studio/workspace/project-publish/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/adapter/base/src/hooks/use-support-imageflow-nodes-query.ts b/frontend/packages/workflow/adapter/base/src/hooks/use-support-imageflow-nodes-query.ts index 582a6de6..0eb7fe96 100644 --- a/frontend/packages/workflow/adapter/base/src/hooks/use-support-imageflow-nodes-query.ts +++ b/frontend/packages/workflow/adapter/base/src/hooks/use-support-imageflow-nodes-query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function useSupportImageflowNodesQuery() { return { isSupportImageflowNodes: true, diff --git a/frontend/packages/workflow/adapter/base/src/index.tsx b/frontend/packages/workflow/adapter/base/src/index.tsx index c7dd785b..b3810f38 100644 --- a/frontend/packages/workflow/adapter/base/src/index.tsx +++ b/frontend/packages/workflow/adapter/base/src/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getEnabledNodeTypes, getUploadCDNAsset } from './utils'; export { useSupportImageflowNodesQuery } from './hooks/use-support-imageflow-nodes-query'; diff --git a/frontend/packages/workflow/adapter/base/src/typings.d.ts b/frontend/packages/workflow/adapter/base/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/adapter/base/src/typings.d.ts +++ b/frontend/packages/workflow/adapter/base/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/adapter/base/src/utils/get-upload-cdn-asset.ts b/frontend/packages/workflow/adapter/base/src/utils/get-upload-cdn-asset.ts index e62296b5..12452f3e 100644 --- a/frontend/packages/workflow/adapter/base/src/utils/get-upload-cdn-asset.ts +++ b/frontend/packages/workflow/adapter/base/src/utils/get-upload-cdn-asset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * get asset upload cdn address * @param assetName asset name diff --git a/frontend/packages/workflow/adapter/base/src/utils/index.ts b/frontend/packages/workflow/adapter/base/src/utils/index.ts index c2b6d766..4593938c 100644 --- a/frontend/packages/workflow/adapter/base/src/utils/index.ts +++ b/frontend/packages/workflow/adapter/base/src/utils/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getEnabledNodeTypes } from './get-enabled-node-types'; export { getUploadCDNAsset } from './get-upload-cdn-asset'; diff --git a/frontend/packages/workflow/adapter/base/stories/demo.stories.tsx b/frontend/packages/workflow/adapter/base/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/workflow/adapter/base/stories/demo.stories.tsx +++ b/frontend/packages/workflow/adapter/base/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/workflow/adapter/base/vitest.config.ts b/frontend/packages/workflow/adapter/base/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/workflow/adapter/base/vitest.config.ts +++ b/frontend/packages/workflow/adapter/base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/editor/biz-editor.tsx b/frontend/packages/workflow/adapter/code-editor/src/components/editor/biz-editor.tsx index 1f884552..81b1d9d5 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/editor/biz-editor.tsx +++ b/frontend/packages/workflow/adapter/code-editor/src/components/editor/biz-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/editor/editor.tsx b/frontend/packages/workflow/adapter/code-editor/src/components/editor/editor.tsx index c61400ac..38346677 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/editor/editor.tsx +++ b/frontend/packages/workflow/adapter/code-editor/src/components/editor/editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, lazy, Suspense, useMemo } from 'react'; import { type EditorOtherProps, type EditorProps } from '../../interface'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/editor/index.tsx b/frontend/packages/workflow/adapter/code-editor/src/components/editor/index.tsx index 5eb2d35b..8cce3409 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/editor/index.tsx +++ b/frontend/packages/workflow/adapter/code-editor/src/components/editor/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Editor } from './editor'; export { BizEditor } from './biz-editor'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/editor/preset.ts b/frontend/packages/workflow/adapter/code-editor/src/components/editor/preset.ts index 8ac9723e..a6b1dc91 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/editor/preset.ts +++ b/frontend/packages/workflow/adapter/code-editor/src/components/editor/preset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { api, type InferEditorAPIFromPlugins } from '@coze-editor/editor/react'; import preset from '@coze-editor/editor/preset-code'; import { type EditorView } from '@codemirror/view'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/editor/python-editor.tsx b/frontend/packages/workflow/adapter/code-editor/src/components/editor/python-editor.tsx index df7ee584..b52d8df9 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/editor/python-editor.tsx +++ b/frontend/packages/workflow/adapter/code-editor/src/components/editor/python-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Renderer, EditorProvider } from '@coze-editor/editor/react'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/editor/typescript-editor-utils.ts b/frontend/packages/workflow/adapter/code-editor/src/components/editor/typescript-editor-utils.ts index 549c2a7b..05775bce 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/editor/typescript-editor-utils.ts +++ b/frontend/packages/workflow/adapter/code-editor/src/components/editor/typescript-editor-utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { languages } from '@coze-editor/editor/preset-code'; import { typescript } from '@coze-editor/editor/language-typescript'; @@ -101,7 +101,10 @@ export function generateTypeDefinition(output: Output, indent = ' '): string { definition += `${indent}${output.name}: {\n`; if (output.children && output.children.length > 0) { output.children.forEach(child => { - definition += `${indent} ${generateTypeDefinition(child, `${indent} `)}`; + definition += `${indent} ${generateTypeDefinition( + child, + `${indent} `, + )}`; }); } @@ -114,7 +117,10 @@ export function generateTypeDefinition(output: Output, indent = ' '): string { definition += `${indent}${output.name}: {\n`; if (output.children && output.children.length > 0) { output.children.forEach(child => { - definition += `${indent} ${generateTypeDefinition(child, `${indent} `)}`; + definition += `${indent} ${generateTypeDefinition( + child, + `${indent} `, + )}`; }); definition += `${indent}}[]\n`; } @@ -148,7 +154,9 @@ export const initInputAndOutput = async ( } interface Output { - ${outputs.map(output => generateTypeDefinition(output, ' ')).join('\n')} + ${outputs + .map(output => generateTypeDefinition(output, ' ')) + .join('\n')} } } diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/editor/typescript-editor.tsx b/frontend/packages/workflow/adapter/code-editor/src/components/editor/typescript-editor.tsx index f0977e0a..39ead92b 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/editor/typescript-editor.tsx +++ b/frontend/packages/workflow/adapter/code-editor/src/components/editor/typescript-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { Renderer, EditorProvider } from '@coze-editor/editor/react'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/layout/index.tsx b/frontend/packages/workflow/adapter/code-editor/src/components/layout/index.tsx index 5af53292..be0f2e4f 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/layout/index.tsx +++ b/frontend/packages/workflow/adapter/code-editor/src/components/layout/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, type ReactNode } from 'react'; import { concatTestId, useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/previewer/index.tsx b/frontend/packages/workflow/adapter/code-editor/src/components/previewer/index.tsx index 2ee2aa95..70cc0c65 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/previewer/index.tsx +++ b/frontend/packages/workflow/adapter/code-editor/src/components/previewer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef } from 'react'; import { type EditorAPI } from '../editor/preset'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/components/theme.ts b/frontend/packages/workflow/adapter/code-editor/src/components/theme.ts index 2b291719..faae4d00 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/components/theme.ts +++ b/frontend/packages/workflow/adapter/code-editor/src/components/theme.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createTheme } from '@coze-editor/editor/preset-code'; import { type Extension } from '@codemirror/state'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/index.tsx b/frontend/packages/workflow/adapter/code-editor/src/index.tsx index 21ddb276..ce69f18e 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/index.tsx +++ b/frontend/packages/workflow/adapter/code-editor/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { themes } from '@coze-editor/editor/preset-code'; import { convertSchema } from './utils'; diff --git a/frontend/packages/workflow/adapter/code-editor/src/interface.ts b/frontend/packages/workflow/adapter/code-editor/src/interface.ts index 28e7b2a9..b225d13a 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/interface.ts +++ b/frontend/packages/workflow/adapter/code-editor/src/interface.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import type { diff --git a/frontend/packages/workflow/adapter/code-editor/src/typings.d.ts b/frontend/packages/workflow/adapter/code-editor/src/typings.d.ts index a6b254cf..68b3b485 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/typings.d.ts +++ b/frontend/packages/workflow/adapter/code-editor/src/typings.d.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare const IS_OVERSEA: boolean; diff --git a/frontend/packages/workflow/adapter/code-editor/src/utils/convert-schema.ts b/frontend/packages/workflow/adapter/code-editor/src/utils/convert-schema.ts index bdc9a53e..9ec4a9d0 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/utils/convert-schema.ts +++ b/frontend/packages/workflow/adapter/code-editor/src/utils/convert-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface ParamSchemaType { name: string; type: number; diff --git a/frontend/packages/workflow/adapter/code-editor/src/utils/index.ts b/frontend/packages/workflow/adapter/code-editor/src/utils/index.ts index 993da268..779ccae5 100644 --- a/frontend/packages/workflow/adapter/code-editor/src/utils/index.ts +++ b/frontend/packages/workflow/adapter/code-editor/src/utils/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { convertSchema } from './convert-schema'; diff --git a/frontend/packages/workflow/adapter/code-editor/stories/demo.stories.tsx b/frontend/packages/workflow/adapter/code-editor/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/workflow/adapter/code-editor/stories/demo.stories.tsx +++ b/frontend/packages/workflow/adapter/code-editor/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/workflow/adapter/code-editor/vitest.config.ts b/frontend/packages/workflow/adapter/code-editor/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/workflow/adapter/code-editor/vitest.config.ts +++ b/frontend/packages/workflow/adapter/code-editor/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/adapter/nodes/src/demo/index.tsx b/frontend/packages/workflow/adapter/nodes/src/demo/index.tsx index 93b8443f..ee800eda 100644 --- a/frontend/packages/workflow/adapter/nodes/src/demo/index.tsx +++ b/frontend/packages/workflow/adapter/nodes/src/demo/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/adapter/nodes/src/index.tsx b/frontend/packages/workflow/adapter/nodes/src/index.tsx index f16416e8..f47a1926 100644 --- a/frontend/packages/workflow/adapter/nodes/src/index.tsx +++ b/frontend/packages/workflow/adapter/nodes/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DemoComponent } from './demo'; diff --git a/frontend/packages/workflow/adapter/nodes/src/typings.d.ts b/frontend/packages/workflow/adapter/nodes/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/adapter/nodes/src/typings.d.ts +++ b/frontend/packages/workflow/adapter/nodes/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/adapter/nodes/stories/demo.stories.tsx b/frontend/packages/workflow/adapter/nodes/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/workflow/adapter/nodes/stories/demo.stories.tsx +++ b/frontend/packages/workflow/adapter/nodes/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/workflow/adapter/nodes/vitest.config.ts b/frontend/packages/workflow/adapter/nodes/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/workflow/adapter/nodes/vitest.config.ts +++ b/frontend/packages/workflow/adapter/nodes/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/adapter/playground/src/hooks/index.ts b/frontend/packages/workflow/adapter/playground/src/hooks/index.ts index 65ee1c82..abcd228d 100644 --- a/frontend/packages/workflow/adapter/playground/src/hooks/index.ts +++ b/frontend/packages/workflow/adapter/playground/src/hooks/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useNavigateBack } from './use-navigate-back'; diff --git a/frontend/packages/workflow/adapter/playground/src/hooks/use-navigate-back.tsx b/frontend/packages/workflow/adapter/playground/src/hooks/use-navigate-back.tsx index 62c7f57a..1fbe3a09 100644 --- a/frontend/packages/workflow/adapter/playground/src/hooks/use-navigate-back.tsx +++ b/frontend/packages/workflow/adapter/playground/src/hooks/use-navigate-back.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNavigate } from 'react-router-dom'; import { useMemo } from 'react'; diff --git a/frontend/packages/workflow/adapter/playground/src/hooks/use-page-params.ts b/frontend/packages/workflow/adapter/playground/src/hooks/use-page-params.ts index 46bff7f9..819024ea 100644 --- a/frontend/packages/workflow/adapter/playground/src/hooks/use-page-params.ts +++ b/frontend/packages/workflow/adapter/playground/src/hooks/use-page-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useMount } from 'ahooks'; diff --git a/frontend/packages/workflow/adapter/playground/src/index.tsx b/frontend/packages/workflow/adapter/playground/src/index.tsx index a45fe7fe..8cbfaf34 100644 --- a/frontend/packages/workflow/adapter/playground/src/index.tsx +++ b/frontend/packages/workflow/adapter/playground/src/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowPage } from './page'; diff --git a/frontend/packages/workflow/adapter/playground/src/page.tsx b/frontend/packages/workflow/adapter/playground/src/page.tsx index bdc4ba45..34b26371 100644 --- a/frontend/packages/workflow/adapter/playground/src/page.tsx +++ b/frontend/packages/workflow/adapter/playground/src/page.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; import React, { useRef, useState } from 'react'; diff --git a/frontend/packages/workflow/adapter/playground/src/typings.d.ts b/frontend/packages/workflow/adapter/playground/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/adapter/playground/src/typings.d.ts +++ b/frontend/packages/workflow/adapter/playground/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/adapter/playground/stories/demo.stories.tsx b/frontend/packages/workflow/adapter/playground/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/workflow/adapter/playground/stories/demo.stories.tsx +++ b/frontend/packages/workflow/adapter/playground/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/workflow/adapter/playground/vitest.config.ts b/frontend/packages/workflow/adapter/playground/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/workflow/adapter/playground/vitest.config.ts +++ b/frontend/packages/workflow/adapter/playground/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/adapter/resources/src/audio/index.ts b/frontend/packages/workflow/adapter/resources/src/audio/index.ts index 4d155238..f0df77d3 100644 --- a/frontend/packages/workflow/adapter/resources/src/audio/index.ts +++ b/frontend/packages/workflow/adapter/resources/src/audio/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ import { useState, useCallback, useEffect, useRef } from 'react'; diff --git a/frontend/packages/workflow/adapter/resources/src/auth/index.tsx b/frontend/packages/workflow/adapter/resources/src/auth/index.tsx index dff90f82..002dd7d6 100644 --- a/frontend/packages/workflow/adapter/resources/src/auth/index.tsx +++ b/frontend/packages/workflow/adapter/resources/src/auth/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @file The open source version does not currently provide multi-person collaboration capabilities */ diff --git a/frontend/packages/workflow/adapter/resources/src/index.tsx b/frontend/packages/workflow/adapter/resources/src/index.tsx index 834caaa3..6527ba39 100644 --- a/frontend/packages/workflow/adapter/resources/src/index.tsx +++ b/frontend/packages/workflow/adapter/resources/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useAudioPlayer } from './audio'; export { useSelectVoiceModal } from './voice'; diff --git a/frontend/packages/workflow/adapter/resources/src/knowledge/index.tsx b/frontend/packages/workflow/adapter/resources/src/knowledge/index.tsx index 5b81b0ca..84d39d98 100644 --- a/frontend/packages/workflow/adapter/resources/src/knowledge/index.tsx +++ b/frontend/packages/workflow/adapter/resources/src/knowledge/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const DouyinKnowledgeListModal = _props => null; diff --git a/frontend/packages/workflow/adapter/resources/src/market/use-workflow-publish-entry.ts b/frontend/packages/workflow/adapter/resources/src/market/use-workflow-publish-entry.ts index 748efcf7..5f64300a 100644 --- a/frontend/packages/workflow/adapter/resources/src/market/use-workflow-publish-entry.ts +++ b/frontend/packages/workflow/adapter/resources/src/market/use-workflow-publish-entry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const useWorkflowPublishEntry = (): { enablePublishEntry: boolean } => ({ enablePublishEntry: false, }); diff --git a/frontend/packages/workflow/adapter/resources/src/prompt/index.tsx b/frontend/packages/workflow/adapter/resources/src/prompt/index.tsx index 1f45f182..442a86c9 100644 --- a/frontend/packages/workflow/adapter/resources/src/prompt/index.tsx +++ b/frontend/packages/workflow/adapter/resources/src/prompt/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @file The open source version does not currently provide AI generation capabilities */ diff --git a/frontend/packages/workflow/adapter/resources/src/store/index.tsx b/frontend/packages/workflow/adapter/resources/src/store/index.tsx index c9323ebb..66e263b5 100644 --- a/frontend/packages/workflow/adapter/resources/src/store/index.tsx +++ b/frontend/packages/workflow/adapter/resources/src/store/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum PublishWorkflowModal { PUBLISH_RESULT = 'publishResult', WORKFLOW = 'workflow', diff --git a/frontend/packages/workflow/adapter/resources/src/typings.d.ts b/frontend/packages/workflow/adapter/resources/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/adapter/resources/src/typings.d.ts +++ b/frontend/packages/workflow/adapter/resources/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/adapter/resources/src/voice/index.tsx b/frontend/packages/workflow/adapter/resources/src/voice/index.tsx index 86a8d827..5e12462b 100644 --- a/frontend/packages/workflow/adapter/resources/src/voice/index.tsx +++ b/frontend/packages/workflow/adapter/resources/src/voice/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * @file The open source version does not provide timbre-related capabilities */ diff --git a/frontend/packages/workflow/adapter/resources/stories/demo.stories.tsx b/frontend/packages/workflow/adapter/resources/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/workflow/adapter/resources/stories/demo.stories.tsx +++ b/frontend/packages/workflow/adapter/resources/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/workflow/adapter/resources/vitest.config.ts b/frontend/packages/workflow/adapter/resources/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/workflow/adapter/resources/vitest.config.ts +++ b/frontend/packages/workflow/adapter/resources/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/base/__tests__/api/api.test.ts b/frontend/packages/workflow/base/__tests__/api/api.test.ts index 0ef5884d..7945b995 100644 --- a/frontend/packages/workflow/base/__tests__/api/api.test.ts +++ b/frontend/packages/workflow/base/__tests__/api/api.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { workflowApi as archWorkflowApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/base/__tests__/api/with-query-client.test.tsx b/frontend/packages/workflow/base/__tests__/api/with-query-client.test.tsx index 23307df5..cd6d08b9 100644 --- a/frontend/packages/workflow/base/__tests__/api/with-query-client.test.tsx +++ b/frontend/packages/workflow/base/__tests__/api/with-query-client.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, it, expect, vi, beforeEach } from 'vitest'; diff --git a/frontend/packages/workflow/base/__tests__/contexts/workflow-node-context.test.tsx b/frontend/packages/workflow/base/__tests__/contexts/workflow-node-context.test.tsx index 5cbd0aef..93e4966e 100644 --- a/frontend/packages/workflow/base/__tests__/contexts/workflow-node-context.test.tsx +++ b/frontend/packages/workflow/base/__tests__/contexts/workflow-node-context.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useContext } from 'react'; import { describe, it, expect, vi } from 'vitest'; diff --git a/frontend/packages/workflow/base/__tests__/entities/workflow-node.test.ts b/frontend/packages/workflow/base/__tests__/entities/workflow-node.test.ts index dfc4364b..b3ac0bca 100644 --- a/frontend/packages/workflow/base/__tests__/entities/workflow-node.test.ts +++ b/frontend/packages/workflow/base/__tests__/entities/workflow-node.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { FlowNodeFormData, diff --git a/frontend/packages/workflow/base/__tests__/hooks/use-node-test-id.test.tsx b/frontend/packages/workflow/base/__tests__/hooks/use-node-test-id.test.tsx index c9267b3f..7b2b2591 100644 --- a/frontend/packages/workflow/base/__tests__/hooks/use-node-test-id.test.tsx +++ b/frontend/packages/workflow/base/__tests__/hooks/use-node-test-id.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/workflow/base/__tests__/hooks/use-workflow-node.test.tsx b/frontend/packages/workflow/base/__tests__/hooks/use-workflow-node.test.tsx index 2ec5cad9..89e512dc 100644 --- a/frontend/packages/workflow/base/__tests__/hooks/use-workflow-node.test.tsx +++ b/frontend/packages/workflow/base/__tests__/hooks/use-workflow-node.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; diff --git a/frontend/packages/workflow/base/__tests__/store/workflow/index.test.ts b/frontend/packages/workflow/base/__tests__/store/workflow/index.test.ts index 7177e8cc..cb307fef 100644 --- a/frontend/packages/workflow/base/__tests__/store/workflow/index.test.ts +++ b/frontend/packages/workflow/base/__tests__/store/workflow/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import type { WorkflowEdgeJSON } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/base/__tests__/types/block-input-dto.test.ts b/frontend/packages/workflow/base/__tests__/types/block-input-dto.test.ts index d0acf438..877b798b 100644 --- a/frontend/packages/workflow/base/__tests__/types/block-input-dto.test.ts +++ b/frontend/packages/workflow/base/__tests__/types/block-input-dto.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { BlockInput } from '../../src/types/block-input-dto'; diff --git a/frontend/packages/workflow/base/__tests__/types/node-type.test.ts b/frontend/packages/workflow/base/__tests__/types/node-type.test.ts index 3bab476e..48c10ea7 100644 --- a/frontend/packages/workflow/base/__tests__/types/node-type.test.ts +++ b/frontend/packages/workflow/base/__tests__/types/node-type.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { diff --git a/frontend/packages/workflow/base/__tests__/types/node.test.ts b/frontend/packages/workflow/base/__tests__/types/node.test.ts index aeff43a1..07decb20 100644 --- a/frontend/packages/workflow/base/__tests__/types/node.test.ts +++ b/frontend/packages/workflow/base/__tests__/types/node.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { StandardNodeType } from '../../src/types/node-type'; diff --git a/frontend/packages/workflow/base/__tests__/types/param-definition.test.ts b/frontend/packages/workflow/base/__tests__/types/param-definition.test.ts index 5c7bc1f9..187529bd 100644 --- a/frontend/packages/workflow/base/__tests__/types/param-definition.test.ts +++ b/frontend/packages/workflow/base/__tests__/types/param-definition.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { ViewVariableType } from '../../src/types/view-variable-type'; diff --git a/frontend/packages/workflow/base/__tests__/types/view-variable-tree.test.ts b/frontend/packages/workflow/base/__tests__/types/view-variable-tree.test.ts index 828f026c..459fceec 100644 --- a/frontend/packages/workflow/base/__tests__/types/view-variable-tree.test.ts +++ b/frontend/packages/workflow/base/__tests__/types/view-variable-tree.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { ViewVariableType } from '../../src/types/view-variable-type'; diff --git a/frontend/packages/workflow/base/__tests__/types/vo.test.ts b/frontend/packages/workflow/base/__tests__/types/vo.test.ts index ea0548c4..1ca7971a 100644 --- a/frontend/packages/workflow/base/__tests__/types/vo.test.ts +++ b/frontend/packages/workflow/base/__tests__/types/vo.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { diff --git a/frontend/packages/workflow/base/__tests__/utils/concat-test-id.test.ts b/frontend/packages/workflow/base/__tests__/utils/concat-test-id.test.ts index 02bc1f29..5f287d5e 100644 --- a/frontend/packages/workflow/base/__tests__/utils/concat-test-id.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/concat-test-id.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { concatTestId } from '../../src/utils/concat-test-id'; diff --git a/frontend/packages/workflow/base/__tests__/utils/form-helpers.test.ts b/frontend/packages/workflow/base/__tests__/utils/form-helpers.test.ts index d6d0061c..29a61ae4 100644 --- a/frontend/packages/workflow/base/__tests__/utils/form-helpers.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/form-helpers.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import type { FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; @@ -55,7 +55,7 @@ describe('form-helpers', () => { return null; }), getNodeRegistry: () => ({}), - }) as unknown as FlowNodeEntity; + } as unknown as FlowNodeEntity); it('应该返回匹配路径结尾的表单项值', () => { const formModel = createMockFormModel({ diff --git a/frontend/packages/workflow/base/__tests__/utils/is-general-workflow.test.ts b/frontend/packages/workflow/base/__tests__/utils/is-general-workflow.test.ts index 16513ea9..31b9261c 100644 --- a/frontend/packages/workflow/base/__tests__/utils/is-general-workflow.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/is-general-workflow.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { WorkflowMode } from '@coze-arch/bot-api/workflow_api'; diff --git a/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/index.test.ts b/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/index.test.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/index.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/index.test.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/parsers/default-parser.test.ts b/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/parsers/default-parser.test.ts index f093803c..6405df36 100644 --- a/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/parsers/default-parser.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/parsers/default-parser.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { defaultParser } from '../../../../src/utils/node-result-extractor/parsers'; diff --git a/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/type.test.ts b/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/type.test.ts index c424b249..58e1ed40 100644 --- a/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/type.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/type.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { diff --git a/frontend/packages/workflow/base/__tests__/utils/output-image-parser.test.ts b/frontend/packages/workflow/base/__tests__/utils/output-image-parser.test.ts index 3eaac21d..a7d54313 100644 --- a/frontend/packages/workflow/base/__tests__/utils/output-image-parser.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/output-image-parser.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import type { WorkflowNodeJSON } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/expression-parser.test.ts b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/expression-parser.test.ts index 3621854f..7e60328f 100644 --- a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/expression-parser.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/expression-parser.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { expressionParser } from '../../../../src/utils/schema-extractor/parsers/expression-parser'; diff --git a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/image-reference.test.ts b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/image-reference.test.ts index 0aa69050..696675e2 100644 --- a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/image-reference.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/image-reference.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { imageReferenceParser } from '../../../../src/utils/schema-extractor/parsers/image-reference'; diff --git a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/output.test.ts b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/output.test.ts index 5e4dc4f7..89f04021 100644 --- a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/output.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/output.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { outputsParser } from '../../../../src/utils/schema-extractor/parsers/output'; diff --git a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/ref-input-parameters.test.ts b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/ref-input-parameters.test.ts index 5b994c58..ad7483cf 100644 --- a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/ref-input-parameters.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/ref-input-parameters.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { refInputParametersParser } from '../../../../src/utils/schema-extractor/parsers/ref-input-parameters'; diff --git a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/variable-merge-groups-parser.test.ts b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/variable-merge-groups-parser.test.ts index f87a2b5b..5d7322aa 100644 --- a/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/variable-merge-groups-parser.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/schema-extractor/parsers/variable-merge-groups-parser.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { variableMergeGroupsParser } from '../../../../src/utils/schema-extractor/parsers/variable-merge-groups-parser'; diff --git a/frontend/packages/workflow/base/__tests__/utils/start-params.test.ts b/frontend/packages/workflow/base/__tests__/utils/start-params.test.ts index fc63790c..731c8c98 100644 --- a/frontend/packages/workflow/base/__tests__/utils/start-params.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/start-params.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { diff --git a/frontend/packages/workflow/base/src/api/index.ts b/frontend/packages/workflow/base/src/api/index.ts index 916cb5eb..a86706e9 100644 --- a/frontend/packages/workflow/base/src/api/index.ts +++ b/frontend/packages/workflow/base/src/api/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { workflowApi as archWorkflowApi } from '@coze-arch/bot-api'; // eslint-disable-next-line @coze-arch/no-batch-import-or-export diff --git a/frontend/packages/workflow/base/src/api/with-query-client.tsx b/frontend/packages/workflow/base/src/api/with-query-client.tsx index e493340f..58bf0850 100644 --- a/frontend/packages/workflow/base/src/api/with-query-client.tsx +++ b/frontend/packages/workflow/base/src/api/with-query-client.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; diff --git a/frontend/packages/workflow/base/src/constants/index.ts b/frontend/packages/workflow/base/src/constants/index.ts index ee86c05e..bf5f69ad 100644 --- a/frontend/packages/workflow/base/src/constants/index.ts +++ b/frontend/packages/workflow/base/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** empty method */ export const EmptyFunction = () => { /** empty method */ diff --git a/frontend/packages/workflow/base/src/contexts/index.ts b/frontend/packages/workflow/base/src/contexts/index.ts index e3d520d8..211e5997 100644 --- a/frontend/packages/workflow/base/src/contexts/index.ts +++ b/frontend/packages/workflow/base/src/contexts/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowNodeContext } from './workflow-node-context'; diff --git a/frontend/packages/workflow/base/src/contexts/workflow-node-context.tsx b/frontend/packages/workflow/base/src/contexts/workflow-node-context.tsx index e26ca5fb..5d7aa5ab 100644 --- a/frontend/packages/workflow/base/src/contexts/workflow-node-context.tsx +++ b/frontend/packages/workflow/base/src/contexts/workflow-node-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type WorkflowNode } from '../entities'; diff --git a/frontend/packages/workflow/base/src/entities/index.ts b/frontend/packages/workflow/base/src/entities/index.ts index 4cbf01da..faf7125a 100644 --- a/frontend/packages/workflow/base/src/entities/index.ts +++ b/frontend/packages/workflow/base/src/entities/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowNode } from './workflow-node'; diff --git a/frontend/packages/workflow/base/src/entities/workflow-node.ts b/frontend/packages/workflow/base/src/entities/workflow-node.ts index b6708f02..641b9e8d 100644 --- a/frontend/packages/workflow/base/src/entities/workflow-node.ts +++ b/frontend/packages/workflow/base/src/entities/workflow-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Business layer process node class (encapsulation of node business rules) */ diff --git a/frontend/packages/workflow/base/src/global.d.ts b/frontend/packages/workflow/base/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/base/src/global.d.ts +++ b/frontend/packages/workflow/base/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/base/src/hooks/index.ts b/frontend/packages/workflow/base/src/hooks/index.ts index 6aac9616..d1312ad7 100644 --- a/frontend/packages/workflow/base/src/hooks/index.ts +++ b/frontend/packages/workflow/base/src/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useNodeTestId } from './use-node-test-id'; export { useWorkflowNode } from './use-workflow-node'; diff --git a/frontend/packages/workflow/base/src/hooks/use-node-test-id.ts b/frontend/packages/workflow/base/src/hooks/use-node-test-id.ts index 59674c35..e0b5cc1f 100644 --- a/frontend/packages/workflow/base/src/hooks/use-node-test-id.ts +++ b/frontend/packages/workflow/base/src/hooks/use-node-test-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CustomError } from '@coze-arch/bot-error'; import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/base/src/hooks/use-workflow-node.ts b/frontend/packages/workflow/base/src/hooks/use-workflow-node.ts index b7bf4e45..711783d3 100644 --- a/frontend/packages/workflow/base/src/hooks/use-workflow-node.ts +++ b/frontend/packages/workflow/base/src/hooks/use-workflow-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import type { WorkflowNode } from '../entities'; diff --git a/frontend/packages/workflow/base/src/index.ts b/frontend/packages/workflow/base/src/index.ts index 46ed922c..3a2b65df 100644 --- a/frontend/packages/workflow/base/src/index.ts +++ b/frontend/packages/workflow/base/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ export * from './types'; diff --git a/frontend/packages/workflow/base/src/services/index.ts b/frontend/packages/workflow/base/src/services/index.ts index 2d24daad..e1635847 100644 --- a/frontend/packages/workflow/base/src/services/index.ts +++ b/frontend/packages/workflow/base/src/services/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * abstract class */ diff --git a/frontend/packages/workflow/base/src/services/validation-service.ts b/frontend/packages/workflow/base/src/services/validation-service.ts index 71cb59af..9afb6a00 100644 --- a/frontend/packages/workflow/base/src/services/validation-service.ts +++ b/frontend/packages/workflow/base/src/services/validation-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type UseBoundStoreWithEqualityFn } from 'zustand/traditional'; import { type StoreApi } from 'zustand'; import { type FeedbackStatus } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/base/src/store/index.ts b/frontend/packages/workflow/base/src/store/index.ts index 8f8ca8eb..3c735f8e 100644 --- a/frontend/packages/workflow/base/src/store/index.ts +++ b/frontend/packages/workflow/base/src/store/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useWorkflowStore } from './workflow'; diff --git a/frontend/packages/workflow/base/src/store/workflow/index.ts b/frontend/packages/workflow/base/src/store/workflow/index.ts index 287fc3ee..0b6b6ee6 100644 --- a/frontend/packages/workflow/base/src/store/workflow/index.ts +++ b/frontend/packages/workflow/base/src/store/workflow/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Workflow store, currently holds the nodes and edges data of the flow import { devtools } from 'zustand/middleware'; diff --git a/frontend/packages/workflow/base/src/types/block-input-dto.ts b/frontend/packages/workflow/base/src/types/block-input-dto.ts index 04c666b7..8d147927 100644 --- a/frontend/packages/workflow/base/src/types/block-input-dto.ts +++ b/frontend/packages/workflow/base/src/types/block-input-dto.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from './view-variable-type'; import { type DTODefine, type InputValueDTO } from './dto'; diff --git a/frontend/packages/workflow/base/src/types/condition.ts b/frontend/packages/workflow/base/src/types/condition.ts index 4ec35814..afecd867 100644 --- a/frontend/packages/workflow/base/src/types/condition.ts +++ b/frontend/packages/workflow/base/src/types/condition.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ConditionLogic { OR = 1, AND = 2, diff --git a/frontend/packages/workflow/base/src/types/data-set.ts b/frontend/packages/workflow/base/src/types/data-set.ts index b12ae4d6..f9aaa642 100644 --- a/frontend/packages/workflow/base/src/types/data-set.ts +++ b/frontend/packages/workflow/base/src/types/data-set.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export import * as t from 'io-ts'; diff --git a/frontend/packages/workflow/base/src/types/database.ts b/frontend/packages/workflow/base/src/types/database.ts index aec9f0e0..22516157 100644 --- a/frontend/packages/workflow/base/src/types/database.ts +++ b/frontend/packages/workflow/base/src/types/database.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValueExpression, type ValueExpressionType } from './vo'; import { type ViewVariableType } from './view-variable-type'; import { type ValueExpressionDTO } from './dto'; diff --git a/frontend/packages/workflow/base/src/types/dto.ts b/frontend/packages/workflow/base/src/types/dto.ts index d26ce23c..18ff7129 100644 --- a/frontend/packages/workflow/base/src/types/dto.ts +++ b/frontend/packages/workflow/base/src/types/dto.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * These are the variable definitions for migration, you can ignore them. */ diff --git a/frontend/packages/workflow/base/src/types/index.ts b/frontend/packages/workflow/base/src/types/index.ts index da816f78..1e01729f 100644 --- a/frontend/packages/workflow/base/src/types/index.ts +++ b/frontend/packages/workflow/base/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ export { ViewVariableType, diff --git a/frontend/packages/workflow/base/src/types/llm.ts b/frontend/packages/workflow/base/src/types/llm.ts index 3d1b4967..05a7e536 100644 --- a/frontend/packages/workflow/base/src/types/llm.ts +++ b/frontend/packages/workflow/base/src/types/llm.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // The agreement agreed with the backend is not perceived by the workflow backend. Corresponding to the key response.data modal_list [*] .model_params [*] .default in the api/bot/get_type_list interface export enum GenerationDiversity { Customize = 'default_val', diff --git a/frontend/packages/workflow/base/src/types/node-type.ts b/frontend/packages/workflow/base/src/types/node-type.ts index 2b3dae6a..b0d55b9f 100644 --- a/frontend/packages/workflow/base/src/types/node-type.ts +++ b/frontend/packages/workflow/base/src/types/node-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Node base type definition */ diff --git a/frontend/packages/workflow/base/src/types/node.ts b/frontend/packages/workflow/base/src/types/node.ts index c90bc4a5..68c54bc3 100644 --- a/frontend/packages/workflow/base/src/types/node.ts +++ b/frontend/packages/workflow/base/src/types/node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FlowNodeBaseType } from '@flowgram-adapter/free-layout-editor'; import type { WorkflowEdgeJSON, diff --git a/frontend/packages/workflow/base/src/types/param-definition.ts b/frontend/packages/workflow/base/src/types/param-definition.ts index f0ffea62..f2496054 100644 --- a/frontend/packages/workflow/base/src/types/param-definition.ts +++ b/frontend/packages/workflow/base/src/types/param-definition.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableType } from './view-variable-type'; /** diff --git a/frontend/packages/workflow/base/src/types/registry.ts b/frontend/packages/workflow/base/src/types/registry.ts index 072a4afa..de855778 100644 --- a/frontend/packages/workflow/base/src/types/registry.ts +++ b/frontend/packages/workflow/base/src/types/registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/base/src/types/utils.ts b/frontend/packages/workflow/base/src/types/utils.ts index 795fa2ec..ba7a8735 100644 --- a/frontend/packages/workflow/base/src/types/utils.ts +++ b/frontend/packages/workflow/base/src/types/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type ValueOf = K extends keyof T ? T[K] : never; import { type CSSProperties } from 'react'; diff --git a/frontend/packages/workflow/base/src/types/view-variable-tree.ts b/frontend/packages/workflow/base/src/types/view-variable-tree.ts index 05e25af7..ca5da5bf 100644 --- a/frontend/packages/workflow/base/src/types/view-variable-tree.ts +++ b/frontend/packages/workflow/base/src/types/view-variable-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableType } from './view-variable-type'; export interface ViewVariableTreeNode { diff --git a/frontend/packages/workflow/base/src/types/view-variable-type.ts b/frontend/packages/workflow/base/src/types/view-variable-type.ts index 68798389..fbbe0413 100644 --- a/frontend/packages/workflow/base/src/types/view-variable-type.ts +++ b/frontend/packages/workflow/base/src/types/view-variable-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; /** diff --git a/frontend/packages/workflow/base/src/types/vo.ts b/frontend/packages/workflow/base/src/types/vo.ts index 3a8c6d8b..1629259d 100644 --- a/frontend/packages/workflow/base/src/types/vo.ts +++ b/frontend/packages/workflow/base/src/types/vo.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This file defines the data consumed by the front end and is represented by VO (view object) */ diff --git a/frontend/packages/workflow/base/src/types/workflow.ts b/frontend/packages/workflow/base/src/types/workflow.ts index 954e56cf..3e6866a7 100644 --- a/frontend/packages/workflow/base/src/types/workflow.ts +++ b/frontend/packages/workflow/base/src/types/workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Workflow, type WorkFlowDevStatus, diff --git a/frontend/packages/workflow/base/src/utils/concat-test-id.ts b/frontend/packages/workflow/base/src/utils/concat-test-id.ts index 6124ce94..392cfc8b 100644 --- a/frontend/packages/workflow/base/src/utils/concat-test-id.ts +++ b/frontend/packages/workflow/base/src/utils/concat-test-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { NODE_TEST_ID_PREFIX } from '../constants'; diff --git a/frontend/packages/workflow/base/src/utils/form-helpers.ts b/frontend/packages/workflow/base/src/utils/form-helpers.ts index 3fa42d28..62a2e298 100644 --- a/frontend/packages/workflow/base/src/utils/form-helpers.ts +++ b/frontend/packages/workflow/base/src/utils/form-helpers.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { isFormV2 } from '@flowgram-adapter/free-layout-editor'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/base/src/utils/get-file-accept.ts b/frontend/packages/workflow/base/src/utils/get-file-accept.ts index 7f727ce3..31febd6e 100644 --- a/frontend/packages/workflow/base/src/utils/get-file-accept.ts +++ b/frontend/packages/workflow/base/src/utils/get-file-accept.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '../types/view-variable-type'; export const ACCEPT_MAP = { diff --git a/frontend/packages/workflow/base/src/utils/index.ts b/frontend/packages/workflow/base/src/utils/index.ts index 6ad71c03..7fe5fa0b 100644 --- a/frontend/packages/workflow/base/src/utils/index.ts +++ b/frontend/packages/workflow/base/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SchemaExtractorParserName, SchemaExtractor, diff --git a/frontend/packages/workflow/base/src/utils/is-general-workflow.ts b/frontend/packages/workflow/base/src/utils/is-general-workflow.ts index 20537f8f..eec1dc9c 100644 --- a/frontend/packages/workflow/base/src/utils/is-general-workflow.ts +++ b/frontend/packages/workflow/base/src/utils/is-general-workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkflowMode } from '@coze-arch/bot-api/workflow_api'; /** diff --git a/frontend/packages/workflow/base/src/utils/node-result-extractor/index.ts b/frontend/packages/workflow/base/src/utils/node-result-extractor/index.ts index 90221e72..85224ecd 100644 --- a/frontend/packages/workflow/base/src/utils/node-result-extractor/index.ts +++ b/frontend/packages/workflow/base/src/utils/node-result-extractor/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowJSON } from '../../types'; import { type NodeResult } from '../../api'; import { diff --git a/frontend/packages/workflow/base/src/utils/node-result-extractor/parsers/default-parser.ts b/frontend/packages/workflow/base/src/utils/node-result-extractor/parsers/default-parser.ts index fd5a325b..f8670606 100644 --- a/frontend/packages/workflow/base/src/utils/node-result-extractor/parsers/default-parser.ts +++ b/frontend/packages/workflow/base/src/utils/node-result-extractor/parsers/default-parser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable complexity */ import { isString } from 'lodash-es'; @@ -95,8 +95,8 @@ const parseData = ( const rawOutputData = textHasRawout ? rawOutput?.toString?.() : rawOutput - ? typeSafeJSONParse(rawOutput) || rawOutput?.toString?.() - : undefined; + ? typeSafeJSONParse(rawOutput) || rawOutput?.toString?.() + : undefined; /** Code, Llm nodes need to display raw */ const hasRawOutput = @@ -121,8 +121,8 @@ const parseData = ( const outputTitle = inputAsOutput ? '输出变量' : rawOutputData - ? '最终输出' - : '输出'; + ? '最终输出' + : '输出'; outputData && dataList.push({ title: outputTitle, diff --git a/frontend/packages/workflow/base/src/utils/node-result-extractor/parsers/index.ts b/frontend/packages/workflow/base/src/utils/node-result-extractor/parsers/index.ts index 574548d4..a1304b13 100644 --- a/frontend/packages/workflow/base/src/utils/node-result-extractor/parsers/index.ts +++ b/frontend/packages/workflow/base/src/utils/node-result-extractor/parsers/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { defaultParser } from './default-parser'; diff --git a/frontend/packages/workflow/base/src/utils/node-result-extractor/type.ts b/frontend/packages/workflow/base/src/utils/node-result-extractor/type.ts index 52ea1e1e..201d4334 100644 --- a/frontend/packages/workflow/base/src/utils/node-result-extractor/type.ts +++ b/frontend/packages/workflow/base/src/utils/node-result-extractor/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type StandardNodeType, type WorkflowJSON } from '../../types'; import { type NodeResult } from '../../api'; diff --git a/frontend/packages/workflow/base/src/utils/output-image-parser.ts b/frontend/packages/workflow/base/src/utils/output-image-parser.ts index df21b060..11346c65 100644 --- a/frontend/packages/workflow/base/src/utils/output-image-parser.ts +++ b/frontend/packages/workflow/base/src/utils/output-image-parser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { flatten, get } from 'lodash-es'; import { type WorkflowNodeJSON } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/index.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/index.test.ts index 8cad3b22..fece578d 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/index.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { StandardNodeType, type WorkflowJSON } from '../../../types'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-dataset.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-dataset.test.ts index 6db020cc..b424a6fe 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-dataset.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-dataset.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { SchemaExtractorParserName } from '../constant'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-default.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-default.test.ts index 42b97ce6..ffaf3442 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-default.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-default.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { StandardNodeType } from '../../../types'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-input-parameter.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-input-parameter.test.ts index f8324cc8..c4af3a49 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-input-parameter.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-input-parameter.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { SchemaExtractorParserName } from '../constant'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-intents.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-intents.test.ts index 416f0792..7143f876 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-intents.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-intents.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { SchemaExtractorParserName } from '../constant'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-json-string.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-json-string.test.ts index 8aabab39..66ef7d3b 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-json-string.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-json-string.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { StandardNodeType } from '../../../types'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-outputs.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-outputs.test.ts index 2a56c536..56eec4ce 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-outputs.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-outputs.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { SchemaExtractorParserName } from '../constant'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-variable-assign.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-variable-assign.test.ts index b11dd3de..519c9add 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-variable-assign.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/parser-variable-assign.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { SchemaExtractorParserName } from '../constant'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/imageflow-config.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/imageflow-config.ts index 2f75d1a3..05fbdced 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/imageflow-config.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/imageflow-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { type SchemaExtractorConfig } from '../../type'; import { SchemaExtractorParserName } from '../../constant'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/imageflow-schema.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/imageflow-schema.ts index 03c5da10..3bbc277b 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/imageflow-schema.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/imageflow-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const imageflowSchemaJSON = { nodes: [ { diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/workflow-config.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/workflow-config.ts index 1e1ea43e..5ed1ce90 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/workflow-config.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/workflow-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaExtractorConfig } from '../../type'; import { SchemaExtractorParserName } from '../../constant'; import { StandardNodeType } from '../../../../types'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/workflow-schema.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/workflow-schema.ts index 3b0af95a..40e71829 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/workflow-schema.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/resource/workflow-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const workflowSchemaJSON = { nodes: [ { diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/schema-imageflow.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/schema-imageflow.test.ts index 605a1a29..a5af6522 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/schema-imageflow.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/schema-imageflow.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { SchemaExtractor } from '..'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/schema-workflow.test.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/schema-workflow.test.ts index 21da8a3e..e7bf8148 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/schema-workflow.test.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/__tests__/schema-workflow.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { expect, it } from 'vitest'; import { SchemaExtractor } from '..'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/constant.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/constant.ts index 9fc7d780..46bc2203 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/constant.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum SchemaExtractorParserName { DEFAULT = 'default', INPUT_PARAMETERS = 'inputParameters', diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/index.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/index.ts index d154c6bb..9b47d1bf 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/index.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, cloneDeep } from 'lodash-es'; import type { WorkflowEdgeJSON } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/concat-result.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/concat-result.ts index 4cef708b..dd9186c4 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/concat-result.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/concat-result.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type SchemaExtractorConcatResultParser } from '../type'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/custom-array-concat-char.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/custom-array-concat-char.ts index cdc690df..8e28441f 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/custom-array-concat-char.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/custom-array-concat-char.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type SchemaExtractorArrayConcatCharParser } from '../type'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/custom-split-char.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/custom-split-char.ts index d4111ef5..75417b13 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/custom-split-char.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/custom-split-char.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type SchemaExtractorSplitCharParser } from '../type'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/dataset-param.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/dataset-param.ts index fb9983c9..c41bc2d5 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/dataset-param.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/dataset-param.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type SchemaExtractorDatasetParamParser } from '../type'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/db-conditions.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/db-conditions.ts index 69f2b979..b57199a0 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/db-conditions.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/db-conditions.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaExtractorDbConditionsParser } from '../type'; import { inputParametersParser } from './input-parameters'; export const dbConditionsParser: SchemaExtractorDbConditionsParser = diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/db-fields.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/db-fields.ts index fbe80c86..e3d9632e 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/db-fields.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/db-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { parseExpression } from '../utils'; import { type SchemaExtractorDbFieldsParser } from '../type'; export const dbFieldsParser: SchemaExtractorDbFieldsParser = dbFields => diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/expression-parser.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/expression-parser.ts index 0093f678..c31675c3 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/expression-parser.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/expression-parser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { parseExpression } from '../utils'; import { type SchemaExtractorExpressionParser } from '../type'; import type { ValueExpressionDTO } from '../../../types'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/image-reference.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/image-reference.ts index c8a3a427..9c3097b7 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/image-reference.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/image-reference.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { SchemaExtractorImageReferenceParser } from '../type'; import { inputParametersParser } from './input-parameters'; export const imageReferenceParser: SchemaExtractorImageReferenceParser = diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/index.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/index.ts index 59448265..729164d8 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/index.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaExtractorParser } from '../type'; import { SchemaExtractorParserName } from '../constant'; import { variableMergeGroupsParser } from './variable-merge-groups-parser'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/input-parameters.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/input-parameters.ts index 1aa77efc..424c2b14 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/input-parameters.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/input-parameters.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { parseExpression } from '../utils'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/intents.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/intents.ts index 28635875..72474ee6 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/intents.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/intents.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaExtractorIntentsParamParser } from '../type'; export const intentsParser: SchemaExtractorIntentsParamParser = intents => ({ diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/json-string-parser.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/json-string-parser.ts index fcd91514..d2fa8ae1 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/json-string-parser.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/json-string-parser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaExtractorJSONStringParser } from '../type'; export const jsonStringParser: SchemaExtractorJSONStringParser = ( diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/llm-param.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/llm-param.ts index c11a2770..f806564c 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/llm-param.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/llm-param.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type SchemaExtractorLLMParamParser } from '../type'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/output.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/output.ts index 00b26b08..db1af99c 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/output.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/output.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isWorkflowImageTypeURL } from '../utils'; import { type SchemaExtractorOutputsParser } from '../type'; import { AssistTypeDTO, VariableTypeDTO } from '../../../types/dto'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/ref-input-parameters.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/ref-input-parameters.ts index e5a5f1f8..06d86722 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/ref-input-parameters.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/ref-input-parameters.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isPlainObject } from 'lodash-es'; import { isWorkflowImageTypeURL } from '../utils'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/variable-assign.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/variable-assign.ts index 2b4ca24d..67cf2814 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/variable-assign.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/variable-assign.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaExtractorVariableAssignParser } from '../type'; import { type ValueExpressionDTO, type DTODefine } from '../../../types'; diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/variable-merge-groups-parser.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/variable-merge-groups-parser.ts index bf991e75..5ba90f95 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/variable-merge-groups-parser.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/parsers/variable-merge-groups-parser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SchemaExtractorVariableMergeGroupsParser } from '../type'; import { expressionParser } from './expression-parser'; export const variableMergeGroupsParser: SchemaExtractorVariableMergeGroupsParser = diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/type.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/type.ts index ef01a898..efa4a606 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/type.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { DatasetParams } from '../../types/data-set'; import type { InputValueDTO, diff --git a/frontend/packages/workflow/base/src/utils/schema-extractor/utils.ts b/frontend/packages/workflow/base/src/utils/schema-extractor/utils.ts index bf934ae8..364b0cce 100644 --- a/frontend/packages/workflow/base/src/utils/schema-extractor/utils.ts +++ b/frontend/packages/workflow/base/src/utils/schema-extractor/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type ValueExpressionDTO } from '../../types'; diff --git a/frontend/packages/workflow/base/src/utils/slardar-reporter.ts b/frontend/packages/workflow/base/src/utils/slardar-reporter.ts index 85275285..e62c3981 100644 --- a/frontend/packages/workflow/base/src/utils/slardar-reporter.ts +++ b/frontend/packages/workflow/base/src/utils/slardar-reporter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { reporter as infraReporter } from '@coze-arch/logger'; const namespace = 'workflow'; diff --git a/frontend/packages/workflow/base/src/utils/start-params.ts b/frontend/packages/workflow/base/src/utils/start-params.ts index 9c41f100..97947b37 100644 --- a/frontend/packages/workflow/base/src/utils/start-params.ts +++ b/frontend/packages/workflow/base/src/utils/start-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BOT_USER_INPUT, CONVERSATION_NAME, USER_INPUT } from '../constants'; /** * Whether to preset the input parameters of the start node diff --git a/frontend/packages/workflow/base/src/utils/traverse.ts b/frontend/packages/workflow/base/src/utils/traverse.ts index 2c8e0234..ed4b3e0b 100644 --- a/frontend/packages/workflow/base/src/utils/traverse.ts +++ b/frontend/packages/workflow/base/src/utils/traverse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable security/detect-object-injection -- no-need */ /* eslint-disable @typescript-eslint/no-namespace -- no-need */ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- no-need diff --git a/frontend/packages/workflow/base/vitest.config.ts b/frontend/packages/workflow/base/vitest.config.ts index c4006184..a9df228c 100644 --- a/frontend/packages/workflow/base/vitest.config.ts +++ b/frontend/packages/workflow/base/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/components/src/expression-editor-next/__tests__/popover.test.tsx b/frontend/packages/workflow/components/src/expression-editor-next/__tests__/popover.test.tsx index 81596cb3..41fe48a3 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/__tests__/popover.test.tsx +++ b/frontend/packages/workflow/components/src/expression-editor-next/__tests__/popover.test.tsx @@ -13,38 +13,38 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { render } from '@testing-library/react' -import { Popover } from '../popover' + +import { render } from '@testing-library/react'; +import { Popover } from '../popover'; vi.mock('../popover/hooks/use-tree', () => { return { useTreeRefresh() {}, useTreeSearch() {}, - } + }; }); vi.mock('@coze-arch/bot-semi', async () => { - const { forwardRef } = await vi.importActual('react') as any; + const { forwardRef } = (await vi.importActual('react')) as any; return { Popover({ content }) { - return
{content}
+ return
{content}
; }, Tree: forwardRef((_, ref) => { - return
- }) - } -}) + return
; + }), + }; +}); vi.mock('@coze-editor/editor', () => { return { mixLanguages() {}, astDecorator: { whole: { - of() {} + of() {}, }, fromCursor: { - of() {} + of() {}, }, }, }; @@ -73,11 +73,11 @@ vi.mock('@coze-editor/editor/react', () => { from: 0, to: 0, anchor: 0, - head: 0 - } - } - } - } + head: 0, + }, + }, + }, + }, }; }, }; @@ -85,7 +85,7 @@ vi.mock('@coze-editor/editor/react', () => { vi.mock('@coze-editor/editor/preset-expression', () => { return { - default: [] + default: [], }; }); @@ -97,9 +97,9 @@ describe('popover', () => { }); it('Should render props.className correctly', () => { - const { container } = render() + const { container } = render(); - const elements = container.querySelectorAll('.foo') - expect(elements.length).toBe(1) - }) -}) + const elements = container.querySelectorAll('.foo'); + expect(elements.length).toBe(1); + }); +}); diff --git a/frontend/packages/workflow/components/src/expression-editor-next/__tests__/renderer.test.tsx b/frontend/packages/workflow/components/src/expression-editor-next/__tests__/renderer.test.tsx index 293002d3..deccbe1a 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/__tests__/renderer.test.tsx +++ b/frontend/packages/workflow/components/src/expression-editor-next/__tests__/renderer.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { render } from '@testing-library/react'; import { Renderer } from '../renderer'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/index.ts b/frontend/packages/workflow/components/src/expression-editor-next/index.ts index 71fa214c..414bfee9 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EditorProvider } from '@coze-editor/editor/react'; import { Renderer } from './renderer'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/index.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/index.ts index b6185534..ab8869dd 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useInterpolationContent } from './use-interpolation-content'; export { useEmptyContent } from './use-empty-content'; export { usePrunedVariableTree } from './use-pruned-variable-tree'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/types.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/types.ts index df0118d0..00b1256a 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/types.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface InterpolationContent { from: number; to: number; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-empty-content.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-empty-content.ts index 967c54d7..9a7ffc8f 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-empty-content.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-empty-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-filtered-variable-tree.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-filtered-variable-tree.ts index 421de110..118bacfa 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-filtered-variable-tree.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-filtered-variable-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type ExpressionEditorTreeNode } from '@/expression-editor'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-focused.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-focused.ts index 788dc6e1..0242d2b6 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-focused.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-focused.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; function useFocused(editor) { diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-interpolation-content.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-interpolation-content.ts index 5172fae5..43737d59 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-interpolation-content.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-interpolation-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-keyboard.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-keyboard.ts index 837a2744..0f2acecc 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-keyboard.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-keyboard.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useLatest } from '../../shared'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-options-operations.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-options-operations.ts index 4be72b82..9edf4b2e 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-options-operations.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-options-operations.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-pruned-variable-tree.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-pruned-variable-tree.ts index 6764835b..605ed7ad 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-pruned-variable-tree.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-pruned-variable-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-selected-value.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-selected-value.ts index 1c4b27bb..7fd1f0f4 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-selected-value.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-selected-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { ExpressionEditorParserBuiltin } from '@/expression-editor/parser'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-selection.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-selection.ts index 11e8fe47..4ce4a8aa 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-selection.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-selection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-tree.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-tree.ts index bd18b627..2e236ed4 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-tree.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/hooks/use-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, type MutableRefObject } from 'react'; import { type Tree } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/index.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/index.ts index 734a4ac3..516abc29 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Popover } from './popover'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/popover.tsx b/frontend/packages/workflow/components/src/expression-editor-next/popover/popover.tsx index b2b6145b..184e70d7 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/popover.tsx +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, forwardRef, diff --git a/frontend/packages/workflow/components/src/expression-editor-next/popover/shared.ts b/frontend/packages/workflow/components/src/expression-editor-next/popover/shared.ts index e7a852c2..4a80fbf3 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/popover/shared.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/popover/shared.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorAPI as ExpressionEditorAPI } from '@coze-editor/editor/preset-expression'; import { ExpressionEditorParserBuiltin } from '@/expression-editor/parser'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/renderer/hooks.ts b/frontend/packages/workflow/components/src/expression-editor-next/renderer/hooks.ts index 1a07a667..11650ab5 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/renderer/hooks.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/renderer/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useMemo } from 'react'; import { type EditorAPI } from '@coze-editor/editor/preset-expression'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/renderer/index.ts b/frontend/packages/workflow/components/src/expression-editor-next/renderer/index.ts index 0207a8ca..9d7a764b 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/renderer/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/renderer/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Renderer } from './renderer'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/renderer/renderer.tsx b/frontend/packages/workflow/components/src/expression-editor-next/renderer/renderer.tsx index ed5fbb3d..9541ae99 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/renderer/renderer.tsx +++ b/frontend/packages/workflow/components/src/expression-editor-next/renderer/renderer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useMemo, useRef } from 'react'; import { Renderer as SDKRenderer } from '@coze-editor/editor/react'; diff --git a/frontend/packages/workflow/components/src/expression-editor-next/renderer/validate.ts b/frontend/packages/workflow/components/src/expression-editor-next/renderer/validate.ts index e9396492..a45056d4 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/renderer/validate.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/renderer/validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ExpressionEditorParserBuiltin } from '@/expression-editor/parser'; import { ExpressionEditorSegmentType, diff --git a/frontend/packages/workflow/components/src/expression-editor-next/shared.ts b/frontend/packages/workflow/components/src/expression-editor-next/shared.ts index fc39dfe0..59f5d9e4 100644 --- a/frontend/packages/workflow/components/src/expression-editor-next/shared.ts +++ b/frontend/packages/workflow/components/src/expression-editor-next/shared.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useRef, diff --git a/frontend/packages/workflow/components/src/expression-editor/components/counter/index.tsx b/frontend/packages/workflow/components/src/expression-editor/components/counter/index.tsx index 85dd5254..58764d36 100644 --- a/frontend/packages/workflow/components/src/expression-editor/components/counter/index.tsx +++ b/frontend/packages/workflow/components/src/expression-editor/components/counter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/components/src/expression-editor/components/index.ts b/frontend/packages/workflow/components/src/expression-editor/components/index.ts index 3b35ff0b..6effddd1 100644 --- a/frontend/packages/workflow/components/src/expression-editor/components/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ExpressionEditorCounter } from './counter'; export { ExpressionEditorLeaf } from './leaf'; export { ExpressionEditorRender } from './render'; diff --git a/frontend/packages/workflow/components/src/expression-editor/components/leaf/index.tsx b/frontend/packages/workflow/components/src/expression-editor/components/leaf/index.tsx index c0a58020..9c10dc0f 100644 --- a/frontend/packages/workflow/components/src/expression-editor/components/leaf/index.tsx +++ b/frontend/packages/workflow/components/src/expression-editor/components/leaf/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties } from 'react'; import type { RenderLeafProps } from 'slate-react'; diff --git a/frontend/packages/workflow/components/src/expression-editor/components/render/index.tsx b/frontend/packages/workflow/components/src/expression-editor/components/render/index.tsx index a077d247..2c62060e 100644 --- a/frontend/packages/workflow/components/src/expression-editor/components/render/index.tsx +++ b/frontend/packages/workflow/components/src/expression-editor/components/render/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CompositionEventHandler } from 'react'; import { Slate, Editable } from 'slate-react'; diff --git a/frontend/packages/workflow/components/src/expression-editor/components/suggestion/hooks.ts b/frontend/packages/workflow/components/src/expression-editor/components/suggestion/hooks.ts index a1b1e311..12f41cec 100644 --- a/frontend/packages/workflow/components/src/expression-editor/components/suggestion/hooks.ts +++ b/frontend/packages/workflow/components/src/expression-editor/components/suggestion/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable @typescript-eslint/no-magic-numbers */ /* eslint-disable max-lines */ diff --git a/frontend/packages/workflow/components/src/expression-editor/components/suggestion/index.tsx b/frontend/packages/workflow/components/src/expression-editor/components/suggestion/index.tsx index 7bc8a389..c3def345 100644 --- a/frontend/packages/workflow/components/src/expression-editor/components/suggestion/index.tsx +++ b/frontend/packages/workflow/components/src/expression-editor/components/suggestion/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef, type RefObject } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/components/src/expression-editor/components/suggestion/state.ts b/frontend/packages/workflow/components/src/expression-editor/components/suggestion/state.ts index 446a1e95..3b4d1585 100644 --- a/frontend/packages/workflow/components/src/expression-editor/components/suggestion/state.ts +++ b/frontend/packages/workflow/components/src/expression-editor/components/suggestion/state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { useReducer } from 'react'; diff --git a/frontend/packages/workflow/components/src/expression-editor/components/suggestion/type.ts b/frontend/packages/workflow/components/src/expression-editor/components/suggestion/type.ts index e0c48669..02e43074 100644 --- a/frontend/packages/workflow/components/src/expression-editor/components/suggestion/type.ts +++ b/frontend/packages/workflow/components/src/expression-editor/components/suggestion/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Dispatch, RefObject } from 'react'; import type { Tree } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/components/src/expression-editor/constant.ts b/frontend/packages/workflow/components/src/expression-editor/constant.ts index 30185293..36aa4610 100644 --- a/frontend/packages/workflow/components/src/expression-editor/constant.ts +++ b/frontend/packages/workflow/components/src/expression-editor/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum ExpressionEditorEvent { Change = 'change', Select = 'select', diff --git a/frontend/packages/workflow/components/src/expression-editor/index.ts b/frontend/packages/workflow/components/src/expression-editor/index.ts index 02d03e4b..a547533f 100644 --- a/frontend/packages/workflow/components/src/expression-editor/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ExpressionEditorEvent, ExpressionEditorToken, diff --git a/frontend/packages/workflow/components/src/expression-editor/model/index.ts b/frontend/packages/workflow/components/src/expression-editor/model/index.ts index 5bebb60b..0c61e0ef 100644 --- a/frontend/packages/workflow/components/src/expression-editor/model/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor/model/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CompositionEventHandler, KeyboardEventHandler } from 'react'; import { type ReactEditor, withReact } from 'slate-react'; diff --git a/frontend/packages/workflow/components/src/expression-editor/parser/index.test.ts b/frontend/packages/workflow/components/src/expression-editor/parser/index.test.ts index 57636de7..af712fbb 100644 --- a/frontend/packages/workflow/components/src/expression-editor/parser/index.test.ts +++ b/frontend/packages/workflow/components/src/expression-editor/parser/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; import { type ExpressionEditorParseData } from '../type'; import { ExpressionEditorSegmentType } from '../constant'; diff --git a/frontend/packages/workflow/components/src/expression-editor/parser/index.ts b/frontend/packages/workflow/components/src/expression-editor/parser/index.ts index 716a214e..28a927d9 100644 --- a/frontend/packages/workflow/components/src/expression-editor/parser/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor/parser/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ import { Node } from 'slate'; diff --git a/frontend/packages/workflow/components/src/expression-editor/tree-helper/index.test.ts b/frontend/packages/workflow/components/src/expression-editor/tree-helper/index.test.ts index 0c8ccd89..cc9ad715 100644 --- a/frontend/packages/workflow/components/src/expression-editor/tree-helper/index.test.ts +++ b/frontend/packages/workflow/components/src/expression-editor/tree-helper/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/consistent-type-assertions */ import 'reflect-metadata'; diff --git a/frontend/packages/workflow/components/src/expression-editor/tree-helper/index.ts b/frontend/packages/workflow/components/src/expression-editor/tree-helper/index.ts index 9edfa5f1..71b9be40 100644 --- a/frontend/packages/workflow/components/src/expression-editor/tree-helper/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor/tree-helper/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable @typescript-eslint/no-magic-numbers */ import { ViewVariableType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/components/src/expression-editor/type.ts b/frontend/packages/workflow/components/src/expression-editor/type.ts index a177e0f2..0c347370 100644 --- a/frontend/packages/workflow/components/src/expression-editor/type.ts +++ b/frontend/packages/workflow/components/src/expression-editor/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CompositionEventHandler } from 'react'; import type { BaseElement, BaseRange } from 'slate'; diff --git a/frontend/packages/workflow/components/src/expression-editor/validator/index.test.ts b/frontend/packages/workflow/components/src/expression-editor/validator/index.test.ts index e68b8733..2a1422a7 100644 --- a/frontend/packages/workflow/components/src/expression-editor/validator/index.test.ts +++ b/frontend/packages/workflow/components/src/expression-editor/validator/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/consistent-type-assertions */ import 'reflect-metadata'; diff --git a/frontend/packages/workflow/components/src/expression-editor/validator/index.ts b/frontend/packages/workflow/components/src/expression-editor/validator/index.ts index 6f44b2c7..e0f57928 100644 --- a/frontend/packages/workflow/components/src/expression-editor/validator/index.ts +++ b/frontend/packages/workflow/components/src/expression-editor/validator/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable no-cond-assign */ import { Node } from 'slate'; diff --git a/frontend/packages/workflow/components/src/flow-shortcuts-help/constants.ts b/frontend/packages/workflow/components/src/flow-shortcuts-help/constants.ts index 1895eaa4..23c4de0b 100644 --- a/frontend/packages/workflow/components/src/flow-shortcuts-help/constants.ts +++ b/frontend/packages/workflow/components/src/flow-shortcuts-help/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const isMacOS = /(Macintosh|MacIntel|MacPPC|Mac68K|iPad)/.test( navigator.userAgent, ); diff --git a/frontend/packages/workflow/components/src/flow-shortcuts-help/index.tsx b/frontend/packages/workflow/components/src/flow-shortcuts-help/index.tsx index 3676bdce..7e9e63c8 100644 --- a/frontend/packages/workflow/components/src/flow-shortcuts-help/index.tsx +++ b/frontend/packages/workflow/components/src/flow-shortcuts-help/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/components/src/hooks/use-open-workflow-detail.ts b/frontend/packages/workflow/components/src/hooks/use-open-workflow-detail.ts index e7ea8f01..c2408ec4 100644 --- a/frontend/packages/workflow/components/src/hooks/use-open-workflow-detail.ts +++ b/frontend/packages/workflow/components/src/hooks/use-open-workflow-detail.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { DynamicParams } from '@coze-arch/bot-typings/teamspace'; import { useParams } from 'react-router-dom'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-list.ts b/frontend/packages/workflow/components/src/hooks/use-workflow-list.ts index 4a543e23..b3fc1685 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-list.ts +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ /* eslint-disable @coze-arch/max-line-per-function */ diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-modal.tsx b/frontend/packages/workflow/components/src/hooks/use-workflow-modal.tsx index fb1cdc3c..d77db241 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-modal.tsx +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { useBoolean } from 'ahooks'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/index.tsx b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/index.tsx index 88f43b4a..da65b12b 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/index.tsx +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowResourceMenuActions } from './use-workflow-resource-menu-actions'; import { useWorkflowResourceClick } from './use-workflow-resource-click'; import { useCreateWorkflowModal } from './use-create-workflow-modal'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/type.ts b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/type.ts index 4ac04864..2ae9d47f 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/type.ts +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-chatflow-switch.ts b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-chatflow-switch.ts index 1703c386..25173486 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-chatflow-switch.ts +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-chatflow-switch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { workflowApi } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-copy-action.ts b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-copy-action.ts index ff931b3d..dce25f74 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-copy-action.ts +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-copy-action.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { workflowApi } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-create-workflow-modal.tsx b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-create-workflow-modal.tsx index 0312c3ce..0af87f27 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-create-workflow-modal.tsx +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-create-workflow-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { useBoolean } from 'ahooks'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-delete-action.tsx b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-delete-action.tsx index 594d5e85..50fb84ce 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-delete-action.tsx +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-delete-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { DeleteAction, DeleteType, workflowApi } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-publish-action.tsx b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-publish-action.tsx index 812639e4..5dd5c921 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-publish-action.tsx +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-publish-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { WorkflowMode } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-workflow-publish-entry.ts b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-workflow-publish-entry.ts index 0b2287e2..95eb500c 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-workflow-publish-entry.ts +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-workflow-publish-entry.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useWorkflowPublishEntry } from '@coze-workflow/resources-adapter'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-workflow-resource-click.ts b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-workflow-resource-click.ts index 155cd81c..7906b96f 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-workflow-resource-click.ts +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/use-workflow-resource-click.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ResourceInfo } from '@coze-arch/bot-api/plugin_develop'; import { useNavigate } from 'react-router-dom'; diff --git a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/utils.ts b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/utils.ts index 3a44430e..6d0164e4 100644 --- a/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/utils.ts +++ b/frontend/packages/workflow/components/src/hooks/use-workflow-resource-action/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ProductDraftStatus, SchemaType, diff --git a/frontend/packages/workflow/components/src/image-uploader/image-uploader.ts b/frontend/packages/workflow/components/src/image-uploader/image-uploader.ts index a47f38f9..0eea843c 100644 --- a/frontend/packages/workflow/components/src/image-uploader/image-uploader.ts +++ b/frontend/packages/workflow/components/src/image-uploader/image-uploader.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { workflowApi } from '@coze-workflow/base/api'; import { REPORT_EVENTS } from '@coze-arch/report-events'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/components/src/image-uploader/index.tsx b/frontend/packages/workflow/components/src/image-uploader/index.tsx index 5f731034..a9c7b252 100644 --- a/frontend/packages/workflow/components/src/image-uploader/index.tsx +++ b/frontend/packages/workflow/components/src/image-uploader/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { type CSSProperties, @@ -34,13 +34,7 @@ import { IconCozImageBroken, } from '@coze-arch/coze-design/icons'; import { type SelectProps } from '@coze-arch/bot-semi/Select'; -import { - Image, - ImagePreview, - Popover, - Space, - Spin, -} from '@coze-arch/bot-semi'; +import { Image, ImagePreview, Popover, Space, Spin } from '@coze-arch/bot-semi'; import useImageUploader from './use-image-uploader'; import { type ImageRule, ImgUploadErrNo } from './image-uploader'; diff --git a/frontend/packages/workflow/components/src/index.ts b/frontend/packages/workflow/components/src/index.ts index 9dec9059..870e9eda 100644 --- a/frontend/packages/workflow/components/src/index.ts +++ b/frontend/packages/workflow/components/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ export { CreateWorkflowModal } from './workflow-edit'; export { FlowShortcutsHelp } from './flow-shortcuts-help'; diff --git a/frontend/packages/workflow/components/src/size-select/index.tsx b/frontend/packages/workflow/components/src/size-select/index.tsx index f3e90d80..b248fb36 100644 --- a/frontend/packages/workflow/components/src/size-select/index.tsx +++ b/frontend/packages/workflow/components/src/size-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; @@ -121,7 +121,9 @@ export const SizeSelect: FC = props => { onChange(wh); }} disabled={readonly} - className={`${selectClassName} ${layoutStyle === 'horizontal' ? '' : 'w-full'}`} + className={`${selectClassName} ${ + layoutStyle === 'horizontal' ? '' : 'w-full' + }`} value={sizeValue} optionList={sizeOptionList} size="small" diff --git a/frontend/packages/workflow/components/src/text/index.tsx b/frontend/packages/workflow/components/src/text/index.tsx index 3e02843f..2b227b1c 100644 --- a/frontend/packages/workflow/components/src/text/index.tsx +++ b/frontend/packages/workflow/components/src/text/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Text component, beyond automatic... and show tooltip */ import { type FC } from 'react'; diff --git a/frontend/packages/workflow/components/src/types/index.ts b/frontend/packages/workflow/components/src/types/index.ts index 1a810ab3..a05b87f8 100644 --- a/frontend/packages/workflow/components/src/types/index.ts +++ b/frontend/packages/workflow/components/src/types/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export export * from './workflow-list'; diff --git a/frontend/packages/workflow/components/src/types/workflow-list.ts b/frontend/packages/workflow/components/src/types/workflow-list.ts index ce357398..83c36f9e 100644 --- a/frontend/packages/workflow/components/src/types/workflow-list.ts +++ b/frontend/packages/workflow/components/src/types/workflow-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ResourceActionAuth, type Workflow, diff --git a/frontend/packages/workflow/components/src/typings.d.ts b/frontend/packages/workflow/components/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/components/src/typings.d.ts +++ b/frontend/packages/workflow/components/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/components/src/utils/cronjob-translator.ts b/frontend/packages/workflow/components/src/utils/cronjob-translator.ts index a561eec9..b7da6ff5 100644 --- a/frontend/packages/workflow/components/src/utils/cronjob-translator.ts +++ b/frontend/packages/workflow/components/src/utils/cronjob-translator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cronstrue from 'cronstrue/i18n'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/components/src/utils/index.ts b/frontend/packages/workflow/components/src/utils/index.ts index ae88fb56..36bd7abc 100644 --- a/frontend/packages/workflow/components/src/utils/index.ts +++ b/frontend/packages/workflow/components/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ export * from './utils'; diff --git a/frontend/packages/workflow/components/src/utils/utils.ts b/frontend/packages/workflow/components/src/utils/utils.ts index 40d7dea5..cede7fb5 100644 --- a/frontend/packages/workflow/components/src/utils/utils.ts +++ b/frontend/packages/workflow/components/src/utils/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import dayjs from 'dayjs'; let getIsIPadCache: boolean | undefined; diff --git a/frontend/packages/workflow/components/src/voice-select/index.tsx b/frontend/packages/workflow/components/src/voice-select/index.tsx index 892840f4..56cd3115 100644 --- a/frontend/packages/workflow/components/src/voice-select/index.tsx +++ b/frontend/packages/workflow/components/src/voice-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState } from 'react'; import { useRequest } from 'ahooks'; diff --git a/frontend/packages/workflow/components/src/workflow-commit-list/commit-item.tsx b/frontend/packages/workflow/components/src/workflow-commit-list/commit-item.tsx index 6d7a235e..30511559 100644 --- a/frontend/packages/workflow/components/src/workflow-commit-list/commit-item.tsx +++ b/frontend/packages/workflow/components/src/workflow-commit-list/commit-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useMemo, type FC } from 'react'; diff --git a/frontend/packages/workflow/components/src/workflow-commit-list/index.tsx b/frontend/packages/workflow/components/src/workflow-commit-list/index.tsx index c0ddeca6..b0974b4c 100644 --- a/frontend/packages/workflow/components/src/workflow-commit-list/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-commit-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, type FC, useRef } from 'react'; @@ -27,12 +27,7 @@ import { } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; import { IconCozFocus } from '@coze-arch/coze-design/icons'; -import { - EmptyState, - Spin, - Timeline, - Typography, -} from '@coze-arch/coze-design'; +import { EmptyState, Spin, Timeline, Typography } from '@coze-arch/coze-design'; import { useVersionHistory } from './use-version-history'; import { type WorkflowCommitListProps } from './type'; diff --git a/frontend/packages/workflow/components/src/workflow-commit-list/type.ts b/frontend/packages/workflow/components/src/workflow-commit-list/type.ts index 70a690ba..1e132c33 100644 --- a/frontend/packages/workflow/components/src/workflow-commit-list/type.ts +++ b/frontend/packages/workflow/components/src/workflow-commit-list/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VersionMetaInfo, type OperateType, diff --git a/frontend/packages/workflow/components/src/workflow-commit-list/use-version-history.ts b/frontend/packages/workflow/components/src/workflow-commit-list/use-version-history.ts index c540b6cc..676b1818 100644 --- a/frontend/packages/workflow/components/src/workflow-commit-list/use-version-history.ts +++ b/frontend/packages/workflow/components/src/workflow-commit-list/use-version-history.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo, useState } from 'react'; import { diff --git a/frontend/packages/workflow/components/src/workflow-edit/index.tsx b/frontend/packages/workflow/components/src/workflow-edit/index.tsx index 3af0849f..5b8d3b9a 100644 --- a/frontend/packages/workflow/components/src/workflow-edit/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-edit/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable max-lines-per-function -- refactor later */ @@ -266,8 +266,8 @@ export function CreateWorkflowModal({ flowMode === WorkflowMode.Imageflow ? I18n.t('imageflow_create_toast_success') : flowMode === WorkflowMode.ChatFlow - ? I18n.t('wf_chatflow_95') - : I18n.t('workflow_list_create_success'); + ? I18n.t('wf_chatflow_95') + : I18n.t('workflow_list_create_success'); Toast.success({ content, showClose: false, diff --git a/frontend/packages/workflow/components/src/workflow-modal/constants.ts b/frontend/packages/workflow/components/src/workflow-modal/constants.ts index 15043dbe..9c47bbf2 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/constants.ts +++ b/frontend/packages/workflow/components/src/workflow-modal/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { OrderBy, WorkFlowListStatus } from '@coze-workflow/base/api'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/content/card/bot-button/added-button/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/content/card/bot-button/added-button/index.tsx index 7698c27c..c6144ebe 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/content/card/bot-button/added-button/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/content/card/bot-button/added-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/content/card/bot-button/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/content/card/bot-button/index.tsx index ec8c417d..a833669a 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/content/card/bot-button/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/content/card/bot-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useContext, useMemo, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/content/card/delete-button/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/content/card/delete-button/index.tsx index 07b54ae1..e7af18a3 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/content/card/delete-button/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/content/card/delete-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type MouseEvent } from 'react'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/content/card/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/content/card/index.tsx index bd725e3d..57ac0647 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/content/card/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/content/card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import React, { type FC, useContext } from 'react'; @@ -186,12 +186,12 @@ export const WorkflowCard: FC = props => { data.create_time, )}` : status === WorkFlowListStatus.HadPublished - ? `${I18n.t('workflow_add_list_publised')} ${formatTime( - data.update_time, - )}` - : `${I18n.t('workflow_add_list_updated')} ${formatTime( - data.update_time, - )}`; + ? `${I18n.t('workflow_add_list_publised')} ${formatTime( + data.update_time, + )}` + : `${I18n.t('workflow_add_list_updated')} ${formatTime( + data.update_time, + )}`; return (
{showCreator ? ( diff --git a/frontend/packages/workflow/components/src/workflow-modal/content/card/lib-button.tsx b/frontend/packages/workflow/components/src/workflow-modal/content/card/lib-button.tsx index 258cae5c..9985caa3 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/content/card/lib-button.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/content/card/lib-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/content/card/parameters/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/content/card/parameters/index.tsx index 2a39b5c4..bc611445 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/content/card/parameters/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/content/card/parameters/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useContext, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/content/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/content/index.tsx index 6e1a0142..0bd8c7b8 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/content/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable @coze-arch/max-line-per-function */ import { type FC, useContext, useEffect, useMemo, useRef } from 'react'; @@ -372,7 +372,7 @@ const WorkflowModalContent: FC = props => { } workflowNodes={ isTypeWorkflow(item) - ? (workflowNodesMap[item.workflow_id || ''] ?? []) + ? workflowNodesMap[item.workflow_id || ''] ?? [] : [] } handleDeleteWorkflow={handleDelete} diff --git a/frontend/packages/workflow/components/src/workflow-modal/filter-douyin/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/filter-douyin/index.tsx index c024b22d..0f52e39a 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/filter-douyin/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/filter-douyin/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useContext } from 'react'; import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/filter/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/filter/index.tsx index b5599213..d7a0eddd 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/filter/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/filter/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useContext, useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/filter/sort-type-select.tsx b/frontend/packages/workflow/components/src/workflow-modal/filter/sort-type-select.tsx index 026e7337..fa78b625 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/filter/sort-type-select.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/filter/sort-type-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { SortType } from '@coze-arch/idl/product_api'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-i18n-text.ts b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-i18n-text.ts index 6d424176..4114b535 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-i18n-text.ts +++ b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-i18n-text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext, type ReactNode } from 'react'; import { WorkflowMode } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-action.tsx b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-action.tsx index f70c5063..f3a4ddea 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-action.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-action.tsx @@ -224,7 +224,7 @@ export function useWorkflowAction({ flow_mode: target?.plugin_type === PluginType.IMAGEFLOW ? WorkflowMode.Imageflow - : (config.flowMode ?? WorkflowMode.Workflow), + : config.flowMode ?? WorkflowMode.Workflow, }; return newWorkflow; diff --git a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-modal-parts.tsx b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-modal-parts.tsx index d530d11c..dc09a6c9 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-modal-parts.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-modal-parts.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useState } from 'react'; import { useMount } from 'ahooks'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-product-list.ts b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-product-list.ts index 74d2049d..8217c473 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-product-list.ts +++ b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-product-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { diff --git a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-search.tsx b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-search.tsx index 23325a02..e4c3d0e2 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-search.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/hooks/use-workflow-search.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useContext } from 'react'; import { useDebounceFn } from 'ahooks'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/index.tsx index 7921a165..312bc000 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/sider/index.tsx b/frontend/packages/workflow/components/src/workflow-modal/sider/index.tsx index cea36c3c..9e7681be 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/sider/index.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/sider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useContext } from 'react'; import { UICompositionModalSider } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/components/src/workflow-modal/type.ts b/frontend/packages/workflow/components/src/workflow-modal/type.ts index 0df4eb58..5d703b15 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/type.ts +++ b/frontend/packages/workflow/components/src/workflow-modal/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BindBizType, type WorkFlowListStatus, diff --git a/frontend/packages/workflow/components/src/workflow-modal/utils.ts b/frontend/packages/workflow/components/src/workflow-modal/utils.ts index a9c74c0a..b8391f6b 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/utils.ts +++ b/frontend/packages/workflow/components/src/workflow-modal/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowModalState, WorkflowCategory } from './type'; /** diff --git a/frontend/packages/workflow/components/src/workflow-modal/workflow-modal-context.tsx b/frontend/packages/workflow/components/src/workflow-modal/workflow-modal-context.tsx index 588b5f01..20982dfa 100644 --- a/frontend/packages/workflow/components/src/workflow-modal/workflow-modal-context.tsx +++ b/frontend/packages/workflow/components/src/workflow-modal/workflow-modal-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/components/stories/demo.stories.tsx b/frontend/packages/workflow/components/stories/demo.stories.tsx index 05def05e..71961380 100644 --- a/frontend/packages/workflow/components/stories/demo.stories.tsx +++ b/frontend/packages/workflow/components/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DemoComponent } from '../src'; export default { diff --git a/frontend/packages/workflow/components/tailwind.config.ts b/frontend/packages/workflow/components/tailwind.config.ts index b64f4146..32a4858e 100644 --- a/frontend/packages/workflow/components/tailwind.config.ts +++ b/frontend/packages/workflow/components/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/workflow/components/vitest.config.ts b/frontend/packages/workflow/components/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/workflow/components/vitest.config.ts +++ b/frontend/packages/workflow/components/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-align.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-align.test.tsx index 9b7f5309..42d296c6 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-align.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-align.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type Canvas, type FabricObject } from 'fabric'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-background.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-background.test.tsx index 762dcebc..53e742e1 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-background.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-background.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { describe, it, expect, vi, beforeEach } from 'vitest'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-change.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-change.test.tsx index c9babff5..2107d089 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-change.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-change.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect, beforeEach, type Mock } from 'vitest'; import { type Canvas, type FabricObject } from 'fabric'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-clip.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-clip.test.tsx index 3cfd5913..5c9f9ced 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-clip.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-clip.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type Canvas, Rect } from 'fabric'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-resize.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-resize.test.tsx index aca860c3..0c7f9a4c 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-resize.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-canvas-resize.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { beforeEach, describe, expect, it, vi } from 'vitest'; import { type Canvas } from 'fabric'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-common-operation.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-common-operation.test.tsx index 7cb289fa..5af08d08 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-common-operation.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-common-operation.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type Canvas, type FabricObject } from 'fabric'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-fabric-editor.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-fabric-editor.test.tsx index eedc3193..13ac1717 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-fabric-editor.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-fabric-editor.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { beforeEach, describe, expect, it, vi } from 'vitest'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-fabric-preview.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-fabric-preview.test.tsx index 2bcae713..068452cf 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-fabric-preview.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-fabric-preview.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { beforeEach, describe, expect, it, vi } from 'vitest'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-group.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-group.test.tsx index 250a43aa..50b1ff7d 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-group.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-group.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type Canvas, diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-init-canvas.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-init-canvas.test.tsx index e6410a46..3d590684 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-init-canvas.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-init-canvas.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { Canvas } from 'fabric'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-mouse-position.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-mouse-position.test.tsx index 0b6d7f30..26ad388e 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-mouse-position.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-mouse-position.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type Canvas } from 'fabric'; import { renderHook, act } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-snap-move.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-snap-move.test.tsx index 0512ba3c..f00065bb 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-snap-move.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-snap-move.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type Canvas } from 'fabric'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-viewport.test.tsx b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-viewport.test.tsx index defe589e..7b422fb9 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-viewport.test.tsx +++ b/frontend/packages/workflow/fabric-canvas/__tests__/hooks/use-viewport.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { beforeEach, describe, expect, it, vi } from 'vitest'; import { type Canvas, type Point } from 'fabric'; import { renderHook } from '@testing-library/react'; diff --git a/frontend/packages/workflow/fabric-canvas/__tests__/typings.test.ts b/frontend/packages/workflow/fabric-canvas/__tests__/typings.test.ts index 21a980ad..c3223459 100644 --- a/frontend/packages/workflow/fabric-canvas/__tests__/typings.test.ts +++ b/frontend/packages/workflow/fabric-canvas/__tests__/typings.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { CopyMode, AlignMode } from '../src/typings'; diff --git a/frontend/packages/workflow/fabric-canvas/src/assert/font.tsx b/frontend/packages/workflow/fabric-canvas/src/assert/font.tsx index 7264b3eb..64a859a3 100644 --- a/frontend/packages/workflow/fabric-canvas/src/assert/font.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/assert/font.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getUploadCDNAsset } from '@coze-workflow/base-adapter'; import { fonts, fontSvg, fontFamilyFilter } from '../share'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/content-menu/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/content-menu/index.tsx index 75ae7c71..f513173c 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/content-menu/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/content-menu/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/const.ts b/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/const.ts index 95b43b24..a8b65f15 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/const.ts +++ b/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Canvas Max Zoom */ diff --git a/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/fabric-editor.tsx b/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/fabric-editor.tsx index 9161ecf2..be2e5c25 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/fabric-editor.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/fabric-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines */ /* eslint-disable @coze-arch/max-line-per-function */ diff --git a/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/index.tsx index 63397b2d..db1d98a4 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FabricEditor } from './fabric-editor'; export { FabricEditor }; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/use-shortcut.tsx b/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/use-shortcut.tsx index b24b837e..773d568b 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/use-shortcut.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/fabric-editor/use-shortcut.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ /* eslint-disable @coze-arch/max-line-per-function */ import { useKeyPress } from 'ahooks'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/fabric-preview/fabric-preview.tsx b/frontend/packages/workflow/fabric-canvas/src/components/fabric-preview/fabric-preview.tsx index 237eef5e..3e09a275 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/fabric-preview/fabric-preview.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/fabric-preview/fabric-preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, type FC } from 'react'; import { useSize } from 'ahooks'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/fabric-preview/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/fabric-preview/index.tsx index b5aa46ae..e76b0f4b 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/fabric-preview/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/fabric-preview/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FabricPreview, IFabricPreview } from './fabric-preview'; export { FabricPreview, IFabricPreview }; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/form/form-meta.tsx b/frontend/packages/workflow/fabric-canvas/src/components/form/form-meta.tsx index 532d9dfc..d1f6790e 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/form/form-meta.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/form/form-meta.tsx @@ -13,13 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { I18n } from '@coze-arch/i18n'; -import { - IconCozArrowDown, - IconCozPalette, -} from '@coze-arch/coze-design/icons'; +import { IconCozArrowDown, IconCozPalette } from '@coze-arch/coze-design/icons'; import { Tooltip } from '@coze-arch/coze-design'; import { MyIconButton } from '../icon-button'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/form/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/form/index.tsx index b7e68266..3a5161fd 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/form/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo, useCallback, diff --git a/frontend/packages/workflow/fabric-canvas/src/components/icon-button/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/icon-button/index.tsx index a58948f4..ef3b32e7 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/icon-button/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/icon-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/pop-in-screen/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/pop-in-screen/index.tsx index c0b99429..e4ef753f 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/pop-in-screen/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/pop-in-screen/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { useEffect, useRef, useState, type FC } from 'react'; @@ -100,7 +100,7 @@ export const PopInScreen: FC = props => { top: getNumberBetween({ value: top, max: (limitRect?.height ?? Infinity) - (childrenSize?.height ?? 0), - min: position === 'top-center' ? (childrenSize?.height ?? 0) : 0, + min: position === 'top-center' ? childrenSize?.height ?? 0 : 0, }), zIndex, diff --git a/frontend/packages/workflow/fabric-canvas/src/components/ref-title/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/ref-title/index.tsx index 241d0fe2..d6b0b99a 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/ref-title/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/ref-title/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/border-width.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/border-width.tsx index 82b4be87..4110eb6c 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/border-width.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/border-width.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/color-picker.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/color-picker.tsx index be73a99f..2a888017 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/color-picker.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/color-picker.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, type FC, useMemo } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/font-size.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/font-size.tsx index ba37a60e..ba4d74fc 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/font-size.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/font-size.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useCallback, useMemo } from 'react'; import { clamp } from 'lodash-es'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/index.tsx index 8a4a3948..8138e902 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type FC } from 'react'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/input-number.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/input-number.tsx index 76522699..cbeac74f 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/input-number.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/input-number.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import { diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/label-select.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/label-select.tsx index 40442f17..ca2d387d 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/label-select.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/label-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Select, type SelectProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/line-height.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/line-height.tsx index bd2438d2..643ff7d3 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/line-height.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/line-height.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useCallback, useMemo } from 'react'; import { clamp } from 'lodash-es'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/ref-select.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/ref-select.tsx index 1dbd88b1..8beb00f1 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/ref-select.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/ref-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/single-select.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/single-select.tsx index 95f77e6f..20ed3a90 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/single-select.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/single-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import { diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/text-align.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/text-align.tsx index d9494fde..e8bd8be5 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/text-align.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/text-align.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/text-family.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/text-family.tsx index 2f0618ff..2c858c7d 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/text-family.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/text-family.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Cascader } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/text-type.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/text-type.tsx index 2a1bac45..10e3aaf3 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/text-type.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/text-type.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/setters/uploader.tsx b/frontend/packages/workflow/fabric-canvas/src/components/setters/uploader.tsx index 77c55252..4c8721a6 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/setters/uploader.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/setters/uploader.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/topbar/align.tsx b/frontend/packages/workflow/fabric-canvas/src/components/topbar/align.tsx index 895e5c9c..5e8cc588 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/topbar/align.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/topbar/align.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type RefObject } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/topbar/image-upload.tsx b/frontend/packages/workflow/fabric-canvas/src/components/topbar/image-upload.tsx index 09b5ced0..35ac954c 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/topbar/image-upload.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/topbar/image-upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { useImageUploader, type ImageRule } from '@coze-workflow/components'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/fabric-canvas/src/components/topbar/index.tsx b/frontend/packages/workflow/fabric-canvas/src/components/topbar/index.tsx index 0caea46c..bcb05787 100644 --- a/frontend/packages/workflow/fabric-canvas/src/components/topbar/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/components/topbar/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines */ /* eslint-disable @coze-arch/max-line-per-function */ diff --git a/frontend/packages/workflow/fabric-canvas/src/context/global.tsx b/frontend/packages/workflow/fabric-canvas/src/context/global.tsx index 53797656..5b2d2252 100644 --- a/frontend/packages/workflow/fabric-canvas/src/context/global.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/context/global.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type FabricObject } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/context/index.tsx b/frontend/packages/workflow/fabric-canvas/src/context/index.tsx index 465785a2..02e06089 100644 --- a/frontend/packages/workflow/fabric-canvas/src/context/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/context/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { GlobalContext, useGlobalContext } from './global'; diff --git a/frontend/packages/workflow/fabric-canvas/src/global.d.ts b/frontend/packages/workflow/fabric-canvas/src/global.d.ts index 63edbe8e..6c50f74c 100644 --- a/frontend/packages/workflow/fabric-canvas/src/global.d.ts +++ b/frontend/packages/workflow/fabric-canvas/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.otf' { const content: string; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/index.ts b/frontend/packages/workflow/fabric-canvas/src/hooks/index.ts index 6599b454..547de4a0 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/index.ts +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useFabricPreview } from './use-fabric-preview'; export { useFabricEditor } from './use-fabric-editor'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-active-object-change.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-active-object-change.tsx index b545b889..00fbb348 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-active-object-change.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-active-object-change.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable @coze-arch/max-line-per-function */ import { useCallback, useEffect, useState, useRef } from 'react'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-align.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-align.tsx index d4f4d395..cf8b8425 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-align.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-align.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useCallback } from 'react'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-background.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-background.tsx index 95055c28..0fb884c0 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-background.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-background.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { type Canvas } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-change.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-change.tsx index 00df30df..964c9d8c 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-change.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-change.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useCallback, useEffect, useRef, useState } from 'react'; @@ -36,7 +36,9 @@ import { type VariableRef, } from '../typings'; -const ImagePlaceholder = `${getUploadCDNAsset('')}/workflow/fabric-canvas/img-placeholder.png`; +const ImagePlaceholder = `${getUploadCDNAsset( + '', +)}/workflow/fabric-canvas/img-placeholder.png`; // Properties that require additional saving export const saveProps = [ diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-clip.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-clip.tsx index d2a469a5..8f747a5a 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-clip.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-clip.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { Rect, type Canvas } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-resize.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-resize.tsx index d53bff29..37f4637f 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-resize.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-canvas-resize.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { type Canvas } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-common-operation.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-common-operation.tsx index 77ef0883..816d004c 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-common-operation.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-common-operation.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type BasicTransformEvent, diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-copy-paste.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-copy-paste.tsx index d90b6eae..ec252492 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-copy-paste.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-copy-paste.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines-per-function */ /* eslint-disable @coze-arch/max-line-per-function */ diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-drag-add.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-drag-add.tsx index 1a0d3fc6..54cb0d05 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-drag-add.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-drag-add.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-fabric-editor.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-fabric-editor.tsx index 27b36632..37d01cbc 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-fabric-editor.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-fabric-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { useEffect, useMemo } from 'react'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-fabric-preview.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-fabric-preview.tsx index f9688929..e25956cc 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-fabric-preview.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-fabric-preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type FabricSchema } from '../typings'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-free-pencil.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-free-pencil.tsx index 09724248..4bf194cf 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-free-pencil.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-free-pencil.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { PencilBrush, type Canvas } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-group.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-group.tsx index ee277d50..702d3097 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-group.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-group.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This is a work in progress, I won't do it for the time being, I'll think about it later. * 1. After forming a group, support drilling down and continue to select. diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-img-add.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-img-add.tsx index e0910fa7..0e0bfaee 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-img-add.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-img-add.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Canvas } from 'fabric'; import { createElement, defaultProps } from '../utils'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-init-canvas.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-init-canvas.tsx index bbc088ad..cec2e243 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-init-canvas.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-init-canvas.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useState } from 'react'; import { Canvas, type FabricObject } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-inline-text-add.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-inline-text-add.tsx index b1ca3ab9..7908f120 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-inline-text-add.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-inline-text-add.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { type Canvas } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-mouse-position.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-mouse-position.tsx index 392c14c0..6ddcbb88 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-mouse-position.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-mouse-position.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { type Canvas } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-position.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-position.tsx index d526c19f..706d7ad0 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-position.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-position.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useState } from 'react'; import { diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-redo-undo.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-redo-undo.tsx index d682204a..f19a517c 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-redo-undo.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-redo-undo.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState } from 'react'; import { cloneDeep, isUndefined } from 'lodash-es'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-schema-change.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-schema-change.tsx index a4058ce0..ba0fbb0d 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-schema-change.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-schema-change.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { type Canvas, type FabricObject } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-snap-move.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-snap-move.tsx index 8534571e..c8022c2e 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-snap-move.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-snap-move.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type Canvas } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-storage.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-storage.tsx index 6e14163e..f1b2501a 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-storage.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-storage.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useMemoizedFn, useUpdateEffect } from 'ahooks'; diff --git a/frontend/packages/workflow/fabric-canvas/src/hooks/use-viewport.tsx b/frontend/packages/workflow/fabric-canvas/src/hooks/use-viewport.tsx index ec8a522f..35a902ec 100644 --- a/frontend/packages/workflow/fabric-canvas/src/hooks/use-viewport.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/hooks/use-viewport.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState } from 'react'; import { type Point, type TMat2D, type Canvas } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/index.tsx b/frontend/packages/workflow/fabric-canvas/src/index.tsx index b2b764b2..5c5e4754 100644 --- a/frontend/packages/workflow/fabric-canvas/src/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FabricEditor } from './components/fabric-editor'; export { FabricPreview, diff --git a/frontend/packages/workflow/fabric-canvas/src/share/fabric-image.ts b/frontend/packages/workflow/fabric-canvas/src/share/fabric-image.ts index 103a0f70..1318859f 100644 --- a/frontend/packages/workflow/fabric-canvas/src/share/fabric-image.ts +++ b/frontend/packages/workflow/fabric-canvas/src/share/fabric-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This file only implements one function setImageFixed * Nodejs image rendering also needs to calculate the position. To implement a fully functional js version in packages/workflow/nodejs/fabricate-render diff --git a/frontend/packages/workflow/fabric-canvas/src/share/font.ts b/frontend/packages/workflow/fabric-canvas/src/share/font.ts index 35424e5e..66399d92 100644 --- a/frontend/packages/workflow/fabric-canvas/src/share/font.ts +++ b/frontend/packages/workflow/fabric-canvas/src/share/font.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const fonts = [ '1-中等-思源黑体.otf', '1-常规体-思源黑体.otf', diff --git a/frontend/packages/workflow/fabric-canvas/src/share/index.ts b/frontend/packages/workflow/fabric-canvas/src/share/index.ts index 7fb704c5..f78913dd 100644 --- a/frontend/packages/workflow/fabric-canvas/src/share/index.ts +++ b/frontend/packages/workflow/fabric-canvas/src/share/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { setImageFixed } from './fabric-image'; export { fonts, fontSvg, fontFamilyFilter } from './font'; // eslint-disable-next-line @coze-arch/no-batch-import-or-export diff --git a/frontend/packages/workflow/fabric-canvas/src/share/typings.ts b/frontend/packages/workflow/fabric-canvas/src/share/typings.ts index 7a335d40..94992e9b 100644 --- a/frontend/packages/workflow/fabric-canvas/src/share/typings.ts +++ b/frontend/packages/workflow/fabric-canvas/src/share/typings.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FabricObject } from 'fabric'; export const REF_VARIABLE_ID_PREFIX = 'variable'; diff --git a/frontend/packages/workflow/fabric-canvas/src/typings.ts b/frontend/packages/workflow/fabric-canvas/src/typings.ts index 073ceaf7..8c3fc6b8 100644 --- a/frontend/packages/workflow/fabric-canvas/src/typings.ts +++ b/frontend/packages/workflow/fabric-canvas/src/typings.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace */ // eslint-disable-next-line @coze-arch/no-batch-import-or-export export * from './share/typings'; diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/common.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/common.tsx index 47ef7a2d..7920b27d 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/common.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/common.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getNumberBetween = ({ value, max, diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/controls.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/controls.tsx index 96a26d8d..a8fa7db3 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/controls.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/controls.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ /* eslint-disable max-params */ import { diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/create-controls.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/create-controls.tsx index 2ff38320..0c8283d9 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/create-controls.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/create-controls.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Ellipse, type FabricObject, type Line } from 'fabric'; import { Mode } from '../typings'; diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/default-props.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/default-props.tsx index 35f760e1..ae9e007b 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/default-props.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/default-props.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ImageFixedType, Mode, diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/element-factory.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/element-factory.tsx index eed286fb..8d14ba7b 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/element-factory.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/element-factory.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ /* eslint-disable complexity */ /** diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/fabric-utils.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/fabric-utils.tsx index 01f03a66..76a7c33d 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/fabric-utils.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/fabric-utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Canvas, type FabricObject, diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/font-loader.ts b/frontend/packages/workflow/fabric-canvas/src/utils/font-loader.ts index 30e7a966..7952f318 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/font-loader.ts +++ b/frontend/packages/workflow/fabric-canvas/src/utils/font-loader.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Canvas, type IText } from 'fabric'; import { QueryClient } from '@tanstack/react-query'; diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/index.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/index.tsx index 24e0b477..455ee8d0 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/index.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createElement, setElementAfterLoad, diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/schema-to-form-value.ts b/frontend/packages/workflow/fabric-canvas/src/utils/schema-to-form-value.ts index a6ea9d7e..bf73b3c1 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/schema-to-form-value.ts +++ b/frontend/packages/workflow/fabric-canvas/src/utils/schema-to-form-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Mode, type FabricObjectSchema, diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/snap/helpline.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/snap/helpline.tsx index c01d3726..e958fe4f 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/snap/helpline.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/snap/helpline.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Canvas, type FabricObject } from 'fabric'; import { canvasXYToScreen } from '../fabric-utils'; diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/align.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/align.tsx index 117d4d86..18738873 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/align.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/align.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/max-line-per-function */ import { findLatestObject, numberEqual } from '../util'; import { Snap } from '../../../typings'; diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/padding.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/padding.tsx index 8fd73019..b318b2a6 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/padding.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/padding.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ /* eslint-disable complexity */ /* eslint-disable max-lines-per-function */ diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/resize.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/resize.tsx index e6e666cf..b7cd7f02 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/resize.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/snap/rule/resize.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { findLatestObject } from '../util'; import { Snap } from '../../../typings'; diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/snap/snap.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/snap/snap.tsx index c57bf170..747ed314 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/snap/snap.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/snap/snap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable complexity */ import { type Canvas, type FabricObject, type Group } from 'fabric'; diff --git a/frontend/packages/workflow/fabric-canvas/src/utils/snap/util.tsx b/frontend/packages/workflow/fabric-canvas/src/utils/snap/util.tsx index 53a4422f..cc20968e 100644 --- a/frontend/packages/workflow/fabric-canvas/src/utils/snap/util.tsx +++ b/frontend/packages/workflow/fabric-canvas/src/utils/snap/util.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FabricObject } from 'fabric'; import { type Snap } from '../../typings'; diff --git a/frontend/packages/workflow/fabric-canvas/stories/demo.stories.tsx b/frontend/packages/workflow/fabric-canvas/stories/demo.stories.tsx index 5541e9db..5590419c 100644 --- a/frontend/packages/workflow/fabric-canvas/stories/demo.stories.tsx +++ b/frontend/packages/workflow/fabric-canvas/stories/demo.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // import type { Meta, StoryFn, StoryObj } from '@storybook/react'; // import { FabricPreview, type IFabricPreview } from '../src'; diff --git a/frontend/packages/workflow/fabric-canvas/tailwind.config.ts b/frontend/packages/workflow/fabric-canvas/tailwind.config.ts index b64f4146..32a4858e 100644 --- a/frontend/packages/workflow/fabric-canvas/tailwind.config.ts +++ b/frontend/packages/workflow/fabric-canvas/tailwind.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Config } from 'tailwindcss'; export default { diff --git a/frontend/packages/workflow/fabric-canvas/vitest.config.ts b/frontend/packages/workflow/fabric-canvas/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/workflow/fabric-canvas/vitest.config.ts +++ b/frontend/packages/workflow/fabric-canvas/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/api-service.mock.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/api-service.mock.ts index 1843377b..568683ad 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/api-service.mock.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/api-service.mock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { type EncapsulateApiService } from '../src/api'; diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/create-container.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/create-container.ts index 890e5a08..ddfe2c8e 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/create-container.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/create-container.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule, injectable } from 'inversify'; import { createFreeHistoryPlugin, @@ -95,7 +95,7 @@ export class MockWorkflowForm () => ({ formModelFactory, - }) as any, + } as any), ); } } diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/default.mock.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/default.mock.ts index 7a2b1535..ea24eabe 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/default.mock.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/default.mock.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export default {}; diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-lines-service.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-lines-service.test.ts index 1438c821..1935714f 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-lines-service.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-lines-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import { cloneDeep } from 'lodash-es'; import { diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-nodes-service.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-nodes-service.test.ts index 4cbe7f5b..f94e1f0c 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-nodes-service.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-nodes-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, beforeEach, it, expect } from 'vitest'; import { FlowNodeTransformData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-service.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-service.test.ts index faf20239..c158ccdf 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-service.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/encapsulate/encapsulate-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, beforeEach } from 'vitest'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/generate/encapsulate-generate-service.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/generate/encapsulate-generate-service.test.ts index 5fe5045f..e7d9827b 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/generate/encapsulate-generate-service.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/generate/encapsulate-generate-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, beforeEach, it, expect } from 'vitest'; import { WorkflowDocument, @@ -55,8 +55,9 @@ describe('encapsulate-generate-service', () => { desc: 'test', spaceId: '1', }; - const res = - await encapsulateGenerateService.generateSubWorkflowNode(options); + const res = await encapsulateGenerateService.generateSubWorkflowNode( + options, + ); expect(res).toMatchSnapshot(); }); }); diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/setup.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/setup.ts index 2990834e..81b52f26 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/setup.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; vi.mock('@coze-arch/i18n', () => ({ I18n: { diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/utils/get-node-point.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/utils/get-node-point.test.ts index a4a5e752..30cbbf03 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/utils/get-node-point.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/utils/get-node-point.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { beforeEach, describe, expect, it } from 'vitest'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/utils/get-sub-workflow-info.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/utils/get-sub-workflow-info.test.ts index bdd25d62..ada7ea57 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/utils/get-sub-workflow-info.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/utils/get-sub-workflow-info.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, beforeEach, expect } from 'vitest'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/utils/set-node-position.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/utils/set-node-position.test.ts index 7ad25a79..1261935c 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/utils/set-node-position.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/utils/set-node-position.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { type WorkflowNodeJSON } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/validate/encapsulate-validate-manager.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/validate/encapsulate-validate-manager.test.ts index 5fbadb87..20933a28 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/validate/encapsulate-validate-manager.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/validate/encapsulate-validate-manager.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, beforeEach, expect } from 'vitest'; import { StandardNodeType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/validate/encapsulate-validate-result.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/validate/encapsulate-validate-result.test.ts index bdea705d..ead7464e 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/validate/encapsulate-validate-result.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/validate/encapsulate-validate-result.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { createContainer } from '../create-container'; diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/validation-service.mock.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/validation-service.mock.ts index 95b36149..ecfc38dd 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/validation-service.mock.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/validation-service.mock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; @injectable() diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/input-lines.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/input-lines.test.ts index cfdb145b..7b74ca8d 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/input-lines.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/input-lines.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/loop-nodes.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/loop-nodes.test.ts index 0d734131..1c714a14 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/loop-nodes.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/loop-nodes.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import { StandardNodeType } from '@coze-workflow/base'; import { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/output-lines.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/output-lines.test.ts index f5534e51..897ad11c 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/output-lines.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/output-lines.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/ports.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/ports.test.ts index e96801a3..32cb780e 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/ports.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/ports.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/start-end.test.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/start-end.test.ts index 3f694d7a..7dc9faa5 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/validators/start-end.test.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/validators/start-end.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, beforeEach } from 'vitest'; import { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/__tests__/workflow.mock.ts b/frontend/packages/workflow/feature-encapsulate/__tests__/workflow.mock.ts index 98a8acc9..ff7eae5e 100644 --- a/frontend/packages/workflow/feature-encapsulate/__tests__/workflow.mock.ts +++ b/frontend/packages/workflow/feature-encapsulate/__tests__/workflow.mock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base/types'; import { type WorkflowJSON } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/api/constants.ts b/frontend/packages/workflow/feature-encapsulate/src/api/constants.ts index 660f6ee4..6b455394 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/api/constants.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/api/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkflowMode } from '@coze-workflow/base/api'; export const ICON_URIS = { diff --git a/frontend/packages/workflow/feature-encapsulate/src/api/encapsulate-api-service.ts b/frontend/packages/workflow/feature-encapsulate/src/api/encapsulate-api-service.ts index 77c74c23..b4d99419 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/api/encapsulate-api-service.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/api/encapsulate-api-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/use-error-in-catch */ import { get } from 'lodash-es'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/api/index.ts b/frontend/packages/workflow/feature-encapsulate/src/api/index.ts index 0af26a99..13c61c5c 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/api/index.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/api/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './types'; export * from './encapsulate-api-service'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/api/types.ts b/frontend/packages/workflow/feature-encapsulate/src/api/types.ts index 0e223335..d193892a 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/api/types.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/api/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValidateErrorData, type WorkflowMode, diff --git a/frontend/packages/workflow/feature-encapsulate/src/create-workflow-encapsulate-plugin.ts b/frontend/packages/workflow/feature-encapsulate/src/create-workflow-encapsulate-plugin.ts index d0d6b990..c3d91a7d 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/create-workflow-encapsulate-plugin.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/create-workflow-encapsulate-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { definePluginCreator, type PluginCreator, diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate-context.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate-context.ts index 6762f1c2..990c75be 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate-context.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type StandardNodeType } from '@coze-workflow/base/types'; import { WorkflowMode } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/constants.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/constants.ts index 421c2783..9ee5c2a5 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/constants.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/constants.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const ENCAPSULATE_START_END_PAD = 60; diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-lines-service.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-lines-service.ts index 0b468d03..2403190c 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-lines-service.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-lines-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { groupBy, uniq } from 'lodash-es'; import { inject, injectable } from 'inversify'; import { type WorkflowJSON } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-manager.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-manager.ts index bf03007b..8570d9c1 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-manager.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { DisposableCollection } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-nodes-service.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-nodes-service.ts index 1a3c8536..78e895b5 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-nodes-service.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-nodes-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-params */ /* eslint-disable @typescript-eslint/no-magic-numbers */ import { get, set } from 'lodash-es'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-service.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-service.ts index aa3d753e..6c6c519a 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-service.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, inject } from 'inversify'; import { WorkflowMode } from '@coze-workflow/base/api'; import { @@ -105,7 +105,9 @@ export class EncapsulateServiceImpl implements EncapsulateService { return this.encapsulateError('encapsulating'); } - const name = `${this.encapsulateContext.flowName || ''}_sub_${randomNameSuffix()}`; + const name = `${ + this.encapsulateContext.flowName || '' + }_sub_${randomNameSuffix()}`; const { selectedNodes } = this.workflowSelectService; if (selectedNodes.length < 2) { diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-variable-service.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-variable-service.ts index d1e76aa6..a3096075 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-variable-service.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/encapsulate-variable-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-len */ import { get, set, uniq } from 'lodash-es'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/index.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/index.ts index e0579aee..1b8254e0 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/index.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './encapsulate-service'; export * from './types'; export * from './encapsulate-manager'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/types.ts b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/types.ts index 44bd50b0..91a92c36 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/encapsulate/types.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/encapsulate/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowPortEntity, type WorkflowNodeEntity, diff --git a/frontend/packages/workflow/feature-encapsulate/src/generate/encapsulate-generate-service.ts b/frontend/packages/workflow/feature-encapsulate/src/generate/encapsulate-generate-service.ts index 7873cd18..2f15e02e 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/generate/encapsulate-generate-service.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/generate/encapsulate-generate-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniqBy } from 'lodash-es'; import { injectable, inject } from 'inversify'; import { StandardNodeType } from '@coze-workflow/base/types'; @@ -207,7 +207,9 @@ export class EncapsulateGenerateServiceImpl } private getCompareEdgeId(edge) { - return `${edge.sourceNodeID || ''}:${edge.sourcePortID || ''}-${edge.targetNodeID || ''}:${edge.targetPortID || ''}`; + return `${edge.sourceNodeID || ''}:${edge.sourcePortID || ''}-${ + edge.targetNodeID || '' + }:${edge.targetPortID || ''}`; } /** diff --git a/frontend/packages/workflow/feature-encapsulate/src/generate/index.ts b/frontend/packages/workflow/feature-encapsulate/src/generate/index.ts index 997330ab..0640ed61 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/generate/index.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/generate/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './types'; export * from './encapsulate-generate-service'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/generate/types.ts b/frontend/packages/workflow/feature-encapsulate/src/generate/types.ts index ad145e18..951bfa70 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/generate/types.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/generate/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeEntity, type WorkflowJSON, diff --git a/frontend/packages/workflow/feature-encapsulate/src/index.ts b/frontend/packages/workflow/feature-encapsulate/src/index.ts index 47f5abb1..33e8b1c6 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/index.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createWorkflowEncapsulatePlugin } from './create-workflow-encapsulate-plugin'; export { EncapsulateService } from './encapsulate'; export { EncapsulatePanel } from './render'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/constants.ts b/frontend/packages/workflow/feature-encapsulate/src/render/constants.ts index 715a61b0..4e0123ab 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/constants.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const isMacOS = /(Macintosh|MacIntel|MacPPC|Mac68K|iPad)/.test( navigator.userAgent, ); diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-button/index.tsx b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-button/index.tsx index baadeaee..75aeb3b4 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-button/index.tsx +++ b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEvent, useRef, type MouseEventHandler } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-panel/index.tsx b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-panel/index.tsx index 4d3cf668..a9d8b979 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-panel/index.tsx +++ b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-render-container-module.ts b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-render-container-module.ts index 1d387aa9..1076d5e9 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-render-container-module.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-render-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { bindContributions } from '@flowgram-adapter/free-layout-editor'; import { WorkflowShortcutsContribution } from '@coze-workflow/render'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-render-service.ts b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-render-service.ts index 56efe009..22dc28a4 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-render-service.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-render-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { Emitter } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-shortcuts-contribution.ts b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-shortcuts-contribution.ts index 9690628a..41438e32 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-shortcuts-contribution.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-shortcuts-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { PlaygroundConfigEntity } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-tooltip/error-title.tsx b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-tooltip/error-title.tsx index 8379986c..4ba4cd41 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-tooltip/error-title.tsx +++ b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-tooltip/error-title.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-tooltip/index.tsx b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-tooltip/index.tsx index 07dfe15c..01d36fce 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-tooltip/index.tsx +++ b/frontend/packages/workflow/feature-encapsulate/src/render/encapsulate-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-encapsulate.ts b/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-encapsulate.ts index d830d7b5..5f6f592e 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-encapsulate.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-encapsulate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-selected-nodes.ts b/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-selected-nodes.ts index 374e2e56..a04f2e1b 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-selected-nodes.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-selected-nodes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-validate.tsx b/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-validate.tsx index 2a15af5a..cbfc7d97 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-validate.tsx +++ b/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-validate.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef } from 'react'; import { useDebounceEffect } from 'ahooks'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-variable-change.ts b/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-variable-change.ts index 983fa9c1..bd579b0d 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-variable-change.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/hooks/use-variable-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { FlowNodeVariableData } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/index.ts b/frontend/packages/workflow/feature-encapsulate/src/render/index.ts index e2098b66..3769de2b 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/index.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './types'; export * from './encapsulate-render-container-module'; export { EncapsulatePanel } from './encapsulate-panel'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/render/types.ts b/frontend/packages/workflow/feature-encapsulate/src/render/types.ts index b1ba8ec8..55f69780 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/render/types.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/render/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Encapsulate/unencapsulate commands */ diff --git a/frontend/packages/workflow/feature-encapsulate/src/types.ts b/frontend/packages/workflow/feature-encapsulate/src/types.ts index 6b2e769c..b1684093 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/types.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StandardNodeType } from '@coze-workflow/base/types'; import { type WorkflowMode } from '@coze-workflow/base/api'; import { type PluginContext } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/typings.d.ts b/frontend/packages/workflow/feature-encapsulate/src/typings.d.ts index 7cc757a8..a5e22767 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/typings.d.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/typings.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + declare module '*.less' { const resource: { [key: string]: string }; export = resource; diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/check-encapsulate-gray.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/check-encapsulate-gray.ts index 61874223..17ad0069 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/check-encapsulate-gray.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/check-encapsulate-gray.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getFlags } from '@coze-arch/bot-flags'; /** * Verify whether it can be encapsulated diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/exclude-start-end.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/exclude-start-end.ts index a5330ec6..0d50af28 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/exclude-start-end.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/exclude-start-end.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/get-node-point.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/get-node-point.ts index f5d6382f..8d9fe1fd 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/get-node-point.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/get-node-point.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PositionData } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowNodeJSON, diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/get-nodes-parent-id.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/get-nodes-parent-id.ts index 79f0a47c..1b369a77 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/get-nodes-parent-id.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/get-nodes-parent-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; /** diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/get-nodes-with-sub-canvas.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/get-nodes-with-sub-canvas.ts index 1cbd5ee5..0d5f0642 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/get-nodes-with-sub-canvas.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/get-nodes-with-sub-canvas.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniq } from 'lodash-es'; import { type WorkflowNodeRegistry, diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/get-sub-workflow-info.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/get-sub-workflow-info.ts index 717b023a..1bf91e40 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/get-sub-workflow-info.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/get-sub-workflow-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/has-sub-canvas-nodes.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/has-sub-canvas-nodes.ts index 78a82c81..f56e60db 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/has-sub-canvas-nodes.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/has-sub-canvas-nodes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeRegistry, type WorkflowNodeJSON, diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/index.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/index.ts index a2cf7e21..86c599f3 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/index.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './check-encapsulate-gray'; export * from './get-sub-workflow-info'; export * from './get-node-point'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/random-name-suffix.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/random-name-suffix.ts index b416fcd3..e6822d1a 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/random-name-suffix.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/random-name-suffix.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { customAlphabet } from 'nanoid'; const RANDOM_NUM = 6; diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/set-node-position.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/set-node-position.ts index 36b2223d..363c59da 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/set-node-position.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/set-node-position.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeJSON } from '@flowgram-adapter/free-layout-editor'; import { type IPoint } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/subcanvas.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/subcanvas.ts index caa1d463..76e2ec21 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/subcanvas.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/subcanvas.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeBaseType, type FlowNodeEntity, diff --git a/frontend/packages/workflow/feature-encapsulate/src/utils/variable.ts b/frontend/packages/workflow/feature-encapsulate/src/utils/variable.ts index 42fd9952..9c8cd1d1 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/utils/variable.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/utils/variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject, get, has, isArray } from 'lodash-es'; import { type WorkflowVariable } from '@coze-workflow/variable'; import { type DTODefine } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-manager.ts b/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-manager.ts index 38341c66..838befd2 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-manager.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-manager.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, multiInject, optional } from 'inversify'; import { type StandardNodeType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-result.ts b/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-result.ts index d3b442bf..649c4c7f 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-result.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-result.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { diff --git a/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-service.ts b/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-service.ts index fa28c806..ddf1965a 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-service.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validate/encapsulate-validate-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type StandardNodeType } from '@coze-workflow/base/types'; import { diff --git a/frontend/packages/workflow/feature-encapsulate/src/validate/index.ts b/frontend/packages/workflow/feature-encapsulate/src/validate/index.ts index 9969ef30..5242aa53 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validate/index.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validate/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './encapsulate-validate-manager'; export * from './types'; export * from './encapsulate-validate-service'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validate/types.ts b/frontend/packages/workflow/feature-encapsulate/src/validate/types.ts index 6129c5a7..2b74b6f0 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validate/types.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validate/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StandardNodeType } from '@coze-workflow/base/types'; import { type WorkflowJSON, diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-base-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-base-validator.ts index de86fbd7..3bc55688 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-base-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-base-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { WorkflowNode } from '@coze-workflow/base'; import { diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-form-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-form-validator.ts index 091d3090..3e372efc 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-form-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-form-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { ValidationService } from '@coze-workflow/base/services'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-input-lines-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-input-lines-validator.ts index 8d42b01c..c1506261 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-input-lines-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-input-lines-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-output-lines-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-output-lines-validator.ts index 7ff88fb6..1abc14d8 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-output-lines-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-output-lines-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-ports-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-ports-validator.ts index 899b095a..e269460b 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-ports-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-ports-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { StandardNodeType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-schema-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-schema-validator.ts index 509e8277..28621a46 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-schema-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-schema-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type WorkflowJSON } from '@flowgram-adapter/free-layout-editor'; @@ -35,8 +35,9 @@ export class EncapsulateSchemaValidator private encapsulateApiService: EncapsulateApiService; async validate(workflow: WorkflowJSON, result: EncapsulateValidateResult) { - const validateResult = - await this.encapsulateApiService.validateWorkflow(workflow); + const validateResult = await this.encapsulateApiService.validateWorkflow( + workflow, + ); if (!validateResult?.length) { return; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-validators-container-module.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-validators-container-module.ts index 9dd5222c..c8c60e68 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-validators-container-module.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/encapsulate-validators-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { bindContributions } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/index.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/index.ts index 53efe978..d036618c 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/index.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './encapsulate-validators-container-module'; export { EncapsulateBaseValidator } from './encapsulate-base-validator'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/loop-nodes-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/loop-nodes-validator.ts index 6e016b87..40c3d29e 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/loop-nodes-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/loop-nodes-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { StandardNodeType } from '@coze-workflow/base/types'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/start-end-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/start-end-validator.ts index 6c2b1a7a..f81be430 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/start-end-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/start-end-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { StandardNodeType } from '@coze-workflow/base/types'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/validators/sub-canvas-validator.ts b/frontend/packages/workflow/feature-encapsulate/src/validators/sub-canvas-validator.ts index 820b5979..0e74af38 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/validators/sub-canvas-validator.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/validators/sub-canvas-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { I18n } from '@coze-arch/i18n'; import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/feature-encapsulate/src/workflow-encapsulate-container-module.ts b/frontend/packages/workflow/feature-encapsulate/src/workflow-encapsulate-container-module.ts index 89cc618e..f1da66a3 100644 --- a/frontend/packages/workflow/feature-encapsulate/src/workflow-encapsulate-container-module.ts +++ b/frontend/packages/workflow/feature-encapsulate/src/workflow-encapsulate-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { diff --git a/frontend/packages/workflow/feature-encapsulate/vitest.config.ts b/frontend/packages/workflow/feature-encapsulate/vitest.config.ts index ce696f09..1a466471 100644 --- a/frontend/packages/workflow/feature-encapsulate/vitest.config.ts +++ b/frontend/packages/workflow/feature-encapsulate/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { resolve } from 'path'; import { defineConfig } from '@coze-arch/vitest-config'; diff --git a/frontend/packages/workflow/history/src/create-operation-report-plugin.ts b/frontend/packages/workflow/history/src/create-operation-report-plugin.ts index ca373ffd..80645bf3 100644 --- a/frontend/packages/workflow/history/src/create-operation-report-plugin.ts +++ b/frontend/packages/workflow/history/src/create-operation-report-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { definePluginCreator, type PluginCreator, diff --git a/frontend/packages/workflow/history/src/hooks/use-clear-history.ts b/frontend/packages/workflow/history/src/hooks/use-clear-history.ts index bca390e3..909b4e05 100644 --- a/frontend/packages/workflow/history/src/hooks/use-clear-history.ts +++ b/frontend/packages/workflow/history/src/hooks/use-clear-history.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/history/src/index.ts b/frontend/packages/workflow/history/src/index.ts index 25d4e9c2..7769cf09 100644 --- a/frontend/packages/workflow/history/src/index.ts +++ b/frontend/packages/workflow/history/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowHistoryContainerModule } from './workflow-history-container-module'; export { useClearHistory } from './hooks/use-clear-history'; export { WorkflowHistoryConfig } from './workflow-history-config'; diff --git a/frontend/packages/workflow/history/src/operation-metas/add-line.ts b/frontend/packages/workflow/history/src/operation-metas/add-line.ts index c542d503..1f122449 100644 --- a/frontend/packages/workflow/history/src/operation-metas/add-line.ts +++ b/frontend/packages/workflow/history/src/operation-metas/add-line.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type AddOrDeleteLineOperationValue, FreeOperationType, diff --git a/frontend/packages/workflow/history/src/operation-metas/add-node.ts b/frontend/packages/workflow/history/src/operation-metas/add-node.ts index f6a9df97..18682e5b 100644 --- a/frontend/packages/workflow/history/src/operation-metas/add-node.ts +++ b/frontend/packages/workflow/history/src/operation-metas/add-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { type AddOrDeleteWorkflowNodeOperationValue, diff --git a/frontend/packages/workflow/history/src/operation-metas/index.ts b/frontend/packages/workflow/history/src/operation-metas/index.ts index 9e77d86e..5ab84fa3 100644 --- a/frontend/packages/workflow/history/src/operation-metas/index.ts +++ b/frontend/packages/workflow/history/src/operation-metas/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OperationMeta } from '@flowgram-adapter/free-layout-editor'; import { addNodeOperationMeta } from './add-node'; diff --git a/frontend/packages/workflow/history/src/services/workflow-operation-report-service.ts b/frontend/packages/workflow/history/src/services/workflow-operation-report-service.ts index a7b80d01..094966a8 100644 --- a/frontend/packages/workflow/history/src/services/workflow-operation-report-service.ts +++ b/frontend/packages/workflow/history/src/services/workflow-operation-report-service.ts @@ -13,10 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { snakeCase } from 'lodash-es'; import { injectable, inject } from 'inversify'; -import { reporter } from '@coze-workflow/base'; import { type AddOrDeleteLineOperationValue, type AddOrDeleteWorkflowNodeOperationValue, @@ -25,6 +24,7 @@ import { } from '@flowgram-adapter/free-layout-editor'; import { DisposableCollection } from '@flowgram-adapter/common'; import { type Operation, OperationService } from '@flowgram-adapter/common'; +import { reporter } from '@coze-workflow/base'; @injectable() export class WorkflowOperationReportService { @@ -77,7 +77,9 @@ export class WorkflowOperationReportService { fromPort = '', toPort = '', } = value as AddOrDeleteLineOperationValue; - return `${eventName} from ${from}${this.portToString(fromPort)} to ${to}${this.portToString(toPort)}`; + return `${eventName} from ${from}${this.portToString( + fromPort, + )} to ${to}${this.portToString(toPort)}`; } if ( diff --git a/frontend/packages/workflow/history/src/utils/should-merge.ts b/frontend/packages/workflow/history/src/utils/should-merge.ts index d1216391..6cf7ba29 100644 --- a/frontend/packages/workflow/history/src/utils/should-merge.ts +++ b/frontend/packages/workflow/history/src/utils/should-merge.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OperationMeta } from '@flowgram-adapter/free-layout-editor'; export const shouldMerge: OperationMeta['shouldMerge'] = (_op, prev, element) => diff --git a/frontend/packages/workflow/history/src/workflow-history-config.ts b/frontend/packages/workflow/history/src/workflow-history-config.ts index b684cd44..3ee68194 100644 --- a/frontend/packages/workflow/history/src/workflow-history-config.ts +++ b/frontend/packages/workflow/history/src/workflow-history-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; @injectable() diff --git a/frontend/packages/workflow/history/src/workflow-history-container-module.ts b/frontend/packages/workflow/history/src/workflow-history-container-module.ts index 5c1d98cf..8b18e54e 100644 --- a/frontend/packages/workflow/history/src/workflow-history-container-module.ts +++ b/frontend/packages/workflow/history/src/workflow-history-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { OperationContribution } from '@flowgram-adapter/free-layout-editor'; import { bindContributions } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/history/src/workflow-history-operations-contribution.ts b/frontend/packages/workflow/history/src/workflow-history-operations-contribution.ts index d2d342a4..a3164684 100644 --- a/frontend/packages/workflow/history/src/workflow-history-operations-contribution.ts +++ b/frontend/packages/workflow/history/src/workflow-history-operations-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { type OperationContribution, diff --git a/frontend/packages/workflow/history/src/workflow-history-shortcuts-contribution.ts b/frontend/packages/workflow/history/src/workflow-history-shortcuts-contribution.ts index b89c0e37..e146181b 100644 --- a/frontend/packages/workflow/history/src/workflow-history-shortcuts-contribution.ts +++ b/frontend/packages/workflow/history/src/workflow-history-shortcuts-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { inject, injectable } from 'inversify'; import { PlaygroundConfigEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/nodes/src/__mocks__/speeck-sdk.ts b/frontend/packages/workflow/nodes/src/__mocks__/speeck-sdk.ts index d6cf0161..680a7859 100644 --- a/frontend/packages/workflow/nodes/src/__mocks__/speeck-sdk.ts +++ b/frontend/packages/workflow/nodes/src/__mocks__/speeck-sdk.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const SpeechSDK = {}; export default SpeechSDK; diff --git a/frontend/packages/workflow/nodes/src/__tests__/index.test.ts b/frontend/packages/workflow/nodes/src/__tests__/index.test.ts index 0ad640f9..b6b61c62 100644 --- a/frontend/packages/workflow/nodes/src/__tests__/index.test.ts +++ b/frontend/packages/workflow/nodes/src/__tests__/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { it, expect, describe } from 'vitest'; describe('Hello World', () => { diff --git a/frontend/packages/workflow/nodes/src/__tests__/setup-vitest.ts b/frontend/packages/workflow/nodes/src/__tests__/setup-vitest.ts index 61eef881..26398663 100644 --- a/frontend/packages/workflow/nodes/src/__tests__/setup-vitest.ts +++ b/frontend/packages/workflow/nodes/src/__tests__/setup-vitest.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi } from 'vitest'; import { noop } from 'lodash-es'; diff --git a/frontend/packages/workflow/nodes/src/constants.ts b/frontend/packages/workflow/nodes/src/constants.ts index c8ed74ae..a972b4fe 100644 --- a/frontend/packages/workflow/nodes/src/constants.ts +++ b/frontend/packages/workflow/nodes/src/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export enum LLMModel { diff --git a/frontend/packages/workflow/nodes/src/entity-datas/index.ts b/frontend/packages/workflow/nodes/src/entity-datas/index.ts index 336a3a7b..2b5bc7ab 100644 --- a/frontend/packages/workflow/nodes/src/entity-datas/index.ts +++ b/frontend/packages/workflow/nodes/src/entity-datas/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './workflow-node-test-run-data'; export * from './workflow-node-data'; diff --git a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/index.ts b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/index.ts index 2f69b7a2..af98af88 100644 --- a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/index.ts +++ b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './workflow-node-data'; export * from './types'; diff --git a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/types.ts b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/types.ts index 2133e407..438ef49a 100644 --- a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/types.ts +++ b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StandardNodeType, type BasicStandardNodeTypes, @@ -137,8 +137,11 @@ export interface NodeData extends BasicNodeDataMap { [StandardNodeType.LLM]: LLMNodeData; } -type IfEquals = - (() => T extends X ? 1 : 2) extends () => T extends Y ? 1 : 2 ? A : B; +type IfEquals = (() => T extends X ? 1 : 2) extends < + T, +>() => T extends Y ? 1 : 2 + ? A + : B; type EditAbleProperties = { [P in keyof T]: IfEquals<{ [Q in P]: T[P] }, { -readonly [Q in P]: T[P] }, P>; diff --git a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/workflow-node-data.ts b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/workflow-node-data.ts index 14ec5d15..989f30fe 100644 --- a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/workflow-node-data.ts +++ b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-data/workflow-node-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * What is this module for? * In the node model of workflow, the default storage for data is only the form, that is, formMeta. This part of the data actually represents the data submitted to the backend for workflow execution diff --git a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/index.ts b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/index.ts index 13d7bc34..08f890b7 100644 --- a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/index.ts +++ b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './workflow-node-test-run-data'; diff --git a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/typings.ts b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/typings.ts index 53a73025..eb6638fb 100644 --- a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/typings.ts +++ b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/typings.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TestRunStatus { success = 'success', failed = 'failed', diff --git a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/workflow-node-test-run-data.ts b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/workflow-node-test-run-data.ts index b80a7062..24a56cbb 100644 --- a/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/workflow-node-test-run-data.ts +++ b/frontend/packages/workflow/nodes/src/entity-datas/workflow-node-test-run-data/workflow-node-test-run-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EntityData } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/nodes/src/global.d.ts b/frontend/packages/workflow/nodes/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/nodes/src/global.d.ts +++ b/frontend/packages/workflow/nodes/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/nodes/src/index.ts b/frontend/packages/workflow/nodes/src/index.ts index bc565e65..36b025fb 100644 --- a/frontend/packages/workflow/nodes/src/index.ts +++ b/frontend/packages/workflow/nodes/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './typings'; export * from './workflow-nodes-container-module'; export * from './entity-datas'; diff --git a/frontend/packages/workflow/nodes/src/service/index.ts b/frontend/packages/workflow/nodes/src/service/index.ts index 22e45dc7..e9f7b1ed 100644 --- a/frontend/packages/workflow/nodes/src/service/index.ts +++ b/frontend/packages/workflow/nodes/src/service/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './workflow-nodes-service'; diff --git a/frontend/packages/workflow/nodes/src/service/workflow-nodes-service.ts b/frontend/packages/workflow/nodes/src/service/workflow-nodes-service.ts index f1e796b1..e6f10365 100644 --- a/frontend/packages/workflow/nodes/src/service/workflow-nodes-service.ts +++ b/frontend/packages/workflow/nodes/src/service/workflow-nodes-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { customAlphabet } from 'nanoid'; import { inject, injectable } from 'inversify'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/constants.ts b/frontend/packages/workflow/nodes/src/setting-on-error/constants.ts index 0a4a3cea..4aa4d78f 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/constants.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers */ import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/data-transformer.ts b/frontend/packages/workflow/nodes/src/setting-on-error/data-transformer.ts index 905ef3df..e407a7c0 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/data-transformer.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableTreeNode, type StandardNodeType, diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/hooks/index.ts b/frontend/packages/workflow/nodes/src/setting-on-error/hooks/index.ts index 9186c19f..835ab6b0 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/hooks/index.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StandardNodeType } from '@coze-workflow/base/types'; import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/hooks/use-timeout-config.ts b/frontend/packages/workflow/nodes/src/setting-on-error/hooks/use-timeout-config.ts index 469504c9..62c0feb4 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/hooks/use-timeout-config.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/hooks/use-timeout-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { getTimeoutConfig } from '../utils/get-timeout-config'; diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/index.ts b/frontend/packages/workflow/nodes/src/setting-on-error/index.ts index 46488035..413f78b6 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/index.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SettingOnErrorProcessType, type SettingOnErrorExt, diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/types.ts b/frontend/packages/workflow/nodes/src/setting-on-error/types.ts index 8b2947cc..3dbcc6a1 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/types.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableTreeNode } from '@coze-workflow/base'; /** diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/utils.ts b/frontend/packages/workflow/nodes/src/setting-on-error/utils.ts index 58c78b26..6fb25b30 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/utils.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StandardNodeType } from '@coze-workflow/base'; import { diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/utils/generate-meta.ts b/frontend/packages/workflow/nodes/src/setting-on-error/utils/generate-meta.ts index 445eebb2..871ceb54 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/utils/generate-meta.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/utils/generate-meta.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/utils/get-timeout-config.ts b/frontend/packages/workflow/nodes/src/setting-on-error/utils/get-timeout-config.ts index 68daeef0..822e84ca 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/utils/get-timeout-config.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/utils/get-timeout-config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { PluginType, StandardNodeType } from '@coze-workflow/base'; import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/nodes/src/setting-on-error/utils/outputs.ts b/frontend/packages/workflow/nodes/src/setting-on-error/utils/outputs.ts index 7793f4d4..3c0df1e1 100644 --- a/frontend/packages/workflow/nodes/src/setting-on-error/utils/outputs.ts +++ b/frontend/packages/workflow/nodes/src/setting-on-error/utils/outputs.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableTreeNode } from '@coze-workflow/base'; import { ERROR_BODY_NAME, IS_SUCCESS_NAME } from '../constants'; diff --git a/frontend/packages/workflow/nodes/src/typings/form-value-to-dto.ts b/frontend/packages/workflow/nodes/src/typings/form-value-to-dto.ts index 15f3e88b..ae8aa34f 100644 --- a/frontend/packages/workflow/nodes/src/typings/form-value-to-dto.ts +++ b/frontend/packages/workflow/nodes/src/typings/form-value-to-dto.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isEmpty } from 'lodash-es'; import { VariableTypeDTO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/nodes/src/typings/index.ts b/frontend/packages/workflow/nodes/src/typings/index.ts index abf4151b..afbaac98 100644 --- a/frontend/packages/workflow/nodes/src/typings/index.ts +++ b/frontend/packages/workflow/nodes/src/typings/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type WorkflowNodeMeta, type WorkflowNodeRenderProps, diff --git a/frontend/packages/workflow/nodes/src/typings/node.ts b/frontend/packages/workflow/nodes/src/typings/node.ts index 245cd72e..d79a3c00 100644 --- a/frontend/packages/workflow/nodes/src/typings/node.ts +++ b/frontend/packages/workflow/nodes/src/typings/node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { DTODefine, VariableMetaDTO, @@ -58,7 +58,7 @@ export type DebugExample = OriginDebugExample; /** * Plugin extension protocol added properties - * + * */ export interface PluginExtendProps { title?: string; diff --git a/frontend/packages/workflow/nodes/src/typings/playground-context.ts b/frontend/packages/workflow/nodes/src/typings/playground-context.ts index 4fa1b883..6df832f8 100644 --- a/frontend/packages/workflow/nodes/src/typings/playground-context.ts +++ b/frontend/packages/workflow/nodes/src/typings/playground-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PlaygroundContext as PlaygroudContextOrigin } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowBatchService, diff --git a/frontend/packages/workflow/nodes/src/typings/services.ts b/frontend/packages/workflow/nodes/src/typings/services.ts index 4658121f..932c2ba4 100644 --- a/frontend/packages/workflow/nodes/src/typings/services.ts +++ b/frontend/packages/workflow/nodes/src/typings/services.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const DeveloperApiService = Symbol('DeveloperAPIService'); export interface DeveloperApiService { diff --git a/frontend/packages/workflow/nodes/src/typings/test-run.ts b/frontend/packages/workflow/nodes/src/typings/test-run.ts index 95c48285..bd372c8a 100644 --- a/frontend/packages/workflow/nodes/src/typings/test-run.ts +++ b/frontend/packages/workflow/nodes/src/typings/test-run.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum WorkflowRenderKey { EXECUTE_STATUS_BAR = 'execute_status_bar', // Test run top bar } diff --git a/frontend/packages/workflow/nodes/src/typings/trigger.ts b/frontend/packages/workflow/nodes/src/typings/trigger.ts index 5b02c2db..6fdb1c75 100644 --- a/frontend/packages/workflow/nodes/src/typings/trigger.ts +++ b/frontend/packages/workflow/nodes/src/typings/trigger.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValueExpression, type OutputValueVO, diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/__mocks__/mock-models.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/__mocks__/mock-models.ts index 2cad3aff..26ef2dd0 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/__mocks__/mock-models.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/__mocks__/mock-models.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const mockLLMModels = { code: 0, msg: 'success', diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/__mocks__/mock-schema.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/__mocks__/mock-schema.ts index 9433e776..9179d8fa 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/__mocks__/mock-schema.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/__mocks__/mock-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const mockSchemaForLLM = { nodes: [ { diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/add-node-data.test.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/add-node-data.test.ts index 6cd795dc..e0205f0a 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/add-node-data.test.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/add-node-data.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import type { FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import type { StandardNodeType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/get-input-type.test.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/get-input-type.test.ts index 4349c05f..0895ec7f 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/get-input-type.test.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/get-input-type.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { variableUtils } from '@coze-workflow/variable'; import { ViewVariableType, type DTODefine } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/get-llm-model-ids.test.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/get-llm-model-ids.test.ts index 6c7eef81..6018defd 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/get-llm-model-ids.test.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/get-llm-model-ids.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import type { WorkflowJSON, diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/get-llm-models.test.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/get-llm-models.test.ts index b6cf9aa5..8bf86dcc 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/get-llm-models.test.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/get-llm-models.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/get-sorted-input-parameters.test.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/get-sorted-input-parameters.test.ts index ba585e6c..0240a6f8 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/get-sorted-input-parameters.test.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/get-sorted-input-parameters.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { getSortedInputParameters } from '../get-sorted-input-parameters'; diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/llm-utils.test.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/llm-utils.test.ts index 239d59ca..12ffa74d 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/llm-utils.test.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/llm-utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { GenerationDiversity, diff --git a/frontend/packages/workflow/nodes/src/utils/__tests__/trigger-form.test.ts b/frontend/packages/workflow/nodes/src/utils/__tests__/trigger-form.test.ts index 1268f2dd..3d6882eb 100644 --- a/frontend/packages/workflow/nodes/src/utils/__tests__/trigger-form.test.ts +++ b/frontend/packages/workflow/nodes/src/utils/__tests__/trigger-form.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { getTriggerId, setTriggerId } from '../trigger-form'; diff --git a/frontend/packages/workflow/nodes/src/utils/add-node-data.ts b/frontend/packages/workflow/nodes/src/utils/add-node-data.ts index b76b9755..89c20f05 100644 --- a/frontend/packages/workflow/nodes/src/utils/add-node-data.ts +++ b/frontend/packages/workflow/nodes/src/utils/add-node-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type BasicStandardNodeTypes, diff --git a/frontend/packages/workflow/nodes/src/utils/get-input-type.ts b/frontend/packages/workflow/nodes/src/utils/get-input-type.ts index 52d98c4f..132b6e64 100644 --- a/frontend/packages/workflow/nodes/src/utils/get-input-type.ts +++ b/frontend/packages/workflow/nodes/src/utils/get-input-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { variableUtils } from '@coze-workflow/variable'; import { type DTODefine, diff --git a/frontend/packages/workflow/nodes/src/utils/get-llm-model-ids.ts b/frontend/packages/workflow/nodes/src/utils/get-llm-model-ids.ts index 0cff7cdc..95c995e5 100644 --- a/frontend/packages/workflow/nodes/src/utils/get-llm-model-ids.ts +++ b/frontend/packages/workflow/nodes/src/utils/get-llm-model-ids.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeJSON, type WorkflowJSON, diff --git a/frontend/packages/workflow/nodes/src/utils/get-llm-models.ts b/frontend/packages/workflow/nodes/src/utils/get-llm-models.ts index 5f6eee22..b876fa99 100644 --- a/frontend/packages/workflow/nodes/src/utils/get-llm-models.ts +++ b/frontend/packages/workflow/nodes/src/utils/get-llm-models.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { QueryClient } from '@tanstack/react-query'; import { captureException, diff --git a/frontend/packages/workflow/nodes/src/utils/get-sorted-input-parameters.ts b/frontend/packages/workflow/nodes/src/utils/get-sorted-input-parameters.ts index a01cfa70..d58f2bd7 100644 --- a/frontend/packages/workflow/nodes/src/utils/get-sorted-input-parameters.ts +++ b/frontend/packages/workflow/nodes/src/utils/get-sorted-input-parameters.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { groupBy, sortBy } from 'lodash-es'; import { type DTODefine } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/nodes/src/utils/index.ts b/frontend/packages/workflow/nodes/src/utils/index.ts index 2cb6c9a2..f003f1de 100644 --- a/frontend/packages/workflow/nodes/src/utils/index.ts +++ b/frontend/packages/workflow/nodes/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './node-utils'; export { getLLMModels } from './get-llm-models'; diff --git a/frontend/packages/workflow/nodes/src/utils/llm-utils.ts b/frontend/packages/workflow/nodes/src/utils/llm-utils.ts index 7a279974..f3822a66 100644 --- a/frontend/packages/workflow/nodes/src/utils/llm-utils.ts +++ b/frontend/packages/workflow/nodes/src/utils/llm-utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { mapValues, keyBy, snakeCase, isString, camelCase } from 'lodash-es'; import { GenerationDiversity, diff --git a/frontend/packages/workflow/nodes/src/utils/node-utils.ts b/frontend/packages/workflow/nodes/src/utils/node-utils.ts index 59d4df6c..b7d3a9c3 100644 --- a/frontend/packages/workflow/nodes/src/utils/node-utils.ts +++ b/frontend/packages/workflow/nodes/src/utils/node-utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isBoolean, isInteger, isNumber, isNil, get, set } from 'lodash-es'; import { type SetterOrDecoratorContext, diff --git a/frontend/packages/workflow/nodes/src/utils/trigger-form.ts b/frontend/packages/workflow/nodes/src/utils/trigger-form.ts index 1ae80688..a3daca15 100644 --- a/frontend/packages/workflow/nodes/src/utils/trigger-form.ts +++ b/frontend/packages/workflow/nodes/src/utils/trigger-form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Why maintain triggerId so much? * The new process fetchStartNodeTriggerFormValue without triggerId, after the initial save, the backend returns triggerId diff --git a/frontend/packages/workflow/nodes/src/validators/__tests__/code-empty-validator.test.ts b/frontend/packages/workflow/nodes/src/validators/__tests__/code-empty-validator.test.ts index 2057f385..8823f2c6 100644 --- a/frontend/packages/workflow/nodes/src/validators/__tests__/code-empty-validator.test.ts +++ b/frontend/packages/workflow/nodes/src/validators/__tests__/code-empty-validator.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, test, expect, vi } from 'vitest'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/nodes/src/validators/__tests__/node-meta-validator.test.ts b/frontend/packages/workflow/nodes/src/validators/__tests__/node-meta-validator.test.ts index c063bd9a..89873b75 100644 --- a/frontend/packages/workflow/nodes/src/validators/__tests__/node-meta-validator.test.ts +++ b/frontend/packages/workflow/nodes/src/validators/__tests__/node-meta-validator.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { type FormItemMaterialContext } from '@flowgram-adapter/free-layout-editor'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/nodes/src/validators/__tests__/question-option-validator.test.ts b/frontend/packages/workflow/nodes/src/validators/__tests__/question-option-validator.test.ts index 4d81e85d..dd5b95c5 100644 --- a/frontend/packages/workflow/nodes/src/validators/__tests__/question-option-validator.test.ts +++ b/frontend/packages/workflow/nodes/src/validators/__tests__/question-option-validator.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ZodIssueCode } from 'zod'; import { describe, it, vi, expect } from 'vitest'; diff --git a/frontend/packages/workflow/nodes/src/validators/__tests__/setting-on-error-validator.test.ts b/frontend/packages/workflow/nodes/src/validators/__tests__/setting-on-error-validator.test.ts index 22d5be69..8115cebb 100644 --- a/frontend/packages/workflow/nodes/src/validators/__tests__/setting-on-error-validator.test.ts +++ b/frontend/packages/workflow/nodes/src/validators/__tests__/setting-on-error-validator.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi } from 'vitest'; import { settingOnErrorValidator } from '../setting-on-error-validator'; diff --git a/frontend/packages/workflow/nodes/src/validators/__tests__/system-variable-validator.test.ts b/frontend/packages/workflow/nodes/src/validators/__tests__/system-variable-validator.test.ts index f0f3daaa..d2e84acd 100644 --- a/frontend/packages/workflow/nodes/src/validators/__tests__/system-variable-validator.test.ts +++ b/frontend/packages/workflow/nodes/src/validators/__tests__/system-variable-validator.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect, vi, beforeEach } from 'vitest'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/nodes/src/validators/code-empty-validator.ts b/frontend/packages/workflow/nodes/src/validators/code-empty-validator.ts index f37af74b..7d0ac2b0 100644 --- a/frontend/packages/workflow/nodes/src/validators/code-empty-validator.ts +++ b/frontend/packages/workflow/nodes/src/validators/code-empty-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export function codeEmptyValidator({ value }) { diff --git a/frontend/packages/workflow/nodes/src/validators/index.ts b/frontend/packages/workflow/nodes/src/validators/index.ts index fc7dd526..11c98ff2 100644 --- a/frontend/packages/workflow/nodes/src/validators/index.ts +++ b/frontend/packages/workflow/nodes/src/validators/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { nodeMetaValidator } from './node-meta-validator'; export { outputTreeValidator } from './output-tree-validator'; export { systemVariableValidator } from './system-variable-validator'; diff --git a/frontend/packages/workflow/nodes/src/validators/input-tree-validator.ts b/frontend/packages/workflow/nodes/src/validators/input-tree-validator.ts index ddca947e..d7727feb 100644 --- a/frontend/packages/workflow/nodes/src/validators/input-tree-validator.ts +++ b/frontend/packages/workflow/nodes/src/validators/input-tree-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z, type ZodSchema } from 'zod'; import { ValueExpression, diff --git a/frontend/packages/workflow/nodes/src/validators/json-schema-validator.ts b/frontend/packages/workflow/nodes/src/validators/json-schema-validator.ts index 0add7591..62e5dd99 100644 --- a/frontend/packages/workflow/nodes/src/validators/json-schema-validator.ts +++ b/frontend/packages/workflow/nodes/src/validators/json-schema-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Ajv from 'ajv'; import { variableUtils, diff --git a/frontend/packages/workflow/nodes/src/validators/node-meta-validator.ts b/frontend/packages/workflow/nodes/src/validators/node-meta-validator.ts index e1a7fba7..d34aa99c 100644 --- a/frontend/packages/workflow/nodes/src/validators/node-meta-validator.ts +++ b/frontend/packages/workflow/nodes/src/validators/node-meta-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z } from 'zod'; import { I18n } from '@coze-arch/i18n'; import { type ValidatorProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/nodes/src/validators/output-tree-validator/index.ts b/frontend/packages/workflow/nodes/src/validators/output-tree-validator/index.ts index d1fe75d5..527ab276 100644 --- a/frontend/packages/workflow/nodes/src/validators/output-tree-validator/index.ts +++ b/frontend/packages/workflow/nodes/src/validators/output-tree-validator/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValidatorProps } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/nodes/src/validators/output-tree-validator/schema.ts b/frontend/packages/workflow/nodes/src/validators/output-tree-validator/schema.ts index 501b9185..23103e66 100644 --- a/frontend/packages/workflow/nodes/src/validators/output-tree-validator/schema.ts +++ b/frontend/packages/workflow/nodes/src/validators/output-tree-validator/schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z, type ZodSchema } from 'zod'; import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/nodes/src/validators/question-option-validator.ts b/frontend/packages/workflow/nodes/src/validators/question-option-validator.ts index 8ee23e45..1f04031b 100644 --- a/frontend/packages/workflow/nodes/src/validators/question-option-validator.ts +++ b/frontend/packages/workflow/nodes/src/validators/question-option-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z, ZodIssueCode } from 'zod'; import { I18n } from '@coze-arch/i18n'; import { type ValidatorProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/nodes/src/validators/setting-on-error-validator.ts b/frontend/packages/workflow/nodes/src/validators/setting-on-error-validator.ts index dd47b2db..a4e60112 100644 --- a/frontend/packages/workflow/nodes/src/validators/setting-on-error-validator.ts +++ b/frontend/packages/workflow/nodes/src/validators/setting-on-error-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z } from 'zod'; import { type ValidatorProps } from '@flowgram-adapter/free-layout-editor'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/nodes/src/validators/system-variable-validator.ts b/frontend/packages/workflow/nodes/src/validators/system-variable-validator.ts index 0d9bfdb0..fd8732dc 100644 --- a/frontend/packages/workflow/nodes/src/validators/system-variable-validator.ts +++ b/frontend/packages/workflow/nodes/src/validators/system-variable-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValidatorProps } from '@flowgram-adapter/free-layout-editor'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/nodes/src/workflow-document-with-format.ts b/frontend/packages/workflow/nodes/src/workflow-document-with-format.ts index 8eae23eb..4e5efef9 100644 --- a/frontend/packages/workflow/nodes/src/workflow-document-with-format.ts +++ b/frontend/packages/workflow/nodes/src/workflow-document-with-format.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, multiInject, optional } from 'inversify'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/nodes/src/workflow-json-format.ts b/frontend/packages/workflow/nodes/src/workflow-json-format.ts index 65395ed4..6328d918 100644 --- a/frontend/packages/workflow/nodes/src/workflow-json-format.ts +++ b/frontend/packages/workflow/nodes/src/workflow-json-format.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isEmpty, pick, set, isFunction } from 'lodash-es'; import { injectable } from 'inversify'; import { diff --git a/frontend/packages/workflow/nodes/src/workflow-nodes-container-module.ts b/frontend/packages/workflow/nodes/src/workflow-nodes-container-module.ts index 56d313cd..993762a9 100644 --- a/frontend/packages/workflow/nodes/src/workflow-nodes-container-module.ts +++ b/frontend/packages/workflow/nodes/src/workflow-nodes-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { WorkflowJSONFormatContribution, diff --git a/frontend/packages/workflow/nodes/stories/index.stories.tsx b/frontend/packages/workflow/nodes/stories/index.stories.tsx index 0c4bc912..a66b8b4b 100644 --- a/frontend/packages/workflow/nodes/stories/index.stories.tsx +++ b/frontend/packages/workflow/nodes/stories/index.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; const Component = () =>
this is a Story Component
; diff --git a/frontend/packages/workflow/nodes/vitest.config.ts b/frontend/packages/workflow/nodes/vitest.config.ts index fb4ffb81..bf8afb78 100644 --- a/frontend/packages/workflow/nodes/vitest.config.ts +++ b/frontend/packages/workflow/nodes/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { resolve } from 'path'; import { defineConfig } from '@coze-arch/vitest-config'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/index.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/index.tsx index 08278aca..11149b86 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/index.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EmptyVariableContent } from './variable-panel/variable-panel'; import type { BotProjectVariableSelectProps } from './types'; import BotProjectVariableSelect from './select'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/empty-content.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/empty-content.tsx index 8fa54aa6..906db06f 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/empty-content.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/empty-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/option-item.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/option-item.tsx index 76db5a01..ed8a7882 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/option-item.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/panel.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/panel.tsx index f612b9cd..2a210d25 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/panel.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/use-query-bot-list.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/use-query-bot-list.tsx index 78447b1a..0c23d1d7 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/use-query-bot-list.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/use-query-bot-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery } from '@tanstack/react-query'; import { IntelligenceStatus, diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/use-related.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/use-related.tsx index 2d153234..37c957aa 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/use-related.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/related-bot-panel/use-related.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/select.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/select.tsx index f69dcec4..51e3e2fe 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/select.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useRef, useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/types.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/types.ts index ad211238..d5be82dd 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/types.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, type ReactNode } from 'react'; import { type IntelligenceType } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/variable-panel/use-related-variable.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/variable-panel/use-related-variable.tsx index 0f5c0a01..35268b07 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/variable-panel/use-related-variable.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/variable-panel/use-related-variable.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { isGlobalVariableKey } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/variable-panel/variable-panel.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/variable-panel/variable-panel.tsx index 78a24223..d0a2e809 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/variable-panel/variable-panel.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bot-project-variable-select/variable-panel/variable-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/bots.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/bots.tsx index b2278e98..7140b66a 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/bots.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/bots.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState, useRef, useMemo } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/chat-history.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/chat-history.tsx index a2c45aac..f65f1e34 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/chat-history.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/chat-history.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { JsonViewer } from '@coze-common/json-viewer'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/index.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/index.tsx index 6ad4ea3b..9a54ea15 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/index.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/item.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/item.tsx index 17ec5079..3751f502 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/item.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren } from 'react'; import styles from './item.module.less'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/table-info.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/table-info.tsx index b2ff572f..657c14da 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/table-info.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/table-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Table } from '@coze-arch/bot-semi'; import { type BotTable } from '@coze-arch/bot-api/memory'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/types.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/types.ts index df45f221..75b96b2a 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/types.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + //Backend undefined, derived from workflow_info profile_memory in bot_info import { type IntelligenceType } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/use-bot-info.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/use-bot-info.ts index 8e38c58e..7c567cad 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/use-bot-info.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/use-bot-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery } from '@tanstack/react-query'; import { IntelligenceType } from '@coze-arch/idl/intelligence_api'; import { diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/use-chat-history.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/use-chat-history.ts index 744ce785..a2bb47fb 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/use-chat-history.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/use-chat-history.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery } from '@tanstack/react-query'; import { Scene } from '@coze-arch/bot-api/developer_api'; import { DeveloperApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/use-extra-bot-option.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/use-extra-bot-option.ts index a5fd64c3..712f9e19 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/use-extra-bot-option.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/use-extra-bot-option.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { IntelligenceType } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/use-ltm-info.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/use-ltm-info.ts index f3bc4047..c26c532a 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/use-ltm-info.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/use-ltm-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import get from 'lodash-es/get'; import { TimeCapsuleMode } from '@coze-arch/idl/playground_api'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/use-project-info.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/use-project-info.ts index 21968ba3..42f48d87 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/use-project-info.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/use-project-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery } from '@tanstack/react-query'; import { IntelligenceType } from '@coze-arch/idl/intelligence_api'; import { intelligenceApi, MemoryApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/use-project-variables.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/use-project-variables.ts index 145d0587..e956e442 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/use-project-variables.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/use-project-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useProjectInfo } from './use-project-info'; export const useProjectVariables = (projectID?: string) => { diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/use-table-info.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/use-table-info.ts index c08a8a1f..b1a29f45 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/use-table-info.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/use-table-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BotTable, BotTableRWMode } from '@coze-arch/bot-api/memory'; import { transformBotInfo, useBotInfo } from './use-bot-info'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/use-variables.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/use-variables.ts index d442bbeb..6f5b97e8 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/use-variables.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/use-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Variable } from '@coze-arch/bot-api/playground_api'; import { transformBotInfo, useBotInfo } from './use-bot-info'; diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/utils.ts b/frontend/packages/workflow/playground/src/components/bot-project-select/utils.ts index b4d03bd8..feb8b1d2 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/utils.ts +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IntelligenceType } from '@coze-arch/idl/intelligence_api'; export const isItemDisabled = ( diff --git a/frontend/packages/workflow/playground/src/components/bot-project-select/variables.tsx b/frontend/packages/workflow/playground/src/components/bot-project-select/variables.tsx index dd2ec663..f72a60e7 100644 --- a/frontend/packages/workflow/playground/src/components/bot-project-select/variables.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-project-select/variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Variable } from '@coze-arch/bot-api/playground_api'; import { TagList } from '../tag-list'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/bots.tsx b/frontend/packages/workflow/playground/src/components/bot-select/bots.tsx index 5e30a0a5..618a6921 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/bots.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-select/bots.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState, useRef, useMemo } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/chat-history.tsx b/frontend/packages/workflow/playground/src/components/bot-select/chat-history.tsx index a2c45aac..f65f1e34 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/chat-history.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-select/chat-history.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { JsonViewer } from '@coze-common/json-viewer'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/index.tsx b/frontend/packages/workflow/playground/src/components/bot-select/index.tsx index 5c5184a4..a02b2154 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/index.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/item.tsx b/frontend/packages/workflow/playground/src/components/bot-select/item.tsx index fa2ca53a..811b68ca 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/item.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-select/item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren } from 'react'; import styles from './item.module.less'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/table-info.tsx b/frontend/packages/workflow/playground/src/components/bot-select/table-info.tsx index 258abf95..9ef7ef71 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/table-info.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-select/table-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Table } from '@coze-arch/bot-semi'; import { type BotTable } from '@coze-arch/bot-api/memory'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/types.ts b/frontend/packages/workflow/playground/src/components/bot-select/types.ts index e94de615..7aa4ccbd 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/types.ts +++ b/frontend/packages/workflow/playground/src/components/bot-select/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + //Backend undefined, derived from workflow_info profile_memory in bot_info export interface Variable { key: string; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/use-bot-info.ts b/frontend/packages/workflow/playground/src/components/bot-select/use-bot-info.ts index f72a3802..3832e8cc 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/use-bot-info.ts +++ b/frontend/packages/workflow/playground/src/components/bot-select/use-bot-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery } from '@tanstack/react-query'; import { type GetDraftBotInfoAgwData, diff --git a/frontend/packages/workflow/playground/src/components/bot-select/use-chat-history.ts b/frontend/packages/workflow/playground/src/components/bot-select/use-chat-history.ts index 2f39d86a..8d884706 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/use-chat-history.ts +++ b/frontend/packages/workflow/playground/src/components/bot-select/use-chat-history.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery } from '@tanstack/react-query'; import { Scene } from '@coze-arch/bot-api/developer_api'; import { DeveloperApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/use-extra-bot-option.ts b/frontend/packages/workflow/playground/src/components/bot-select/use-extra-bot-option.ts index 1abf9de5..824f153d 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/use-extra-bot-option.ts +++ b/frontend/packages/workflow/playground/src/components/bot-select/use-extra-bot-option.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { transformBotInfo, useBotInfo } from './use-bot-info'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/use-ltm-info.ts b/frontend/packages/workflow/playground/src/components/bot-select/use-ltm-info.ts index f3bc4047..c26c532a 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/use-ltm-info.ts +++ b/frontend/packages/workflow/playground/src/components/bot-select/use-ltm-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import get from 'lodash-es/get'; import { TimeCapsuleMode } from '@coze-arch/idl/playground_api'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/use-table-info.ts b/frontend/packages/workflow/playground/src/components/bot-select/use-table-info.ts index c08a8a1f..b1a29f45 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/use-table-info.ts +++ b/frontend/packages/workflow/playground/src/components/bot-select/use-table-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BotTable, BotTableRWMode } from '@coze-arch/bot-api/memory'; import { transformBotInfo, useBotInfo } from './use-bot-info'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/use-variables.ts b/frontend/packages/workflow/playground/src/components/bot-select/use-variables.ts index d442bbeb..6f5b97e8 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/use-variables.ts +++ b/frontend/packages/workflow/playground/src/components/bot-select/use-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Variable } from '@coze-arch/bot-api/playground_api'; import { transformBotInfo, useBotInfo } from './use-bot-info'; diff --git a/frontend/packages/workflow/playground/src/components/bot-select/variables.tsx b/frontend/packages/workflow/playground/src/components/bot-select/variables.tsx index dd2ec663..f72a60e7 100644 --- a/frontend/packages/workflow/playground/src/components/bot-select/variables.tsx +++ b/frontend/packages/workflow/playground/src/components/bot-select/variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Variable } from '@coze-arch/bot-api/playground_api'; import { TagList } from '../tag-list'; diff --git a/frontend/packages/workflow/playground/src/components/chat-history-round/index.tsx b/frontend/packages/workflow/playground/src/components/chat-history-round/index.tsx index 8ac9d9ac..eac5f6c5 100644 --- a/frontend/packages/workflow/playground/src/components/chat-history-round/index.tsx +++ b/frontend/packages/workflow/playground/src/components/chat-history-round/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/index.tsx b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/index.tsx index 54f74c29..78ef7fe7 100644 --- a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/index.tsx +++ b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; // import { useMutation } from '@tanstack/react-query'; diff --git a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/message-form.tsx b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/message-form.tsx index 5c3f0e1b..2dea7d81 100644 --- a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/message-form.tsx +++ b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/message-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/title.tsx b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/title.tsx index a988d07b..dd84a806 100644 --- a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/title.tsx +++ b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/title.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/types.ts b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/types.ts index 638408e1..34befbbf 100644 --- a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/types.ts +++ b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface MessageFormValue { // eslint-disable-next-line @typescript-eslint/naming-convention Messages: Array; diff --git a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/use-generate-message-form-init-value.tsx b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/use-generate-message-form-init-value.tsx index 5666cee7..2e299ff5 100644 --- a/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/use-generate-message-form-init-value.tsx +++ b/frontend/packages/workflow/playground/src/components/chat-testrun-pause-side-sheet/use-generate-message-form-init-value.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useGetSceneFlowRoleList } from '../../hooks/use-get-scene-flow-params'; import { type SpeakerMessageSetValue } from '../../form-extensions/setters/speaker-message-set-array/types'; import { type MessageValue } from './types'; diff --git a/frontend/packages/workflow/playground/src/components/code-editor/code-editor.tsx b/frontend/packages/workflow/playground/src/components/code-editor/code-editor.tsx index 80460a16..9ae7a90b 100644 --- a/frontend/packages/workflow/playground/src/components/code-editor/code-editor.tsx +++ b/frontend/packages/workflow/playground/src/components/code-editor/code-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createRenderer, option } from '@coze-editor/editor/react'; import preset, { languages, themes } from '@coze-editor/editor/preset-code'; import { shell } from '@coze-editor/editor/language-shell'; @@ -46,16 +46,16 @@ const minHeightOption = (value?: string | number) => typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, '&.cm-editor': { minHeight: typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, }); @@ -66,8 +66,8 @@ const maxHeightOption = (value?: string | number) => typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, }); @@ -78,8 +78,8 @@ const heightOption = (value?: string | number) => typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, }); @@ -90,8 +90,8 @@ const paddingOption = (value?: string | number) => typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, }); @@ -102,8 +102,8 @@ const borderRadiusOption = (value?: string | number) => typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, }); @@ -114,8 +114,8 @@ const lineHeightOption = (value?: string | number) => typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, }); diff --git a/frontend/packages/workflow/playground/src/components/code-editor/index.ts b/frontend/packages/workflow/playground/src/components/code-editor/index.ts index be4b9d30..78c18e9c 100644 --- a/frontend/packages/workflow/playground/src/components/code-editor/index.ts +++ b/frontend/packages/workflow/playground/src/components/code-editor/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { EditorProvider } from '@coze-editor/editor/react'; export { CodeEditor } from './code-editor'; export { TextEditor } from './text-editor'; diff --git a/frontend/packages/workflow/playground/src/components/code-editor/text-editor.tsx b/frontend/packages/workflow/playground/src/components/code-editor/text-editor.tsx index ad7a2aa0..41a50963 100644 --- a/frontend/packages/workflow/playground/src/components/code-editor/text-editor.tsx +++ b/frontend/packages/workflow/playground/src/components/code-editor/text-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createRenderer, option } from '@coze-editor/editor/react'; import universal from '@coze-editor/editor/preset-universal'; import { mixLanguages } from '@coze-editor/editor'; @@ -36,8 +36,8 @@ const minHeightOption = (value?: string | number) => typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, }); @@ -48,8 +48,8 @@ const lineHeightOption = (value?: string | number) => typeof value === 'number' ? `${value}px` : typeof value === 'string' - ? value - : 'unset', + ? value + : 'unset', }, }); diff --git a/frontend/packages/workflow/playground/src/components/code-editor/themes/coze-dark.ts b/frontend/packages/workflow/playground/src/components/code-editor/themes/coze-dark.ts index 99ed958e..a7449b65 100644 --- a/frontend/packages/workflow/playground/src/components/code-editor/themes/coze-dark.ts +++ b/frontend/packages/workflow/playground/src/components/code-editor/themes/coze-dark.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createTheme, tags as t } from '@coze-editor/editor/preset-code'; import { EditorView } from '@codemirror/view'; diff --git a/frontend/packages/workflow/playground/src/components/code-editor/themes/coze-light.ts b/frontend/packages/workflow/playground/src/components/code-editor/themes/coze-light.ts index 9c471e23..9554196d 100644 --- a/frontend/packages/workflow/playground/src/components/code-editor/themes/coze-light.ts +++ b/frontend/packages/workflow/playground/src/components/code-editor/themes/coze-light.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createTheme, tags as t } from '@coze-editor/editor/preset-code'; import { EditorView } from '@codemirror/view'; diff --git a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/blocks.ts b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/blocks.ts index 921613d9..d8409ab5 100644 --- a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/blocks.ts +++ b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/blocks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorBlock } from '../../type'; import { getCozeCom, getCozeCn } from './util'; diff --git a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/html.ts b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/html.ts index f1848084..7674d457 100644 --- a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/html.ts +++ b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/html.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getCozeCom, getCozeCn } from './util'; export const commentEditorMockHTML = `

Workflow Comment

[Format]

Bold Italic Underline Strikethrough Mixed

[Quote]

This line should be displayed as a quote.

Line 2: content.

Line 3: content.

[Bullet List]

  • item order 1
  • item order 2
  • item order 3

[Numbered List]

  1. item order 1
  2. item order 2
  3. item order 3

[Hyper Link]

Coze 👉🏻 coze.com

Coze for CN 👉🏻 coze.cn

[Heading]

Heading 1

Heading 2

Heading 3

Heading Formatted

`; diff --git a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/index.ts b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/index.ts index 22c41396..1ce05d8c 100644 --- a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/index.ts +++ b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { commentEditorMockMarkdown } from './markdown'; export { commentEditorMockText } from './text'; export { commentEditorMockBlocks } from './blocks'; diff --git a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/json.ts b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/json.ts index 49348784..9b2f2f49 100644 --- a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/json.ts +++ b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { commentEditorMockBlocks } from './blocks'; export const commentEditorMockJSON = JSON.stringify(commentEditorMockBlocks); diff --git a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/markdown.ts b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/markdown.ts index cdf75129..69bb63f8 100644 --- a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/markdown.ts +++ b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/markdown.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getCozeCom, getCozeCn } from './util'; export const commentEditorMockMarkdown = `# __**Workflow Comment**__ diff --git a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/text.ts b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/text.ts index 60253ff4..f27c1a61 100644 --- a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/text.ts +++ b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const commentEditorMockText = `Workflow Comment [Format] Bold Italic Underline Strikethrough Mixed diff --git a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/util.ts b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/util.ts index 3e2fdd46..a338e496 100644 --- a/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/util.ts +++ b/frontend/packages/workflow/playground/src/components/comment/__tests__/mock/util.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getCozeCom = () => ['https://', 'coze.com'].join(''); export const getCozeCn = () => ['https://', 'coze.cn'].join(''); diff --git a/frontend/packages/workflow/playground/src/components/comment/__tests__/parser.test.ts b/frontend/packages/workflow/playground/src/components/comment/__tests__/parser.test.ts index 273f8848..6a3adcfb 100644 --- a/frontend/packages/workflow/playground/src/components/comment/__tests__/parser.test.ts +++ b/frontend/packages/workflow/playground/src/components/comment/__tests__/parser.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { CommentEditorParser } from '../parsers'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/block-prefix.ts b/frontend/packages/workflow/playground/src/components/comment/commands/block-prefix.ts index ef7bb91e..4c4f6737 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/block-prefix.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/block-prefix.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Editor } from 'slate'; import type { CommentEditorCommand } from '../type'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/bold.ts b/frontend/packages/workflow/playground/src/components/comment/commands/bold.ts index fd7dac58..ed964e6d 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/bold.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/bold.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorCommand } from '../type'; import { CommentEditorLeafFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/clear-format.ts b/frontend/packages/workflow/playground/src/components/comment/commands/clear-format.ts index 85430479..f37b1204 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/clear-format.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/clear-format.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorCommand } from '../type'; import { CommentEditorBlockFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/heading.ts b/frontend/packages/workflow/playground/src/components/comment/commands/heading.ts index ee20abab..c3f40d8a 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/heading.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/heading.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorCommand } from '../type'; import { CommentEditorBlockFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/index.ts b/frontend/packages/workflow/playground/src/components/comment/commands/index.ts index 774281e4..bd98ab0d 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/index.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { selectAllCommand } from './select-all'; export { boldCommand } from './bold'; export { italicCommand } from './italic'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/italic.ts b/frontend/packages/workflow/playground/src/components/comment/commands/italic.ts index ab703c8e..eb539817 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/italic.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/italic.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorCommand } from '../type'; import { CommentEditorLeafFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/paragraph.ts b/frontend/packages/workflow/playground/src/components/comment/commands/paragraph.ts index cfac0093..c9bb68b0 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/paragraph.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/paragraph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorCommand } from '../type'; import { CommentEditorBlockFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/quote.ts b/frontend/packages/workflow/playground/src/components/comment/commands/quote.ts index baa41b5f..2e41ea98 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/quote.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/quote.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorCommand } from '../type'; import { CommentEditorBlockFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/select-all.ts b/frontend/packages/workflow/playground/src/components/comment/commands/select-all.ts index c9081175..79f7b575 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/select-all.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/select-all.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Editor, Transforms } from 'slate'; import type { CommentEditorCommand } from '../type'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/strikethrough.ts b/frontend/packages/workflow/playground/src/components/comment/commands/strikethrough.ts index 4036beff..503c378f 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/strikethrough.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/strikethrough.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorCommand } from '../type'; import { CommentEditorLeafFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/commands/underline.ts b/frontend/packages/workflow/playground/src/components/comment/commands/underline.ts index c005ebf8..7a390548 100644 --- a/frontend/packages/workflow/playground/src/components/comment/commands/underline.ts +++ b/frontend/packages/workflow/playground/src/components/comment/commands/underline.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CommentEditorCommand } from '../type'; import { CommentEditorLeafFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/blank-area.tsx b/frontend/packages/workflow/playground/src/components/comment/components/blank-area.tsx index aab246cc..235e953c 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/blank-area.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/blank-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/comment/components/border-area.tsx b/frontend/packages/workflow/playground/src/components/comment/components/border-area.tsx index bc18294f..020a4f55 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/border-area.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/border-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/container.tsx b/frontend/packages/workflow/playground/src/components/comment/components/container.tsx index 348b620c..a62dbc02 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/container.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/container.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC, type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/content-drag-area.tsx b/frontend/packages/workflow/playground/src/components/comment/components/content-drag-area.tsx index 38577870..f817b6ce 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/content-drag-area.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/content-drag-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState, useEffect, type WheelEventHandler } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/drag-area.tsx b/frontend/packages/workflow/playground/src/components/comment/components/drag-area.tsx index 5f19bfb4..8d3a973e 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/drag-area.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/drag-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/editor/block.tsx b/frontend/packages/workflow/playground/src/components/comment/components/editor/block.tsx index 2a223db5..e66e1f1b 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/editor/block.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/editor/block.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CommentEditorBlockFormat } from '../../constant'; export const Block = ({ attributes, children, element }) => { diff --git a/frontend/packages/workflow/playground/src/components/comment/components/editor/index.tsx b/frontend/packages/workflow/playground/src/components/comment/components/editor/index.tsx index c0f7ddcc..318f900c 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/editor/index.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useCallback, diff --git a/frontend/packages/workflow/playground/src/components/comment/components/editor/leaf.tsx b/frontend/packages/workflow/playground/src/components/comment/components/editor/leaf.tsx index 23dda019..faacd029 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/editor/leaf.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/editor/leaf.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CommentEditorLeafFormat, CommentDefaultLink } from '../../constant'; export const Leaf = ({ attributes, children, leaf }) => { diff --git a/frontend/packages/workflow/playground/src/components/comment/components/editor/placeholder.tsx b/frontend/packages/workflow/playground/src/components/comment/components/editor/placeholder.tsx index 18a3c86b..0e5f16aa 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/editor/placeholder.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/editor/placeholder.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type RenderPlaceholderProps } from 'slate-react'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/index.ts b/frontend/packages/workflow/playground/src/components/comment/components/index.ts index 70068b3e..1e411ff1 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/index.ts +++ b/frontend/packages/workflow/playground/src/components/comment/components/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CommentRender } from './render'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/render.tsx b/frontend/packages/workflow/playground/src/components/comment/components/render.tsx index d1a2e231..bd0d5481 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/render.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ErrorBoundary } from 'react-error-boundary'; import { type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/resize-area.tsx b/frontend/packages/workflow/playground/src/components/comment/components/resize-area.tsx index 48ed2fd3..79f9cdcf 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/resize-area.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/resize-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/index.tsx b/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/index.tsx index 98cfdc83..e8ab136f 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/index.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type RefObject, useRef } from 'react'; import { CommentToolbar } from '../toolbar'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/portal.tsx b/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/portal.tsx index 4200bc5e..15550c5d 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/portal.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/portal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactDOM from 'react-dom'; import { type ReactNode } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/use-activate.ts b/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/use-activate.ts index bd6c8677..9ec6bd25 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/use-activate.ts +++ b/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/use-activate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention -- inner value */ /* eslint-disable react-hooks/exhaustive-deps -- init */ import { type RefObject, useCallback, useEffect, useState } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/use-position.ts b/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/use-position.ts index 62a5679b..1fe70d83 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/use-position.ts +++ b/frontend/packages/workflow/playground/src/components/comment/components/toolbar-container/use-position.ts @@ -13,11 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefObject, useState, useCallback, useEffect } from 'react'; import { ReactEditor } from 'slate-react'; -import { type PositionSchema, usePlayground } from '@flowgram-adapter/free-layout-editor'; +import { + type PositionSchema, + usePlayground, +} from '@flowgram-adapter/free-layout-editor'; import type { CommentEditorModel } from '../../model'; import { CommentEditorEvent } from '../../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/components/toolbar.tsx b/frontend/packages/workflow/playground/src/components/comment/components/toolbar.tsx index 13d99b2d..b46c9aa6 100644 --- a/frontend/packages/workflow/playground/src/components/comment/components/toolbar.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/components/toolbar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function -- no need to split */ import { type RefObject, type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/comment/constant.ts b/frontend/packages/workflow/playground/src/components/comment/constant.ts index 07819ef7..47c68512 100644 --- a/frontend/packages/workflow/playground/src/components/comment/constant.ts +++ b/frontend/packages/workflow/playground/src/components/comment/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention -- enum */ export enum CommentEditorFormField { diff --git a/frontend/packages/workflow/playground/src/components/comment/hooks/index.ts b/frontend/packages/workflow/playground/src/components/comment/hooks/index.ts index 72414339..64d05d9e 100644 --- a/frontend/packages/workflow/playground/src/components/comment/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/components/comment/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useModel } from './use-model'; export { useSize } from './use-size'; export { useOverflow } from './use-overflow'; diff --git a/frontend/packages/workflow/playground/src/components/comment/hooks/use-model.ts b/frontend/packages/workflow/playground/src/components/comment/hooks/use-model.ts index c46d4fab..c598e88a 100644 --- a/frontend/packages/workflow/playground/src/components/comment/hooks/use-model.ts +++ b/frontend/packages/workflow/playground/src/components/comment/hooks/use-model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo } from 'react'; import { type FormModelV2 } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/comment/hooks/use-overflow.ts b/frontend/packages/workflow/playground/src/components/comment/hooks/use-overflow.ts index 26294ee8..34bad8db 100644 --- a/frontend/packages/workflow/playground/src/components/comment/hooks/use-overflow.ts +++ b/frontend/packages/workflow/playground/src/components/comment/hooks/use-overflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState, useEffect } from 'react'; import { usePlayground } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/comment/hooks/use-size.ts b/frontend/packages/workflow/playground/src/components/comment/hooks/use-size.ts index c63393a1..1532761b 100644 --- a/frontend/packages/workflow/playground/src/components/comment/hooks/use-size.ts +++ b/frontend/packages/workflow/playground/src/components/comment/hooks/use-size.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function -- no need fix */ /* eslint-disable @typescript-eslint/no-magic-numbers -- no need fix */ import { useCallback, useState, useEffect } from 'react'; @@ -24,7 +24,10 @@ import { HistoryService, } from '@flowgram-adapter/free-layout-editor'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; -import { TransformData, usePlayground } from '@flowgram-adapter/free-layout-editor'; +import { + TransformData, + usePlayground, +} from '@flowgram-adapter/free-layout-editor'; import { useCurrentEntity, useService, diff --git a/frontend/packages/workflow/playground/src/components/comment/index.tsx b/frontend/packages/workflow/playground/src/components/comment/index.tsx index bb123ba3..3c4c5de4 100644 --- a/frontend/packages/workflow/playground/src/components/comment/index.tsx +++ b/frontend/packages/workflow/playground/src/components/comment/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CommentRender } from './components'; export { CommentEditorParser } from './parsers'; diff --git a/frontend/packages/workflow/playground/src/components/comment/model.ts b/frontend/packages/workflow/playground/src/components/comment/model.ts index c4ce00f9..785bc28d 100644 --- a/frontend/packages/workflow/playground/src/components/comment/model.ts +++ b/frontend/packages/workflow/playground/src/components/comment/model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/require-await -- async to avoid block slate render */ import type { KeyboardEventHandler, ClipboardEvent } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/comment/parsers/html.ts b/frontend/packages/workflow/playground/src/components/comment/parsers/html.ts index dc20bb1b..f7c549b4 100644 --- a/frontend/packages/workflow/playground/src/components/comment/parsers/html.ts +++ b/frontend/packages/workflow/playground/src/components/comment/parsers/html.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers -- no need */ /* eslint-disable @typescript-eslint/no-namespace -- namespace is necessary */ @@ -71,8 +71,8 @@ export namespace CommentEditorHTMLParser { block.type === CommentEditorBlockFormat.HeadingOne ? 1 : block.type === CommentEditorBlockFormat.HeadingTwo - ? 2 - : 3; + ? 2 + : 3; return `${content}`; }; diff --git a/frontend/packages/workflow/playground/src/components/comment/parsers/index.ts b/frontend/packages/workflow/playground/src/components/comment/parsers/index.ts index 1a0ccd4b..e34d2b24 100644 --- a/frontend/packages/workflow/playground/src/components/comment/parsers/index.ts +++ b/frontend/packages/workflow/playground/src/components/comment/parsers/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace -- namespace is necessary */ import { CommentEditorTextParser } from './text'; diff --git a/frontend/packages/workflow/playground/src/components/comment/parsers/json.ts b/frontend/packages/workflow/playground/src/components/comment/parsers/json.ts index fd3b34ad..4d4e18ee 100644 --- a/frontend/packages/workflow/playground/src/components/comment/parsers/json.ts +++ b/frontend/packages/workflow/playground/src/components/comment/parsers/json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace -- namespace is necessary */ import type { CommentEditorBlock } from '../type'; import { diff --git a/frontend/packages/workflow/playground/src/components/comment/parsers/markdown.ts b/frontend/packages/workflow/playground/src/components/comment/parsers/markdown.ts index 96928a54..f7c9dbd7 100644 --- a/frontend/packages/workflow/playground/src/components/comment/parsers/markdown.ts +++ b/frontend/packages/workflow/playground/src/components/comment/parsers/markdown.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers -- no need */ /* eslint-disable @typescript-eslint/no-namespace -- namespace is necessary */ import type { CommentEditorBlock, CommentEditorLeaf } from '../type'; @@ -70,8 +70,8 @@ export namespace CommentEditorMarkdownParser { block.type === CommentEditorBlockFormat.HeadingOne ? 1 : block.type === CommentEditorBlockFormat.HeadingTwo - ? 2 - : 3; + ? 2 + : 3; return `${'#'.repeat(level)} ${content}\n\n`; }; diff --git a/frontend/packages/workflow/playground/src/components/comment/parsers/text.ts b/frontend/packages/workflow/playground/src/components/comment/parsers/text.ts index a45bad87..2846fddd 100644 --- a/frontend/packages/workflow/playground/src/components/comment/parsers/text.ts +++ b/frontend/packages/workflow/playground/src/components/comment/parsers/text.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-namespace -- namespace is necessary */ import type { CommentEditorBlock, CommentEditorLeaf } from '../type'; import { CommentEditorBlockFormat } from '../constant'; diff --git a/frontend/packages/workflow/playground/src/components/comment/type.ts b/frontend/packages/workflow/playground/src/components/comment/type.ts index abc8f78e..a59aa8ff 100644 --- a/frontend/packages/workflow/playground/src/components/comment/type.ts +++ b/frontend/packages/workflow/playground/src/components/comment/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { KeyboardEventHandler } from 'react'; import type { Node as SlateNode, Element as SlateElement } from 'slate'; diff --git a/frontend/packages/workflow/playground/src/components/condition-item-logic/condition-item-logic.tsx b/frontend/packages/workflow/playground/src/components/condition-item-logic/condition-item-logic.tsx index d2f9d8b2..b383d158 100644 --- a/frontend/packages/workflow/playground/src/components/condition-item-logic/condition-item-logic.tsx +++ b/frontend/packages/workflow/playground/src/components/condition-item-logic/condition-item-logic.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { ConditionLogic } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/condition-item-logic/constants.ts b/frontend/packages/workflow/playground/src/components/condition-item-logic/constants.ts index 90e1af4e..de2bc4af 100644 --- a/frontend/packages/workflow/playground/src/components/condition-item-logic/constants.ts +++ b/frontend/packages/workflow/playground/src/components/condition-item-logic/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConditionLogic } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/condition-item-logic/index.ts b/frontend/packages/workflow/playground/src/components/condition-item-logic/index.ts index 89e695e1..320bf5f5 100644 --- a/frontend/packages/workflow/playground/src/components/condition-item-logic/index.ts +++ b/frontend/packages/workflow/playground/src/components/condition-item-logic/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ConditionItemLogic, ConditionItemLogicProps, diff --git a/frontend/packages/workflow/playground/src/components/conversation-select/conversations.tsx b/frontend/packages/workflow/playground/src/components/conversation-select/conversations.tsx index a054775d..c88824a6 100644 --- a/frontend/packages/workflow/playground/src/components/conversation-select/conversations.tsx +++ b/frontend/packages/workflow/playground/src/components/conversation-select/conversations.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState, useMemo } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/conversation-select/index.tsx b/frontend/packages/workflow/playground/src/components/conversation-select/index.tsx index 56afd2cd..643d9bd2 100644 --- a/frontend/packages/workflow/playground/src/components/conversation-select/index.tsx +++ b/frontend/packages/workflow/playground/src/components/conversation-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { withField } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/playground/src/components/copy-button/index.tsx b/frontend/packages/workflow/playground/src/components/copy-button/index.tsx index 4131dd15..df809dd8 100644 --- a/frontend/packages/workflow/playground/src/components/copy-button/index.tsx +++ b/frontend/packages/workflow/playground/src/components/copy-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/cost-popover/index.tsx b/frontend/packages/workflow/playground/src/components/cost-popover/index.tsx index 71f28acb..ec645152 100644 --- a/frontend/packages/workflow/playground/src/components/cost-popover/index.tsx +++ b/frontend/packages/workflow/playground/src/components/cost-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren, useRef } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/custom-port/index.tsx b/frontend/packages/workflow/playground/src/components/custom-port/index.tsx index a34bb6fa..a1ce6890 100644 --- a/frontend/packages/workflow/playground/src/components/custom-port/index.tsx +++ b/frontend/packages/workflow/playground/src/components/custom-port/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createPortal } from 'react-dom'; import { type CSSProperties } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/database-detail-modal/database-detail-model.tsx b/frontend/packages/workflow/playground/src/components/database-detail-modal/database-detail-model.tsx index 0befe5b7..01bcabf8 100644 --- a/frontend/packages/workflow/playground/src/components/database-detail-modal/database-detail-model.tsx +++ b/frontend/packages/workflow/playground/src/components/database-detail-modal/database-detail-model.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Modal } from '@coze-arch/bot-semi'; import { DatabaseDetailComponent } from '@coze-data/database-v2'; diff --git a/frontend/packages/workflow/playground/src/components/database-detail-modal/index.ts b/frontend/packages/workflow/playground/src/components/database-detail-modal/index.ts index 0f53ffe3..f57d8c1f 100644 --- a/frontend/packages/workflow/playground/src/components/database-detail-modal/index.ts +++ b/frontend/packages/workflow/playground/src/components/database-detail-modal/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DatabaseDetailModal } from './database-detail-model'; export { useOpenDatabaseDetail } from './use-open-database-detail'; diff --git a/frontend/packages/workflow/playground/src/components/database-detail-modal/types.ts b/frontend/packages/workflow/playground/src/components/database-detail-modal/types.ts index 00e3f3ca..621d567b 100644 --- a/frontend/packages/workflow/playground/src/components/database-detail-modal/types.ts +++ b/frontend/packages/workflow/playground/src/components/database-detail-modal/types.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type DatabaseDetailTab = 'structure' | 'draft' | 'online'; diff --git a/frontend/packages/workflow/playground/src/components/database-detail-modal/use-open-database-detail.ts b/frontend/packages/workflow/playground/src/components/database-detail-modal/use-open-database-detail.ts index d8a0d40f..c75115cb 100644 --- a/frontend/packages/workflow/playground/src/components/database-detail-modal/use-open-database-detail.ts +++ b/frontend/packages/workflow/playground/src/components/database-detail-modal/use-open-database-detail.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { set, get } from 'lodash-es'; import { useWorkflowNode, StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/database-detail-modal/use-workflow-detail-modal-store.ts b/frontend/packages/workflow/playground/src/components/database-detail-modal/use-workflow-detail-modal-store.ts index 886d9994..9df49bec 100644 --- a/frontend/packages/workflow/playground/src/components/database-detail-modal/use-workflow-detail-modal-store.ts +++ b/frontend/packages/workflow/playground/src/components/database-detail-modal/use-workflow-detail-modal-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/workflow/playground/src/components/drag-tooltip/index.tsx b/frontend/packages/workflow/playground/src/components/drag-tooltip/index.tsx index bb3f7082..1ea38d76 100644 --- a/frontend/packages/workflow/playground/src/components/drag-tooltip/index.tsx +++ b/frontend/packages/workflow/playground/src/components/drag-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDragLayer } from 'react-dnd'; import { useMemo, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/editor-container/expand-editor/index.tsx b/frontend/packages/workflow/playground/src/components/editor-container/expand-editor/index.tsx index dea38880..7c6aebc8 100644 --- a/frontend/packages/workflow/playground/src/components/editor-container/expand-editor/index.tsx +++ b/frontend/packages/workflow/playground/src/components/editor-container/expand-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC } from 'react'; import classNames from 'classnames'; @@ -83,7 +83,9 @@ export const ExpandEditorContainer: FC = props => { ) : null} - {actions?.map((action, index) => {action})} + {actions?.map((action, index) => ( + {action} + ))} {closeButton ?? ( diff --git a/frontend/packages/workflow/playground/src/components/editor-container/index.ts b/frontend/packages/workflow/playground/src/components/editor-container/index.ts index d5d11157..69407f30 100644 --- a/frontend/packages/workflow/playground/src/components/editor-container/index.ts +++ b/frontend/packages/workflow/playground/src/components/editor-container/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ExpandEditorContainer } from './expand-editor'; export { InnerEditorContainer } from './inner-editor'; export { EditorThemeProvider } from './theme-provider'; diff --git a/frontend/packages/workflow/playground/src/components/editor-container/inner-editor/index.tsx b/frontend/packages/workflow/playground/src/components/editor-container/inner-editor/index.tsx index 617052af..37e644de 100644 --- a/frontend/packages/workflow/playground/src/components/editor-container/inner-editor/index.tsx +++ b/frontend/packages/workflow/playground/src/components/editor-container/inner-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useState, type FC } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/editor-container/theme-provider.tsx b/frontend/packages/workflow/playground/src/components/editor-container/theme-provider.tsx index 4b7f7c0f..aa988ab9 100644 --- a/frontend/packages/workflow/playground/src/components/editor-container/theme-provider.tsx +++ b/frontend/packages/workflow/playground/src/components/editor-container/theme-provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/file-icon/get-icon-by-extension.ts b/frontend/packages/workflow/playground/src/components/file-icon/get-icon-by-extension.ts index 3acba7b0..2418d42d 100644 --- a/frontend/packages/workflow/playground/src/components/file-icon/get-icon-by-extension.ts +++ b/frontend/packages/workflow/playground/src/components/file-icon/get-icon-by-extension.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mime from 'mime-types'; import { IconCozFileAudio, diff --git a/frontend/packages/workflow/playground/src/components/file-icon/index.tsx b/frontend/packages/workflow/playground/src/components/file-icon/index.tsx index 799e1ede..4c08ea09 100644 --- a/frontend/packages/workflow/playground/src/components/file-icon/index.tsx +++ b/frontend/packages/workflow/playground/src/components/file-icon/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { IconCozFileImage } from '@coze-arch/coze-design/illustrations'; diff --git a/frontend/packages/workflow/playground/src/components/float-layout/float-layout.tsx b/frontend/packages/workflow/playground/src/components/float-layout/float-layout.tsx index 2b3c6f72..f4b36a00 100644 --- a/frontend/packages/workflow/playground/src/components/float-layout/float-layout.tsx +++ b/frontend/packages/workflow/playground/src/components/float-layout/float-layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Layout floating layer covering the entire canvas, carrying some linked suspension components */ diff --git a/frontend/packages/workflow/playground/src/components/float-layout/float-panel.tsx b/frontend/packages/workflow/playground/src/components/float-layout/float-panel.tsx index de30e07d..a1e9620c 100644 --- a/frontend/packages/workflow/playground/src/components/float-layout/float-panel.tsx +++ b/frontend/packages/workflow/playground/src/components/float-layout/float-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { useEffect, useState, startTransition, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/float-layout/index.ts b/frontend/packages/workflow/playground/src/components/float-layout/index.ts index 7e8a41c1..e7f31f24 100644 --- a/frontend/packages/workflow/playground/src/components/float-layout/index.ts +++ b/frontend/packages/workflow/playground/src/components/float-layout/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FloatLayout, FloatLayoutProps } from './float-layout'; export { PanelWrap } from './panel-wrap'; diff --git a/frontend/packages/workflow/playground/src/components/float-layout/panel-wrap.tsx b/frontend/packages/workflow/playground/src/components/float-layout/panel-wrap.tsx index e9e058f2..fef8f650 100644 --- a/frontend/packages/workflow/playground/src/components/float-layout/panel-wrap.tsx +++ b/frontend/packages/workflow/playground/src/components/float-layout/panel-wrap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { useGlobalState } from '../../hooks'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/empty-role-avatar.tsx b/frontend/packages/workflow/playground/src/components/flow-role/empty-role-avatar.tsx index f5f6689e..a20e3293 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/empty-role-avatar.tsx +++ b/frontend/packages/workflow/playground/src/components/flow-role/empty-role-avatar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CozAvatar, type AvatarProps } from '@coze-arch/coze-design'; import img from './avatar.png'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/index.ts b/frontend/packages/workflow/playground/src/components/flow-role/index.ts index 47406fe5..dd39191c 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/index.ts +++ b/frontend/packages/workflow/playground/src/components/flow-role/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { RoleButton } from './role-button'; export { RoleConfigPanel } from './role-config-panel'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-button/index.tsx b/frontend/packages/workflow/playground/src/components/flow-role/role-button/index.tsx index eedd90bf..c1d9cd75 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-button/index.tsx +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-button/onboarding.tsx b/frontend/packages/workflow/playground/src/components/flow-role/role-button/onboarding.tsx index 28e050ec..b73cff4e 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-button/onboarding.tsx +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-button/onboarding.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-button/role-avatar.tsx b/frontend/packages/workflow/playground/src/components/flow-role/role-button/role-avatar.tsx index 78ac4259..8a8784a9 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-button/role-avatar.tsx +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-button/role-avatar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { CozAvatar } from '@coze-arch/coze-design'; import { EmptyRoleAvatar } from '../empty-role-avatar'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/index.ts b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/index.ts index 442e08b2..8ef51435 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/index.ts +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { RoleConfigForm } from './config-form'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/auto-generate/index.tsx b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/auto-generate/index.tsx index 665ffdd0..5eca8ab4 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/auto-generate/index.tsx +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/auto-generate/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo, useRef, useState } from 'react'; import { isFunction } from 'lodash-es'; @@ -29,13 +29,7 @@ import { IconCozCheckMark, IconCozCrossCircle, } from '@coze-arch/coze-design/icons'; -import { - Tooltip, - Toast, - Image, - AIButton, - Space, -} from '@coze-arch/coze-design'; +import { Tooltip, Toast, Image, AIButton, Space } from '@coze-arch/coze-design'; import { loadImage } from '@coze-arch/bot-utils'; import { DeveloperApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/index.ts b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/index.ts index dc457855..f872ca94 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/index.ts +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { RoleAvatarUpload } from './picture-upload'; export { default as customUploadRequest } from './utils/custom-upload-request'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/utils/custom-upload-request.ts b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/utils/custom-upload-request.ts index 3dacf4be..d2a11875 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/utils/custom-upload-request.ts +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/utils/custom-upload-request.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; import { I18n } from '@coze-arch/i18n'; import { type customRequestArgs } from '@coze-arch/bot-semi/Upload'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/utils/get-base64.ts b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/utils/get-base64.ts index 6ebb407a..91e16efb 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/utils/get-base64.ts +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-avatar-upload/utils/get-base64.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS as ReportEventNames } from '@coze-arch/report-events'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/add-background.tsx b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/add-background.tsx index f2260e6d..c2d3ea8f 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/add-background.tsx +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/add-background.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/background-upload/background-modal.tsx b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/background-upload/background-modal.tsx index 2ae3d02b..beef37b5 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/background-upload/background-modal.tsx +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/background-upload/background-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactCropperElement } from 'react-cropper'; import { useState, useRef, createRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/background-upload/cropper/cropper-cover.tsx b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/background-upload/cropper/cropper-cover.tsx index a195b61d..89962636 100644 --- a/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/background-upload/cropper/cropper-cover.tsx +++ b/frontend/packages/workflow/playground/src/components/flow-role/role-config-form/role-background/background-upload/cropper/cropper-cover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import classNames from 'classnames'; @@ -133,8 +133,8 @@ export const CropperCover: React.FC = ({ ? '#4E40E5' : '#F4F4F6' : index === 1 - ? 'rgba(6, 7, 9, 0.24)' - : 'rgba(255, 255, 255, 0.60)'; + ? 'rgba(6, 7, 9, 0.24)' + : 'rgba(255, 255, 255, 0.60)'; return (
( { const dragType = monitor.getItemType(); diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/index.ts b/frontend/packages/workflow/playground/src/components/node-panel/components/index.ts index 6242abb3..20bad415 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/index.ts +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodePanel } from './panel'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/list.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/list.tsx index 1d6c0893..46ecb026 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/list.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, type MouseEvent, diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/load-more-card.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/load-more-card.tsx index ce53fc78..ac48356b 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/load-more-card.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/load-more-card.tsx @@ -13,15 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; -import { - IconCozArrowDown, - IconCozLoading, -} from '@coze-arch/coze-design/icons'; +import { IconCozArrowDown, IconCozLoading } from '@coze-arch/coze-design/icons'; import { Typography } from '@coze-arch/coze-design'; import styles from './styles.module.less'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/node-category-panel/index.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/node-category-panel/index.tsx index 913c23e9..2c330d11 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/node-category-panel/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/node-category-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { concatTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/node-placeholder.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/node-placeholder.tsx index 0308e5c3..ba05d37f 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/node-placeholder.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/node-placeholder.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Placeholder } from '@/components/node-render/node-render-new/placeholder'; import styles from './styles.module.less'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/panel.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/panel.tsx index 42acaa90..f420de1a 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/panel.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef, diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/favorite-plugin-node-list.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/favorite-plugin-node-list.tsx index 2a6f7ae7..ccefbf9f 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/favorite-plugin-node-list.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/favorite-plugin-node-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, forwardRef, useImperativeHandle } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-category-list.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-category-list.tsx index cf0e04c8..f6e86a2a 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-category-list.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-category-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type NodeSearchCategoryData, type PluginNodeTemplate } from '@/typing'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node-card.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node-card.tsx index 4f8b757f..bbf03042 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node-card.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type MouseEvent } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node-list.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node-list.tsx index 8fafccfc..7e6b11a1 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node-list.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState, useMemo, type MouseEvent } from 'react'; import { isNumber } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node.tsx index 6f332172..9bd17aa8 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-node.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type MouseEvent } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-tool-card.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-tool-card.tsx index d42f0604..d620dc9e 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-tool-card.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/plugin-node/plugin-tool-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type MouseEvent } from 'react'; import { IconCozPluginFill } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/search-result-node-list/index.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/search-result-node-list/index.tsx index 4ed65160..76a9e80f 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/search-result-node-list/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/search-result-node-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef, useLayoutEffect, useState, useMemo } from 'react'; import { throttle } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/components/sub-workflow-category-list/index.tsx b/frontend/packages/workflow/playground/src/components/node-panel/components/sub-workflow-category-list/index.tsx index 80d752d7..ec1a9dc2 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/components/sub-workflow-category-list/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/components/sub-workflow-category-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type MouseEvent } from 'react'; import semver from 'semver'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/constant.ts b/frontend/packages/workflow/playground/src/components/node-panel/constant.ts index adae4a79..729b8299 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/constant.ts +++ b/frontend/packages/workflow/playground/src/components/node-panel/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const PANEL_WIDTH = 440; export const THROTTLE_INTERVAL = 300; export const PAGE_SIZE = 9; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/hooks/index.ts b/frontend/packages/workflow/playground/src/components/node-panel/hooks/index.ts index 1a5decfd..019e20fc 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/components/node-panel/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useTemplateNodeList } from './use-template-node-list'; export { useFavoritePluginNodeList } from './use-favorite-plugin-node-list'; export { useSearchNode } from './use-search-node'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/hooks/node-panel-context.tsx b/frontend/packages/workflow/playground/src/components/node-panel/hooks/node-panel-context.tsx index d3ed49ea..0e893713 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/hooks/node-panel-context.tsx +++ b/frontend/packages/workflow/playground/src/components/node-panel/hooks/node-panel-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext, createContext, type MouseEvent } from 'react'; import { type NodePanelSearchType } from '@coze-arch/bot-api/workflow_api'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-favorite-plugin-node-list.ts b/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-favorite-plugin-node-list.ts index a6814119..9f12a4b9 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-favorite-plugin-node-list.ts +++ b/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-favorite-plugin-node-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { uniqBy } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-search-node.ts b/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-search-node.ts index 0ae977de..3a0adab1 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-search-node.ts +++ b/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-search-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState, useCallback } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-template-node-list.ts b/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-template-node-list.ts index 92f3b1bf..39fb4467 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-template-node-list.ts +++ b/frontend/packages/workflow/playground/src/components/node-panel/hooks/use-template-node-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeEntity, type WorkflowNodeMeta, diff --git a/frontend/packages/workflow/playground/src/components/node-panel/index.ts b/frontend/packages/workflow/playground/src/components/node-panel/index.ts index 6f785bd3..daf16171 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/index.ts +++ b/frontend/packages/workflow/playground/src/components/node-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodePanel } from './components'; diff --git a/frontend/packages/workflow/playground/src/components/node-panel/utils.ts b/frontend/packages/workflow/playground/src/components/node-panel/utils.ts index 993b9cb8..b5e3a1fe 100644 --- a/frontend/packages/workflow/playground/src/components/node-panel/utils.ts +++ b/frontend/packages/workflow/playground/src/components/node-panel/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { type BotPluginWorkFlowItem } from '@coze-workflow/components'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-placeholder/index.tsx b/frontend/packages/workflow/playground/src/components/node-placeholder/index.tsx index 84c6ba06..9a1b486e 100644 --- a/frontend/packages/workflow/playground/src/components/node-placeholder/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-placeholder/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Skeleton } from '@coze-arch/bot-semi'; import styles from './index.module.less'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/index.tsx index 180c111f..60d5e20f 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeRenderProps } from '@flowgram-adapter/free-layout-editor'; import { NodeContextProvider } from '../node-context-provider'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/condition-container.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/condition-container.tsx index 0a30c547..94c1e3d2 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/condition-container.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/condition-container.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { ConditionLogic } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/condition-tag.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/condition-tag.tsx index 1cd0ca83..86aa9968 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/condition-tag.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/condition-tag.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, type FC, type ReactNode } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/expression-display.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/expression-display.tsx index 3a6ce653..9ed42552 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/expression-display.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/expression-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/index.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/index.ts index 44fffa27..1f526af3 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/index.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ConditionTag } from './condition-tag'; export { LogicDisplay } from './logic-display'; export { VariableDisplay } from './variable-display'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/logic-display.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/logic-display.tsx index c4ad797a..6d2ca985 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/logic-display.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/logic-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { ConditionLogic } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/variable-display.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/variable-display.tsx index b7f02f74..4b1851ee 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/variable-display.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/components/condition/variable-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/constants.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/constants.ts index eb86211a..7c8e274a 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/constants.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum AnswerType { Option = 'option', Text = 'text', diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/common-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/common-content/index.tsx index 3d09212a..33d8f604 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/common-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/common-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Outputs, InputParameters } from '../../fields'; export function CommonContent() { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-content/database.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-content/database.tsx index eaabfb55..37f27f5f 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-content/database.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-content/database.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useCurrentDatabaseID, useCurrentDatabaseQuery } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-content/index.tsx index 647d6b6c..670f4170 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Outputs, InputParameters } from '../../fields'; import { Database } from './database'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-create-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-create-content/index.tsx index 57b58ee8..96601984 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-create-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-create-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { createSelectAndSetFieldsFieldName } from '@/constants/database-field-names'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-delete-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-delete-content/index.tsx index 5c1f269e..67050e65 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-delete-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-delete-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { deleteConditionFieldName } from '@/constants/database-field-names'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-query-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-query-content/index.tsx index 1c93aa28..3263fd56 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-query-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-query-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { queryConditionFieldName } from '@/constants/database-field-names'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-update-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-update-content/index.tsx index 85e5342f..6dad1c6a 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-update-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/database-update-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/http-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/http-content/index.tsx index 0344da54..7fd5026b 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/http-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/http-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Outputs, HttpApiField } from '../../fields'; export function HttpContent() { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/if-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/if-content/index.tsx index 50a4d1fd..b854e42d 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/if-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/if-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Conditions } from '../../fields'; export function IfContent() { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/icon.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/icon.tsx index 941e51bf..93f7dab7 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/icon.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Avatar } from '@coze-arch/coze-design'; interface Props { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/index.tsx index 5d97e389..6cf62c5f 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters, Outputs } from '../../fields'; import { References } from './references'; import { Model } from './model'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/model.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/model.tsx index 90d198d3..871cda61 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/model.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/model.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { useWorkflowNode } from '@coze-workflow/base'; import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/references.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/references.tsx index a4069016..6f102a75 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/references.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/image-generate-content/references.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { useWorkflowNode } from '@coze-workflow/base'; import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/intent-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/intent-content/index.tsx index af10295b..8b91b9d6 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/intent-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/intent-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters, Outputs, Intents } from '../../fields'; export function IntentContent() { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/knowledge-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/knowledge-content/index.tsx index 1f70fd2d..be2a8812 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/knowledge-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/knowledge-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters, Outputs, Knowledge } from '../../fields'; export function DatasetContent() { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/index.tsx index de99aaa0..d003d0f2 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters, Outputs, Model } from '../../fields'; import { Skill } from './skill'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/skill-tags.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/skill-tags.tsx index 53896d15..74563f3a 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/skill-tags.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/skill-tags.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { CozAvatar } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/skill.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/skill.tsx index cef3120b..31853e68 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/skill.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/skill.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Field } from '../../fields/field'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/update-node-skills.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/update-node-skills.ts index b70a6e8e..b5b13c4e 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/update-node-skills.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/update-node-skills.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type LLMNodeDataSkill, diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/use-skill-tags.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/use-skill-tags.tsx index 12075d0c..a8c2b986 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/use-skill-tags.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/llm-content/use-skill-tags.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { uniqBy } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/message-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/message-content/index.tsx index e9aef85f..80eb63af 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/message-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/message-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { InputParameters, MessageOutput } from '../../fields'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/question-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/question-content/index.tsx index daeb9e0b..db704b84 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/question-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/question-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters, Outputs, QuestionPairs } from '../../fields'; export function QuestionContent() { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/index.tsx index d3f2589c..a08efa96 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { PublicScopeProvider } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/inputs.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/inputs.tsx index 6e3bdab3..94e6f7f0 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/inputs.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/inputs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useWorkflowNode } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/use-variable-assign-tags.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/use-variable-assign-tags.tsx index 727543c3..e216e14f 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/use-variable-assign-tags.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-assign-content/use-variable-assign-tags.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/index.tsx index 5c4c7d31..d23613a1 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VariableMergeItem } from './variable-merge-item'; import { useVariableMergeVariableTags } from './use-variable-merge-variable-tags'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/types.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/types.ts index 1d7f17aa..0ec5480b 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/types.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableTagProps } from '../../fields/variable-tag-list'; export interface VariableMergeGroup extends VariableTagProps { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/use-variable-merge-variable-tags.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/use-variable-merge-variable-tags.ts index 3fd7dc0e..a3007b0e 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/use-variable-merge-variable-tags.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/use-variable-merge-variable-tags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefExpressionContent, useWorkflowNode, diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/variable-merge-item.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/variable-merge-item.tsx index 0ca2e029..9516f05a 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/variable-merge-item.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/content/variable-merge-content/variable-merge-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/error.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/error.tsx index c778eb60..9e9ded26 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/error.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/error.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { SystemError } from '@/components/node-system-error-render'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/condition-branch.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/condition-branch.tsx index c55eccbb..5de81085 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/condition-branch.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/condition-branch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type ConditionLogic } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/conditions.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/conditions.tsx index 12f1c81b..fe6c2dcc 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/conditions.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/conditions.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/constants.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/constants.tsx index b5779d7e..4200bfd2 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/constants.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/constants.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactElement } from 'react'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-left.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-left.tsx index 2a185fe4..6c34378c 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-left.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-left.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseConditionLeft } from '@coze-workflow/base'; import { ConditionTag } from '../../components/condition'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-operator.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-operator.tsx index 22134c23..993379bb 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-operator.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-operator.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseConditionOperator } from '@coze-workflow/base'; import { ConditionOperatorMap } from '@/constants/condition-operator-map'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-right.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-right.tsx index 28f965fd..ed723c44 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-right.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition-right.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ConditionOperator, type DatabaseConditionRight, diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition.tsx index 98452bf6..0f4439a8 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/database-condition.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConditionContainer } from '../../components/condition'; import { Field } from '..'; import { useConditions } from './use-conditions'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/index.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/index.ts index e8df267c..7e0ccfbb 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/index.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DatabaseCondition } from './database-condition'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/use-conditions.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/use-conditions.ts index 8512b762..b7050136 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/use-conditions.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-condition/use-conditions.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { useWorkflowNode, diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-setting-fields.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-setting-fields.tsx index 9425a262..9d21baf5 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-setting-fields.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/database-setting-fields.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { useWorkflowNode, diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/exception-field/exception-port.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/exception-field/exception-port.tsx index 04bd53c8..edc3d22c 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/exception-field/exception-port.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/exception-field/exception-port.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/exception-field/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/exception-field/index.tsx index cf43c1f9..dc50b56e 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/exception-field/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/exception-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SettingOnErrorProcessType, useIsSettingOnErrorV2, diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/field-empty.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/field-empty.tsx index 3b4fd21f..c72dc9a8 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/field-empty.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/field-empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { isString } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/field.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/field.tsx index e1862863..afba58c4 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/field.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/index.tsx index 323f2fc5..95b9394c 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { PublicScopeProvider } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/url-container.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/url-container.tsx index 11a400a9..020f2953 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/url-container.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/url-container.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/url-field.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/url-field.tsx index b3fc4a97..4a757c4f 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/url-field.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/http-api-field/url-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/index.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/index.ts index 62e2ea34..af24c244 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/index.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Conditions } from './conditions'; export { InputParameters } from './input-parameters'; export { Model } from './model'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/input-parameters.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/input-parameters.tsx index 4843cc93..9bd6ffdb 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/input-parameters.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/input-parameters.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/intents.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/intents.tsx index 0233c692..b6666d67 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/intents.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/intents.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Intent to identify nodes, option component rendering */ diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/knowledge.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/knowledge.tsx index 7c809799..e8f80bd1 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/knowledge.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/knowledge.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/label-with-tooltip.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/label-with-tooltip.tsx index 7c961264..762af31d 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/label-with-tooltip.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/label-with-tooltip.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef, useState } from 'react'; import { Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/message-output.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/message-output.tsx index aec741ae..402d2cef 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/message-output.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/message-output.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/model.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/model.tsx index 18b72c50..6cef1584 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/model.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/model.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { useWorkflowNode } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/outputs.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/outputs.tsx index 72c97ca0..9fc5d285 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/outputs.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/outputs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/overflow-tag-list.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/overflow-tag-list.tsx index 3b446356..76ff0895 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/overflow-tag-list.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/overflow-tag-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, useLayoutEffect, diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/port.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/port.tsx index 3d58f899..a45acf37 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/port.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/port.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CSSProperties } from 'react'; import styles from './port.module.less'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/question-pairs-answer.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/question-pairs-answer.tsx index 9049a51f..3071b1ac 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/question-pairs-answer.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/question-pairs-answer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classnames from 'classnames'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/question-pairs.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/question-pairs.tsx index e7e5c112..5d3da351 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/question-pairs.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/question-pairs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo } from 'react'; import { useWorkflowNode } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/terminate-plan.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/terminate-plan.tsx index 9f9e7207..e57767f6 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/terminate-plan.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/terminate-plan.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-input-parameters-variable-tags.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-input-parameters-variable-tags.ts index 023ec5ac..f4c28762 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-input-parameters-variable-tags.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-input-parameters-variable-tags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import isFunction from 'lodash-es/isFunction'; import { isNil } from 'lodash-es'; import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-outputs-variable-tags.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-outputs-variable-tags.ts index bee8050e..71ce7d68 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-outputs-variable-tags.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-outputs-variable-tags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-valid-variable.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-valid-variable.tsx index e8e5e6d7..f780fd94 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-valid-variable.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/use-valid-variable.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity, useService, diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/variable-tag-list.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/variable-tag-list.tsx index eeb14d5d..e0115f0e 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/variable-tag-list.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/fields/variable-tag-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, useMemo } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/header.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/header.tsx index d0170c79..8757ae44 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/header.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { WorkflowNode } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/hooks/use-available-node-variables.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/hooks/use-available-node-variables.ts index e78588d9..3918a0d3 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/hooks/use-available-node-variables.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/hooks/use-available-node-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, startTransition } from 'react'; import type { FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/hooks/use-http-url-variables.ts b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/hooks/use-http-url-variables.ts index 895f056f..2fa69515 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/hooks/use-http-url-variables.ts +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/hooks/use-http-url-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, useRef } from 'react'; import { isEqual, cloneDeep } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/index.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/index.tsx index 8dccb4bc..55cf1fa4 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cx from 'classnames'; import { useWorkflowNode } from '@coze-workflow/base'; import { ErrorBoundary, logger } from '@coze-arch/logger'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/placeholder.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/placeholder.tsx index 1fe7e8c9..c2bc7f86 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/placeholder.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/placeholder.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Skeleton } from '@coze-arch/bot-semi'; import styles from './placeholder.module.less'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/ports.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/ports.tsx index 4cbf3f16..55c4dd5c 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/ports.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/ports.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { WorkflowNodePanelService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/wrapper.tsx b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/wrapper.tsx index ab465d92..8fb0410a 100644 --- a/frontend/packages/workflow/playground/src/components/node-render/node-render-new/wrapper.tsx +++ b/frontend/packages/workflow/playground/src/components/node-render/node-render-new/wrapper.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useCallback, useState } from 'react'; import { ConfigProvider } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/playground/src/components/node-side-sheet/index.tsx b/frontend/packages/workflow/playground/src/components/node-side-sheet/index.tsx index e19b5252..bac7b1e6 100644 --- a/frontend/packages/workflow/playground/src/components/node-side-sheet/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-side-sheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Node side window */ @@ -28,7 +28,10 @@ import { import classnames from 'classnames'; import { type NodeMeta } from '@coze-workflow/base/types'; import { concatNodeTestId } from '@coze-workflow/base'; -import { FlowNodeFormData, NodeRender } from '@flowgram-adapter/free-layout-editor'; +import { + FlowNodeFormData, + NodeRender, +} from '@flowgram-adapter/free-layout-editor'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/components/node-system-error-render/index.tsx b/frontend/packages/workflow/playground/src/components/node-system-error-render/index.tsx index 8cc11eb9..459a618e 100644 --- a/frontend/packages/workflow/playground/src/components/node-system-error-render/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-system-error-render/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { type FlowNodeEntity, diff --git a/frontend/packages/workflow/playground/src/components/node-wrapper/execute-result-panel/index.tsx b/frontend/packages/workflow/playground/src/components/node-wrapper/execute-result-panel/index.tsx index 841ea6af..c2600edd 100644 --- a/frontend/packages/workflow/playground/src/components/node-wrapper/execute-result-panel/index.tsx +++ b/frontend/packages/workflow/playground/src/components/node-wrapper/execute-result-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/workflow/playground/src/components/popup-container/index.tsx b/frontend/packages/workflow/playground/src/components/popup-container/index.tsx index 4adfd5b6..2d1534ba 100644 --- a/frontend/packages/workflow/playground/src/components/popup-container/index.tsx +++ b/frontend/packages/workflow/playground/src/components/popup-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren, type ReactElement, diff --git a/frontend/packages/workflow/playground/src/components/problem-panel/index.tsx b/frontend/packages/workflow/playground/src/components/problem-panel/index.tsx index 26448928..702f5767 100644 --- a/frontend/packages/workflow/playground/src/components/problem-panel/index.tsx +++ b/frontend/packages/workflow/playground/src/components/problem-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/components/reference-node-info/base-version.tsx b/frontend/packages/workflow/playground/src/components/reference-node-info/base-version.tsx index e6e5ca5f..6e0dd39c 100644 --- a/frontend/packages/workflow/playground/src/components/reference-node-info/base-version.tsx +++ b/frontend/packages/workflow/playground/src/components/reference-node-info/base-version.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozInfoCircle, diff --git a/frontend/packages/workflow/playground/src/components/reference-node-info/check-update-version-model.ts b/frontend/packages/workflow/playground/src/components/reference-node-info/check-update-version-model.ts index e182fbff..6d75a141 100644 --- a/frontend/packages/workflow/playground/src/components/reference-node-info/check-update-version-model.ts +++ b/frontend/packages/workflow/playground/src/components/reference-node-info/check-update-version-model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Modal } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/reference-node-info/index.ts b/frontend/packages/workflow/playground/src/components/reference-node-info/index.ts index 412de64f..75fa7f70 100644 --- a/frontend/packages/workflow/playground/src/components/reference-node-info/index.ts +++ b/frontend/packages/workflow/playground/src/components/reference-node-info/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ReferenceNodeOrigin } from './reference-node-origin'; export { ReferenceNodeVersion } from './reference-node-version'; export { SubWorkflowSkillVersion, ApiSkillVersion } from './skill-version'; diff --git a/frontend/packages/workflow/playground/src/components/reference-node-info/reference-node-origin.tsx b/frontend/packages/workflow/playground/src/components/reference-node-info/reference-node-origin.tsx index 381e0b9f..b21663f7 100644 --- a/frontend/packages/workflow/playground/src/components/reference-node-info/reference-node-origin.tsx +++ b/frontend/packages/workflow/playground/src/components/reference-node-info/reference-node-origin.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Node source */ diff --git a/frontend/packages/workflow/playground/src/components/reference-node-info/reference-node-version.tsx b/frontend/packages/workflow/playground/src/components/reference-node-info/reference-node-version.tsx index 59619708..d39cc60e 100644 --- a/frontend/packages/workflow/playground/src/components/reference-node-info/reference-node-version.tsx +++ b/frontend/packages/workflow/playground/src/components/reference-node-info/reference-node-version.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useMemo, useState } from 'react'; import semver from 'semver'; diff --git a/frontend/packages/workflow/playground/src/components/reference-node-info/skill-version.tsx b/frontend/packages/workflow/playground/src/components/reference-node-info/skill-version.tsx index 1dfc9eb9..b94161a1 100644 --- a/frontend/packages/workflow/playground/src/components/reference-node-info/skill-version.tsx +++ b/frontend/packages/workflow/playground/src/components/reference-node-info/skill-version.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import semver from 'semver'; diff --git a/frontend/packages/workflow/playground/src/components/reference-node-info/use-node-origin.ts b/frontend/packages/workflow/playground/src/components/reference-node-info/use-node-origin.ts index c6c6a5f8..29edf9c0 100644 --- a/frontend/packages/workflow/playground/src/components/reference-node-info/use-node-origin.ts +++ b/frontend/packages/workflow/playground/src/components/reference-node-info/use-node-origin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/resizable-side-panel/constants.ts b/frontend/packages/workflow/playground/src/components/resizable-side-panel/constants.ts index eedcd3a1..f9bf4e7d 100644 --- a/frontend/packages/workflow/playground/src/components/resizable-side-panel/constants.ts +++ b/frontend/packages/workflow/playground/src/components/resizable-side-panel/constants.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const MIN_WIDTH = 360; export const MAX_WIDTH = 546; diff --git a/frontend/packages/workflow/playground/src/components/resizable-side-panel/index.tsx b/frontend/packages/workflow/playground/src/components/resizable-side-panel/index.tsx index c4364e60..9940460d 100644 --- a/frontend/packages/workflow/playground/src/components/resizable-side-panel/index.tsx +++ b/frontend/packages/workflow/playground/src/components/resizable-side-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Nodal side window with adjustable width */ diff --git a/frontend/packages/workflow/playground/src/components/resizable-side-panel/use-resizable.ts b/frontend/packages/workflow/playground/src/components/resizable-side-panel/use-resizable.ts index 2c6c9cda..73a66e13 100644 --- a/frontend/packages/workflow/playground/src/components/resizable-side-panel/use-resizable.ts +++ b/frontend/packages/workflow/playground/src/components/resizable-side-panel/use-resizable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-params */ import { useCallback, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/resizable-side-panel/use-side-panel-width.ts b/frontend/packages/workflow/playground/src/components/resizable-side-panel/use-side-panel-width.ts index 1dfe38fd..2918ec0c 100644 --- a/frontend/packages/workflow/playground/src/components/resizable-side-panel/use-side-panel-width.ts +++ b/frontend/packages/workflow/playground/src/components/resizable-side-panel/use-side-panel-width.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useResizableSidePanelStore } from '@/hooks/use-resizable-side-panel-store'; import { useFloatLayoutSize } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/components/resizable-side-panel/utils.ts b/frontend/packages/workflow/playground/src/components/resizable-side-panel/utils.ts index 98fe30be..5b95f17e 100644 --- a/frontend/packages/workflow/playground/src/components/resizable-side-panel/utils.ts +++ b/frontend/packages/workflow/playground/src/components/resizable-side-panel/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MIN_WIDTH } from './constants'; export function getConstraintWidth(width, max) { diff --git a/frontend/packages/workflow/playground/src/components/retrieve-banner/index.tsx b/frontend/packages/workflow/playground/src/components/retrieve-banner/index.tsx index f86d8c05..d976a76e 100644 --- a/frontend/packages/workflow/playground/src/components/retrieve-banner/index.tsx +++ b/frontend/packages/workflow/playground/src/components/retrieve-banner/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Banner } from '@coze-arch/coze-design'; import { Typography } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/playground/src/components/retrieve-banner/use-retrieve.ts b/frontend/packages/workflow/playground/src/components/retrieve-banner/use-retrieve.ts index bd4b5937..676ce51e 100644 --- a/frontend/packages/workflow/playground/src/components/retrieve-banner/use-retrieve.ts +++ b/frontend/packages/workflow/playground/src/components/retrieve-banner/use-retrieve.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef } from 'react'; import axios, { type Canceler } from 'axios'; diff --git a/frontend/packages/workflow/playground/src/components/sortable-list/components/custom-drag-layer.tsx b/frontend/packages/workflow/playground/src/components/sortable-list/components/custom-drag-layer.tsx index 7bbdd820..af2770ab 100644 --- a/frontend/packages/workflow/playground/src/components/sortable-list/components/custom-drag-layer.tsx +++ b/frontend/packages/workflow/playground/src/components/sortable-list/components/custom-drag-layer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDragLayer } from 'react-dnd'; import { useRef, type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/sortable-list/components/drag-handle.tsx b/frontend/packages/workflow/playground/src/components/sortable-list/components/drag-handle.tsx index c256fd70..9dd085de 100644 --- a/frontend/packages/workflow/playground/src/components/sortable-list/components/drag-handle.tsx +++ b/frontend/packages/workflow/playground/src/components/sortable-list/components/drag-handle.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, type Ref } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/sortable-list/components/sortable-item.tsx b/frontend/packages/workflow/playground/src/components/sortable-list/components/sortable-item.tsx index cf3f0c58..11e7b177 100644 --- a/frontend/packages/workflow/playground/src/components/sortable-list/components/sortable-item.tsx +++ b/frontend/packages/workflow/playground/src/components/sortable-list/components/sortable-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { getEmptyImage } from 'react-dnd-html5-backend'; import { useDrop, useDrag } from 'react-dnd'; diff --git a/frontend/packages/workflow/playground/src/components/sortable-list/components/sortable-list.tsx b/frontend/packages/workflow/playground/src/components/sortable-list/components/sortable-list.tsx index 01d6a0bd..7877fe39 100644 --- a/frontend/packages/workflow/playground/src/components/sortable-list/components/sortable-list.tsx +++ b/frontend/packages/workflow/playground/src/components/sortable-list/components/sortable-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useSort } from '../hooks/use-sort'; diff --git a/frontend/packages/workflow/playground/src/components/sortable-list/hooks/use-sort.ts b/frontend/packages/workflow/playground/src/components/sortable-list/hooks/use-sort.ts index 81ad010c..4b50fa8b 100644 --- a/frontend/packages/workflow/playground/src/components/sortable-list/hooks/use-sort.ts +++ b/frontend/packages/workflow/playground/src/components/sortable-list/hooks/use-sort.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/workflow/playground/src/components/sortable-list/index.ts b/frontend/packages/workflow/playground/src/components/sortable-list/index.ts index 70a998f8..d897fb13 100644 --- a/frontend/packages/workflow/playground/src/components/sortable-list/index.ts +++ b/frontend/packages/workflow/playground/src/components/sortable-list/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SortableList } from './components/sortable-list'; export { DragHandle } from './components/drag-handle'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/background/index.tsx b/frontend/packages/workflow/playground/src/components/sub-canvas/components/background/index.tsx index a49db8c5..21585534 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/background/index.tsx +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/background/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC } from 'react'; import { useNodeRender } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/border/index.tsx b/frontend/packages/workflow/playground/src/components/sub-canvas/components/border/index.tsx index c8982afd..4b82effc 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/border/index.tsx +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/border/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import styles from './index.module.less'; export const SubCanvasBorder = () => ( diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/container/index.tsx b/frontend/packages/workflow/playground/src/components/sub-canvas/components/container/index.tsx index 4edc1fff..12eade35 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/container/index.tsx +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/container/index.tsx @@ -13,13 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable react-hooks/exhaustive-deps -- custom */ import { useEffect, useState, type FC, type ReactNode } from 'react'; import classNames from 'classnames'; import { FlowNodeTransformData } from '@flowgram-adapter/free-layout-editor'; -import { useNodeRender, useService } from '@flowgram-adapter/free-layout-editor'; +import { + useNodeRender, + useService, +} from '@flowgram-adapter/free-layout-editor'; import { WorkflowEditService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/header/index.tsx b/frontend/packages/workflow/playground/src/components/sub-canvas/components/header/index.tsx index aa55da81..02129596 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/header/index.tsx +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { useNodeRender } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/index.ts b/frontend/packages/workflow/playground/src/components/sub-canvas/components/index.ts index 82bcdc7e..3c887048 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/index.ts +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SubCanvasHeader } from './header'; export { SubCanvasBackground } from './background'; export { SubCanvasContainer } from './container'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/ports/index.tsx b/frontend/packages/workflow/playground/src/components/sub-canvas/components/ports/index.tsx index 04352ae7..0773cadc 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/ports/index.tsx +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/ports/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/global-store.ts b/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/global-store.ts index 352c137d..5e7b8ede 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/global-store.ts +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/global-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention -- no need */ const STORAGE_KEY = 'workflow-move-into-sub-canvas-tip-visible'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/index.tsx b/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/index.tsx index 9638b53e..d493f2de 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/index.tsx +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozeCross } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/is-mac-os.ts b/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/is-mac-os.ts index 877b291c..6d5d41cb 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/is-mac-os.ts +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/is-mac-os.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const isMacOS = /(Macintosh|MacIntel|MacPPC|Mac68K|iPad)/.test( navigator.userAgent, ); diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/use-control.ts b/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/use-control.ts index 3316290a..4b3b9d6f 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/use-control.ts +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/components/tips/use-control.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useState } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/index.ts b/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/index.ts index f011a2da..ab31d800 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useParentNode } from './use-parent-node'; export { useSubCanvasRenderProps } from './use-render-props'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/use-parent-node.ts b/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/use-parent-node.ts index cd24b150..ce74a810 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/use-parent-node.ts +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/use-parent-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/use-render-props.ts b/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/use-render-props.ts index 405b0f71..a232601e 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/use-render-props.ts +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/hooks/use-render-props.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeRender } from '@flowgram-adapter/free-layout-editor'; import { type SubCanvasRenderProps } from '../type'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/index.tsx b/frontend/packages/workflow/playground/src/components/sub-canvas/index.tsx index e56c3989..db8256f0 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/index.tsx +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC } from 'react'; import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/sub-canvas/type.ts b/frontend/packages/workflow/playground/src/components/sub-canvas/type.ts index 80881b72..4bc3e6f2 100644 --- a/frontend/packages/workflow/playground/src/components/sub-canvas/type.ts +++ b/frontend/packages/workflow/playground/src/components/sub-canvas/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface SubCanvasRenderProps { title: string; tooltip?: string; diff --git a/frontend/packages/workflow/playground/src/components/tag-list/index.tsx b/frontend/packages/workflow/playground/src/components/tag-list/index.tsx index 024c60ba..a7140d4c 100644 --- a/frontend/packages/workflow/playground/src/components/tag-list/index.tsx +++ b/frontend/packages/workflow/playground/src/components/tag-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // TagList.tsx import React, { useState } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/template-panel/constants.ts b/frontend/packages/workflow/playground/src/components/template-panel/constants.ts index c9298643..4e18efda 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/constants.ts +++ b/frontend/packages/workflow/playground/src/components/template-panel/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TemplateCompZIndex { TemplateSildeButton = 1, TemplatePreview = 9999, diff --git a/frontend/packages/workflow/playground/src/components/template-panel/index.tsx b/frontend/packages/workflow/playground/src/components/template-panel/index.tsx index 7324a776..11a3a65d 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/index.tsx +++ b/frontend/packages/workflow/playground/src/components/template-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TemplateSlideButton } from './template-slide-button'; import { TemplatePreview } from './template-preview'; import { TemplatePanel } from './template-panel'; diff --git a/frontend/packages/workflow/playground/src/components/template-panel/template-card-list.tsx b/frontend/packages/workflow/playground/src/components/template-panel/template-card-list.tsx index 8e7a9da3..8d22ef6d 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/template-card-list.tsx +++ b/frontend/packages/workflow/playground/src/components/template-panel/template-card-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, type ForwardedRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/template-panel/template-card.tsx b/frontend/packages/workflow/playground/src/components/template-panel/template-card.tsx index b63a632f..fdd2bed1 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/template-card.tsx +++ b/frontend/packages/workflow/playground/src/components/template-panel/template-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/template-panel/template-panel.tsx b/frontend/packages/workflow/playground/src/components/template-panel/template-panel.tsx index 51a08db5..8c60f7c6 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/template-panel.tsx +++ b/frontend/packages/workflow/playground/src/components/template-panel/template-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useEffect, useRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/template-panel/template-preview-inner.tsx b/frontend/packages/workflow/playground/src/components/template-panel/template-preview-inner.tsx index cb0351b4..442df38a 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/template-preview-inner.tsx +++ b/frontend/packages/workflow/playground/src/components/template-panel/template-preview-inner.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { useWorkflowPlayground } from '@/use-workflow-playground'; diff --git a/frontend/packages/workflow/playground/src/components/template-panel/template-preview.tsx b/frontend/packages/workflow/playground/src/components/template-panel/template-preview.tsx index 5bdc49e5..d95895a2 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/template-preview.tsx +++ b/frontend/packages/workflow/playground/src/components/template-panel/template-preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { isEmpty } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/template-panel/template-slide-button.tsx b/frontend/packages/workflow/playground/src/components/template-panel/template-slide-button.tsx index 73f7f4e2..f468d536 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/template-slide-button.tsx +++ b/frontend/packages/workflow/playground/src/components/template-panel/template-slide-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/template-panel/use-workflow-template-list.ts b/frontend/packages/workflow/playground/src/components/template-panel/use-workflow-template-list.ts index 3c2d8a87..bdcaf56c 100644 --- a/frontend/packages/workflow/playground/src/components/template-panel/use-workflow-template-list.ts +++ b/frontend/packages/workflow/playground/src/components/template-panel/use-workflow-template-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/bot-project-variable-select/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/bot-project-variable-select/index.tsx index 8011e386..8b2a6f87 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/bot-project-variable-select/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/bot-project-variable-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EmptyVariableContent } from '@/components/bot-project-select/bot-project-variable-select'; import BotProjectVariableSelect from './select'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/bot-project-variable-select/select.tsx b/frontend/packages/workflow/playground/src/components/test-run/bot-project-variable-select/select.tsx index 84be1945..825f5143 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/bot-project-variable-select/select.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/bot-project-variable-select/select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/conversation-select/conversation-select.tsx b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/conversation-select/conversation-select.tsx index 4920b6d1..77c30e1f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/conversation-select/conversation-select.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/conversation-select/conversation-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/conversation-select/index.ts b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/conversation-select/index.ts index a6e89a25..6fd0cdc4 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/conversation-select/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/conversation-select/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ConversationSelect } from './conversation-select'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/index.ts b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/index.ts index f68a0ef9..013acbe1 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ChatFlowTestFormPanel, type ChatFlowTestFormPanelProps, diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-float-button.tsx b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-float-button.tsx index 237eebd5..8069af1a 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-float-button.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-float-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozAdjust } from '@coze-arch/coze-design/icons'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-panel.tsx b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-panel.tsx index 02603b53..e9a48583 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-panel.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-provider.tsx b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-provider.tsx index 6ef34cd0..cb0c4b98 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-provider.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form-provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext, useMemo } from 'react'; import { createWithEqualityFn } from 'zustand/traditional'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form.tsx b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form.tsx index 1ad7ee8d..f93cbfed 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/test-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/testset-bot-project-select.tsx b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/testset-bot-project-select.tsx index b11565a0..7ee3cec3 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/testset-bot-project-select.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-flow-test-form-panel/testset-bot-project-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-history/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/chat-history/index.tsx index 8b516fb7..a3a07af5 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-history/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-history/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { Suspense, lazy } from 'react'; import { isEmpty } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/chat-history/use-skeleton.tsx b/frontend/packages/workflow/playground/src/components/test-run/chat-history/use-skeleton.tsx index b1b994d0..1dcd64e6 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/chat-history/use-skeleton.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/chat-history/use-skeleton.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { Skeleton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/index.tsx index 9e8de2bf..9df89b22 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { SideSheet } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/sheet-header.tsx b/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/sheet-header.tsx index a1af641e..2b421ac0 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/sheet-header.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/sheet-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { IconButton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/sheet-keys.ts b/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/sheet-keys.ts index 1147e126..35e9da39 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/sheet-keys.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/common-side-sheet-v2/sheet-keys.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum SheetKeys { /** Whole process test run pop-up window */ TestRunFlow = 'test-run-flow', diff --git a/frontend/packages/workflow/playground/src/components/test-run/condition-log/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/condition-log/index.tsx index e0cb1af9..96ddbef5 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/condition-log/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/condition-log/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { JsonViewer } from '@coze-common/json-viewer'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/constants/index.ts b/frontend/packages/workflow/playground/src/components/test-run/constants/index.ts index 8ea3e486..53c7e241 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/constants/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestFormType, FieldName, diff --git a/frontend/packages/workflow/playground/src/components/test-run/constants/test-form.ts b/frontend/packages/workflow/playground/src/components/test-run/constants/test-form.ts index 092e4198..d1b99f3a 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/constants/test-form.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/constants/test-form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /******************************************************************************* * Test form correlation constants */ diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/error-item.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/error-item.tsx index 5d2d27c5..4bb97371 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/error-item.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/error-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState, type ReactNode } from 'react'; import { isEqual } from 'lodash-es'; @@ -27,7 +27,13 @@ import { } from '@coze-workflow/nodes'; import { I18n } from '@coze-arch/i18n'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; -import { Tag, Avatar, Popover, Typography, Toast } from '@coze-arch/coze-design'; +import { + Tag, + Avatar, + Popover, + Typography, + Toast, +} from '@coze-arch/coze-design'; import { type NodeError } from '@/entities/workflow-exec-state-entity'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/execute-error-list.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/execute-error-list.tsx index 80a538f8..b38dfefa 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/execute-error-list.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/execute-error-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeError } from '@/entities/workflow-exec-state-entity'; import { ErrorLineItem, ErrorNodeItem } from './error-item'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/index.tsx index a12728c3..e35f4c78 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result-side-sheet-v2/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDeepCompareEffect } from 'ahooks'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-log-id.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-log-id.tsx index 8504d90b..c440d7b2 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-log-id.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-log-id.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import copy from 'copy-to-clipboard'; import { I18n } from '@coze-arch/i18n'; import { IconCozCopy } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/empty-image.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/empty-image.tsx index fc109806..8a570b5b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/empty-image.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/empty-image.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export const EmptyIcon = () => ( diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/index.tsx index b19ea674..2b34e391 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { useCallback, useMemo } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/log-detail.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/log-detail.tsx index 425ab987..7634d4c4 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/log-detail.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-panel/log-detail.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { useMemo, useState, useCallback } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/empty-display.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/empty-display.tsx index 8a8930fb..eb165713 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/empty-display.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/empty-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozPlayCircle } from '@coze-arch/coze-design/icons'; import { Typography } from '@coze-arch/bot-semi'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/error-item.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/error-item.tsx index 7a354c1c..fb562aa1 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/error-item.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/error-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { useEffect, useState, type ReactNode } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-error-list.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-error-list.tsx index 702db9b0..cbf64f8c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-error-list.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-error-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import classNames from 'classnames'; import { List, Divider } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-result.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-result.tsx index 7d1c53c8..c17b9edc 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-result.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-result.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { useDeepCompareEffect } from 'ahooks'; import { NodeExeStatus } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-state.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-state.tsx index 1e6e8ad2..6af7a69d 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-state.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/execute-state.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/system-error.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/system-error.tsx index 4acca69e..98cc1f8f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/system-error.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/components/system-error.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const SystemError = ({ errorInfo }) => ( diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-has-error.ts b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-has-error.ts index 57e272e1..0da1be5f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-has-error.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-has-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { useExecStateEntity } from '../../../../../hooks'; import { useNodeErrorList } from './use-node-error-list'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-line-error-list.ts b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-line-error-list.ts index 20f150f1..920534be 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-line-error-list.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-line-error-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { useExecStateEntity } from '../../../../../hooks'; import { type NodeError } from '../../../../../entities/workflow-exec-state-entity'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-node-error-list.ts b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-node-error-list.ts index 7ea98e8b..a96717d7 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-node-error-list.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-node-error-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ /* eslint-disable @typescript-eslint/consistent-type-assertions */ import { useExecStateEntity } from '../../../../../hooks'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-result-side-sheet-visible.ts b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-result-side-sheet-visible.ts index ab4e6f5a..8e9c4701 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-result-side-sheet-visible.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-result-side-sheet-visible.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ /* eslint-disable @coze-arch/no-deep-relative-import */ import { useEffect, useMemo } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-scroll-to-error.ts b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-scroll-to-error.ts index dad16ded..c1fe6311 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-scroll-to-error.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/hooks/use-scroll-to-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { useScrollToNode, useScrollToLine } from '../../../../../hooks'; import { type NodeError } from '../../../../../entities/workflow-exec-state-entity'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/index.tsx index 002e8ac2..54431340 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/execute-result-side-sheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-result/test-run-cost-popover.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-result/test-run-cost-popover.tsx index 9498ff0e..735904c6 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-result/test-run-cost-popover.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-result/test-run-cost-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type PropsWithChildren } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/content.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/content.tsx index 2bc1ca5a..02df05f7 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/content.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/index.tsx index 8f4669de..3278a11f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Node status bar for coze graph 2.0 */ diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/use-setting-on-error-desc.ts b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/use-setting-on-error-desc.ts index 524bf3f4..0e3f762b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/use-setting-on-error-desc.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/use-setting-on-error-desc.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { SettingOnErrorProcessType } from '@coze-workflow/nodes'; import { NodeExeStatus, useWorkflowNode } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/use-status.ts b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/use-status.ts index 25a73140..0a46d35e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/use-status.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/use-status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { generateAuth } from '../utils/generate-auth'; import { useExecStateEntity } from '../../../hooks'; import { type NodeError } from '../../../entities/workflow-exec-state-entity'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/view-data-button.tsx b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/view-data-button.tsx index 3ff89c38..5149230d 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/view-data-button.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/execute-status-bar-v2/view-data-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-auto-gen.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-auto-gen.ts index b2f27d9d..804c5c1c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-auto-gen.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-auto-gen.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useRef } from 'react'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-cancel-test-run.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-cancel-test-run.ts index 37940baa..4bc1cd6e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-cancel-test-run.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-cancel-test-run.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMutation } from '@tanstack/react-query'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-chatflow-info.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-chatflow-info.ts index 349b0ce0..ebaca73e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-chatflow-info.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-chatflow-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-copilot-generate.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-copilot-generate.ts index 3ead5f3b..fd8e4f8e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-copilot-generate.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-copilot-generate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useRef, useState } from 'react'; import { workflowApi, CopilotType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-generate-test-form-fields.tsx b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-generate-test-form-fields.tsx index a40af17c..51d2f84d 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-generate-test-form-fields.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-generate-test-form-fields.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ import md5 from 'md5'; import { get, pick } from 'lodash-es'; @@ -331,7 +331,9 @@ export const useGenerateTestFormFieldsMap = () => { ).map(i => ({ ...i, name: `__${dataPath.replaceAll('.', '_')}_fileURL`, - title: `${I18n.t('node_http_body')}-${I18n.t('node_http_body_binary')}`, + title: `${I18n.t('node_http_body')}-${I18n.t( + 'node_http_body_binary', + )}`, })); } diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-get-scene-flow-role-list-schema.tsx b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-get-scene-flow-role-list-schema.tsx index 5404d2c0..571c23d9 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-get-scene-flow-role-list-schema.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-get-scene-flow-role-list-schema.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base/types'; import { reporter } from '@coze-arch/logger'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-get-start-node.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-get-start-node.ts index e25dbe85..4f22a537 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-get-start-node.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-get-start-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-log-view.tsx b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-log-view.tsx index f9c307e7..ba6fd9f2 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-log-view.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-log-view.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef } from 'react'; import { useScroll, useInViewport, useMount } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-need-bot.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-need-bot.ts index 600b9c6a..2851be5e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-need-bot.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-need-bot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, intersection } from 'lodash-es'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-need-scene-bot.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-need-scene-bot.ts index 62b58ae0..fa8f2b6d 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-need-scene-bot.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-need-scene-bot.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type StandardNodeType } from '@coze-workflow/base/types'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-save-testset.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-save-testset.ts index cfd50e21..0d5bc05b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-save-testset.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-save-testset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState } from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-form-initial-value-v2.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-form-initial-value-v2.ts index d1881036..94435367 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-form-initial-value-v2.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-form-initial-value-v2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { invert } from 'lodash-es'; import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-form-schema.tsx b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-form-schema.tsx index a21b6abd..7ae12f9c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-form-schema.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-form-schema.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, type ReactNode } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-flow-v2.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-flow-v2.ts index dd56c690..6a9aa721 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-flow-v2.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-flow-v2.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { WorkflowMode } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-flow.tsx b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-flow.tsx index efb0ce4c..a8171629 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-flow.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-flow.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; import { useGlobalVariableServiceState } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-node.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-node.ts index c1910b02..446d7615 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-node.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-status.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-status.ts index ea16bbb5..78154402 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-status.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-test-run-status.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { WorkflowExecStatus } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-testset-biz-ctx.ts b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-testset-biz-ctx.ts index 3a70bbc4..309705fa 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/hooks/use-testset-biz-ctx.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/hooks/use-testset-biz-ctx.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { userStoreService } from '@coze-studio/user-store'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log-v2/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/img-log-v2/index.tsx index 2e822275..7a49cf5d 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log-v2/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log-v2/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { LogImages } from '@coze-workflow/test-run'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log-v2/use-images.tsx b/frontend/packages/workflow/playground/src/components/test-run/img-log-v2/use-images.tsx index 13bf1ea6..383919c0 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log-v2/use-images.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log-v2/use-images.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { isEqual } from 'lodash-es'; @@ -21,7 +21,10 @@ import { NodeExeStatus, type NodeResult } from '@coze-workflow/base'; import { parseImagesFromOutputData } from '@coze-workflow/base'; import { typeSafeJSONParse } from '@coze-arch/bot-utils'; import type { FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; -import { useService, usePlayground } from '@flowgram-adapter/free-layout-editor'; +import { + useService, + usePlayground, +} from '@flowgram-adapter/free-layout-editor'; import { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; import { useDownloadImages } from '../img-log/use-download-images'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/empty.tsx b/frontend/packages/workflow/playground/src/components/test-run/img-log/empty.tsx index f473d690..ba562faf 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/empty.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; import { Spin } from '@coze-arch/bot-semi'; import { NodeExeStatus } from '@coze-arch/bot-api/workflow_api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/images-with-download.tsx b/frontend/packages/workflow/playground/src/components/test-run/img-log/images-with-download.tsx index 675856cf..6b10b6e4 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/images-with-download.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/images-with-download.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/images.tsx b/frontend/packages/workflow/playground/src/components/test-run/img-log/images.tsx index 06229f49..f9b44985 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/images.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/images.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { ImagePreview, Image } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/img-log/index.tsx index ec434670..90a02373 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { NodeExeStatus } from '@coze-arch/idl/workflow_api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-current-node.ts b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-current-node.ts index d0f438ae..ac5ec7c2 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-current-node.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-current-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; export function useCurrentNode() { diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-download-images.ts b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-download-images.ts index 74b48181..e06f6cef 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-download-images.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-download-images.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useGlobalState } from '../../../hooks'; export function useDownloadImages(images: string[]) { diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-element-width.ts b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-element-width.ts index c4491087..a870822b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-element-width.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-element-width.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useLayoutEffect, useRef } from 'react'; export function useElementWidth() { diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-images.ts b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-images.ts index 83d7456f..a45813ac 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-images.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-images.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useTestRunOutputsValue } from './use-test-run-outputs-value'; import { useParseImages } from './use-parse-images'; import { useDownloadImages } from './use-download-images'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-parse-images.ts b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-parse-images.ts index fd31441b..f8899bb1 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-parse-images.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-parse-images.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-test-run-outputs-value.ts b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-test-run-outputs-value.ts index 2ff9346e..95e532b9 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-test-run-outputs-value.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-test-run-outputs-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { NodeExeStatus } from '@coze-arch/idl/workflow_api'; import { typeSafeJSONParse } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-test-run-result.ts b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-test-run-result.ts index 46b01730..4ebdb9a0 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/img-log/use-test-run-result.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/img-log/use-test-run-result.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useExecStateEntity } from '../../../hooks'; import { useCurrentNode } from './use-current-node'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/input-form/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/input-form/index.tsx index f33983ae..95be53b1 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/input-form/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/input-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputForm as InputFormCore } from '@coze-workflow/test-run/input'; import { EventType } from '@coze-arch/bot-api/workflow_api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/log-detail/log-detail-wrap.tsx b/frontend/packages/workflow/playground/src/components/test-run/log-detail/log-detail-wrap.tsx index 802a15a2..8eaba173 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/log-detail/log-detail-wrap.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/log-detail/log-detail-wrap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { isObject, toString } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/custom-selector.tsx b/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/custom-selector.tsx index 3044fb31..ff873ece 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/custom-selector.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/custom-selector.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useMemo, useRef, useEffect } from 'react'; import { isUndefined } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/index.tsx index ec12e255..dca1a4d8 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useEffect } from 'react'; import { type NodeResult } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/navigate-item-disabled.tsx b/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/navigate-item-disabled.tsx index 41d08e09..f8416a31 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/navigate-item-disabled.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/navigate-item-disabled.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/page-selector.tsx b/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/page-selector.tsx index d8748948..4d3c5e8d 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/page-selector.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/log-navigation-v2/page-selector.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/question-form/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/question-form/index.tsx index bf05da3b..7eaccc82 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/question-form/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/question-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { QuestionForm as QuestionFormCore } from '@coze-workflow/test-run'; import { EventType } from '@coze-arch/bot-api/workflow_api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-header/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-header/index.ts index 09a2d4eb..d732d0cd 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-header/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-header/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestFormHeader } from './test-form-header'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/bot-project-select/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/bot-project-select/index.tsx index 9f8f5a23..274b2ce6 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/bot-project-select/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/bot-project-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentAdapterCommonProps } from '../../types'; import { FieldName } from '../../constants'; import { type ValueType } from '../../../bot-project-select/types'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/bot-select/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/bot-select/index.tsx index 6c6135bd..fbf0641c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/bot-select/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/bot-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentAdapterCommonProps } from '../../types'; import { FieldName } from '../../constants'; import { BotSelectWithField } from '../../../bot-select'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/conversation-select/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/conversation-select/index.tsx index 9c58c99e..4114a792 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/conversation-select/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/conversation-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentAdapterCommonProps } from '../../types'; import { FieldName } from '../../constants'; import { ConversationSelectWithField } from '../../../conversation-select'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/base-adapter.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/base-adapter.tsx index 2860e2d7..254f8415 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/base-adapter.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/base-adapter.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ClickAwayListener from 'react-click-away-listener'; import React, { useEffect, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/custom-file-item.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/custom-file-item.tsx index fd657b2b..fc675229 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/custom-file-item.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/custom-file-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/custom-upload-node.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/custom-upload-node.tsx index 876dc370..e9416b02 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/custom-upload-node.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/custom-upload-node.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/file-v2.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/file-v2.tsx index 6b7f6281..cee70818 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/file-v2.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/file-v2.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TypedFileInput as OriginTypedFileInput } from './typed-file-input'; export const TypedFileInput = props => ( diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/index.tsx index b1adcb50..c1e67a1f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { VoiceAdapter } from './voice-adapter'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/index.tsx index 08a0ffc7..88dec6c3 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/type-select.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/type-select.tsx index 8b416552..aab87cfc 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/type-select.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/type-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/url-input.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/url-input.tsx index 8ab4c032..52dfbac3 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/url-input.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/typed-file-input/url-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef } from 'react'; import { Input } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/types.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/types.ts index c6e83ef0..bbb2eb97 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/types.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ComponentAdapterCommonProps } from '../../types'; export enum FileInputType { diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/use-file-dragging.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/use-file-dragging.ts index 61547216..2e7834a6 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/use-file-dragging.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/use-file-dragging.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { useMutationObserver } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/voice-adapter.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/voice-adapter.tsx index 9ed7cdda..f2f54394 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/voice-adapter.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/file/voice-adapter.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { VoiceSelect } from '@coze-workflow/components'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/index.ts index 7b78028e..bc127325 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodeFieldCollapse } from './node-field-collapse'; export { RelatedFieldCollapse } from './related-field-collapse'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-editor/icons.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-editor/icons.tsx index f5d3fd7b..95a7095a 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-editor/icons.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-editor/icons.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + function IconLight() { return ( = ({ try { const url = await upload(fileInstance, fileType); - const fileFlag = `<#file:${generateUrlWithFilename(url, fileInstance.name)}#>`; + const fileFlag = `<#file:${generateUrlWithFilename( + url, + fileInstance.name, + )}#>`; const from = getFrom(loadingFlag); if (from > -1) { changeEditor(fileFlag, from, from + loadingFlag.length); diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/file-widget.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/file-widget.tsx index adbec01b..5ff4c338 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/file-widget.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/file-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type Root } from 'react-dom/client'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/get-extensions.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/get-extensions.tsx index 30b5c1ba..59f67bcc 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/get-extensions.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/get-extensions.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-params */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { isNumber } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/index.ts index 07bcc905..6985916b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { JsonModeInput } from './json-mode-input'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/json-mode-input.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/json-mode-input.tsx index 2298ecaa..980af8e9 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/json-mode-input.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/json-mode-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/render-dom.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/render-dom.tsx index 1e845f37..225917f6 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/render-dom.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/render-dom.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createRoot } from 'react-dom/client'; export const renderDom = ( diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/utils.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/utils.ts index 4cae20a5..e7a5dd44 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/utils.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const TEST_RUN_FILE_NAME_KEY = 'x-wf-file_name'; export const TEST_RUN_FILE_UPLOADING_KEY = 'x-wf-file_uploading'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/voice-widget.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/voice-widget.tsx index 8ee15fdd..f6df5a0b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/voice-widget.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/json-mode-input/voice-widget.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { type Root } from 'react-dom/client'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/generate-button.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/generate-button.tsx index 671c0018..3553e2f2 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/generate-button.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/generate-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useState } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/generate-mode-select.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/generate-mode-select.tsx index cdd51414..82adeec3 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/generate-mode-select.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/generate-mode-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/index.ts index 37ffa139..c68c4a5b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AIGenerateButton } from './generate-button'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/use-ai-generate.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/use-ai-generate.ts index cb2250f2..146d714c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/use-ai-generate.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/ai-generate/use-ai-generate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useState, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/index.ts index c05fe1c3..1e44f266 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodeFieldCollapse } from './collapse'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/node-switch/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/node-switch/index.ts index dd796a08..5d2d9f6c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/node-switch/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/node-switch/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModeSwitch } from './mode-switch'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/node-switch/mode-switch.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/node-switch/mode-switch.tsx index c41acec3..808613cc 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/node-switch/mode-switch.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/node-field-collapse/node-switch/mode-switch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useTestRunFormStore } from '@coze-workflow/test-run-next'; import { I18n } from '@coze-arch/i18n'; import { Switch } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/related-field-collapse/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/related-field-collapse/index.tsx index 66e8914d..ae2a02f2 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/related-field-collapse/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/related-field-collapse/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/ban-ts-comment */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { useMemo } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/index.ts index 0ee5cb4b..2895c24f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestsetSave } from './testset-save'; export { TestsetSelect } from './testset-select'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/testset-save.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/testset-save.tsx index b56d91ac..05f27989 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/testset-save.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/testset-save.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useTestsetManageStore } from '@coze-workflow/test-run'; import { I18n } from '@coze-arch/i18n'; import { Checkbox, Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/testset-select.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/testset-select.tsx index 9cb21271..b74c796c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/testset-select.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-materials/testset/testset-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @coze-arch/no-batch-import-or-export */ import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/generate-mode-select.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/generate-mode-select.tsx index cdd51414..82adeec3 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/generate-mode-select.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/generate-mode-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/index.ts index 37ffa139..c68c4a5b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AIGenerateButton } from './generate-button'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/use-ai-generate.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/use-ai-generate.ts index eb6ad526..b593672d 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/use-ai-generate.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/ai-generate/use-ai-generate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useState, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/footer.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/footer.tsx index f1e0ccd1..869895d9 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/footer.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/footer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/result-log.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/result-log.tsx index d1d96708..d35727bf 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/result-log.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/result-log.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/running-panel.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/running-panel.tsx index 43770f36..9ef282a9 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/running-panel.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-sheet-v2/running-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/index.tsx index 3eb97169..64e7d3a1 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestFormV3 } from './test-form-v3'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/file-info.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/file-info.ts index 595b3d3a..5ce8a8c2 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/file-info.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/file-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const TEST_RUN_FILE_NAME_KEY = 'x-wf-file_name'; export const TEST_RUN_FILE_UPLOADING_KEY = 'x-wf-file_uploading'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/format-values.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/format-values.ts index e8d5e04b..055a1d88 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/format-values.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/format-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { isUndefined } from 'lodash-es'; import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/get-json-mode-field-default-value.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/get-json-mode-field-default-value.ts index 745281f2..0f275f23 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/get-json-mode-field-default-value.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/get-json-mode-field-default-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable complexity */ import { toNumber, isUndefined } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/index.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/index.ts index 1baebdb4..c38b0264 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { toJsonModeSchema } from './to-json-mode-schema'; export { setDefaultValues } from './set-cache-values'; export { formatValues } from './format-values'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/merge-form-values.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/merge-form-values.ts index 90389646..a3a92a04 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/merge-form-values.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/merge-form-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { isUndefined, isString, get, isObject, set } from 'lodash-es'; import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/set-cache-values.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/set-cache-values.ts index 20259f65..ce42852a 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/set-cache-values.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/set-cache-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { isUndefined } from 'lodash-es'; import { type IFormSchema } from '@coze-workflow/test-run-next'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/to-json-mode-schema.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/to-json-mode-schema.ts index 97d8801d..08342fd0 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/to-json-mode-schema.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/to-json-mode-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type SchemaObject } from 'ajv'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/to-json-values.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/to-json-values.ts index a5907df0..4d460ec9 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/to-json-values.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/to-json-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { get, set } from 'lodash-es'; import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/try-save-testset.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/try-save-testset.ts index 3a0d9ee7..0bd486a8 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/try-save-testset.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/try-save-testset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-empty-catch */ /* eslint-disable @typescript-eslint/no-explicit-any */ import dayjs from 'dayjs'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/visit-node-leaf.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/visit-node-leaf.ts index bd86bbee..d2500fe4 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/visit-node-leaf.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/mode-form-kit/visit-node-leaf.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IFormSchema } from '@coze-workflow/test-run-next'; export const visitNodeLeaf = ( diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/test-form-v3.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/test-form-v3.tsx index f39325b2..d38fefbf 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/test-form-v3.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/test-form-v3.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/test-run-form-model.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/test-run-form-model.ts index f832d6b8..d10e7882 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/test-run-form-model.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/test-run-form-model.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { cloneDeep } from 'lodash-es'; import { type FormModel, type IFormSchema } from '@coze-workflow/test-run-next'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/use-mode-form-event.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/use-mode-form-event.ts index 6f0322c3..9590df5e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/use-mode-form-event.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/use-mode-form-event.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ import { type MutableRefObject } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/use-mode-form-schema.ts b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/use-mode-form-schema.ts index 81910ed2..5449b58c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/use-mode-form-schema.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/test-form-v3/use-mode-form-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ /* eslint-disable @coze-arch/zustand/prefer-shallow */ import { type MutableRefObject, useEffect, useState } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/index.tsx index 6f08c139..9720b8f9 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { StartTestRunButton } from './start-test-run-button'; export { TestRunSingleNodeButton } from './single-node'; export { OpenTraceButton } from './open-trace-button'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/open-trace-button.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/open-trace-button.tsx index 41e9914d..fa593123 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/open-trace-button.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/open-trace-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { TraceIconButton } from '@coze-workflow/test-run'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/single-node.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/single-node.tsx index 2e6b9069..2eb4efdb 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/single-node.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/single-node.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { @@ -24,7 +24,10 @@ import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { useValidationService } from '@coze-workflow/base/services'; import { StandardNodeType, useNodeTestId } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; -import { IconCozPlayFill, IconCozStopCircle } from '@coze-arch/coze-design/icons'; +import { + IconCozPlayFill, + IconCozStopCircle, +} from '@coze-arch/coze-design/icons'; import { IconButton, Tooltip, Toast } from '@coze-arch/coze-design'; import { WorkflowRunService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/start-test-run-button.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/start-test-run-button.tsx index b30ffba6..b7c6461b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/start-test-run-button.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/start-test-run-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { useEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/trigger-test-run-button.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/trigger-test-run-button.tsx index 9c641430..f3c9668f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-run-button/trigger-test-run-button.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-run-button/trigger-test-run-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * The trigger node triggers the practice run button */ @@ -21,7 +21,10 @@ import { useMemo, useState } from 'react'; import { getTriggerId } from '@coze-workflow/nodes'; import { I18n } from '@coze-arch/i18n'; -import { IconCozPlayCircle, IconCozStopCircle } from '@coze-arch/coze-design/icons'; +import { + IconCozPlayCircle, + IconCozStopCircle, +} from '@coze-arch/coze-design/icons'; import { IconButton, Tooltip, type ButtonProps } from '@coze-arch/coze-design'; import { useValidateWorkflow } from '@/hooks/use-validate-workflow'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-set-select-field/index.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-set-select-field/index.tsx index 844a936c..be3250d2 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-set-select-field/index.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-set-select-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useState, diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-set/select.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-set/select.tsx index 6230b2e8..79e1f2c1 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-set/select.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-set/select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useState } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/test-set/side-sheet.tsx b/frontend/packages/workflow/playground/src/components/test-run/test-set/side-sheet.tsx index 0bca2020..9a7c5a7f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/test-set/side-sheet.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/test-set/side-sheet.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/test-run/trace/index.ts b/frontend/packages/workflow/playground/src/components/test-run/trace/index.ts index 347a3b28..eee6538b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/trace/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/trace/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TraceListPanel, TraceListPanelProps } from './trace-list-panel'; export { TraceDetailPanel, diff --git a/frontend/packages/workflow/playground/src/components/test-run/trace/trace-detail-panel.tsx b/frontend/packages/workflow/playground/src/components/test-run/trace/trace-detail-panel.tsx index 97dbf7cf..df6e3f5f 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/trace/trace-detail-panel.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/trace/trace-detail-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { TraceDetailPanel as TraceDetailPanelNext } from '@coze-workflow/test-run-next'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/trace/trace-list-panel.tsx b/frontend/packages/workflow/playground/src/components/test-run/trace/trace-list-panel.tsx index c98984d2..061007cd 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/trace/trace-list-panel.tsx +++ b/frontend/packages/workflow/playground/src/components/test-run/trace/trace-list-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { TraceListPanel as TraceListPanelNext } from '@coze-workflow/test-run-next'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/trace/use-goto-node.ts b/frontend/packages/workflow/playground/src/components/test-run/trace/use-goto-node.ts index 7b66a79a..25de579e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/trace/use-goto-node.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/trace/use-goto-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { workflowApi } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/types/index.ts b/frontend/packages/workflow/playground/src/components/test-run/types/index.ts index 5f336559..f33af39e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/types/index.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ComponentAdapterCommonProps, TestFormSchema, diff --git a/frontend/packages/workflow/playground/src/components/test-run/types/test-form.ts b/frontend/packages/workflow/playground/src/components/test-run/types/test-form.ts index 84232af9..a401505a 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/types/test-form.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/types/test-form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ /******************************************************************************* * Test form related types diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/common.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/common.ts index 56e757a0..d863b2cb 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/common.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/common.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; export const genFileTypeByViewVarType = type => { diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-auth.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-auth.ts index b92430b3..5a77c0f5 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-auth.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-auth.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeResult } from '@coze-workflow/base/api'; import { safeJSONParse } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-copilot-form-data.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-copilot-form-data.ts index d7daf4d4..07c36e88 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-copilot-form-data.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-copilot-form-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { keyBy } from 'lodash-es'; import { WorkflowNode } from '@coze-workflow/base'; import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-copilot-query.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-copilot-query.ts index b23b49a1..e13038c9 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-copilot-query.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-copilot-query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValueExpressionType } from '@coze-workflow/base'; import { type WorkflowDocument, diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-crud-nodes-test-run-form-fields.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-crud-nodes-test-run-form-fields.ts index 211b086c..c3d58d7a 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-crud-nodes-test-run-form-fields.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-crud-nodes-test-run-form-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseCondition } from '@coze-workflow/base'; import { MemoryApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-imageflow-generate-test-form-fields.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-imageflow-generate-test-form-fields.ts index 9d1c3a70..b41815cb 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-imageflow-generate-test-form-fields.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-imageflow-generate-test-form-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-input-json-schema.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-input-json-schema.ts index f70851ab..666f08d2 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-input-json-schema.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-input-json-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type JSONEditorSchema } from '../test-form-materials/json-editor'; export interface JsonSchema { diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-log.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-log.ts index 7c9ed363..336edb91 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-log.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-log.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines-per-function */ import { isFunction, isObject, isString } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-test-form-initial-value.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-test-form-initial-value.ts index 84a2536c..d572347b 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-test-form-initial-value.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-test-form-initial-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isBoolean, isString, isUndefined } from 'lodash-es'; import { ViewVariableType } from '@coze-workflow/base'; import { IntelligenceType } from '@coze-arch/idl/intelligence_api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-testset-data.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-testset-data.ts index 922703af..ccdb568e 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-testset-data.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-testset-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TestsetData } from '@coze-devops/testset-manage'; import { safeJSONParse } from '@coze-arch/bot-utils'; import { ComponentType } from '@coze-arch/bot-api/debugger_api'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-update-trigger-fields.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-update-trigger-fields.ts index 905cb48f..55e14297 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/generate-update-trigger-fields.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/generate-update-trigger-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type TestFormField } from '../types'; diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/ignore-rehaje-expression.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/ignore-rehaje-expression.ts index c56d9855..5b3e0ca0 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/ignore-rehaje-expression.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/ignore-rehaje-expression.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isString } from 'lodash-es'; /** diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/is-static-object-ref.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/is-static-object-ref.ts index 331a4707..3154130c 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/is-static-object-ref.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/is-static-object-ref.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ObjectRefExpression, type InputValueVO, diff --git a/frontend/packages/workflow/playground/src/components/test-run/utils/stringify-value.ts b/frontend/packages/workflow/playground/src/components/test-run/utils/stringify-value.ts index 916b7cc3..034976db 100644 --- a/frontend/packages/workflow/playground/src/components/test-run/utils/stringify-value.ts +++ b/frontend/packages/workflow/playground/src/components/test-run/utils/stringify-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isBoolean, isNumber } from 'lodash-es'; // Convert form values to testrun interface protocol format diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/add-node.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/add-node.tsx index 65a113c2..449f3703 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/add-node.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/add-node.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, type RefObject } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/auto-layout.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/auto-layout.tsx index 0e987c8e..198c7947 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/auto-layout.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/auto-layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/comment.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/comment.tsx index 3a119703..3e2ef872 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/comment.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/comment.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState } from 'react'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/container.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/container.tsx index 43b1c46d..46715f52 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/container.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/container.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useToolbarHandlers } from '../hooks'; import { Tools } from './tools'; import { Minimap } from './minimap'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/index.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/index.tsx index 1249394c..3dfb7a85 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/index.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ToolbarContainer } from './container'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/interactive.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/interactive.tsx index 0a242e2b..58db3b6a 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/interactive.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/interactive.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/minimap-switch.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/minimap-switch.tsx index f263e584..7ae60e26 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/minimap-switch.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/minimap-switch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozRectangleMap } from '@coze-arch/coze-design/icons'; import { Tooltip, IconButton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/minimap.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/minimap.tsx index e5e65661..5998b2db 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/minimap.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/minimap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowMinimapService, MinimapRender, diff --git a/frontend/packages/workflow/playground/src/components/toolbar/components/zoom.tsx b/frontend/packages/workflow/playground/src/components/toolbar/components/zoom.tsx index d6203bbb..b015b456 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/components/zoom.tsx +++ b/frontend/packages/workflow/playground/src/components/toolbar/components/zoom.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers */ import { useMemo, useState, type CSSProperties } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/constants.ts b/frontend/packages/workflow/playground/src/components/toolbar/constants.ts index e85c9ac6..325ec688 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/constants.ts +++ b/frontend/packages/workflow/playground/src/components/toolbar/constants.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const ADD_NODE_BUTTON_ID = 'workflow-toolbar-add-node'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/hooks/index.ts b/frontend/packages/workflow/playground/src/components/toolbar/hooks/index.ts index f9e196c2..265768a3 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/components/toolbar/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useAddNode } from './use-add-node'; export { useToolbarHandlers } from './use-toolbar-handlers'; export { useAutoLayout } from './use-auto-layout'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-add-node.ts b/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-add-node.ts index 8ac96db6..45508c52 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-add-node.ts +++ b/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-add-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers -- no need to fix */ import { useCallback } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-auto-layout.ts b/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-auto-layout.ts index cddef91d..b47ae011 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-auto-layout.ts +++ b/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-auto-layout.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-minimap-visible.ts b/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-minimap-visible.ts index e593c7e6..e1a9e43e 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-minimap-visible.ts +++ b/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-minimap-visible.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useCallback } from 'react'; const MINIMAP_VISIBLE_KEY = 'workflow-minimap-visible'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-toolbar-handlers.ts b/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-toolbar-handlers.ts index 4ccc2d5d..a85b3088 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-toolbar-handlers.ts +++ b/frontend/packages/workflow/playground/src/components/toolbar/hooks/use-toolbar-handlers.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { usePlaygroundTools } from '@flowgram-adapter/free-layout-editor'; import type { ToolbarHandlers } from '../type'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/index.ts b/frontend/packages/workflow/playground/src/components/toolbar/index.ts index d4c5b73a..6d78f710 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/index.ts +++ b/frontend/packages/workflow/playground/src/components/toolbar/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ToolbarContainer as Toolbar } from './components'; export { useAddNode } from './hooks'; diff --git a/frontend/packages/workflow/playground/src/components/toolbar/type.ts b/frontend/packages/workflow/playground/src/components/toolbar/type.ts index 3d632260..5601012c 100644 --- a/frontend/packages/workflow/playground/src/components/toolbar/type.ts +++ b/frontend/packages/workflow/playground/src/components/toolbar/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { PlaygroundTools } from '@flowgram-adapter/free-layout-editor'; export interface ToolbarHandlers extends PlaygroundTools { diff --git a/frontend/packages/workflow/playground/src/components/workflow-container/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-container/index.tsx index 16ba99e5..0ab972c9 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-container/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Helmet } from 'react-helmet'; import { useDrop } from 'react-dnd'; import { diff --git a/frontend/packages/workflow/playground/src/components/workflow-container/use-data-compensation.ts b/frontend/packages/workflow/playground/src/components/workflow-container/use-data-compensation.ts index 9856228a..5b78b410 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-container/use-data-compensation.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-container/use-data-compensation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { @@ -21,7 +21,11 @@ import { reporter, isUserInputStartParams, } from '@coze-workflow/base'; -import { LoggerEvent, LoggerService, useService } from '@flowgram-adapter/free-layout-editor'; +import { + LoggerEvent, + LoggerService, + useService, +} from '@flowgram-adapter/free-layout-editor'; import { WorkflowSaveService } from '../../services/workflow-save-service'; import { type WorkflowGlobalStateEntity } from '../../entities'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-container/use-nodes-mount.ts b/frontend/packages/workflow/playground/src/components/workflow-container/use-nodes-mount.ts index cd4ebb59..23c97eb4 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-container/use-nodes-mount.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-container/use-nodes-mount.ts @@ -13,10 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect, useState } from 'react'; -import { LoggerEvent, LoggerService, useService } from '@flowgram-adapter/free-layout-editor'; +import { + LoggerEvent, + LoggerService, + useService, +} from '@flowgram-adapter/free-layout-editor'; export function useNodesMount() { const [isMounted, setMounted] = useState(false); diff --git a/frontend/packages/workflow/playground/src/components/workflow-container/workflow-float-layout.tsx b/frontend/packages/workflow/playground/src/components/workflow-container/workflow-float-layout.tsx index 607faad3..10ed74ee 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-container/workflow-float-layout.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-container/workflow-float-layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useEffect } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header-info/components/edit-modal.tsx b/frontend/packages/workflow/playground/src/components/workflow-header-info/components/edit-modal.tsx index 50945e47..bdb8f803 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header-info/components/edit-modal.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header-info/components/edit-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useBoolean } from 'ahooks'; import { CreateWorkflowModal } from '@coze-workflow/components'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header-info/components/index.ts b/frontend/packages/workflow/playground/src/components/workflow-header-info/components/index.ts index 7b0cc988..3bab0863 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header-info/components/index.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header-info/components/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PublishStatus } from './workflow-status'; export { EditModal } from './edit-modal'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header-info/components/workflow-status.tsx b/frontend/packages/workflow/playground/src/components/workflow-header-info/components/workflow-status.tsx index 5688f9eb..60d28d81 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header-info/components/workflow-status.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header-info/components/workflow-status.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VCSCanvasType } from '@coze-workflow/base/api'; import { I18n } from '@coze-arch/i18n'; import { IconCozCheckMarkCircleFillPalette } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header-info/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header-info/index.tsx index 88d063de..36b936f7 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header-info/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header-info/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import isNil from 'lodash-es/isNil'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/index.tsx index c2a4c34d..76baffdc 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { workflowApi } from '@coze-workflow/base/api'; import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; import { ResourceType } from '@coze-arch/bot-api/permission_authz'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/introduction.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/introduction.tsx index 14a5cb68..64d207e3 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/introduction.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/introduction.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Typography } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/use-collaborators-pay.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/use-collaborators-pay.tsx index 889e023f..d6de82fd 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/use-collaborators-pay.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/collaborators-button/use-collaborators-pay.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo, useState, useEffect } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/credit-button/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/credit-button/index.tsx index 156d3b40..9c21d650 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/credit-button/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/credit-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useMemo, useState } from 'react'; import { usePluginLimitModal } from '@coze-studio/components'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/duplicate-button.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/duplicate-button.tsx index 73d62d80..b864c9d8 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/duplicate-button.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/duplicate-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState } from 'react'; import { useShallow } from 'zustand/react/shallow'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/force-push-popover.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/force-push-popover.tsx index 7ccfe0e2..672738cf 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/force-push-popover.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/force-push-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/index.ts b/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/index.ts index 15861510..161c6d36 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/index.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ForcePushPopover } from './force-push-popover'; export { useForcePush } from './use-force-push'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/use-force-push.ts b/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/use-force-push.ts index 6634b747..d7ecafbc 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/use-force-push.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/force-push-popover/use-force-push.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/components/history-drawer/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/components/history-drawer/index.tsx index de91239c..501ec4c9 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/components/history-drawer/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/components/history-drawer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { type FC, useState, useEffect, useMemo } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/components/history-drawer/use-commit-action.ts b/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/components/history-drawer/use-commit-action.ts index e739f881..9565b192 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/components/history-drawer/use-commit-action.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/components/history-drawer/use-commit-action.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ /* eslint-disable @coze-arch/no-deep-relative-import */ import { diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/index.tsx index a403c944..9f48f217 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/history-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/index.ts b/frontend/packages/workflow/playground/src/components/workflow-header/components/index.ts index 3dfd2cd2..c97d93d2 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/index.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SubmitButton } from './submit-button'; export { HistoryButton } from './history-button'; export { DuplicateButton } from './duplicate-button'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/base-publish-button.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/base-publish-button.tsx index 3a81abb7..9152a9ea 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/base-publish-button.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/base-publish-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/index.ts b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/index.ts index 10ba9e6a..1bedb48e 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/index.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PublishButton } from './publish-button'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-button.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-button.tsx index 707e1a51..f47e54ae 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-button.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-diff.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-diff.tsx index f3b933a0..691e74d7 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-diff.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-diff.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-env.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-env.tsx index 24aab371..778d83f6 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-env.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-env.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Publish to multiple environments * Is a single module, abstracted into a component diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-force.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-force.tsx index 646acba7..4f612f1d 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-force.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-force.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-version.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-version.tsx index 1268eb30..980ffb12 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-version.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/publish-with-version.tsx @@ -13,17 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useEffect } from 'react'; import semver from 'semver'; import { I18n } from '@coze-arch/i18n'; -import { - Form, - Button, - Popover, - type useFormApi, -} from '@coze-arch/coze-design'; +import { Form, Button, Popover, type useFormApi } from '@coze-arch/coze-design'; import { type PublishWorkflowRequest } from '@coze-arch/bot-api/workflow_api'; import { useGlobalState } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/test-set-select.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/test-set-select.tsx index 05d57b68..b3afd27d 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/test-set-select.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/test-set-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { TESTSET_CONNECTOR_ID } from '@coze-workflow/test-run/constants'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/tooltip-with-disabled.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/tooltip-with-disabled.tsx index c5f6b649..4ff30f1d 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/tooltip-with-disabled.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/tooltip-with-disabled.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Tooltip, type TooltipProps } from '@coze-arch/coze-design'; type TooltipWithDisabledProps = TooltipProps & { diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/use-is-publish-disabled.ts b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/use-is-publish-disabled.ts index 32ba82c2..027bf21b 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/use-is-publish-disabled.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/publish-button-v2/use-is-publish-disabled.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-button/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-button/index.tsx index e695c6fc..b6bc116b 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-button/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { workflowApi } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/index.tsx index 2ac2a6e5..ae4e1cb6 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ErrorBoundary } from 'react-error-boundary'; import { useCallback } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/link-node.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/link-node.tsx index 747b67f0..e6296298 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/link-node.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/link-node.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/tooltip-content/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/tooltip-content/index.tsx index 5fac0c5d..8cf93bf4 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/tooltip-content/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/tooltip-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/utils.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/utils.tsx index 8a76fa9f..c556681b 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/utils.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/reference-modal/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { NodeType, DependencyOrigin } from '@coze-common/resource-tree'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/components/submit-button.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/components/submit-button.tsx index 1753f1d3..ee23a32b 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/components/submit-button.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/components/submit-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo } from 'react'; import { useClearHistory } from '@coze-workflow/history'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/constants.ts b/frontend/packages/workflow/playground/src/components/workflow-header/constants.ts index 641a30f1..1ea77cee 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/constants.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export enum ChangeType { diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/index.ts b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/index.ts index 6d44e7dd..7e168003 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useDiffConfirm } from './use-diff-confirm'; export { useMergeConfirm } from './use-merge-confirm'; export { usePublishReferenceConfirm } from './use-publish-reference-confirm'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/components/diff-modal.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/components/diff-modal.tsx index df588c3c..3c279346 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/components/diff-modal.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/components/diff-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/components/diff-table.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/components/diff-table.tsx index 4c1d42d6..e4a44511 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/components/diff-table.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/components/diff-table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery } from '@tanstack/react-query'; import { workflowApi, diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/index.tsx index c5b986c5..c6c60b5a 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-diff-confirm/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { type FC, useEffect, useMemo, useRef, useState } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/index.ts b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/index.ts index 4d291080..2ae67e50 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/index.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { default as TitleBar } from './title-bar'; export { default as MergeTable } from './merge-table'; export { default as MergeBanner } from './merge-banner'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-banner.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-banner.tsx index b21b74a3..e564ae8c 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-banner.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-banner.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { Banner, Typography } from '@coze-arch/bot-semi'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-footer.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-footer.tsx index 968a1e94..0b6714d5 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-footer.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-footer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { UIButton } from '@coze-arch/bot-semi'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-table.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-table.tsx index a46622e2..cb589c81 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-table.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/merge-table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { type DiffContentMeta } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/title-bar.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/title-bar.tsx index 93d67c27..38726425 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/title-bar.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/components/title-bar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Typography, UIIconButton } from '@coze-arch/bot-semi'; import { IconArrowLeft } from '@coze-arch/bot-icons'; import { LoadingButton } from '@coze-common/loading-button'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/index.tsx index 4cf9d1b9..1b7c5761 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/merge-context.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/merge-context.tsx index d1355527..7e692dce 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/merge-context.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/merge-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useState } from 'react'; import { useQuery } from '@tanstack/react-query'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/use-merge.ts b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/use-merge.ts index a795f841..479275ff 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/use-merge.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-merge-confirm/use-merge.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { workflowApi } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-plugin-credits/index.ts b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-plugin-credits/index.ts index e429bdbc..0b3664fb 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-plugin-credits/index.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-plugin-credits/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-publish-reference-confirm.tsx b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-publish-reference-confirm.tsx index 18aa1514..6168a12e 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-publish-reference-confirm.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-header/hooks/use-publish-reference-confirm.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Check the reference relationship before the process is published */ diff --git a/frontend/packages/workflow/playground/src/components/workflow-header/utils.ts b/frontend/packages/workflow/playground/src/components/workflow-header/utils.ts index 7c95408c..d55324f5 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-header/utils.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-header/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { concatTestId } from '@coze-workflow/base'; type WorkflowHeaderTestId = `workflow.playground.header.${string}`; diff --git a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/components/inner-side-sheet-holder.tsx b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/components/inner-side-sheet-holder.tsx index ce186cf5..89d0d190 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/components/inner-side-sheet-holder.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/components/inner-side-sheet-holder.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This component provides a sidesheet rendering space in the workflow canvas, so that the sidesheet space in the canvas can squeeze the canvas to achieve some side-pull interaction * In this space, the semi-ui SideSheet is still used by default to render the pull window, keeping development simple diff --git a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/components/singleton-inner-side-sheet.tsx b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/components/singleton-inner-side-sheet.tsx index fbd50e89..39abf184 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/components/singleton-inner-side-sheet.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/components/singleton-inner-side-sheet.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useEffect, type PropsWithChildren } from 'react'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/hooks/use-inner-side-sheet-store.tsx b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/hooks/use-inner-side-sheet-store.tsx index 6b94e2e0..a2447aa5 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/hooks/use-inner-side-sheet-store.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/hooks/use-inner-side-sheet-store.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { create } from 'zustand'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/hooks/use-singleton-inner-side-sheet.ts b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/hooks/use-singleton-inner-side-sheet.ts index 07fbdd90..391cc3da 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/hooks/use-singleton-inner-side-sheet.ts +++ b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/hooks/use-singleton-inner-side-sheet.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useInnerSideSheetStoreShallow } from './use-inner-side-sheet-store'; export const useSingletonInnerSideSheet = (sideSheetId: string) => { diff --git a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/index.tsx index 730c78eb..cb1d7bd6 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-inner-side-sheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SingletonInnerSideSheet } from './components/singleton-inner-side-sheet'; export { WorkflowInnerSideSheetHolder } from './components/inner-side-sheet-holder'; diff --git a/frontend/packages/workflow/playground/src/components/workflow-outer-side-sheet/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-outer-side-sheet/index.tsx index 83b9387b..e59344e0 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-outer-side-sheet/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-outer-side-sheet/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This component provides a sidesheet rendering space in the workflow canvas, so that the sidesheet space in the canvas can squeeze the canvas to achieve some side-pull interaction * In this space, the semi-ui SideSheet is still used by default to render the pull window, keeping development simple diff --git a/frontend/packages/workflow/playground/src/components/workflow-references/publish-confirm-content.tsx b/frontend/packages/workflow/playground/src/components/workflow-references/publish-confirm-content.tsx index fc79337b..be26b9e2 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-references/publish-confirm-content.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-references/publish-confirm-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Check the reference relationship before the process is published */ diff --git a/frontend/packages/workflow/playground/src/components/workflow-references/references-tip.tsx b/frontend/packages/workflow/playground/src/components/workflow-references/references-tip.tsx index 490009a7..f58bfb41 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-references/references-tip.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-references/references-tip.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Display the information that the current workflow is referenced by other workflows in the upper left corner of the header */ diff --git a/frontend/packages/workflow/playground/src/components/workflow-refresh-modal/index.tsx b/frontend/packages/workflow/playground/src/components/workflow-refresh-modal/index.tsx index c523a830..1e255e93 100644 --- a/frontend/packages/workflow/playground/src/components/workflow-refresh-modal/index.tsx +++ b/frontend/packages/workflow/playground/src/components/workflow-refresh-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useRef } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/constants/condition-operator-map.tsx b/frontend/packages/workflow/playground/src/constants/condition-operator-map.tsx index 48366a27..e6a20e86 100644 --- a/frontend/packages/workflow/playground/src/constants/condition-operator-map.tsx +++ b/frontend/packages/workflow/playground/src/constants/condition-operator-map.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ConditionOperator } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/workflow/playground/src/constants/database-field-names.ts b/frontend/packages/workflow/playground/src/constants/database-field-names.ts index 41a5bf51..a1731c5b 100644 --- a/frontend/packages/workflow/playground/src/constants/database-field-names.ts +++ b/frontend/packages/workflow/playground/src/constants/database-field-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const createSelectAndSetFieldsFieldName = 'inputs.insertParam.fieldInfo'; export const databaseSelectFieldName = 'inputs.databaseInfoList'; diff --git a/frontend/packages/workflow/playground/src/constants/index.ts b/frontend/packages/workflow/playground/src/constants/index.ts index 4793bfd3..a38d5990 100644 --- a/frontend/packages/workflow/playground/src/constants/index.ts +++ b/frontend/packages/workflow/playground/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const WORKFLOW_INNER_SIDE_SHEET_HOLDER = 'workflow-inner-side-sheet-holder'; diff --git a/frontend/packages/workflow/playground/src/constants/question-settings.ts b/frontend/packages/workflow/playground/src/constants/question-settings.ts index f9b597e5..320a1e05 100644 --- a/frontend/packages/workflow/playground/src/constants/question-settings.ts +++ b/frontend/packages/workflow/playground/src/constants/question-settings.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum AnswerType { Option = 'option', Text = 'text', diff --git a/frontend/packages/workflow/playground/src/container/workflow-node-contribution.ts b/frontend/packages/workflow/playground/src/container/workflow-node-contribution.ts index 9cf302e6..9b0c72c3 100644 --- a/frontend/packages/workflow/playground/src/container/workflow-node-contribution.ts +++ b/frontend/packages/workflow/playground/src/container/workflow-node-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { type NodeContribution, diff --git a/frontend/packages/workflow/playground/src/container/workflow-nodes-v2-contribution.ts b/frontend/packages/workflow/playground/src/container/workflow-nodes-v2-contribution.ts index 1d0de7a8..4c06ebd2 100644 --- a/frontend/packages/workflow/playground/src/container/workflow-nodes-v2-contribution.ts +++ b/frontend/packages/workflow/playground/src/container/workflow-nodes-v2-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { type FlowDocument, diff --git a/frontend/packages/workflow/playground/src/container/workflow-page-container-module.ts b/frontend/packages/workflow/playground/src/container/workflow-page-container-module.ts index 8a21edc5..2bac9029 100644 --- a/frontend/packages/workflow/playground/src/container/workflow-page-container-module.ts +++ b/frontend/packages/workflow/playground/src/container/workflow-page-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { FormContribution, diff --git a/frontend/packages/workflow/playground/src/container/workflow-page-contribution.ts b/frontend/packages/workflow/playground/src/container/workflow-page-contribution.ts index 6fa3f486..f34cb5c0 100644 --- a/frontend/packages/workflow/playground/src/container/workflow-page-contribution.ts +++ b/frontend/packages/workflow/playground/src/container/workflow-page-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { injectable } from 'inversify'; import { type FlowDocumentContribution } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/contexts/add-node-modal-context.tsx b/frontend/packages/workflow/playground/src/contexts/add-node-modal-context.tsx index 3584080f..fead1f95 100644 --- a/frontend/packages/workflow/playground/src/contexts/add-node-modal-context.tsx +++ b/frontend/packages/workflow/playground/src/contexts/add-node-modal-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext, diff --git a/frontend/packages/workflow/playground/src/contexts/node-render-context.tsx b/frontend/packages/workflow/playground/src/contexts/node-render-context.tsx index fcbb9966..cee8db4a 100644 --- a/frontend/packages/workflow/playground/src/contexts/node-render-context.tsx +++ b/frontend/packages/workflow/playground/src/contexts/node-render-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; export type NodeRenderScene = diff --git a/frontend/packages/workflow/playground/src/entities/index.ts b/frontend/packages/workflow/playground/src/entities/index.ts index a999fd1e..990a2402 100644 --- a/frontend/packages/workflow/playground/src/entities/index.ts +++ b/frontend/packages/workflow/playground/src/entities/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowExecStateEntity, type WorkflowExecState, diff --git a/frontend/packages/workflow/playground/src/entities/workflow-dataset-store-entity.ts b/frontend/packages/workflow/playground/src/entities/workflow-dataset-store-entity.ts index 385a2815..f252d562 100644 --- a/frontend/packages/workflow/playground/src/entities/workflow-dataset-store-entity.ts +++ b/frontend/packages/workflow/playground/src/entities/workflow-dataset-store-entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { debounce } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/entities/workflow-dependency-state-entity.ts b/frontend/packages/workflow/playground/src/entities/workflow-dependency-state-entity.ts index c1899c71..d8399f5c 100644 --- a/frontend/packages/workflow/playground/src/entities/workflow-dependency-state-entity.ts +++ b/frontend/packages/workflow/playground/src/entities/workflow-dependency-state-entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConfigEntity } from '@flowgram-adapter/free-layout-editor'; interface WorkflowDependencyState { diff --git a/frontend/packages/workflow/playground/src/entities/workflow-exec-state-entity.ts b/frontend/packages/workflow/playground/src/entities/workflow-exec-state-entity.ts index a3398fbf..d08c38ab 100644 --- a/frontend/packages/workflow/playground/src/entities/workflow-exec-state-entity.ts +++ b/frontend/packages/workflow/playground/src/entities/workflow-exec-state-entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValidateError } from '@coze-workflow/base/services'; import { type GetWorkFlowProcessData, diff --git a/frontend/packages/workflow/playground/src/entities/workflow-template-state-entity.ts b/frontend/packages/workflow/playground/src/entities/workflow-template-state-entity.ts index b967d722..866b6ac8 100644 --- a/frontend/packages/workflow/playground/src/entities/workflow-template-state-entity.ts +++ b/frontend/packages/workflow/playground/src/entities/workflow-template-state-entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Workflow } from '@coze-arch/idl/workflow_api'; import { ConfigEntity } from '@flowgram-adapter/free-layout-editor'; import { Emitter } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/playground/src/entities/workflow-test-form-state-entity.ts b/frontend/packages/workflow/playground/src/entities/workflow-test-form-state-entity.ts index 545241b1..0bfd040d 100644 --- a/frontend/packages/workflow/playground/src/entities/workflow-test-form-state-entity.ts +++ b/frontend/packages/workflow/playground/src/entities/workflow-test-form-state-entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConfigEntity } from '@flowgram-adapter/free-layout-editor'; import type { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/add-item-button/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/add-item-button/index.tsx index 300903a1..f9e6f6ca 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/add-item-button/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/add-item-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/card/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/card/index.tsx index 4f6eaf9b..d349225f 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/card/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import styles from './index.module.less'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/checkbox-with-label/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/checkbox-with-label/index.tsx index c3d8f50a..052b9a9f 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/checkbox-with-label/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/checkbox-with-label/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/checkbox/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/checkbox/index.tsx index 11336ba5..5432b924 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/checkbox/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/checkbox/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/columns-title-with-action/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/columns-title-with-action/index.tsx index b712b6b0..d9a71cd4 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/columns-title-with-action/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/columns-title-with-action/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/columns-title/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/columns-title/index.tsx index 48e626dd..5c38e9e2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/columns-title/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/columns-title/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import classnames from 'classnames'; @@ -32,7 +32,11 @@ export interface ColumnsTitleProps { style?: CSSProperties; } -export const ColumnsTitle = ({ columns, className, style }: ColumnsTitleProps) => ( +export const ColumnsTitle = ({ + columns, + className, + style, +}: ColumnsTitleProps) => (
{columns.map(({ title, style: colStyle }: Column) => (
{title}
diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-select/index.tsx index 1902ec03..dd701d96 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo, useState, useEffect, useRef } from 'react'; import { BindBizType } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-select/use-douyin-knowledge-list-modal.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-select/use-douyin-knowledge-list-modal.tsx index 351fc6f8..8b817e5c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-select/use-douyin-knowledge-list-modal.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-select/use-douyin-knowledge-list-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { type Dataset } from '@coze-arch/bot-api/knowledge'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/SearchStrategy/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/SearchStrategy/index.tsx index 78a5dc35..fdb3afd0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/SearchStrategy/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/SearchStrategy/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/SliderArea/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/SliderArea/index.tsx index e55cab3f..ddb122b7 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/SliderArea/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/SliderArea/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/TitleArea/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/TitleArea/index.tsx index 131080df..3f5c6479 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/TitleArea/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/TitleArea/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/index.ts index 05871983..ec5bd8b6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SliderArea } from './SliderArea'; export { TitleArea } from './TitleArea'; export { SearchStrategy } from './SearchStrategy'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/index.tsx index 6813601c..d43a099d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type FC, useEffect, useState, useMemo } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/type.ts b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/type.ts index cd31d943..c2df4c7c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/type.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-setting/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum Strategy { Semantic = 0, Hybird = 1, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-write-chunk/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-write-chunk/index.tsx index fa6c0b2f..7b504aa0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-write-chunk/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-write-chunk/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, type FC } from 'react'; import { isNil, set } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-write-parser/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-write-parser/index.tsx index 578cd872..5c0e4f19 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/dataset-write-parser/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/dataset-write-parser/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC, useMemo } from 'react'; import { isNil, set } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-card.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-card.tsx index adff9bba..48315906 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-card.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { IconCozTrashCan } from '@coze-arch/coze-design/icons'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-list-popover.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-list-popover.tsx index 243faf5d..472983c9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-list-popover.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-list-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useUploadContext } from '../upload-context'; import { FileCard } from './file-card'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-tag.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-tag.tsx index 388ca375..5d7f146e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-tag.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-tag.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEventHandler, type CSSProperties, type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-upload-btn.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-upload-btn.tsx index 727899dd..2c7ea7e4 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-upload-btn.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/file-upload-btn.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/img-preview-popover.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/img-preview-popover.tsx index 256c6894..644ea772 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/img-preview-popover.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/img-preview-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/index.ts index 0ae9b816..f1dbab83 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MultipleInputNew } from './multi-input'; export { SingleInput, SingleInputNew } from './single-input'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/multi-input.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/multi-input.tsx index 6eca6cdf..4d8a1ee6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/multi-input.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/multi-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { useUploadContext } from '../upload-context'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/single-input.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/single-input.tsx index 4823d206..91365273 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/single-input.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/components/single-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; import { IconCozUpload, IconCozTrashCan } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/index.tsx index 3b0cd99a..0adb18cf 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/transform.ts b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/transform.ts index 5ba47c5b..87dac438 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/transform.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/transform.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type LiteralExpression } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/upload-context.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/upload-context.tsx index ba37c44e..a4b98aef 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/file-input/upload-context.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/file-input/upload-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, createContext, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/form-card/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/form-card/index.tsx index 35b14f7f..1dbee47a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/form-card/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/form-card/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useImperativeHandle, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/form-item-feedback/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/form-item-feedback/index.tsx index cc6806a0..a746d638 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/form-item-feedback/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/form-item-feedback/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/form-item/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/form-item/index.tsx index f65f2077..f37581c6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/form-item/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/form-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type ReactNode, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/card.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/card.tsx index 5db5ea7a..f42c4aa9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/card.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/index.tsx index fd5c71a7..62d48236 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IconNameDescCard } from './card'; export { TooltipAction } from './tooltip-action'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/tooltip-action.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/tooltip-action.tsx index 8a96fe61..1490f1e0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/tooltip-action.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/icon-name-desc-card/tooltip-action.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEventHandler, type FC, type ReactNode } from 'react'; import { Tooltip, IconButton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-header/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-header/index.tsx index 598358c5..b933da7e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-header/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-name/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-name/index.tsx index e9d94bb4..46bef148 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-name/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-name/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type RefExpression } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-operator/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-operator/index.tsx index 58101575..f72acbca 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-operator/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-operator/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-tree-node/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-tree-node/index.tsx index c6ef53c6..9218f570 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-tree-node/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-tree-node/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef } from 'react'; import classNames from 'classnames'; @@ -72,7 +72,9 @@ export default function InputTreeNode(props: InputTreeNodeProps) { const value = data as TreeNodeCustomData; const treeNodeRef = useRef(null); const columnsStyle = useColumnsStyle(columnsRatio, level); - const testName = `/inputs/inputParameters${(data.field || '').replaceAll('.', '/').replace(/\[(\d+)\]/g, '/$1')}`; + const testName = `/inputs/inputParameters${(data.field || '') + .replaceAll('.', '/') + .replace(/\[(\d+)\]/g, '/$1')}`; const nameRef = useRef(value?.name); const inputRef = useRef(value?.input); diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-value/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-value/index.tsx index ad380a2b..2247328c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-value/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/components/input-value/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/constants.ts b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/constants.ts index 81343f0b..f4916361 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/constants.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ /** Indent width of each level of tree */ diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/context.ts b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/context.ts index 275e46cb..2474600e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/context.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; interface InputTreeContext { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/hooks/use-columns-style.ts b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/hooks/use-columns-style.ts index 83015953..373f1d09 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/hooks/use-columns-style.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/hooks/use-columns-style.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TreeIndentWidth } from '../constants'; interface ColumnsStyle { @@ -29,7 +29,9 @@ export function useColumnsStyle(columnsRatio = '3:2', level = 0): ColumnsStyle { flex: `${nameWidth} ${nameWidth} 0`, }, value: { - flex: `${valueWidth} ${valueWidth} ${(level * TreeIndentWidth * valueWidth) / nameWidth}px`, + flex: `${valueWidth} ${valueWidth} ${ + (level * TreeIndentWidth * valueWidth) / nameWidth + }px`, }, }; } diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/types.ts b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/types.ts index 954bf621..92d5ca71 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO, type ValueExpression } from '@coze-workflow/base'; import { type TreeNodeData } from '@coze-arch/bot-semi/Tree'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/utils.ts b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/utils.ts index 3358561a..fbc2a966 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/utils.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/input-tree/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type InputValueVO, ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/label-with-tooltip/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/label-with-tooltip/index.tsx index 0472c87f..acfa8504 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/label-with-tooltip/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/label-with-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Tooltip, Typography } from '@coze-arch/coze-design'; import { IconInfo } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/level-line/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/level-line/index.ts index e86b243c..ec0a0b6b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/level-line/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/level-line/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LevelLine } from './level-line'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/level-line/level-line.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/level-line/level-line.tsx index 578de6d6..108db260 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/level-line/level-line.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/level-line/level-line.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/level-line/types.ts b/frontend/packages/workflow/playground/src/form-extensions/components/level-line/types.ts index cb71b319..989f5bcc 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/level-line/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/level-line/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface LineData { children?: LineData[]; helpLineShow?: unknown[]; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/level-line/utils.ts b/frontend/packages/workflow/playground/src/form-extensions/components/level-line/utils.ts index 60a51971..2f6d2035 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/level-line/utils.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/level-line/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LineShowResult, type LineData } from './types'; // eslint-disable-next-line complexity diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/library-select/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/library-select/index.ts index 47ddd5bf..c8ccb901 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/library-select/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/library-select/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LibrarySelect } from './library-select'; export { type Library } from './types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/library-select/library-card.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/library-select/library-card.tsx index 4c63155b..6f5075b5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/library-select/library-card.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/library-select/library-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { IconNameDescCard } from '../icon-name-desc-card'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/library-select/library-select.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/library-select/library-select.tsx index 06d6287b..0f058b37 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/library-select/library-select.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/library-select/library-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozPlus } from '@coze-arch/coze-design/icons'; import { IconButton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/library-select/types.ts b/frontend/packages/workflow/playground/src/form-extensions/components/library-select/types.ts index 4af58a60..c4b96bd8 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/library-select/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/library-select/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; export interface Library { id: string; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/constants.ts b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/constants.ts index 655bd467..6168991e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/constants.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo } from 'react'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/index.tsx index 6c2823ea..f8ecb40c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LiteralValueInput } from './literal-value-input'; export { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-boolean.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-boolean.tsx index 864767a0..0f2a7fb2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-boolean.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-boolean.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-integer.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-integer.tsx index 5ff1c755..57648452 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-integer.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-integer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-json.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-json.tsx index a4307fff..2bd01e57 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-json.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-json.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useEffect, useLayoutEffect, useMemo, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-number.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-number.tsx index c375d3de..e893e27b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-number.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-number.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-select.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-select.tsx index 1e6c01f0..43c15527 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-select.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-string.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-string.tsx index 22002bd9..a0f0e87b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-string.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-string.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-time.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-time.tsx index 55fe9844..886085de 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-time.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/input-time.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/literal-value-input.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/literal-value-input.tsx index d8a80508..9f910814 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/literal-value-input.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/literal-value-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { getInputComponent } from './utils'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/type.ts b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/type.ts index 10a8cef8..1820f62a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/type.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { type SchemaObject } from 'ajv'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/utils.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/utils.tsx index 5d68e28b..cab09bd1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/utils.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/literal-value-input/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { customAlphabet } from 'nanoid'; @@ -37,11 +37,21 @@ const uriMap: Record< | ViewVariableType.ArrayObject, string > = { - [ViewVariableType.ArrayString]: `${VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayString]}_${nanoid()}`, - [ViewVariableType.ArrayNumber]: `${VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayNumber]}_${nanoid()}`, - [ViewVariableType.ArrayInteger]: `${VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayInteger]}_${nanoid()}`, - [ViewVariableType.ArrayBoolean]: `${VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayBoolean]}_${nanoid()}`, - [ViewVariableType.ArrayObject]: `${VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayObject]}_${nanoid()}`, + [ViewVariableType.ArrayString]: `${ + VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayString] + }_${nanoid()}`, + [ViewVariableType.ArrayNumber]: `${ + VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayNumber] + }_${nanoid()}`, + [ViewVariableType.ArrayInteger]: `${ + VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayInteger] + }_${nanoid()}`, + [ViewVariableType.ArrayBoolean]: `${ + VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayBoolean] + }_${nanoid()}`, + [ViewVariableType.ArrayObject]: `${ + VARIABLE_TYPE_ALIAS_MAP[ViewVariableType.ArrayObject] + }_${nanoid()}`, }; /** diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/loop-output-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/loop-output-select/index.tsx index 8ccca23a..cdadc46d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/loop-output-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/loop-output-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/index.tsx index 2e910fae..040d27ae 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, type CSSProperties } from 'react'; import { groupBy, uniq } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/model-description.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/model-description.tsx index 0ef640d9..86f8e20a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/model-description.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/model-description.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MdBoxLazy } from '@coze-arch/bot-md-box-adapter/lazy'; import { type ModelDescGroup } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/option-item.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/option-item.tsx index de2064a4..8d971e1a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/option-item.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/model-selector/option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Button, Tag } from '@coze-arch/coze-design'; import { Avatar, Popover } from '@coze-arch/bot-semi'; import { IconInfo } from '@coze-arch/bot-icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/mutable-variable-assign/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/mutable-variable-assign/index.tsx index 7e084239..2b26c46c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/mutable-variable-assign/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/mutable-variable-assign/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useCallback, useEffect, useMemo } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/PluginMockSet.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/PluginMockSet.tsx index a3592f00..0f09fe76 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/PluginMockSet.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/PluginMockSet.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { useEffect, useRef, useMemo } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/close-button.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/close-button.tsx index 84d2b719..72e7b0c5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/close-button.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/close-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozCross } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/help-link-button.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/help-link-button.tsx index 6584b525..dc2f13dc 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/help-link-button.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/components/help-link-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/description-display.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/description-display.tsx index 6f049640..35b187e9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/description-display.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/description-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/description.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/description.tsx index c09d712a..f7f5c8ff 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/description.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/description.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState, useRef } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/index.tsx index 6a9206b8..cb6b0cb5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines-per-function */ import React, { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/use-move-out.ts b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/use-move-out.ts index 840af8d1..5e39872d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/use-move-out.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/use-move-out.ts @@ -13,11 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState, type MouseEvent } from 'react'; import { NodeIntoContainerService } from '@flowgram-adapter/free-layout-editor'; -import { useEntityFromContext, useService } from '@flowgram-adapter/free-layout-editor'; +import { + useEntityFromContext, + useService, +} from '@flowgram-adapter/free-layout-editor'; import { delay, WorkflowDragService, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/utils/get-bg-color.ts b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/utils/get-bg-color.ts index c491fe88..d8e66232 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/node-header/utils/get-bg-color.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/node-header/utils/get-bg-color.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + function hexToRgb(hex) { hex = hex.replace('#', ''); diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-param-display/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-param-display/index.tsx index a7b02f58..58f32d3e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-param-display/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-param-display/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/conversation-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/conversation-select/index.tsx index c60eaa2a..f76f4c55 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/conversation-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/conversation-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState, useMemo } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-btn/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-btn/index.tsx index 108d73bb..11635b20 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-btn/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-btn/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozExpand, IconCozMinimize } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/default-value-input.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/default-value-input.tsx index ebad7b80..bbc1a50c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/default-value-input.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/default-value-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useMemo, useRef } from 'react'; import { ViewVariableType, CONVERSATION_NAME } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/index.tsx index d0baa378..87fb6972 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; @@ -76,7 +76,9 @@ export const ExpandContent: FC = props => {
diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/input-time.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/input-time.tsx index b77ebfad..2cd500b9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/input-time.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/input-time.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DatePicker } from '@coze-arch/coze-design'; import { type DefaultValueInputProps } from './types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/types.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/types.ts index ea1b3420..f2b63b57 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/expand-content/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type TreeNodeCustomData, type DefaultValueType } from '../../type'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-desc-popover/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-desc-popover/index.tsx index 1af7f10c..b66a51dd 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-desc-popover/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-desc-popover/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { IconCozPencilPaper } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-description/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-description/index.tsx index 4b612079..280087c5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-description/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-description/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { useState } from 'react'; @@ -57,8 +57,8 @@ export default function ParamDescription({ inputFocus ? styles['desc-focus'] : data.description - ? styles['desc-not-focus-with-value'] - : styles['desc-not-focus'], + ? styles['desc-not-focus-with-value'] + : styles['desc-not-focus'], styles.desc, hasObjectLike ? styles['desc-object-like'] : null, )} diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-name/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-name/index.tsx index 88bed868..a3924f79 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-name/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-name/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { useState } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-operator/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-operator/index.tsx index 42476d3e..cb733108 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-operator/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-operator/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-required/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-required/index.tsx index f38807b2..50a9d175 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-required/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-required/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/constants.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/constants.tsx index be8c3733..70588058 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/constants.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/constants.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { ViewVariableType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/index.tsx index 978c0f35..47bd4030 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { useState } from 'react'; @@ -120,7 +120,9 @@ export default function ParamType({ 'param-type-select', )} className={classNames( - `flex items-center justify-between gap-0.5 pl-[3px] pr-[3px] rounded-[6px] ${disabled ? 'cursor-not-allowed' : 'cursor-pointer'}`, + `flex items-center justify-between gap-0.5 pl-[3px] pr-[3px] rounded-[6px] ${ + disabled ? 'cursor-not-allowed' : 'cursor-pointer' + }`, 'border border-solid bg-transparent', { 'semi-input-wrapper-error': options.showError, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/utils.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/utils.tsx index 0f8c0d7a..d94c8f4e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/utils.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/components/param-type/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { VARIABLE_TYPE_ALIAS_MAP, ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/constants.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/constants.ts index e154f536..fea8939d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/constants.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; // eslint-disable-next-line @typescript-eslint/naming-convention diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/index.tsx index 764bb25c..1de4f1f0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useRef, useState, useMemo } from 'react'; import isNumber from 'lodash-es/isNumber'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/type.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/type.ts index 3afee283..177b58b9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/type.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/custom-tree-node/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RecursedParamDefinition } from '@coze-workflow/base'; import { type TreeNodeData } from '@coze-arch/bot-semi/Tree'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/header/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/header/index.tsx index 150c8b24..ea203c64 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/header/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers */ import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-editor/convert-schema.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-editor/convert-schema.ts index bdc9a53e..9ec4a9d0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-editor/convert-schema.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-editor/convert-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface ParamSchemaType { name: string; type: number; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-editor/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-editor/index.tsx index 9813f9e6..def731d6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-editor/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useRef, useState, type FC } from 'react'; import { IconCrossStroked } from '@douyinfe/semi-icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/index.tsx index 4f10fdfe..45fdce79 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import { useEffect, useState, type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/json-editor-with-state.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/json-editor-with-state.tsx index 75bd2e99..a4e80290 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/json-editor-with-state.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/json-editor-with-state.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { JSONEditor } from '../json-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/add-readonly-data.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/add-readonly-data.ts index c7110f93..b33eb11e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/add-readonly-data.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/add-readonly-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { TreeNodeCustomData } from '../../custom-tree-node/type'; /** diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/batch.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/batch.ts index 6c27906a..4d2c96d7 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/batch.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/batch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import type { TreeNodeCustomData } from '../../custom-tree-node/type'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/cut-off.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/cut-off.ts index 1854a0cd..617993ac 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/cut-off.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/cut-off.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { traverse, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/merge.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/merge.ts index 1d5d7622..4132750c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/merge.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/json-import/utils/merge.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { traverse, type TraverseContext } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/response-format/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/response-format/index.tsx index ba2ad398..32b13676 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/response-format/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/components/response-format/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, Suspense, lazy } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/constants.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/constants.ts index 802e44cc..f4327ca5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/constants.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ /** Indent width of each level of tree */ diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/context.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/context.ts index 1591adfd..64bcd9fd 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/context.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; interface OutputTreeContext { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/hooks/use-columns-style.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/hooks/use-columns-style.ts index 20d4f2cd..52a35ab4 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/hooks/use-columns-style.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/hooks/use-columns-style.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TreeIndentWidth } from '../constants'; interface ColumnsStyle { @@ -29,7 +29,9 @@ export function useColumnsStyle(columnsRatio = '3:2', level = 0): ColumnsStyle { flex: `${nameWidth} ${nameWidth} 0`, }, type: { - flex: `${typeWidth} ${typeWidth} ${(level * TreeIndentWidth * typeWidth) / nameWidth}px`, + flex: `${typeWidth} ${typeWidth} ${ + (level * TreeIndentWidth * typeWidth) / nameWidth + }px`, minWidth: '80px', maxWidth: '135px', }, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/utils.ts b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/utils.ts index f714aee5..d323ac9c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/utils.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/output-tree/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type TreeNodeCustomData } from './components/custom-tree-node/type'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/question-limit/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/question-limit/index.tsx index 969d7dd5..17acf4c6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/question-limit/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/question-limit/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/radio/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/radio/index.tsx index 6d74063b..7d92bd89 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/radio/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/radio/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/card.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/card.tsx index 4429eedf..e08ab444 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/card.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/content.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/content.tsx index 522d0dc7..68d4848b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/content.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { SettingOnErrorProcessType } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/index.tsx index 070e2f36..5fcd5617 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/use-exapand.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/use-exapand.ts index b18d3928..56d85b9e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/use-exapand.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/error-form/use-exapand.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SettingOnErrorValue, useTimeoutConfig, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/ext/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/ext/index.tsx index c3930ea2..b56696f3 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/ext/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/ext/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { isNumber } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/ext/trigger.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/ext/trigger.tsx index a3666d15..67c70f7d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/ext/trigger.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/ext/trigger.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/header/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/header/index.tsx index 048de844..6c670825 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/header/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers */ import classNames from 'classnames'; import { useTimeoutConfig } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/index.ts index bdf6e77a..a62aebb2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ErrorForm } from './error-form'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/json/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/json/index.tsx index ccb52831..853d124b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/json/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/json/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { SettingOnErrorProcessType } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/index.tsx index 0aeb8701..3399ac95 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { SettingOnErrorProcessType } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/option-item.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/option-item.tsx index b8f7f51c..1d11d8a3 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/option-item.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/types.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/types.ts index c296437a..87fe4463 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/process-type/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SettingOnErrorProcessType } from '@coze-workflow/nodes'; export interface Option { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/retry-times/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/retry-times/index.tsx index 88b36620..6df92635 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/retry-times/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/retry-times/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/timeout/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/timeout/index.tsx index 4436b077..33c1708a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/timeout/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/components/timeout/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers */ import { useEffect, useState, type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/error-form.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/error-form.tsx index 2ed67688..c1bce796 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/error-form.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/error-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-batch-change.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-batch-change.ts index 2cf93ddb..370f6042 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-batch-change.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-batch-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useUpdateEffect } from 'ahooks'; import { SettingOnErrorProcessType } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-exception-change.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-exception-change.ts index cc069c01..cd35a9b6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-exception-change.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-exception-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-json-with-outputs.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-json-with-outputs.tsx index a73dd723..1380299e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-json-with-outputs.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-json-with-outputs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useRef } from 'react'; import { isEqual, isNil } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-refresh-on-variable-change.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-refresh-on-variable-change.ts index d3041b72..ba9b5d27 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-refresh-on-variable-change.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-refresh-on-variable-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-setting-on-error.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-setting-on-error.ts index a732fb8a..3d862ef4 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-setting-on-error.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/hooks/use-setting-on-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable max-lines-per-function */ import { useState } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/index.ts index e5d4f6c9..629c8869 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SettingOnError } from './setting-on-error'; export { SettingOnErrorValue } from './types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/setting-on-error.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/setting-on-error.tsx index 68aec4b9..5eaf3b12 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/setting-on-error.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/setting-on-error.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type SettingOnErrorProps } from './types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/types.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/types.ts index d78ec26e..09bbe32d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; import { type ViewVariableTreeNode, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/generate-json-schema.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/generate-json-schema.ts index 8ee9ab0e..1d7e506a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/generate-json-schema.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/generate-json-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { ViewVariableType, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/index.test.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/index.test.ts index 56f50b9a..6cbb4557 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/index.test.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/index.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { type ViewVariableTreeNode } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/index.ts index 765e074f..6b88ce88 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { ViewVariableType, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/is-exception.ts b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/is-exception.ts index a2130c89..5b9c3c1d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/is-exception.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/setting-on-error/utils/is-exception.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SettingOnErrorProcessType, type SettingOnErrorValue, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/slider-with-input/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/slider-with-input/index.tsx index 468a81e1..22b6afa3 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/slider-with-input/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/slider-with-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tag-selector/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tag-selector/index.tsx index 08c9cc43..cdbdc38c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tag-selector/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tag-selector/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, useState } from 'react'; import { escape } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tag-selector/use-slot-node.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tag-selector/use-slot-node.tsx index 0e6211bb..169e19fc 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tag-selector/use-slot-node.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tag-selector/use-slot-node.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useEffect } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/text/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/text/index.tsx index aeaf8cb8..30ef04f1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/text/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/text/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Text } from '@coze-workflow/components'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select-option.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select-option.tsx index 551fdca5..bab9fbc2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select-option.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select-option.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select-tree-panel.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select-tree-panel.tsx index c43a08d3..1ba00309 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select-tree-panel.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select-tree-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode, useCallback, useMemo, useState } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select.tsx index 74e2b385..ea5db3e4 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/composite-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useState, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/context.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/context.tsx index 9e2223fc..49ccc398 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/context.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type ViewVariableMeta } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/expand-icon.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/expand-icon.tsx index 7dbb6e97..e0ceeb1a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/expand-icon.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/expand-icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type MouseEvent } from 'react'; import { IconCozArrowDown } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/global-var-icon.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/global-var-icon.tsx index 643345d8..d79a6aa8 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/global-var-icon.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/global-var-icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode } from 'react'; import { GlobalVariableKey } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/index.tsx index b552c875..9d46d49c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VariableSelector, VariableSelectorProps } from './variable-selector'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/node-variable-tree.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/node-variable-tree.tsx index ce6c3f80..5edfbdb6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/node-variable-tree.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/node-variable-tree.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useRef, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/types.ts b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/types.ts index 04d1e4b3..99da278e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { TreeNodeData } from '@coze-arch/bot-semi/Tree'; import { type VariableMetaWithNode } from '../../typings'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/use-global-variable-cache.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/use-global-variable-cache.tsx index 3739182c..037ef337 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/use-global-variable-cache.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/use-global-variable-cache.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useGlobalState } from '@/hooks'; import { genGlobalVariableData } from './utils'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/utils.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/utils.tsx index 100736f4..8deabc3c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/utils.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/utils.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { groupBy } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/value-display.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/value-display.tsx index 2dc49149..74a57b95 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/value-display.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/value-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/variable-selector.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/variable-selector.tsx index a49fe845..71381020 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/variable-selector.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/tree-variable-selector/variable-selector.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useCallback, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/utils/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/utils/index.ts index c9dd8d5d..66ed4014 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/utils/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/utils/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { feedbackStatus2ValidateStatus } from './semi-ui'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/utils/semi-ui.ts b/frontend/packages/workflow/playground/src/form-extensions/components/utils/semi-ui.ts index 2d924233..54c1fca9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/utils/semi-ui.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/utils/semi-ui.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormItemFeedback } from '@flowgram-adapter/free-layout-editor'; export const feedbackStatus2ValidateStatus = ( diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/validation/context.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/validation/context.tsx index 8df76fdb..cbde52d2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/validation/context.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/validation/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { createContext } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/validation/hooks.ts b/frontend/packages/workflow/playground/src/form-extensions/components/validation/hooks.ts index f5cfc3b4..f09aaa91 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/validation/hooks.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/validation/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { REPORT_EVENTS } from '@coze-arch/report-events'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/validation/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/validation/index.tsx index 0dd85c07..c2d381ba 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/validation/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/validation/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ValidationProvider } from './context'; export { useError, useOnTestRunValidate } from './hooks'; export { ValidationErrorWrapper } from './validation-error-wrapper'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/validation/type.ts b/frontend/packages/workflow/playground/src/form-extensions/components/validation/type.ts index 0cd4fbdf..ee1614ed 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/validation/type.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/validation/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface ValidationError { message: string; path: string | string[]; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/validation/validation-error-wrapper.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/validation/validation-error-wrapper.tsx index 304fa696..e672c006 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/validation/validation-error-wrapper.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/validation/validation-error-wrapper.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactElement, type CSSProperties, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/validation/with-validation.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/validation/with-validation.tsx index 183485c6..1786f1a2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/validation/with-validation.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/validation/with-validation.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/InputField.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/InputField.tsx index 270667c2..607f60e9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/InputField.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/InputField.tsx @@ -13,17 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type CSSProperties } from 'react'; import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; -import { - InputNumber, - Switch, - Input, - DatePicker, -} from '@coze-arch/coze-design'; +import { InputNumber, Switch, Input, DatePicker } from '@coze-arch/coze-design'; import { type SelectProps } from '@coze-arch/bot-semi/Select'; export type InputType = diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/const.ts b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/const.ts index b7726e43..6d94faa9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/const.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValueExpressionType, ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/context.ts b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/context.ts index 68c39f9c..bae83fc7 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/context.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; // eslint-disable-next-line @typescript-eslint/naming-convention diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/index.ts b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/index.ts index cbcc0874..6e8052f9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { memo } from 'react'; import { type ValueExpressionInputProps } from './value-expression-input'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/object-ref-display.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/object-ref-display.tsx index 16ed9b34..c709990d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/object-ref-display.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/object-ref-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/ref-value-display.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/ref-value-display.tsx index 66f4390a..0b2c85b2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/ref-value-display.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/ref-value-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type CSSProperties, type FC, useMemo } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/typed-value-expression-input.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/typed-value-expression-input.tsx index ecee3e9f..843cea59 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/typed-value-expression-input.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/typed-value-expression-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState, useEffect } from 'react'; import { uniq } from 'lodash-es'; @@ -229,9 +229,7 @@ export const TypedValueExpressionInput = ({ }; const keyPath = - value && ValueExpression.isRef(value) - ? (value?.content?.keyPath ?? []) - : []; + value && ValueExpression.isRef(value) ? value?.content?.keyPath ?? [] : []; // Externally modified variable type useVariableTypeChange({ keyPath, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/value-expression-input.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/value-expression-input.tsx index 3bc7fc20..e73a7152 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/value-expression-input.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/value-expression-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity -- no need to check */ import React, { useCallback, diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/voice/use-voice.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/voice/use-voice.tsx index 46d29adf..0d44186e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/voice/use-voice.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/voice/use-voice.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/voice/voice-option.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/voice/voice-option.tsx index a70c7c9d..cad3768f 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/voice/voice-option.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/value-expression-input/voice/voice-option.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/constants.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/constants.tsx index db9004aa..7623b847 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/constants.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/constants.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { ViewVariableType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/index.tsx index f56067ec..8187f33b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VariableTypeSelector } from './variable-type-selector'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/variable-type-selector.tsx b/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/variable-type-selector.tsx index e17040ef..b1bcb233 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/variable-type-selector.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/components/variable-type-selector/variable-type-selector.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, type CSSProperties, @@ -137,7 +137,11 @@ export function VariableTypeSelector({
(array: T[], chunkSize: number): T[][] { return array.reduce((previous, current, index) => { if (index % chunkSize === 0) { diff --git a/frontend/packages/workflow/playground/src/form-extensions/decorators/index.ts b/frontend/packages/workflow/playground/src/form-extensions/decorators/index.ts index ea8b588d..86d2467b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/decorators/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/decorators/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DecoratorExtension } from '@flowgram-adapter/free-layout-editor'; import { style } from './style'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/decorators/style/index.ts b/frontend/packages/workflow/playground/src/form-extensions/decorators/style/index.ts index 56cc59c6..b7455468 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/decorators/style/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/decorators/style/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { style } from './style'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/decorators/style/style.tsx b/frontend/packages/workflow/playground/src/form-extensions/decorators/style/style.tsx index fb501284..b9f948a0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/decorators/style/style.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/decorators/style/style.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { type DecoratorComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/form-ability-extensions-form-contribution/form-ability-extensions-form-contribution.ts b/frontend/packages/workflow/playground/src/form-extensions/form-ability-extensions-form-contribution/form-ability-extensions-form-contribution.ts index 9803d4bc..313a0b2c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/form-ability-extensions-form-contribution/form-ability-extensions-form-contribution.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/form-ability-extensions-form-contribution/form-ability-extensions-form-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { DecoratorAbility, diff --git a/frontend/packages/workflow/playground/src/form-extensions/form-ability-extensions-form-contribution/index.ts b/frontend/packages/workflow/playground/src/form-extensions/form-ability-extensions-form-contribution/index.ts index ada75b1d..bde4a98c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/form-ability-extensions-form-contribution/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/form-ability-extensions-form-contribution/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FormAbilityExtensionsFormContribution } from './form-ability-extensions-form-contribution'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/hooks/index.ts b/frontend/packages/workflow/playground/src/form-extensions/hooks/index.ts index f812b121..fed4d2e6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useNodeAvailableVariablesWithNode } from './use-node-available-variables'; export { useFitViewport } from './use-fit-view-port'; export { useLLMPromptHistory } from './use-llm-prompt-history'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-fit-view-port.ts b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-fit-view-port.ts index d5adceab..585ed3e4 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-fit-view-port.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-fit-view-port.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This hooks is used to handle the scaling of the canvas after the side sheet panel is opened, ensuring that the host node is centered and visible */ diff --git a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-get-current-input-parameters.ts b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-get-current-input-parameters.ts index f4e073ec..98f5a844 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-get-current-input-parameters.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-get-current-input-parameters.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * TODO: This hooks is temporarily used to get the inputsParameters of the current node and the type corresponding to each variable */ diff --git a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-llm-prompt-history.ts b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-llm-prompt-history.ts index e7afabb4..fdfd3fc6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-llm-prompt-history.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-llm-prompt-history.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeResult } from '@coze-workflow/base/api'; function getPromptExecuteValue( diff --git a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-node-available-variables.ts b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-node-available-variables.ts index f87083af..d0ddfbea 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-node-available-variables.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-node-available-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-vector-model-list.ts b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-vector-model-list.ts index b0226274..b2272da4 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/hooks/use-vector-model-list.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/hooks/use-vector-model-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { KnowledgeApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/index.ts b/frontend/packages/workflow/playground/src/form-extensions/index.ts index ada75b1d..bde4a98c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FormAbilityExtensionsFormContribution } from './form-ability-extensions-form-contribution'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/index.tsx index b8aed35f..74d76602 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import update from 'immutability-helper'; import classNames from 'classnames'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/option-item.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/option-item.tsx index d08f2b42..3babf7e8 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/option-item.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/utils.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/utils.ts index 39b0184a..b9c79abb 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/utils.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/answer-option/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const ASCII_CODE_A = 65; // The ASCII serial number corresponding to the letter A export function convertNumberToLetters(n) { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/canvas/components/canvas.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/canvas/components/canvas.tsx index 3889f393..60411475 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/canvas/components/canvas.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/canvas/components/canvas.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useMemo, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/canvas/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/canvas/index.tsx index 6ddbc14a..7e90cab0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/canvas/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/canvas/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Suspense, lazy } from 'react'; import { type SetterExtension } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/chat-history/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/chat-history/index.tsx index b2ea6218..b1abde62 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/chat-history/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/chat-history/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/checkbox/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/checkbox/index.tsx index ff52fce0..ca0f0f11 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/checkbox/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/checkbox/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/biz-ide.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/biz-ide.tsx index 5ee888f8..486a8a6b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/biz-ide.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/biz-ide.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/constants.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/constants.ts index f9dd89dc..200edbad 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/constants.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ export const HELP_DOCUMENT_Link = IS_OVERSEA ? '/docs/guides/code_node?_lang=en' diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/index.tsx index ec1bfd5d..c358c552 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/biz-ide-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ /** * BizIDE side pull panel diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/code-with-biz-ide.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/code/code-with-biz-ide.tsx index 058c623d..857abf61 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/code-with-biz-ide.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/code-with-biz-ide.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect } from 'react'; import { type FeedbackStatus } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/constants.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/code/constants.ts index bfd07031..9e83ac66 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/constants.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type EditorProps } from '@coze-workflow/code-editor-adapter'; import { I18n } from '@coze-arch/i18n'; @@ -31,8 +31,12 @@ export const DEFAULT_TYPESCRIPT_CODE_PARAMS = { async function main({ params }: Args): Promise { ${I18n.t('workflow_code_js_illustrate_output')} const ret = { - "key0": params.input + params.input, ${I18n.t('workflow_code_js_illustrate_output_param')} - "key1": ["hello", "world"], ${I18n.t('workflow_code_js_illustrate_output_arr')} + "key0": params.input + params.input, ${I18n.t( + 'workflow_code_js_illustrate_output_param', + )} + "key1": ["hello", "world"], ${I18n.t( + 'workflow_code_js_illustrate_output_arr', + )} "key2": { ${I18n.t('workflow_code_js_illustrate_output_obj')} "key21": "hi" }, @@ -50,8 +54,12 @@ async def main(args: Args) -> Output: params = args.params ${I18n.t('workflow_code_py_illustrate_output')} ret: Output = { - "key0": params['input'] + params['input'], ${I18n.t('workflow_code_py_illustrate_output_param')} - "key1": ["hello", "world"], ${I18n.t('workflow_code_py_illustrate_output_arr')} + "key0": params['input'] + params['input'], ${I18n.t( + 'workflow_code_py_illustrate_output_param', + )} + "key1": ["hello", "world"], ${I18n.t( + 'workflow_code_py_illustrate_output_arr', + )} "key2": { ${I18n.t('workflow_code_py_illustrate_output_obj')} "key21": "hi" }, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/context.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/code/context.tsx index 4e6fccce..11a29576 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/context.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/defaults.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/code/defaults.ts index 21904068..27dbdaa7 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/defaults.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/defaults.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_AVATAR_LANGUAGES, DEFAULT_IDE_PYTHON_CODE_PARAMS, @@ -27,8 +27,8 @@ function getLanguageTemplates(options?: { isBindDouyin?: boolean }) { return IS_OPEN_SOURCE ? DEFAULT_OPEN_SOURCE_LANGUAGES : options?.isBindDouyin - ? DEFAULT_AVATAR_LANGUAGES - : DEFAULT_LANGUAGES; + ? DEFAULT_AVATAR_LANGUAGES + : DEFAULT_LANGUAGES; } function getDefaultValue(options?: { isBindDouyin?: boolean }) { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/hooks/use-ide-input-output-type.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/code/hooks/use-ide-input-output-type.ts index ddd8528c..bf89cf95 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/hooks/use-ide-input-output-type.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/hooks/use-ide-input-output-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { useService } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/code/index.tsx index 723ad1fb..ae1d5a77 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { ConfigProvider } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/code/types.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/code/types.ts index 644b873f..e87016c8 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/code/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/code/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface CodeEditorValue { language: number; code?: string; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/hidden-condition/condition-item.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/hidden-condition/condition-item.tsx index 70440fdb..f95f350a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/hidden-condition/condition-item.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/hidden-condition/condition-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/hidden-condition/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/hidden-condition/index.tsx index 79a0a693..6f670bcb 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/hidden-condition/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/hidden-condition/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/index.tsx index 4d073a31..4e302b6c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { validateAllBranchesFromOutside } from './multi-condition/validate/validate'; import { Condition } from './multi-condition'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-branch.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-branch.tsx index 0c2148de..7dca5f53 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-branch.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-branch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ReactNode } from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-header.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-header.tsx index 7a43ddf0..9d678b00 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-header.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-item-logic.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-item-logic.tsx index 6f275aea..6dd355c8 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-item-logic.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-item-logic.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-header/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-header/index.tsx index 32745566..bec642f8 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-header/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/condition-logic/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/condition-logic/index.tsx index a8529bbd..a2d8835f 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/condition-logic/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/condition-logic/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/constants.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/constants.ts index 54cefa89..dfd4d4d0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/constants.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import merge from 'lodash-es/merge'; import { ConditionType } from '@coze-workflow/base/api'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/delete/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/delete/index.tsx index 98649eef..17684efa 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/delete/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/delete/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozMinus } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/index.tsx index 5e82e007..b228d908 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { useMemo } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/operator/convert-map2options.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/operator/convert-map2options.ts index 6b9d146f..2ed42cd6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/operator/convert-map2options.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/operator/convert-map2options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFunction } from 'lodash-es'; /** @@ -31,7 +31,7 @@ export default function convertMap2options( * Therefore, the {value: label} structure involving i18n needs to be written as {value : () => label} * When this property is enabled, an additional lazy load is performed * @default false - * @link + * @link */ i18n?: boolean; } = {}, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/operator/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/operator/index.tsx index 3184ef66..bd17c583 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/operator/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/operator/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { ViewVariableType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/utils.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/utils.ts index c3990fc8..0387a9d2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/utils.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/value-expression-with-state/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/value-expression-with-state/index.tsx index 3368744f..ae38ec9e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/value-expression-with-state/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/condition-params-item/value-expression-with-state/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ /** * Interactively, when the operator is selected, when the rvalue is switched between disabled and disabled, it needs to keep the type the same as last time, so here is a state store diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/constants.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/constants.tsx index 261ed45a..2c447d7a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/constants.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/constants.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConditionType } from '@coze-arch/idl/workflow_api'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/context.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/context.ts index 96f0ffe8..96a162b5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/context.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/condition-branch-preview.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/condition-branch-preview.tsx index a58f3d6a..7539018e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/condition-branch-preview.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/condition-branch-preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { IconHandle } from '@douyinfe/semi-icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/condition-branch.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/condition-branch.tsx index 61dd29cb..2140eea1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/condition-branch.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/condition-branch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { getEmptyImage } from 'react-dnd-html5-backend'; import { useDrop, useDrag } from 'react-dnd'; import { type FC, useRef, useEffect } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/container.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/container.tsx index 6313aded..eb28275b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/container.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/container.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const ConditionDraggableContainer = props => (
{props.children}
); diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/custom-drag-layer.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/custom-drag-layer.tsx index 9080f2fb..b0b8b439 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/custom-drag-layer.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/custom-drag-layer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useDragLayer } from 'react-dnd'; import { useRef, useEffect, type FC, type ReactNode } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/types.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/types.ts index db4fbfed..0f88c318 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/draggable/types.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @typescript-eslint/naming-convention export const ConditionBranchBlock = 'ConditionBranch'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/index.tsx index f467c8cf..494372f7 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState, useCallback, type FC } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/types.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/types.ts index 4b4ffcc6..4018c083 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RefExpression, type ValueExpression, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/ValidationField.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/ValidationField.tsx index bcd87dd2..377d4961 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/ValidationField.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/ValidationField.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-deep-relative-import */ import React, { useState, useEffect } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/use-condition-validate.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/use-condition-validate.ts index 699f148b..7a32d25c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/use-condition-validate.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/use-condition-validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { create } from 'zustand'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/validate.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/validate.ts index e8759ca7..723a3f20 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/validate.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/condition/multi-condition/validate/validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This module is a temporary solution for doing verification design * Due to the complete separation of the checksum values, there is a problem with state synchronization diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/ai-cronjob.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/ai-cronjob.tsx index b8fe08a2..095a6fd5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/ai-cronjob.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/ai-cronjob.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/fix-cronjob.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/fix-cronjob.tsx index 2e33ba28..aebd2ea6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/fix-cronjob.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/fix-cronjob.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, type ReactNode, useCallback } from 'react'; import { isUndefined } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/index.tsx index 576f15cd..363cbc1e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/cronjob-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/custom-port/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/custom-port/index.tsx index ab065af0..3da019ef 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/custom-port/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/custom-port/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/database-select.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/database-select.tsx index 40043366..fd030975 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/database-select.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/database-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Modal } from '@coze-arch/coze-design'; import { JsonViewer } from '@coze-common/json-viewer'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/index.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/index.ts index 0c156a72..2dac78bf 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DatabaseSelect } from './database-select'; export { type DatabaseSelectValue } from './types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/types.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/types.ts index f46cfbb8..1c8e8ac1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface Database { databaseInfoID: string; } diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-libraries.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-libraries.tsx index cafc52f2..9696b262 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-libraries.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-libraries.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowDatabase } from '@coze-workflow/base'; import { useCurrentDatabaseQuery } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-modal.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-modal.ts index 15330cd2..2a82d8f6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-modal.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-modal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; export const useModal = () => { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-tags.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-tags.ts index 34691ada..682e9523 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-tags.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/database-select/use-tags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentDatabaseQuery } from '@/hooks'; export function useTags(id?: string) { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-select/index.tsx index 0528cbe6..1bf49642 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-setting/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-setting/index.tsx index 02bfe822..500cc729 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-setting/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-setting/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useWorkflowNode } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-chunk/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-chunk/index.tsx index d240127b..1433226c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-chunk/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-chunk/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import type { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-index/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-index/index.tsx index f8e0ada5..12767b43 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-index/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-index/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-parser/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-parser/index.tsx index 099b1610..8c619d23 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-parser/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/dataset-write-parser/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import type { OptionItem, RadioType } from '@coze-arch/bot-semi/Radio'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/delimiter-selector/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/delimiter-selector/index.tsx index 59e0001a..20336364 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/delimiter-selector/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/delimiter-selector/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/container/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/container/index.tsx index abb05036..a8200395 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/container/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/hooks.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/hooks.ts index b02735d1..2c70dbbf 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/hooks.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/index.tsx index 9a6cd142..43132ff1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; import { reporter } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/utils/convert-inputs.test.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/utils/convert-inputs.test.ts index bea9bd6b..b292ae76 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/utils/convert-inputs.test.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/utils/convert-inputs.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { convertInputs } from './convert-inputs'; describe('convert-inputs', () => { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/utils/convert-inputs.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/utils/convert-inputs.ts index 23354fd8..a7209190 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/utils/convert-inputs.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/utils/convert-inputs.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ExpressionEditorTreeHelper } from '@coze-workflow/components'; import { type InputValueVO, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/validator.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/validator.ts index 5ea76ee3..cd31a0d9 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/validator.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/expression-editor/validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import type { ValidatorProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/file-upload/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/file-upload/index.tsx index bf718f07..6db903f2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/file-upload/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/file-upload/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/form/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/form/index.tsx index 68d7b2a6..85f002b7 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/form/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/helper.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/helper.ts index 2de8ae5f..07c71352 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/helper.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Variable Naming Validation Rules */ export const nameValidationRule = /^(?!.*\b(true|false|and|AND|or|OR|not|NOT|null|nil|If|Switch)\b)[a-zA-Z_][a-zA-Z_$0-9]*$/; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-image-preview-visible.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-image-preview-visible.ts index 97b12a4d..0972e2dd 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-image-preview-visible.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-image-preview-visible.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-input-contains-image.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-input-contains-image.ts index 8059b52c..cb8bf528 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-input-contains-image.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-input-contains-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState } from 'react'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-listen-variable-change.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-listen-variable-change.ts index 0aa78bcd..05d3f953 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-listen-variable-change.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-listen-variable-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-ref-variable-path-list.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-ref-variable-path-list.ts index f80a80da..21c021b0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-ref-variable-path-list.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/hooks/use-ref-variable-path-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/index.tsx index 110db5ad..520bdd21 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ImgLog } from '../../../components/test-run/img-log'; import { useImagePreviewVisible } from './hooks/use-image-preview-visible'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/index.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/index.ts index 6e0177da..efa7da3e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { isInputAsOutput } from './is-input-as-output'; export { isOutputsContainsImage } from './is-output-contains-image'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/is-input-as-output.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/is-input-as-output.ts index bf45edaa..21576ab0 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/is-input-as-output.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/is-input-as-output.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; const inputAsOutputNodes = [StandardNodeType.End, StandardNodeType.Output]; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/is-output-contains-image.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/is-output-contains-image.ts index f6e51ad7..cf2842aa 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/is-output-contains-image.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/image-preview/utils/is-output-contains-image.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/index.tsx index 5e1c80b6..9fe5a865 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterExtension } from '@flowgram-adapter/free-layout-editor'; import { Boolean, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/input-tree/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/input-tree/index.tsx index ae5601b8..f7f9ef49 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/input-tree/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/input-tree/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterComponentProps, type SetterExtension, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/input/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/input/index.tsx index 44873f05..e40cafee 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/input/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/json-editor/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/json-editor/index.tsx index e608c2cb..c7c490cd 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/json-editor/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/json-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; import { JsonEditorAdapter } from '@/components/test-run/test-form-materials/json-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/local-input-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/local-input-select/index.tsx index 5188b3ad..cdc8a3cc 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/local-input-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/local-input-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { LocalInputSelect } from './local-input-select'; export const localInputSelect = { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/local-input-select/local-input-select.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/local-input-select/local-input-select.tsx index b03919d1..74924d31 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/local-input-select/local-input-select.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/local-input-select/local-input-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/loop-output-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/loop-output-select/index.tsx index 1fafe2d6..989b9c2b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/loop-output-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/loop-output-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterComponentProps, type ValidatorProps, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/constants.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/constants.ts index 8a93635e..e563b715 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/constants.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/constants.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const customVisibilityValue = '3'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/context.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/context.ts index 76bc1edc..30ee6e37 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/context.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { createContext, useContext } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/index.tsx index 81a88026..893eaabd 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { toStandardSetter } from '../to-standard-setter'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/message-visibility-wrapper.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/message-visibility-wrapper.tsx index 6145fc24..d93c54ed 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/message-visibility-wrapper.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/message-visibility-wrapper.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Setter } from '@coze-workflow/setters'; import { typeSafeJSONParse } from '@coze-arch/bot-utils'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/message-visibility.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/message-visibility.tsx index 022ae8ab..da112897 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/message-visibility.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/message-visibility.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/nickname-variable-checkbox-group.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/nickname-variable-checkbox-group.tsx index 819acc3a..db827d64 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/nickname-variable-checkbox-group.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/nickname-variable-checkbox-group.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { intersectionWith } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/player-checkbox-group.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/player-checkbox-group.tsx index 5a3cd262..52d85187 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/player-checkbox-group.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/player-checkbox-group.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useEffect } from 'react'; import { intersectionWith } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/role-select-option-item.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/role-select-option-item.tsx index 98ad31e9..2672efb5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/role-select-option-item.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/role-select-option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, type FC, useState, useEffect } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/role-select-panel.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/role-select-panel.tsx index 6106795b..b2cb6561 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/role-select-panel.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/role-select-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { concatTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/types.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/types.ts index dbe39377..d5cc5839 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { type ValueExpression } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/utils.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/utils.ts index 2dc88440..f773ae07 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/utils.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/message-visibility/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NicknameVariableSetting, type RoleSetting } from './types'; export function isRoleUserSettings( diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/model-setting.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/model-setting.tsx index 8e485817..3b57070b 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/model-setting.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/model-setting.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // TODO first encapsulates a business component for joint debugging, and then abstracts it into a general request select. import React, { useEffect, useMemo, useState, type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/index.tsx index 7d76617f..ae8dcf8f 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties } from 'react'; import { type Model } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/model-description.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/model-description.tsx index 0ef640d9..86f8e20a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/model-description.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/model-description.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MdBoxLazy } from '@coze-arch/bot-md-box-adapter/lazy'; import { type ModelDescGroup } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/option-item.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/option-item.tsx index 1865f048..4ed98413 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/option-item.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/selector/option-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Button, Tag, Popover, Avatar } from '@coze-arch/coze-design'; import { IconInfo } from '@coze-arch/bot-icons'; import { type ModelDescGroup } from '@coze-arch/bot-api/developer_api'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/settings.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/settings.tsx index c4c3584f..1cf583c8 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/settings.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/components/settings.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // TODO first encapsulates a business component for joint debugging, and then abstracts it into a general request select. import React, { Suspense, lazy } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/index.tsx index a902b084..c1bb4f0c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo, type FC } from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/utils/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/utils/index.tsx index 8424cce2..c99b8153 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/utils/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/model-select/utils/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { GenerationDiversity } from '@coze-workflow/base'; import { ModelParamType, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/mutable-variable-assign/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/mutable-variable-assign/index.tsx index 17f069b0..70d3b871 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/mutable-variable-assign/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/mutable-variable-assign/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterComponentProps, type ValidatorProps, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/node-header/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/node-header/index.tsx index d3764336..f548d4ae 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/node-header/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/node-header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/index.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/index.ts index 31552603..42daa664 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type ValidatorProps, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/node-input-name.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/node-input-name.tsx index 8c2c8441..dcf03102 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/node-input-name.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/node-input-name.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import React, { useMemo, useCallback, useEffect, useState } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/type.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/type.ts index 3c92f6a1..fba3f239 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/type.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CSSProperties } from 'react'; import type { SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/utils.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/utils.ts index dfa0c765..ff2dc93f 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/utils.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/node-input-name/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { last } from 'lodash-es'; import type { FormItemMaterialContext } from '@flowgram-adapter/free-layout-editor'; import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/node-output-name/index.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/node-output-name/index.ts index 8845bf54..8f11b8ef 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/node-output-name/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/node-output-name/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type SetterExtension } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/node-output-name/node-output-name.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/node-output-name/node-output-name.tsx index 731f7152..2d206f88 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/node-output-name/node-output-name.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/node-output-name/node-output-name.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/notify/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/notify/index.tsx index 7126827a..6d1c6da1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/notify/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/notify/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/number/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/number/index.tsx index deb88e5d..62869e14 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/number/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/number/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/output-label-text/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/output-label-text/index.tsx index 0a556a91..5f101968 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/output-label-text/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/output-label-text/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/output-tree/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/output-tree/index.tsx index 4358eed6..1116f92e 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/output-tree/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/output-tree/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useEffect, useMemo, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/question-limit/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/question-limit/index.tsx index 89dfda3d..5cbbddb2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/question-limit/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/question-limit/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/radio/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/radio/index.tsx index 4f5883c5..081d193d 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/radio/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/radio/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { Radio as BaseRadio, type RadioProps } from '../../components/radio'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/select/index.tsx index 636be35f..a4725d83 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/setting-on-error/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/setting-on-error/index.tsx index 69093a26..1861c693 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/setting-on-error/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/setting-on-error/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/slider/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/slider/index.tsx index cdccf6b2..65290e17 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/slider/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/slider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { isNil } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/context.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/context.tsx index 19993517..9a3d7011 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/context.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type SpeakerMessageSetValue } from './types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/index.tsx index 1ed8c9e1..751fa002 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z } from 'zod'; import { workflowQueryClient } from '@coze-workflow/base/api'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/message-content.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/message-content.tsx index f2931ba8..12408504 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/message-content.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/message-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { withField } from '@coze-arch/coze-design'; import { ExpressionEditorContainer } from '../expression-editor/container'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/message-set-form.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/message-set-form.tsx index 25e3049d..3c548d69 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/message-set-form.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/message-set-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef, useState } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-message-set-array.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-message-set-array.tsx index 77c026ad..69c6a4d1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-message-set-array.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-message-set-array.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Ref, useRef } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-message-set.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-message-set.tsx index d10c1b68..0934ddb4 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-message-set.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-message-set.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; // import { useArraySetterItemContext } from '@coze-workflow/setters'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-select.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-select.tsx index f0bec1ea..d6e71dae 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-select.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/speaker-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState, useEffect } from 'react'; import { concatTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/types.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/types.ts index 71d111a0..46bf19ba 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/types.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type RoleType } from '@coze-arch/idl/social_api'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-get-nickname-speaker-datasource.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-get-nickname-speaker-datasource.tsx index ba521bc9..5768ea9a 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-get-nickname-speaker-datasource.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-get-nickname-speaker-datasource.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VARIABLE_TYPE_ALIAS_MAP, ViewVariableType, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-get-role-speaker-datasource.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-get-role-speaker-datasource.tsx index 8f258961..97973a9c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-get-role-speaker-datasource.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-get-role-speaker-datasource.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Space, Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-normalize-value-with-role-list.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-normalize-value-with-role-list.ts index af728bbe..5ce590aa 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-normalize-value-with-role-list.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/use-normalize-value-with-role-list.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useGetSceneFlowRoleList } from '../../../hooks/use-get-scene-flow-params'; import { type SpeakerMessageSetValue } from './types'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/utils.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/utils.ts index ce8bfca5..2e4335b2 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/utils.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type RoleMessageSetValue, type NicknameVariableMessageSetValue, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/value-display.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/value-display.tsx index b062fe3c..4af7dc87 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/value-display.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/speaker-message-set-array/value-display.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/index.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/index.ts index d3d77127..d3d534ee 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { SetterExtension } from '@flowgram-adapter/free-layout-editor'; import { Sql } from './sql'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/button.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/button.tsx index 94c755fb..852f9021 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/button.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozAiFill } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/form.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/form.tsx index f3857972..79e27c21 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/form.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState } from 'react'; import { IconClose } from '@douyinfe/semi-icons'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/index.tsx index dfedcb32..52d72567 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/result.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/result.tsx index c0734f37..081a066c 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/result.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/result.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Spin } from '@coze-arch/coze-design'; import styles from './result.module.less'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/use-nl2sql-mutation.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/use-nl2sql-mutation.ts index e5a1d7ee..fbde59ae 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/use-nl2sql-mutation.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/auto-generate/use-nl2sql-mutation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMutation, type DefaultError } from '@tanstack/react-query'; import { MemoryApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/index.tsx index e37e871c..cbe319c5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/sql/sql/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/switch/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/switch/index.tsx index 0ef47a5b..96b8d496 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/switch/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/switch/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useMemo } from 'react'; import { Switch as UISwitch } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/expand-sheet-editor.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/expand-sheet-editor.tsx index 4d8d7e0e..e14dfc33 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/expand-sheet-editor.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/expand-sheet-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useMemo } from 'react'; import { type ExpressionEditorTreeNode } from '@coze-workflow/components'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/index.tsx index 2c3e3cfd..5baa2a63 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { NLPromptProvider } from '@coze-workflow/resources-adapter'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/prompt-editor-with-kit.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/prompt-editor-with-kit.tsx index fda22f8e..44209848 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/prompt-editor-with-kit.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/prompt-editor-with-kit.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState, useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/prompt-kit-bar.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/prompt-kit-bar.tsx index a14eda0d..686b4d15 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/prompt-kit-bar.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/prompt-kit-bar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PublicScopeProvider } from '@coze-workflow/variable'; import { NLPromptButton } from '@coze-workflow/resources-adapter'; import { PromptEditorProvider } from '@coze-common/prompt-kit-base/editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/system-prompt-editor.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/system-prompt-editor.tsx index a7c45e53..e8d839bb 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/system-prompt-editor.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/system-prompt/system-prompt-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/temperature/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/temperature/index.tsx index 763a3ad2..bd318183 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/temperature/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/temperature/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { InputNumber } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/text-area/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/text-area/index.tsx index 59e8c113..5d1b2ed6 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/text-area/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/text-area/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { TextArea as UITextArea } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/text-display/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/text-display/index.tsx index 3e69d44c..fff9d319 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/text-display/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/text-display/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/const.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/const.ts index e9120a9e..baf49953 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/const.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Default time zone, currently used by the task module * diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/index.tsx index 57f7b08d..ed6a29d5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { cloneDeep, find, noop } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/utils/timezone.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/utils/timezone.ts index 9c893fee..d6b1a642 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/utils/timezone.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/timezone/utils/timezone.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { groupBy, toPairs, find, orderBy } from 'lodash-es'; import dayjsUTC from 'dayjs/plugin/utc'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/to-standard-setter.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/to-standard-setter.tsx index e6714db4..47d5e157 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/to-standard-setter.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/to-standard-setter.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-bind-workflow/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-bind-workflow/index.tsx index fa83bd4a..1ed78f85 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-bind-workflow/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-bind-workflow/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ModalI18nKey } from '@coze-workflow/components/workflow-modal'; import { WorkflowModalFrom, diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-list/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-list/index.tsx index de57f39d..92c9b7b1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-list/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState } from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-parameter-title/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-parameter-title/index.tsx index ea0aa7d7..918ea8a5 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-parameter-title/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/trigger-parameter-title/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; type IProps = SetterComponentProps< diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/typings.ts b/frontend/packages/workflow/playground/src/form-extensions/setters/typings.ts index fbd95840..99454fc1 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/typings.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/typings.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @typescript-eslint/no-explicit-any export type AnyValue = any; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/value-expression-input/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/value-expression-input/index.tsx index c2e570ae..36ddf321 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/value-expression-input/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/value-expression-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/variable-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/variable-select/index.tsx index 73f3c8c9..fbd6bbee 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/variable-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/variable-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/setters/view-variable-select/index.tsx b/frontend/packages/workflow/playground/src/form-extensions/setters/view-variable-select/index.tsx index 11ddcd2a..ee5b8441 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/setters/view-variable-select/index.tsx +++ b/frontend/packages/workflow/playground/src/form-extensions/setters/view-variable-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, useCallback, useState } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/form-extensions/typings.ts b/frontend/packages/workflow/playground/src/form-extensions/typings.ts index b0656dd2..2f0475ab 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/typings.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/typings.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { StandardNodeType, ViewVariableMeta } from '@coze-workflow/base'; export type VariableMetaWithNode = ViewVariableMeta & { diff --git a/frontend/packages/workflow/playground/src/form-extensions/validators/index.ts b/frontend/packages/workflow/playground/src/form-extensions/validators/index.ts index cd4532f5..0daeb4f3 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/validators/index.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/validators/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type ValueExpressionValidatorProps, valueExpressionValidator, diff --git a/frontend/packages/workflow/playground/src/form-extensions/validators/value-expression-validator.ts b/frontend/packages/workflow/playground/src/form-extensions/validators/value-expression-validator.ts index f0f34d52..0dd13cfb 100644 --- a/frontend/packages/workflow/playground/src/form-extensions/validators/value-expression-validator.ts +++ b/frontend/packages/workflow/playground/src/form-extensions/validators/value-expression-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type PlaygroundContext } from '@coze-workflow/nodes'; import { ValueExpression, ValueExpressionType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form/components/add-button.tsx b/frontend/packages/workflow/playground/src/form/components/add-button.tsx index 0b1acbaf..2340ef3f 100644 --- a/frontend/packages/workflow/playground/src/form/components/add-button.tsx +++ b/frontend/packages/workflow/playground/src/form/components/add-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MouseEventHandler } from 'react'; import { IconCozPlus } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form/components/column-titles.tsx b/frontend/packages/workflow/playground/src/form/components/column-titles.tsx index c0fc8b97..d553532d 100644 --- a/frontend/packages/workflow/playground/src/form/components/column-titles.tsx +++ b/frontend/packages/workflow/playground/src/form/components/column-titles.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; export interface Column { diff --git a/frontend/packages/workflow/playground/src/form/components/error-message.tsx b/frontend/packages/workflow/playground/src/form/components/error-message.tsx index d3098165..8a603871 100644 --- a/frontend/packages/workflow/playground/src/form/components/error-message.tsx +++ b/frontend/packages/workflow/playground/src/form/components/error-message.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export interface ErrorMessageProps { diff --git a/frontend/packages/workflow/playground/src/form/components/feedback.tsx b/frontend/packages/workflow/playground/src/form/components/feedback.tsx index 1e295492..134ddcdc 100644 --- a/frontend/packages/workflow/playground/src/form/components/feedback.tsx +++ b/frontend/packages/workflow/playground/src/form/components/feedback.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; export interface FeedbackProps { diff --git a/frontend/packages/workflow/playground/src/form/components/field-array-item.tsx b/frontend/packages/workflow/playground/src/form/components/field-array-item.tsx index 1b6810b5..ea2e9104 100644 --- a/frontend/packages/workflow/playground/src/form/components/field-array-item.tsx +++ b/frontend/packages/workflow/playground/src/form/components/field-array-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form/components/field-array-list.tsx b/frontend/packages/workflow/playground/src/form/components/field-array-list.tsx index cd2e5812..9b6351fd 100644 --- a/frontend/packages/workflow/playground/src/form/components/field-array-list.tsx +++ b/frontend/packages/workflow/playground/src/form/components/field-array-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; export function FieldArrayList({ children }: PropsWithChildren) { diff --git a/frontend/packages/workflow/playground/src/form/components/field-array.tsx b/frontend/packages/workflow/playground/src/form/components/field-array.tsx index 08c24b7d..cb7bf6eb 100644 --- a/frontend/packages/workflow/playground/src/form/components/field-array.tsx +++ b/frontend/packages/workflow/playground/src/form/components/field-array.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FieldArray as BaseFieldArray } from '@flowgram-adapter/free-layout-editor'; import { baseFieldArrayToFieldArray } from '../utils'; diff --git a/frontend/packages/workflow/playground/src/form/components/field-empty.tsx b/frontend/packages/workflow/playground/src/form/components/field-empty.tsx index 2a8b5d1c..b7342a89 100644 --- a/frontend/packages/workflow/playground/src/form/components/field-empty.tsx +++ b/frontend/packages/workflow/playground/src/form/components/field-empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { IconCozEmpty } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/form/components/field-layout.tsx b/frontend/packages/workflow/playground/src/form/components/field-layout.tsx index 4a5d622d..0627d57a 100644 --- a/frontend/packages/workflow/playground/src/form/components/field-layout.tsx +++ b/frontend/packages/workflow/playground/src/form/components/field-layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { Label } from './label'; diff --git a/frontend/packages/workflow/playground/src/form/components/field.tsx b/frontend/packages/workflow/playground/src/form/components/field.tsx index 128c1c67..8be64be0 100644 --- a/frontend/packages/workflow/playground/src/form/components/field.tsx +++ b/frontend/packages/workflow/playground/src/form/components/field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Field as BaseField } from '@flowgram-adapter/free-layout-editor'; import { baseFieldToField } from '../utils'; diff --git a/frontend/packages/workflow/playground/src/form/components/form.tsx b/frontend/packages/workflow/playground/src/form/components/form.tsx index e8b906de..9b23a8e9 100644 --- a/frontend/packages/workflow/playground/src/form/components/form.tsx +++ b/frontend/packages/workflow/playground/src/form/components/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { FormProvider } from '../contexts'; diff --git a/frontend/packages/workflow/playground/src/form/components/icon-info.tsx b/frontend/packages/workflow/playground/src/form/components/icon-info.tsx index d9e10759..91987b9a 100644 --- a/frontend/packages/workflow/playground/src/form/components/icon-info.tsx +++ b/frontend/packages/workflow/playground/src/form/components/icon-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; import { Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form/components/icon-remove.tsx b/frontend/packages/workflow/playground/src/form/components/icon-remove.tsx index 131fea46..b0058c2f 100644 --- a/frontend/packages/workflow/playground/src/form/components/icon-remove.tsx +++ b/frontend/packages/workflow/playground/src/form/components/icon-remove.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozMinus } from '@coze-arch/coze-design/icons'; import { IconButton } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form/components/index.ts b/frontend/packages/workflow/playground/src/form/components/index.ts index 9d32c4da..ceade5b7 100644 --- a/frontend/packages/workflow/playground/src/form/components/index.ts +++ b/frontend/packages/workflow/playground/src/form/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Form } from './form'; export { Field, type FieldProps } from './field'; export { FieldArray, type FieldArrayProps } from './field-array'; diff --git a/frontend/packages/workflow/playground/src/form/components/label.tsx b/frontend/packages/workflow/playground/src/form/components/label.tsx index 16f9eabd..a1c4e52d 100644 --- a/frontend/packages/workflow/playground/src/form/components/label.tsx +++ b/frontend/packages/workflow/playground/src/form/components/label.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { RequiredStar } from './required-star'; diff --git a/frontend/packages/workflow/playground/src/form/components/required-star.tsx b/frontend/packages/workflow/playground/src/form/components/required-star.tsx index ae9351cd..a919d355 100644 --- a/frontend/packages/workflow/playground/src/form/components/required-star.tsx +++ b/frontend/packages/workflow/playground/src/form/components/required-star.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function RequiredStar() { return *; } diff --git a/frontend/packages/workflow/playground/src/form/components/section.tsx b/frontend/packages/workflow/playground/src/form/components/section.tsx index 97cd265c..46c8e198 100644 --- a/frontend/packages/workflow/playground/src/form/components/section.tsx +++ b/frontend/packages/workflow/playground/src/form/components/section.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, forwardRef, diff --git a/frontend/packages/workflow/playground/src/form/components/select.tsx b/frontend/packages/workflow/playground/src/form/components/select.tsx index f9fb4119..942604ee 100644 --- a/frontend/packages/workflow/playground/src/form/components/select.tsx +++ b/frontend/packages/workflow/playground/src/form/components/select.tsx @@ -13,11 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { - Select as BaseSelect, - type SelectProps, -} from '@coze-arch/coze-design'; + +import { Select as BaseSelect, type SelectProps } from '@coze-arch/coze-design'; export { type SelectProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form/components/sortable-item.tsx b/frontend/packages/workflow/playground/src/form/components/sortable-item.tsx index f5fbdf62..3fae1f6a 100644 --- a/frontend/packages/workflow/playground/src/form/components/sortable-item.tsx +++ b/frontend/packages/workflow/playground/src/form/components/sortable-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Draggable } from 'react-beautiful-dnd'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/form/components/sortable-list.tsx b/frontend/packages/workflow/playground/src/form/components/sortable-list.tsx index 601d4460..d1d5eeb9 100644 --- a/frontend/packages/workflow/playground/src/form/components/sortable-list.tsx +++ b/frontend/packages/workflow/playground/src/form/components/sortable-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DragDropContext, Droppable } from 'react-beautiful-dnd'; import { type PropsWithChildren } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form/contexts/field-array-context.ts b/frontend/packages/workflow/playground/src/form/contexts/field-array-context.ts index cec5a97e..fb3e6d28 100644 --- a/frontend/packages/workflow/playground/src/form/contexts/field-array-context.ts +++ b/frontend/packages/workflow/playground/src/form/contexts/field-array-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { createContext, useContext } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form/contexts/field-context.ts b/frontend/packages/workflow/playground/src/form/contexts/field-context.ts index 6df15761..d99042cf 100644 --- a/frontend/packages/workflow/playground/src/form/contexts/field-context.ts +++ b/frontend/packages/workflow/playground/src/form/contexts/field-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { createContext, useContext } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form/contexts/form-context.ts b/frontend/packages/workflow/playground/src/form/contexts/form-context.ts index 904fee45..09701634 100644 --- a/frontend/packages/workflow/playground/src/form/contexts/form-context.ts +++ b/frontend/packages/workflow/playground/src/form/contexts/form-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { createContext, useContext } from 'react'; diff --git a/frontend/packages/workflow/playground/src/form/contexts/index.ts b/frontend/packages/workflow/playground/src/form/contexts/index.ts index 5866a8d2..60767993 100644 --- a/frontend/packages/workflow/playground/src/form/contexts/index.ts +++ b/frontend/packages/workflow/playground/src/form/contexts/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FormContext, FormProvider, useFormContext } from './form-context'; export { FieldContext, FieldProvider, useFieldContext } from './field-context'; export { diff --git a/frontend/packages/workflow/playground/src/form/fields/checkbox-field.tsx b/frontend/packages/workflow/playground/src/form/fields/checkbox-field.tsx index a01ab7f8..0e1831f5 100644 --- a/frontend/packages/workflow/playground/src/form/fields/checkbox-field.tsx +++ b/frontend/packages/workflow/playground/src/form/fields/checkbox-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Checkbox, type CheckboxProps as BaseCheckboxProps, diff --git a/frontend/packages/workflow/playground/src/form/fields/index.ts b/frontend/packages/workflow/playground/src/form/fields/index.ts index 949aeb63..f5b9094b 100644 --- a/frontend/packages/workflow/playground/src/form/fields/index.ts +++ b/frontend/packages/workflow/playground/src/form/fields/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputField } from './input-field'; export { InputNumberField } from './input-number-field'; export { SelectField } from './select-field'; diff --git a/frontend/packages/workflow/playground/src/form/fields/input-field.tsx b/frontend/packages/workflow/playground/src/form/fields/input-field.tsx index e94c512c..753d8a87 100644 --- a/frontend/packages/workflow/playground/src/form/fields/input-field.tsx +++ b/frontend/packages/workflow/playground/src/form/fields/input-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Input, type InputProps as BaseInputProps, diff --git a/frontend/packages/workflow/playground/src/form/fields/input-number-field.tsx b/frontend/packages/workflow/playground/src/form/fields/input-number-field.tsx index 8d807433..72a4a280 100644 --- a/frontend/packages/workflow/playground/src/form/fields/input-number-field.tsx +++ b/frontend/packages/workflow/playground/src/form/fields/input-number-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId } from '@coze-workflow/base'; import { CozInputNumber, diff --git a/frontend/packages/workflow/playground/src/form/fields/radio-group-field.tsx b/frontend/packages/workflow/playground/src/form/fields/radio-group-field.tsx index 244dfef9..40a1b0ef 100644 --- a/frontend/packages/workflow/playground/src/form/fields/radio-group-field.tsx +++ b/frontend/packages/workflow/playground/src/form/fields/radio-group-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/form/fields/select-field.tsx b/frontend/packages/workflow/playground/src/form/fields/select-field.tsx index 4342c8d7..d9ef1837 100644 --- a/frontend/packages/workflow/playground/src/form/fields/select-field.tsx +++ b/frontend/packages/workflow/playground/src/form/fields/select-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useField } from '../hooks'; import { withField } from '../hocs'; import { diff --git a/frontend/packages/workflow/playground/src/form/fields/slider-field.tsx b/frontend/packages/workflow/playground/src/form/fields/slider-field.tsx index a914f4b3..51773325 100644 --- a/frontend/packages/workflow/playground/src/form/fields/slider-field.tsx +++ b/frontend/packages/workflow/playground/src/form/fields/slider-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Slider } from '@coze-arch/coze-design'; import { useField } from '../hooks'; diff --git a/frontend/packages/workflow/playground/src/form/fields/switch-field.tsx b/frontend/packages/workflow/playground/src/form/fields/switch-field.tsx index 8a2df72d..b4ea4a07 100644 --- a/frontend/packages/workflow/playground/src/form/fields/switch-field.tsx +++ b/frontend/packages/workflow/playground/src/form/fields/switch-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Switch, type SwitchProps as BaseSwitchProps, diff --git a/frontend/packages/workflow/playground/src/form/fields/textarea-field.tsx b/frontend/packages/workflow/playground/src/form/fields/textarea-field.tsx index 88fdb493..e8798c05 100644 --- a/frontend/packages/workflow/playground/src/form/fields/textarea-field.tsx +++ b/frontend/packages/workflow/playground/src/form/fields/textarea-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cx from 'classnames'; import { TextArea, type TextAreaProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/form/hocs/index.ts b/frontend/packages/workflow/playground/src/form/hocs/index.ts index 30a2305f..1b8978f5 100644 --- a/frontend/packages/workflow/playground/src/form/hocs/index.ts +++ b/frontend/packages/workflow/playground/src/form/hocs/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { withField } from './with-field'; export { withFieldArray } from './with-field-array'; diff --git a/frontend/packages/workflow/playground/src/form/hocs/with-field-array.tsx b/frontend/packages/workflow/playground/src/form/hocs/with-field-array.tsx index f9f64d8f..0e2b7cec 100644 --- a/frontend/packages/workflow/playground/src/form/hocs/with-field-array.tsx +++ b/frontend/packages/workflow/playground/src/form/hocs/with-field-array.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FieldArray, type FieldArrayProps } from '../components'; // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/frontend/packages/workflow/playground/src/form/hocs/with-field.tsx b/frontend/packages/workflow/playground/src/form/hocs/with-field.tsx index ea8ce5ac..11b10d49 100644 --- a/frontend/packages/workflow/playground/src/form/hocs/with-field.tsx +++ b/frontend/packages/workflow/playground/src/form/hocs/with-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Field, type FieldProps } from '../components'; // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/frontend/packages/workflow/playground/src/form/hooks/index.ts b/frontend/packages/workflow/playground/src/form/hooks/index.ts index 96b555af..ec428fcf 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useForm } from './use-form'; export { useField } from './use-field'; export { useFieldArray } from './use-field-array'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-base-field-array.ts b/frontend/packages/workflow/playground/src/form/hooks/use-base-field-array.ts index 1c9004a8..9ad2cfab 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-base-field-array.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-base-field-array.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentField } from '@flowgram-adapter/free-layout-editor'; import { type BaseFieldArrayInstance } from '../type'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-base-field-state.ts b/frontend/packages/workflow/playground/src/form/hooks/use-base-field-state.ts index b12739df..6b5cde82 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-base-field-state.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-base-field-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentFieldState } from '@flowgram-adapter/free-layout-editor'; import { type BaseFieldState } from '../type'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-base-field.ts b/frontend/packages/workflow/playground/src/form/hooks/use-base-field.ts index 4b664386..3784ca7c 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-base-field.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-base-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentField } from '@flowgram-adapter/free-layout-editor'; import { type BaseFieldInstance } from '../type'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-field-array-ref.ts b/frontend/packages/workflow/playground/src/form/hooks/use-field-array-ref.ts index e078a3a1..5760e3a1 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-field-array-ref.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-field-array-ref.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { type FieldArrayInstance } from '../type'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-field-array.ts b/frontend/packages/workflow/playground/src/form/hooks/use-field-array.ts index ac6d4c79..d80d87db 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-field-array.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-field-array.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldArrayInstance } from '../type'; import { useFieldArrayContext } from '../contexts'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-field-ref.ts b/frontend/packages/workflow/playground/src/form/hooks/use-field-ref.ts index 3c378aac..2bac077e 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-field-ref.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-field-ref.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { type FieldInstance } from '../type'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-field.ts b/frontend/packages/workflow/playground/src/form/hooks/use-field.ts index 6c2759f8..d5f316b1 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-field.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldInstance } from '../type'; import { useFieldContext } from '../contexts'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-form.ts b/frontend/packages/workflow/playground/src/form/hooks/use-form.ts index 25af2b92..76a8c810 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-form.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useForm as useBaseForm } from '@flowgram-adapter/free-layout-editor'; import { type FormInstance } from '../type'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-section-ref.ts b/frontend/packages/workflow/playground/src/form/hooks/use-section-ref.ts index 2b3b1a2f..e8e8708f 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-section-ref.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-section-ref.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { type SectionRefType } from '../type'; diff --git a/frontend/packages/workflow/playground/src/form/hooks/use-watch.ts b/frontend/packages/workflow/playground/src/form/hooks/use-watch.ts index eaf8f973..941b78c9 100644 --- a/frontend/packages/workflow/playground/src/form/hooks/use-watch.ts +++ b/frontend/packages/workflow/playground/src/form/hooks/use-watch.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWatch as useBaseWatch } from '@flowgram-adapter/free-layout-editor'; import { type FieldName } from '../type'; diff --git a/frontend/packages/workflow/playground/src/form/index.ts b/frontend/packages/workflow/playground/src/form/index.ts index d857ed8f..1b0d3058 100644 --- a/frontend/packages/workflow/playground/src/form/index.ts +++ b/frontend/packages/workflow/playground/src/form/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useField, useFieldArray, diff --git a/frontend/packages/workflow/playground/src/form/type.ts b/frontend/packages/workflow/playground/src/form/type.ts index dbcfe956..a7a7c885 100644 --- a/frontend/packages/workflow/playground/src/form/type.ts +++ b/frontend/packages/workflow/playground/src/form/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldError, type FieldName, diff --git a/frontend/packages/workflow/playground/src/form/utils/base-field-array-to-field-array.ts b/frontend/packages/workflow/playground/src/form/utils/base-field-array-to-field-array.ts index 3e686fd7..3b4a74ce 100644 --- a/frontend/packages/workflow/playground/src/form/utils/base-field-array-to-field-array.ts +++ b/frontend/packages/workflow/playground/src/form/utils/base-field-array-to-field-array.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldArrayInstance, type BaseFieldArrayInstance, diff --git a/frontend/packages/workflow/playground/src/form/utils/base-field-to-field.ts b/frontend/packages/workflow/playground/src/form/utils/base-field-to-field.ts index 451e548a..944b48b1 100644 --- a/frontend/packages/workflow/playground/src/form/utils/base-field-to-field.ts +++ b/frontend/packages/workflow/playground/src/form/utils/base-field-to-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldInstance, type BaseFieldInstance, diff --git a/frontend/packages/workflow/playground/src/form/utils/index.ts b/frontend/packages/workflow/playground/src/form/utils/index.ts index 51031121..232f2ecf 100644 --- a/frontend/packages/workflow/playground/src/form/utils/index.ts +++ b/frontend/packages/workflow/playground/src/form/utils/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { baseFieldToField } from './base-field-to-field'; export { baseFieldArrayToFieldArray } from './base-field-array-to-field-array'; diff --git a/frontend/packages/workflow/playground/src/global.d.ts b/frontend/packages/workflow/playground/src/global.d.ts index 7493ee00..95a9de43 100644 --- a/frontend/packages/workflow/playground/src/global.d.ts +++ b/frontend/packages/workflow/playground/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.otf' { const content: string; @@ -26,4 +26,4 @@ declare module '*.ttf' { } // TODO: remove this -import '../node_modules/@tanstack/react-query/build/modern/types.d.ts' +import '../node_modules/@tanstack/react-query/build/modern/types.d.ts'; diff --git a/frontend/packages/workflow/playground/src/hooks/index.ts b/frontend/packages/workflow/playground/src/hooks/index.ts index 665d0e9a..72c33b95 100644 --- a/frontend/packages/workflow/playground/src/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useGlobalState } from './use-global-state'; export { useExecStateEntity } from './use-exec-state-entity'; diff --git a/frontend/packages/workflow/playground/src/hooks/node-version/index.ts b/frontend/packages/workflow/playground/src/hooks/node-version/index.ts index 89e79d75..f317015f 100644 --- a/frontend/packages/workflow/playground/src/hooks/node-version/index.ts +++ b/frontend/packages/workflow/playground/src/hooks/node-version/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useNodeVersionService } from './use-node-version-service'; diff --git a/frontend/packages/workflow/playground/src/hooks/node-version/use-node-version-service.ts b/frontend/packages/workflow/playground/src/hooks/node-version/use-node-version-service.ts index 4dd03e88..c4cedba0 100644 --- a/frontend/packages/workflow/playground/src/hooks/node-version/use-node-version-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/node-version/use-node-version-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { NodeVersionService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-add-node-modal/helper.ts b/frontend/packages/workflow/playground/src/hooks/use-add-node-modal/helper.ts index a79731ea..22e242ec 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-add-node-modal/helper.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-add-node-modal/helper.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import semver from 'semver'; import { type BotPluginWorkFlowItem } from '@coze-workflow/components'; import { type ApiNodeDataDTO } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-add-node-modal/index.tsx b/frontend/packages/workflow/playground/src/hooks/use-add-node-modal/index.tsx index 354c1f0a..262c5469 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-add-node-modal/index.tsx +++ b/frontend/packages/workflow/playground/src/hooks/use-add-node-modal/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-add-node-visible.ts b/frontend/packages/workflow/playground/src/hooks/use-add-node-visible.ts index 118b6f2d..c26534d3 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-add-node-visible.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-add-node-visible.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Add the display hidden state of the node panel on the left, which needs to be consumed elsewhere, so it is abstracted into a global state. */ diff --git a/frontend/packages/workflow/playground/src/hooks/use-add-node.ts b/frontend/packages/workflow/playground/src/hooks/use-add-node.ts index 471a4c45..b8bf6760 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-add-node.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-add-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import { set } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-biz-ide-state.tsx b/frontend/packages/workflow/playground/src/hooks/use-biz-ide-state.tsx index 01993619..a56ec6d9 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-biz-ide-state.tsx +++ b/frontend/packages/workflow/playground/src/hooks/use-biz-ide-state.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Global hook to manage the state of the Biz IDE and interact with React components */ diff --git a/frontend/packages/workflow/playground/src/hooks/use-current-database-id.ts b/frontend/packages/workflow/playground/src/hooks/use-current-database-id.ts index c8985798..915fce6c 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-current-database-id.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-current-database-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; /** diff --git a/frontend/packages/workflow/playground/src/hooks/use-current-database-query.ts b/frontend/packages/workflow/playground/src/hooks/use-current-database-query.ts index 9fc5d542..374a62f6 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-current-database-query.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-current-database-query.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { MessageBizType } from '@coze-arch/idl/workflow_api'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-database-node-service.ts b/frontend/packages/workflow/playground/src/hooks/use-database-node-service.ts index 5fc404ea..779a9bc4 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-database-node-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-database-node-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { type DatabseNodeStore } from '@/services/database-node-service-impl'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-dataset-info.tsx b/frontend/packages/workflow/playground/src/hooks/use-dataset-info.tsx index 2013224b..6b0b57ca 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-dataset-info.tsx +++ b/frontend/packages/workflow/playground/src/hooks/use-dataset-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, useCallback, useRef } from 'react'; import { MessageBizType } from '@coze-arch/idl/workflow_api'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-dependency-service.ts b/frontend/packages/workflow/playground/src/hooks/use-dependency-service.ts index 990f516d..399f03b9 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-dependency-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-dependency-service.ts @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -import { useConfigEntity, useService } from '@flowgram-adapter/free-layout-editor'; + +import { + useConfigEntity, + useService, +} from '@flowgram-adapter/free-layout-editor'; import { WorkflowDependencyService } from '@/services/workflow-dependency-service'; import { WorkflowDependencyStateEntity } from '@/entities'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-editor-theme-state.ts b/frontend/packages/workflow/playground/src/hooks/use-editor-theme-state.ts index caa12122..50685d4b 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-editor-theme-state.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-editor-theme-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; export enum EditorTheme { diff --git a/frontend/packages/workflow/playground/src/hooks/use-exec-state-entity.ts b/frontend/packages/workflow/playground/src/hooks/use-exec-state-entity.ts index 01bb331b..460d4f3d 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-exec-state-entity.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-exec-state-entity.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEntity } from '@flowgram-adapter/free-layout-editor'; import { WorkflowExecStateEntity } from '../entities/workflow-exec-state-entity'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-float-layout-service.ts b/frontend/packages/workflow/playground/src/hooks/use-float-layout-service.ts index 2df028c3..989e9080 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-float-layout-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-float-layout-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-get-scene-flow-params.ts b/frontend/packages/workflow/playground/src/hooks/use-get-scene-flow-params.ts index 27ef750c..1b5dd301 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-get-scene-flow-params.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-get-scene-flow-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { throttle, once } from 'lodash-es'; import { useQuery } from '@tanstack/react-query'; import { diff --git a/frontend/packages/workflow/playground/src/hooks/use-get-workflow-mode.ts b/frontend/packages/workflow/playground/src/hooks/use-get-workflow-mode.ts index 8172a968..8bae3a15 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-get-workflow-mode.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-get-workflow-mode.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * This hooks are used to quickly determine the type of workflow */ diff --git a/frontend/packages/workflow/playground/src/hooks/use-global-state.ts b/frontend/packages/workflow/playground/src/hooks/use-global-state.ts index 6af3c381..e2d2abd6 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-global-state.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-global-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useConfigEntity } from '@flowgram-adapter/free-layout-editor'; import { WorkflowGlobalStateEntity } from '../entities'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-have-collaborators.ts b/frontend/packages/workflow/playground/src/hooks/use-have-collaborators.ts index 13d4fec9..fe774f1e 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-have-collaborators.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-have-collaborators.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { PUBLIC_SPACE_ID } from '@coze-workflow/base/constants'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-input-variables.ts b/frontend/packages/workflow/playground/src/hooks/use-input-variables.ts index 5243c6ae..a222dfdd 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-input-variables.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-input-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { useThrottleEffect } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-latest-workflow-json.ts b/frontend/packages/workflow/playground/src/hooks/use-latest-workflow-json.ts index c515190a..68654d78 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-latest-workflow-json.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-latest-workflow-json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/playground/src/hooks/use-line-service.ts b/frontend/packages/workflow/playground/src/hooks/use-line-service.ts index 196d5a39..5d389305 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-line-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-line-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowLinesService } from '../services/workflow-line-service'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-node-render-data.ts b/frontend/packages/workflow/playground/src/hooks/use-node-render-data.ts index 9c77b42a..06f9fbae 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-node-render-data.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-node-render-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { pick } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-node-render-scene.ts b/frontend/packages/workflow/playground/src/hooks/use-node-render-scene.ts index 2eec966d..123058ed 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-node-render-scene.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-node-render-scene.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { NodeRenderSceneContext } from '@/contexts/node-render-context'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-node-side-sheet-store.ts b/frontend/packages/workflow/playground/src/hooks/use-node-side-sheet-store.ts index 2f5d59ac..0eff9fec 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-node-side-sheet-store.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-node-side-sheet-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext, type ReactNode } from 'react'; import { create } from 'zustand'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-open-trace-list-panel.ts b/frontend/packages/workflow/playground/src/hooks/use-open-trace-list-panel.ts index 398debd9..970b4360 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-open-trace-list-panel.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-open-trace-list-panel.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { LayoutPanelKey } from '@/constants'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-plugin-node-service.ts b/frontend/packages/workflow/playground/src/hooks/use-plugin-node-service.ts index 0af5ebed..9d4247af 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-plugin-node-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-plugin-node-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/hooks/use-redo-undo.ts b/frontend/packages/workflow/playground/src/hooks/use-redo-undo.ts index 51316a60..d6574c65 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-redo-undo.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-redo-undo.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { HistoryService, WorkflowHistoryConfig } from '@coze-workflow/history'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-ref-input/index.tsx b/frontend/packages/workflow/playground/src/hooks/use-ref-input/index.tsx index 01f536a2..01500ba2 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-ref-input/index.tsx +++ b/frontend/packages/workflow/playground/src/hooks/use-ref-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useRefInput } from './use-ref-input'; export { useRefInputProps } from './use-ref-input-props'; export { useRefInputNode } from './use-ref-input-node'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input-node.tsx b/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input-node.tsx index d7616b58..37d42e74 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input-node.tsx +++ b/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input-node.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, type ReactNode, diff --git a/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input-props.tsx b/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input-props.tsx index 4826b94f..bfa4e498 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input-props.tsx +++ b/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input-props.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input.tsx b/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input.tsx index d048afba..112d7895 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input.tsx +++ b/frontend/packages/workflow/playground/src/hooks/use-ref-input/use-ref-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { type FeedbackStatus } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-related-bot-service.ts b/frontend/packages/workflow/playground/src/hooks/use-related-bot-service.ts index 158cf2f6..8b099a97 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-related-bot-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-related-bot-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { RelatedCaseDataService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-resizable-side-panel-store.ts b/frontend/packages/workflow/playground/src/hooks/use-resizable-side-panel-store.ts index c96d0b86..8e60aabe 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-resizable-side-panel-store.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-resizable-side-panel-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { persist, devtools } from 'zustand/middleware'; import { create } from 'zustand'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-role-service.ts b/frontend/packages/workflow/playground/src/hooks/use-role-service.ts index 926e20ab..cb55cca4 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-role-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-role-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { RoleService, type RoleServiceState } from '@/services/role-service'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-save-service.ts b/frontend/packages/workflow/playground/src/hooks/use-save-service.ts index cf0d5ec4..034261e4 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-save-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-save-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowSaveService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-scroll-to-line.ts b/frontend/packages/workflow/playground/src/hooks/use-scroll-to-line.ts index 15203f4b..cf50c048 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-scroll-to-line.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-scroll-to-line.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { usePlayground, SelectionService, diff --git a/frontend/packages/workflow/playground/src/hooks/use-scroll-to-node.ts b/frontend/packages/workflow/playground/src/hooks/use-scroll-to-node.ts index d6534d95..0f0c49c6 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-scroll-to-node.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-scroll-to-node.ts @@ -13,9 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; -import { useService, usePlayground } from '@flowgram-adapter/free-layout-editor'; +import { + useService, + usePlayground, +} from '@flowgram-adapter/free-layout-editor'; import { WorkflowSelectService } from '@flowgram-adapter/free-layout-editor'; export const useScrollToNode = () => { diff --git a/frontend/packages/workflow/playground/src/hooks/use-space-id.ts b/frontend/packages/workflow/playground/src/hooks/use-space-id.ts index 7f0e06ec..f03954e7 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-space-id.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-space-id.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useGlobalState } from './use-global-state'; export const useSpaceId = (): string => { diff --git a/frontend/packages/workflow/playground/src/hooks/use-template-service.ts b/frontend/packages/workflow/playground/src/hooks/use-template-service.ts index 90639961..029d6f8c 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-template-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-template-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useConfigEntity } from '@flowgram-adapter/free-layout-editor'; import { WorkflowTemplateStateEntity } from '@/entities'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-test-form-state.ts b/frontend/packages/workflow/playground/src/hooks/use-test-form-state.ts index 221ab698..aa9a0f3b 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-test-form-state.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-test-form-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useConfigEntity } from '@flowgram-adapter/free-layout-editor'; import { WorkflowTestFormStateEntity } from '../entities'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-test-run-reporter-service.ts b/frontend/packages/workflow/playground/src/hooks/use-test-run-reporter-service.ts index 696ab5f4..de2118ad 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-test-run-reporter-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-test-run-reporter-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { TestRunReporterService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-test-run.ts b/frontend/packages/workflow/playground/src/hooks/use-test-run.ts index 638c9750..10542e44 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-test-run.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-test-run.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { type GetWorkFlowProcessData } from '@coze-arch/idl/workflow_api'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-update-sorted-port-lines.ts b/frontend/packages/workflow/playground/src/hooks/use-update-sorted-port-lines.ts index 3eb0f3c6..20755e30 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-update-sorted-port-lines.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-update-sorted-port-lines.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkflowNodePortsData, useCurrentEntity, diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/constant.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/constant.ts index e667456b..db2f8d58 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/constant.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Image types that support preview export const PREVIEW_IMAGE_TYPE = ['jpg', 'jpeg', 'png', 'webp', 'svg']; diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/index.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/index.ts index 12351ce0..e751b715 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/index.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useUpload, UploadConfig } from './use-upload'; export { getAccept, diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/types.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/types.ts index 26426615..6a6dc59e 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/types.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum FileItemStatus { Success = 'success', UploadFail = 'uploadFail', diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/use-upload.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/use-upload.ts index 7db81d6b..0f53b908 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/use-upload.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/use-upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ import { useState } from 'react'; @@ -134,8 +134,7 @@ export const useUpload = (props?: UploadConfig) => { const validateFile = async (file: FileItem): Promise => { const validateMsg = await validate(file, { customValidate, - maxSize: - (maxSize ?? fileType === 'image') ? MAX_IMAGE_SIZE : MAX_FILE_SIZE, + maxSize: maxSize ?? fileType === 'image' ? MAX_IMAGE_SIZE : MAX_FILE_SIZE, accept, }); if (validateMsg) { diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/format-bytes.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/format-bytes.ts index 9ae00ade..8a764937 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/format-bytes.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/format-bytes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Format file size * @param bytes file size diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-accept.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-accept.ts index 25fa9d5a..990f1da3 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-accept.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-accept.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; export const ACCEPT_MAP = { diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-base-64.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-base-64.ts index 928348c8..b9cf4dd8 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-base-64.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-base-64.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { REPORT_EVENTS } from '@coze-arch/report-events'; import { CustomError } from '@coze-arch/bot-error'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-file-extension.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-file-extension.ts index 4091e198..cc7e4bbb 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-file-extension.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-file-extension.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Get filename suffix */ export function getFileExtension(name?: string) { if (!name) { diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-image-size.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-image-size.ts index cc472094..1e5f061b 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-image-size.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/get-image-size.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FileItem } from '../types'; /** diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/index.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/index.ts index 16cbb12e..c01fdf2e 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/utils/index.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { formatBytes } from './format-bytes'; export { getImageSize } from './get-image-size'; export { getBase64 } from './get-base-64'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/validate/accept-validate.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/validate/accept-validate.ts index 4b612606..828993ff 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/validate/accept-validate.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/validate/accept-validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mime from 'mime-types'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/validate/image-size-validate.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/validate/image-size-validate.ts index 72d79c48..9a6219ec 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/validate/image-size-validate.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/validate/image-size-validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/validate/index.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/validate/index.ts index 70975cf6..ae153947 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/validate/index.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/validate/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FileItem } from '../types'; import { sizeValidate } from './size-validate'; import { imageSizeValidate, type ImageSizeRule } from './image-size-validate'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-upload/validate/size-validate.ts b/frontend/packages/workflow/playground/src/hooks/use-upload/validate/size-validate.ts index eb35562d..1ba224dd 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-upload/validate/size-validate.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-upload/validate/size-validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { formatBytes } from '../utils/format-bytes'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-validate-workflow.ts b/frontend/packages/workflow/playground/src/hooks/use-validate-workflow.ts index 1bb5995c..69fa0e10 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-validate-workflow.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-validate-workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-value-expression-service.ts b/frontend/packages/workflow/playground/src/hooks/use-value-expression-service.ts index 5b057936..b43ec741 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-value-expression-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-value-expression-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { ValueExpressionService } from '@/services/value-expression-service'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-variable-service.ts b/frontend/packages/workflow/playground/src/hooks/use-variable-service.ts index fe3527b7..311e710e 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-variable-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-variable-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowVariableService } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-workflow-models.ts b/frontend/packages/workflow/playground/src/hooks/use-workflow-models.ts index b21f3901..cf92af26 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-workflow-models.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-workflow-models.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-workflow-operation.ts b/frontend/packages/workflow/playground/src/hooks/use-workflow-operation.ts index 2f4ec88a..0a035170 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-workflow-operation.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-workflow-operation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowOperationService } from '../services'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-workflow-preset.tsx b/frontend/packages/workflow/playground/src/hooks/use-workflow-preset.tsx index 7b79a513..c1cebef6 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-workflow-preset.tsx +++ b/frontend/packages/workflow/playground/src/hooks/use-workflow-preset.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { createMinimapPlugin } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/hooks/use-workflow-references.ts b/frontend/packages/workflow/playground/src/hooks/use-workflow-references.ts index 0519dbac..abdd3830 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-workflow-references.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-workflow-references.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Gets which other workflows or bots are referenced by the current workflow * At present, bots has no data, only workflow. diff --git a/frontend/packages/workflow/playground/src/hooks/use-workflow-run-service.ts b/frontend/packages/workflow/playground/src/hooks/use-workflow-run-service.ts index 358d4f30..2f05101d 100644 --- a/frontend/packages/workflow/playground/src/hooks/use-workflow-run-service.ts +++ b/frontend/packages/workflow/playground/src/hooks/use-workflow-run-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowRunService } from '../services'; diff --git a/frontend/packages/workflow/playground/src/index.tsx b/frontend/packages/workflow/playground/src/index.tsx index 72d6e2e8..db414e07 100644 --- a/frontend/packages/workflow/playground/src/index.tsx +++ b/frontend/packages/workflow/playground/src/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowGlobalState } from './entities'; export { WorkflowGlobalStateEntity } from './typing'; export { WorkflowPlayground } from './workflow-playground'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/batch-content/index.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/batch-content/index.tsx index 21020310..d60d7ce6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/batch-content/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/batch-content/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BatchPort } from './loop-port'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/batch-content/loop-port.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/batch-content/loop-port.tsx index 04f2d839..63d2d13e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/batch-content/loop-port.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/batch-content/loop-port.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Port } from '@/components/node-render/node-render-new/fields/port'; export const BatchPort = () => ( diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-json.ts b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-json.ts index 533f31d7..3c22c102 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-json.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity, WorkflowSubCanvas, diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-lines.ts b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-lines.ts index 83c7003c..5105c0ed 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-lines.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-lines.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; import { delay } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-template-data.ts b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-template-data.ts index dd100f6f..1e774cc6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-template-data.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function-template-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type NodeData, WorkflowNodeData } from '@coze-workflow/nodes'; import type { BasicStandardNodeTypes } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function.ts b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function.ts index c31065d7..75b61ec9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/create-batch-function.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowDocument, WorkflowNodeEntity, @@ -46,8 +46,9 @@ export const createBatchFunction = async ( y: batchPosition.y + offset.y, }; const batchFunctionJSON = createBatchFunctionJSON(id, position); - const batchFunctionNode = - await document.createWorkflowNode(batchFunctionJSON); + const batchFunctionNode = await document.createWorkflowNode( + batchFunctionJSON, + ); createBatchFunctionTemplateData(batchNode, batchFunctionNode); createBatchFunctionLines({ document, diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/index.ts b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/index.ts index 91e97200..24e0719a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createBatchFunctionJSON } from './create-batch-function-json'; export { createBatchFunctionLines } from './create-batch-function-lines'; export { createBatchFunctionTemplateData } from './create-batch-function-template-data'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/relation.ts b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/relation.ts index b135b6a5..5d59b6fe 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/relation.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/batch-function/relation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ export const BatchFunctionIDPrefix = 'BatchFunction_'; export const getBatchFunctionID = (batchID: string) => diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/constants.ts b/frontend/packages/workflow/playground/src/node-registries/batch/constants.ts index c81a3365..44924e17 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ /* eslint-disable @typescript-eslint/no-shadow */ diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/batch/data-transformer.ts index ecbc528e..7793e30c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { set } from 'lodash-es'; import { variableUtils } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-concurrent-size/index.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-concurrent-size/index.tsx index 9522d69b..1655fcc5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-concurrent-size/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-concurrent-size/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId, type ValueExpression, diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-inputs/index.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-inputs/index.tsx index 33498858..dbb53fc8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-inputs/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-inputs/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/consistent-type-assertions */ import { type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-outputs/index.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-outputs/index.tsx index e48d48cd..76826ae8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-outputs/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-outputs/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/consistent-type-assertions */ import { type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-size/index.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-size/index.tsx index 8bafc8d0..dbef41ae 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-size/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/fields/batch-size/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId, type ValueExpression, diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/fields/index.ts b/frontend/packages/workflow/playground/src/node-registries/batch/fields/index.ts index bd2e3c75..c8ce95d2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/fields/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/fields/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BatchConcurrentSizeField } from './batch-concurrent-size'; export { BatchInputsField } from './batch-inputs'; export { BatchOutputsField } from './batch-outputs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/fields/loop-settings-section/index.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/fields/loop-settings-section/index.tsx index 7e332c3e..b9a7a9d7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/fields/loop-settings-section/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/fields/loop-settings-section/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC, ReactNode } from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/form-meta.tsx index 9a5c4785..027a146e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/form.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/form.tsx index 9c8e4336..82c245c1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PrivateScopeProvider } from '@coze-workflow/variable'; import { NodeConfigForm } from '@/node-registries/common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/index.ts b/frontend/packages/workflow/playground/src/node-registries/batch/index.ts index 647f91ee..28407bae 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BATCH_NODE_REGISTRY } from './node-registry'; export { BatchContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/batch/node-content.tsx index 1b2a2733..c6e41717 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/batch/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PrivateScopeProvider } from '@coze-workflow/variable'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/batch/node-registry.ts index 37242fe4..6b55cd46 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity, WorkflowSubCanvas, diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/batch/node-test.ts index aaba6608..e5a98b12 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/types.ts b/frontend/packages/workflow/playground/src/node-registries/batch/types.ts index 135a80c7..feefc5f2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; export interface FormData { diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-name/get-batch-input-names.ts b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-name/get-batch-input-names.ts index f73b7bc8..5545929c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-name/get-batch-input-names.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-name/get-batch-input-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type InputValueVO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-name/index.ts b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-name/index.ts index 1fff95de..665ccfcc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-name/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-name/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { createNodeInputNameValidate } from '@/nodes-v2/components/node-input-name/validate'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-value/index.ts b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-value/index.ts index 3239f9a1..82073e41 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-value/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-input-value/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { createValueExpressionInputValidate } from '@/node-registries/common/validators'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-output-name/get-batch-output-names.ts b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-output-name/get-batch-output-names.ts index 920052d8..430c2d9d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-output-name/get-batch-output-names.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-output-name/get-batch-output-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type InputValueVO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-output-name/index.ts b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-output-name/index.ts index 92a5ba92..9da4cb38 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-output-name/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/validators/batch-output-name/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { createNodeInputNameValidate } from '@/nodes-v2/components/node-input-name/validate'; import { getBatchOutputNames } from './get-batch-output-names'; diff --git a/frontend/packages/workflow/playground/src/node-registries/batch/validators/index.ts b/frontend/packages/workflow/playground/src/node-registries/batch/validators/index.ts index ee629509..53f7193a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/batch/validators/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/batch/validators/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BatchInputNameValidator } from './batch-input-name'; export { BatchOutputNameValidator } from './batch-output-name'; export { BatchInputValueValidator } from './batch-input-value'; diff --git a/frontend/packages/workflow/playground/src/node-registries/break/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/break/data-transformer.ts index de90e8fe..f5d67925 100644 --- a/frontend/packages/workflow/playground/src/node-registries/break/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/break/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeDataDTO } from '@coze-workflow/base'; import { type FormData } from './types'; diff --git a/frontend/packages/workflow/playground/src/node-registries/break/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/break/form-meta.tsx index 188396b8..24a1ec67 100644 --- a/frontend/packages/workflow/playground/src/node-registries/break/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/break/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/break/form.tsx b/frontend/packages/workflow/playground/src/node-registries/break/form.tsx index 9d098643..8058db8a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/break/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/break/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { NodeConfigForm } from '@/node-registries/common/components'; export const FormRender = () => ; diff --git a/frontend/packages/workflow/playground/src/node-registries/break/index.ts b/frontend/packages/workflow/playground/src/node-registries/break/index.ts index 95389d44..3eca98dc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/break/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/break/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BREAK_NODE_REGISTRY } from './node-registry'; export { BreakContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/break/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/break/node-content.tsx index dadcf562..7b672a69 100644 --- a/frontend/packages/workflow/playground/src/node-registries/break/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/break/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function BreakContent() { return <>; } diff --git a/frontend/packages/workflow/playground/src/node-registries/break/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/break/node-registry.ts index 842ea93c..5d3ceb1b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/break/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/break/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH } from '@coze-workflow/nodes'; import { StandardNodeType, diff --git a/frontend/packages/workflow/playground/src/node-registries/break/types.ts b/frontend/packages/workflow/playground/src/node-registries/break/types.ts index d105de5d..9052eadc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/break/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/break/types.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-empty-interface */ export interface FormData {} diff --git a/frontend/packages/workflow/playground/src/node-registries/code/components/code-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/code/components/code-field/index.tsx index 75875199..863ffee4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/components/code-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/code/components/code-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { type InputValueVO, type OutputValueVO } from '@coze-workflow/base'; import { ConfigProvider } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/node-registries/code/components/index.ts b/frontend/packages/workflow/playground/src/node-registries/code/components/index.ts index e8fd08d3..8aa8d851 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/components/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/components/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CodeField } from './code-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/code/constants.ts b/frontend/packages/workflow/playground/src/node-registries/code/constants.ts index 94d3e42e..a2fb87e0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/code/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/code/data-transformer.ts index e1b15615..6ca6ed19 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeContext } from '@flowgram-adapter/free-layout-editor'; import { type NodeDataDTO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/code/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/code/form-meta.tsx index 3ce71114..6a9a4441 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/code/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/code/form.tsx b/frontend/packages/workflow/playground/src/node-registries/code/form.tsx index 3d81d2c6..1c5559a7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/code/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useForm } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/code/index.ts b/frontend/packages/workflow/playground/src/node-registries/code/index.ts index aaaa438f..26de2d7c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CODE_NODE_REGISTRY } from './node-registry'; export { CodeContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/code/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/code/node-content.tsx index f9bf553a..cca00abc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/code/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters, Outputs } from '../common/components'; export function CodeContent() { diff --git a/frontend/packages/workflow/playground/src/node-registries/code/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/code/node-registry.ts index b2a8ad86..eb22c46e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_NODE_SIZE, diff --git a/frontend/packages/workflow/playground/src/node-registries/code/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/code/node-test.ts index 40e20e79..ade437ec 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateParametersToProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/node-registries/code/types.ts b/frontend/packages/workflow/playground/src/node-registries/code/types.ts index a01ad49d..7b24a6b4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type OutputValueVO, type InputValueVO, diff --git a/frontend/packages/workflow/playground/src/node-registries/code/validators/code-empty-validator.ts b/frontend/packages/workflow/playground/src/node-registries/code/validators/code-empty-validator.ts index d3494fb5..43de412d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/validators/code-empty-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/validators/code-empty-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/code/validators/create-code-inputs-validator.ts b/frontend/packages/workflow/playground/src/node-registries/code/validators/create-code-inputs-validator.ts index f21e848b..b901e18a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/code/validators/create-code-inputs-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/code/validators/create-code-inputs-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Validate } from '@flowgram-adapter/free-layout-editor'; import { createInputTreeValidator } from '../../common/validators/create-input-tree-validator'; diff --git a/frontend/packages/workflow/playground/src/node-registries/comment/constant.ts b/frontend/packages/workflow/playground/src/node-registries/comment/constant.ts index 797d3063..12bb4284 100644 --- a/frontend/packages/workflow/playground/src/node-registries/comment/constant.ts +++ b/frontend/packages/workflow/playground/src/node-registries/comment/constant.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention -- todo */ /** Remarks Default size */ export const CommentDefaultSize = { diff --git a/frontend/packages/workflow/playground/src/node-registries/comment/index.tsx b/frontend/packages/workflow/playground/src/node-registries/comment/index.tsx index fb0e01f8..cc959dfa 100644 --- a/frontend/packages/workflow/playground/src/node-registries/comment/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/comment/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/comment/type.ts b/frontend/packages/workflow/playground/src/node-registries/comment/type.ts index 123ad712..e312d3ed 100644 --- a/frontend/packages/workflow/playground/src/node-registries/comment/type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/comment/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface ICommentNodeVO { schemaType: string; note: string; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/ai-cronjob.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/ai-cronjob.tsx index 177bb13b..a138ffb6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/ai-cronjob.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/ai-cronjob.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/fix-cronjob.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/fix-cronjob.tsx index 4addfd31..c3256600 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/fix-cronjob.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/fix-cronjob.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, type ReactNode, useCallback } from 'react'; import { isUndefined } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/index.tsx index 7d44af71..d149e5c6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/cronjob-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { useWatchFormErrors } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/data-type-tag.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/data-type-tag.tsx index 8aa95ca5..f908db72 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/data-type-tag.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/data-type-tag.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { Tag } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/dynamic-form.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/dynamic-form.tsx index 73bd475d..5508ed96 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/dynamic-form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/dynamic-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { Field } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/index.tsx index a81af901..e676f02a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DynamicForm } from './dynamic-form'; export { FormItemMeta, FormMeta, DynamicComponentProps } from './types'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/types.ts b/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/types.ts index 4225b0f4..5552d433 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/dynamic-form/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface FormItemMeta { name: string; label: string; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/expression-editor-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/expression-editor-field.tsx index a99454c6..bd266f99 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/expression-editor-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/expression-editor-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ExpressionEditor, type ExpressionEditorProps, diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/header.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/header.tsx index 7522487b..312585ef 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/header.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/image-model-select-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/image-model-select-field.tsx index a34e661f..e172eac4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/image-model-select-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/image-model-select-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ComponentProps } from 'react'; import { EnumImageModel } from '@coze-workflow/setters'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/index.ts b/frontend/packages/workflow/playground/src/node-registries/common/components/index.ts index 671f37a4..c9eadd9c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodeConfigForm } from './node-config-form'; export { DataTypeTag } from './data-type-tag'; export { InputParameters } from './input-parameters'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/input-parameters.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/input-parameters.tsx index c5b2aed8..1d0f1ca5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/input-parameters.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/input-parameters.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // TODO source code to be migrated. Develop cli, rely on the reference path export { InputParameters } from '@/components/node-render/node-render-new/fields/input-parameters'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/node-config-form.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/node-config-form.tsx index 515f288f..bbcc6b84 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/node-config-form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/node-config-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { PublicScopeProvider } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/node.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/node.tsx index ad9e5868..d4873f51 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/node.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/node.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { PublicScopeProvider } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/notify/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/notify/index.tsx index 1c34f236..f365b864 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/notify/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/notify/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/outputs.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/outputs.tsx index 9acb3294..be65e338 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/outputs.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/outputs.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // TODO source code to be migrated. Develop cli, rely on the reference path export { Outputs } from '@/components/node-render/node-render-new/fields/outputs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/const.ts b/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/const.ts index e9120a9e..baf49953 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/const.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/const.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Default time zone, currently used by the task module * diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/index.tsx index 729b4dcd..6c34d755 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import { cloneDeep, find, noop } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/utils/timezone.ts b/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/utils/timezone.ts index 9c893fee..d6b1a642 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/utils/timezone.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/components/timezone/utils/timezone.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { groupBy, toPairs, find, orderBy } from 'lodash-es'; import dayjsUTC from 'dayjs/plugin/utc'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/effects/index.ts b/frontend/packages/workflow/playground/src/node-registries/common/effects/index.ts index 77b62fcc..72c07116 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/effects/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/effects/index.ts @@ -13,9 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { fireNodeTitleChange } from '@/nodes-v2/materials/fire-node-title-change'; export { provideNodeOutputVariablesEffect } from '@/nodes-v2/materials/provide-node-output-variables'; export { provideLoopInputsVariablesEffect } from './provide-loop-inputs-variables'; export { provideLoopOutputsVariablesEffect } from './provide-loop-outputs-variables'; - diff --git a/frontend/packages/workflow/playground/src/node-registries/common/effects/provide-loop-inputs-variables.ts b/frontend/packages/workflow/playground/src/node-registries/common/effects/provide-loop-inputs-variables.ts index cb6880c4..6180b2fb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/effects/provide-loop-inputs-variables.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/effects/provide-loop-inputs-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createEffectFromVariableProvider } from '@coze-workflow/variable/src/utils/variable-provider'; import { provideLoopInputsVariables } from '@coze-workflow/variable/src/form-extensions/variable-providers/provide-loop-input-variables'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/effects/provide-loop-outputs-variables.ts b/frontend/packages/workflow/playground/src/node-registries/common/effects/provide-loop-outputs-variables.ts index 5c54a99c..be4dee3a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/effects/provide-loop-outputs-variables.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/effects/provide-loop-outputs-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createEffectFromVariableProvider } from '@coze-workflow/variable/src/utils/variable-provider'; import { provideLoopOutputsVariables } from '@coze-workflow/variable/src/form-extensions/variable-providers/provide-loop-output-variables'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/answer-content-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/answer-content-field/index.tsx index 59cf8014..e0aa12ed 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/answer-content-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/answer-content-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type InputValueVO, useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/batch-mode-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/batch-mode-field.tsx index f42080b1..e84f81a9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/batch-mode-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/batch-mode-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { BatchMode } from '@/nodes-v2/components/batch-mode'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/checkbox-with-tips-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/checkbox-with-tips-field.tsx index 9d10ffc2..29605d92 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/checkbox-with-tips-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/checkbox-with-tips-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Checkbox } from '@/form-extensions/components/checkbox'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/expression-editor-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/expression-editor-field.tsx index c8a6be03..abee01c1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/expression-editor-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/expression-editor-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/index.ts b/frontend/packages/workflow/playground/src/node-registries/common/fields/index.ts index 181ce001..6a4478df 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputsParametersField } from './inputs-parameters-field'; export { createInputsValidator } from './inputs-parameters-field/create-inputs-validator'; export { InputsField } from './inputs-parameters-field/inputs-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-kv-field/constants.ts b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-kv-field/constants.ts index 55e0da58..530a5e97 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-kv-field/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-kv-field/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const COLUMNS = [ diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-kv-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-kv-field/index.tsx index ed0f4ff3..7a05068e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-kv-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-kv-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren } from 'react'; import { generateInputJsonSchema } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/create-inputs-validator.ts b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/create-inputs-validator.ts index 0cd10744..f3a9cf1b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/create-inputs-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/create-inputs-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/index.tsx index e6267e71..acefaf55 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableType, type InputValueVO } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/inputs-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/inputs-field.tsx index e37179e3..c9164c3d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/inputs-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/inputs-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FieldArray, type FieldArrayRenderProps, diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/inputs-tree-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/inputs-tree-field.tsx index c7ac25d7..dc5db042 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/inputs-tree-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/inputs-tree-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/index.tsx index e69ee5a9..beac129c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { withField } from '@/form'; import { NodeInputName } from './node-input-name'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/node-input-name.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/node-input-name.tsx index d7cedd2b..e9f04472 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/node-input-name.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/node-input-name.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/type.ts b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/type.ts index 0c6aa131..9c851c05 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/inputs-parameters-field/node-input-name/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CSSProperties } from 'react'; import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/index.ts b/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/index.ts index f2e30ffb..ef4e2da0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LoopOutputsField } from './loop-outputs-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/loop-output-select-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/loop-output-select-field.tsx index c1ea0d2a..23c92e9a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/loop-output-select-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/loop-output-select-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-empty-interface */ import { type RefExpression, useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/loop-outputs-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/loop-outputs-field.tsx index 899f69bb..dd683b8a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/loop-outputs-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/loop-outputs-field/loop-outputs-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FieldArray, type FieldArrayRenderProps, diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/model-select-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/model-select-field/index.tsx index 6053a7bd..75def436 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/model-select-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/model-select-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import type { IModelValue } from '@/typing'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs-display-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs-display-field.tsx index 408d043a..f205079a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs-display-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs-display-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VARIABLE_TYPE_ALIAS_MAP, type ViewVariableType, diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/index.ts b/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/index.ts index 21cb9c38..8d073b29 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OutputsField } from './outputs'; export { provideNodeOutputVariablesEffect } from '@/nodes-v2/materials/provide-node-output-variables'; export { outputTreeMetaValidator } from './output-tree-meta-validator'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/output-tree-meta-validator.ts b/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/output-tree-meta-validator.ts index 66afe041..5d537bf4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/output-tree-meta-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/output-tree-meta-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z } from 'zod'; import { type ZodError } from 'zod'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/outputs.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/outputs.tsx index 917f04b5..6ce8239b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/outputs.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/outputs/outputs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableType } from '@coze-workflow/base'; import { Outputs } from '@/nodes-v2/components/outputs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/index.tsx index 6cb510ad..e1474c51 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValueExpressionType, ViewVariableType, diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/param-type/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/param-type/index.tsx index 84fa6e94..463538c4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/param-type/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/param-type/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/parameters-input-group-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/parameters-input-group-field.tsx index 2a29bb9c..7fd1d9a7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/parameters-input-group-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/parameters-input-group/parameters-input-group-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { FieldArray, diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/radio-setter-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/radio-setter-field/index.tsx index a0523beb..08f9b981 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/radio-setter-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/radio-setter-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Radio as BaseRadio } from '@/form-extensions/components/radio'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/setting-on-error/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/setting-on-error/index.tsx index 6d655144..595febf0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/setting-on-error/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/setting-on-error/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SettingOnErrorField } from './setting-on-error-field'; export const SettingOnError = ({ diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/setting-on-error/setting-on-error-field.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/setting-on-error/setting-on-error-field.tsx index a1f214c8..569846e4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/setting-on-error/setting-on-error-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/setting-on-error/setting-on-error-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SettingOnErrorValue } from '@coze-workflow/nodes'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/switch-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/switch-field/index.tsx index 369ae862..895b0f21 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/switch-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/switch-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId } from '@coze-workflow/base'; import { IconInfo } from '@coze-arch/bot-icons'; import { Switch } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/fields/value-expression-input.tsx b/frontend/packages/workflow/playground/src/node-registries/common/fields/value-expression-input.tsx index 09e2f53e..d06e2c6f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/fields/value-expression-input.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/fields/value-expression-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import classNames from 'classnames'; import { type ValueExpression, useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/hocs/index.ts b/frontend/packages/workflow/playground/src/node-registries/common/hocs/index.ts index cd3848e3..23ffba14 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/hocs/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/hocs/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { withNodeConfigForm } from './with-node-config-form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/hocs/with-node-config-form.tsx b/frontend/packages/workflow/playground/src/node-registries/common/hocs/with-node-config-form.tsx index aa72f697..a0e9d3b9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/hocs/with-node-config-form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/common/hocs/with-node-config-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { NodeConfigForm } from '../components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/utils/custom-setter-helpers.ts b/frontend/packages/workflow/playground/src/node-registries/common/utils/custom-setter-helpers.ts index da6029ea..39f442c2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/utils/custom-setter-helpers.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/utils/custom-setter-helpers.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { variableUtils } from '@coze-workflow/variable'; import { type ApiNodeDetailDTO } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/utils/get-input-type.ts b/frontend/packages/workflow/playground/src/node-registries/common/utils/get-input-type.ts index 52d98c4f..132b6e64 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/utils/get-input-type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/utils/get-input-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { variableUtils } from '@coze-workflow/variable'; import { type DTODefine, diff --git a/frontend/packages/workflow/playground/src/node-registries/common/utils/index.ts b/frontend/packages/workflow/playground/src/node-registries/common/utils/index.ts index aa9fbee4..81976e58 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/utils/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/utils/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getInputTypeBase, getInputType } from './get-input-type'; export { getCustomVal, getCustomSetterProps } from './custom-setter-helpers'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/utils/nodes-v2-registry-utils.ts b/frontend/packages/workflow/playground/src/node-registries/common/utils/nodes-v2-registry-utils.ts index 2e4c8f26..54f3ae83 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/utils/nodes-v2-registry-utils.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/utils/nodes-v2-registry-utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeRegistry } from '@coze-workflow/base'; import { withSettingOnError } from './with-setting-on-error'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/utils/with-setting-on-error.ts b/frontend/packages/workflow/playground/src/node-registries/common/utils/with-setting-on-error.ts index 97d28a2a..a8d00df2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/utils/with-setting-on-error.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/utils/with-setting-on-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { set } from 'lodash-es'; import { type NodeContext, diff --git a/frontend/packages/workflow/playground/src/node-registries/common/validators/create-answer-content-validator.ts b/frontend/packages/workflow/playground/src/node-registries/common/validators/create-answer-content-validator.ts index 5d2388d3..d976f9dd 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/validators/create-answer-content-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/validators/create-answer-content-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; export interface CreateAnswerContentValidatorOptions { diff --git a/frontend/packages/workflow/playground/src/node-registries/common/validators/create-input-tree-validator.ts b/frontend/packages/workflow/playground/src/node-registries/common/validators/create-input-tree-validator.ts index fbfa7017..9fea092d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/validators/create-input-tree-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/validators/create-input-tree-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Validate } from '@flowgram-adapter/free-layout-editor'; import { inputTreeValidator } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/validators/create-outputs-validator.ts b/frontend/packages/workflow/playground/src/node-registries/common/validators/create-outputs-validator.ts index e8207197..3704a91c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/validators/create-outputs-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/validators/create-outputs-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Validate } from '@flowgram-adapter/free-layout-editor'; import { outputTreeValidator } from '@coze-workflow/nodes'; import { type ViewVariableMeta } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/common/validators/index.ts b/frontend/packages/workflow/playground/src/node-registries/common/validators/index.ts index 2c5817ab..f7f071cb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/common/validators/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/common/validators/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createValueExpressionInputValidate } from '@/nodes-v2/materials/create-value-expression-input-validate'; export { createOutputsValidator } from './create-outputs-validator'; export { diff --git a/frontend/packages/workflow/playground/src/node-registries/continue/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/continue/data-transformer.ts index de90e8fe..f5d67925 100644 --- a/frontend/packages/workflow/playground/src/node-registries/continue/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/continue/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeDataDTO } from '@coze-workflow/base'; import { type FormData } from './types'; diff --git a/frontend/packages/workflow/playground/src/node-registries/continue/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/continue/form-meta.tsx index 03ac3959..e3ef1c93 100644 --- a/frontend/packages/workflow/playground/src/node-registries/continue/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/continue/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/continue/form.tsx b/frontend/packages/workflow/playground/src/node-registries/continue/form.tsx index 9d098643..8058db8a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/continue/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/continue/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { NodeConfigForm } from '@/node-registries/common/components'; export const FormRender = () => ; diff --git a/frontend/packages/workflow/playground/src/node-registries/continue/index.ts b/frontend/packages/workflow/playground/src/node-registries/continue/index.ts index 1cbb2d36..efe9ea5a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/continue/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/continue/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { CONTINUE_NODE_REGISTRY } from './node-registry'; export { ContinueContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/continue/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/continue/node-content.tsx index db933bd2..b3f33ddb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/continue/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/continue/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function ContinueContent() { return <>; } diff --git a/frontend/packages/workflow/playground/src/node-registries/continue/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/continue/node-registry.ts index 7a9ce792..91a02b24 100644 --- a/frontend/packages/workflow/playground/src/node-registries/continue/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/continue/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH } from '@coze-workflow/nodes'; import { StandardNodeType, diff --git a/frontend/packages/workflow/playground/src/node-registries/continue/types.ts b/frontend/packages/workflow/playground/src/node-registries/continue/types.ts index d105de5d..9052eadc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/continue/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/continue/types.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-empty-interface */ export interface FormData {} diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/components/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/components/index.ts index 7dad0c3a..b7d18f9a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/components/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/components/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SelectFieldsButton } from './select-fields-button'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/components/select-fields-button.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/components/select-fields-button.tsx index fdc82b1f..43198225 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/components/select-fields-button.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/components/select-fields-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useNodeTestId, type DatabaseField } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-add-button.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-add-button.tsx index f8b33a37..9237e79f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-add-button.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-add-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseCondition, useNodeTestId } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; import { IconCozPlus } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-field.tsx index b010fab2..30a6b078 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseCondition, ConditionLogic } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-item-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-item-field.tsx index 06faa04b..f777bdc5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-item-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-item-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useMemo } from 'react'; import { @@ -60,8 +60,8 @@ export const ConditionItemField = withField( const rightFieldDataType = useMemo( () => ['IN', 'NOT_IN'].includes(operator || '') - ? (leftTypeToListTypeMaps?.[dataType as ViewVariableType] ?? - ViewVariableType.ArrayString) + ? leftTypeToListTypeMaps?.[dataType as ViewVariableType] ?? + ViewVariableType.ArrayString : dataType, [operator, dataType], ); diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-left-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-left-field.tsx index 563210a9..ca5ebc48 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-left-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-left-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseConditionLeft, useNodeTestId } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-list.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-list.tsx index 21ac4e21..57cd7c91 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-list.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseCondition } from '@coze-workflow/base'; import { useFieldArray, FieldArrayList } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-logic-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-logic-field.tsx index 0d57a596..75863613 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-logic-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-logic-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ConditionLogic, useNodeTestId } from '@coze-workflow/base'; import { withField, useField, type FieldProps } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-operator-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-operator-field.tsx index 44711416..49a893bc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-operator-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-operator-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableType, type DatabaseConditionOperator, diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-right-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-right-field.tsx index b587456f..707135fc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-right-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/condition-right-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseConditionRight, type DatabaseConditionOperator, diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/get-condition-operator-options.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/get-condition-operator-options.tsx index b77c4704..39cace6a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/get-condition-operator-options.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/get-condition-operator-options.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { type ConditionOperator } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/index.ts index 23301921..f8b1ee09 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ConditionField } from './condition-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/use-condition-left-data-type.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/use-condition-left-data-type.ts index bfbd4c39..83ad4d04 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/use-condition-left-data-type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/condition-field/use-condition-left-data-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseCondition } from '@coze-workflow/base'; import { useCurrentDatabaseQuery } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/database-select.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/database-select.tsx index e7ef8b96..130bbf61 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/database-select.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/database-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { useNodeTestId, type WorkflowDatabase } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/index.ts index 0ae0d0ef..4d275c57 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SelectAndSetFieldsField } from './select-and-set-fields-field'; export { DatabaseSelectField } from './database-select'; export { OutputsField } from './outputs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/outputs.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/outputs.tsx index 7db48123..a37885a5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/outputs.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/outputs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/index.ts index d37ef54a..fcf98dc3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SelectAndSetFieldsField } from './select-and-set-fields-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-add-button.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-add-button.tsx index 087da15c..10deb33c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-add-button.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-add-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseSettingField } from '@coze-workflow/base'; import { useCurrentDatabaseQuery } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-columns-title.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-columns-title.tsx index 7b0e1142..9f3c5c82 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-columns-title.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-columns-title.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { ColumnTitles } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-context.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-context.tsx index f6b5062e..426064c1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-context.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-context.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type DatabaseField } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-field.tsx index a142c3f8..29228faf 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseField } from '@coze-workflow/base'; import { withFieldArray, type FieldProps } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-item.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-item.tsx index 73d69d83..50ba55c2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-item.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseSettingField } from '@coze-workflow/base'; import { ValueExpressionInputField } from '@/node-registries/common/fields'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-list.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-list.tsx index e7cb01c2..80b04ad8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-list.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type DatabaseSettingField } from '@coze-workflow/base'; import { FieldArrayList, useFieldArray } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-section.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-section.tsx index 601ef991..26b2e820 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-section.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields-section.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren } from 'react'; import { type DatabaseSettingField } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields.tsx b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields.tsx index aa943d99..0221477b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/fields/select-and-set-fields-field/select-and-set-fields.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SelectAndSetFieldsSection } from './select-and-set-fields-section'; import { SelectAndSetFieldsList } from './select-and-set-fields-list'; import { SelectAndSetFieldsColumnsTitle } from './select-and-set-fields-columns-title'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/index.ts index 5ee45dac..f44d2115 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCurrentDatabaseField } from './use-current-database-field'; export { useResetSelectAndSetFields } from './use-reset-select-and-set-fields'; export { useResetCondition } from './use-reset-condition'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-current-database-field.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-current-database-field.ts index 63c9ea55..7662c0c3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-current-database-field.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-current-database-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentDatabaseQuery } from '@/hooks'; export function useCurrentDatabaseField(fieldID?: number) { diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-reset-condition.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-reset-condition.ts index 2d1158c7..9a24c28d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-reset-condition.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-reset-condition.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ConditionLogic } from '@coze-workflow/base'; import { useCurrentDatabaseQuery } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-reset-select-and-set-fields.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-reset-select-and-set-fields.ts index d3cdc11c..bbc0dda7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-reset-select-and-set-fields.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/hooks/use-reset-select-and-set-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentDatabaseQuery } from '@/hooks'; import { useForm } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/types.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/types.ts index 26a79f3b..ea43f318 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/types.ts @@ -13,4 +13,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/utils/get-outputs-default-value.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/utils/get-outputs-default-value.ts index 1ead1d3b..b790dd66 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/utils/get-outputs-default-value.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/utils/get-outputs-default-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/utils/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/utils/index.ts index 982f4602..c4141ed1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/utils/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/utils/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getOutputsDefaultValue } from './get-outputs-default-value'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-condition-validator.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-condition-validator.ts index bb9d4126..a3c1fe0c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-condition-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-condition-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-database-validator.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-database-validator.ts index b1c40031..dc61ae16 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-database-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-database-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { databaseSelectFieldName } from '@/constants/database-field-names'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-select-and-set-fields-validator.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-select-and-set-fields-validator.ts index 6f321c75..03764806 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-select-and-set-fields-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/validators/create-select-and-set-fields-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { ValueExpressionService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/validators/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/validators/index.ts index f7b5629f..cf42f63b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/validators/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/validators/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createConditionValidator } from './create-condition-validator'; export { createDatabaseValidator } from './create-database-validator'; export { createSelectAndSetFieldsValidator } from './create-select-and-set-fields-validator'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-base/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-base/data-transformer.ts index f8fb8f68..3e847264 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-base/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-base/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function transformOnInit(value) { if (!value) { return; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-base/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-base/form-meta.tsx index 5ea95f21..92d8cb5b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-base/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-base/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-base/form.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-base/form.tsx index 3b2994a9..5c709352 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-base/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-base/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-base/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-base/index.ts index 4db30eac..03b9bc24 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-base/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-base/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DATABASE_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-base/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-base/node-registry.ts index 745da782..d951030f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-base/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-base/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_NODE_SIZE, diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-base/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-base/node-test.ts index a880c557..d33ea672 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-base/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-base/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateParametersToProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-form-meta.tsx index 94c01b2f..69cc75c0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-form.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-form.tsx index 18186ca4..74b6166f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useResetSelectAndSetFields } from '@/node-registries/database/common/hooks'; import { SelectAndSetFieldsField, diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-node-registry.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-node-registry.tsx index ec24738a..84418bf7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-node-registry.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-create/database-create-node-registry.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-create/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-create/index.ts index 358b0906..a7099c79 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-create/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-create/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DATABASE_CREATE_NODE_REGISTRY } from './database-create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-create/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-create/node-test.ts index c56a1da4..6b87e93e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-create/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-create/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MemoryApi } from '@coze-arch/bot-api'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-form-meta.tsx index 6bf203d6..43df2ad0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-form.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-form.tsx index bd41395e..9208bdfe 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useResetCondition } from '@/node-registries/database/common/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-node-registry.ts index 283b21c1..2edecdc7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/database-delete-node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/index.ts index d360a5f0..10189189 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DATABASE_DELETE_NODE_REGISTRY } from './database-delete-node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/node-test.ts index 152b4c7b..5f06d812 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-delete/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-delete/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateParametersToProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form-meta.tsx index 7cb06a06..8af16e8f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form.tsx index 34351e0d..30b5fd21 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-node-registry.ts index 0a4fd88a..f5fad510 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/index.ts index a6bdb6a4..a8e67436 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DATABASE_QUERY_NODE_REGISTRY } from './database-query-node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/node-test.ts index 20d89f97..1cd548ff 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateParametersToProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/ace-or-desc-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/ace-or-desc-field.tsx index 05a15455..8681b6a4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/ace-or-desc-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/ace-or-desc-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType, useNodeTestId } from '@coze-workflow/base'; import { SingleSelect } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/index.ts index f9291a15..507ba13a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OrderByField } from './order-by-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-add-button.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-add-button.tsx index fe9cc481..222a71be 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-add-button.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-add-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SelectFieldsButton } from '@/node-registries/database/common/components'; import { useFieldArray } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-field.tsx index 91d67679..54ece9e2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FieldArray, type FieldProps } from '@/form'; import { OrderBy } from './order-by'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-item-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-item-field.tsx index 1179e56e..adc30ac6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-item-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-item-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentDatabaseField } from '@/node-registries/database/common/hooks'; import { DataTypeTag } from '@/node-registries/common/components'; import { Label, withField, useField } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-list.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-list.tsx index 46d6567e..ce337e6e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-list.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SortableList, SortableItem, diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-section.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-section.tsx index ac976881..6ab40e6e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-section.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by-section.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useRef } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by.tsx index 0fe7de1a..b8c12338 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/order-by.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useValidateOrderFields } from './use-validate-order-by-fields'; import { OrderBySection } from './order-by-section'; import { OrderByList } from './order-by-list'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/types.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/types.ts index 884c5814..44fb94a4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface OrderByFieldSchema { fieldID: number; isAsc: boolean; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-order-by-visible.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-order-by-visible.ts index 13933d01..fe970312 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-order-by-visible.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-order-by-visible.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQueryFieldIDs } from './use-query-field-ids'; // Currently, if the query field is empty, the sorting field is not displayed diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-query-field-ids.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-query-field-ids.ts index 0c5e8c3d..58144d75 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-query-field-ids.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-query-field-ids.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWatch } from '@/form'; import { queryFieldsFieldName } from '@/constants/database-field-names'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-query-fields.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-query-fields.ts index 25bc0dc1..1ffe6dcf 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-query-fields.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-query-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentDatabaseQuery } from '@/hooks'; import { useQueryFieldIDs } from './use-query-field-ids'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-validate-order-by-fields.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-validate-order-by-fields.ts index 188a97e9..e6f86d3c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-validate-order-by-fields.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/order-by-field/use-validate-order-by-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useFieldArray } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/index.ts index 7625d84b..49964099 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { QueryFieldsField } from './query-fields-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-add-button.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-add-button.tsx index cbf2e46d..67e85985 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-add-button.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-add-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { cloneDeep, set } from 'lodash-es'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-column-titles.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-column-titles.tsx index 22e210e9..090bee80 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-column-titles.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-column-titles.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { ColumnTitles } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-field.tsx index 1234bec6..a03f44a0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FieldArray, type FieldProps } from '@/form'; import { QueryFields } from './query-fields'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-item.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-item.tsx index 141b7ea4..f5f070a6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-item.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId } from '@coze-workflow/base'; import { useCurrentDatabaseField } from '@/node-registries/database/common/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-list.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-list.tsx index e65f8b64..b6e63f5f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-list.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FieldArrayList, useFieldArray } from '@/form'; import { type QueryFieldSchema } from './types'; @@ -24,7 +24,9 @@ export function QueryFieldsList() { return ( - {value?.map((item, index) => )} + {value?.map((item, index) => ( + + ))} ); } diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-section.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-section.tsx index 8da05775..40345026 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-section.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields-section.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type PropsWithChildren, useRef } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields.tsx index 70cc4b7c..62db4cbf 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/query-fields.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { QueryFieldsSection } from './query-fields-section'; import { QueryFieldsList } from './query-fields-list'; import { QueryFieldsColumnTitles } from './query-fields-column-titles'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/types.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/types.ts index 245679ea..74f7e158 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-fields-field/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface QueryFieldSchema { fieldID: number; isDistinct?: boolean; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-limit-field.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-limit-field.tsx index 9e6255b7..299a7aad 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-limit-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/query-limit-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type FieldProps, InputNumberField, Section } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-query/use-reset-fields.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-query/use-reset-fields.ts index 1abfa1d1..6d1475e8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-query/use-reset-fields.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-query/use-reset-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useResetCondition } from '@/node-registries/database/common/hooks'; import { useForm } from '@/form'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-form-meta.tsx index c2446650..9fd56d4d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-form.tsx b/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-form.tsx index e95f19ff..422c0cb7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useResetCondition } from '@/node-registries/database/common/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-node-registry.ts index 0f6852ce..3f435d04 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-update/database-update-node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-update/index.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-update/index.ts index fb6cb229..804439bd 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-update/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-update/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DATABASE_UPDATE_NODE_REGISTRY } from './database-update-node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-update/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-update/node-test.ts index 2a3d6e54..7a618883 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-update/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-update/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { MemoryApi } from '@coze-arch/bot-api'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/database/database-update/use-reset-select-and-set-fields.ts b/frontend/packages/workflow/playground/src/node-registries/database/database-update/use-reset-select-and-set-fields.ts index bc8648ab..deb0ef38 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/database-update/use-reset-select-and-set-fields.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/database-update/use-reset-select-and-set-fields.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useForm } from '@/form'; import { updateSelectAndSetFieldsFieldName } from '@/constants/database-field-names'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/common/componets/dataset-params-field.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/common/componets/dataset-params-field.tsx index c96d0580..d994b7ab 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/common/componets/dataset-params-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/common/componets/dataset-params-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/common/componets/dataset-select-field.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/common/componets/dataset-select-field.tsx index 6c6d7ae6..84303bf1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/common/componets/dataset-select-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/common/componets/dataset-select-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { DatasetSelect as BaseDatasetSelect } from '@/form-extensions/components/dataset-select'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/components/dataset-setting-field.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/components/dataset-setting-field.tsx index d0f00fbd..60c9d099 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/components/dataset-setting-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/components/dataset-setting-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useDataSetInfos } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/data-transformer.ts index 41bdaecb..94b551cc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { isNil, set } from 'lodash-es'; import { BlockInput, ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/form-meta.tsx index c32a07fc..578469a4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/form.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/form.tsx index 12a22b89..83387278 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/index.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/index.ts index a3e56ba1..a951b2cb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DATASET_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/node-registry.ts index e06a0c8c..2dd8844f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_NODE_SIZE, diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/node-test.ts index b454c51c..34c90b67 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateParametersToProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/runtime-type.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/runtime-type.ts index 31dbc739..7395c838 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/runtime-type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/runtime-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export import * as t from 'io-ts'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/type.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/type.ts index 06493f50..ac30e79c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-search/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { TypeOf } from 'io-ts'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-chunk-field.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-chunk-field.tsx index 10284754..e613da83 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-chunk-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-chunk-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-parser-field.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-parser-field.tsx index d5fb449b..68a1361b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-parser-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-parser-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { DatasetWriteParser as BaseDatasetWriteParser } from '@/form-extensions/components/dataset-write-parser'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-setting.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-setting.tsx index 50e2d8ed..3371b6f1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-setting.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/components/dataset-write-setting.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/data-transformer.ts index d66172ed..fa2a7ab0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { set } from 'lodash-es'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/form-meta.tsx index 4505edaa..356d9096 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/form.tsx b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/form.tsx index 9df67774..3235e3c9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/index.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/index.ts index 03434399..45c4c3f0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DATASET_WRITE_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/node-registry.ts index c529706f..950fa892 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/node-test.ts index b454c51c..34c90b67 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateParametersToProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/runtime-type.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/runtime-type.ts index ed2481ed..3a7f4805 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/runtime-type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/runtime-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // eslint-disable-next-line @coze-arch/no-batch-import-or-export import * as t from 'io-ts'; diff --git a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/type.ts b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/type.ts index 06493f50..ac30e79c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/dataset/dataset-write/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { TypeOf } from 'io-ts'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/end/components/terminate-plan-content.tsx b/frontend/packages/workflow/playground/src/node-registries/end/components/terminate-plan-content.tsx index cc5b935f..a2396c6d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/components/terminate-plan-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/end/components/terminate-plan-content.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TerminatePlan as TerminatePlanContent } from '@/components/node-render/node-render-new/fields/terminate-plan'; diff --git a/frontend/packages/workflow/playground/src/node-registries/end/components/terminate-plan-field.tsx b/frontend/packages/workflow/playground/src/node-registries/end/components/terminate-plan-field.tsx index eacdaa15..601e2e5f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/components/terminate-plan-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/end/components/terminate-plan-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TERMINATE_PLAN_PATH, defaultTerminalPlanOptions } from '../constants'; import { RadioSetterField } from '../../common/fields'; diff --git a/frontend/packages/workflow/playground/src/node-registries/end/constants.ts b/frontend/packages/workflow/playground/src/node-registries/end/constants.ts index 77432d21..4be7f9e2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/end/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { TerminatePlan } from './types'; diff --git a/frontend/packages/workflow/playground/src/node-registries/end/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/end/data-transformer.ts index 93e6faf6..98fa74e3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/end/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, set } from 'lodash-es'; import { type NodeFormContext } from '@flowgram-adapter/free-layout-editor'; import { VariableTypeDTO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/end/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/end/form-meta.tsx index 95a2ebc1..4a1c2fa6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/end/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/end/form.tsx b/frontend/packages/workflow/playground/src/node-registries/end/form.tsx index f4b3e87c..2e5884ff 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/end/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId, type InputValueVO } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/end/index.ts b/frontend/packages/workflow/playground/src/node-registries/end/index.ts index 46eba024..8844ba02 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/end/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { END_NODE_REGISTRY } from './node-registry'; export { EndContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/end/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/end/node-content.tsx index dc0a80ba..1e5cf1c8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/end/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { InputParameters } from '../common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/end/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/end/node-registry.ts index 9fb315e8..86ffc1f1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/end/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH } from '@coze-workflow/nodes'; import { StandardNodeType, diff --git a/frontend/packages/workflow/playground/src/node-registries/end/types.ts b/frontend/packages/workflow/playground/src/node-registries/end/types.ts index 148e5cc2..0246d8e0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/end/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO, type InputValueDTO, diff --git a/frontend/packages/workflow/playground/src/node-registries/end/validators/create-input-name-validator.ts b/frontend/packages/workflow/playground/src/node-registries/end/validators/create-input-name-validator.ts index 515c7789..7b8cc6e5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/end/validators/create-input-name-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/end/validators/create-input-name-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/bash-editor.tsx b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/bash-editor.tsx index 518b19bb..d68a445a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/bash-editor.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/bash-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useEffect, useRef } from 'react'; import { type EditorAPI } from '@coze-editor/editor/preset-code'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/index.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/index.ts index ac224e4b..0d53510a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BaseJsonEditor } from './json-editor'; export { BaseRawTextEditor } from './raw-text-editor'; export { BaseBashEditor } from './bash-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/json-editor.tsx b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/json-editor.tsx index 4c01deb9..e2e273af 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/json-editor.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/json-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useEffect, diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/raw-text-editor.tsx b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/raw-text-editor.tsx index 3f8d7b1e..9f39e953 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/raw-text-editor.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/raw-text-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef, useCallback, useEffect, useRef } from 'react'; import { type EditorAPI } from '@coze-editor/editor/preset-universal'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/validate.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/validate.ts index fd822ea8..fa0ea418 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/validate.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/base-editor/validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeFormContext } from '@flowgram-adapter/free-layout-editor'; import { getVariableInfoFromExpression } from '../variable-support/utils'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/constants.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/constants.ts index 62d0b643..9418a104 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum MenuType { Nodes = 'nodes', Variables = 'variables', diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/index.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/index.ts index 191bcb00..de2b58a0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useInterpolationContent } from './use-interpolation-content'; export { useOptionsOperations } from './use-options-operations'; export { useSelection } from './use-selection'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-interpolation-content.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-interpolation-content.ts index 61114a2b..03c4b41a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-interpolation-content.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-interpolation-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { type EditorAPI } from '@coze-editor/editor/preset-universal'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-keyboard-actions.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-keyboard-actions.ts index fe6c13a0..43dfb642 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-keyboard-actions.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-keyboard-actions.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useEditor } from '@coze-editor/editor/react'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-keyboard.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-keyboard.ts index 46e432d8..056b4be9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-keyboard.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-keyboard.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useLatest } from '../utils'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-options-operations.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-options-operations.ts index 8d76e19a..aa3f14b8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-options-operations.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-options-operations.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { getOptionInfoFromDOM, selectNodeByIndex } from '../utils'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-selection.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-selection.ts index 78c3f665..a53eca32 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-selection.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-selection.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { type EditorAPI } from '@coze-editor/editor/preset-universal'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-variable-injector.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-variable-injector.ts index 116b3b06..378f3e39 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-variable-injector.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/hooks/use-variable-injector.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect, useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/index.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/index.ts index 8a40f68a..d56eb821 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VariableExtension } from './variable-extension'; export { getIconSvgString } from './utils'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/types.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/types.ts index ddfa4d6b..0006db09 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { EditorAPI } from '@coze-editor/editor/preset-universal'; import type { Tree } from '@coze-arch/coze-design'; import type { TreeNodeData } from '@coze-arch/bot-semi/Tree'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/utils.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/utils.ts index 6ef9d90c..f173d6c1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/utils.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MutableRefObject, useRef } from 'react'; import { last } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-deleted-widget.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-deleted-widget.ts index 9e099fd9..4cd8b559 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-deleted-widget.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-deleted-widget.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { WidgetType } from '@codemirror/view'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-extension.tsx b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-extension.tsx index 923dabcc..59b5211f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-extension.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-extension.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useCallback, useEffect } from 'react'; import type { WorkflowVariableFacade } from '@coze-workflow/variable/src/core/workflow-variable-facade'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-prefix-widget.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-prefix-widget.ts index 9d3786d3..436b30f7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-prefix-widget.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-prefix-widget.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WidgetType } from '@codemirror/view'; import { getIconSvgString } from './utils'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-subfix-widget.ts b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-subfix-widget.ts index fd428240..3ac2376c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-subfix-widget.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/components/variable-support/variable-subfix-widget.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WidgetType } from '@codemirror/view'; import type { InputVariableInfo, RangeType } from './types'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/constants.ts b/frontend/packages/workflow/playground/src/node-registries/http/constants.ts index 8aa6ff79..ef9fd80b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/http/data-transformer.ts index dca9a658..8c7037b3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ import { nanoid } from 'nanoid'; import { get, isEmpty, set } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/body-type-select/index.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/body-type-select/index.tsx index 8d1bf7cd..fe265a77 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/body-type-select/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/body-type-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldProps, useField, withField } from '@/form'; import { Select, diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/hooks/use-variable-tree.ts b/frontend/packages/workflow/playground/src/node-registries/http/fields/hooks/use-variable-tree.ts index 61cec9b3..5b6b0498 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/hooks/use-variable-tree.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/hooks/use-variable-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ExpressionEditorTreeNode, ExpressionEditorTreeHelper, diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/hooks/use-variable-with-node.ts b/frontend/packages/workflow/playground/src/node-registries/http/fields/hooks/use-variable-with-node.ts index e50afe91..2232df96 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/hooks/use-variable-with-node.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/hooks/use-variable-with-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowVariableFacade } from '@coze-workflow/variable/src/core/workflow-variable-facade'; import { TRANS_WORKFLOW_VARIABLE_SOURCE } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/index.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/index.tsx index 568da77a..3b749dc7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { JsonImportField } from './json-import-field'; export { JsonExtensionEditorField } from './json-editor-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/inner-editor.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/inner-editor.tsx index 6e65d00c..6838522b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/inner-editor.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/inner-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-editor-field.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-editor-field.tsx index 27ceb95f..e56aa00b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-editor-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-editor-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EditorProvider } from '@coze-editor/editor/react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/index.ts b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/index.ts index 86ddc0c8..37c5e315 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { JsonImport } from './json-import'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/json-expand-editor.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/json-expand-editor.tsx index 506351b1..21fd039b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/json-expand-editor.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/json-expand-editor.tsx @@ -13,14 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef, useEffect } from 'react'; import classNames from 'classnames'; import { PublicScopeProvider } from '@coze-workflow/variable'; import { EditorProvider } from '@coze-editor/editor/react'; import { I18n } from '@coze-arch/i18n'; -import { IconCozBroom, IconCozMoon, IconCozSun } from '@coze-arch/coze-design/icons'; +import { + IconCozBroom, + IconCozMoon, + IconCozSun, +} from '@coze-arch/coze-design/icons'; import { IconButton, Tooltip } from '@coze-arch/coze-design'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/json-import.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/json-import.tsx index f7bc1526..c0ed779a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/json-import.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-components/json-import.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-field.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-field.tsx index 76b1f4cb..4feef7fb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/json-import-editor/json-import-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useField, withField } from '@/form'; import { JsonImport } from './json-import-components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/raw-text-editor/index.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/raw-text-editor/index.tsx index 39c36d0a..c9142da7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/raw-text-editor/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/raw-text-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EditorProvider } from '@coze-editor/editor/react'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/fields/raw-text-editor/inner-editor.tsx b/frontend/packages/workflow/playground/src/node-registries/http/fields/raw-text-editor/inner-editor.tsx index 529f3194..8055472e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/fields/raw-text-editor/inner-editor.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/fields/raw-text-editor/inner-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/http/form-meta.tsx index 493af915..c7ed17f4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isString } from 'lodash-es'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/http/form-render.tsx b/frontend/packages/workflow/playground/src/node-registries/http/form-render.tsx index 8db8cb98..7efa6ac3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/form-render.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValueExpressionType, ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/index.tsx b/frontend/packages/workflow/playground/src/node-registries/http/index.tsx index 914d2ed6..f6dd73f4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { HTTP_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/http/node-registry.ts index 657850a7..3f662a9d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/http/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/http/node-test.ts index c6963f8f..e9bc0708 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import md5 from 'md5'; import { get } from 'lodash-es'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; @@ -167,7 +167,9 @@ const generateBody = (node: WorkflowNodeEntity) => { [ { name: `__${dataPath.replaceAll('.', '_')}_fileURL`, - title: `${I18n.t('node_http_body')}-${I18n.t('node_http_body_binary')}`, + title: `${I18n.t('node_http_body')}-${I18n.t( + 'node_http_body_binary', + )}`, input: parameters?.fileURL, }, ], diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/api/curl-expand-editor.tsx b/frontend/packages/workflow/playground/src/node-registries/http/setters/api/curl-expand-editor.tsx index c36bb889..40c6c4be 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/api/curl-expand-editor.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/api/curl-expand-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useCallback, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/api/curl-import.tsx b/frontend/packages/workflow/playground/src/node-registries/http/setters/api/curl-import.tsx index 4681c703..1143dfe4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/api/curl-import.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/api/curl-import.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/api/index.tsx b/frontend/packages/workflow/playground/src/node-registries/http/setters/api/index.tsx index 604651e5..dce9e409 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/api/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/api/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { useNodeTestId, ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/api/utils.ts b/frontend/packages/workflow/playground/src/node-registries/http/setters/api/utils.ts index 74ed9b8d..919b755c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/api/utils.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/api/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; export function transJsTypeToViewVariableType(value: unknown) { diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/add-to-field.tsx b/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/add-to-field.tsx index 2d14d55c..b485a3b2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/add-to-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/add-to-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/create-auth-validator.ts b/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/create-auth-validator.ts index 9e92c0be..1f5a198b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/create-auth-validator.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/create-auth-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { valueExpressionValidator } from '@/form-extensions/validators'; @@ -24,7 +24,9 @@ export function createAuthValidator() { const validators = {}; Object.keys(AuthType).forEach(key => { const subPath = key === 'Custom' ? '.data.*.input' : '.*.input'; - const pathName = `inputs.auth.authData.${authTypeToField[AuthType[key]] + subPath}`; + const pathName = `inputs.auth.authData.${ + authTypeToField[AuthType[key]] + subPath + }`; validators[pathName] = ({ value, formValues, context }) => { const authOpen = get(formValues, 'inputs.auth.authOpen'); const authType: AuthType = get(formValues, 'inputs.auth.authType'); diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/index.tsx b/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/index.tsx index 30deeb82..82a36383 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/auth/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useMemo, useRef } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/body/index.tsx b/frontend/packages/workflow/playground/src/node-registries/http/setters/body/index.tsx index f74f867d..34b57b9d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/body/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/body/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/constants.ts b/frontend/packages/workflow/playground/src/node-registries/http/setters/constants.ts index 43b9f087..34ee9b8a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum HttpMethod { GET = 'GET', POST = 'POST', diff --git a/frontend/packages/workflow/playground/src/node-registries/http/setters/index.ts b/frontend/packages/workflow/playground/src/node-registries/http/setters/index.ts index 460ed2d2..92b79d53 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/setters/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/setters/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ApiSetter } from './api'; export { BodySetter } from './body'; export { AuthSetter } from './auth'; diff --git a/frontend/packages/workflow/playground/src/node-registries/http/types.ts b/frontend/packages/workflow/playground/src/node-registries/http/types.ts index cb6bfb17..c604b6e2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/http/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/http/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValueExpressionDTO } from '@coze-workflow/base'; export interface HeaderAndParamsDataDTO { diff --git a/frontend/packages/workflow/playground/src/node-registries/if/components/condition/hidden-condition.tsx b/frontend/packages/workflow/playground/src/node-registries/if/components/condition/hidden-condition.tsx index c7ba98e6..7e90cb9c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/components/condition/hidden-condition.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/if/components/condition/hidden-condition.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/if/components/condition/index.tsx b/frontend/packages/workflow/playground/src/node-registries/if/components/condition/index.tsx index 8a3ebd27..79a7d5ce 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/components/condition/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/if/components/condition/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useNodeRenderScene } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/if/components/condition/multi-condition.tsx b/frontend/packages/workflow/playground/src/node-registries/if/components/condition/multi-condition.tsx index 7add3f52..70ce97be 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/components/condition/multi-condition.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/if/components/condition/multi-condition.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useState, useCallback } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/if/components/else/index.tsx b/frontend/packages/workflow/playground/src/node-registries/if/components/else/index.tsx index 6a342ee8..e1a2baac 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/components/else/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/if/components/else/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/if/constants.ts b/frontend/packages/workflow/playground/src/node-registries/if/constants.ts index 34d8a842..993d1241 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/if/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/if/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/if/data-transformer.ts index 51a2dc2a..c7285677 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/if/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEmpty, isNil } from 'lodash-es'; import type { NodeContext } from '@flowgram-adapter/free-layout-editor'; import { nodeUtils } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/if/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/if/form-meta.tsx index bede3253..ff62ad00 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/if/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { flatten } from 'lodash-es'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/if/form.tsx b/frontend/packages/workflow/playground/src/node-registries/if/form.tsx index 893fee23..fb9d15dc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/if/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { NodeConfigForm } from '@/node-registries/common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/if/index.ts b/frontend/packages/workflow/playground/src/node-registries/if/index.ts index 4332755b..28bfb5c8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/if/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IF_NODE_REGISTRY } from './node-registry'; export { IfContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/if/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/if/node-content.tsx index 6a8cf752..d61c858c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/if/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Conditions } from '@/components/node-render/node-render-new/fields'; export function IfContent() { diff --git a/frontend/packages/workflow/playground/src/node-registries/if/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/if/node-registry.ts index 435553d3..685e12ac 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/if/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_NODE_SIZE, diff --git a/frontend/packages/workflow/playground/src/node-registries/if/types.ts b/frontend/packages/workflow/playground/src/node-registries/if/types.ts index 4eb2fbff..f5c590fb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/if/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/if/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ConditionValue } from '@/form-extensions/setters/condition/multi-condition/types'; export interface FormData { diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/components/canvas/components/canvas.tsx b/frontend/packages/workflow/playground/src/node-registries/image-canvas/components/canvas/components/canvas.tsx index 876bf2e9..db5edab8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/components/canvas/components/canvas.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/components/canvas/components/canvas.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useMemo, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/components/index.tsx b/frontend/packages/workflow/playground/src/node-registries/image-canvas/components/index.tsx index f7f2eea2..f0544dcf 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/components/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/components/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Suspense, lazy } from 'react'; import { useInputVariables } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/constants.ts b/frontend/packages/workflow/playground/src/node-registries/image-canvas/constants.ts index 56d3c094..125eed1e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/image-canvas/data-transformer.ts index 161a63c6..02753a3f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeFormContext } from '@flowgram-adapter/free-layout-editor'; import { variableUtils, @@ -102,7 +102,7 @@ export const transformOnSubmit = ( }, ), id, - }) as unknown as InputValueDTO; + } as unknown as InputValueDTO); value.inputs.inputParameters = value.inputs.inputParameters.map(d => variableVOToDTO( d.name ?? '', diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/image-canvas/form-meta.tsx index 516ab9dd..f6d76f22 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/form.tsx b/frontend/packages/workflow/playground/src/node-registries/image-canvas/form.tsx index e7edec1e..2317560a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type InputValueVO, ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; @@ -37,7 +37,7 @@ export const FormRender = () => ( onAppend={() => ({ id: nanoid(), - }) as unknown as InputValueVO + } as unknown as InputValueVO) } disabledTypes={ViewVariableType.getComplement([ ViewVariableType.String, diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/index.ts b/frontend/packages/workflow/playground/src/node-registries/image-canvas/index.ts index 2adc5903..5720adfa 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IMAGE_CANVAS_NODE_REGISTRY } from './node-registry'; export { ImageCanvasContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-content.tsx index 96c0b2eb..7e54a1c0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters, Outputs } from '../common/components'; export function ImageCanvasContent() { diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-registry.ts index 01c3e641..fdd8b33b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-test.ts index 17d3a8c4..13fa901f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateParametersToProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-canvas/types.ts b/frontend/packages/workflow/playground/src/node-registries/image-canvas/types.ts index 135a80c7..feefc5f2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-canvas/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-canvas/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; export interface FormData { diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/index.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/index.ts index 2a8d2626..e5fdfb3b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModelSettingField } from './model-setting-field'; export { ReferencesField } from './references-field'; export { PromptField } from './prompt-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/create-model-options.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/create-model-options.ts index 60691469..3d897a98 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/create-model-options.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/create-model-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; import thumbnail8 from '../../assets/8.png'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/index.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/index.ts index 364b7d24..ace25fc2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ModelSettingField } from './model-setting-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/model-field.tsx b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/model-field.tsx index 1f56213b..6091f8ba 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/model-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/model-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ImageModelSelectField } from '@/node-registries/common/components'; import { type FieldProps } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/model-setting-field.tsx b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/model-setting-field.tsx index 6ae44fc5..e957916f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/model-setting-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/model-setting-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Section, SliderField, type FieldProps } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/ratio-field.tsx b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/ratio-field.tsx index 337b97f0..a663f965 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/ratio-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/model-setting-field/ratio-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SizeSelect } from '@coze-workflow/components'; import { withField, useField } from '@/form'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/prompt-field.tsx b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/prompt-field.tsx index e4d7de5f..f28d03f5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/prompt-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/prompt-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { ExpressionEditorField } from '@/node-registries/common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/create-preprocessor-options.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/create-preprocessor-options.ts index d6136bfd..2ed38495 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/create-preprocessor-options.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/create-preprocessor-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; import thumbnail7 from '../../assets/reference-7.png'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/index.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/index.ts index ed5232eb..37aabef0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ReferencesField } from './references-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/references-field.tsx b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/references-field.tsx index 6be74b33..731a1028 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/references-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/components/references-field/references-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/constants.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/constants.ts index d1ad88dd..af7c7aed 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const DEFAULT_REFERENCE = { weight: 0.7, }; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/image-generate/form-meta.tsx index fc1868c0..68313900 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { get, set } from 'lodash-es'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/form.tsx b/frontend/packages/workflow/playground/src/node-registries/image-generate/form.tsx index e4e0cd4a..4e8cce30 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useUpdateEffect, usePrevious } from 'ahooks'; import { withNodeConfigForm } from '@/node-registries/common/hocs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/index.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/index.ts index 6a2b601e..6c319ddd 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IMAGE_GENERATE_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/node-registry.ts index 04b8ba33..f42c01df 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType, type WorkflowNodeRegistry, diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/node-test.ts index 9039c0dd..62e4452c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n, type I18nKeysNoOptionsType } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-generate/types.ts b/frontend/packages/workflow/playground/src/node-registries/image-generate/types.ts index 888bd5a2..77b170b8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-generate/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-generate/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableType, type InputValueVO } from '@coze-workflow/base'; export interface FormData { diff --git a/frontend/packages/workflow/playground/src/node-registries/image-reference/index.ts b/frontend/packages/workflow/playground/src/node-registries/image-reference/index.ts index 124de168..5b584958 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-reference/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-reference/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { IMAGE_REFERENCE_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/image-reference/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/image-reference/node-registry.ts index cdf894a6..00595bfb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/image-reference/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/image-reference/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType, type WorkflowNodeRegistry, diff --git a/frontend/packages/workflow/playground/src/node-registries/input/constants.ts b/frontend/packages/workflow/playground/src/node-registries/input/constants.ts index 44fdb3bf..4afb3156 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/input/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from '@flowgram-adapter/free-layout-editor'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/input/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/input/data-transformer.ts index 4edf4205..64b6de8c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/input/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { variableUtils } from '@coze-workflow/variable'; import { type FormData, type NodeDataDTO } from './types'; @@ -31,4 +31,4 @@ export const transformOnSubmit = (value: FormData): NodeDataDTO => value.outputs?.map(o => variableUtils.viewMetaToDTOMeta(o)) || [], ), }, - }) as unknown as NodeDataDTO; + } as unknown as NodeDataDTO); diff --git a/frontend/packages/workflow/playground/src/node-registries/input/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/input/form-meta.tsx index a002852c..ef951191 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/input/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/input/form.tsx b/frontend/packages/workflow/playground/src/node-registries/input/form.tsx index c27d42b5..ab6f9fe1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/input/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { withNodeConfigForm } from '@/node-registries/common/hocs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/input/index.ts b/frontend/packages/workflow/playground/src/node-registries/input/index.ts index 2202af74..f807e20f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/input/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { INPUT_NODE_REGISTRY } from './node-registry'; export { InputContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/input/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/input/node-content.tsx index 38f71af3..64620ee7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/input/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Outputs } from '../common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/input/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/input/node-registry.ts index 262f4fde..c0148b32 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/input/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/input/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/input/node-test.ts index b7382f98..7f0b93f9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/input/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeTestMeta } from '@/test-run-kit'; export const test: NodeTestMeta = { diff --git a/frontend/packages/workflow/playground/src/node-registries/input/types.ts b/frontend/packages/workflow/playground/src/node-registries/input/types.ts index 6b47762b..96131889 100644 --- a/frontend/packages/workflow/playground/src/node-registries/input/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/input/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableMeta, type NodeDataDTO as BaseNodeDataDTO, diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/components/advanced-setting/index.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/components/advanced-setting/index.tsx index d28c563f..5b0af686 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/components/advanced-setting/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/components/advanced-setting/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { INTENT_NODE_MODE } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/components/inputs-parameters/chat-history/index.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/components/inputs-parameters/chat-history/index.tsx index 4af16a9c..9a4c4899 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/components/inputs-parameters/chat-history/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/components/inputs-parameters/chat-history/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/components/inputs-parameters/index.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/components/inputs-parameters/index.tsx index b4b292db..df312324 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/components/inputs-parameters/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/components/inputs-parameters/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type InputValueVO, useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/components/intents/index.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/components/intents/index.tsx index 067a4076..5421c6c4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/components/intents/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/components/intents/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { isNil } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/components/intents/option-item/index.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/components/intents/option-item/index.tsx index e78f14fa..a39ccb70 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/components/intents/option-item/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/components/intents/option-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/components/model-select/index.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/components/model-select/index.tsx index 151ac0d0..9f20a24d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/components/model-select/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/components/model-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { INTENT_NODE_MODE } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/components/outputs/index.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/components/outputs/index.tsx index 50f8d2ec..33d9eb80 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/components/outputs/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/components/outputs/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/constants.ts b/frontend/packages/workflow/playground/src/node-registries/intent/constants.ts index 67f09ddb..ca657f6c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/intent/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; import { INTENT_NODE_MODE } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/effects/intent-mode-effect.ts b/frontend/packages/workflow/playground/src/node-registries/intent/effects/intent-mode-effect.ts index 2d888de5..82bdc2ee 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/effects/intent-mode-effect.ts +++ b/frontend/packages/workflow/playground/src/node-registries/intent/effects/intent-mode-effect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { type Effect, diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/form-meta.tsx index 59f10bfb..76561ed8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/form.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/form.tsx index 277335c3..f8c7f738 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { NodeConfigForm } from '@/node-registries/common/components'; import Outputs from './components/outputs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/index.ts b/frontend/packages/workflow/playground/src/node-registries/intent/index.ts index 095ddcff..37750043 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/intent/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { INTENT_NODE_REGISTRY } from './node-registry'; export { IntentContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/intent/node-content.tsx index 86763a81..658e79b9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/intent/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Intents } from '@/components/node-render/node-render-new/fields'; import { InputParameters, Outputs } from '../common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/intent/node-registry.ts index 28d307fc..222a391e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/intent/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_NODE_SIZE, diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/intent/node-test.ts index 962a8a14..30677057 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/intent/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/types.ts b/frontend/packages/workflow/playground/src/node-registries/intent/types.ts index 76a12590..87340dc4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/intent/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO, type NodeDataDTO, diff --git a/frontend/packages/workflow/playground/src/node-registries/intent/validator/index.ts b/frontend/packages/workflow/playground/src/node-registries/intent/validator/index.ts index af7e49aa..ea8d82f0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/intent/validator/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/intent/validator/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isNil } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/constants.ts b/frontend/packages/workflow/playground/src/node-registries/loop/constants.ts index d8fe01da..68d5735c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ export const LoopSize = { width: 360, diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/loop/data-transformer.ts index 24d4c0a7..1756c57b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { set } from 'lodash-es'; import { variableUtils } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/form-meta.tsx index f5325f46..b8fa331c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/form.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/form.tsx index 40e293d1..79f4c04a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PrivateScopeProvider } from '@coze-workflow/variable'; import { NodeConfigForm } from '@/node-registries/common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/hooks/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/hooks/index.ts index fe571c38..73c0f215 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/hooks/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useLoopType } from './use-loop-type'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/hooks/use-loop-type.ts b/frontend/packages/workflow/playground/src/node-registries/loop/hooks/use-loop-type.ts index 97e8f5c9..c387ee13 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/hooks/use-loop-type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/hooks/use-loop-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { FlowNodeFormData, diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/index.ts index e053e22c..73865ccf 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LOOP_NODE_REGISTRY } from './node-registry'; export { LoopContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/index.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/index.tsx index 40bbd2e4..e97c3658 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LoopArray } from './loop-array'; export { LoopPort } from './loop-port'; export { LoopVariables } from './loop-variables'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-array.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-array.tsx index 2ff9d2aa..774dba36 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-array.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-array.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-port.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-port.tsx index ec035fec..67636803 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-port.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-port.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Port } from '@/components/node-render/node-render-new/fields/port'; export const LoopPort = () => ( diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-variables.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-variables.tsx index d9e0ccc5..1d20a7ab 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-variables.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-content/loop-variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType, useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/index.ts index aae95956..cbeab11e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/index.ts @@ -13,11 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LoopArrayField } from './loop-array'; export { LoopCountField } from './loop-count'; export { LoopOutputsField } from './loop-outputs'; export { LoopSettingsSection } from './loop-settings-section'; export { LoopTypeField } from './loop-type'; export { LoopVariablesField } from './loop-variables'; - diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-array/get-loop-input-names.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-array/get-loop-input-names.ts index 64e8b1ed..c81acade 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-array/get-loop-input-names.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-array/get-loop-input-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FormItemMaterialContext } from '@flowgram-adapter/free-layout-editor'; import { WorkflowNode, diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-array/index.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-array/index.tsx index 0d22c1b1..5f3daa11 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-array/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-array/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/consistent-type-assertions */ import { type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-count/index.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-count/index.tsx index ab7a97cb..0c4cda74 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-count/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-count/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId, type ValueExpression, diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-outputs/format-loop-output-name.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-outputs/format-loop-output-name.ts index 1ec6c08b..7f533e9c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-outputs/format-loop-output-name.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-outputs/format-loop-output-name.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { ValueExpressionType, type ValueExpression } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-outputs/index.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-outputs/index.tsx index 5a066b1e..a2c26c84 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-outputs/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-outputs/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/consistent-type-assertions */ import { type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-settings-section/index.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-settings-section/index.tsx index 2316c3d7..755c7d75 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-settings-section/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-settings-section/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FC, ReactNode } from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-type/index.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-type/index.tsx index b50f1cdd..60d48556 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-type/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-type/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-type/options.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-type/options.ts index cdf5ee1a..07a4fa63 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-type/options.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-type/options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { I18n } from '@coze-arch/i18n'; import { LoopType } from '../../constants'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-variables/index.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-variables/index.tsx index 39d8fa89..e3eb1118 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-variables/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-fields/loop-variables/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputsField } from '@/node-registries/common/fields'; import { I18n } from '@coze-arch/i18n'; import { type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-json.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-json.ts index 3d248f3c..6db704a7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-json.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity, WorkflowSubCanvas, diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-lines.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-lines.ts index f7169667..55901e34 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-lines.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-lines.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; import { delay } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-template-data.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-template-data.ts index 96dc3c83..14dcbc4d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-template-data.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function-template-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type NodeData, WorkflowNodeData } from '@coze-workflow/nodes'; import type { BasicStandardNodeTypes } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function.ts index 9989039a..1597edc7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/create-loop-function.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowDocument, WorkflowNodeEntity, diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/index.ts index 4e9f8b37..ef636016 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createLoopFunction } from './create-loop-function'; export { LoopFunctionIDPrefix, getLoopFunctionID, getLoopID } from './relation'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/relation.ts b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/relation.ts index 82a53a60..0442c707 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/relation.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/loop-function/relation.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ export const LoopFunctionIDPrefix = 'LoopFunction_'; export const getLoopFunctionID = (loopID: string) => diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/loop/node-content.tsx index 7158bc1c..5785c7bc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/loop/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PrivateScopeProvider } from '@coze-workflow/variable'; import { Outputs } from '@/components/node-render/node-render-new/fields'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/loop/node-registry.ts index e045c5f3..a5167513 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity, WorkflowSubCanvas, diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/loop/node-test.ts index 3dac171f..bd05ab45 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/types.ts b/frontend/packages/workflow/playground/src/node-registries/loop/types.ts index 135a80c7..feefc5f2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; export interface FormData { diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/validators/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/validators/index.ts index a3ec0916..96976075 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/validators/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/validators/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LoopArrayNameValidator } from './loop-array-name'; export { LoopInputNameValidator } from './loop-input-name'; export { LoopArrayValueValidator } from './loop-array-value'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-array-name/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-array-name/index.ts index 7f63a3cb..eff0b018 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-array-name/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-array-name/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { type Validate } from '@flowgram-adapter/free-layout-editor'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-array-value/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-array-value/index.ts index a23a2102..927303d8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-array-value/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-array-value/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { get } from 'lodash-es'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-name/get-loop-input-names.ts b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-name/get-loop-input-names.ts index 625af79f..8b294258 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-name/get-loop-input-names.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-name/get-loop-input-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type InputValueVO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-name/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-name/index.ts index 5c847c60..d80b78ac 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-name/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-name/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { createNodeInputNameValidate } from '@/nodes-v2/components/node-input-name/validate'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-value/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-value/index.ts index a3ea7446..38b4e819 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-value/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-input-value/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { createValueExpressionInputValidate } from '@/node-registries/common/validators'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-output-name/get-loop-output-names.ts b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-output-name/get-loop-output-names.ts index 9dd69c9d..d316b23f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-output-name/get-loop-output-names.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-output-name/get-loop-output-names.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type InputValueVO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-output-name/index.ts b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-output-name/index.ts index 1bdd386b..32ac7316 100644 --- a/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-output-name/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/loop/validators/loop-output-name/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { createNodeInputNameValidate } from '@/nodes-v2/components/node-input-name/validate'; import { getLoopOutputNames } from './get-loop-output-names'; diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/components/history-round-field.tsx b/frontend/packages/workflow/playground/src/node-registries/ltm/components/history-round-field.tsx index 3a801700..cd11b769 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/components/history-round-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/components/history-round-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/components/history-switch-field.tsx b/frontend/packages/workflow/playground/src/node-registries/ltm/components/history-switch-field.tsx index 8a95369a..59c4fe29 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/components/history-switch-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/components/history-switch-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; import { Switch, Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/components/index.ts b/frontend/packages/workflow/playground/src/node-registries/ltm/components/index.ts index df8180cd..c04af99f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/components/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Inputs } from './inputs'; export { HistorySwitchField } from './history-switch-field'; export { HistoryRoundField } from './history-round-field'; diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/components/inputs.tsx b/frontend/packages/workflow/playground/src/node-registries/ltm/components/inputs.tsx index aba3987e..4b66d86c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/components/inputs.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/components/inputs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/constants.ts b/frontend/packages/workflow/playground/src/node-registries/ltm/constants.ts index d703bac2..8cb02d73 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/ltm/data-transformer.ts index c7ed0413..f0309c5e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValueExpressionType, type LiteralExpression, diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/ltm/form-meta.tsx index 3e207236..295fa93f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/form.tsx b/frontend/packages/workflow/playground/src/node-registries/ltm/form.tsx index c8527e0b..cbb9e36f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/index.ts b/frontend/packages/workflow/playground/src/node-registries/ltm/index.ts index f3ab7663..22135ee3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LTM_NODE_REGISTRY } from './node-registry'; export { LtmContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/ltm/node-content.tsx index 065a7dc4..2c569ac0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters, Outputs } from '../common/components'; export function LtmContent() { diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/ltm/node-registry.ts index 8b75aaef..97b77b2c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/ltm/node-test.ts index 4fbe0a72..da0d825f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/ltm/types.ts b/frontend/packages/workflow/playground/src/node-registries/ltm/types.ts index 60348ccb..52758225 100644 --- a/frontend/packages/workflow/playground/src/node-registries/ltm/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/ltm/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableMeta, type InputValueVO, diff --git a/frontend/packages/workflow/playground/src/node-registries/output/components/output-text-content.tsx b/frontend/packages/workflow/playground/src/node-registries/output/components/output-text-content.tsx index 5ef693a0..bf6464ca 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/components/output-text-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/output/components/output-text-content.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -export { MessageOutput as OutputTextContent } from '@/components/node-render/node-render-new/fields/message-output' + +export { MessageOutput as OutputTextContent } from '@/components/node-render/node-render-new/fields/message-output'; diff --git a/frontend/packages/workflow/playground/src/node-registries/output/constants.ts b/frontend/packages/workflow/playground/src/node-registries/output/constants.ts index c1bd06b6..4f8448f1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/output/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Imported parameter path, practice running and other functions rely on this path to extract parameters export const INPUT_PATH = 'inputs.inputParameters'; diff --git a/frontend/packages/workflow/playground/src/node-registries/output/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/output/data-transformer.ts index 51082546..d448128d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/output/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormData, type NodeDataDTO } from './types'; import { get, set } from 'lodash-es'; import { VariableTypeDTO } from '@coze-workflow/base'; @@ -51,8 +51,8 @@ export const transformOnSubmit = (value: FormData) => { value: { type: 'literal', content: value.inputs.content, - } - } - } - } + }, + }, + }, + }; }; diff --git a/frontend/packages/workflow/playground/src/node-registries/output/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/output/form-meta.tsx index 82d783ac..df187a9f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/output/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/output/form.tsx b/frontend/packages/workflow/playground/src/node-registries/output/form.tsx index 7a040ad1..aff908b9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/output/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/output/index.ts b/frontend/packages/workflow/playground/src/node-registries/output/index.ts index 188947b3..a994c70d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/output/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OUTPUT_NODE_REGISTRY } from './node-registry'; export { OutputContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/output/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/output/node-content.tsx index dfad54a1..c805111c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/output/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputParameters } from '../common/components'; import { useFlags } from '@coze-arch/bot-flags'; import { MessageContent as OutputContentOld } from '@/components/node-render/node-render-new/content/message-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/output/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/output/node-registry.ts index 4fd42952..51ab38cf 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/output/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH } from '@coze-workflow/nodes'; import { StandardNodeType, diff --git a/frontend/packages/workflow/playground/src/node-registries/output/types.ts b/frontend/packages/workflow/playground/src/node-registries/output/types.ts index da055827..4cc24df6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/output/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/output/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO, type InputValueDTO, diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/components/plugin-link.tsx b/frontend/packages/workflow/playground/src/node-registries/plugin/components/plugin-link.tsx index 5d5dd753..c32ac0f8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/components/plugin-link.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/components/plugin-link.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useSearchParams } from 'react-router-dom'; import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/components/view-example.tsx b/frontend/packages/workflow/playground/src/node-registries/plugin/components/view-example.tsx index 9dcd57bc..856eb7e9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/components/view-example.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/components/view-example.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type ApiNodeDetailDTO } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/constants.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/constants.ts index 65d16744..db5d556a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const INPUTS_PATH = 'inputs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/data-transformer.ts index d93040ad..9fb4eec0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type NodeFormContext } from '@flowgram-adapter/free-layout-editor'; import { variableUtils } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/plugin/form-meta.tsx index 1aec22c0..473b8531 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/form.tsx b/frontend/packages/workflow/playground/src/node-registries/plugin/form.tsx index ffd2606d..87f2a1f7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { I18n } from '@coze-arch/i18n'; import { type FormRenderProps } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/index.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/index.ts index 34454e97..a07f0463 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { usePluginDetail } from './use-plugin-detail'; export { usePluginNodeService, diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/use-plugin-detail.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/use-plugin-detail.ts index 7f1f8e56..38d4eaea 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/use-plugin-detail.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/use-plugin-detail.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery } from '@tanstack/react-query'; import { ProductEntityType } from '@coze-arch/bot-api/product_api'; import { ProductApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/use-plugin-node-service.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/use-plugin-node-service.ts index 5d661e3f..2245d6a2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/use-plugin-node-service.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/hooks/use-plugin-node-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { PluginNodeService, type PluginNodeStore } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/index.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/index.ts index 37f9d91c..e5b50434 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PLUGIN_NODE_REGISTRY } from './node-registry'; export { PluginContent } from './node-content'; export { usePluginDetail } from './hooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/plugin/node-content.tsx index b7cab11a..c7ff4364 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/node-registry.ts index d6f6325c..5d62a9b1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/node-test.ts index 3c3166d4..1d0faf05 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { WorkflowNodeData } from '@coze-workflow/nodes'; import { type StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/types.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/types.ts index 8f072d20..182a38a9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ApiNodeDetailDTO } from '@coze-workflow/nodes'; import { type InputValueVO, diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-checker.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-checker.ts index 8afda82c..7a77d733 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-checker.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-checker.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { keyBy, set, sortBy, cloneDeep } from 'lodash-es'; import { variableUtils } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-error-setting.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-error-setting.ts index 329882d5..4a192f67 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-error-setting.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-error-setting.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { ERROR_BODY_NAME, diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-version.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-version.ts index a51f3061..2e26e111 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-version.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/api-node-version.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ApiDetailData } from '@coze-arch/bot-api/workflow_api'; export const computeNodeVersion = (data: ApiDetailData) => { diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/extract-api-node-data.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/extract-api-node-data.ts index d2b726a4..a5fb4a4d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/extract-api-node-data.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/extract-api-node-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { pick } from 'lodash-es'; import { type ApiNodeDetailDTO } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/get-api-node-identifier.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/get-api-node-identifier.ts index 2a509574..71401540 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/get-api-node-identifier.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/get-api-node-identifier.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { type ApiNodeIdentifier } from '@coze-workflow/nodes'; import { BlockInput } from '@coze-workflow/base'; @@ -30,20 +30,17 @@ export function getApiNodeIdentifier( ]; // Using reduce to build the resulting object - return fieldsToExtract.reduce( - (result, field) => { - const blockInput = apiParam.find( - (item: BlockInput) => item.name === field.name, - ); + return fieldsToExtract.reduce((result, field) => { + const blockInput = apiParam.find( + (item: BlockInput) => item.name === field.name, + ); - if (blockInput) { - const value = BlockInput.toLiteral(blockInput); - if (!isNil(value)) { - result[field.key] = value; - } + if (blockInput) { + const value = BlockInput.toLiteral(blockInput); + if (!isNil(value)) { + result[field.key] = value; } - return result; - }, - {} as unknown as ApiNodeIdentifier, - ); + } + return result; + }, {} as unknown as ApiNodeIdentifier); } diff --git a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/index.ts b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/index.ts index 1ac1bc2e..223778ec 100644 --- a/frontend/packages/workflow/playground/src/node-registries/plugin/utils/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/plugin/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { isApiOutputsChanged } from './api-node-checker'; export { getApiNodeIdentifier } from './get-api-node-identifier'; export { extractApiNodeData } from './extract-api-node-data'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/add-option-button.tsx b/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/add-option-button.tsx index a1788119..161e6930 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/add-option-button.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/add-option-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/answer-item.tsx b/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/answer-item.tsx index 4583336b..87ef7932 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/answer-item.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/answer-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { FormItemFeedback } from '@/nodes-v2/components/form-item-feedback'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/index.tsx index 192e2758..64c0d281 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useState } from 'react'; import update from 'immutability-helper'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/utils.ts b/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/utils.ts index 37509c64..e6c8931f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/utils.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/components/answer-option-field/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const ASCII_TO_A_INDEX = 65; // The ASCII serial number corresponding to the letter A export function convertNumberToLetters(n) { diff --git a/frontend/packages/workflow/playground/src/node-registries/question/components/question-limit.tsx b/frontend/packages/workflow/playground/src/node-registries/question/components/question-limit.tsx index 70b59492..1dc6a839 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/components/question-limit.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/components/question-limit.tsx @@ -13,12 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { useNodeTestId } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; -import { IconCozSetting, IconCozInfoCircle } from '@coze-arch/coze-design/icons'; +import { + IconCozSetting, + IconCozInfoCircle, +} from '@coze-arch/coze-design/icons'; import { IconButton, Tooltip, diff --git a/frontend/packages/workflow/playground/src/node-registries/question/components/question-outputs.tsx b/frontend/packages/workflow/playground/src/node-registries/question/components/question-outputs.tsx index 68e07722..d8e3a881 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/components/question-outputs.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/components/question-outputs.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { FILE_TYPES, ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/components/slider-with-input-field.tsx b/frontend/packages/workflow/playground/src/node-registries/question/components/slider-with-input-field.tsx index aaf721f4..b7aebad3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/components/slider-with-input-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/components/slider-with-input-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { SliderWithInput as SliderWithInputLegacy } from '@/form-extensions/components/slider-with-input'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/constants.ts b/frontend/packages/workflow/playground/src/node-registries/question/constants.ts index cfcfa1eb..dce1dffa 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from '@flowgram-adapter/free-layout-editor'; import { ViewVariableType } from '@coze-workflow/nodes'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/question/data-transformer.ts index 66b31bd5..1746d947 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { variableUtils } from '@coze-workflow/variable'; import { getDefaultLLMParams, formatModelData } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/effects/index.ts b/frontend/packages/workflow/playground/src/node-registries/question/effects/index.ts index 2cc8e3a9..68de6110 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/effects/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/effects/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { syncQuestionOutputsEffect } from './sync-question-outputs'; export { syncQuestionAnswerTypeEffect } from './sync-question-answer-type'; export { syncQuestionOptionTypeEffect } from './sync-question-option-type'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-answer-type.ts b/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-answer-type.ts index 5ab2a5dc..3d20dc5e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-answer-type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-answer-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual, get } from 'lodash-es'; import { type Effect, diff --git a/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-option-type.ts b/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-option-type.ts index e6996c91..1b045c09 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-option-type.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-option-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Effect, FlowNodeFormData, diff --git a/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-outputs.ts b/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-outputs.ts index 6a409469..5aacfa57 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-outputs.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/effects/sync-question-outputs.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { type Effect, diff --git a/frontend/packages/workflow/playground/src/node-registries/question/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/question/form-meta.tsx index 067777ad..d2c40151 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/question/form.tsx b/frontend/packages/workflow/playground/src/node-registries/question/form.tsx index 190cc6bc..fa4552d6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { NodeConfigForm } from '@/node-registries/common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/index.tsx b/frontend/packages/workflow/playground/src/node-registries/question/index.tsx index c1ebb2c0..cd5a7401 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/question/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { QUESTION_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/question/node-registry.ts index 23c9306c..d5d1c407 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_NODE_SIZE, diff --git a/frontend/packages/workflow/playground/src/node-registries/question/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/question/node-test.ts index 7ddce3a3..67be6b16 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { type IFormSchema } from '@coze-workflow/test-run-next'; diff --git a/frontend/packages/workflow/playground/src/node-registries/question/utils.ts b/frontend/packages/workflow/playground/src/node-registries/question/utils.ts index 18074cb9..8b782e3b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/question/utils.ts +++ b/frontend/packages/workflow/playground/src/node-registries/question/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ export interface QuestionOutputsValue { userOutput: Array; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/constants.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/constants.ts index 00a453c1..2b24a1ac 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/constants.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Imported parameter path, practice running and other functions rely on this path to extract parameters export const INPUT_PATH = 'inputs.inputParameters'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/content/index.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/content/index.ts index bf1f18b5..2b12e897 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/content/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/content/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SetTags } from './set-tags'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/content/set-tags/index.tsx b/frontend/packages/workflow/playground/src/node-registries/set-variable/content/set-tags/index.tsx index a5aa1091..e318e969 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/content/set-tags/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/content/set-tags/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/content/set-tags/use-set-tags.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/content/set-tags/use-set-tags.ts index 25d6ea6c..ceccb4f5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/content/set-tags/use-set-tags.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/content/set-tags/use-set-tags.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { type InputValueVO, type RefExpression } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/data-transformer.ts index 85f7eef5..66579ccc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { variableUtils } from '@coze-workflow/variable'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/index.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/index.ts index 1350bc92..27675da2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SetVariableField } from './set-variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/mutable-variable-assign.tsx b/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/mutable-variable-assign.tsx index f6e9d6e9..4794b594 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/mutable-variable-assign.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/mutable-variable-assign.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { type RefExpression, useNodeTestId } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/set-variable.tsx b/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/set-variable.tsx index a97c8983..fc83377b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/set-variable.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/fields/set-variable.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/consistent-type-assertions */ import { FieldArray, diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/set-variable/form-meta.tsx index 43950591..a1db58be 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/form.tsx b/frontend/packages/workflow/playground/src/node-registries/set-variable/form.tsx index d7fc0b10..46b12715 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { NodeConfigForm } from '@/node-registries/common/components'; import { INPUT_PATH } from './constants'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/index.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/index.ts index 96ad98d0..245d2fd0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SET_VARIABLE_NODE_REGISTRY } from './node-registry'; export { SetVariableContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/set-variable/node-content.tsx index 2ae6e4cd..5784edec 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { SetTags } from './content'; export function SetVariableContent() { diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/node-registry.ts index ab2ab5c5..6437f8a0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/types.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/types.ts index da32fa34..cbce12d6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { RefExpression } from '@coze-workflow/base'; export interface SetVariableItem { diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/utils/get-left-right-variable.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/utils/get-left-right-variable.ts index 0debb23a..3805a524 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/utils/get-left-right-variable.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/utils/get-left-right-variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { PlaygroundContext, WorkflowNodeEntity, diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/utils/index.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/utils/index.ts index 409ed41d..2f2d48d3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/utils/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/utils/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getLeftRightVariable } from './get-left-right-variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/index.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/index.ts index 201a1f10..d4275069 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VariableAssignLeftValidator } from './variable-assign-left'; export { VariableAssignRightValidator } from './variable-assign-right'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/variable-assign-left.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/variable-assign-left.ts index 55e3a500..d67407d4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/variable-assign-left.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/variable-assign-left.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { type Validate } from '@flowgram-adapter/free-layout-editor'; import type { RefExpression } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/variable-assign-right.ts b/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/variable-assign-right.ts index 352472e1..bcf6071a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/variable-assign-right.ts +++ b/frontend/packages/workflow/playground/src/node-registries/set-variable/validators/variable-assign-right.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention*/ import { type Validate } from '@flowgram-adapter/free-layout-editor'; import type { RefExpression } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/start/constants.ts b/frontend/packages/workflow/playground/src/node-registries/start/constants.ts index 4385c5dc..02fbf1db 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/start/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/start/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/start/form-meta.tsx index dd5f04f0..4ef6a073 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/start/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { diff --git a/frontend/packages/workflow/playground/src/node-registries/start/hooks/use-trigger.tsx b/frontend/packages/workflow/playground/src/node-registries/start/hooks/use-trigger.tsx index 161c77b6..9379e53a 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/hooks/use-trigger.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/start/hooks/use-trigger.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useMemo, useRef } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/start/index.ts b/frontend/packages/workflow/playground/src/node-registries/start/index.ts index f93e380d..c8f5f36e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/start/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Node development specification: */ diff --git a/frontend/packages/workflow/playground/src/node-registries/start/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/start/node-content.tsx index 086fc707..087f20df 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/start/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Outputs } from '../common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/start/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/start/node-test.ts index d86eaa8b..91773e06 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/start/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateInputJsonSchema, diff --git a/frontend/packages/workflow/playground/src/node-registries/start/types.ts b/frontend/packages/workflow/playground/src/node-registries/start/types.ts index 0fc92a1f..89da861d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/start/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type TriggerForm } from '@coze-workflow/nodes'; import { type ViewVariableMeta, diff --git a/frontend/packages/workflow/playground/src/node-registries/start/utils/index.ts b/frontend/packages/workflow/playground/src/node-registries/start/utils/index.ts index 925e0bbb..877f0c00 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/utils/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/start/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getRoleInformationFromOutputs, getSceneFlowDefaultOutput, diff --git a/frontend/packages/workflow/playground/src/node-registries/start/utils/scene-flow.ts b/frontend/packages/workflow/playground/src/node-registries/start/utils/scene-flow.ts index cd18a013..5c5f670b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/utils/scene-flow.ts +++ b/frontend/packages/workflow/playground/src/node-registries/start/utils/scene-flow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { nanoid } from '@flowgram-adapter/free-layout-editor'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/start/utils/trigger-submit.ts b/frontend/packages/workflow/playground/src/node-registries/start/utils/trigger-submit.ts index c5e5c6ef..bbdbe888 100644 --- a/frontend/packages/workflow/playground/src/node-registries/start/utils/trigger-submit.ts +++ b/frontend/packages/workflow/playground/src/node-registries/start/utils/trigger-submit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { debounce, isUndefined } from 'lodash-es'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/components/index.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/components/index.ts index d3e904a9..0cc1e7af 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/components/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/components/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SubWorkflowLink, createSubWorkflowLink } from './sub-workflow-link'; diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/components/sub-workflow-link.tsx b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/components/sub-workflow-link.tsx index dc93ba83..71d2d1f8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/components/sub-workflow-link.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/components/sub-workflow-link.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, type FC } from 'react'; import { type WorkflowDetailInfoData } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/constants.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/constants.ts index 31ff639d..3b77cfb2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/data-transformer.ts index 8385e13c..6e6ad5ab 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, omit } from 'lodash-es'; import { type FlowNodeEntity, diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/form-meta.tsx index 828f8e11..ea87b398 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/form.tsx b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/form.tsx index f0fb08f0..d03d59b9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useShallow } from 'zustand/react/shallow'; import { type FormRenderProps, diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/hooks/index.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/hooks/index.ts index 644373a1..6cd655eb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useSubWorkflowNodeService, useSubWorkflowNodeStore, diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/hooks/use-subworkflow-node-service.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/hooks/use-subworkflow-node-service.ts index 7d9aa668..538f4f9b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/hooks/use-subworkflow-node-service.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/hooks/use-subworkflow-node-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { SubWorkflowNodeService, type SubWorkflowNodeStore } from '../services'; diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/index.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/index.ts index 69e6b4fa..2c5b291d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SUB_WORKFLOW_NODE_REGISTRY } from './node-registry'; export { SubWorkflowContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-content.tsx index 5c70eb30..22ea9ccf 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-registry.ts index 98df37b7..5e985f71 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { cloneDeep } from 'lodash-es'; import { type FlowNodeEntity, diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-test.ts index accdbffe..9d97777b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { WorkflowNodeData } from '@coze-workflow/nodes'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/index.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/index.ts index d0df11f5..3a23462f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SubWorkflowNodeService } from './subworkflow-node-service'; export { type SubWorkflowNodeStore, diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/subworkflow-node-service.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/subworkflow-node-service.ts index 3496a921..42c42c26 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/subworkflow-node-service.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/subworkflow-node-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { workflowApi } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/subworkflow-node-store.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/subworkflow-node-store.ts index 7a4d3ed8..d8c992ad 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/subworkflow-node-store.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/services/subworkflow-node-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { shallow } from 'zustand/shallow'; diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/types.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/types.ts index ad7bfc79..39dbefa7 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO, type ViewVariableMeta, diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/get-identifier.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/get-identifier.ts index 2967a049..1e81c6f5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/get-identifier.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/get-identifier.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { SubWorkflowNodeDTOData } from '../types'; export const getIdentifier = (inputs: SubWorkflowNodeDTOData['inputs']) => ({ diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/get-input-default-value.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/get-input-default-value.ts index 0c44279f..cb36f716 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/get-input-default-value.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/get-input-default-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { variableUtils } from '@coze-workflow/variable'; import { type DTODefine, diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/index.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/index.ts index 46dbd8ed..69c1a882 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { syncToLatestReleaseState } from './sync-to-latest-release'; export { getInputDefaultValue } from './get-input-default-value'; export { getIdentifier } from './get-identifier'; diff --git a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/sync-to-latest-release.ts b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/sync-to-latest-release.ts index 5a230bd1..740c0f42 100644 --- a/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/sync-to-latest-release.ts +++ b/frontend/packages/workflow/playground/src/node-registries/sub-workflow/utils/sync-to-latest-release.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { get } from 'lodash-es'; import { ViewVariableType, variableUtils } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/index.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/index.tsx index c65bd62d..e2840ea3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/setting-button.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/setting-button.tsx index 552c6614..3302a162 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/setting-button.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/setting-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/setting-form.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/setting-form.tsx index 0c24da1e..ba255e8f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/setting-form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/setting-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/types.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/types.ts index 73a63b75..67be3a68 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/concat-setting/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface FormField { field: string; label: string; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/delimiter-selector-field.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/components/delimiter-selector-field.tsx index 8f58053b..3ef54582 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/delimiter-selector-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/delimiter-selector-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/index.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/components/index.tsx index 682f30c4..982914d3 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MethodSelectorSetter } from './method-selector'; export { Inputs } from './inputs'; export { ConcatSetting } from './concat-setting'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/inputs/index.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/components/inputs/index.tsx index 7ffa1009..d59d7730 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/inputs/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/inputs/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/inputs/utils.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/components/inputs/utils.ts index 50c1c622..9e0c9ebe 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/inputs/utils.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/inputs/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const getMaxIndex = (values: string[], prefixStr: string): number => { if (!Array.isArray(values)) { return 1; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/components/method-selector/index.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/components/method-selector/index.tsx index effae6eb..23d17113 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/components/method-selector/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/components/method-selector/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useNodeTestId } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/constants.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/constants.ts index 27cbd414..28a32ed2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export enum StringMethod { diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/data-transformer.ts index 042e50de..e7454f12 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { BlockInput, type InputValueDTO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/effects/handle-method-change-effect.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/effects/handle-method-change-effect.ts index 966a52b2..7335f243 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/effects/handle-method-change-effect.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/effects/handle-method-change-effect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // import { get } from 'lodash-es'; import { type Effect, diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/form-meta.tsx index 79dfea43..86080461 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/form.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/form.tsx index 0a75f2f8..8bc09a9c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/index.tsx b/frontend/packages/workflow/playground/src/node-registries/text-process/index.tsx index 23011c5d..e77a4e79 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TEXT_PROCESS_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/node-registry.ts index 71f7c7d0..dae635b0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/node-test.ts index 40e20e79..ade437ec 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { generateParametersToProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/types.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/types.ts index a55ffeac..2117f851 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO, type NodeDataDTO, diff --git a/frontend/packages/workflow/playground/src/node-registries/text-process/utils.ts b/frontend/packages/workflow/playground/src/node-registries/text-process/utils.ts index 7fa51be9..bc58d712 100644 --- a/frontend/packages/workflow/playground/src/node-registries/text-process/utils.ts +++ b/frontend/packages/workflow/playground/src/node-registries/text-process/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/constants.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/constants.ts index f907feba..034d05a6 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/data-transformer.ts index 803c7550..56188091 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { omit } from 'lodash-es'; import { nodeUtils } from '@coze-workflow/nodes'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/form-meta.tsx index c336cc83..aea5f38f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/form.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/form.tsx index c4d91bc8..fe6c661c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/index.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/index.ts index 0d962ecd..7b5c69c0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TRIGGER_DELETE_NODE_REGISTRY } from './node-registry'; export { TriggerDeleteContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-content.tsx index 80f4a314..edb3bd8c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useWorkflowNode, ValueExpression } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-registry.ts index 42e30931..95b42ad2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-test.ts index 88476ee9..87e3f038 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/types.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/types.ts index 135a80c7..feefc5f2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-delete/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-delete/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; export interface FormData { diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/constants.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-read/constants.ts index 0b66793f..b599618f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-read/data-transformer.ts index cea8ec76..54123b5d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createTransformOnInit, transformOnSubmit, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-read/form-meta.tsx index d2f1e5e5..4d733ee5 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/form.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-read/form.tsx index 52e40026..166f50d1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/index.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-read/index.ts index 2c90dfa5..0bb90df4 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TRIGGER_READ_NODE_REGISTRY } from './node-registry'; export { TriggerReadContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-content.tsx index 8f3ba7d6..a4b72e0c 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-content.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TriggerDeleteContent as TriggerReadContent } from '../trigger-delete/node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-registry.ts index fd3c9fec..4b24ac2f 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-test.ts index 88476ee9..87e3f038 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-read/types.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-read/types.ts index 135a80c7..feefc5f2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-read/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-read/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; export interface FormData { diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/fixed-input-parameter-field.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/fixed-input-parameter-field.tsx index 1f566c6b..8513c1bb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/fixed-input-parameter-field.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/fixed-input-parameter-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import capitalize from 'lodash-es/capitalize'; import classnames from 'classnames'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/trigger-bind-workflow-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/trigger-bind-workflow-field/index.tsx index d78dd3a9..262c9964 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/trigger-bind-workflow-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/trigger-bind-workflow-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ModalI18nKey } from '@coze-workflow/components/workflow-modal'; import { WorkflowModalFrom, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/trigger-list-field/index.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/trigger-list-field/index.tsx index 8e1a0095..3a62f2b8 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/trigger-list-field/index.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/components/trigger-list-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useState } from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/constants.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/constants.ts index 533367a2..026f3e69 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { type ViewVariableMeta, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/data-transformer.ts index 1c2b616e..e4c70f12 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/naming-convention */ import { get, omit, pick } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/form-meta.tsx index 551dc8f1..48a454cb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/form.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/form.tsx index 04867b03..8dcfa3e2 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { useAsyncEffect } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/index.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/index.ts index d34ef55f..c55038cc 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TRIGGER_UPSERT_NODE_REGISTRY } from './node-registry'; export { TriggerUpsertContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-content.tsx index 966ccd91..bf6af3eb 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { useWorkflowNode, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-registry.ts index 012ac115..ff76733d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_OUTPUTS_PATH, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-test.ts index 56108196..ec7ce1f0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { type IFormSchema } from '@coze-workflow/test-run-next'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/types.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/types.ts index f79c96db..d75e2985 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/naming-convention */ import { diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/index.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/index.ts index 44d1af33..321d9296 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { fetchTriggerFormMeta, fetchStartNodeTriggerFormValue, diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/trigger-form.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/trigger-form.ts index d1eadd50..cc560250 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/trigger-form.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/trigger-form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { isUndefined, omit } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/validators.ts b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/validators.ts index ed347372..a9d0a0be 100644 --- a/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/validators.ts +++ b/frontend/packages/workflow/playground/src/node-registries/trigger-upsert/utils/validators.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isUndefined } from 'lodash-es'; import { ValueExpression } from '@coze-workflow/base/types'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/constants.ts b/frontend/packages/workflow/playground/src/node-registries/variable/constants.ts index 20ad6014..5ceaea3e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/constants.ts +++ b/frontend/packages/workflow/playground/src/node-registries/variable/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from '@flowgram-adapter/free-layout-editor'; import { ViewVariableType } from '@coze-workflow/nodes'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/data-transformer.ts b/frontend/packages/workflow/playground/src/node-registries/variable/data-transformer.ts index 9e946952..f30d8a41 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/node-registries/variable/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from '@flowgram-adapter/free-layout-editor'; import { variableUtils } from '@coze-workflow/variable'; import { ViewVariableType } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/form-meta.tsx b/frontend/packages/workflow/playground/src/node-registries/variable/form-meta.tsx index 115f5ff7..64d6281d 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/variable/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { ValidateTrigger, diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/form.tsx b/frontend/packages/workflow/playground/src/node-registries/variable/form.tsx index 9e6e1a56..cabe65e1 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/form.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/variable/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { NodeConfigForm } from '@/node-registries/common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/index.ts b/frontend/packages/workflow/playground/src/node-registries/variable/index.ts index 0c791e45..d6eeb74e 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/index.ts +++ b/frontend/packages/workflow/playground/src/node-registries/variable/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VARIABLE_NODE_REGISTRY } from './node-registry'; export { VariableContent } from './node-content'; diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/node-content.tsx b/frontend/packages/workflow/playground/src/node-registries/variable/node-content.tsx index 612bb91a..bc7aa384 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/node-content.tsx +++ b/frontend/packages/workflow/playground/src/node-registries/variable/node-content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { InputParameters, Outputs } from '../common/components'; diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/node-registry.ts b/frontend/packages/workflow/playground/src/node-registries/variable/node-registry.ts index 22230bbb..ffa10d63 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/node-registry.ts +++ b/frontend/packages/workflow/playground/src/node-registries/variable/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, DEFAULT_NODE_SIZE, diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/node-test.ts b/frontend/packages/workflow/playground/src/node-registries/variable/node-test.ts index c0206e88..b830bdf9 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/node-test.ts +++ b/frontend/packages/workflow/playground/src/node-registries/variable/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/node-registries/variable/types.ts b/frontend/packages/workflow/playground/src/node-registries/variable/types.ts index bb4b60f0..10be79d0 100644 --- a/frontend/packages/workflow/playground/src/node-registries/variable/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/variable/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { InputValueVO, NodeDataDTO, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/constants.ts index 99e955d8..6d28eeb0 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/form-meta.tsx index 238a959f..2e94c919 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/form-render.tsx index f08a3905..1bc8cb08 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/index.ts index cb084e96..3071d0ac 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Clear session history node */ export { CLEAR_CONTEXT_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/node-registry.ts index b5ea52a3..065b00df 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/node-test.ts index 6ff8e45d..55833e3e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/clear-conversation-history/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/constants.ts index ffff3d26..1dbdef99 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const CONVERSATION_NAME = 'conversationName'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/constants.ts index 848b90aa..03ad4bcb 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/form-meta.tsx index cdb4e0b3..9480f418 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/form-render.tsx index 814d99a8..a35beb0e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/index.ts index a85827a9..b8f63b5f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Create a session node */ export { CREATE_CONVERSATION_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/node-registry.ts index f2add9aa..c8efa842 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/node-test.ts index 07b6993a..70101a6c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-conversation/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-form-meta.tsx index e3ccb844..866ef4dc 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-form-render.tsx index aceb4b38..571b3e3d 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Field } from '@flowgram-adapter/free-layout-editor'; import { PublicScopeProvider } from '@coze-workflow/variable'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/constants.ts index 73082d76..117a2ca2 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { type InputValueVO, VariableTypeDTO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/form-meta.tsx index b8a3ea44..446937cc 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormMetaV2 } from '@flowgram-adapter/free-layout-editor'; import { createFormMeta } from '../create-form-meta'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/form-render.tsx index d61b7146..8b2e955f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/index.ts index 7011214c..673d1d3a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Create message node */ export { CREATE_MESSAGE_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/node-registry.ts index 4ed44b38..184c0a0b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/node-test.ts index 6ff8e45d..55833e3e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-message/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-node-registry.ts index c592dc84..84a0a17f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/create-node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/create-node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, set } from 'lodash-es'; import { type WorkflowNodeFormMeta } from '@flowgram-adapter/free-layout-editor'; import { variableUtils } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/constants.ts index 7dc32e19..3c282f8e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/form-meta.tsx index 37b6fb51..ebb29da6 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormMetaV2 } from '@flowgram-adapter/free-layout-editor'; import { createFormMeta } from '../create-form-meta'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/form-render.tsx index d61b7146..8b2e955f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/index.ts index 190ffd23..03e84f15 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Delete session node */ export { DELETE_CONVERSATION_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/node-registry.ts index a9f8be17..77159e4c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/node-test.ts index 07b6993a..70101a6c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-conversation/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/constants.ts index d538386f..e39fb157 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { VariableTypeDTO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/form-meta.tsx index b8a3ea44..446937cc 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormMetaV2 } from '@flowgram-adapter/free-layout-editor'; import { createFormMeta } from '../create-form-meta'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/form-render.tsx index d61b7146..8b2e955f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/index.ts index 23646264..6d1066bd 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Delete message node */ export { DELETE_MESSAGE_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/node-registry.ts index c9aad71f..369da05b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/node-test.ts index 6ff8e45d..55833e3e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/delete-message/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/index.ts index ca0d3128..80cb9061 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { QUERY_MESSAGE_LIST_NODE_REGISTRY } from './query-message-list'; export { CREATE_CONVERSATION_NODE_REGISTRY } from './create-conversation'; export { CLEAR_CONTEXT_NODE_REGISTRY } from './clear-conversation-history'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/constants.ts index bf97d12a..8810efbe 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { VariableTypeDTO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/form-meta.tsx index b8a3ea44..446937cc 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormMetaV2 } from '@flowgram-adapter/free-layout-editor'; import { createFormMeta } from '../create-form-meta'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/form-render.tsx index d61b7146..8b2e955f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/index.ts index 211bdb42..e7379318 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Query session history node */ export { QUERY_CONVERSATION_HISTORY_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/node-registry.ts index 8f76d75d..3c206a62 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/node-test.ts index 6ff8e45d..55833e3e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-history/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/constants.ts index 9246f128..cfb9164a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ViewVariableType } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/form-meta.tsx index 56214b9e..49c72df9 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormMetaV2 } from '@flowgram-adapter/free-layout-editor'; import { createFormMeta } from '../create-form-meta'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/form-render.tsx index e74930fc..979b539f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/index.ts index 3b16c6ea..20dcd308 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Query session list */ export { QUERY_CONVERSATION_LIST_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/node-registry.ts index aad515fe..87728fe1 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/node-test.ts index be8ed4f4..c47c413a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-conversation-list/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { generateEnvToRelatedContextProperties } from '@/test-run-kit'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/constants.ts index 024ac621..1f874cfd 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/form-meta.tsx index efc6e39e..a8553987 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ValidateTrigger, type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/form-render.tsx index 286abe83..079244b5 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/index.ts index 0faa807a..4990d703 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** View a list of messages (for a session) */ export { QUERY_MESSAGE_LIST_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/node-registry.ts index 5d2fcea6..8fc1c731 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/node-test.ts index 6ff8e45d..55833e3e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/query-message-list/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/sync-conversation-name-effect.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/sync-conversation-name-effect.ts index 8be42e8f..a5941450 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/sync-conversation-name-effect.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/sync-conversation-name-effect.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { set, cloneDeep } from 'lodash-es'; import { DataEvent, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/transform-on-init.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/transform-on-init.ts index 497a1ce3..0bf63760 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/transform-on-init.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/transform-on-init.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import omit from 'lodash-es/omit'; import { type InputValueVO, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/transform-on-submit.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/transform-on-submit.ts index 5481550e..6d33887d 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/transform-on-submit.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/transform-on-submit.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import omit from 'lodash-es/omit'; import { type NodeDataDTO, type InputValueVO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/constants.ts index 983f4509..745abc6b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/form-meta.tsx index 37b6fb51..ebb29da6 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormMetaV2 } from '@flowgram-adapter/free-layout-editor'; import { createFormMeta } from '../create-form-meta'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/form-render.tsx index d61b7146..8b2e955f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/index.ts index d3d9f10c..6c9944b7 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Update session node */ export { UPDATE_CONVERSATION_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/node-registry.ts index 23e23968..091336e0 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/node-test.ts index 07b6993a..70101a6c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-conversation/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/constants.ts index b6381a39..8236144a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { ValueExpressionType, ViewVariableType } from '@coze-workflow/variable'; import { VariableTypeDTO } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/form-meta.tsx index b8a3ea44..446937cc 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormMetaV2 } from '@flowgram-adapter/free-layout-editor'; import { createFormMeta } from '../create-form-meta'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/form-render.tsx b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/form-render.tsx index d61b7146..8b2e955f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/form-render.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/form-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/index.ts index 227d0315..1621990b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Modify message node */ export { UPDATE_MESSAGE_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/node-registry.ts index fb039d7e..7e26464a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { createNodeRegistry } from '../create-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/node-test.ts index 6ff8e45d..55833e3e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/chat/update-message/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/add-icon/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/add-icon/index.tsx index 72041a56..72c1647a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/add-icon/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/add-icon/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { IconCozPlus } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/batch-mode/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/batch-mode/index.tsx index 15c737e3..2ccaf48e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/batch-mode/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/batch-mode/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/batch/batch-setting-form.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/batch/batch-setting-form.tsx index 37904f15..e67b924a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/batch/batch-setting-form.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/batch/batch-setting-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, useEffect } from 'react'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/batch/batch.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/batch/batch.tsx index c7407ca1..33a69e28 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/batch/batch.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/batch/batch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/container/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/container/index.tsx index 4401a333..096411a0 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/container/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/container/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, @@ -197,7 +197,7 @@ export const ExpressionEditorContainer: FC< variableTree={variableTree} getPopupContainer={() => shouldUseContainerRef - ? (containerRef.current ?? document.body) + ? containerRef.current ?? document.body : document.body } onVisibilityChange={handlePopoverVisibilityChange} diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/hooks.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/hooks.ts index 551e3110..4c07d591 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/hooks.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/hooks.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/index.tsx index 8a28ef2e..8e1bb932 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useReadonly } from '@/nodes-v2/hooks/use-readonly'; import { type ComponentProps } from '@/nodes-v2/components/types'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/validator.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/validator.ts index f42412c3..7cc2b065 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/validator.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/expression-editor/validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import type { Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/fixed-input-parameters/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/fixed-input-parameters/index.tsx index 182dde05..0e0ebac4 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/fixed-input-parameters/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/fixed-input-parameters/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Field, FieldArray, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/form-item-feedback/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/form-item-feedback/index.tsx index 5af848eb..bca59337 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/form-item-feedback/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/form-item-feedback/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/global-variable-select/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/global-variable-select/index.tsx index 9e66f1bb..cc90fa2e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/global-variable-select/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/global-variable-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties, useEffect, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/helpers.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/helpers.ts index 2deda6a7..f3e2c25f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/helpers.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/helpers.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const nameValidationRule = /^(?!.*\b(true|false|and|AND|or|OR|not|NOT|null|nil|If|Switch)\b)[a-zA-Z_][a-zA-Z_$0-9]*$/; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/input-label/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/input-label/index.tsx index ead6b8f7..4b056fff 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/input-label/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/input-label/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type CSSProperties } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/node-header/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/node-header/index.tsx index a33d4924..d1930aed 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/node-header/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/node-header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Components migrated from packages/workflow/playground/src/form-extensions/setters/node-header * Only the interface adaptation of the new version of the node engine has been done. diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/index.ts index 120f3235..5d27cb31 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodeInputName } from './node-input-name'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/node-input-name.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/node-input-name.tsx index 4c6282ce..f217ea80 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/node-input-name.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/node-input-name.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useEffect, useState } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/type.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/type.ts index 130707a4..84444b12 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/type.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { CSSProperties } from 'react'; import type { InputValueVO, RefExpression } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/validate.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/validate.ts index 847cab8a..21160d21 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/validate.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/node-input-name/validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/node-meta/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/node-meta/index.tsx index c46382e3..72f49814 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/node-meta/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/node-meta/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Field, type FieldRenderProps, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/output-single-text/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/output-single-text/index.tsx index 98f7cace..b1e69c51 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/output-single-text/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/output-single-text/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type CSSProperties } from 'react'; import { Tag } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/outputs/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/outputs/index.tsx index 14cfe1b4..627e0355 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/outputs/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/outputs/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useEffect, useMemo, useRef } from 'react'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/radio/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/radio/index.tsx index f8e424ba..10370f7e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/radio/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/radio/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useMemo } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/setting-on-error/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/setting-on-error/index.tsx index 4f4dae82..eca3266b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/setting-on-error/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/setting-on-error/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Field, type FieldRenderProps, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/spacing/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/spacing/index.tsx index 531b3602..5e4df46f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/spacing/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/spacing/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import s from './index.module.less'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/index.tsx index eba12b4e..ce40bf37 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import type { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/prompt-editor-with-kit.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/prompt-editor-with-kit.tsx index 0cd24c07..b3ff881e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/prompt-editor-with-kit.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/prompt-editor-with-kit.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState, useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/system-prompt-editor.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/system-prompt-editor.tsx index 8f9f7f0c..4e5c13aa 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/system-prompt-editor.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/system-prompt-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/use-libraries-store.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/use-libraries-store.tsx index 910e5c1e..3a628318 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/use-libraries-store.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/use-libraries-store.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { create } from 'zustand'; import type { ILibraryList } from '@coze-common/editor-plugins/library-insert'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/use-send-tea.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/use-send-tea.ts index c92abf7f..e695f160 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/use-send-tea.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/use-send-tea.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EVENT_NAMES, sendTeaEvent } from '@coze-arch/bot-tea'; import { useGlobalState } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/utils.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/utils.ts index 6974b724..81189692 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/utils.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/system-prompt/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { EditorAPI } from '@coze-editor/editor/preset-prompt'; export const focusToAnchor = ( diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/types.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/types.ts index e0c8bdc6..dd074e73 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/types.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldRenderProps, type FieldArrayRenderProps, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/validation/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/components/validation/index.ts index 1b1ac88d..36742d4f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/validation/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/validation/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { withValidation } from './with-validation'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/validation/with-validation.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/validation/with-validation.tsx index 94acf558..d76df5ba 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/validation/with-validation.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/validation/with-validation.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/value-expression-input/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/value-expression-input/index.tsx index d4b3f58b..f94e7807 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/value-expression-input/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/value-expression-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/components/view-variable-select/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/components/view-variable-select/index.tsx index 5ffb26e1..599276c0 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/components/view-variable-select/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/components/view-variable-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties, useCallback, useState } from 'react'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/hooks/use-default-node-meta.ts b/frontend/packages/workflow/playground/src/nodes-v2/hooks/use-default-node-meta.ts index 01f15bd7..f67fb854 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/hooks/use-default-node-meta.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/hooks/use-default-node-meta.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/hooks/use-readonly.ts b/frontend/packages/workflow/playground/src/nodes-v2/hooks/use-readonly.ts index f438c12b..df56e52c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/hooks/use-readonly.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/hooks/use-readonly.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/index.ts index 790cfdb8..7f018f16 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NODES_V2, NODE_V2_TYPES } from './constants'; export { isNodeV2, isNodeV2registry, getNodeV2Registry } from './utils'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/chat-history/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/chat-history/index.tsx index 11abd2a4..30a25936 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/chat-history/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/chat-history/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/constants.ts index de8fe443..dcc2df97 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/constants.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const REASONING_CONTENT_NAME = 'reasoning_content'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/index.ts index 28fc022b..343c5669 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { provideReasoningContentEffect } from './provide-reasoning-content'; export { formatReasoningContentOnInit, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/provide-reasoning-content.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/provide-reasoning-content.ts index 73b4b502..990e14d6 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/provide-reasoning-content.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/provide-reasoning-content.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Effect, DataEvent, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/utils.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/utils.ts index 4d50f231..6003fd49 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/utils.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/cot/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from '@flowgram-adapter/free-layout-editor'; import { ViewVariableType, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/hooks/use-model-type.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/hooks/use-model-type.ts index 0e42727f..96c753c6 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/hooks/use-model-type.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/hooks/use-model-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useForm } from '@flowgram-adapter/free-layout-editor'; /** diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/index.ts index 493d438b..91307a33 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LLM_NODE_REGISTRY } from './llm-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/llm-form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/llm-form-meta.tsx index 341ab23e..b0c603fb 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/llm-form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/llm-form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, set, omit, isEmpty } from 'lodash-es'; import { Field, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/llm-node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/llm-node-registry.ts index 20653b35..ea24fdab 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/llm-node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/llm-node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH, type WorkflowNodeRegistry, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/node-test.ts index 53778f97..53d456fd 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/__tests__/data-transformer.test.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/__tests__/data-transformer.test.ts index 104a0ac1..e853feef 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/__tests__/data-transformer.test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/__tests__/data-transformer.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, expect, it } from 'vitest'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/add-skill.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/add-skill.tsx index 4e506e46..709a04ab 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/add-skill.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/add-skill.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { AddIcon } from '@/nodes-v2/components/add-icon'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/async-params-form.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/async-params-form.tsx index f58f64e1..2bc78499 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/async-params-form.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/async-params-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { type WithCustomStyle } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/bound-item-card.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/bound-item-card.tsx index af059853..3bb285b3 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/bound-item-card.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/bound-item-card.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type ReactNode } from 'react'; import copy from 'copy-to-clipboard'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/constants.ts index c5176b8e..51e7b6e9 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const defaultKnowledgeGlobalSetting = { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/data-transformer.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/data-transformer.ts index 8ddef3fb..12063a54 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/data-transformer.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/data-transformer.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isUndefined, set } from 'lodash-es'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/empty-skill.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/empty-skill.tsx index b8e4a48d..880e406c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/empty-skill.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/empty-skill.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/index.tsx index 22f487e9..7e7f591a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { type FC } from 'react'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/input-params-form.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/input-params-form.tsx index a12453f9..3cb7dbcb 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/input-params-form.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/input-params-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type RefObject } from 'react'; import { type WithCustomStyle } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/knowledge-setting-form-modal.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/knowledge-setting-form-modal.tsx index a0a4c738..330db823 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/knowledge-setting-form-modal.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/knowledge-setting-form-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { omit } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/knowledge-setting.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/knowledge-setting.tsx index 2b132456..5a519394 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/knowledge-setting.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/knowledge-setting.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/output-params-form.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/output-params-form.tsx index 5b2c978b..1f2c6280 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/output-params-form.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/output-params-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { cloneDeep, set } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/plugin-setting-form-modal.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/plugin-setting-form-modal.tsx index dcec08e6..02bfc3ce 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/plugin-setting-form-modal.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/plugin-setting-form-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/plugin-setting.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/plugin-setting.tsx index 5c8eb4ba..defad472 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/plugin-setting.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/plugin-setting.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/skill-knowledge-sider/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/skill-knowledge-sider/index.tsx index 513accf0..70465a83 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/skill-knowledge-sider/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/skill-knowledge-sider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/skill-modal.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/skill-modal.tsx index 83187137..cbe1d800 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/skill-modal.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/skill-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useRef, useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/tooltip-action.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/tooltip-action.tsx index ee9c02d7..027b1348 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/tooltip-action.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/tooltip-action.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TooltipAction } from '../../../form-extensions/components/icon-name-desc-card/'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/types.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/types.ts index 823b590c..7d9fd795 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/types.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IDataSetInfo } from '@coze-data/knowledge-modal-base'; import { type FCPluginSetting, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-model-skill-disabled.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-model-skill-disabled.tsx index 8eed5bd8..8217ff94 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-model-skill-disabled.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-model-skill-disabled.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { WorkflowModelsService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-query-latest-fc-settings.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-query-latest-fc-settings.ts index d0345ee1..b1dafe22 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-query-latest-fc-settings.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-query-latest-fc-settings.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMutation } from '@tanstack/react-query'; import { workflowApi } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-query-setting-detail.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-query-setting-detail.ts index a4db2d8e..4f4e462d 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-query-setting-detail.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-query-setting-detail.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useQuery, type UseQueryResult } from '@tanstack/react-query'; import { type DatasetFCItem, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-table-scroll.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-table-scroll.ts index 9b02eea8..6d82133d 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-table-scroll.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/use-table-scroll.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useRef } from 'react'; import { useSize } from 'ahooks'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/utils.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/utils.ts index 102bbb1e..5967e8a4 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/utils.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BoundSkills } from './types'; /** diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/workflow-setting.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/workflow-setting.tsx index 79b41e56..e1520f01 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/workflow-setting.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/skills/workflow-setting.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/system-prompt/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/system-prompt/index.tsx index 5d4b95b5..014011c1 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/system-prompt/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/system-prompt/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback } from 'react'; import { useForm, useRefresh } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/system-prompt/use-skill-libraries.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/system-prompt/use-skill-libraries.tsx index a60ec0f2..329ebc7e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/system-prompt/use-skill-libraries.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/system-prompt/use-skill-libraries.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/types.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/types.ts index f7076392..c65f7296 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/types.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BatchVO, type InputValueVO } from '@coze-workflow/base'; import type { IModelValue } from '@/typing'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/user-prompt/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/user-prompt/index.tsx index c08fa6a3..6fc45135 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/user-prompt/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/user-prompt/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/utils.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/utils.ts index b6373970..7cd9d840 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/utils.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { camelCase } from 'lodash-es'; import type { ILibraryItem, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/index.ts index ff44e307..e2443ae1 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { llmOutputTreeMetaValidator } from './llm-output-tree-meta-validator'; export { llmInputNameValidator } from './llm-input-name-validator'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/llm-input-name-validator.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/llm-input-name-validator.ts index 956aba58..d461d1bf 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/llm-input-name-validator.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/llm-input-name-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/llm-output-tree-meta-validator.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/llm-output-tree-meta-validator.ts index 81ec2f94..53594bef 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/llm-output-tree-meta-validator.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/validators/llm-output-tree-meta-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { z } from 'zod'; import { type ZodError } from 'zod'; import { get } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-input-field.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-input-field.tsx index 7ec3b89f..4f478359 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-input-field.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-input-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-name-field.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-name-field.tsx index 79d1d49d..4fbc830e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-name-field.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-name-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, type FC } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-value-field.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-value-field.tsx index feabf272..1cfef43b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-value-field.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision-value-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision.tsx b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision.tsx index 8b0c7bce..e8a8b838 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/components/vision.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/constants.ts index 5c1a2a14..33f2ad84 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValueExpression, ValueExpressionType } from '@coze-workflow/base'; export const DEFUALT_VISION_INPUT: ValueExpression = { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/hooks/use-model-enabled-types.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/hooks/use-model-enabled-types.ts index e064a174..b0e9cf5d 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/hooks/use-model-enabled-types.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/hooks/use-model-enabled-types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/index.ts index 3f383e13..22054d25 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Vision } from './components/vision'; export { isVisionInput, isVisionEqual } from './utils'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/index.ts index d6cf4500..7869df99 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { isVisionInput } from './is-vision-input'; export { isVisionEqual } from './is-vision-equal'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/is-vision-equal.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/is-vision-equal.ts index 487ef929..ef164ed5 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/is-vision-equal.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/is-vision-equal.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; import { isVisionInput } from './is-vision-input'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/is-vision-input.ts b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/is-vision-input.ts index 03eb2e66..08cb15be 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/is-vision-input.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/llm/vision/utils/is-vision-input.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type InputValueVO } from '@coze-workflow/base'; /** diff --git a/frontend/packages/workflow/playground/src/nodes-v2/materials/create-value-expression-input-validate.ts b/frontend/packages/workflow/playground/src/nodes-v2/materials/create-value-expression-input-validate.ts index ef7fc76e..3b7b52a1 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/materials/create-value-expression-input-validate.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/materials/create-value-expression-input-validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isFunction, isBoolean } from 'lodash-es'; import { valueExpressionValidator } from '@/form-extensions/validators'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/materials/fire-node-title-change.ts b/frontend/packages/workflow/playground/src/nodes-v2/materials/fire-node-title-change.ts index 59b448c6..37041c1e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/materials/fire-node-title-change.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/materials/fire-node-title-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataEvent, type EffectOptions, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/materials/node-meta-validate.ts b/frontend/packages/workflow/playground/src/nodes-v2/materials/node-meta-validate.ts index 16287a70..d2da0276 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/materials/node-meta-validate.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/materials/node-meta-validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Validate } from '@flowgram-adapter/free-layout-editor'; import { nodeMetaValidator } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/materials/provide-node-batch-variable.ts b/frontend/packages/workflow/playground/src/nodes-v2/materials/provide-node-batch-variable.ts index fd5e7f89..b022ce70 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/materials/provide-node-batch-variable.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/materials/provide-node-batch-variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { FlowNodeVariableData, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/materials/provide-node-output-variables.ts b/frontend/packages/workflow/playground/src/nodes-v2/materials/provide-node-output-variables.ts index a622e1d3..7b548dfa 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/materials/provide-node-output-variables.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/materials/provide-node-output-variables.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeVariableData, ASTKind, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/materials/setting-on-error-validate.ts b/frontend/packages/workflow/playground/src/nodes-v2/materials/setting-on-error-validate.ts index 980a4974..f19b831e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/materials/setting-on-error-validate.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/materials/setting-on-error-validate.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Validate } from '@flowgram-adapter/free-layout-editor'; import { settingOnErrorValidator } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/utils.ts b/frontend/packages/workflow/playground/src/nodes-v2/utils.ts index cd72b271..278e69eb 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/utils.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; import { type StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/form-meta.tsx index c69f79b9..41684efc 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { get, isNil } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/index.ts index 9c2e928c..701beaef 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VARIABLE_ASSIGN_NODE_REGISTRY } from './node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/node-registry.ts index a4e7da23..826ff228 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DEFAULT_NODE_META_PATH } from '@coze-workflow/nodes'; import { StandardNodeType, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/node-test.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/node-test.ts index 5724b8b5..1e45f306 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/node-test.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-assign/node-test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/add-group-button/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/add-group-button/index.tsx index 0b13685e..69b01065 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/add-group-button/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/add-group-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/delete-group-button/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/delete-group-button/index.tsx index 814b4f92..a652c9f1 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/delete-group-button/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/delete-group-button/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/group-name.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/group-name.tsx index 32aadc50..4144f099 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/group-name.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/group-name.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, useState, useRef } from 'react'; import { Input, type InputProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/index.tsx index f1543ba3..a4337b03 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/use-edit-name.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/use-edit-name.ts index 4568f972..d985950e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/use-edit-name.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-header/use-edit-name.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-type-tag/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-type-tag/index.tsx index 430d5b32..3b121de9 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-type-tag/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-type-tag/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { Tag } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-type-tag/use-group-type-alias.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-type-tag/use-group-type-alias.ts index c3b679b5..936ce80d 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-type-tag/use-group-type-alias.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-type-tag/use-group-type-alias.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowVariableService } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/group-variables-item.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/group-variables-item.tsx index 859d49cf..eaf08da7 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/group-variables-item.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/group-variables-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, type Ref } from 'react'; import classnames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/index.tsx index 4a21728d..828cdcd0 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC, useState, type Ref, useRef } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/use-is-output-variable.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/use-is-output-variable.ts index 17a2e761..b40ca8da 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/use-is-output-variable.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/use-is-output-variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { useExecStateEntity } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/use-variables-filter.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/use-variables-filter.ts index 95184ae0..85f4a607 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/use-variables-filter.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/group-variables/use-variables-filter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity } from '@flowgram-adapter/free-layout-editor'; import { ViewVariableType, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/info-icon/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/info-icon/index.tsx index 650874cd..b8fb441f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/info-icon/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/info-icon/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/merge-groups-field/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/merge-groups-field/index.tsx index 00fb7584..b3607b73 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/merge-groups-field/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/merge-groups-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/merge-strategy-field/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/merge-strategy-field/index.tsx index 4a999e36..bd9df5ec 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/merge-strategy-field/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/merge-strategy-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Select, Tooltip } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/tooltip-with-disabled/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/tooltip-with-disabled/index.tsx index 1926481e..7eec8c4c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/tooltip-with-disabled/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/tooltip-with-disabled/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { Tooltip, type TooltipProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/variable-merge-form/index.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/variable-merge-form/index.tsx index 2910f756..136862ee 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/variable-merge-form/index.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/components/variable-merge-form/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Field, type FormRenderProps, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/constants.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/constants.ts index 4f7cccb1..4fff219a 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/constants.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; export const GROUP_NAME_PREFIX = 'Group'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/effects/variables-change-effects.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/effects/variables-change-effects.ts index 82d2eb69..8aba6c98 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/effects/variables-change-effects.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/effects/variables-change-effects.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createEffectOptions, DataEvent, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/index.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/index.ts index 9155c400..c4cfc67c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/index.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { VARIABLE_MERGE_NODE_REGISTRY } from './variable-merge-node-registry'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/types.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/types.ts index 212ee0c6..7d51b99f 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/types.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ValueExpression } from '@coze-workflow/base'; export interface MergeGroup { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/generate-group-name.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/generate-group-name.ts index 7ec45f4c..c66ab8f3 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/generate-group-name.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/generate-group-name.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type MergeGroup } from '../types'; import { GROUP_NAME_PREFIX } from '../constants'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-group-type-alias.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-group-type-alias.ts index 36545cb1..8e81b69b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-group-type-alias.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-group-type-alias.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowVariableService } from '@coze-workflow/variable'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-matched-variable-types.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-matched-variable-types.ts index 72540aa1..657fe470 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-matched-variable-types.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-matched-variable-types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableType } from '@coze-workflow/base'; import { MATCHED_VARIABLE_TYPES } from '../constants'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-variable-type-alias.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-variable-type-alias.ts index 8536286c..519d7253 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-variable-type-alias.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-variable-type-alias.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowVariableService } from '@coze-workflow/variable'; import { diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-variable-view-type.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-variable-view-type.ts index f21c79fc..549aedc8 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-variable-view-type.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/get-variable-view-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowVariableService, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/is-output-variable.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/is-output-variable.ts index 5c4805e8..57166c4b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/is-output-variable.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/is-output-variable.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeResult } from '@coze-workflow/base'; import { logger } from '@coze-arch/logger'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/is-variable-type-matched.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/is-variable-type-matched.ts index 8038d4db..7561a19c 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/is-variable-type-matched.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/is-variable-type-matched.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ViewVariableType } from '@coze-workflow/base'; import { getMatchedVariableTypes } from './get-matched-variable-types'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/to-field-error.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/to-field-error.ts index 451ef429..1f65d602 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/to-field-error.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/utils/to-field-error.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FieldError } from '@flowgram-adapter/free-layout-editor'; /** diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/group-name-validator.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/group-name-validator.ts index 6e55563e..5c05c0af 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/group-name-validator.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/group-name-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/merge-groups-validator.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/merge-groups-validator.ts index 22890109..7b7f9c6d 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/merge-groups-validator.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/merge-groups-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Validate } from '@flowgram-adapter/free-layout-editor'; import { MAX_GROUP_COUNT } from '../constants'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/variable-validator.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/variable-validator.ts index 29e3149b..61413b6e 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/variable-validator.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/variable-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isUndefined } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/variables-validator.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/variables-validator.ts index c080f015..2af6940b 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/variables-validator.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/validators/variables-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type Validate } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/variable-merge-form-meta.tsx b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/variable-merge-form-meta.tsx index c6dfe4fa..b23e6202 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/variable-merge-form-meta.tsx +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/variable-merge-form-meta.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { set } from 'lodash-es'; import { type FormMetaV2, diff --git a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/variable-merge-node-registry.ts b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/variable-merge-node-registry.ts index 12783866..debfcdea 100644 --- a/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/variable-merge-node-registry.ts +++ b/frontend/packages/workflow/playground/src/nodes-v2/variable-merge/variable-merge-node-registry.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeRegistry } from '@coze-workflow/nodes'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/options/workflow-document-custom-options.ts b/frontend/packages/workflow/playground/src/options/workflow-document-custom-options.ts index c27731f1..9bcbab51 100644 --- a/frontend/packages/workflow/playground/src/options/workflow-document-custom-options.ts +++ b/frontend/packages/workflow/playground/src/options/workflow-document-custom-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { FlowNodeBaseType } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/services/chatflow-service.ts b/frontend/packages/workflow/playground/src/services/chatflow-service.ts index f9be04a2..ddc2b854 100644 --- a/frontend/packages/workflow/playground/src/services/chatflow-service.ts +++ b/frontend/packages/workflow/playground/src/services/chatflow-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { type IntelligenceType } from '@coze-arch/idl/intelligence_api'; import { Emitter, type Event } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/playground/src/services/database-node-service-impl.ts b/frontend/packages/workflow/playground/src/services/database-node-service-impl.ts index d8992a5e..c0c12dea 100644 --- a/frontend/packages/workflow/playground/src/services/database-node-service-impl.ts +++ b/frontend/packages/workflow/playground/src/services/database-node-service-impl.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { createWithEqualityFn } from 'zustand/traditional'; import { shallow } from 'zustand/shallow'; diff --git a/frontend/packages/workflow/playground/src/services/database-node-service.ts b/frontend/packages/workflow/playground/src/services/database-node-service.ts index e00df4b4..d2484aed 100644 --- a/frontend/packages/workflow/playground/src/services/database-node-service.ts +++ b/frontend/packages/workflow/playground/src/services/database-node-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type ConditionOperator } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/services/index.ts b/frontend/packages/workflow/playground/src/services/index.ts index 49693c9f..40b21fba 100644 --- a/frontend/packages/workflow/playground/src/services/index.ts +++ b/frontend/packages/workflow/playground/src/services/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowRunService } from './workflow-run-service'; export { TestRunReporterService } from './test-run-reporter-service'; export { WorkflowEditService } from './workflow-edit-service'; diff --git a/frontend/packages/workflow/playground/src/services/node-version-service.ts b/frontend/packages/workflow/playground/src/services/node-version-service.ts index 00e35eba..4211725a 100644 --- a/frontend/packages/workflow/playground/src/services/node-version-service.ts +++ b/frontend/packages/workflow/playground/src/services/node-version-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type FormModelV2 } from '@flowgram-adapter/free-layout-editor'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/services/plugin-node-service.ts b/frontend/packages/workflow/playground/src/services/plugin-node-service.ts index 3d5d94d1..d9ec380d 100644 --- a/frontend/packages/workflow/playground/src/services/plugin-node-service.ts +++ b/frontend/packages/workflow/playground/src/services/plugin-node-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { shallow } from 'zustand/shallow'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/workflow/playground/src/services/role-service.ts b/frontend/packages/workflow/playground/src/services/role-service.ts index 3995b36f..5ddaa882 100644 --- a/frontend/packages/workflow/playground/src/services/role-service.ts +++ b/frontend/packages/workflow/playground/src/services/role-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { shallow } from 'zustand/shallow'; import { debounce } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/services/test-run-reporter-service.ts b/frontend/packages/workflow/playground/src/services/test-run-reporter-service.ts index 21e4e202..8af5bc1d 100644 --- a/frontend/packages/workflow/playground/src/services/test-run-reporter-service.ts +++ b/frontend/packages/workflow/playground/src/services/test-run-reporter-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { Tracker, diff --git a/frontend/packages/workflow/playground/src/services/value-expression-service-impl.ts b/frontend/packages/workflow/playground/src/services/value-expression-service-impl.ts index 2e948cac..3f3f926d 100644 --- a/frontend/packages/workflow/playground/src/services/value-expression-service-impl.ts +++ b/frontend/packages/workflow/playground/src/services/value-expression-service-impl.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { injectable, inject } from 'inversify'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/services/value-expression-service.ts b/frontend/packages/workflow/playground/src/services/value-expression-service.ts index 08fc98f2..7887a9c4 100644 --- a/frontend/packages/workflow/playground/src/services/value-expression-service.ts +++ b/frontend/packages/workflow/playground/src/services/value-expression-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type ValueExpression, diff --git a/frontend/packages/workflow/playground/src/services/workflow-dependency-service.ts b/frontend/packages/workflow/playground/src/services/workflow-dependency-service.ts index ca281bab..46cc4c86 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-dependency-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-dependency-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, debounce } from 'lodash-es'; import { inject, injectable } from 'inversify'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/services/workflow-drag-service.ts b/frontend/packages/workflow/playground/src/services/workflow-drag-service.ts index 09778008..9d427f1d 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-drag-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-drag-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type XYCoord } from 'react-dnd'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/workflow/playground/src/services/workflow-edit-service.ts b/frontend/packages/workflow/playground/src/services/workflow-edit-service.ts index afffc995..3abf8ce4 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-edit-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-edit-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { set } from 'lodash-es'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/workflow/playground/src/services/workflow-float-layout-service.ts b/frontend/packages/workflow/playground/src/services/workflow-float-layout-service.ts index 277da83a..3a14e975 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-float-layout-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-float-layout-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { isFunction, isPlainObject, isString } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/services/workflow-line-service.ts b/frontend/packages/workflow/playground/src/services/workflow-line-service.ts index 28a0b892..fcb6b1ea 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-line-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-line-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { intersection } from 'lodash-es'; import { inject, injectable, postConstruct } from 'inversify'; import { WorkflowNodePanelService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/services/workflow-models-service.ts b/frontend/packages/workflow/playground/src/services/workflow-models-service.ts index aa5eee72..0e99930c 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-models-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-models-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable, inject } from 'inversify'; import { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; import { getLLMModels } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/services/workflow-operation-service.ts b/frontend/packages/workflow/playground/src/services/workflow-operation-service.ts index 2d0e028d..9e80e0e0 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-operation-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-operation-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { set } from 'lodash-es'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/workflow/playground/src/services/workflow-run-service.ts b/frontend/packages/workflow/playground/src/services/workflow-run-service.ts index d66b2aa8..b9c9a490 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-run-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-run-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ /* eslint-disable @typescript-eslint/naming-convention */ import { omit } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/services/workflow-save-service.ts b/frontend/packages/workflow/playground/src/services/workflow-save-service.ts index 11a43b03..bb18a0bc 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-save-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-save-service.ts @@ -386,8 +386,9 @@ export class WorkflowSaveService { !this.globalState.playgroundProps?.disableGetTestCase; if (useNewGlobalVariableCache) { - const relatedBot = - await this.relatedBotService.getAsyncRelatedBotValue(workflowJSON); + const relatedBot = await this.relatedBotService.getAsyncRelatedBotValue( + workflowJSON, + ); if (!relatedBot?.id || !relatedBot?.type) { return; diff --git a/frontend/packages/workflow/playground/src/services/workflow-validation-service.ts b/frontend/packages/workflow/playground/src/services/workflow-validation-service.ts index 9565ff24..5d6c99bb 100644 --- a/frontend/packages/workflow/playground/src/services/workflow-validation-service.ts +++ b/frontend/packages/workflow/playground/src/services/workflow-validation-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { shallow } from 'zustand/shallow'; import { inject, injectable } from 'inversify'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/constant.ts b/frontend/packages/workflow/playground/src/shortcuts/constant.ts index 6f32395d..63f67e00 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/constant.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/constant.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const WORKFLOW_CLIPBOARD_TYPE = 'coze-workflow-clipboard-data'; export const WORKFLOW_EXPORT_TYPE = 'coze-workflow-export-data'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/get-valid-nodes.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/get-valid-nodes.ts index e8369a95..bc524486 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/get-valid-nodes.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/get-valid-nodes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeBaseType } from '@flowgram-adapter/free-layout-editor'; import type { WorkflowNodeEntity, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/index.ts index 2c765a66..1dbfdd37 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { TransformData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/is-system-nodes.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/is-system-nodes.ts index 57f13227..3f6a3f79 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/is-system-nodes.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/is-system-nodes.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/is-valid.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/is-valid.ts index 9a5a490d..b4eb227f 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/is-valid.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/copy/is-valid.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/delete/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/delete/index.ts index d7e45849..d6de3148 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/delete/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/delete/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { WorkflowCommands, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/delete/is-valid.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/delete/is-valid.ts index eda508e1..cf2db516 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/delete/is-valid.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/delete/is-valid.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/export/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/export/index.ts index e7438674..c1f38ccb 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/export/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/export/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { FlowNodeBaseType } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/index.ts index 5768db09..1d4c1a4d 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowPasteShortcutsContribution } from './paste'; export { WorkflowLayoutShortcutsContribution } from './layout'; export { WorkflowDeleteShortcutsContribution } from './delete'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/comment-node-handler.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/comment-node-handler.ts index 2e9d4246..f14cfba0 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/comment-node-handler.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/comment-node-handler.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { LayoutNode, LayoutStore, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/get-follow-node.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/get-follow-node.ts index 7d4002de..7ac546ea 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/get-follow-node.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/get-follow-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { GetFollowNode } from '@flowgram-adapter/free-layout-editor'; import { FlowNodeBaseType } from '@flowgram-adapter/free-layout-editor'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/index.ts index a4f1e233..225f144b 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { FreeOperationType, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/quad-tree.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/quad-tree.ts index a35b9247..63ec9779 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/quad-tree.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/quad-tree.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable prefer-destructuring -- no need */ /* eslint-disable @typescript-eslint/no-namespace -- use namespace for easy management */ import type { LayoutNode } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/sub-canvas-handler.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/sub-canvas-handler.ts index b70cca1a..a68ea80b 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/sub-canvas-handler.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/layout/sub-canvas-handler.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { LayoutNode } from '@flowgram-adapter/free-layout-editor'; import { FlowNodeBaseType } from '@flowgram-adapter/free-layout-editor'; import type { WorkflowNodeMeta } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/load/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/load/index.ts index 0093cc6c..a9472aff 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/load/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/load/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { EntityManager, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/index.ts index bb9f6ce9..ba9b02dd 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { FlowNodeBaseType, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/is-valid-data.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/is-valid-data.ts index 5b7dfdb4..e8da0956 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/is-valid-data.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/is-valid-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Toast } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/is-valid-node.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/is-valid-node.ts index 519f8292..31867cc1 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/is-valid-node.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/is-valid-node.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import type { WorkflowCustomDragService } from '@/services'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/api-node-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/api-node-validator.ts index 2d7e9c69..1b66ca4d 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/api-node-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/api-node-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ApiNodeData } from '@coze-workflow/nodes'; import { StandardNodeType } from '@coze-workflow/base'; import { PluginProductStatus } from '@coze-arch/idl/developer_api'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/base-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/base-validator.ts index 4cec76dc..74f3d034 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/base-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/base-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import type { WorkflowGlobalStateEntity } from '@/typing'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/cross-space-node-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/cross-space-node-validator.ts index 1fa0b7b8..ef256883 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/cross-space-node-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/cross-space-node-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/drop-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/drop-validator.ts index e263ca96..6daa1164 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/drop-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/drop-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { StandardNodeType } from '@coze-workflow/base'; import { diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/index.ts index bb4256c3..4da61834 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ApiNodeValidator } from './api-node-validator'; export { NodeValidationContext, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/loop-context-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/loop-context-validator.ts index 6b90ba09..7c95fb17 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/loop-context-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/loop-context-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/nested-loop-batch-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/nested-loop-batch-validator.ts index f13a591d..98742fca 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/nested-loop-batch-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/nested-loop-batch-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeBaseType } from '@flowgram-adapter/free-layout-editor'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/same-space-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/same-space-validator.ts index bd7d198c..58f1df4b 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/same-space-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/same-space-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BaseNodeValidator, type NodeValidationContext, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/same-workflow-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/same-workflow-validator.ts index 06097c0e..a449d24b 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/same-workflow-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/same-workflow-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BaseNodeValidator, type NodeValidationContext, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/scene-node-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/scene-node-validator.ts index 6362e4f4..879b0c0d 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/scene-node-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/scene-node-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/sub-workflow-self-ref-validator.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/sub-workflow-self-ref-validator.ts index 80d7859c..23aa5d8c 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/sub-workflow-self-ref-validator.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/sub-workflow-self-ref-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StandardNodeType } from '@coze-workflow/base'; import { diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/validation-chain.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/validation-chain.ts index 87148557..467d5292 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/validation-chain.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/paste/validators/validation-chain.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { BaseNodeValidator } from './base-validator'; export class ValidationChain extends BaseNodeValidator { diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/select-all/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/select-all/index.ts index dcfc16df..3ea0b2f7 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/select-all/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/select-all/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { WorkflowDocument, diff --git a/frontend/packages/workflow/playground/src/shortcuts/contributions/zoom/index.ts b/frontend/packages/workflow/playground/src/shortcuts/contributions/zoom/index.ts index b737a1bb..28e39cca 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/contributions/zoom/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/contributions/zoom/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { PlaygroundConfigEntity } from '@flowgram-adapter/free-layout-editor'; import { WorkflowCommands } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/index.ts b/frontend/packages/workflow/playground/src/shortcuts/index.ts index e10bb01f..af5f1168 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WORKFLOW_CLIPBOARD_TYPE } from './constant'; export { bindShortcuts } from './utils'; export { diff --git a/frontend/packages/workflow/playground/src/shortcuts/type.ts b/frontend/packages/workflow/playground/src/shortcuts/type.ts index 1979a1df..057b9848 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/type.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { WorkflowEdgeJSON, WorkflowNodeJSON, diff --git a/frontend/packages/workflow/playground/src/shortcuts/utils/index.ts b/frontend/packages/workflow/playground/src/shortcuts/utils/index.ts index 085ff39b..04187508 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/utils/index.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/utils/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { bindShortcuts } from './register'; export { safeFn } from './safe-fn'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/utils/register.ts b/frontend/packages/workflow/playground/src/shortcuts/utils/register.ts index 700ca002..2ed6ea7d 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/utils/register.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/utils/register.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { interfaces } from 'inversify'; import { bindContributions } from '@flowgram-adapter/common'; import type { WorkflowShortcutsContribution } from '@coze-workflow/render'; diff --git a/frontend/packages/workflow/playground/src/shortcuts/utils/safe-fn.ts b/frontend/packages/workflow/playground/src/shortcuts/utils/safe-fn.ts index e2d2a953..2ec1d120 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/utils/safe-fn.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/utils/safe-fn.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { reporter, logger } from '@coze-arch/logger'; import { Toast } from '@coze-arch/coze-design'; @@ -25,7 +25,9 @@ export const safeFn = return fn(...args); } catch (e) { Toast.error({ - content: `[Coze Workflow] Failed to run function: ${fn.name || '() => any'}`, + content: `[Coze Workflow] Failed to run function: ${ + fn.name || '() => any' + }`, }); console.error('Failed to run function: ', e); reporter.errorEvent({ diff --git a/frontend/packages/workflow/playground/src/shortcuts/utils/unique-workflow.ts b/frontend/packages/workflow/playground/src/shortcuts/utils/unique-workflow.ts index 96c8221b..40647349 100644 --- a/frontend/packages/workflow/playground/src/shortcuts/utils/unique-workflow.ts +++ b/frontend/packages/workflow/playground/src/shortcuts/utils/unique-workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity -- no need to fix */ /* eslint-disable @typescript-eslint/no-namespace -- no need to fix */ import { customAlphabet } from 'nanoid'; diff --git a/frontend/packages/workflow/playground/src/test-run-kit/hooks/index.ts b/frontend/packages/workflow/playground/src/test-run-kit/hooks/index.ts index b7da2364..08415c05 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/hooks/index.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useFormDefaultValues } from './use-form-default-values'; export { useOpenWorkflow } from './use-open-workflow'; diff --git a/frontend/packages/workflow/playground/src/test-run-kit/hooks/use-form-default-values.ts b/frontend/packages/workflow/playground/src/test-run-kit/hooks/use-form-default-values.ts index 9a15bb59..dfcf0c16 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/hooks/use-form-default-values.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/hooks/use-form-default-values.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IFormSchema } from '@coze-workflow/test-run-next'; import { useTestFormService } from '@coze-workflow/test-run'; diff --git a/frontend/packages/workflow/playground/src/test-run-kit/hooks/use-open-workflow.ts b/frontend/packages/workflow/playground/src/test-run-kit/hooks/use-open-workflow.ts index 3441b465..af25a7f5 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/hooks/use-open-workflow.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/hooks/use-open-workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Pick from master, if there is any conflict, please refer to master */ import { useGlobalState } from '@/hooks'; diff --git a/frontend/packages/workflow/playground/src/test-run-kit/index.ts b/frontend/packages/workflow/playground/src/test-run-kit/index.ts index 4a0b83de..7384c198 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/index.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useFormDefaultValues, useOpenWorkflow } from './hooks'; export { diff --git a/frontend/packages/workflow/playground/src/test-run-kit/types/index.ts b/frontend/packages/workflow/playground/src/test-run-kit/types/index.ts index a753f792..0bf9b8c8 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/types/index.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type IFormSchema } from '@coze-workflow/test-run-next'; /** diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-env-to-related-context-properties.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-env-to-related-context-properties.ts index 80191332..48b1eddb 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-env-to-related-context-properties.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-env-to-related-context-properties.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type IFormSchema, diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-node-field.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-node-field.ts index 3ddcf2c8..9d13ecd0 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-node-field.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-node-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type IFormSchema, isFormSchemaPropertyEmpty, diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-related-field.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-related-field.ts index ecc68626..9b1e5549 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-related-field.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-related-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkflowNodeRefVariablesData } from '@coze-workflow/variable'; import { type IFormSchema } from '@coze-workflow/test-run-next'; diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-schema/index.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-schema/index.ts index cae9345c..89819aa9 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-schema/index.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-schema/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getTestsetField } from './testset-field'; diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-schema/testset-field.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-schema/testset-field.ts index bbc6cde1..97c79603 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-schema/testset-field.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-form-schema/testset-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { TestFormFieldName } from '@coze-workflow/test-run-next'; export const getTestsetField = () => ({ diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-input-to-field.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-input-to-field.ts index 6112c742..0475dd26 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-input-to-field.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-input-to-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-parameters-to-properties.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-parameters-to-properties.ts index 3eab939d..4ca80d85 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-parameters-to-properties.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/generate-parameters-to-properties.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { isGlobalVariableKey } from '@coze-workflow/variable'; import { getSortedInputParameters } from '@coze-workflow/nodes'; diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/get-node-execute-history-input.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/get-node-execute-history-input.ts index ea646b76..383d43d8 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/get-node-execute-history-input.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/get-node-execute-history-input.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { invert } from 'lodash-es'; import { safeJsonParse, diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/get-related-info.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/get-related-info.ts index e11e6055..2111ad82 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/get-related-info.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/get-related-info.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { intersection } from 'lodash-es'; import { workflowApi, diff --git a/frontend/packages/workflow/playground/src/test-run-kit/utils/index.ts b/frontend/packages/workflow/playground/src/test-run-kit/utils/index.ts index bd57d876..999a0225 100644 --- a/frontend/packages/workflow/playground/src/test-run-kit/utils/index.ts +++ b/frontend/packages/workflow/playground/src/test-run-kit/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { generateParametersToProperties } from './generate-parameters-to-properties'; export { generateFormNodeField } from './generate-form-node-field'; export { generateFormSchema } from './generate-form-schema'; diff --git a/frontend/packages/workflow/playground/src/typing/index.ts b/frontend/packages/workflow/playground/src/typing/index.ts index 63361719..8612a75b 100644 --- a/frontend/packages/workflow/playground/src/typing/index.ts +++ b/frontend/packages/workflow/playground/src/typing/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NavigateOptions } from 'react-router-dom'; import { type UseBoundStore, type StoreApi } from 'zustand'; diff --git a/frontend/packages/workflow/playground/src/typing/sidebar.ts b/frontend/packages/workflow/playground/src/typing/sidebar.ts index 77a7bc9a..290d2921 100644 --- a/frontend/packages/workflow/playground/src/typing/sidebar.ts +++ b/frontend/packages/workflow/playground/src/typing/sidebar.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormDataTypeName } from '@flowgram-adapter/free-layout-editor'; import { type ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/ui-components/add-operation/index.tsx b/frontend/packages/workflow/playground/src/ui-components/add-operation/index.tsx index d6b3ea5a..547a3617 100644 --- a/frontend/packages/workflow/playground/src/ui-components/add-operation/index.tsx +++ b/frontend/packages/workflow/playground/src/ui-components/add-operation/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/ui-components/auto-size-tooltip/index.tsx b/frontend/packages/workflow/playground/src/ui-components/auto-size-tooltip/index.tsx index 1b446587..a5eb7144 100644 --- a/frontend/packages/workflow/playground/src/ui-components/auto-size-tooltip/index.tsx +++ b/frontend/packages/workflow/playground/src/ui-components/auto-size-tooltip/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type PropsWithChildren, useRef } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/playground/src/ui-components/banner/index.tsx b/frontend/packages/workflow/playground/src/ui-components/banner/index.tsx index 927352fc..34034d82 100644 --- a/frontend/packages/workflow/playground/src/ui-components/banner/index.tsx +++ b/frontend/packages/workflow/playground/src/ui-components/banner/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Make a simple style encapsulation for the banner of semi-ui, which conforms to the UX design draft specification */ diff --git a/frontend/packages/workflow/playground/src/ui-components/workflow-sl-input/index.tsx b/frontend/packages/workflow/playground/src/ui-components/workflow-sl-input/index.tsx index 1369991b..dc521610 100644 --- a/frontend/packages/workflow/playground/src/ui-components/workflow-sl-input/index.tsx +++ b/frontend/packages/workflow/playground/src/ui-components/workflow-sl-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ComponentProps, useRef, diff --git a/frontend/packages/workflow/playground/src/ui-components/workflow-sl-textarea/index.tsx b/frontend/packages/workflow/playground/src/ui-components/workflow-sl-textarea/index.tsx index c13d2403..1041925b 100644 --- a/frontend/packages/workflow/playground/src/ui-components/workflow-sl-textarea/index.tsx +++ b/frontend/packages/workflow/playground/src/ui-components/workflow-sl-textarea/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type ComponentProps, useState, diff --git a/frontend/packages/workflow/playground/src/use-workflow-playground.tsx b/frontend/packages/workflow/playground/src/use-workflow-playground.tsx index 7b2c48a4..6bd606a3 100644 --- a/frontend/packages/workflow/playground/src/use-workflow-playground.tsx +++ b/frontend/packages/workflow/playground/src/use-workflow-playground.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useState, useMemo, useEffect } from 'react'; import { isBoolean } from 'lodash-es'; diff --git a/frontend/packages/workflow/playground/src/utils/create-slots/index.tsx b/frontend/packages/workflow/playground/src/utils/create-slots/index.tsx index 5bf5fd45..e124a818 100644 --- a/frontend/packages/workflow/playground/src/utils/create-slots/index.tsx +++ b/frontend/packages/workflow/playground/src/utils/create-slots/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useLayoutEffect } from 'react'; import { useForceUpdate } from './use-force-update'; diff --git a/frontend/packages/workflow/playground/src/utils/create-slots/use-force-update.ts b/frontend/packages/workflow/playground/src/utils/create-slots/use-force-update.ts index bcd6c93e..24995eac 100644 --- a/frontend/packages/workflow/playground/src/utils/create-slots/use-force-update.ts +++ b/frontend/packages/workflow/playground/src/utils/create-slots/use-force-update.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Inspired from reach-ui: https://github.com/reach/reach-ui/blob/develop/packages/utils/src/use-force-update.ts import React from 'react'; diff --git a/frontend/packages/workflow/playground/src/utils/curl-parser.ts b/frontend/packages/workflow/playground/src/utils/curl-parser.ts index 4054dc29..cdad6f6d 100644 --- a/frontend/packages/workflow/playground/src/utils/curl-parser.ts +++ b/frontend/packages/workflow/playground/src/utils/curl-parser.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Exporting directly from yargs-parser will cause an error because the browser environment is not supported */ import yargsParser from 'yargs-parser/browser'; import multipart from 'parse-multipart'; diff --git a/frontend/packages/workflow/playground/src/utils/get-canvas-offset.ts b/frontend/packages/workflow/playground/src/utils/get-canvas-offset.ts index e8bd2ff5..2abcc273 100644 --- a/frontend/packages/workflow/playground/src/utils/get-canvas-offset.ts +++ b/frontend/packages/workflow/playground/src/utils/get-canvas-offset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function getCanvasOffset() { const canvasDOM = document.querySelector('.gedit-flow-background-layer'); const canvasRect = canvasDOM?.getBoundingClientRect(); diff --git a/frontend/packages/workflow/playground/src/utils/get-ide-region-params.ts b/frontend/packages/workflow/playground/src/utils/get-ide-region-params.ts index 24844c9f..86605ebe 100644 --- a/frontend/packages/workflow/playground/src/utils/get-ide-region-params.ts +++ b/frontend/packages/workflow/playground/src/utils/get-ide-region-params.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type EditorProps } from '@coze-workflow/code-editor-adapter'; diff --git a/frontend/packages/workflow/playground/src/utils/get-is-init-workflow.ts b/frontend/packages/workflow/playground/src/utils/get-is-init-workflow.ts index 103efed1..0142332a 100644 --- a/frontend/packages/workflow/playground/src/utils/get-is-init-workflow.ts +++ b/frontend/packages/workflow/playground/src/utils/get-is-init-workflow.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowNodeJSON, type WorkflowJSON, diff --git a/frontend/packages/workflow/playground/src/utils/get-workflow-inner-side-sheet-holder.ts b/frontend/packages/workflow/playground/src/utils/get-workflow-inner-side-sheet-holder.ts index 087c1275..07828c84 100644 --- a/frontend/packages/workflow/playground/src/utils/get-workflow-inner-side-sheet-holder.ts +++ b/frontend/packages/workflow/playground/src/utils/get-workflow-inner-side-sheet-holder.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WORKFLOW_INNER_SIDE_SHEET_HOLDER } from '../constants'; export const getWorkflowInnerSideSheetHolder = () => { diff --git a/frontend/packages/workflow/playground/src/utils/get-workflow-outer-side-sheet-holder.ts b/frontend/packages/workflow/playground/src/utils/get-workflow-outer-side-sheet-holder.ts index b02f7f39..969ea2c6 100644 --- a/frontend/packages/workflow/playground/src/utils/get-workflow-outer-side-sheet-holder.ts +++ b/frontend/packages/workflow/playground/src/utils/get-workflow-outer-side-sheet-holder.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WORKFLOW_OUTER_SIDE_SHEET_HOLDER } from '../constants'; export const getWorkflowOuterSideSheetHolder = () => { diff --git a/frontend/packages/workflow/playground/src/utils/get-workflow-url.ts b/frontend/packages/workflow/playground/src/utils/get-workflow-url.ts index bad9fba5..887666aa 100644 --- a/frontend/packages/workflow/playground/src/utils/get-workflow-url.ts +++ b/frontend/packages/workflow/playground/src/utils/get-workflow-url.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const workflowPath = 'work_flow'; /** diff --git a/frontend/packages/workflow/playground/src/utils/get-workflow-version.ts b/frontend/packages/workflow/playground/src/utils/get-workflow-version.ts index 7aeff2c1..dedf899e 100644 --- a/frontend/packages/workflow/playground/src/utils/get-workflow-version.ts +++ b/frontend/packages/workflow/playground/src/utils/get-workflow-version.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { PluginType } from '@coze-arch/bot-api/plugin_develop'; import { PluginDevelopApi } from '@coze-arch/bot-api'; /** diff --git a/frontend/packages/workflow/playground/src/utils/index.ts b/frontend/packages/workflow/playground/src/utils/index.ts index 482e6e87..25bf8332 100644 --- a/frontend/packages/workflow/playground/src/utils/index.ts +++ b/frontend/packages/workflow/playground/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { isPluginApiNodeTemplate, isPluginCategoryNodeTemplate, diff --git a/frontend/packages/workflow/playground/src/utils/move-time-consuming.ts b/frontend/packages/workflow/playground/src/utils/move-time-consuming.ts index dca692e8..eff6681d 100644 --- a/frontend/packages/workflow/playground/src/utils/move-time-consuming.ts +++ b/frontend/packages/workflow/playground/src/utils/move-time-consuming.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { reporter } from '@coze-arch/logger'; const timerMap: Record = {}; diff --git a/frontend/packages/workflow/playground/src/utils/node-template.ts b/frontend/packages/workflow/playground/src/utils/node-template.ts index 56a580e7..3d30021c 100644 --- a/frontend/packages/workflow/playground/src/utils/node-template.ts +++ b/frontend/packages/workflow/playground/src/utils/node-template.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get } from 'lodash-es'; import { StandardNodeType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/playground/src/utils/promise-limiter.ts b/frontend/packages/workflow/playground/src/utils/promise-limiter.ts index 50d4e258..c0a5d094 100644 --- a/frontend/packages/workflow/playground/src/utils/promise-limiter.ts +++ b/frontend/packages/workflow/playground/src/utils/promise-limiter.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Limit concurrency */ diff --git a/frontend/packages/workflow/playground/src/workflow-playground.tsx b/frontend/packages/workflow/playground/src/workflow-playground.tsx index 65e08238..c2d160ae 100644 --- a/frontend/packages/workflow/playground/src/workflow-playground.tsx +++ b/frontend/packages/workflow/playground/src/workflow-playground.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; import { HTML5Backend } from 'react-dnd-html5-backend'; diff --git a/frontend/packages/workflow/playground/vitest.config.ts b/frontend/packages/workflow/playground/vitest.config.ts index e4b1aa8c..36ca1de6 100644 --- a/frontend/packages/workflow/playground/vitest.config.ts +++ b/frontend/packages/workflow/playground/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig({ diff --git a/frontend/packages/workflow/render/src/components/lines/arrow/index.tsx b/frontend/packages/workflow/render/src/components/lines/arrow/index.tsx index 746d6e01..84a05d99 100644 --- a/frontend/packages/workflow/render/src/components/lines/arrow/index.tsx +++ b/frontend/packages/workflow/render/src/components/lines/arrow/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { LINE_OFFSET } from '../../../constants/lines'; diff --git a/frontend/packages/workflow/render/src/components/lines/bezier-line/index.tsx b/frontend/packages/workflow/render/src/components/lines/bezier-line/index.tsx index c748de9c..8863e170 100644 --- a/frontend/packages/workflow/render/src/components/lines/bezier-line/index.tsx +++ b/frontend/packages/workflow/render/src/components/lines/bezier-line/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/render/src/components/lines/fold-line/index.tsx b/frontend/packages/workflow/render/src/components/lines/fold-line/index.tsx index a0218006..67c4c33f 100644 --- a/frontend/packages/workflow/render/src/components/lines/fold-line/index.tsx +++ b/frontend/packages/workflow/render/src/components/lines/fold-line/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { diff --git a/frontend/packages/workflow/render/src/components/lines/popover/with-popover.tsx b/frontend/packages/workflow/render/src/components/lines/popover/with-popover.tsx index 98fbafbc..e60061f2 100644 --- a/frontend/packages/workflow/render/src/components/lines/popover/with-popover.tsx +++ b/frontend/packages/workflow/render/src/components/lines/popover/with-popover.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { FlowRendererRegistry } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/render/src/components/selector-bounds/index.tsx b/frontend/packages/workflow/render/src/components/selector-bounds/index.tsx index f782e65e..b21e4a7b 100644 --- a/frontend/packages/workflow/render/src/components/selector-bounds/index.tsx +++ b/frontend/packages/workflow/render/src/components/selector-bounds/index.tsx @@ -13,12 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; // import { domUtils } from '@flowgram-adapter/common'; import { type FlowSelectorBoundsLayerOptions } from '@flowgram-adapter/free-layout-editor'; -import { SelectionService, useService } from '@flowgram-adapter/free-layout-editor'; +import { + SelectionService, + useService, +} from '@flowgram-adapter/free-layout-editor'; import { getSelectionBounds } from '../../utils/selection-utils'; diff --git a/frontend/packages/workflow/render/src/components/workflow-port-render/cross-hair.tsx b/frontend/packages/workflow/render/src/components/workflow-port-render/cross-hair.tsx index 0cbd5a0b..cbdaa67e 100644 --- a/frontend/packages/workflow/render/src/components/workflow-port-render/cross-hair.tsx +++ b/frontend/packages/workflow/render/src/components/workflow-port-render/cross-hair.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import styles from './index.module.less'; diff --git a/frontend/packages/workflow/render/src/components/workflow-port-render/index.tsx b/frontend/packages/workflow/render/src/components/workflow-port-render/index.tsx index a61c9658..38a922e3 100644 --- a/frontend/packages/workflow/render/src/components/workflow-port-render/index.tsx +++ b/frontend/packages/workflow/render/src/components/workflow-port-render/index.tsx @@ -13,12 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactDOM from 'react-dom'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; import classNames from 'classnames'; -import { Tooltip } from '@coze-arch/coze-design'; import { useService } from '@flowgram-adapter/free-layout-editor'; import { usePlaygroundReadonlyState, @@ -27,6 +26,7 @@ import { WorkflowLinesManager, type WorkflowPortEntity, } from '@flowgram-adapter/free-layout-editor'; +import { Tooltip } from '@coze-arch/coze-design'; import { PORT_BG_CLASS_NAME } from '../../constants/points'; import { Warning } from './warning'; diff --git a/frontend/packages/workflow/render/src/components/workflow-port-render/warning.tsx b/frontend/packages/workflow/render/src/components/workflow-port-render/warning.tsx index 4edac65e..6c7f3635 100644 --- a/frontend/packages/workflow/render/src/components/workflow-port-render/warning.tsx +++ b/frontend/packages/workflow/render/src/components/workflow-port-render/warning.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/render/src/constants/lines.ts b/frontend/packages/workflow/render/src/constants/lines.ts index e205a64b..300e1d6b 100644 --- a/frontend/packages/workflow/render/src/constants/lines.ts +++ b/frontend/packages/workflow/render/src/constants/lines.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Arrow width export const LINE_OFFSET = 6; diff --git a/frontend/packages/workflow/render/src/constants/points.ts b/frontend/packages/workflow/render/src/constants/points.ts index a5ae148c..a7bae9b5 100644 --- a/frontend/packages/workflow/render/src/constants/points.ts +++ b/frontend/packages/workflow/render/src/constants/points.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // Connection point radius export const STROKE_WIDTH_SLECTED = 3; diff --git a/frontend/packages/workflow/render/src/global.d.ts b/frontend/packages/workflow/render/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/render/src/global.d.ts +++ b/frontend/packages/workflow/render/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/render/src/index.ts b/frontend/packages/workflow/render/src/index.ts index bf65611e..0cb84a19 100644 --- a/frontend/packages/workflow/render/src/index.ts +++ b/frontend/packages/workflow/render/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; export * from './workflow-render-provider'; export * from './workflow-render-contribution'; diff --git a/frontend/packages/workflow/render/src/layer/background-layer.tsx b/frontend/packages/workflow/render/src/layer/background-layer.tsx index 8281bd5a..99d7807c 100644 --- a/frontend/packages/workflow/render/src/layer/background-layer.tsx +++ b/frontend/packages/workflow/render/src/layer/background-layer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { Layer, diff --git a/frontend/packages/workflow/render/src/layer/hover-layer.tsx b/frontend/packages/workflow/render/src/layer/hover-layer.tsx index f5203021..877ee3b2 100644 --- a/frontend/packages/workflow/render/src/layer/hover-layer.tsx +++ b/frontend/packages/workflow/render/src/layer/hover-layer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { inject, injectable } from 'inversify'; import { SelectorBoxConfigEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/render/src/layer/index.ts b/frontend/packages/workflow/render/src/layer/index.ts index e684cf47..c77e8f67 100644 --- a/frontend/packages/workflow/render/src/layer/index.ts +++ b/frontend/packages/workflow/render/src/layer/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export * from './lines-layer'; export * from './background-layer'; export * from './hover-layer'; diff --git a/frontend/packages/workflow/render/src/layer/lines-layer.tsx b/frontend/packages/workflow/render/src/layer/lines-layer.tsx index 0d5e1c7a..f4db7718 100644 --- a/frontend/packages/workflow/render/src/layer/lines-layer.tsx +++ b/frontend/packages/workflow/render/src/layer/lines-layer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ReactDOM from 'react-dom'; import React from 'react'; diff --git a/frontend/packages/workflow/render/src/layer/shortcuts-layer.tsx b/frontend/packages/workflow/render/src/layer/shortcuts-layer.tsx index 017e5b0d..b66111f5 100644 --- a/frontend/packages/workflow/render/src/layer/shortcuts-layer.tsx +++ b/frontend/packages/workflow/render/src/layer/shortcuts-layer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { Layer, SelectionService } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/render/src/utils/selection-utils.ts b/frontend/packages/workflow/render/src/utils/selection-utils.ts index 944995b2..7c3a3f55 100644 --- a/frontend/packages/workflow/render/src/utils/selection-utils.ts +++ b/frontend/packages/workflow/render/src/utils/selection-utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeTransformData } from '@flowgram-adapter/free-layout-editor'; import { type SelectionService } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/render/src/utils/shortcuts-utils.ts b/frontend/packages/workflow/render/src/utils/shortcuts-utils.ts index c5a5bc6f..60aca783 100644 --- a/frontend/packages/workflow/render/src/utils/shortcuts-utils.ts +++ b/frontend/packages/workflow/render/src/utils/shortcuts-utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const isAppleDevice = /(mac|iphone|ipod|ipad)/i.test( typeof navigator !== 'undefined' ? navigator?.platform : '', ); diff --git a/frontend/packages/workflow/render/src/workflow-loader.tsx b/frontend/packages/workflow/render/src/workflow-loader.tsx index 3b9af6e8..0b3238c2 100644 --- a/frontend/packages/workflow/render/src/workflow-loader.tsx +++ b/frontend/packages/workflow/render/src/workflow-loader.tsx @@ -13,13 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useLayoutEffect, useMemo, useEffect } from 'react'; -import { reportTti } from '@coze-arch/report-tti/custom-perf-metric'; import { FlowRendererRegistry } from '@flowgram-adapter/free-layout-editor'; -import { LoggerEvent, LoggerService, useService } from '@flowgram-adapter/free-layout-editor'; +import { + LoggerEvent, + LoggerService, + useService, +} from '@flowgram-adapter/free-layout-editor'; import { WorkflowDocument } from '@flowgram-adapter/free-layout-editor'; +import { reportTti } from '@coze-arch/report-tti/custom-perf-metric'; import styles from './index.module.less'; diff --git a/frontend/packages/workflow/render/src/workflow-render-container-module.ts b/frontend/packages/workflow/render/src/workflow-render-container-module.ts index efedc91e..73cfdb93 100644 --- a/frontend/packages/workflow/render/src/workflow-render-container-module.ts +++ b/frontend/packages/workflow/render/src/workflow-render-container-module.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule } from 'inversify'; import { FlowRendererContribution } from '@flowgram-adapter/free-layout-editor'; import { PlaygroundContribution } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/render/src/workflow-render-contribution.ts b/frontend/packages/workflow/render/src/workflow-render-contribution.ts index 521612da..0e9903c8 100644 --- a/frontend/packages/workflow/render/src/workflow-render-contribution.ts +++ b/frontend/packages/workflow/render/src/workflow-render-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { Gesture } from '@use-gesture/vanilla'; import { diff --git a/frontend/packages/workflow/render/src/workflow-render-provider.tsx b/frontend/packages/workflow/render/src/workflow-render-provider.tsx index 0f1444d2..1705e082 100644 --- a/frontend/packages/workflow/render/src/workflow-render-provider.tsx +++ b/frontend/packages/workflow/render/src/workflow-render-provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useMemo } from 'react'; import { type interfaces } from 'inversify'; diff --git a/frontend/packages/workflow/render/src/workflow-shorcuts-contribution.ts b/frontend/packages/workflow/render/src/workflow-shorcuts-contribution.ts index a81054fa..af76f5b9 100644 --- a/frontend/packages/workflow/render/src/workflow-shorcuts-contribution.ts +++ b/frontend/packages/workflow/render/src/workflow-shorcuts-contribution.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable, diff --git a/frontend/packages/workflow/sdk/__tests__/__mock_data__/canvas-schema.ts b/frontend/packages/workflow/sdk/__tests__/__mock_data__/canvas-schema.ts index 29907949..e87ae27a 100644 --- a/frontend/packages/workflow/sdk/__tests__/__mock_data__/canvas-schema.ts +++ b/frontend/packages/workflow/sdk/__tests__/__mock_data__/canvas-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const mockCanvasSchema = { nodes: [ { diff --git a/frontend/packages/workflow/sdk/__tests__/__mock_data__/node-results.ts b/frontend/packages/workflow/sdk/__tests__/__mock_data__/node-results.ts index 9b988d52..3004153e 100644 --- a/frontend/packages/workflow/sdk/__tests__/__mock_data__/node-results.ts +++ b/frontend/packages/workflow/sdk/__tests__/__mock_data__/node-results.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const mockNodeResults = [ { NodeName: 'start-node', diff --git a/frontend/packages/workflow/sdk/__tests__/utils/node-result-extractor.test.ts b/frontend/packages/workflow/sdk/__tests__/utils/node-result-extractor.test.ts index e8cd5e1b..30a6b7bc 100644 --- a/frontend/packages/workflow/sdk/__tests__/utils/node-result-extractor.test.ts +++ b/frontend/packages/workflow/sdk/__tests__/utils/node-result-extractor.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect } from 'vitest'; import { type WorkflowJSON } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/sdk/__tests__/utils/schema-extractor.test.ts b/frontend/packages/workflow/sdk/__tests__/utils/schema-extractor.test.ts index 2dec0f38..4d09ee18 100644 --- a/frontend/packages/workflow/sdk/__tests__/utils/schema-extractor.test.ts +++ b/frontend/packages/workflow/sdk/__tests__/utils/schema-extractor.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { vi, describe, it, expect } from 'vitest'; import { type SchemaExtractorConfig, diff --git a/frontend/packages/workflow/sdk/src/index.ts b/frontend/packages/workflow/sdk/src/index.ts index 5cb70737..ad920a10 100644 --- a/frontend/packages/workflow/sdk/src/index.ts +++ b/frontend/packages/workflow/sdk/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { schemaExtractor, nodeResultExtractor } from './utils'; export { ExpressionEditorEvent, diff --git a/frontend/packages/workflow/sdk/src/utils/index.ts b/frontend/packages/workflow/sdk/src/utils/index.ts index 25a768f8..464d970e 100644 --- a/frontend/packages/workflow/sdk/src/utils/index.ts +++ b/frontend/packages/workflow/sdk/src/utils/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { schemaExtractor } from './schema-extractor'; export { nodeResultExtractor } from './node-result-extractor'; diff --git a/frontend/packages/workflow/sdk/src/utils/node-result-extractor.ts b/frontend/packages/workflow/sdk/src/utils/node-result-extractor.ts index 14439dff..d1a295ae 100644 --- a/frontend/packages/workflow/sdk/src/utils/node-result-extractor.ts +++ b/frontend/packages/workflow/sdk/src/utils/node-result-extractor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowJSON, type NodeResultExtracted, diff --git a/frontend/packages/workflow/sdk/src/utils/schema-extractor.ts b/frontend/packages/workflow/sdk/src/utils/schema-extractor.ts index f8749c96..be98aad1 100644 --- a/frontend/packages/workflow/sdk/src/utils/schema-extractor.ts +++ b/frontend/packages/workflow/sdk/src/utils/schema-extractor.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowJSON, type SchemaExtractorConfig, diff --git a/frontend/packages/workflow/sdk/vitest.config.ts b/frontend/packages/workflow/sdk/vitest.config.ts index b3f0242f..d605df3d 100644 --- a/frontend/packages/workflow/sdk/vitest.config.ts +++ b/frontend/packages/workflow/sdk/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/workflow/setters/src/array/array-context.ts b/frontend/packages/workflow/setters/src/array/array-context.ts index b683c7c9..48872cbd 100644 --- a/frontend/packages/workflow/setters/src/array/array-context.ts +++ b/frontend/packages/workflow/setters/src/array/array-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; interface ArraySetterContext { diff --git a/frontend/packages/workflow/setters/src/array/array.tsx b/frontend/packages/workflow/setters/src/array/array.tsx index 189a00ec..1a707136 100644 --- a/frontend/packages/workflow/setters/src/array/array.tsx +++ b/frontend/packages/workflow/setters/src/array/array.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import React, { useState } from 'react'; diff --git a/frontend/packages/workflow/setters/src/array/column-titles.tsx b/frontend/packages/workflow/setters/src/array/column-titles.tsx index 8b42305c..289b53f4 100644 --- a/frontend/packages/workflow/setters/src/array/column-titles.tsx +++ b/frontend/packages/workflow/setters/src/array/column-titles.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import styles from './column-titles.module.less'; diff --git a/frontend/packages/workflow/setters/src/array/index.stories.tsx b/frontend/packages/workflow/setters/src/array/index.stories.tsx index ba004555..33d84150 100644 --- a/frontend/packages/workflow/setters/src/array/index.stories.tsx +++ b/frontend/packages/workflow/setters/src/array/index.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-empty-function */ import type { StoryObj, Meta } from '@storybook/react'; import { useArgs } from '@storybook/preview-api'; diff --git a/frontend/packages/workflow/setters/src/array/index.ts b/frontend/packages/workflow/setters/src/array/index.ts index 766e397d..ced020af 100644 --- a/frontend/packages/workflow/setters/src/array/index.ts +++ b/frontend/packages/workflow/setters/src/array/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Array } from './array'; export type { ArrayOptions } from './array'; diff --git a/frontend/packages/workflow/setters/src/array/types.ts b/frontend/packages/workflow/setters/src/array/types.ts index 5b680678..0b60f53b 100644 --- a/frontend/packages/workflow/setters/src/array/types.ts +++ b/frontend/packages/workflow/setters/src/array/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface Field { label: string; required?: boolean; diff --git a/frontend/packages/workflow/setters/src/boolean/boolean.tsx b/frontend/packages/workflow/setters/src/boolean/boolean.tsx index 86471e41..a174f2e4 100644 --- a/frontend/packages/workflow/setters/src/boolean/boolean.tsx +++ b/frontend/packages/workflow/setters/src/boolean/boolean.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Switch } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/setters/src/boolean/index.stories.tsx b/frontend/packages/workflow/setters/src/boolean/index.stories.tsx index 66969654..06912ccb 100644 --- a/frontend/packages/workflow/setters/src/boolean/index.stories.tsx +++ b/frontend/packages/workflow/setters/src/boolean/index.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { StoryObj, Meta } from '@storybook/react'; import { useArgs } from '@storybook/preview-api'; diff --git a/frontend/packages/workflow/setters/src/boolean/index.test.tsx b/frontend/packages/workflow/setters/src/boolean/index.test.tsx index 2a8a2981..ee1da150 100644 --- a/frontend/packages/workflow/setters/src/boolean/index.test.tsx +++ b/frontend/packages/workflow/setters/src/boolean/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom'; import { describe, it, expect, vi } from 'vitest'; import { render } from '@testing-library/react'; diff --git a/frontend/packages/workflow/setters/src/boolean/index.ts b/frontend/packages/workflow/setters/src/boolean/index.ts index 4629d22d..032c285d 100644 --- a/frontend/packages/workflow/setters/src/boolean/index.ts +++ b/frontend/packages/workflow/setters/src/boolean/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Boolean } from './boolean'; diff --git a/frontend/packages/workflow/setters/src/enum-image-model/enum-image-model-label.tsx b/frontend/packages/workflow/setters/src/enum-image-model/enum-image-model-label.tsx index db652302..c9f7cb6a 100644 --- a/frontend/packages/workflow/setters/src/enum-image-model/enum-image-model-label.tsx +++ b/frontend/packages/workflow/setters/src/enum-image-model/enum-image-model-label.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/setters/src/enum-image-model/enum-image-model.tsx b/frontend/packages/workflow/setters/src/enum-image-model/enum-image-model.tsx index 25ee10b4..9afcc38a 100644 --- a/frontend/packages/workflow/setters/src/enum-image-model/enum-image-model.tsx +++ b/frontend/packages/workflow/setters/src/enum-image-model/enum-image-model.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cx from 'classnames'; diff --git a/frontend/packages/workflow/setters/src/enum-image-model/index.tsx b/frontend/packages/workflow/setters/src/enum-image-model/index.tsx index 37e1516b..a6a37be3 100644 --- a/frontend/packages/workflow/setters/src/enum-image-model/index.tsx +++ b/frontend/packages/workflow/setters/src/enum-image-model/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { type EnumImageModelOptions } from './types'; export { EnumImageModel } from './enum-image-model'; diff --git a/frontend/packages/workflow/setters/src/enum-image-model/types.ts b/frontend/packages/workflow/setters/src/enum-image-model/types.ts index 3cb87faf..7677d499 100644 --- a/frontend/packages/workflow/setters/src/enum-image-model/types.ts +++ b/frontend/packages/workflow/setters/src/enum-image-model/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SelectProps } from '@coze-arch/coze-design'; export type Value = string | number | undefined; diff --git a/frontend/packages/workflow/setters/src/enum/enum.tsx b/frontend/packages/workflow/setters/src/enum/enum.tsx index 69ba7dff..774cc79f 100644 --- a/frontend/packages/workflow/setters/src/enum/enum.tsx +++ b/frontend/packages/workflow/setters/src/enum/enum.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cx from 'classnames'; diff --git a/frontend/packages/workflow/setters/src/enum/index.stories.tsx b/frontend/packages/workflow/setters/src/enum/index.stories.tsx index d14a3415..9d09a767 100644 --- a/frontend/packages/workflow/setters/src/enum/index.stories.tsx +++ b/frontend/packages/workflow/setters/src/enum/index.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { StoryObj, Meta } from '@storybook/react'; import { useArgs } from '@storybook/preview-api'; diff --git a/frontend/packages/workflow/setters/src/enum/index.test.tsx b/frontend/packages/workflow/setters/src/enum/index.test.tsx index 9babd564..32405b99 100644 --- a/frontend/packages/workflow/setters/src/enum/index.test.tsx +++ b/frontend/packages/workflow/setters/src/enum/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom'; import { describe, it, expect, vi } from 'vitest'; import { render } from '@testing-library/react'; diff --git a/frontend/packages/workflow/setters/src/enum/index.ts b/frontend/packages/workflow/setters/src/enum/index.ts index f971a74d..27a0c712 100644 --- a/frontend/packages/workflow/setters/src/enum/index.ts +++ b/frontend/packages/workflow/setters/src/enum/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Enum } from './enum'; export type { EnumOptions } from './enum'; diff --git a/frontend/packages/workflow/setters/src/enum/types.ts b/frontend/packages/workflow/setters/src/enum/types.ts index 0da148cf..508c9bf8 100644 --- a/frontend/packages/workflow/setters/src/enum/types.ts +++ b/frontend/packages/workflow/setters/src/enum/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type EnumValue = string | number; export type Options = { diff --git a/frontend/packages/workflow/setters/src/index.ts b/frontend/packages/workflow/setters/src/index.ts index f47a9b3c..f556bb37 100644 --- a/frontend/packages/workflow/setters/src/index.ts +++ b/frontend/packages/workflow/setters/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { String } from './string'; export type { StringOptions } from './string'; export { Number } from './number'; diff --git a/frontend/packages/workflow/setters/src/number/index.stories.tsx b/frontend/packages/workflow/setters/src/number/index.stories.tsx index 5a667f66..721be778 100644 --- a/frontend/packages/workflow/setters/src/number/index.stories.tsx +++ b/frontend/packages/workflow/setters/src/number/index.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { StoryObj, Meta } from '@storybook/react'; import { useArgs } from '@storybook/preview-api'; diff --git a/frontend/packages/workflow/setters/src/number/index.test.tsx b/frontend/packages/workflow/setters/src/number/index.test.tsx index 0072a0dc..51082efe 100644 --- a/frontend/packages/workflow/setters/src/number/index.test.tsx +++ b/frontend/packages/workflow/setters/src/number/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom'; import { describe, it, expect, vi } from 'vitest'; import { render, screen, fireEvent } from '@testing-library/react'; diff --git a/frontend/packages/workflow/setters/src/number/index.ts b/frontend/packages/workflow/setters/src/number/index.ts index 916f71ee..ec522020 100644 --- a/frontend/packages/workflow/setters/src/number/index.ts +++ b/frontend/packages/workflow/setters/src/number/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Number } from './number'; export type { NumberOptions } from './number'; diff --git a/frontend/packages/workflow/setters/src/number/number.tsx b/frontend/packages/workflow/setters/src/number/number.tsx index 2e57a239..bb4f7fd5 100644 --- a/frontend/packages/workflow/setters/src/number/number.tsx +++ b/frontend/packages/workflow/setters/src/number/number.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cx from 'classnames'; diff --git a/frontend/packages/workflow/setters/src/string/index.stories.tsx b/frontend/packages/workflow/setters/src/string/index.stories.tsx index 359ce7bd..dd78c427 100644 --- a/frontend/packages/workflow/setters/src/string/index.stories.tsx +++ b/frontend/packages/workflow/setters/src/string/index.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { StoryObj, Meta } from '@storybook/react'; import { useArgs } from '@storybook/preview-api'; diff --git a/frontend/packages/workflow/setters/src/string/index.test.tsx b/frontend/packages/workflow/setters/src/string/index.test.tsx index 5e7b5abc..a5c35971 100644 --- a/frontend/packages/workflow/setters/src/string/index.test.tsx +++ b/frontend/packages/workflow/setters/src/string/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom'; import { describe, it, expect, vi } from 'vitest'; import { render, screen, fireEvent } from '@testing-library/react'; diff --git a/frontend/packages/workflow/setters/src/string/index.ts b/frontend/packages/workflow/setters/src/string/index.ts index 6223b33b..0a062666 100644 --- a/frontend/packages/workflow/setters/src/string/index.ts +++ b/frontend/packages/workflow/setters/src/string/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { String } from './string'; export type { StringOptions } from './string'; diff --git a/frontend/packages/workflow/setters/src/string/string.tsx b/frontend/packages/workflow/setters/src/string/string.tsx index d50ffe34..a6e3fa2f 100644 --- a/frontend/packages/workflow/setters/src/string/string.tsx +++ b/frontend/packages/workflow/setters/src/string/string.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cx from 'classnames'; diff --git a/frontend/packages/workflow/setters/src/text/index.stories.tsx b/frontend/packages/workflow/setters/src/text/index.stories.tsx index 589c3028..69f93b51 100644 --- a/frontend/packages/workflow/setters/src/text/index.stories.tsx +++ b/frontend/packages/workflow/setters/src/text/index.stories.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { StoryObj, Meta } from '@storybook/react'; import { useArgs } from '@storybook/preview-api'; diff --git a/frontend/packages/workflow/setters/src/text/index.test.tsx b/frontend/packages/workflow/setters/src/text/index.test.tsx index 724fef64..dc4c4414 100644 --- a/frontend/packages/workflow/setters/src/text/index.test.tsx +++ b/frontend/packages/workflow/setters/src/text/index.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom'; import { describe, it, expect, vi } from 'vitest'; import { render, screen, fireEvent } from '@testing-library/react'; diff --git a/frontend/packages/workflow/setters/src/text/index.ts b/frontend/packages/workflow/setters/src/text/index.ts index 882a57eb..31def14d 100644 --- a/frontend/packages/workflow/setters/src/text/index.ts +++ b/frontend/packages/workflow/setters/src/text/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Text } from './text'; export type { TextOptions } from './text'; diff --git a/frontend/packages/workflow/setters/src/text/text.tsx b/frontend/packages/workflow/setters/src/text/text.tsx index 7481a4fc..c66a49dc 100644 --- a/frontend/packages/workflow/setters/src/text/text.tsx +++ b/frontend/packages/workflow/setters/src/text/text.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cx from 'classnames'; diff --git a/frontend/packages/workflow/setters/src/types.ts b/frontend/packages/workflow/setters/src/types.ts index 05fc6fcb..8a43bee7 100644 --- a/frontend/packages/workflow/setters/src/types.ts +++ b/frontend/packages/workflow/setters/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type SetterComponentProps } from '@flowgram-adapter/free-layout-editor'; type SetterProps = { diff --git a/frontend/packages/workflow/setters/src/typings.d.ts b/frontend/packages/workflow/setters/src/typings.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/setters/src/typings.d.ts +++ b/frontend/packages/workflow/setters/src/typings.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/setters/vitest.config.ts b/frontend/packages/workflow/setters/vitest.config.ts index 020222e3..77a97ca2 100644 --- a/frontend/packages/workflow/setters/vitest.config.ts +++ b/frontend/packages/workflow/setters/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/workflow/test-run-next/form/__tests__/components/base-form-materials/field-item.test.tsx b/frontend/packages/workflow/test-run-next/form/__tests__/components/base-form-materials/field-item.test.tsx index 4961cbcb..a4c4109c 100644 --- a/frontend/packages/workflow/test-run-next/form/__tests__/components/base-form-materials/field-item.test.tsx +++ b/frontend/packages/workflow/test-run-next/form/__tests__/components/base-form-materials/field-item.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, it, expect } from 'vitest'; diff --git a/frontend/packages/workflow/test-run-next/form/__tests__/components/base-form-materials/group-collapse.test.tsx b/frontend/packages/workflow/test-run-next/form/__tests__/components/base-form-materials/group-collapse.test.tsx index 79b690b3..26dfd2a2 100644 --- a/frontend/packages/workflow/test-run-next/form/__tests__/components/base-form-materials/group-collapse.test.tsx +++ b/frontend/packages/workflow/test-run-next/form/__tests__/components/base-form-materials/group-collapse.test.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { describe, it, expect, vi } from 'vitest'; diff --git a/frontend/packages/workflow/test-run-next/form/__tests__/setup.tsx b/frontend/packages/workflow/test-run-next/form/__tests__/setup.tsx index 50adade8..d4daccfe 100644 --- a/frontend/packages/workflow/test-run-next/form/__tests__/setup.tsx +++ b/frontend/packages/workflow/test-run-next/form/__tests__/setup.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import '@testing-library/jest-dom/vitest'; vi.mock('@coze-arch/i18n', () => ({ I18n: { diff --git a/frontend/packages/workflow/test-run-next/form/__tests__/utils/is-property-empty.test.ts b/frontend/packages/workflow/test-run-next/form/__tests__/utils/is-property-empty.test.ts index 50ecf43c..0ccdfbb1 100644 --- a/frontend/packages/workflow/test-run-next/form/__tests__/utils/is-property-empty.test.ts +++ b/frontend/packages/workflow/test-run-next/form/__tests__/utils/is-property-empty.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { isFormSchemaPropertyEmpty } from '../../src/utils/is-property-empty'; diff --git a/frontend/packages/workflow/test-run-next/form/__tests__/utils/stringify-form-values-from-backed.test.ts b/frontend/packages/workflow/test-run-next/form/__tests__/utils/stringify-form-values-from-backed.test.ts index 2fa10adf..6ca72e8c 100644 --- a/frontend/packages/workflow/test-run-next/form/__tests__/utils/stringify-form-values-from-backed.test.ts +++ b/frontend/packages/workflow/test-run-next/form/__tests__/utils/stringify-form-values-from-backed.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { stringifyFormValuesFromBacked } from '../../src/utils/stringify-form-values-from-backed'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/field-item/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/field-item/index.ts index 189c17ee..adbb6266 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/field-item/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/field-item/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FieldItem, type FieldItemProps } from './item'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/field-item/item.tsx b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/field-item/item.tsx index a549495f..0028539a 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/field-item/item.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/field-item/item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { IconCozInfoCircle } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/group-collapse/collapse.tsx b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/group-collapse/collapse.tsx index 5d13c29f..d2dad913 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/group-collapse/collapse.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/group-collapse/collapse.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useRef } from 'react'; import { clsx } from 'clsx'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/group-collapse/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/group-collapse/index.ts index 058724f0..bc151cd6 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/group-collapse/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/group-collapse/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { GroupCollapse } from './collapse'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/index.ts index 67da7d30..1800dbee 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * basic form material */ diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-json/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-json/index.ts index 217fb5db..402a5fae 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-json/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-json/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputJson, type InputJsonProps } from './json'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-json/json.tsx b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-json/json.tsx index c260fcc5..23d98cbf 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-json/json.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-json/json.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { clsx } from 'clsx'; import { JsonEditor, diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-number/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-number/index.ts index c0e3a7dc..230d56b5 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-number/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-number/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputNumber, type InputNumberProps } from './input-number'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-number/input-number.tsx b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-number/input-number.tsx index 747bf56e..103aaa62 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-number/input-number.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-number/input-number.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useEffect } from 'react'; import clsx from 'clsx'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-string/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-string/index.ts index 4fa1edf6..82dc0b8f 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-string/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-string/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputString, type InputStringProps } from './input'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-string/input.tsx b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-string/input.tsx index aba7bec0..e9762c09 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-string/input.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-string/input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import clsx from 'clsx'; import { TextArea } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-time/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-time/index.ts index 8658364c..4b650e01 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-time/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-time/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputTime, type InputTimeProps } from './time'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-time/time.tsx b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-time/time.tsx index 9d8e7c41..b1640c6f 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-time/time.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/input-time/time.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { clsx } from 'clsx'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-boolean/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-boolean/index.ts index 8c1f036b..3f576c32 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-boolean/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-boolean/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SelectBoolean } from './select'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-boolean/select.tsx b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-boolean/select.tsx index ca7b7959..b9b1f2a7 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-boolean/select.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-boolean/select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useMemo } from 'react'; import { clsx } from 'clsx'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-voice/index.tsx b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-voice/index.tsx index 193b9d87..15bb33ba 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-voice/index.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/base-form-materials/select-voice/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VoiceSelect } from '@coze-workflow/components'; interface SelectVoiceProps { diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/field-item/index.tsx b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/field-item/index.tsx index b3ef5c2d..609d8208 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/field-item/index.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/field-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/index.ts index b3f61e50..0fea92fb 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * form material */ diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-integer/index.tsx b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-integer/index.tsx index 8f16f72f..a03622e8 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-integer/index.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-integer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputNumber as BaseInputNumber } from '../../base-form-materials'; export const InputInteger = props => ; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-json/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-json/index.ts index 0fe7ebbe..86bdf950 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-json/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-json/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputJson } from '../../base-form-materials'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-number/index.tsx b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-number/index.tsx index c3d8afb8..ea473a5c 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-number/index.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-number/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputNumber as BaseInputNumber } from '../../base-form-materials'; export const InputNumber = props => ; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-string/index.tsx b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-string/index.tsx index 2e6e9a08..9bf8de11 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-string/index.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-string/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { InputString as BaseInputString } from '../../base-form-materials'; export const InputString = BaseInputString; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-time/index.tsx b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-time/index.tsx index 90e84713..d2556a9e 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-time/index.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/input-time/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputTime } from '../../base-form-materials'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/select-boolean/index.tsx b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/select-boolean/index.tsx index 88daa050..640b39b3 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/select-boolean/index.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/select-boolean/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SelectBoolean } from '../../base-form-materials'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/select-voice/index.tsx b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/select-voice/index.tsx index 2c0274a5..9081d696 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/form-materials/select-voice/index.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/form-materials/select-voice/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SelectVoice } from '../../base-form-materials'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/test-run-form/index.ts b/frontend/packages/workflow/test-run-next/form/src/components/test-run-form/index.ts index 35c42abc..05136b05 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/test-run-form/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/components/test-run-form/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestRunForm } from './test-run-form'; diff --git a/frontend/packages/workflow/test-run-next/form/src/components/test-run-form/test-run-form.tsx b/frontend/packages/workflow/test-run-next/form/src/components/test-run-form/test-run-form.tsx index ba856014..490cf419 100644 --- a/frontend/packages/workflow/test-run-next/form/src/components/test-run-form/test-run-form.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/components/test-run-form/test-run-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Form, type FormModel } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/test-run-next/form/src/constants/index.ts b/frontend/packages/workflow/test-run-next/form/src/constants/index.ts index 0a73ecd4..3f30f283 100644 --- a/frontend/packages/workflow/test-run-next/form/src/constants/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Fixed internal field name */ diff --git a/frontend/packages/workflow/test-run-next/form/src/context/form.tsx b/frontend/packages/workflow/test-run-next/form/src/context/form.tsx index 393a555d..104470db 100644 --- a/frontend/packages/workflow/test-run-next/form/src/context/form.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/context/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext, useRef } from 'react'; import { diff --git a/frontend/packages/workflow/test-run-next/form/src/context/index.ts b/frontend/packages/workflow/test-run-next/form/src/context/index.ts index a99f0278..c3ef9a64 100644 --- a/frontend/packages/workflow/test-run-next/form/src/context/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestRunFormProvider, useTestRunFormStore, diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/create-schema-field.tsx b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/create-schema-field.tsx index 43f59c90..85c008aa 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/create-schema-field.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/create-schema-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { type FormSchemaReactComponents } from '../types'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/general-field.tsx b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/general-field.tsx index 476ef336..1835171b 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/general-field.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/general-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Field } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/index.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/index.ts index ee240920..947af1d4 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { createSchemaField } from './create-schema-field'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/object-field.tsx b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/object-field.tsx index 077fea2a..46dfd469 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/object-field.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/object-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { SchemaContext, type FormSchema } from '../shared'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/reactive-field.tsx b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/reactive-field.tsx index d1636b4b..0e8392c0 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/reactive-field.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/reactive-field.tsx @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; -import { useCurrentField, useCurrentFieldState } from '@flowgram-adapter/free-layout-editor'; +import { + useCurrentField, + useCurrentFieldState, +} from '@flowgram-adapter/free-layout-editor'; import { type FormSchemaUIState } from '../types'; import { diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/recursion-field.tsx b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/recursion-field.tsx index 2c0b0e30..4c7d92d3 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/recursion-field.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/recursion-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FormSchema } from '../shared'; import { ObjectField } from './object-field'; import { GeneralField } from './general-field'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/schema-field.tsx b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/schema-field.tsx index f6966a19..9f65bd20 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/schema-field.tsx +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/fields/schema-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import type { FormSchemaReactComponents } from '../types'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/index.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/index.ts index 548005b2..98250dd5 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useCreateForm } from './use-create-form'; export { useFieldSchema } from './use-field-schema'; export { useFieldUIState } from './use-field-ui-state'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-components.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-components.ts index 2872b865..b68bd564 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-components.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-components.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { ComponentsContext } from '../shared'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-create-form.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-create-form.ts index 07427cb3..e01ff91b 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-create-form.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-create-form.ts @@ -13,10 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo } from 'react'; -import { createForm, ValidateTrigger } from '@flowgram-adapter/free-layout-editor'; +import { + createForm, + ValidateTrigger, +} from '@flowgram-adapter/free-layout-editor'; import type { IFormSchema, IFormSchemaValidate } from '../types'; import { FormSchema } from '../shared'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-field-schema.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-field-schema.ts index 493c7120..cd53b9ae 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-field-schema.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-field-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { SchemaContext } from '../shared'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-field-ui-state.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-field-ui-state.ts index b2071215..fe60acf4 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-field-ui-state.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-field-ui-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useObserve } from '@flowgram-adapter/common'; import { useFieldSchema } from './use-field-schema'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-form-schema.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-form-schema.ts index 40b6b0fc..4f8de0ad 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-form-schema.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-form-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { FormSchemaContext } from '../shared'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-form-ui-state.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-form-ui-state.ts index ebe0a761..f8c9bc45 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-form-ui-state.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/hooks/use-form-ui-state.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useObserve } from '@flowgram-adapter/common'; import { useFormSchema } from './use-form-schema'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/index.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/index.ts index ba417e77..44a22017 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * form engine */ diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/components-context.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/components-context.ts index 56f14e52..2b84adbb 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/components-context.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/components-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import type { FormSchemaReactComponents } from '../types'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/form-schema.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/form-schema.ts index db1c5812..fb6cb9d5 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/form-schema.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/form-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { ReactiveState } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/index.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/index.ts index 1ca3b7d4..3375bc7c 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ComponentsContext } from './components-context'; export { FormSchema } from './form-schema'; export { SchemaContext, FormSchemaContext } from './schema-context'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/schema-context.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/schema-context.ts index b2042ff3..7f3cd2cd 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/schema-context.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/shared/schema-context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import type { FormSchema } from './form-schema'; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/types/context.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/types/context.ts index 58077dab..74599cbb 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/types/context.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/types/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + type JSXComponent = | keyof JSX.IntrinsicElements | React.JSXElementConstructor; diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/types/index.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/types/index.ts index 127ca39d..12d17a76 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/types/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type { IFormSchema, IFormSchemaValidate, diff --git a/frontend/packages/workflow/test-run-next/form/src/form-engine/types/schema.ts b/frontend/packages/workflow/test-run-next/form/src/form-engine/types/schema.ts index d9b719da..ce562673 100644 --- a/frontend/packages/workflow/test-run-next/form/src/form-engine/types/schema.ts +++ b/frontend/packages/workflow/test-run-next/form/src/form-engine/types/schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { Validate } from '@flowgram-adapter/free-layout-editor'; export type FormSchemaTypes = diff --git a/frontend/packages/workflow/test-run-next/form/src/global.d.ts b/frontend/packages/workflow/test-run-next/form/src/global.d.ts index 63edbe8e..6c50f74c 100644 --- a/frontend/packages/workflow/test-run-next/form/src/global.d.ts +++ b/frontend/packages/workflow/test-run-next/form/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.otf' { const content: string; diff --git a/frontend/packages/workflow/test-run-next/form/src/index.ts b/frontend/packages/workflow/test-run-next/form/src/index.ts index 90c848e6..2f855c7a 100644 --- a/frontend/packages/workflow/test-run-next/form/src/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * TestRun Form */ diff --git a/frontend/packages/workflow/test-run-next/form/src/utils/generate-field-component.ts b/frontend/packages/workflow/test-run-next/form/src/utils/generate-field-component.ts index 2f53b781..cc195fb4 100644 --- a/frontend/packages/workflow/test-run-next/form/src/utils/generate-field-component.ts +++ b/frontend/packages/workflow/test-run-next/form/src/utils/generate-field-component.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType, getFileAccept } from '@coze-workflow/base'; interface GenerateFieldComponentOptions { diff --git a/frontend/packages/workflow/test-run-next/form/src/utils/generate-field-validator.ts b/frontend/packages/workflow/test-run-next/form/src/utils/generate-field-validator.ts index d909b75e..46015164 100644 --- a/frontend/packages/workflow/test-run-next/form/src/utils/generate-field-validator.ts +++ b/frontend/packages/workflow/test-run-next/form/src/utils/generate-field-validator.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Ajv from 'ajv'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run-next/form/src/utils/generate-field.ts b/frontend/packages/workflow/test-run-next/form/src/utils/generate-field.ts index af874de5..981791e4 100644 --- a/frontend/packages/workflow/test-run-next/form/src/utils/generate-field.ts +++ b/frontend/packages/workflow/test-run-next/form/src/utils/generate-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; import { type IFormSchema } from '../form-engine'; diff --git a/frontend/packages/workflow/test-run-next/form/src/utils/index.ts b/frontend/packages/workflow/test-run-next/form/src/utils/index.ts index e574e2f3..48339323 100644 --- a/frontend/packages/workflow/test-run-next/form/src/utils/index.ts +++ b/frontend/packages/workflow/test-run-next/form/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { generateField } from './generate-field'; export { generateFieldValidator } from './generate-field-validator'; export { isFormSchemaPropertyEmpty } from './is-property-empty'; diff --git a/frontend/packages/workflow/test-run-next/form/src/utils/is-property-empty.ts b/frontend/packages/workflow/test-run-next/form/src/utils/is-property-empty.ts index d8c68b74..4857c4c9 100644 --- a/frontend/packages/workflow/test-run-next/form/src/utils/is-property-empty.ts +++ b/frontend/packages/workflow/test-run-next/form/src/utils/is-property-empty.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; /** diff --git a/frontend/packages/workflow/test-run-next/form/src/utils/stringify-form-values-from-backed.ts b/frontend/packages/workflow/test-run-next/form/src/utils/stringify-form-values-from-backed.ts index 9dedc7f5..5ad17e4c 100644 --- a/frontend/packages/workflow/test-run-next/form/src/utils/stringify-form-values-from-backed.ts +++ b/frontend/packages/workflow/test-run-next/form/src/utils/stringify-form-values-from-backed.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isBoolean } from 'lodash-es'; export const stringifyFormValuesFromBacked = (value: object) => { diff --git a/frontend/packages/workflow/test-run-next/form/vitest.config.ts b/frontend/packages/workflow/test-run-next/form/vitest.config.ts index ce22bf87..fdd1093c 100644 --- a/frontend/packages/workflow/test-run-next/form/vitest.config.ts +++ b/frontend/packages/workflow/test-run-next/form/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/workflow/test-run-next/main/src/global.d.ts b/frontend/packages/workflow/test-run-next/main/src/global.d.ts index 63edbe8e..6c50f74c 100644 --- a/frontend/packages/workflow/test-run-next/main/src/global.d.ts +++ b/frontend/packages/workflow/test-run-next/main/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.otf' { const content: string; diff --git a/frontend/packages/workflow/test-run-next/main/src/index.ts b/frontend/packages/workflow/test-run-next/main/src/index.ts index 7d175de2..d7860998 100644 --- a/frontend/packages/workflow/test-run-next/main/src/index.ts +++ b/frontend/packages/workflow/test-run-next/main/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * TestRun Main */ diff --git a/frontend/packages/workflow/test-run-next/shared/__tests__/utils/safe-format-json-string.test.ts b/frontend/packages/workflow/test-run-next/shared/__tests__/utils/safe-format-json-string.test.ts index b151c170..378ecb12 100644 --- a/frontend/packages/workflow/test-run-next/shared/__tests__/utils/safe-format-json-string.test.ts +++ b/frontend/packages/workflow/test-run-next/shared/__tests__/utils/safe-format-json-string.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { safeFormatJsonString } from '../../src/utils/safe-format-json-string'; diff --git a/frontend/packages/workflow/test-run-next/shared/__tests__/utils/safe-json-parse.test.ts b/frontend/packages/workflow/test-run-next/shared/__tests__/utils/safe-json-parse.test.ts index d1fd78e9..0a301256 100644 --- a/frontend/packages/workflow/test-run-next/shared/__tests__/utils/safe-json-parse.test.ts +++ b/frontend/packages/workflow/test-run-next/shared/__tests__/utils/safe-json-parse.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { describe, it, expect } from 'vitest'; import { safeJsonParse } from '../../src/utils/safe-json-parse'; diff --git a/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/index.ts b/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/index.ts index 769f0f2c..eae2124f 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/index.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BottomPanel } from './panel'; diff --git a/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/panel.tsx b/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/panel.tsx index 58ad85c9..7df1f997 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/panel.tsx +++ b/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { isObject } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/use-resize.ts b/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/use-resize.ts index 2d74b914..36b90f9a 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/use-resize.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/components/bottom-panel/use-resize.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useCallback } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/base.tsx b/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/base.tsx index 1c40eb13..d74d579b 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/base.tsx +++ b/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/base.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { EditorProvider, createRenderer } from '@coze-editor/editor/react'; import preset, { languages, diff --git a/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/index.ts b/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/index.ts index eb48f296..db0233d3 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/index.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { JsonEditor } from './json-editor'; diff --git a/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/json-editor.tsx b/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/json-editor.tsx index 74049adf..f7c7a936 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/json-editor.tsx +++ b/frontend/packages/workflow/test-run-next/shared/src/components/json-editor/json-editor.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useEffect, useRef, useState } from 'react'; import { uniqueId } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run-next/shared/src/global.d.ts b/frontend/packages/workflow/test-run-next/shared/src/global.d.ts index 63edbe8e..6c50f74c 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/global.d.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.otf' { const content: string; diff --git a/frontend/packages/workflow/test-run-next/shared/src/index.ts b/frontend/packages/workflow/test-run-next/shared/src/index.ts index b54f49f3..fd191f5d 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/index.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * TestRun Shared */ diff --git a/frontend/packages/workflow/test-run-next/shared/src/utils/debug-url.ts b/frontend/packages/workflow/test-run-next/shared/src/utils/debug-url.ts index 2d9c585b..c43d7f0f 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/utils/debug-url.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/utils/debug-url.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface DebugUrlParams { spaceId: string; workflowId: string; diff --git a/frontend/packages/workflow/test-run-next/shared/src/utils/index.ts b/frontend/packages/workflow/test-run-next/shared/src/utils/index.ts index 5f52f2bd..575ce5df 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/utils/index.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { safeFormatJsonString } from './safe-format-json-string'; export { safeJsonParse } from './safe-json-parse'; export { gotoDebugFlow } from './debug-url'; diff --git a/frontend/packages/workflow/test-run-next/shared/src/utils/safe-format-json-string.ts b/frontend/packages/workflow/test-run-next/shared/src/utils/safe-format-json-string.ts index 96ee2292..334814c2 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/utils/safe-format-json-string.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/utils/safe-format-json-string.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isString } from 'lodash-es'; export const safeFormatJsonString = (val: unknown): any => { diff --git a/frontend/packages/workflow/test-run-next/shared/src/utils/safe-json-parse.ts b/frontend/packages/workflow/test-run-next/shared/src/utils/safe-json-parse.ts index 20c78aec..19683c8d 100644 --- a/frontend/packages/workflow/test-run-next/shared/src/utils/safe-json-parse.ts +++ b/frontend/packages/workflow/test-run-next/shared/src/utils/safe-json-parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + interface TypeSafeJSONParseOptions { emptyValue?: any; needReport?: boolean; diff --git a/frontend/packages/workflow/test-run-next/shared/vitest.config.ts b/frontend/packages/workflow/test-run-next/shared/vitest.config.ts index b3f0242f..d605df3d 100644 --- a/frontend/packages/workflow/test-run-next/shared/vitest.config.ts +++ b/frontend/packages/workflow/test-run-next/shared/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { defineConfig } from '@coze-arch/vitest-config'; export default defineConfig( diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/focus-button/focus-button.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/focus-button/focus-button.tsx index 10f6ac16..98b53328 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/focus-button/focus-button.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/focus-button/focus-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { IconCozFocus } from '@coze-arch/coze-design/icons'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/focus-button/index.ts b/frontend/packages/workflow/test-run-next/trace/src/components/focus-button/index.ts index 0f200de0..05ac4bf5 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/focus-button/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/components/focus-button/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FocusButton } from './focus-button'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/status-tag/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/status-tag/index.tsx index 07fc2340..eb45dbf4 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/status-tag/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/status-tag/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { clsx } from 'clsx'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/index.ts b/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/index.ts index e2658e26..c9c39fb8 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TraceDetailPanel } from './trace-detail-panel'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/pay-block.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/pay-block.tsx index 0e9059ac..2f29a9e1 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/pay-block.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/pay-block.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Divider, Typography } from '@coze-arch/coze-design'; import styles from './pay-block.module.less'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/trace-detail-panel.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/trace-detail-panel.tsx index a648dec4..a602399b 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/trace-detail-panel.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-detail-panel/trace-detail-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { isUndefined } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/graph.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/graph.tsx index 4452ab3a..425bc5b4 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/graph.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/graph.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { clsx } from 'clsx'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/index.ts b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/index.ts index 3d3f58d2..31ae08e8 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TraceGraph } from './graph'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/table.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/table.tsx index 53e4a90a..58d71935 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/table.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/table.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isUndefined } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; import { Table } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/template.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/template.tsx index 4621be93..b103b98a 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/template.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/template.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozIllusEmpty } from '@coze-arch/coze-design/illustrations'; import { Spin } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/use-trace.ts b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/use-trace.ts index f4c77755..c0f1b19b 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/use-trace.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-graph/use-trace.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/header.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/header.tsx index d054f088..f2efd48b 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/header.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { TraceSelect } from '../trace-select'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/index.ts b/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/index.ts index 5ad519df..df59bbbb 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TraceListPanel } from './list-panel'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/list-panel.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/list-panel.tsx index 9134f989..2c98258f 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/list-panel.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-list-panel/list-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { BottomPanel } from '@coze-workflow/test-run-shared'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/date-picker.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/date-picker.tsx index 5dc57c3b..de92e985 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/date-picker.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/date-picker.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import dayjs from 'dayjs'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/index.ts b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/index.ts index 3bef75f6..7b11b018 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TraceSelect } from './trace-select'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/select-option.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/select-option.tsx index 99ed1a9f..a18e47e3 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/select-option.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/select-option.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { gotoDebugFlow } from '@coze-workflow/test-run-shared'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/status-select.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/status-select.tsx index c205d5ef..14b6d051 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/status-select.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/status-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/trace-select.tsx b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/trace-select.tsx index 0fec20d7..eab091a2 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/trace-select.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/trace-select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/use-options.ts b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/use-options.ts index 1c95deb9..d821e91f 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/use-options.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/components/trace-select/use-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { useCallback, useEffect, useRef, useState } from 'react'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/constants.ts b/frontend/packages/workflow/test-run-next/trace/src/constants.ts index c10f1642..5de774d1 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/constants.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum TraceChartsMode { Table, FlameThread, diff --git a/frontend/packages/workflow/test-run-next/trace/src/contexts/index.ts b/frontend/packages/workflow/test-run-next/trace/src/contexts/index.ts index 8a97a1d9..04e1e4d1 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/contexts/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/contexts/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TraceListProvider, useTraceListStore } from './trace-list'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/contexts/trace-list/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/contexts/trace-list/index.tsx index f3600c84..a0690487 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/contexts/trace-list/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/contexts/trace-list/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useMemo, useContext } from 'react'; import { createWithEqualityFn } from 'zustand/traditional'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/global.d.ts b/frontend/packages/workflow/test-run-next/trace/src/global.d.ts index 63edbe8e..6c50f74c 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/global.d.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.otf' { const content: string; diff --git a/frontend/packages/workflow/test-run-next/trace/src/index.ts b/frontend/packages/workflow/test-run-next/trace/src/index.ts index e15f7b64..529a0b20 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TraceListPanel } from './components/trace-list-panel'; export { TraceDetailPanel } from './components/trace-detail-panel'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/config.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/config.ts index 5c414995..4430242b 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/config.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GlobalStyle, type RectStyle, diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/index.tsx index 45238045..ac84df24 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ /* eslint-disable max-lines-per-function */ diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/typing.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/typing.ts index 0292bfc6..61a42c44 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/typing.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/flamethread/typing.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type CSSProperties } from 'react'; import { diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/message-title/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/message-title/index.tsx index fd636e24..d67d23c8 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/message-title/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/message-title/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozCopy, IconCozCopyCheck } from '@coze-arch/coze-design/icons'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/time-tag/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/time-tag/index.tsx index f065812a..899ef74d 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/time-tag/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/time-tag/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { isUndefined } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/config.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/config.ts index eabe9123..3f2b4f64 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/config.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type GlobalStyle, type LineStyle } from './typing'; export const defaultGlobalStyle: GlobalStyle = { diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/index.tsx index 93ab9317..ab09cd5b 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-magic-numbers -- there will be many numbers calculated in this component, no need to deal with them*/ import { type FC, useCallback, useMemo, useState } from 'react'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/typing.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/typing.ts index a53808b1..f3c11796 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/typing.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/typing.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode, type SVGAttributes } from 'react'; import { type SpanNode } from '../../typings/graph'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/util.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/util.ts index 9efae74b..3e7b8b1a 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/util.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/common/tree/util.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { omit } from 'lodash-es'; import { type TreeNodeFlatten, type TreeNode, type Line } from './typing'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/basic.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/basic.tsx index 8873c562..57635592 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/basic.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/basic.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Value, TagType } from '../typings/idl'; export enum StatusCode { diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/graph.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/graph.tsx index 8a4ca168..36ff4b70 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/graph.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/graph.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ import { type TraceFlamethreadProps, diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/index.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/index.ts index 04fa0e9a..7fdfea53 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/consts/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const STATUS_CODE_KEY = '_status_code'; export enum ObservationModules { diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/custom-json-viewer/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/custom-json-viewer/index.tsx index 0cd8d768..85bbd93c 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/custom-json-viewer/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/custom-json-viewer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isString } from 'lodash-es'; import { JsonViewer, diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/index.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/index.ts index 0e9bbf1a..a8137f76 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * From @flow-devops/observation-components copy * I don't understand the logic yet. diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/message-panel/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/message-panel/index.tsx index 410f5ea7..27ae025b 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/message-panel/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/message-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // import ReactJson from 'react-json-view'; import { type CSSProperties } from 'react'; @@ -62,8 +62,8 @@ export const MessagePanel = (props: MessagePanelProps) => { encrypted ? '' : typeof inputValue === 'string' - ? inputValue - : JSON.stringify(inputValue) + ? inputValue + : JSON.stringify(inputValue) } onCopyClick={onCopyClick} /> diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-flame-thread/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-flame-thread/index.tsx index 1f2f023b..d902cf65 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-flame-thread/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-flame-thread/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo, useState } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/context.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/context.ts index fa3fe08c..11645dc9 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/context.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext, useContext } from 'react'; import { type TreeNodeInfo } from '../common/tree/typing'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/graph-render.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/graph-render.tsx index c93a78d3..9bd4614f 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/graph-render.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/graph-render.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { clsx } from 'clsx'; @@ -135,8 +135,8 @@ export const CustomTreeNode = ({ Number(duration) > 60000 ? 'red' : Number(duration) > 10000 - ? 'yellow' - : 'green' + ? 'yellow' + : 'green' } type="light" className={styles['node-tag']} @@ -169,9 +169,10 @@ export const CustomTreeNode = ({ export const renderCustomTreeNode = ({ renderGraphNodeConfig }: SpanNodeRenderOptions) => - (nodeData: TreeNodeExtra) => ( - - ); + (nodeData: TreeNodeExtra) => + ( + + ); diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/index.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/index.tsx index 763be79b..a523ac17 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/index.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/trace-tree/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo, useState } from 'react'; import { clsx } from 'clsx'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/basic.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/basic.ts index 52bbdabb..7a1aacfe 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/basic.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/basic.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type TagType, type Value } from '../typings/idl'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/graph.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/graph.ts index 4b1ff62b..db36cdd1 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/graph.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/graph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type TooltipProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/idl.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/idl.ts index 6b7dd470..4f59808e 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/idl.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/typings/idl.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; export type Int64 = string | number; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/basic.tsx b/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/basic.tsx index 7b2d16df..93c8da9c 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/basic.tsx +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/basic.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { StatusCode } from '../consts/basic'; export const getStandardStatusCode = (status: number) => diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/graph.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/graph.ts index 151c260d..d521d46b 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/graph.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/graph.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniqBy } from 'lodash-es'; import { type TraceFrontendSpan } from '../typings/idl'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/index.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/index.ts index c31d3289..766f8d08 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/index.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import JSONBig from 'json-bigint'; import dayjs from 'dayjs'; diff --git a/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/time.ts b/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/time.ts index 0dbab955..e28b5569 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/time.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/observation-components/utils/time.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + const DECIMAL = 60; const UNIT_MILLISECOND = 1000; const UNIT_SECOND = DECIMAL * UNIT_MILLISECOND; diff --git a/frontend/packages/workflow/test-run-next/trace/src/types.ts b/frontend/packages/workflow/test-run-next/trace/src/types.ts index ed3b99df..52b61597 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/types.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export interface GotoParams { nodeId: string; workflowId: string; diff --git a/frontend/packages/workflow/test-run-next/trace/src/utils.ts b/frontend/packages/workflow/test-run-next/trace/src/utils.ts index d65cd501..718b80a7 100644 --- a/frontend/packages/workflow/test-run-next/trace/src/utils.ts +++ b/frontend/packages/workflow/test-run-next/trace/src/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniqBy } from 'lodash-es'; import dayjs from 'dayjs'; import { diff --git a/frontend/packages/workflow/test-run/src/components/collapse/collapse.tsx b/frontend/packages/workflow/test-run/src/components/collapse/collapse.tsx index 48f22677..77982f71 100644 --- a/frontend/packages/workflow/test-run/src/components/collapse/collapse.tsx +++ b/frontend/packages/workflow/test-run/src/components/collapse/collapse.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef, useState, forwardRef } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/components/collapse/index.ts b/frontend/packages/workflow/test-run/src/components/collapse/index.ts index 951f7589..a901d09a 100644 --- a/frontend/packages/workflow/test-run/src/components/collapse/index.ts +++ b/frontend/packages/workflow/test-run/src/components/collapse/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Collapse } from './collapse'; diff --git a/frontend/packages/workflow/test-run/src/components/file-icon/constants.ts b/frontend/packages/workflow/test-run/src/components/file-icon/constants.ts index 2579542b..a9fea73e 100644 --- a/frontend/packages/workflow/test-run/src/components/file-icon/constants.ts +++ b/frontend/packages/workflow/test-run/src/components/file-icon/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum FileItemStatus { Success = 'success', UploadFail = 'uploadFail', diff --git a/frontend/packages/workflow/test-run/src/components/file-icon/file-icon.tsx b/frontend/packages/workflow/test-run/src/components/file-icon/file-icon.tsx index 95608ba1..de9c796a 100644 --- a/frontend/packages/workflow/test-run/src/components/file-icon/file-icon.tsx +++ b/frontend/packages/workflow/test-run/src/components/file-icon/file-icon.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Spin, Image } from '@coze-arch/coze-design'; import { getIconByExtension, getFileExtension } from './utils'; diff --git a/frontend/packages/workflow/test-run/src/components/file-icon/index.ts b/frontend/packages/workflow/test-run/src/components/file-icon/index.ts index 524d0b83..66299059 100644 --- a/frontend/packages/workflow/test-run/src/components/file-icon/index.ts +++ b/frontend/packages/workflow/test-run/src/components/file-icon/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FileIcon } from './file-icon'; export { FileItemStatus } from './constants'; diff --git a/frontend/packages/workflow/test-run/src/components/file-icon/utils.ts b/frontend/packages/workflow/test-run/src/components/file-icon/utils.ts index 73f35685..fb0d8d8a 100644 --- a/frontend/packages/workflow/test-run/src/components/file-icon/utils.ts +++ b/frontend/packages/workflow/test-run/src/components/file-icon/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mime from 'mime-types'; import { IconCozFileAudio, diff --git a/frontend/packages/workflow/test-run/src/components/file-upload/constants.ts b/frontend/packages/workflow/test-run/src/components/file-upload/constants.ts index 20e7ce99..456862d2 100644 --- a/frontend/packages/workflow/test-run/src/components/file-upload/constants.ts +++ b/frontend/packages/workflow/test-run/src/components/file-upload/constants.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const MAX_IMAGE_SIZE = 1024 * 1024 * 5; export const MAX_FILE_SIZE = 1024 * 1024 * 20; diff --git a/frontend/packages/workflow/test-run/src/components/file-upload/file-upload.tsx b/frontend/packages/workflow/test-run/src/components/file-upload/file-upload.tsx index 41ba9f78..a2b87f23 100644 --- a/frontend/packages/workflow/test-run/src/components/file-upload/file-upload.tsx +++ b/frontend/packages/workflow/test-run/src/components/file-upload/file-upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import ClickAwayListener from 'react-click-away-listener'; import React, { useEffect, useRef } from 'react'; diff --git a/frontend/packages/workflow/test-run/src/components/file-upload/index.ts b/frontend/packages/workflow/test-run/src/components/file-upload/index.ts index 72a13331..ee9e0f1a 100644 --- a/frontend/packages/workflow/test-run/src/components/file-upload/index.ts +++ b/frontend/packages/workflow/test-run/src/components/file-upload/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FileUpload, type FileUploadProps } from './file-upload'; diff --git a/frontend/packages/workflow/test-run/src/components/file-upload/types.ts b/frontend/packages/workflow/test-run/src/components/file-upload/types.ts index c4c81bdd..ddeb706c 100644 --- a/frontend/packages/workflow/test-run/src/components/file-upload/types.ts +++ b/frontend/packages/workflow/test-run/src/components/file-upload/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { FileItemStatus } from '../file-icon'; export interface FileItem extends File { diff --git a/frontend/packages/workflow/test-run/src/components/file-upload/use-upload.ts b/frontend/packages/workflow/test-run/src/components/file-upload/use-upload.ts index 2fc4776d..d3a7969c 100644 --- a/frontend/packages/workflow/test-run/src/components/file-upload/use-upload.ts +++ b/frontend/packages/workflow/test-run/src/components/file-upload/use-upload.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines-per-function */ import { useState } from 'react'; @@ -134,8 +134,7 @@ export const useUpload = (props?: UploadConfig) => { const validateFile = async (file: FileItem): Promise => { const validateMsg = await validate(file, { customValidate, - maxSize: - (maxSize ?? fileType === 'image') ? MAX_IMAGE_SIZE : MAX_FILE_SIZE, + maxSize: maxSize ?? fileType === 'image' ? MAX_IMAGE_SIZE : MAX_FILE_SIZE, accept, }); if (validateMsg) { diff --git a/frontend/packages/workflow/test-run/src/components/file-upload/utils.ts b/frontend/packages/workflow/test-run/src/components/file-upload/utils.ts index 28927129..179820a9 100644 --- a/frontend/packages/workflow/test-run/src/components/file-upload/utils.ts +++ b/frontend/packages/workflow/test-run/src/components/file-upload/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import mime from 'mime-types'; import { isNil } from 'lodash-es'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/components/form-empty/index.tsx b/frontend/packages/workflow/test-run/src/components/form-empty/index.tsx index e8873bdc..91fbafd1 100644 --- a/frontend/packages/workflow/test-run/src/components/form-empty/index.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-empty/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/components/form-engine/form-core.tsx b/frontend/packages/workflow/test-run/src/components/form-engine/form-core.tsx index 51edeb29..94fa6cda 100644 --- a/frontend/packages/workflow/test-run/src/components/form-engine/form-core.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-engine/form-core.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, forwardRef, useImperativeHandle } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/test-run/src/components/form-engine/index.ts b/frontend/packages/workflow/test-run/src/components/form-engine/index.ts index a8c5689f..b1dce580 100644 --- a/frontend/packages/workflow/test-run/src/components/form-engine/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-engine/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FormCore } from './form-core'; diff --git a/frontend/packages/workflow/test-run/src/components/form-engine/lazy-form-core.tsx b/frontend/packages/workflow/test-run/src/components/form-engine/lazy-form-core.tsx index 95a4ae54..b29085a3 100644 --- a/frontend/packages/workflow/test-run/src/components/form-engine/lazy-form-core.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-engine/lazy-form-core.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { Suspense, lazy, forwardRef } from 'react'; import type { FormCoreProps, FormCoreRef } from './form-core'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/file-upload/file-upload.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/file-upload/file-upload.tsx index 306a94b7..4ad5cb34 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/file-upload/file-upload.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/file-upload/file-upload.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { connect, mapProps } from '@formily/react'; import { FileUpload as FileUploadAdapter } from '../../file-upload'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/file-upload/index.ts b/frontend/packages/workflow/test-run/src/components/form-materials/file-upload/index.ts index 232dea90..59f3984d 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/file-upload/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-materials/file-upload/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FileUpload } from './file-upload'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/form-item/index.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/form-item/index.tsx index 885acdfb..cb116ef9 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/form-item/index.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/form-item/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Test run test form layout FormItem */ diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/form-section/index.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/form-section/index.tsx index 0a2d4c83..6b8767eb 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/form-section/index.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/form-section/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/full-input/full-input.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/full-input/full-input.tsx index ee804d2e..76d07385 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/full-input/full-input.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/full-input/full-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect, useRef, Suspense } from 'react'; import { nanoid } from 'nanoid'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/full-input/index.ts b/frontend/packages/workflow/test-run/src/components/form-materials/full-input/index.ts index 668029c0..3fe7fe9c 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/full-input/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-materials/full-input/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FullInput } from './full-input'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/index.ts b/frontend/packages/workflow/test-run/src/components/form-materials/index.ts index c153aad8..7226575e 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-materials/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + // components export { Input } from './input'; export { FileUpload } from './file-upload'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/base-input-number-v2.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/base-input-number-v2.tsx index e872857e..dd1a6b0f 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/base-input-number-v2.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/base-input-number-v2.tsx @@ -13,15 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, useMemo, useEffect } from 'react'; import cls from 'classnames'; import BigNumber, { type BigNumber as IBigNumber } from 'bignumber.js'; -import { - IconCozArrowDown, - IconCozArrowUp, -} from '@coze-arch/coze-design/icons'; +import { IconCozArrowDown, IconCozArrowUp } from '@coze-arch/coze-design/icons'; import { Input, type InputProps } from '@coze-arch/coze-design'; import css from './base-input-number-v2.module.less'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/base-input-number.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/base-input-number.tsx index 9ef2bf38..fc485a85 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/base-input-number.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/base-input-number.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { CozInputNumber, type InputNumberProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/index.ts b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/index.ts index c848a93c..26b6bd47 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputInteger } from './input-integer'; export { InputNumber } from './input-number'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/input-integer.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/input-integer.tsx index 2f990f9f..b9b4d1cf 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/input-integer.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/input-integer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { connect } from '@formily/react'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/input-number.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/input-number.tsx index b65c6984..babfa4b7 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input-number/input-number.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input-number/input-number.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { connect } from '@formily/react'; import { BaseInputNumberAdapter } from './base-input-number'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input-time/index.ts b/frontend/packages/workflow/test-run/src/components/form-materials/input-time/index.ts index 8658364c..4b650e01 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input-time/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input-time/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputTime, type InputTimeProps } from './time'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input-time/time.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/input-time/time.tsx index bc356ba4..c812029c 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input-time/time.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input-time/time.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input/index.ts b/frontend/packages/workflow/test-run/src/components/form-materials/input/index.ts index 92a6c88e..7a130d76 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Input } from './input'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/input/input.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/input/input.tsx index 3fe2c699..a8d6fe4e 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/input/input.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/input/input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { connect, mapProps } from '@formily/react'; import { Input as InputCore } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/switch/index.ts b/frontend/packages/workflow/test-run/src/components/form-materials/switch/index.ts index 38e65bb3..f3943f63 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/switch/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-materials/switch/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { Switch } from './switch'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/switch/switch.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/switch/switch.tsx index 3fa29968..c7e9181b 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/switch/switch.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/switch/switch.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { connect } from '@formily/react'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/text-area/index.ts b/frontend/packages/workflow/test-run/src/components/form-materials/text-area/index.ts index 22ee0419..40679d0a 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/text-area/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-materials/text-area/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TextArea } from './text-area'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/text-area/text-area.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/text-area/text-area.tsx index b79709ae..9aa06060 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/text-area/text-area.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/text-area/text-area.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { connect, mapProps } from '@formily/react'; import { TextArea as TextAreaCore } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/components/form-materials/voice-select/index.tsx b/frontend/packages/workflow/test-run/src/components/form-materials/voice-select/index.tsx index 50bac7a4..f4449ff9 100644 --- a/frontend/packages/workflow/test-run/src/components/form-materials/voice-select/index.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-materials/voice-select/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { connect, mapProps } from '@formily/react'; import { VoiceSelect as VoiceSelectBase } from '@coze-workflow/components'; diff --git a/frontend/packages/workflow/test-run/src/components/form-panel/form-panel-layout.tsx b/frontend/packages/workflow/test-run/src/components/form-panel/form-panel-layout.tsx index ebe6a963..485add97 100644 --- a/frontend/packages/workflow/test-run/src/components/form-panel/form-panel-layout.tsx +++ b/frontend/packages/workflow/test-run/src/components/form-panel/form-panel-layout.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/components/form-panel/index.ts b/frontend/packages/workflow/test-run/src/components/form-panel/index.ts index 41710122..c7aa832d 100644 --- a/frontend/packages/workflow/test-run/src/components/form-panel/index.ts +++ b/frontend/packages/workflow/test-run/src/components/form-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FormPanelLayout } from './form-panel-layout'; diff --git a/frontend/packages/workflow/test-run/src/components/index.ts b/frontend/packages/workflow/test-run/src/components/index.ts index 1c008aae..a71fb9c4 100644 --- a/frontend/packages/workflow/test-run/src/components/index.ts +++ b/frontend/packages/workflow/test-run/src/components/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * base components */ diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/hooks/use-get-current-result.ts b/frontend/packages/workflow/test-run/src/components/log-detail/hooks/use-get-current-result.ts index 9c3da3f5..fac885d8 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/hooks/use-get-current-result.ts +++ b/frontend/packages/workflow/test-run/src/components/log-detail/hooks/use-get-current-result.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { useQuery } from '@tanstack/react-query'; diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/index.ts b/frontend/packages/workflow/test-run/src/components/log-detail/index.ts index 9833e49e..e7a833f2 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/index.ts +++ b/frontend/packages/workflow/test-run/src/components/log-detail/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Components that parse run results */ diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/log-detail.tsx b/frontend/packages/workflow/test-run/src/components/log-detail/log-detail.tsx index ceedc659..5d587494 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/log-detail.tsx +++ b/frontend/packages/workflow/test-run/src/components/log-detail/log-detail.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useLayoutEffect, useMemo, useState } from 'react'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/empty.tsx b/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/empty.tsx index d55eb8a8..d25d5852 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/empty.tsx +++ b/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozIllusDone } from '@coze-arch/coze-design/illustrations'; diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/index.tsx b/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/index.tsx index 7744a78e..9b5aafb9 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/index.tsx +++ b/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/log-field.tsx b/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/log-field.tsx index e9197834..5fe38ab0 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/log-field.tsx +++ b/frontend/packages/workflow/test-run/src/components/log-detail/log-fields/log-field.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeExeStatus } from '@coze-arch/bot-api/workflow_api'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/log-images/index.ts b/frontend/packages/workflow/test-run/src/components/log-detail/log-images/index.ts index 08025706..a330551e 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/log-images/index.ts +++ b/frontend/packages/workflow/test-run/src/components/log-detail/log-images/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeResult } from '@coze-workflow/base'; /** diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/pagination/index.tsx b/frontend/packages/workflow/test-run/src/components/log-detail/pagination/index.tsx index 6b4d8471..60bff7cd 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/pagination/index.tsx +++ b/frontend/packages/workflow/test-run/src/components/log-detail/pagination/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * Batch pager */ diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/pagination/more-selector.tsx b/frontend/packages/workflow/test-run/src/components/log-detail/pagination/more-selector.tsx index 4902b99b..0bdf9ecf 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/pagination/more-selector.tsx +++ b/frontend/packages/workflow/test-run/src/components/log-detail/pagination/more-selector.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useMemo, diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/pagination/page-item.tsx b/frontend/packages/workflow/test-run/src/components/log-detail/pagination/page-item.tsx index 80f8834d..51f3f1c0 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/pagination/page-item.tsx +++ b/frontend/packages/workflow/test-run/src/components/log-detail/pagination/page-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo } from 'react'; import { isNumber } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/components/log-detail/pagination/page-selector.tsx b/frontend/packages/workflow/test-run/src/components/log-detail/pagination/page-selector.tsx index e710874f..07c3e281 100644 --- a/frontend/packages/workflow/test-run/src/components/log-detail/pagination/page-selector.tsx +++ b/frontend/packages/workflow/test-run/src/components/log-detail/pagination/page-selector.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { type NodeResult } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/test-run/src/components/node-event-info/index.ts b/frontend/packages/workflow/test-run/src/components/node-event-info/index.ts index 7ac45d1c..bfa64249 100644 --- a/frontend/packages/workflow/test-run/src/components/node-event-info/index.ts +++ b/frontend/packages/workflow/test-run/src/components/node-event-info/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodeEventInfo } from './node-event-info'; diff --git a/frontend/packages/workflow/test-run/src/components/node-event-info/node-event-info.tsx b/frontend/packages/workflow/test-run/src/components/node-event-info/node-event-info.tsx index 8ff06a03..1d85e345 100644 --- a/frontend/packages/workflow/test-run/src/components/node-event-info/node-event-info.tsx +++ b/frontend/packages/workflow/test-run/src/components/node-event-info/node-event-info.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Avatar, Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/components/resizable-panel/base-panel.tsx b/frontend/packages/workflow/test-run/src/components/resizable-panel/base-panel.tsx index 8e4aae02..c6ffaf3a 100644 --- a/frontend/packages/workflow/test-run/src/components/resizable-panel/base-panel.tsx +++ b/frontend/packages/workflow/test-run/src/components/resizable-panel/base-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { isObject } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/components/resizable-panel/index.tsx b/frontend/packages/workflow/test-run/src/components/resizable-panel/index.tsx index cc34bba7..75eb8645 100644 --- a/frontend/packages/workflow/test-run/src/components/resizable-panel/index.tsx +++ b/frontend/packages/workflow/test-run/src/components/resizable-panel/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState, useRef, diff --git a/frontend/packages/workflow/test-run/src/components/resizable-panel/use-resize.ts b/frontend/packages/workflow/test-run/src/components/resizable-panel/use-resize.ts index 2d74b914..36b90f9a 100644 --- a/frontend/packages/workflow/test-run/src/components/resizable-panel/use-resize.ts +++ b/frontend/packages/workflow/test-run/src/components/resizable-panel/use-resize.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useRef, useCallback } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/test-run/src/components/test-button/base-test-button.tsx b/frontend/packages/workflow/test-run/src/components/test-button/base-test-button.tsx index 5558a3c2..705250f0 100644 --- a/frontend/packages/workflow/test-run/src/components/test-button/base-test-button.tsx +++ b/frontend/packages/workflow/test-run/src/components/test-button/base-test-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozPlayFill } from '@coze-arch/coze-design/icons'; import { Button, type ButtonProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/components/test-button/index.ts b/frontend/packages/workflow/test-run/src/components/test-button/index.ts index 6906c1cc..bd466018 100644 --- a/frontend/packages/workflow/test-run/src/components/test-button/index.ts +++ b/frontend/packages/workflow/test-run/src/components/test-button/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { BaseTestButton } from './base-test-button'; export { TraceIconButton } from './trace-icon-button'; diff --git a/frontend/packages/workflow/test-run/src/components/test-button/trace-icon-button.tsx b/frontend/packages/workflow/test-run/src/components/test-button/trace-icon-button.tsx index fb49010e..b3668168 100644 --- a/frontend/packages/workflow/test-run/src/components/test-button/trace-icon-button.tsx +++ b/frontend/packages/workflow/test-run/src/components/test-button/trace-icon-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozDebug } from '@coze-arch/coze-design/icons'; import { IconButton, Tooltip, type ButtonProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/auto-gen-button.tsx b/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/auto-gen-button.tsx index 06603754..588351e9 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/auto-gen-button.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/auto-gen-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/index.ts b/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/index.ts index cde2a7c5..165680cf 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/index.ts +++ b/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { AutoGenButton } from './auto-gen-button'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/use-auto-gen.ts b/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/use-auto-gen.ts index 7c045458..fbfe1d46 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/use-auto-gen.ts +++ b/frontend/packages/workflow/test-run/src/components/testset/auto-gen-button/use-auto-gen.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useRef } from 'react'; import { debuggerApi } from '@coze-arch/bot-api'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/chat-flow-edit-form.tsx b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/chat-flow-edit-form.tsx index 99e8c77c..81a7cf20 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/chat-flow-edit-form.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/chat-flow-edit-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useCallback, diff --git a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-form-section.tsx b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-form-section.tsx index 097bf915..f7a0edc7 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-form-section.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-form-section.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { Fragment, useMemo } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-form.tsx b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-form.tsx index 67b9f128..f84b6626 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-form.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, useCallback, diff --git a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-panel.tsx b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-panel.tsx index 8f32f9e9..365ce422 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-panel.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/edit-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useTestsetManageStore } from '../use-testset-manage-store'; import { TestsetEditForm } from './edit-form'; import { ChatFlowTestsetEditForm } from './chat-flow-edit-form'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/index.ts b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/index.ts index ea5b9aaf..7b23bda8 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/index.ts +++ b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestsetEditPanel } from './edit-panel'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/name-input.tsx b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/name-input.tsx index fad6b743..aa873319 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/name-input.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/name-input.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ChangeEvent, type FocusEvent } from 'react'; import { diff --git a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/use-edit-form-schemas.ts b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/use-edit-form-schemas.ts index 9fcafcde..e048ce1e 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/edit-panel/use-edit-form-schemas.ts +++ b/frontend/packages/workflow/test-run/src/components/testset/edit-panel/use-edit-form-schemas.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { useRequest } from 'ahooks'; import { type CaseDataDetail } from '@coze-arch/bot-api/debugger_api'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/index.ts b/frontend/packages/workflow/test-run/src/components/testset/index.ts index 65702d41..aa690b46 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/index.ts +++ b/frontend/packages/workflow/test-run/src/components/testset/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestsetManageProvider } from './manage-provider'; export { TestsetSelect, diff --git a/frontend/packages/workflow/test-run/src/components/testset/manage-provider.tsx b/frontend/packages/workflow/test-run/src/components/testset/manage-provider.tsx index 39792913..c3aae7d3 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/manage-provider.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/manage-provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef, type PropsWithChildren, createContext } from 'react'; import { create } from 'zustand'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/select/add-button.tsx b/frontend/packages/workflow/test-run/src/components/testset/select/add-button.tsx index 0e76c75b..13308c3d 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/select/add-button.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/select/add-button.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/select/auto-load-more.tsx b/frontend/packages/workflow/test-run/src/components/testset/select/auto-load-more.tsx index 37a500ae..8f485513 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/select/auto-load-more.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/select/auto-load-more.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { forwardRef } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/select/index.ts b/frontend/packages/workflow/test-run/src/components/testset/select/index.ts index eeb9914e..c51dbed3 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/select/index.ts +++ b/frontend/packages/workflow/test-run/src/components/testset/select/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestsetSelect, type TestsetSelectProps, diff --git a/frontend/packages/workflow/test-run/src/components/testset/select/select-item.tsx b/frontend/packages/workflow/test-run/src/components/testset/select/select-item.tsx index fea8055f..9ec95b58 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/select/select-item.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/select/select-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { forwardRef, useCallback, type ReactNode } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/components/testset/select/select.tsx b/frontend/packages/workflow/test-run/src/components/testset/select/select.tsx index d6cc7999..1f8a8d2f 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/select/select.tsx +++ b/frontend/packages/workflow/test-run/src/components/testset/select/select.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useEffect, @@ -220,7 +220,7 @@ export const TestsetSelect = forwardRef( onSearch={handleSearch} emptyContent={I18n.t('workflow_testset_search_empty')} renderSelectedItem={() => - testset ? (testset.caseBase?.name ?? '-') : null + testset ? testset.caseBase?.name ?? '-' : null } disabled={disabled} outerBottomSlot={ diff --git a/frontend/packages/workflow/test-run/src/components/testset/select/use-testset-options.ts b/frontend/packages/workflow/test-run/src/components/testset/select/use-testset-options.ts index 3cd31cd7..412a9633 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/select/use-testset-options.ts +++ b/frontend/packages/workflow/test-run/src/components/testset/select/use-testset-options.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useCallback, useRef } from 'react'; import { diff --git a/frontend/packages/workflow/test-run/src/components/testset/use-testset-manage-store.ts b/frontend/packages/workflow/test-run/src/components/testset/use-testset-manage-store.ts index 9bc4cef9..214add2d 100644 --- a/frontend/packages/workflow/test-run/src/components/testset/use-testset-manage-store.ts +++ b/frontend/packages/workflow/test-run/src/components/testset/use-testset-manage-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { shallow } from 'zustand/shallow'; diff --git a/frontend/packages/workflow/test-run/src/constants/condition.ts b/frontend/packages/workflow/test-run/src/constants/condition.ts index 558e1078..6f36339d 100644 --- a/frontend/packages/workflow/test-run/src/constants/condition.ts +++ b/frontend/packages/workflow/test-run/src/constants/condition.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { merge } from 'lodash-es'; import { ConditionType } from '@coze-workflow/base/api'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/constants/form.ts b/frontend/packages/workflow/test-run/src/constants/form.ts index 52a883e1..87a414df 100644 --- a/frontend/packages/workflow/test-run/src/constants/form.ts +++ b/frontend/packages/workflow/test-run/src/constants/form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Fixed field name */ export enum FieldName { Node = '_node', diff --git a/frontend/packages/workflow/test-run/src/constants/index.ts b/frontend/packages/workflow/test-run/src/constants/index.ts index 25080774..4373467d 100644 --- a/frontend/packages/workflow/test-run/src/constants/index.ts +++ b/frontend/packages/workflow/test-run/src/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { totalConditionValueMap, ConditionRightType, diff --git a/frontend/packages/workflow/test-run/src/constants/log.ts b/frontend/packages/workflow/test-run/src/constants/log.ts index 238d3aaf..430d60bd 100644 --- a/frontend/packages/workflow/test-run/src/constants/log.ts +++ b/frontend/packages/workflow/test-run/src/constants/log.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum EndTerminalPlan { Variable = 1, Text = 2, diff --git a/frontend/packages/workflow/test-run/src/constants/testset.ts b/frontend/packages/workflow/test-run/src/constants/testset.ts index bd7a7bdb..8c1bfbfd 100644 --- a/frontend/packages/workflow/test-run/src/constants/testset.ts +++ b/frontend/packages/workflow/test-run/src/constants/testset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** * TestSet List Page Size */ diff --git a/frontend/packages/workflow/test-run/src/features/input/components/input-form/index.ts b/frontend/packages/workflow/test-run/src/features/input/components/input-form/index.ts index 1c32d334..d3b5eaa8 100644 --- a/frontend/packages/workflow/test-run/src/features/input/components/input-form/index.ts +++ b/frontend/packages/workflow/test-run/src/features/input/components/input-form/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputForm } from './input-form'; diff --git a/frontend/packages/workflow/test-run/src/features/input/components/input-form/input-form.tsx b/frontend/packages/workflow/test-run/src/features/input/components/input-form/input-form.tsx index e6772548..d1992ae7 100644 --- a/frontend/packages/workflow/test-run/src/features/input/components/input-form/input-form.tsx +++ b/frontend/packages/workflow/test-run/src/features/input/components/input-form/input-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/input/components/input-form/use-sync.ts b/frontend/packages/workflow/test-run/src/features/input/components/input-form/use-sync.ts index 5cbbeae4..25d3edf8 100644 --- a/frontend/packages/workflow/test-run/src/features/input/components/input-form/use-sync.ts +++ b/frontend/packages/workflow/test-run/src/features/input/components/input-form/use-sync.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/test-run/src/features/input/components/schema-form/index.ts b/frontend/packages/workflow/test-run/src/features/input/components/schema-form/index.ts index 5f924123..4ae0dde7 100644 --- a/frontend/packages/workflow/test-run/src/features/input/components/schema-form/index.ts +++ b/frontend/packages/workflow/test-run/src/features/input/components/schema-form/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { SchemaForm } from './schema-form'; diff --git a/frontend/packages/workflow/test-run/src/features/input/components/schema-form/schema-form.tsx b/frontend/packages/workflow/test-run/src/features/input/components/schema-form/schema-form.tsx index 0f94c5d9..ca549262 100644 --- a/frontend/packages/workflow/test-run/src/features/input/components/schema-form/schema-form.tsx +++ b/frontend/packages/workflow/test-run/src/features/input/components/schema-form/schema-form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback, useMemo, useRef } from 'react'; import { type Form } from '@formily/core'; diff --git a/frontend/packages/workflow/test-run/src/features/input/constants.ts b/frontend/packages/workflow/test-run/src/features/input/constants.ts index 3efce2eb..20c42191 100644 --- a/frontend/packages/workflow/test-run/src/features/input/constants.ts +++ b/frontend/packages/workflow/test-run/src/features/input/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ViewVariableType } from '@coze-workflow/base'; export const ACCEPT_MAP = { diff --git a/frontend/packages/workflow/test-run/src/features/input/index.ts b/frontend/packages/workflow/test-run/src/features/input/index.ts index ecdd4e1b..644a9976 100644 --- a/frontend/packages/workflow/test-run/src/features/input/index.ts +++ b/frontend/packages/workflow/test-run/src/features/input/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { InputForm } from './components/input-form'; diff --git a/frontend/packages/workflow/test-run/src/features/input/utils.ts b/frontend/packages/workflow/test-run/src/features/input/utils.ts index febe779d..ae931a24 100644 --- a/frontend/packages/workflow/test-run/src/features/input/utils.ts +++ b/frontend/packages/workflow/test-run/src/features/input/utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { variableUtils } from '@coze-workflow/variable'; import { ViewVariableType } from '@coze-workflow/base'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/constants.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/constants.ts index 412195bf..6155d883 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/constants.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Preset special key */ export enum LogObjSpecialKey { Error = '$error', diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/context.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/context.ts index 608cf6af..c1623de4 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/context.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type DataViewerStore } from './create-store'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/create-store.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/create-store.ts index c034cb87..19a75018 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/create-store.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/create-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn, type UseBoundStoreWithEqualityFn, diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/index.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/index.ts index df06108c..5f3a90b6 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { DataViewerProvider } from './provider'; export { DataViewerContext } from './context'; export { type DataViewerState } from './create-store'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/provider.tsx b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/provider.tsx index 020aebb0..e4e68609 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/provider.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/context/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useMemo } from 'react'; import { type Field } from '../types'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/data-viewer.tsx b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/data-viewer.tsx index 00692d66..6429649e 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/data-viewer.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/data-viewer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { noop } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/index.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/index.ts index 09e7767c..a26c249f 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useExpand } from './use-expand'; export { useValue } from './use-value'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-data-viewer-store.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-data-viewer-store.ts index f7511514..342817c9 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-data-viewer-store.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-data-viewer-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { DataViewerContext, type DataViewerState } from '../context'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-expand.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-expand.ts index 61c8a714..5f5bfca4 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-expand.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-expand.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemoizedFn } from 'ahooks'; import { useDataViewerStore } from './use-data-viewer-store'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-value.tsx b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-value.tsx index a2906e77..f87bc224 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-value.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/hooks/use-value.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { isBoolean, isNil, isNumber, isObject, isString } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/index.tsx b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/index.tsx index 03f05a99..2067d747 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/index.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type { JsonValueType } from './types'; export { DataViewer, DataViewerProps } from './data-viewer'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/json-field/index.tsx b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/json-field/index.tsx index 72e85b8f..cf37241b 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/json-field/index.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/json-field/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useEffect, useMemo } from 'react'; import { isString, last } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/types.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/types.ts index c0a01906..3b14fb0a 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/types.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /******************************************************************************* * Log related types */ diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/big-number.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/big-number.ts index abba699d..37e4bc3a 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/big-number.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/big-number.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import BigNumber from 'bignumber.js'; /** diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/generate-field.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/generate-field.ts index 86d5e8e3..b831d846 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/generate-field.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/generate-field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { LineStatus, type JsonValueType, type Field } from '../types'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/index.ts b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/index.ts index 1f86891b..5a4b9aff 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/data-viewer/utils/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { generateFields } from './generate-field'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-images/images-preview.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-images/images-preview.tsx index 27d0ce19..60f35732 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-images/images-preview.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-images/images-preview.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useRef } from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-images/index.ts b/frontend/packages/workflow/test-run/src/features/log/components/log-images/index.ts index fc11a562..73b62437 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-images/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-images/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { LogImages } from './log-images'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-images/log-images.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-images/log-images.tsx index 069621fc..140f0865 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-images/log-images.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-images/log-images.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { IconCozArrowBottom } from '@coze-arch/coze-design/icons'; import { Button } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/condition-log-parser.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/condition-log-parser.tsx index 9a1837e6..1a3b4827 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/condition-log-parser.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/condition-log-parser.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { pick } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/content-header.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/content-header.tsx index 61ca11f0..0cdf2551 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/content-header.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/content-header.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC, type PropsWithChildren } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/function-call-panel.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/function-call-panel.tsx index cca68eb6..34fea97e 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/function-call-panel.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/function-call-panel.tsx @@ -13,15 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, type FC } from 'react'; import classNames from 'classnames'; import { I18n } from '@coze-arch/i18n'; -import { - IconCozArrowDown, - IconCozArrowUp, -} from '@coze-arch/coze-design/icons'; +import { IconCozArrowDown, IconCozArrowUp } from '@coze-arch/coze-design/icons'; import { DataViewer } from '../../data-viewer'; import { type FunctionCallLogItem } from '../../../types'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/index.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/index.tsx index 7b0e1524..92a2998c 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/index.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/function-call-log-parser/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/index.ts b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/index.ts index f04fa9a8..17816451 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OutputLogParser } from './output-log-parser'; export { ConditionLogParser } from './condition-log-parser'; export { NormalLogParser } from './normal-log-parser'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/log-wrap.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/log-wrap.tsx index 4397dd2f..a9888703 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/log-wrap.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/log-wrap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useCallback, useMemo, useState, type ReactNode } from 'react'; import { isObject, toString, isNil } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/normal-log-parser.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/normal-log-parser.tsx index 8e3e20d7..6d29b7aa 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/normal-log-parser.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/normal-log-parser.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { DataViewer } from '../data-viewer'; import { type BaseLog } from '../../types'; import { LogWrap } from './log-wrap'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/index.ts b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/index.ts index 5c4363e1..87eddc6c 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { OutputLogParser } from './output-log-parser'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/is-different-output.ts b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/is-different-output.ts index e823bcf4..a83a200b 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/is-different-output.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/is-different-output.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isEqual, isObject, isUndefined, omit } from 'lodash-es'; import { type LogValueType } from '../../../types'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/output-log-parser.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/output-log-parser.tsx index b35eb659..46f7705c 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/output-log-parser.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/output-log-parser.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isObject } from 'lodash-es'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { StandardNodeType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/convert.ts b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/convert.ts index 566597dd..1845d8d9 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/convert.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/convert.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { isInteger } from 'lodash-es'; import { ViewVariableType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/index.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/index.tsx index 4873f064..65b7db5f 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/index.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FC } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/use-sync-output.ts b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/use-sync-output.ts index a06cc60b..14a686d6 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/use-sync-output.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/sync-output-to-node/use-sync-output.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/use-output-log.ts b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/use-output-log.ts index 55083a72..15787c1c 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/use-output-log.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/output-log-parser/use-output-log.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useMemo } from 'react'; import { toString } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/workflow-link-parser.tsx b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/workflow-link-parser.tsx index c4b1cdac..93d56599 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/log-parser/workflow-link-parser.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/log-parser/workflow-link-parser.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/index.ts b/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/index.ts index f6f22cf0..e29d1db2 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useMarkdownModal } from './use-markdown-modal'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/markdown-modal.tsx b/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/markdown-modal.tsx index cab59538..0bf32f66 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/markdown-modal.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/markdown-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Modal } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/markdown-viewer.tsx b/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/markdown-viewer.tsx index 6e2e6a38..c0da6789 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/markdown-viewer.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/markdown-viewer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import cls from 'classnames'; import { MdBoxLazy } from '@coze-arch/bot-md-box-adapter/lazy'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/use-markdown-modal.tsx b/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/use-markdown-modal.tsx index a370de98..9bb02e34 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/use-markdown-modal.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/markdown-viewer/use-markdown-modal.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo, useState } from 'react'; import { MarkdownModal } from './markdown-modal'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/node-status-bar/index.ts b/frontend/packages/workflow/test-run/src/features/log/components/node-status-bar/index.ts index e0e8f79b..eddf31b9 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/node-status-bar/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/components/node-status-bar/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodeStatusBar } from './node-status-bar'; diff --git a/frontend/packages/workflow/test-run/src/features/log/components/node-status-bar/node-status-bar.tsx b/frontend/packages/workflow/test-run/src/features/log/components/node-status-bar/node-status-bar.tsx index 945b8781..6bb5890e 100644 --- a/frontend/packages/workflow/test-run/src/features/log/components/node-status-bar/node-status-bar.tsx +++ b/frontend/packages/workflow/test-run/src/features/log/components/node-status-bar/node-status-bar.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useState } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/features/log/constants/condition.ts b/frontend/packages/workflow/test-run/src/features/log/constants/condition.ts index c63a1c2f..88f59b64 100644 --- a/frontend/packages/workflow/test-run/src/features/log/constants/condition.ts +++ b/frontend/packages/workflow/test-run/src/features/log/constants/condition.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { merge } from 'lodash-es'; import { ConditionType } from '@coze-workflow/base/api'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/log/constants/index.ts b/frontend/packages/workflow/test-run/src/features/log/constants/index.ts index 79b56443..4a11162f 100644 --- a/frontend/packages/workflow/test-run/src/features/log/constants/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/constants/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { totalConditionValueMap, ConditionRightType, diff --git a/frontend/packages/workflow/test-run/src/features/log/hooks/use-copy.ts b/frontend/packages/workflow/test-run/src/features/log/hooks/use-copy.ts index a4d880e5..a464ad9e 100644 --- a/frontend/packages/workflow/test-run/src/features/log/hooks/use-copy.ts +++ b/frontend/packages/workflow/test-run/src/features/log/hooks/use-copy.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { isObject, toString } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/index.ts b/frontend/packages/workflow/test-run/src/features/log/index.ts index 557831fe..e644bdfe 100644 --- a/frontend/packages/workflow/test-run/src/features/log/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodeStatusBar } from './components/node-status-bar'; export { LogImages } from './components/log-images'; export { DataViewer } from './components/data-viewer'; diff --git a/frontend/packages/workflow/test-run/src/features/log/types.ts b/frontend/packages/workflow/test-run/src/features/log/types.ts index 772769e8..942317c5 100644 --- a/frontend/packages/workflow/test-run/src/features/log/types.ts +++ b/frontend/packages/workflow/test-run/src/features/log/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowLinkLogData } from '@/types'; import { type LogType } from './constants'; diff --git a/frontend/packages/workflow/test-run/src/features/log/utils/field.ts b/frontend/packages/workflow/test-run/src/features/log/utils/field.ts index cec66a15..80f6ee08 100644 --- a/frontend/packages/workflow/test-run/src/features/log/utils/field.ts +++ b/frontend/packages/workflow/test-run/src/features/log/utils/field.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type Log, type ConditionLog, diff --git a/frontend/packages/workflow/test-run/src/features/log/utils/generate-llm-output.ts b/frontend/packages/workflow/test-run/src/features/log/utils/generate-llm-output.ts index c4b21c37..8fc29707 100644 --- a/frontend/packages/workflow/test-run/src/features/log/utils/generate-llm-output.ts +++ b/frontend/packages/workflow/test-run/src/features/log/utils/generate-llm-output.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/log/utils/generate-log.ts b/frontend/packages/workflow/test-run/src/features/log/utils/generate-log.ts index 6755d88a..3fc714d8 100644 --- a/frontend/packages/workflow/test-run/src/features/log/utils/generate-log.ts +++ b/frontend/packages/workflow/test-run/src/features/log/utils/generate-log.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ import { isFunction, isString, isObject } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/utils/index.ts b/frontend/packages/workflow/test-run/src/features/log/utils/index.ts index 0bc9f410..03d5e93b 100644 --- a/frontend/packages/workflow/test-run/src/features/log/utils/index.ts +++ b/frontend/packages/workflow/test-run/src/features/log/utils/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { isOutputLog } from './field'; diff --git a/frontend/packages/workflow/test-run/src/features/log/utils/markdown.ts b/frontend/packages/workflow/test-run/src/features/log/utils/markdown.ts index a395c2c1..70f3a3fd 100644 --- a/frontend/packages/workflow/test-run/src/features/log/utils/markdown.ts +++ b/frontend/packages/workflow/test-run/src/features/log/utils/markdown.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { unified } from 'unified'; import remarkParse from 'remark-parse'; import { isString } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/log/utils/parse-function-call.ts b/frontend/packages/workflow/test-run/src/features/log/utils/parse-function-call.ts index 522b672f..b5e055f0 100644 --- a/frontend/packages/workflow/test-run/src/features/log/utils/parse-function-call.ts +++ b/frontend/packages/workflow/test-run/src/features/log/utils/parse-function-call.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { get, isString, omit } from 'lodash-es'; import JSONBig from 'json-bigint'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/base-group-wrap.tsx b/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/base-group-wrap.tsx index 50e47b83..aceb9d34 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/base-group-wrap.tsx +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/base-group-wrap.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import css from './base-group-wrap.module.less'; interface BaseGroupWrapProps { diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/index.ts b/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/index.ts index e6c083c1..d22ac431 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/index.ts +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ProblemGroup } from './problem-group'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/my-problem-group.tsx b/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/my-problem-group.tsx index 31c0484d..bd515f71 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/my-problem-group.tsx +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/my-problem-group.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Tag, Typography } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/problem-group.tsx b/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/problem-group.tsx index d566770e..e3f2771b 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/problem-group.tsx +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-group/problem-group.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ProblemEmpty } from '../problem-panel/empty'; import { type WorkflowProblem, type ProblemItem } from '../../types'; import { MyProblemGroup } from './my-problem-group'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/base-item.tsx b/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/base-item.tsx index ef0dae80..86fb20c0 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/base-item.tsx +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/base-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type React from 'react'; import { useCallback } from 'react'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/index.ts b/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/index.ts index 51e07547..ffb1daa2 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/index.ts +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { NodeItem } from './node-item'; export { LineItem } from './line-item'; export { TextItem } from './base-item'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/line-item.tsx b/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/line-item.tsx index 4053c64d..043c852a 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/line-item.tsx +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/line-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/node-item.tsx b/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/node-item.tsx index 7f168768..78a39fe4 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/node-item.tsx +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-item/node-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useState } from 'react'; import { isEqual } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/empty.tsx b/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/empty.tsx index 834f039b..cab0cac3 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/empty.tsx +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/empty.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { IconCozIllusDone } from '@coze-arch/coze-design/illustrations'; import styles from './empty.module.less'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/index.ts b/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/index.ts index 25e838bf..4375b044 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/index.ts +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ProblemPanel } from './problem-panel'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/problem-panel.tsx b/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/problem-panel.tsx index 2ea74f34..696889ad 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/problem-panel.tsx +++ b/frontend/packages/workflow/test-run/src/features/problem/components/problem-panel/problem-panel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/hooks/use-problems.ts b/frontend/packages/workflow/test-run/src/features/problem/hooks/use-problems.ts index 53d58bda..aaead8cd 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/hooks/use-problems.ts +++ b/frontend/packages/workflow/test-run/src/features/problem/hooks/use-problems.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import { uniq } from 'lodash-es'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/index.ts b/frontend/packages/workflow/test-run/src/features/problem/index.ts index 01ffed5a..f4a99315 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/index.ts +++ b/frontend/packages/workflow/test-run/src/features/problem/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { ProblemPanel } from './components/problem-panel'; diff --git a/frontend/packages/workflow/test-run/src/features/problem/types.ts b/frontend/packages/workflow/test-run/src/features/problem/types.ts index 02666fc1..4fa7b511 100644 --- a/frontend/packages/workflow/test-run/src/features/problem/types.ts +++ b/frontend/packages/workflow/test-run/src/features/problem/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FeedbackStatus } from '@flowgram-adapter/free-layout-editor'; import { type WorkflowValidateError } from '@coze-workflow/base/services'; export type WorkflowProblem = WorkflowValidateError & { diff --git a/frontend/packages/workflow/test-run/src/features/question/components/answer-input/index.tsx b/frontend/packages/workflow/test-run/src/features/question/components/answer-input/index.tsx index 914c14ef..907d5fdb 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/answer-input/index.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/components/answer-input/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/message-list/index.ts b/frontend/packages/workflow/test-run/src/features/question/components/message-list/index.ts index 09a23108..7342d3de 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/message-list/index.ts +++ b/frontend/packages/workflow/test-run/src/features/question/components/message-list/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { MessageList } from './message-list'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-item.tsx b/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-item.tsx index 17425215..610a5dc4 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-item.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-item.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { Avatar } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-list.tsx b/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-list.tsx index cc08ad9b..a9cc1334 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-list.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-list.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useRef } from 'react'; import { useQuestionFormStore } from '../../hooks'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-loading.tsx b/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-loading.tsx index ad58c356..9d383b26 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-loading.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/components/message-list/message-loading.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import styles from './message-loading.module.less'; export const MessageLoading = () => ( diff --git a/frontend/packages/workflow/test-run/src/features/question/components/message-list/option-message.tsx b/frontend/packages/workflow/test-run/src/features/question/components/message-list/option-message.tsx index 521606f3..00ee8ef3 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/message-list/option-message.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/components/message-list/option-message.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useMemo } from 'react'; import classNames from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/message-list/text-message.tsx b/frontend/packages/workflow/test-run/src/features/question/components/message-list/text-message.tsx index 3a840b66..979bb4ae 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/message-list/text-message.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/components/message-list/text-message.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import cls from 'classnames'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/question-form/form.tsx b/frontend/packages/workflow/test-run/src/features/question/components/question-form/form.tsx index f3a0397f..8da12780 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/question-form/form.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/components/question-form/form.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/question-form/index.ts b/frontend/packages/workflow/test-run/src/features/question/components/question-form/index.ts index 4a6045c6..763c2de6 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/question-form/index.ts +++ b/frontend/packages/workflow/test-run/src/features/question/components/question-form/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { QuestionForm } from './form'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/question-form/use-question-form.ts b/frontend/packages/workflow/test-run/src/features/question/components/question-form/use-question-form.ts index fc30f93e..54c8c765 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/question-form/use-question-form.ts +++ b/frontend/packages/workflow/test-run/src/features/question/components/question-form/use-question-form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useLayoutEffect } from 'react'; import { useMemoizedFn } from 'ahooks'; diff --git a/frontend/packages/workflow/test-run/src/features/question/components/question-form/virtual-sync.tsx b/frontend/packages/workflow/test-run/src/features/question/components/question-form/virtual-sync.tsx index 759f8188..6bab3554 100644 --- a/frontend/packages/workflow/test-run/src/features/question/components/question-form/virtual-sync.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/components/question-form/virtual-sync.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeEvent } from '@coze-arch/bot-api/workflow_api'; import { useQuestionForm } from './use-question-form'; diff --git a/frontend/packages/workflow/test-run/src/features/question/constants.ts b/frontend/packages/workflow/test-run/src/features/question/constants.ts index ce82d178..3a2bf7c7 100644 --- a/frontend/packages/workflow/test-run/src/features/question/constants.ts +++ b/frontend/packages/workflow/test-run/src/features/question/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export enum MessageType { Question = 'question', Answer = 'answer', diff --git a/frontend/packages/workflow/test-run/src/features/question/context/context.ts b/frontend/packages/workflow/test-run/src/features/question/context/context.ts index fc5cbc97..c6aa350f 100644 --- a/frontend/packages/workflow/test-run/src/features/question/context/context.ts +++ b/frontend/packages/workflow/test-run/src/features/question/context/context.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createContext } from 'react'; import { type createQuestionFormStore } from './create-store'; diff --git a/frontend/packages/workflow/test-run/src/features/question/context/create-store.ts b/frontend/packages/workflow/test-run/src/features/question/context/create-store.ts index dbf3cf64..e63ca437 100644 --- a/frontend/packages/workflow/test-run/src/features/question/context/create-store.ts +++ b/frontend/packages/workflow/test-run/src/features/question/context/create-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createWithEqualityFn } from 'zustand/traditional'; import { shallow } from 'zustand/shallow'; import { type NodeEvent } from '@coze-arch/bot-api/workflow_api'; diff --git a/frontend/packages/workflow/test-run/src/features/question/context/index.ts b/frontend/packages/workflow/test-run/src/features/question/context/index.ts index 8488f09c..95a57601 100644 --- a/frontend/packages/workflow/test-run/src/features/question/context/index.ts +++ b/frontend/packages/workflow/test-run/src/features/question/context/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { questionFormContext } from './context'; export { QuestionFormProvider } from './provider'; export type { QuestionFormState, QuestionFormAction } from './create-store'; diff --git a/frontend/packages/workflow/test-run/src/features/question/context/provider.tsx b/frontend/packages/workflow/test-run/src/features/question/context/provider.tsx index 1e234874..3617ef28 100644 --- a/frontend/packages/workflow/test-run/src/features/question/context/provider.tsx +++ b/frontend/packages/workflow/test-run/src/features/question/context/provider.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useRef } from 'react'; import { createQuestionFormStore } from './create-store'; diff --git a/frontend/packages/workflow/test-run/src/features/question/hooks/index.ts b/frontend/packages/workflow/test-run/src/features/question/hooks/index.ts index 05fedd6e..84b90aec 100644 --- a/frontend/packages/workflow/test-run/src/features/question/hooks/index.ts +++ b/frontend/packages/workflow/test-run/src/features/question/hooks/index.ts @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useQuestionFormStore } from './use-question-form-store'; export { useSendMessage } from './use-send-message'; diff --git a/frontend/packages/workflow/test-run/src/features/question/hooks/use-question-form-store.ts b/frontend/packages/workflow/test-run/src/features/question/hooks/use-question-form-store.ts index c8418c21..0b685d49 100644 --- a/frontend/packages/workflow/test-run/src/features/question/hooks/use-question-form-store.ts +++ b/frontend/packages/workflow/test-run/src/features/question/hooks/use-question-form-store.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useContext } from 'react'; import { diff --git a/frontend/packages/workflow/test-run/src/features/question/hooks/use-send-message.ts b/frontend/packages/workflow/test-run/src/features/question/hooks/use-send-message.ts index 26007595..be44ee22 100644 --- a/frontend/packages/workflow/test-run/src/features/question/hooks/use-send-message.ts +++ b/frontend/packages/workflow/test-run/src/features/question/hooks/use-send-message.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; import { useMemoizedFn } from 'ahooks'; import { workflowApi } from '@coze-workflow/base/api'; diff --git a/frontend/packages/workflow/test-run/src/features/question/index.ts b/frontend/packages/workflow/test-run/src/features/question/index.ts index e4b4f668..2daaca38 100644 --- a/frontend/packages/workflow/test-run/src/features/question/index.ts +++ b/frontend/packages/workflow/test-run/src/features/question/index.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { QuestionForm } from './components/question-form'; diff --git a/frontend/packages/workflow/test-run/src/features/question/types.ts b/frontend/packages/workflow/test-run/src/features/question/types.ts index 1c861590..731ca30e 100644 --- a/frontend/packages/workflow/test-run/src/features/question/types.ts +++ b/frontend/packages/workflow/test-run/src/features/question/types.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import type { ContentType, MessageType } from './constants'; export interface Option { diff --git a/frontend/packages/workflow/test-run/src/formily.ts b/frontend/packages/workflow/test-run/src/formily.ts index 39576ff6..8b40f6e4 100644 --- a/frontend/packages/workflow/test-run/src/formily.ts +++ b/frontend/packages/workflow/test-run/src/formily.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** formily api */ export { useField, useForm, observer } from '@formily/react'; export { DataField, ObjectField, Form } from '@formily/core'; diff --git a/frontend/packages/workflow/test-run/src/global.d.ts b/frontend/packages/workflow/test-run/src/global.d.ts index 63edbe8e..6c50f74c 100644 --- a/frontend/packages/workflow/test-run/src/global.d.ts +++ b/frontend/packages/workflow/test-run/src/global.d.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// declare module '*.otf' { const content: string; diff --git a/frontend/packages/workflow/test-run/src/hooks/index.ts b/frontend/packages/workflow/test-run/src/hooks/index.ts index 240717d1..7006d121 100644 --- a/frontend/packages/workflow/test-run/src/hooks/index.ts +++ b/frontend/packages/workflow/test-run/src/hooks/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useTestRunService } from './use-test-run-service'; export { useFormSubmitting } from './use-form-submitting'; export { useDocumentContentChange } from './use-document-content-change'; diff --git a/frontend/packages/workflow/test-run/src/hooks/use-document-content-change.ts b/frontend/packages/workflow/test-run/src/hooks/use-document-content-change.ts index eb4c792c..1d01ef61 100644 --- a/frontend/packages/workflow/test-run/src/hooks/use-document-content-change.ts +++ b/frontend/packages/workflow/test-run/src/hooks/use-document-content-change.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/test-run/src/hooks/use-form-submitting.ts b/frontend/packages/workflow/test-run/src/hooks/use-form-submitting.ts index a6680b13..8918543a 100644 --- a/frontend/packages/workflow/test-run/src/hooks/use-form-submitting.ts +++ b/frontend/packages/workflow/test-run/src/hooks/use-form-submitting.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState, useEffect } from 'react'; import { type Form } from '@formily/core'; diff --git a/frontend/packages/workflow/test-run/src/hooks/use-test-run-reporter-service.ts b/frontend/packages/workflow/test-run/src/hooks/use-test-run-reporter-service.ts index 3f95bac7..6b65932d 100644 --- a/frontend/packages/workflow/test-run/src/hooks/use-test-run-reporter-service.ts +++ b/frontend/packages/workflow/test-run/src/hooks/use-test-run-reporter-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { TestRunReporterService } from '../plugins/test-run-plugin'; diff --git a/frontend/packages/workflow/test-run/src/hooks/use-test-run-service.ts b/frontend/packages/workflow/test-run/src/hooks/use-test-run-service.ts index 20cd7e14..61be99bc 100644 --- a/frontend/packages/workflow/test-run/src/hooks/use-test-run-service.ts +++ b/frontend/packages/workflow/test-run/src/hooks/use-test-run-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useService } from '@flowgram-adapter/free-layout-editor'; import { TestRunService } from '../plugins/test-run-plugin'; diff --git a/frontend/packages/workflow/test-run/src/index.ts b/frontend/packages/workflow/test-run/src/index.ts index 6a6d7343..42f490be 100644 --- a/frontend/packages/workflow/test-run/src/index.ts +++ b/frontend/packages/workflow/test-run/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { FormPanelLayout, BaseTestButton, diff --git a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/create-test-run-plugin.ts b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/create-test-run-plugin.ts index f2cab0c0..8deee92d 100644 --- a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/create-test-run-plugin.ts +++ b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/create-test-run-plugin.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { definePluginCreator, type PluginCreator, diff --git a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/index.ts b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/index.ts index d8ceaa7f..6030d52d 100644 --- a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/index.ts +++ b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestRunService } from './test-run-service'; export { TestRunReporterService, diff --git a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-form-service.ts b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-form-service.ts index c96a6b94..402b9872 100644 --- a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-form-service.ts +++ b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-form-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { injectable } from 'inversify'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-reporter/index.ts b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-reporter/index.ts index 3d36ccd4..520d96a4 100644 --- a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-reporter/index.ts +++ b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-reporter/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { TestRunReporterService, PickReporterParams, diff --git a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-reporter/test-run-reporter-service.ts b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-reporter/test-run-reporter-service.ts index b05a5d60..185f56b4 100644 --- a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-reporter/test-run-reporter-service.ts +++ b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-reporter/test-run-reporter-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const TestRunReporterService = Symbol('TestRunReporterService'); export enum EventName { diff --git a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-service.ts b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-service.ts index a4b8100d..4d4a92fb 100644 --- a/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-service.ts +++ b/frontend/packages/workflow/test-run/src/plugins/test-run-plugin/test-run-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export const TestRunService = Symbol('TestRunService'); export interface TestRunService { diff --git a/frontend/packages/workflow/test-run/src/types/index.ts b/frontend/packages/workflow/test-run/src/types/index.ts index 1f0cad78..99c51fb3 100644 --- a/frontend/packages/workflow/test-run/src/types/index.ts +++ b/frontend/packages/workflow/test-run/src/types/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export type { Log, ConditionLog, diff --git a/frontend/packages/workflow/test-run/src/types/log.ts b/frontend/packages/workflow/test-run/src/types/log.ts index ca212aa6..d301285a 100644 --- a/frontend/packages/workflow/test-run/src/types/log.ts +++ b/frontend/packages/workflow/test-run/src/types/log.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /** Possible values in the log */ export type LogValueType = | string diff --git a/frontend/packages/workflow/test-run/src/types/testset.ts b/frontend/packages/workflow/test-run/src/types/testset.ts index 7c0c49e8..41a913cb 100644 --- a/frontend/packages/workflow/test-run/src/types/testset.ts +++ b/frontend/packages/workflow/test-run/src/types/testset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ReactNode } from 'react'; import { type CommonFieldProps } from '@coze-arch/coze-design'; diff --git a/frontend/packages/workflow/test-run/src/utils/index.ts b/frontend/packages/workflow/test-run/src/utils/index.ts index 3674850c..0818f35b 100644 --- a/frontend/packages/workflow/test-run/src/utils/index.ts +++ b/frontend/packages/workflow/test-run/src/utils/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { typeSafeJSONParse } from './safe-json-parse'; export { stringifyValue } from './stringify-value'; diff --git a/frontend/packages/workflow/test-run/src/utils/safe-json-parse.ts b/frontend/packages/workflow/test-run/src/utils/safe-json-parse.ts index b6d91605..adafa422 100644 --- a/frontend/packages/workflow/test-run/src/utils/safe-json-parse.ts +++ b/frontend/packages/workflow/test-run/src/utils/safe-json-parse.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import JSONBig from 'json-bigint'; import { REPORT_EVENTS } from '@coze-arch/report-events'; import { reporter } from '@coze-arch/logger'; diff --git a/frontend/packages/workflow/test-run/src/utils/stringify-value.ts b/frontend/packages/workflow/test-run/src/utils/stringify-value.ts index 19659cd0..07624afb 100644 --- a/frontend/packages/workflow/test-run/src/utils/stringify-value.ts +++ b/frontend/packages/workflow/test-run/src/utils/stringify-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isBoolean, isNumber } from 'lodash-es'; // Convert form values to testrun interface protocol format diff --git a/frontend/packages/workflow/test-run/src/utils/testset/assign-testset-form-default-value.ts b/frontend/packages/workflow/test-run/src/utils/testset/assign-testset-form-default-value.ts index 35896e98..9d760f41 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/assign-testset-form-default-value.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/assign-testset-form-default-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isNil } from 'lodash-es'; import { type FormItemSchema } from '../../types'; diff --git a/frontend/packages/workflow/test-run/src/utils/testset/get-form-item-custom-props.ts b/frontend/packages/workflow/test-run/src/utils/testset/get-form-item-custom-props.ts index 99f7c81f..167612d4 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/get-form-item-custom-props.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/get-form-item-custom-props.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import Ajv from 'ajv'; import { I18n } from '@coze-arch/i18n'; diff --git a/frontend/packages/workflow/test-run/src/utils/testset/get-form-item-placeholder.ts b/frontend/packages/workflow/test-run/src/utils/testset/get-form-item-placeholder.ts index c0e9bf38..36296279 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/get-form-item-placeholder.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/get-form-item-placeholder.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; import { type FormItemSchema } from '../../types'; diff --git a/frontend/packages/workflow/test-run/src/utils/testset/get-test-data-by-testset.ts b/frontend/packages/workflow/test-run/src/utils/testset/get-test-data-by-testset.ts index 4dbd7d4d..568b40ca 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/get-test-data-by-testset.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/get-test-data-by-testset.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ComponentType, type CaseDataDetail, diff --git a/frontend/packages/workflow/test-run/src/utils/testset/get-testset-form-sub-field-name.ts b/frontend/packages/workflow/test-run/src/utils/testset/get-testset-form-sub-field-name.ts index b628ea3d..54b64aae 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/get-testset-form-sub-field-name.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/get-testset-form-sub-field-name.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeFormSchema, type FormItemSchema } from '../../types'; export const getTestsetFormSubFieldName = ( formSchema: NodeFormSchema, diff --git a/frontend/packages/workflow/test-run/src/utils/testset/get-testset-form-sub-field-type.ts b/frontend/packages/workflow/test-run/src/utils/testset/get-testset-form-sub-field-type.ts index b47e2bb5..420bc333 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/get-testset-form-sub-field-type.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/get-testset-form-sub-field-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FormItemSchemaType } from '../../constants'; export function getTestsetFormSubFieldType(type: string) { diff --git a/frontend/packages/workflow/test-run/src/utils/testset/get-testset-name-rules.ts b/frontend/packages/workflow/test-run/src/utils/testset/get-testset-name-rules.ts index 389ad706..a9f66e44 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/get-testset-name-rules.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/get-testset-name-rules.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger } from '@coze-arch/logger'; import { I18n } from '@coze-arch/i18n'; import { diff --git a/frontend/packages/workflow/test-run/src/utils/testset/index.ts b/frontend/packages/workflow/test-run/src/utils/testset/index.ts index 6574a092..1c57b9e5 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/index.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { getTestsetNameRules } from './get-testset-name-rules'; export { validateTestsetSchema } from './validate-schema'; export { traverseTestsetNodeFormSchemas } from './traverse-testset-node-form-schemas'; diff --git a/frontend/packages/workflow/test-run/src/utils/testset/is-testset-form-same-field-type.ts b/frontend/packages/workflow/test-run/src/utils/testset/is-testset-form-same-field-type.ts index 79d4c423..9bf67073 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/is-testset-form-same-field-type.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/is-testset-form-same-field-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FormItemSchemaType } from '../../constants'; function isNumberType(t: string) { diff --git a/frontend/packages/workflow/test-run/src/utils/testset/trans-form-value.ts b/frontend/packages/workflow/test-run/src/utils/testset/trans-form-value.ts index 09bbff6b..2726ea4f 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/trans-form-value.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/trans-form-value.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FormItemSchema } from '../../types'; import { TestsetFormValuesForBoolSelect, diff --git a/frontend/packages/workflow/test-run/src/utils/testset/traverse-testset-node-form-schemas.ts b/frontend/packages/workflow/test-run/src/utils/testset/traverse-testset-node-form-schemas.ts index 54c89d17..9dbc1a8e 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/traverse-testset-node-form-schemas.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/traverse-testset-node-form-schemas.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type NodeFormSchema, type FormItemSchema } from '../../types'; export const traverseTestsetNodeFormSchemas = ( diff --git a/frontend/packages/workflow/test-run/src/utils/testset/validate-schema.ts b/frontend/packages/workflow/test-run/src/utils/testset/validate-schema.ts index 27358564..0d81e174 100644 --- a/frontend/packages/workflow/test-run/src/utils/testset/validate-schema.ts +++ b/frontend/packages/workflow/test-run/src/utils/testset/validate-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { logger } from '@coze-arch/logger'; import { ComponentType, diff --git a/frontend/packages/workflow/test-run/src/utils/tracker.ts b/frontend/packages/workflow/test-run/src/utils/tracker.ts index 2911fca4..412169c2 100644 --- a/frontend/packages/workflow/test-run/src/utils/tracker.ts +++ b/frontend/packages/workflow/test-run/src/utils/tracker.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { nanoid } from 'nanoid'; export type ExtraType = Record; diff --git a/frontend/packages/workflow/variable/__tests__/create-container.ts b/frontend/packages/workflow/variable/__tests__/create-container.ts index ababb658..bb04fba7 100644 --- a/frontend/packages/workflow/variable/__tests__/create-container.ts +++ b/frontend/packages/workflow/variable/__tests__/create-container.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ContainerModule, injectable } from 'inversify'; import { type PlaygroundContext, @@ -63,7 +63,7 @@ export class MockWorkflowForm () => ({ formModelFactory, - }) as any, + } as any), ); } } diff --git a/frontend/packages/workflow/variable/__tests__/datas/workflow-node-variables-data.test.ts b/frontend/packages/workflow/variable/__tests__/datas/workflow-node-variables-data.test.ts index 20539081..2bdb0ab1 100644 --- a/frontend/packages/workflow/variable/__tests__/datas/workflow-node-variables-data.test.ts +++ b/frontend/packages/workflow/variable/__tests__/datas/workflow-node-variables-data.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkflowNodeInputVariablesData, WorkflowNodeOutputVariablesData, diff --git a/frontend/packages/workflow/variable/__tests__/default.mock.ts b/frontend/packages/workflow/variable/__tests__/default.mock.ts index 7a2b1535..ea24eabe 100644 --- a/frontend/packages/workflow/variable/__tests__/default.mock.ts +++ b/frontend/packages/workflow/variable/__tests__/default.mock.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export default {}; diff --git a/frontend/packages/workflow/variable/__tests__/form-extensions/variable-providers.test.ts b/frontend/packages/workflow/variable/__tests__/form-extensions/variable-providers.test.ts index fdadec98..0c208ba2 100644 --- a/frontend/packages/workflow/variable/__tests__/form-extensions/variable-providers.test.ts +++ b/frontend/packages/workflow/variable/__tests__/form-extensions/variable-providers.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-params */ import { provideNodeOutputVariables } from 'src/form-extensions/variable-providers/provide-node-output-variables'; import { provideNodeBatchVariables } from 'src/form-extensions/variable-providers/provide-node-batch-variables'; diff --git a/frontend/packages/workflow/variable/__tests__/node.mock.tsx b/frontend/packages/workflow/variable/__tests__/node.mock.tsx index 9ac04f53..e20738ac 100644 --- a/frontend/packages/workflow/variable/__tests__/node.mock.tsx +++ b/frontend/packages/workflow/variable/__tests__/node.mock.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { createEffectFromVariableProvider } from 'src/utils/variable-provider'; diff --git a/frontend/packages/workflow/variable/__tests__/services/variable-service.test.ts b/frontend/packages/workflow/variable/__tests__/services/variable-service.test.ts index 721183a7..1c031638 100644 --- a/frontend/packages/workflow/variable/__tests__/services/variable-service.test.ts +++ b/frontend/packages/workflow/variable/__tests__/services/variable-service.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { WorkflowVariableService } from 'src'; import { loopJSON } from '__tests__/workflow.mock'; import { allKeyPaths } from '__tests__/variable.mock'; diff --git a/frontend/packages/workflow/variable/__tests__/services/variable-utils.test.ts b/frontend/packages/workflow/variable/__tests__/services/variable-utils.test.ts index 527e2e6c..7f645a6f 100644 --- a/frontend/packages/workflow/variable/__tests__/services/variable-utils.test.ts +++ b/frontend/packages/workflow/variable/__tests__/services/variable-utils.test.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { variableUtils, WorkflowVariableService } from 'src'; import { loopJSON } from '__tests__/workflow.mock'; import { allConstantInputs, allEndRefInputs } from '__tests__/variable.mock'; diff --git a/frontend/packages/workflow/variable/__tests__/setup.ts b/frontend/packages/workflow/variable/__tests__/setup.ts index 2990834e..81b52f26 100644 --- a/frontend/packages/workflow/variable/__tests__/setup.ts +++ b/frontend/packages/workflow/variable/__tests__/setup.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import 'reflect-metadata'; vi.mock('@coze-arch/i18n', () => ({ I18n: { diff --git a/frontend/packages/workflow/variable/__tests__/variable.mock.ts b/frontend/packages/workflow/variable/__tests__/variable.mock.ts index b626f38c..8665ceb7 100644 --- a/frontend/packages/workflow/variable/__tests__/variable.mock.ts +++ b/frontend/packages/workflow/variable/__tests__/variable.mock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable security/detect-object-injection */ import { type InputItem } from 'src/form-extensions/variable-providers/common'; import { diff --git a/frontend/packages/workflow/variable/__tests__/workflow.mock.ts b/frontend/packages/workflow/variable/__tests__/workflow.mock.ts index 189eb37c..38ad7559 100644 --- a/frontend/packages/workflow/variable/__tests__/workflow.mock.ts +++ b/frontend/packages/workflow/variable/__tests__/workflow.mock.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type WorkflowJSON } from '@flowgram-adapter/free-layout-editor'; import { StandardNodeType } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/variable/src/components/index.tsx b/frontend/packages/workflow/variable/src/components/index.tsx index d345b82e..5f351817 100644 --- a/frontend/packages/workflow/variable/src/components/index.tsx +++ b/frontend/packages/workflow/variable/src/components/index.tsx @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { PrivateScopeProvider } from './private-scope-provider'; export { PublicScopeProvider } from './public-scope-provider'; diff --git a/frontend/packages/workflow/variable/src/components/private-scope-provider/index.tsx b/frontend/packages/workflow/variable/src/components/private-scope-provider/index.tsx index 7b533843..a468ee35 100644 --- a/frontend/packages/workflow/variable/src/components/private-scope-provider/index.tsx +++ b/frontend/packages/workflow/variable/src/components/private-scope-provider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo, type ReactElement } from 'react'; import { diff --git a/frontend/packages/workflow/variable/src/components/public-scope-provider/index.tsx b/frontend/packages/workflow/variable/src/components/public-scope-provider/index.tsx index 1a3ea667..afc3f100 100644 --- a/frontend/packages/workflow/variable/src/components/public-scope-provider/index.tsx +++ b/frontend/packages/workflow/variable/src/components/public-scope-provider/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { useMemo } from 'react'; import { diff --git a/frontend/packages/workflow/variable/src/components/variable-debug-panel/content.tsx b/frontend/packages/workflow/variable/src/components/variable-debug-panel/content.tsx index 2fd1ec8d..e5e2c726 100644 --- a/frontend/packages/workflow/variable/src/components/variable-debug-panel/content.tsx +++ b/frontend/packages/workflow/variable/src/components/variable-debug-panel/content.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { startTransition, useEffect } from 'react'; import { VariableEngine } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/components/variable-debug-panel/variable-debug-layer.tsx b/frontend/packages/workflow/variable/src/components/variable-debug-panel/variable-debug-layer.tsx index 756691ce..ff2b83c5 100644 --- a/frontend/packages/workflow/variable/src/components/variable-debug-panel/variable-debug-layer.tsx +++ b/frontend/packages/workflow/variable/src/components/variable-debug-panel/variable-debug-layer.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React from 'react'; import { Layer } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/constants.ts b/frontend/packages/workflow/variable/src/constants.ts index ee9deb6a..3871bcbc 100644 --- a/frontend/packages/workflow/variable/src/constants.ts +++ b/frontend/packages/workflow/variable/src/constants.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { I18n } from '@coze-arch/i18n'; export const GLOBAL_VARIABLE_SCOPE_ID = 'globalVariableScope'; diff --git a/frontend/packages/workflow/variable/src/core/extend-ast/custom-array-type.ts b/frontend/packages/workflow/variable/src/core/extend-ast/custom-array-type.ts index 68f62f3a..9ed455ec 100644 --- a/frontend/packages/workflow/variable/src/core/extend-ast/custom-array-type.ts +++ b/frontend/packages/workflow/variable/src/core/extend-ast/custom-array-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ArrayType, type BaseVariableField, diff --git a/frontend/packages/workflow/variable/src/core/extend-ast/custom-key-path-expression.ts b/frontend/packages/workflow/variable/src/core/extend-ast/custom-key-path-expression.ts index c7763902..00f801a1 100644 --- a/frontend/packages/workflow/variable/src/core/extend-ast/custom-key-path-expression.ts +++ b/frontend/packages/workflow/variable/src/core/extend-ast/custom-key-path-expression.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { type BaseType, diff --git a/frontend/packages/workflow/variable/src/core/extend-ast/extend-base-type.ts b/frontend/packages/workflow/variable/src/core/extend-ast/extend-base-type.ts index 10caff03..3f4ea77f 100644 --- a/frontend/packages/workflow/variable/src/core/extend-ast/extend-base-type.ts +++ b/frontend/packages/workflow/variable/src/core/extend-ast/extend-base-type.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type ASTNodeJSON, BaseType, diff --git a/frontend/packages/workflow/variable/src/core/extend-ast/index.tsx b/frontend/packages/workflow/variable/src/core/extend-ast/index.tsx index 4b87bcb2..00b8a89c 100644 --- a/frontend/packages/workflow/variable/src/core/extend-ast/index.tsx +++ b/frontend/packages/workflow/variable/src/core/extend-ast/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { VariableFieldKeyRenameService, type VariablePluginOptions, diff --git a/frontend/packages/workflow/variable/src/core/extend-ast/merge-group-expression.ts b/frontend/packages/workflow/variable/src/core/extend-ast/merge-group-expression.ts index 34a5595d..a468c319 100644 --- a/frontend/packages/workflow/variable/src/core/extend-ast/merge-group-expression.ts +++ b/frontend/packages/workflow/variable/src/core/extend-ast/merge-group-expression.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { ASTKind, diff --git a/frontend/packages/workflow/variable/src/core/extend-ast/wrap-array-expression.ts b/frontend/packages/workflow/variable/src/core/extend-ast/wrap-array-expression.ts index 996fa748..602c3021 100644 --- a/frontend/packages/workflow/variable/src/core/extend-ast/wrap-array-expression.ts +++ b/frontend/packages/workflow/variable/src/core/extend-ast/wrap-array-expression.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ASTFactory, type ASTNodeJSON, diff --git a/frontend/packages/workflow/variable/src/core/index.tsx b/frontend/packages/workflow/variable/src/core/index.tsx index 661a33fd..cb15b7d5 100644 --- a/frontend/packages/workflow/variable/src/core/index.tsx +++ b/frontend/packages/workflow/variable/src/core/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { extendASTNodes } from './extend-ast'; export { parseNodeOutputByViewVariableMeta, diff --git a/frontend/packages/workflow/variable/src/core/types.tsx b/frontend/packages/workflow/variable/src/core/types.tsx index 5303bea0..dcee39b7 100644 --- a/frontend/packages/workflow/variable/src/core/types.tsx +++ b/frontend/packages/workflow/variable/src/core/types.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type BaseVariableField } from '@flowgram-adapter/free-layout-editor'; import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type ViewVariableMeta } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/variable/src/core/utils/create-ast.ts b/frontend/packages/workflow/variable/src/core/utils/create-ast.ts index 99909f6b..085b67ab 100644 --- a/frontend/packages/workflow/variable/src/core/utils/create-ast.ts +++ b/frontend/packages/workflow/variable/src/core/utils/create-ast.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { isArray, uniqBy } from 'lodash-es'; import { ASTFactory, diff --git a/frontend/packages/workflow/variable/src/core/utils/expression.ts b/frontend/packages/workflow/variable/src/core/utils/expression.ts index c895b56a..7e10d240 100644 --- a/frontend/packages/workflow/variable/src/core/utils/expression.ts +++ b/frontend/packages/workflow/variable/src/core/utils/expression.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { intersection } from 'lodash-es'; import { type ASTNode, diff --git a/frontend/packages/workflow/variable/src/core/utils/name-path.ts b/frontend/packages/workflow/variable/src/core/utils/name-path.ts index d69221f4..aa9e141f 100644 --- a/frontend/packages/workflow/variable/src/core/utils/name-path.ts +++ b/frontend/packages/workflow/variable/src/core/utils/name-path.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable complexity */ /* eslint-disable security/detect-object-injection */ import { uniq } from 'lodash-es'; diff --git a/frontend/packages/workflow/variable/src/core/utils/parse-ast.ts b/frontend/packages/workflow/variable/src/core/utils/parse-ast.ts index fb62043a..88f0f0a7 100644 --- a/frontend/packages/workflow/variable/src/core/utils/parse-ast.ts +++ b/frontend/packages/workflow/variable/src/core/utils/parse-ast.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable no-case-declarations */ import { ASTKind, diff --git a/frontend/packages/workflow/variable/src/core/utils/traverse-refs.ts b/frontend/packages/workflow/variable/src/core/utils/traverse-refs.ts index b279531f..4970bd12 100644 --- a/frontend/packages/workflow/variable/src/core/utils/traverse-refs.ts +++ b/frontend/packages/workflow/variable/src/core/utils/traverse-refs.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { z, type ZodSchema } from 'zod'; import { isArray, isObject } from 'lodash-es'; diff --git a/frontend/packages/workflow/variable/src/core/workflow-variable-facade-service.ts b/frontend/packages/workflow/variable/src/core/workflow-variable-facade-service.ts index 1e5e2003..6f479ea2 100644 --- a/frontend/packages/workflow/variable/src/core/workflow-variable-facade-service.ts +++ b/frontend/packages/workflow/variable/src/core/workflow-variable-facade-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniq } from 'lodash-es'; import { inject, injectable, postConstruct } from 'inversify'; import { diff --git a/frontend/packages/workflow/variable/src/core/workflow-variable-facade.ts b/frontend/packages/workflow/variable/src/core/workflow-variable-facade.ts index 98bda8c0..80f79dbd 100644 --- a/frontend/packages/workflow/variable/src/core/workflow-variable-facade.ts +++ b/frontend/packages/workflow/variable/src/core/workflow-variable-facade.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { last } from 'lodash-es'; import { ASTKind, type ASTNode } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/create-workflow-variable-plugin.tsx b/frontend/packages/workflow/variable/src/create-workflow-variable-plugin.tsx index abc71da2..aa74936f 100644 --- a/frontend/packages/workflow/variable/src/create-workflow-variable-plugin.tsx +++ b/frontend/packages/workflow/variable/src/create-workflow-variable-plugin.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { createVariablePlugin } from '@flowgram-adapter/free-layout-editor'; import { createNodeVariablePlugin } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/variable/src/datas/index.ts b/frontend/packages/workflow/variable/src/datas/index.ts index b69840cd..c0225383 100644 --- a/frontend/packages/workflow/variable/src/datas/index.ts +++ b/frontend/packages/workflow/variable/src/datas/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { WorkflowNodeOutputVariablesData } from './workflow-node-output-variables-data'; export { WorkflowNodeInputVariablesData } from './workflow-node-input-variables-data'; export { diff --git a/frontend/packages/workflow/variable/src/datas/workflow-node-input-variables-data.ts b/frontend/packages/workflow/variable/src/datas/workflow-node-input-variables-data.ts index d60100f5..a8df2f8a 100644 --- a/frontend/packages/workflow/variable/src/datas/workflow-node-input-variables-data.ts +++ b/frontend/packages/workflow/variable/src/datas/workflow-node-input-variables-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type FlowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { EntityData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/variable/src/datas/workflow-node-output-variables-data.ts b/frontend/packages/workflow/variable/src/datas/workflow-node-output-variables-data.ts index 295fa8a2..70fefb3d 100644 --- a/frontend/packages/workflow/variable/src/datas/workflow-node-output-variables-data.ts +++ b/frontend/packages/workflow/variable/src/datas/workflow-node-output-variables-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ASTKind, FlowNodeVariableData, diff --git a/frontend/packages/workflow/variable/src/datas/workflow-node-ref-variables-data.ts b/frontend/packages/workflow/variable/src/datas/workflow-node-ref-variables-data.ts index 7744d66c..497e70f9 100644 --- a/frontend/packages/workflow/variable/src/datas/workflow-node-ref-variables-data.ts +++ b/frontend/packages/workflow/variable/src/datas/workflow-node-ref-variables-data.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { set } from 'lodash-es'; import { FlowNodeVariableData } from '@flowgram-adapter/free-layout-editor'; import { diff --git a/frontend/packages/workflow/variable/src/form-extensions/decorators/private-scope-decorator.tsx b/frontend/packages/workflow/variable/src/form-extensions/decorators/private-scope-decorator.tsx index 2416ec2e..5652693f 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/decorators/private-scope-decorator.tsx +++ b/frontend/packages/workflow/variable/src/form-extensions/decorators/private-scope-decorator.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import React, { type FC } from 'react'; import { diff --git a/frontend/packages/workflow/variable/src/form-extensions/index.tsx b/frontend/packages/workflow/variable/src/form-extensions/index.tsx index c22d59c3..59c4a012 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/index.tsx +++ b/frontend/packages/workflow/variable/src/form-extensions/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableProviderAbilityOptions } from '@flowgram-adapter/free-layout-editor'; import { provideNodeOutputVariables } from './variable-providers/provide-node-output-variables'; diff --git a/frontend/packages/workflow/variable/src/form-extensions/variable-consumers/consume-ref-value-expression.ts b/frontend/packages/workflow/variable/src/form-extensions/variable-consumers/consume-ref-value-expression.ts index 7eb80aef..81253a89 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/variable-consumers/consume-ref-value-expression.ts +++ b/frontend/packages/workflow/variable/src/form-extensions/variable-consumers/consume-ref-value-expression.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ASTFactory, type ASTNode } from '@flowgram-adapter/free-layout-editor'; import { type VariableConsumerAbilityOptions } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/common.tsx b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/common.tsx index e7a0964c..08b97cf9 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/common.tsx +++ b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/common.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { uniqBy } from 'lodash-es'; import { type PropertyJSON } from '@flowgram-adapter/free-layout-editor'; import { type RefExpression } from '@coze-workflow/base/types'; diff --git a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-loop-input-variables.tsx b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-loop-input-variables.tsx index f97d9949..30bd9238 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-loop-input-variables.tsx +++ b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-loop-input-variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ASTFactory } from '@flowgram-adapter/free-layout-editor'; import { type VariableProviderAbilityOptions } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-loop-output-variables.tsx b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-loop-output-variables.tsx index 3c10cb82..d1916eea 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-loop-output-variables.tsx +++ b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-loop-output-variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableProviderAbilityOptions } from '@flowgram-adapter/free-layout-editor'; import { ASTFactory } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-merge-group-variables.tsx b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-merge-group-variables.tsx index 4df5297d..d8f25d87 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-merge-group-variables.tsx +++ b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-merge-group-variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { ASTFactory, ASTKind, diff --git a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-node-batch-variables.tsx b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-node-batch-variables.tsx index 5b1b4555..faf56ad1 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-node-batch-variables.tsx +++ b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-node-batch-variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableProviderAbilityOptions } from '@flowgram-adapter/free-layout-editor'; import { FlowNodeFormData } from '@flowgram-adapter/free-layout-editor'; import { Disposable } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-node-output-variables.tsx b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-node-output-variables.tsx index d3d18745..9560fe20 100644 --- a/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-node-output-variables.tsx +++ b/frontend/packages/workflow/variable/src/form-extensions/variable-providers/provide-node-output-variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableProviderAbilityOptions } from '@flowgram-adapter/free-layout-editor'; import { parseNodeOutputByViewVariableMeta } from '../../core'; diff --git a/frontend/packages/workflow/variable/src/global.d.ts b/frontend/packages/workflow/variable/src/global.d.ts index 43ba006e..4ae6594a 100644 --- a/frontend/packages/workflow/variable/src/global.d.ts +++ b/frontend/packages/workflow/variable/src/global.d.ts @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /// diff --git a/frontend/packages/workflow/variable/src/hooks/index.tsx b/frontend/packages/workflow/variable/src/hooks/index.tsx index 59d29f85..84a503ff 100644 --- a/frontend/packages/workflow/variable/src/hooks/index.tsx +++ b/frontend/packages/workflow/variable/src/hooks/index.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { useVariableDispose } from './use-variable-dispose'; export { useVariableTypeChange } from './use-variable-type-change'; export { useVariableChange } from './use-variable-change'; diff --git a/frontend/packages/workflow/variable/src/hooks/use-auto-sync-rename-data.tsx b/frontend/packages/workflow/variable/src/hooks/use-auto-sync-rename-data.tsx index 6989ac5e..36cab11d 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-auto-sync-rename-data.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-auto-sync-rename-data.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/no-explicit-any */ import { useEffect, useRef } from 'react'; diff --git a/frontend/packages/workflow/variable/src/hooks/use-available-workflow-variables.tsx b/frontend/packages/workflow/variable/src/hooks/use-available-workflow-variables.tsx index d8876c9e..2c473c1b 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-available-workflow-variables.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-available-workflow-variables.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, startTransition } from 'react'; import { diff --git a/frontend/packages/workflow/variable/src/hooks/use-get-workflow-variable-by-keypath.tsx b/frontend/packages/workflow/variable/src/hooks/use-get-workflow-variable-by-keypath.tsx index c9087c42..80c06904 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-get-workflow-variable-by-keypath.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-get-workflow-variable-by-keypath.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCallback } from 'react'; import { diff --git a/frontend/packages/workflow/variable/src/hooks/use-global-variable-service-state.tsx b/frontend/packages/workflow/variable/src/hooks/use-global-variable-service-state.tsx index 372a6e92..4bb11a47 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-global-variable-service-state.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-global-variable-service-state.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect, useMemo } from 'react'; import { useRefresh, useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/hooks/use-variable-change.tsx b/frontend/packages/workflow/variable/src/hooks/use-variable-change.tsx index 404a55db..6ca51d71 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-variable-change.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-variable-change.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/workflow/variable/src/hooks/use-variable-dispose.tsx b/frontend/packages/workflow/variable/src/hooks/use-variable-dispose.tsx index 0d24c772..7ed74c47 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-variable-dispose.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-variable-dispose.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { diff --git a/frontend/packages/workflow/variable/src/hooks/use-variable-rename.tsx b/frontend/packages/workflow/variable/src/hooks/use-variable-rename.tsx index ad7835b5..e7bda491 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-variable-rename.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-variable-rename.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useEffect } from 'react'; import { useService } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/hooks/use-variable-type-change.tsx b/frontend/packages/workflow/variable/src/hooks/use-variable-type-change.tsx index 18215f95..c37331e7 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-variable-type-change.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-variable-type-change.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable security/detect-object-injection */ import { useEffect, useRef } from 'react'; diff --git a/frontend/packages/workflow/variable/src/hooks/use-variable-type.tsx b/frontend/packages/workflow/variable/src/hooks/use-variable-type.tsx index 483e5dce..1571bca7 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-variable-type.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-variable-type.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useState } from 'react'; import { diff --git a/frontend/packages/workflow/variable/src/hooks/use-workflow-variable-by-keypath.tsx b/frontend/packages/workflow/variable/src/hooks/use-workflow-variable-by-keypath.tsx index c844f1c6..b78a315f 100644 --- a/frontend/packages/workflow/variable/src/hooks/use-workflow-variable-by-keypath.tsx +++ b/frontend/packages/workflow/variable/src/hooks/use-workflow-variable-by-keypath.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { useCurrentEntity, useService, diff --git a/frontend/packages/workflow/variable/src/index.ts b/frontend/packages/workflow/variable/src/index.ts index 1daf037a..03256929 100644 --- a/frontend/packages/workflow/variable/src/index.ts +++ b/frontend/packages/workflow/variable/src/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @coze-arch/no-batch-import-or-export */ export { FlowNodeVariableData } from '@flowgram-adapter/free-layout-editor'; export * from './hooks'; diff --git a/frontend/packages/workflow/variable/src/legacy/index.ts b/frontend/packages/workflow/variable/src/legacy/index.ts index dbc40180..157cb0ca 100644 --- a/frontend/packages/workflow/variable/src/legacy/index.ts +++ b/frontend/packages/workflow/variable/src/legacy/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { variableUtils } from './variable-utils'; export { WorkflowVariableService } from './workflow-variable-service'; export { WorkflowBatchService } from './workflow-batch-service'; diff --git a/frontend/packages/workflow/variable/src/legacy/variable-utils.ts b/frontend/packages/workflow/variable/src/legacy/variable-utils.ts index 84801bca..5ad0a9e0 100644 --- a/frontend/packages/workflow/variable/src/legacy/variable-utils.ts +++ b/frontend/packages/workflow/variable/src/legacy/variable-utils.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable max-lines */ /* eslint-disable complexity */ /* eslint-disable @typescript-eslint/no-explicit-any */ diff --git a/frontend/packages/workflow/variable/src/legacy/workflow-batch-service.ts b/frontend/packages/workflow/variable/src/legacy/workflow-batch-service.ts index da065382..c8b118c2 100644 --- a/frontend/packages/workflow/variable/src/legacy/workflow-batch-service.ts +++ b/frontend/packages/workflow/variable/src/legacy/workflow-batch-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { EntityManager } from '@flowgram-adapter/free-layout-editor'; import { nanoid } from '@flowgram-adapter/free-layout-editor'; diff --git a/frontend/packages/workflow/variable/src/legacy/workflow-variable-service.ts b/frontend/packages/workflow/variable/src/legacy/workflow-variable-service.ts index 0a3306a7..b13980da 100644 --- a/frontend/packages/workflow/variable/src/legacy/workflow-variable-service.ts +++ b/frontend/packages/workflow/variable/src/legacy/workflow-variable-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { EntityManager } from '@flowgram-adapter/free-layout-editor'; import { type Disposable } from '@flowgram-adapter/common'; diff --git a/frontend/packages/workflow/variable/src/legacy/workflow-variable-validation-service.ts b/frontend/packages/workflow/variable/src/legacy/workflow-variable-validation-service.ts index 11a6c25e..6521a019 100644 --- a/frontend/packages/workflow/variable/src/legacy/workflow-variable-validation-service.ts +++ b/frontend/packages/workflow/variable/src/legacy/workflow-variable-validation-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { inject, injectable } from 'inversify'; import { type WorkflowNodeEntity } from '@flowgram-adapter/free-layout-editor'; import { type RefExpression } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/variable/src/services/global-variable-service.ts b/frontend/packages/workflow/variable/src/services/global-variable-service.ts index 752574aa..ce39aa85 100644 --- a/frontend/packages/workflow/variable/src/services/global-variable-service.ts +++ b/frontend/packages/workflow/variable/src/services/global-variable-service.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { isArray } from 'lodash-es'; import { inject, injectable, postConstruct, preDestroy } from 'inversify'; diff --git a/frontend/packages/workflow/variable/src/services/index.tsx b/frontend/packages/workflow/variable/src/services/index.tsx index 4d798819..e79566d4 100644 --- a/frontend/packages/workflow/variable/src/services/index.tsx +++ b/frontend/packages/workflow/variable/src/services/index.tsx @@ -13,5 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export { GlobalVariableService } from './global-variable-service'; diff --git a/frontend/packages/workflow/variable/src/typings.tsx b/frontend/packages/workflow/variable/src/typings.tsx index f4216646..519dabd8 100644 --- a/frontend/packages/workflow/variable/src/typings.tsx +++ b/frontend/packages/workflow/variable/src/typings.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { type VariableProviderAbilityOptions } from '@flowgram-adapter/free-layout-editor'; import { type ViewVariableType } from '@coze-workflow/base'; diff --git a/frontend/packages/workflow/variable/src/utils/form.ts b/frontend/packages/workflow/variable/src/utils/form.ts index 0a4d7100..d52ec6aa 100644 --- a/frontend/packages/workflow/variable/src/utils/form.ts +++ b/frontend/packages/workflow/variable/src/utils/form.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { set } from 'lodash-es'; import { type FormModelV2, diff --git a/frontend/packages/workflow/variable/src/utils/generate-input-json-schema.ts b/frontend/packages/workflow/variable/src/utils/generate-input-json-schema.ts index 40312673..120f691b 100644 --- a/frontend/packages/workflow/variable/src/utils/generate-input-json-schema.ts +++ b/frontend/packages/workflow/variable/src/utils/generate-input-json-schema.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + /* eslint-disable @typescript-eslint/naming-convention */ import { type SchemaObject } from 'ajv'; diff --git a/frontend/packages/workflow/variable/src/utils/json.ts b/frontend/packages/workflow/variable/src/utils/json.ts index 293f4f96..a860c657 100644 --- a/frontend/packages/workflow/variable/src/utils/json.ts +++ b/frontend/packages/workflow/variable/src/utils/json.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + export function safeJSONParse(jsonStr?: string) { try { if (!jsonStr) { diff --git a/frontend/packages/workflow/variable/src/utils/path.ts b/frontend/packages/workflow/variable/src/utils/path.ts index 3f644f43..2383b665 100644 --- a/frontend/packages/workflow/variable/src/utils/path.ts +++ b/frontend/packages/workflow/variable/src/utils/path.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FormPathService } from '@flowgram-adapter/free-layout-editor'; export function convertGlobPath(path: string) { if (path.startsWith('/')) { diff --git a/frontend/packages/workflow/variable/src/utils/sub-canvas.tsx b/frontend/packages/workflow/variable/src/utils/sub-canvas.tsx index c4926666..eef0e595 100644 --- a/frontend/packages/workflow/variable/src/utils/sub-canvas.tsx +++ b/frontend/packages/workflow/variable/src/utils/sub-canvas.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { FlowNodeVariableData, type Scope, diff --git a/frontend/packages/workflow/variable/vitest.config.ts b/frontend/packages/workflow/variable/vitest.config.ts index ce696f09..1a466471 100644 --- a/frontend/packages/workflow/variable/vitest.config.ts +++ b/frontend/packages/workflow/variable/vitest.config.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + import { resolve } from 'path'; import { defineConfig } from '@coze-arch/vitest-config';