@nocobase/plugin-ai 2.1.6 → 2.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/dev/external-knowledge-base.md +318 -0
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/documents.md +76 -0
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/hit-tests.md +66 -0
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/index.md +73 -0
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/segments.md +93 -0
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/settings.md +77 -0
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/rag.md +1 -1
- package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/create-document.md +79 -0
- package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/delete-document.md +71 -0
- package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/index.md +84 -0
- package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/retrieve-document.md +87 -0
- package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/update-document.md +70 -0
- package/dist/ai/docs/nocobase/development/index.md +3 -0
- package/dist/ai/docs/nocobase/get-started/deployment/how-to-deploy-nocobase-faster.mdx +2 -2
- package/dist/ai/docs/nocobase/ops-management/backup-manager/index.mdx +9 -7
- package/dist/ai/docs/nocobase/ops-management/migration-manager/built-in-tables.md +423 -0
- package/dist/ai/docs/nocobase/ops-management/migration-manager/index.md +12 -9
- package/dist/ai/docs/nocobase/ops-management/release-management/index.md +111 -24
- package/dist/client/ai-employees/ProfileCard.d.ts +1 -0
- package/dist/client/ai-employees/chatbox/hooks/useChatMessageActions.d.ts +2 -3
- package/dist/client/ai-employees/form-filler/tools/index.d.ts +8 -0
- package/dist/client/index.js +3 -3
- package/dist/externalVersion.js +21 -21
- package/dist/node_modules/@langchain/xai/dist/chat_models/completions.cjs +25 -34
- package/dist/node_modules/@langchain/xai/dist/chat_models/completions.d.cts +10 -22
- package/dist/node_modules/@langchain/xai/dist/chat_models/completions.d.ts +10 -22
- package/dist/node_modules/@langchain/xai/dist/chat_models/completions.js +17 -25
- package/dist/node_modules/@langchain/xai/dist/chat_models/index.cjs +2 -2
- package/dist/node_modules/@langchain/xai/dist/chat_models/index.d.cts +3 -0
- package/dist/node_modules/@langchain/xai/dist/chat_models/index.js +3 -2
- package/dist/node_modules/@langchain/xai/dist/chat_models/responses-types.d.cts +5 -12
- package/dist/node_modules/@langchain/xai/dist/chat_models/responses-types.d.ts +5 -12
- package/dist/node_modules/@langchain/xai/dist/chat_models/responses.cjs +18 -19
- package/dist/node_modules/@langchain/xai/dist/chat_models/responses.d.cts +1 -1
- package/dist/node_modules/@langchain/xai/dist/chat_models/responses.d.ts +1 -1
- package/dist/node_modules/@langchain/xai/dist/chat_models/responses.js +13 -13
- package/dist/node_modules/@langchain/xai/dist/converters/responses.cjs +16 -22
- package/dist/node_modules/@langchain/xai/dist/converters/responses.js +7 -12
- package/dist/node_modules/@langchain/xai/dist/index.cjs +2 -2
- package/dist/node_modules/@langchain/xai/dist/index.d.ts +0 -1
- package/dist/node_modules/@langchain/xai/dist/index.js +1 -2
- package/dist/node_modules/@langchain/xai/dist/live_search.cjs +4 -5
- package/dist/node_modules/@langchain/xai/dist/live_search.js +4 -4
- package/dist/node_modules/@langchain/xai/dist/profiles.cjs +81 -97
- package/dist/node_modules/@langchain/xai/dist/profiles.js +81 -96
- package/dist/node_modules/@langchain/xai/dist/tools/code_execution.cjs +1 -2
- package/dist/node_modules/@langchain/xai/dist/tools/code_execution.js +1 -1
- package/dist/node_modules/@langchain/xai/dist/tools/collections_search.cjs +1 -2
- package/dist/node_modules/@langchain/xai/dist/tools/collections_search.js +1 -1
- package/dist/node_modules/@langchain/xai/dist/tools/index.cjs +6 -7
- package/dist/node_modules/@langchain/xai/dist/tools/index.d.cts +1 -2
- package/dist/node_modules/@langchain/xai/dist/tools/index.d.ts +1 -2
- package/dist/node_modules/@langchain/xai/dist/tools/index.js +6 -7
- package/dist/node_modules/@langchain/xai/dist/tools/live_search.cjs +3 -7
- package/dist/node_modules/@langchain/xai/dist/tools/live_search.d.cts +1 -2
- package/dist/node_modules/@langchain/xai/dist/tools/live_search.d.ts +1 -2
- package/dist/node_modules/@langchain/xai/dist/tools/live_search.js +3 -6
- package/dist/node_modules/@langchain/xai/dist/tools/web_search.cjs +1 -2
- package/dist/node_modules/@langchain/xai/dist/tools/web_search.js +1 -1
- package/dist/node_modules/@langchain/xai/dist/tools/x_search.cjs +1 -2
- package/dist/node_modules/@langchain/xai/dist/tools/x_search.js +1 -1
- package/dist/node_modules/@langchain/xai/package.json +1 -1
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/node_modules/jsonrepair/package.json +1 -1
- package/dist/node_modules/just-bash/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts +1 -1
- package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts +1 -1
- package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts +1 -1
- package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts +1 -1
- package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts +1 -1
- package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts +1 -1
- package/dist/node_modules/openai/api-promise.d.mts +1 -0
- package/dist/node_modules/openai/api-promise.d.ts +1 -0
- package/dist/node_modules/openai/auth/index.d.mts +4 -0
- package/dist/node_modules/openai/auth/index.d.ts +4 -0
- package/dist/node_modules/openai/auth/index.js +11 -0
- package/dist/node_modules/openai/auth/subject-token-providers.d.mts +20 -0
- package/dist/node_modules/openai/auth/subject-token-providers.d.ts +20 -0
- package/dist/node_modules/openai/auth/subject-token-providers.js +127 -0
- package/dist/node_modules/openai/auth/types.d.mts +23 -0
- package/dist/node_modules/openai/auth/types.d.ts +23 -0
- package/dist/node_modules/openai/auth/types.js +3 -0
- package/dist/node_modules/openai/auth/workload-identity-auth.d.mts +16 -0
- package/dist/node_modules/openai/auth/workload-identity-auth.d.ts +16 -0
- package/dist/node_modules/openai/auth/workload-identity-auth.js +95 -0
- package/dist/node_modules/openai/azure.d.mts +6 -2
- package/dist/node_modules/openai/azure.d.ts +6 -2
- package/dist/node_modules/openai/azure.js +4 -3
- package/dist/node_modules/openai/beta/realtime/websocket.js +7 -2
- package/dist/node_modules/openai/beta/realtime/ws.js +5 -1
- package/dist/node_modules/openai/bin/migration-config.json +1120 -0
- package/dist/node_modules/openai/client.d.mts +72 -10
- package/dist/node_modules/openai/client.d.ts +72 -10
- package/dist/node_modules/openai/client.js +207 -28
- package/dist/node_modules/openai/core/EventEmitter.d.mts +56 -0
- package/dist/node_modules/openai/core/EventEmitter.d.ts +56 -0
- package/dist/node_modules/openai/core/EventEmitter.js +93 -0
- package/dist/node_modules/openai/core/error.d.mts +15 -0
- package/dist/node_modules/openai/core/error.d.ts +15 -0
- package/dist/node_modules/openai/core/error.js +34 -1
- package/dist/node_modules/openai/core/pagination.d.mts +18 -0
- package/dist/node_modules/openai/core/pagination.d.ts +18 -0
- package/dist/node_modules/openai/core/pagination.js +32 -1
- package/dist/node_modules/openai/core/streaming.d.mts +1 -1
- package/dist/node_modules/openai/core/streaming.d.ts +1 -1
- package/dist/node_modules/openai/core/streaming.js +2 -2
- package/dist/node_modules/openai/error.d.mts +1 -0
- package/dist/node_modules/openai/error.d.ts +1 -0
- package/dist/node_modules/openai/index.d.mts +1 -1
- package/dist/node_modules/openai/index.d.ts +1 -1
- package/dist/node_modules/openai/index.js +1 -1
- package/dist/node_modules/openai/internal/parse.js +2 -2
- package/dist/node_modules/openai/internal/qs/index.d.mts +2 -2
- package/dist/node_modules/openai/internal/qs/index.d.ts +2 -2
- package/dist/node_modules/openai/internal/request-options.d.mts +5 -0
- package/dist/node_modules/openai/internal/request-options.d.ts +5 -0
- package/dist/node_modules/openai/internal/shims.d.mts +6 -0
- package/dist/node_modules/openai/internal/shims.d.ts +6 -0
- package/dist/node_modules/openai/internal/types.d.mts +17 -11
- package/dist/node_modules/openai/internal/types.d.ts +17 -11
- package/dist/node_modules/openai/internal/utils/env.js +2 -2
- package/dist/node_modules/openai/internal/utils/log.js +2 -0
- package/dist/node_modules/openai/internal/utils/query.d.mts +2 -0
- package/dist/node_modules/openai/internal/utils/query.d.ts +2 -0
- package/dist/node_modules/openai/internal/utils/query.js +10 -0
- package/dist/node_modules/openai/internal/utils.d.mts +1 -0
- package/dist/node_modules/openai/internal/utils.d.ts +1 -0
- package/dist/node_modules/openai/internal/utils.js +1 -0
- package/dist/node_modules/openai/internal/ws-adapter-browser.d.mts +34 -0
- package/dist/node_modules/openai/internal/ws-adapter-browser.d.ts +34 -0
- package/dist/node_modules/openai/internal/ws-adapter-browser.js +88 -0
- package/dist/node_modules/openai/internal/ws-adapter-node.d.mts +27 -0
- package/dist/node_modules/openai/internal/ws-adapter-node.d.ts +27 -0
- package/dist/node_modules/openai/internal/ws-adapter-node.js +90 -0
- package/dist/node_modules/openai/internal/ws-adapter.d.mts +24 -0
- package/dist/node_modules/openai/internal/ws-adapter.d.ts +24 -0
- package/dist/node_modules/openai/internal/ws-adapter.js +11 -0
- package/dist/node_modules/openai/internal/ws.d.mts +80 -0
- package/dist/node_modules/openai/internal/ws.d.ts +80 -0
- package/dist/node_modules/openai/internal/ws.js +153 -0
- package/dist/node_modules/openai/package.json +1 -1
- package/dist/node_modules/openai/pagination.d.mts +1 -0
- package/dist/node_modules/openai/pagination.d.ts +1 -0
- package/dist/node_modules/openai/realtime/websocket.js +7 -2
- package/dist/node_modules/openai/realtime/ws.js +5 -1
- package/dist/node_modules/openai/resource.d.mts +1 -0
- package/dist/node_modules/openai/resource.d.ts +1 -0
- package/dist/node_modules/openai/resources/admin/admin.d.mts +10 -0
- package/dist/node_modules/openai/resources/admin/admin.d.ts +10 -0
- package/dist/node_modules/openai/resources/admin/admin.js +17 -0
- package/dist/node_modules/openai/resources/admin/index.d.mts +3 -0
- package/dist/node_modules/openai/resources/admin/index.d.ts +3 -0
- package/dist/node_modules/openai/resources/admin/index.js +9 -0
- package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.d.mts +140 -0
- package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.d.ts +140 -0
- package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.js +81 -0
- package/dist/node_modules/openai/resources/admin/organization/audit-logs.d.mts +1267 -0
- package/dist/node_modules/openai/resources/admin/organization/audit-logs.d.ts +1267 -0
- package/dist/node_modules/openai/resources/admin/organization/audit-logs.js +31 -0
- package/dist/node_modules/openai/resources/admin/organization/certificates.d.mts +322 -0
- package/dist/node_modules/openai/resources/admin/organization/certificates.d.ts +322 -0
- package/dist/node_modules/openai/resources/admin/organization/certificates.js +144 -0
- package/dist/node_modules/openai/resources/admin/organization/data-retention.d.mts +50 -0
- package/dist/node_modules/openai/resources/admin/organization/data-retention.d.ts +50 -0
- package/dist/node_modules/openai/resources/admin/organization/data-retention.js +42 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/groups.d.mts +160 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/groups.d.ts +160 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/groups.js +109 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/index.d.mts +4 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/index.d.ts +4 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/index.js +11 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/roles.d.mts +275 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/roles.d.ts +275 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/roles.js +84 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/users.d.mts +164 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/users.d.ts +164 -0
- package/dist/node_modules/openai/resources/admin/organization/groups/users.js +84 -0
- package/dist/node_modules/openai/resources/admin/organization/groups.d.mts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/groups.d.ts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/groups.js +6 -0
- package/dist/node_modules/openai/resources/admin/organization/index.d.mts +13 -0
- package/dist/node_modules/openai/resources/admin/organization/index.d.ts +13 -0
- package/dist/node_modules/openai/resources/admin/organization/index.js +29 -0
- package/dist/node_modules/openai/resources/admin/organization/invites.d.mts +153 -0
- package/dist/node_modules/openai/resources/admin/organization/invites.d.ts +153 -0
- package/dist/node_modules/openai/resources/admin/organization/invites.js +83 -0
- package/dist/node_modules/openai/resources/admin/organization/organization.d.mts +50 -0
- package/dist/node_modules/openai/resources/admin/organization/organization.d.ts +50 -0
- package/dist/node_modules/openai/resources/admin/organization/organization.js +57 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.d.mts +167 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.d.ts +167 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.js +68 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/certificates.d.mts +186 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/certificates.d.ts +186 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/certificates.js +64 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.d.mts +53 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.d.ts +53 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.js +46 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.d.mts +142 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.d.ts +142 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.js +93 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.d.mts +3 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.d.ts +3 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.js +9 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.d.mts +292 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.d.ts +292 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.js +87 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups.d.mts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups.d.ts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/groups.js +6 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.d.mts +174 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.d.ts +174 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.js +45 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/index.d.mts +13 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/index.d.ts +13 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/index.js +29 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.d.mts +86 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.d.ts +86 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.js +63 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/projects.d.mts +188 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/projects.d.ts +188 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/projects.js +149 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.d.mts +120 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.d.ts +120 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.js +47 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/roles.d.mts +146 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/roles.d.ts +146 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/roles.js +108 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.d.mts +168 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.d.ts +168 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.js +101 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.d.mts +241 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.d.ts +241 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.js +102 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/index.d.mts +3 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/index.d.ts +3 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/index.js +9 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.d.mts +266 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.d.ts +266 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.js +87 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/users.d.mts +157 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/users.d.ts +157 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users/users.js +116 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users.d.mts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users.d.ts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/projects/users.js +6 -0
- package/dist/node_modules/openai/resources/admin/organization/projects.d.mts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/projects.d.ts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/projects.js +6 -0
- package/dist/node_modules/openai/resources/admin/organization/roles.d.mts +153 -0
- package/dist/node_modules/openai/resources/admin/organization/roles.d.ts +153 -0
- package/dist/node_modules/openai/resources/admin/organization/roles.js +96 -0
- package/dist/node_modules/openai/resources/admin/organization/spend-alerts.d.mts +224 -0
- package/dist/node_modules/openai/resources/admin/organization/spend-alerts.d.ts +224 -0
- package/dist/node_modules/openai/resources/admin/organization/spend-alerts.js +93 -0
- package/dist/node_modules/openai/resources/admin/organization/usage.d.mts +5123 -0
- package/dist/node_modules/openai/resources/admin/organization/usage.d.ts +5123 -0
- package/dist/node_modules/openai/resources/admin/organization/usage.js +207 -0
- package/dist/node_modules/openai/resources/admin/organization/users/index.d.mts +3 -0
- package/dist/node_modules/openai/resources/admin/organization/users/index.d.ts +3 -0
- package/dist/node_modules/openai/resources/admin/organization/users/index.js +9 -0
- package/dist/node_modules/openai/resources/admin/organization/users/roles.d.mts +249 -0
- package/dist/node_modules/openai/resources/admin/organization/users/roles.d.ts +249 -0
- package/dist/node_modules/openai/resources/admin/organization/users/roles.js +84 -0
- package/dist/node_modules/openai/resources/admin/organization/users/users.d.mts +185 -0
- package/dist/node_modules/openai/resources/admin/organization/users/users.d.ts +185 -0
- package/dist/node_modules/openai/resources/admin/organization/users/users.js +84 -0
- package/dist/node_modules/openai/resources/admin/organization/users.d.mts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/users.d.ts +2 -0
- package/dist/node_modules/openai/resources/admin/organization/users.js +6 -0
- package/dist/node_modules/openai/resources/admin/organization.d.mts +2 -0
- package/dist/node_modules/openai/resources/admin/organization.d.ts +2 -0
- package/dist/node_modules/openai/resources/admin/organization.js +6 -0
- package/dist/node_modules/openai/resources/admin.d.mts +2 -0
- package/dist/node_modules/openai/resources/admin.d.ts +2 -0
- package/dist/node_modules/openai/resources/admin.js +6 -0
- package/dist/node_modules/openai/resources/audio/speech.d.mts +22 -5
- package/dist/node_modules/openai/resources/audio/speech.d.ts +22 -5
- package/dist/node_modules/openai/resources/audio/speech.js +8 -2
- package/dist/node_modules/openai/resources/audio/transcriptions.d.mts +6 -0
- package/dist/node_modules/openai/resources/audio/transcriptions.d.ts +6 -0
- package/dist/node_modules/openai/resources/audio/transcriptions.js +4 -0
- package/dist/node_modules/openai/resources/audio/translations.d.mts +3 -0
- package/dist/node_modules/openai/resources/audio/translations.d.ts +3 -0
- package/dist/node_modules/openai/resources/audio/translations.js +4 -1
- package/dist/node_modules/openai/resources/batches.d.mts +8 -4
- package/dist/node_modules/openai/resources/batches.d.ts +8 -4
- package/dist/node_modules/openai/resources/batches.js +14 -4
- package/dist/node_modules/openai/resources/beta/assistants.d.mts +6 -2
- package/dist/node_modules/openai/resources/beta/assistants.d.ts +6 -2
- package/dist/node_modules/openai/resources/beta/assistants.js +8 -0
- package/dist/node_modules/openai/resources/beta/chatkit/sessions.d.mts +4 -2
- package/dist/node_modules/openai/resources/beta/chatkit/sessions.d.ts +4 -2
- package/dist/node_modules/openai/resources/beta/chatkit/sessions.js +6 -2
- package/dist/node_modules/openai/resources/beta/chatkit/threads.d.mts +4 -4
- package/dist/node_modules/openai/resources/beta/chatkit/threads.d.ts +4 -4
- package/dist/node_modules/openai/resources/beta/chatkit/threads.js +13 -5
- package/dist/node_modules/openai/resources/beta/realtime/sessions.js +1 -0
- package/dist/node_modules/openai/resources/beta/realtime/transcription-sessions.js +1 -0
- package/dist/node_modules/openai/resources/beta/threads/messages.d.mts +2 -0
- package/dist/node_modules/openai/resources/beta/threads/messages.d.ts +2 -0
- package/dist/node_modules/openai/resources/beta/threads/messages.js +7 -0
- package/dist/node_modules/openai/resources/beta/threads/runs/runs.d.mts +2 -0
- package/dist/node_modules/openai/resources/beta/threads/runs/runs.d.ts +2 -0
- package/dist/node_modules/openai/resources/beta/threads/runs/runs.js +10 -0
- package/dist/node_modules/openai/resources/beta/threads/runs/steps.d.mts +2 -0
- package/dist/node_modules/openai/resources/beta/threads/runs/steps.d.ts +2 -0
- package/dist/node_modules/openai/resources/beta/threads/runs/steps.js +4 -0
- package/dist/node_modules/openai/resources/beta/threads/threads.d.mts +8 -4
- package/dist/node_modules/openai/resources/beta/threads/threads.d.ts +8 -4
- package/dist/node_modules/openai/resources/beta/threads/threads.js +8 -0
- package/dist/node_modules/openai/resources/chat/completions/completions.d.mts +37 -18
- package/dist/node_modules/openai/resources/chat/completions/completions.d.ts +37 -18
- package/dist/node_modules/openai/resources/chat/completions/completions.js +27 -5
- package/dist/node_modules/openai/resources/chat/completions/messages.d.mts +3 -0
- package/dist/node_modules/openai/resources/chat/completions/messages.d.ts +3 -0
- package/dist/node_modules/openai/resources/chat/completions/messages.js +4 -1
- package/dist/node_modules/openai/resources/completions.d.mts +9 -3
- package/dist/node_modules/openai/resources/completions.d.ts +9 -3
- package/dist/node_modules/openai/resources/completions.js +9 -1
- package/dist/node_modules/openai/resources/containers/containers.js +11 -3
- package/dist/node_modules/openai/resources/containers/files/content.js +1 -0
- package/dist/node_modules/openai/resources/containers/files/files.js +7 -2
- package/dist/node_modules/openai/resources/conversations/conversations.d.mts +15 -0
- package/dist/node_modules/openai/resources/conversations/conversations.d.ts +15 -0
- package/dist/node_modules/openai/resources/conversations/conversations.js +17 -4
- package/dist/node_modules/openai/resources/conversations/items.d.mts +4 -1
- package/dist/node_modules/openai/resources/conversations/items.d.ts +4 -1
- package/dist/node_modules/openai/resources/conversations/items.js +14 -3
- package/dist/node_modules/openai/resources/embeddings.d.mts +3 -0
- package/dist/node_modules/openai/resources/embeddings.d.ts +3 -0
- package/dist/node_modules/openai/resources/embeddings.js +4 -0
- package/dist/node_modules/openai/resources/evals/evals.d.mts +3 -0
- package/dist/node_modules/openai/resources/evals/evals.d.ts +3 -0
- package/dist/node_modules/openai/resources/evals/evals.js +12 -5
- package/dist/node_modules/openai/resources/evals/runs/output-items.d.mts +3 -0
- package/dist/node_modules/openai/resources/evals/runs/output-items.d.ts +3 -0
- package/dist/node_modules/openai/resources/evals/runs/output-items.js +8 -2
- package/dist/node_modules/openai/resources/evals/runs/runs.d.mts +3 -0
- package/dist/node_modules/openai/resources/evals/runs/runs.d.ts +3 -0
- package/dist/node_modules/openai/resources/evals/runs/runs.js +21 -4
- package/dist/node_modules/openai/resources/files.d.mts +11 -1
- package/dist/node_modules/openai/resources/files.d.ts +11 -1
- package/dist/node_modules/openai/resources/files.js +20 -5
- package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts +3 -0
- package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts +3 -0
- package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.js +13 -2
- package/dist/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts +2 -2
- package/dist/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts +2 -2
- package/dist/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts +1 -1
- package/dist/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts +1 -1
- package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts +54 -7
- package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts +54 -7
- package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js +26 -9
- package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts +3 -0
- package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts +3 -0
- package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js +4 -1
- package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts +3 -0
- package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts +3 -0
- package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.js +26 -7
- package/dist/node_modules/openai/resources/images.d.mts +56 -24
- package/dist/node_modules/openai/resources/images.d.ts +56 -24
- package/dist/node_modules/openai/resources/images.js +11 -3
- package/dist/node_modules/openai/resources/index.d.mts +2 -1
- package/dist/node_modules/openai/resources/index.d.ts +2 -1
- package/dist/node_modules/openai/resources/index.js +3 -1
- package/dist/node_modules/openai/resources/models.d.mts +3 -0
- package/dist/node_modules/openai/resources/models.d.ts +3 -0
- package/dist/node_modules/openai/resources/models.js +6 -3
- package/dist/node_modules/openai/resources/moderations.d.mts +3 -0
- package/dist/node_modules/openai/resources/moderations.d.ts +3 -0
- package/dist/node_modules/openai/resources/moderations.js +4 -1
- package/dist/node_modules/openai/resources/realtime/calls.d.mts +13 -3
- package/dist/node_modules/openai/resources/realtime/calls.d.ts +13 -3
- package/dist/node_modules/openai/resources/realtime/calls.js +4 -0
- package/dist/node_modules/openai/resources/realtime/client-secrets.d.mts +45 -39
- package/dist/node_modules/openai/resources/realtime/client-secrets.d.ts +45 -39
- package/dist/node_modules/openai/resources/realtime/client-secrets.js +19 -1
- package/dist/node_modules/openai/resources/realtime/index.d.mts +1 -1
- package/dist/node_modules/openai/resources/realtime/index.d.ts +1 -1
- package/dist/node_modules/openai/resources/realtime/realtime.d.mts +592 -21
- package/dist/node_modules/openai/resources/realtime/realtime.d.ts +592 -21
- package/dist/node_modules/openai/resources/responses/index.d.mts +2 -0
- package/dist/node_modules/openai/resources/responses/index.d.ts +2 -0
- package/dist/node_modules/openai/resources/responses/input-items.js +1 -1
- package/dist/node_modules/openai/resources/responses/input-tokens.d.mts +4 -1
- package/dist/node_modules/openai/resources/responses/input-tokens.d.ts +4 -1
- package/dist/node_modules/openai/resources/responses/input-tokens.js +9 -2
- package/dist/node_modules/openai/resources/responses/internal-base.d.mts +71 -0
- package/dist/node_modules/openai/resources/responses/internal-base.d.ts +71 -0
- package/dist/node_modules/openai/resources/responses/internal-base.js +48 -0
- package/dist/node_modules/openai/resources/responses/responses.d.mts +956 -64
- package/dist/node_modules/openai/resources/responses/responses.d.ts +956 -64
- package/dist/node_modules/openai/resources/responses/responses.js +20 -5
- package/dist/node_modules/openai/resources/responses/ws-base.d.mts +106 -0
- package/dist/node_modules/openai/resources/responses/ws-base.d.ts +106 -0
- package/dist/node_modules/openai/resources/responses/ws-base.js +476 -0
- package/dist/node_modules/openai/resources/responses/ws.d.mts +13 -0
- package/dist/node_modules/openai/resources/responses/ws.d.ts +13 -0
- package/dist/node_modules/openai/resources/responses/ws.js +31 -0
- package/dist/node_modules/openai/resources/shared.d.mts +3 -2
- package/dist/node_modules/openai/resources/shared.d.ts +3 -2
- package/dist/node_modules/openai/resources/skills/content.d.mts +1 -1
- package/dist/node_modules/openai/resources/skills/content.d.ts +1 -1
- package/dist/node_modules/openai/resources/skills/content.js +2 -1
- package/dist/node_modules/openai/resources/skills/skills.d.mts +5 -5
- package/dist/node_modules/openai/resources/skills/skills.d.ts +5 -5
- package/dist/node_modules/openai/resources/skills/skills.js +18 -10
- package/dist/node_modules/openai/resources/skills/versions/content.d.mts +1 -1
- package/dist/node_modules/openai/resources/skills/versions/content.d.ts +1 -1
- package/dist/node_modules/openai/resources/skills/versions/content.js +2 -1
- package/dist/node_modules/openai/resources/skills/versions/versions.d.mts +4 -4
- package/dist/node_modules/openai/resources/skills/versions/versions.d.ts +4 -4
- package/dist/node_modules/openai/resources/skills/versions/versions.js +14 -7
- package/dist/node_modules/openai/resources/uploads/parts.d.mts +3 -0
- package/dist/node_modules/openai/resources/uploads/parts.d.ts +3 -0
- package/dist/node_modules/openai/resources/uploads/parts.js +4 -1
- package/dist/node_modules/openai/resources/uploads/uploads.d.mts +10 -1
- package/dist/node_modules/openai/resources/uploads/uploads.d.ts +10 -1
- package/dist/node_modules/openai/resources/uploads/uploads.js +20 -4
- package/dist/node_modules/openai/resources/vector-stores/file-batches.d.mts +9 -3
- package/dist/node_modules/openai/resources/vector-stores/file-batches.d.ts +9 -3
- package/dist/node_modules/openai/resources/vector-stores/file-batches.js +9 -1
- package/dist/node_modules/openai/resources/vector-stores/files.d.mts +3 -1
- package/dist/node_modules/openai/resources/vector-stores/files.d.ts +3 -1
- package/dist/node_modules/openai/resources/vector-stores/files.js +10 -1
- package/dist/node_modules/openai/resources/vector-stores/vector-stores.js +6 -0
- package/dist/node_modules/openai/resources/videos.d.mts +123 -11
- package/dist/node_modules/openai/resources/videos.d.ts +123 -11
- package/dist/node_modules/openai/resources/videos.js +46 -11
- package/dist/node_modules/openai/src/auth/index.ts +9 -0
- package/dist/node_modules/openai/src/auth/subject-token-providers.ts +185 -0
- package/dist/node_modules/openai/src/auth/types.ts +28 -0
- package/dist/node_modules/openai/src/auth/workload-identity-auth.ts +122 -0
- package/dist/node_modules/openai/src/azure.ts +9 -4
- package/dist/node_modules/openai/src/beta/realtime/websocket.ts +7 -2
- package/dist/node_modules/openai/src/beta/realtime/ws.ts +5 -1
- package/dist/node_modules/openai/src/client.ts +312 -35
- package/dist/node_modules/openai/src/core/EventEmitter.ts +114 -0
- package/dist/node_modules/openai/src/core/error.ts +40 -0
- package/dist/node_modules/openai/src/core/pagination.ts +62 -0
- package/dist/node_modules/openai/src/core/streaming.ts +2 -1
- package/dist/node_modules/openai/src/index.ts +2 -0
- package/dist/node_modules/openai/src/internal/parse.ts +12 -2
- package/dist/node_modules/openai/src/internal/request-options.ts +2 -0
- package/dist/node_modules/openai/src/internal/types.ts +14 -8
- package/dist/node_modules/openai/src/internal/utils/env.ts +2 -2
- package/dist/node_modules/openai/src/internal/utils/log.ts +2 -0
- package/dist/node_modules/openai/src/internal/utils/query.ts +7 -0
- package/dist/node_modules/openai/src/internal/utils.ts +1 -0
- package/dist/node_modules/openai/src/internal/ws-adapter-browser.ts +123 -0
- package/dist/node_modules/openai/src/internal/ws-adapter-node.ts +105 -0
- package/dist/node_modules/openai/src/internal/ws-adapter.ts +30 -0
- package/dist/node_modules/openai/src/internal/ws.ts +193 -0
- package/dist/node_modules/openai/src/realtime/websocket.ts +7 -2
- package/dist/node_modules/openai/src/realtime/ws.ts +5 -1
- package/dist/node_modules/openai/src/resources/admin/admin.ts +15 -0
- package/dist/node_modules/openai/src/resources/admin/index.ts +4 -0
- package/dist/node_modules/openai/src/resources/admin/organization/admin-api-keys.ts +199 -0
- package/dist/node_modules/openai/src/resources/admin/organization/audit-logs.ts +1597 -0
- package/dist/node_modules/openai/src/resources/admin/organization/certificates.ts +458 -0
- package/dist/node_modules/openai/src/resources/admin/organization/data-retention.ts +79 -0
- package/dist/node_modules/openai/src/resources/admin/organization/groups/groups.ts +277 -0
- package/dist/node_modules/openai/src/resources/admin/organization/groups/index.ts +36 -0
- package/dist/node_modules/openai/src/resources/admin/organization/groups/roles.ts +359 -0
- package/dist/node_modules/openai/src/resources/admin/organization/groups/users.ts +232 -0
- package/dist/node_modules/openai/src/resources/admin/organization/groups.ts +3 -0
- package/dist/node_modules/openai/src/resources/admin/organization/index.ts +117 -0
- package/dist/node_modules/openai/src/resources/admin/organization/invites.ts +215 -0
- package/dist/node_modules/openai/src/resources/admin/organization/organization.ts +272 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/api-keys.ts +239 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/certificates.ts +269 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/data-retention.ts +91 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/groups.ts +231 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/index.ts +24 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/roles.ts +386 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/groups.ts +3 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/hosted-tool-permissions.ts +217 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/index.ts +102 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/model-permissions.ts +123 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/projects.ts +445 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/rate-limits.ts +173 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/roles.ts +210 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/service-accounts.ts +266 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/spend-alerts.ts +332 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/users/index.ts +25 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/users/roles.ts +351 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/users/users.ts +256 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects/users.ts +3 -0
- package/dist/node_modules/openai/src/resources/admin/organization/projects.ts +3 -0
- package/dist/node_modules/openai/src/resources/admin/organization/roles.ts +217 -0
- package/dist/node_modules/openai/src/resources/admin/organization/spend-alerts.ts +301 -0
- package/dist/node_modules/openai/src/resources/admin/organization/usage.ts +6427 -0
- package/dist/node_modules/openai/src/resources/admin/organization/users/index.ts +22 -0
- package/dist/node_modules/openai/src/resources/admin/organization/users/roles.ts +328 -0
- package/dist/node_modules/openai/src/resources/admin/organization/users/users.ts +291 -0
- package/dist/node_modules/openai/src/resources/admin/organization/users.ts +3 -0
- package/dist/node_modules/openai/src/resources/admin/organization.ts +3 -0
- package/dist/node_modules/openai/src/resources/admin.ts +3 -0
- package/dist/node_modules/openai/src/resources/audio/speech.ts +26 -6
- package/dist/node_modules/openai/src/resources/audio/transcriptions.ts +7 -0
- package/dist/node_modules/openai/src/resources/audio/translations.ts +7 -1
- package/dist/node_modules/openai/src/resources/batches.ts +20 -8
- package/dist/node_modules/openai/src/resources/beta/assistants.ts +11 -2
- package/dist/node_modules/openai/src/resources/beta/chatkit/sessions.ts +6 -2
- package/dist/node_modules/openai/src/resources/beta/chatkit/threads.ts +13 -5
- package/dist/node_modules/openai/src/resources/beta/realtime/sessions.ts +1 -0
- package/dist/node_modules/openai/src/resources/beta/realtime/transcription-sessions.ts +1 -0
- package/dist/node_modules/openai/src/resources/beta/threads/messages.ts +7 -0
- package/dist/node_modules/openai/src/resources/beta/threads/runs/runs.ts +10 -0
- package/dist/node_modules/openai/src/resources/beta/threads/runs/steps.ts +4 -0
- package/dist/node_modules/openai/src/resources/beta/threads/threads.ts +14 -4
- package/dist/node_modules/openai/src/resources/chat/completions/completions.ts +64 -27
- package/dist/node_modules/openai/src/resources/chat/completions/messages.ts +4 -1
- package/dist/node_modules/openai/src/resources/completions.ts +15 -6
- package/dist/node_modules/openai/src/resources/containers/containers.ts +11 -3
- package/dist/node_modules/openai/src/resources/containers/files/content.ts +1 -0
- package/dist/node_modules/openai/src/resources/containers/files/files.ts +7 -2
- package/dist/node_modules/openai/src/resources/conversations/conversations.ts +31 -4
- package/dist/node_modules/openai/src/resources/conversations/items.ts +17 -3
- package/dist/node_modules/openai/src/resources/embeddings.ts +4 -0
- package/dist/node_modules/openai/src/resources/evals/evals.ts +12 -5
- package/dist/node_modules/openai/src/resources/evals/runs/output-items.ts +8 -2
- package/dist/node_modules/openai/src/resources/evals/runs/runs.ts +21 -4
- package/dist/node_modules/openai/src/resources/files.ts +23 -5
- package/dist/node_modules/openai/src/resources/fine-tuning/alpha/graders.ts +13 -2
- package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/checkpoints.ts +6 -0
- package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/index.ts +3 -0
- package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/permissions.ts +84 -10
- package/dist/node_modules/openai/src/resources/fine-tuning/jobs/checkpoints.ts +4 -1
- package/dist/node_modules/openai/src/resources/fine-tuning/jobs/jobs.ts +26 -7
- package/dist/node_modules/openai/src/resources/images.ts +74 -27
- package/dist/node_modules/openai/src/resources/index.ts +7 -0
- package/dist/node_modules/openai/src/resources/models.ts +6 -3
- package/dist/node_modules/openai/src/resources/moderations.ts +4 -1
- package/dist/node_modules/openai/src/resources/realtime/calls.ts +21 -2
- package/dist/node_modules/openai/src/resources/realtime/client-secrets.ts +54 -40
- package/dist/node_modules/openai/src/resources/realtime/index.ts +0 -1
- package/dist/node_modules/openai/src/resources/realtime/realtime.ts +705 -20
- package/dist/node_modules/openai/src/resources/responses/index.ts +2 -0
- package/dist/node_modules/openai/src/resources/responses/input-items.ts +1 -1
- package/dist/node_modules/openai/src/resources/responses/input-tokens.ts +9 -2
- package/dist/node_modules/openai/src/resources/responses/internal-base.ts +113 -0
- package/dist/node_modules/openai/src/resources/responses/responses.ts +1314 -143
- package/dist/node_modules/openai/src/resources/responses/ws-base.ts +611 -0
- package/dist/node_modules/openai/src/resources/responses/ws.ts +38 -0
- package/dist/node_modules/openai/src/resources/shared.ts +9 -1
- package/dist/node_modules/openai/src/resources/skills/content.ts +2 -1
- package/dist/node_modules/openai/src/resources/skills/skills.ts +21 -10
- package/dist/node_modules/openai/src/resources/skills/versions/content.ts +2 -1
- package/dist/node_modules/openai/src/resources/skills/versions/versions.ts +14 -7
- package/dist/node_modules/openai/src/resources/uploads/parts.ts +4 -1
- package/dist/node_modules/openai/src/resources/uploads/uploads.ts +20 -4
- package/dist/node_modules/openai/src/resources/vector-stores/file-batches.ts +18 -4
- package/dist/node_modules/openai/src/resources/vector-stores/files.ts +13 -2
- package/dist/node_modules/openai/src/resources/vector-stores/vector-stores.ts +6 -0
- package/dist/node_modules/openai/src/resources/videos.ts +186 -16
- package/dist/node_modules/openai/src/version.ts +1 -1
- package/dist/node_modules/openai/streaming.d.mts +1 -0
- package/dist/node_modules/openai/streaming.d.ts +1 -0
- package/dist/node_modules/openai/uploads.d.mts +1 -0
- package/dist/node_modules/openai/uploads.d.ts +1 -0
- package/dist/node_modules/openai/version.d.mts +1 -1
- package/dist/node_modules/openai/version.d.ts +1 -1
- package/dist/node_modules/openai/version.js +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/ai-employees/ai-employee.d.ts +1 -10
- package/dist/server/ai-employees/ai-employee.js +0 -84
- package/dist/server/ai-employees/ai-knowledge-base.d.ts +0 -4
- package/dist/server/ai-employees/ai-knowledge-base.js +25 -89
- package/dist/server/collections/lc-checkpoint-blobs.js +1 -1
- package/dist/server/collections/lc-checkpoint-writes.js +1 -1
- package/dist/server/collections/lc-checkpoints.js +1 -1
- package/dist/server/features/index.d.ts +1 -1
- package/dist/server/features/knowledge-base.d.ts +2 -1
- package/dist/server/features/vector-store-provider.d.ts +1 -9
- package/dist/server/plugin.d.ts +1 -0
- package/dist/server/plugin.js +31 -0
- package/dist/server/types/knowledge-base.type.d.ts +14 -0
- package/package.json +13 -13
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base.md +0 -82
- package/dist/node_modules/@langchain/xai/dist/_virtual/rolldown_runtime.cjs +0 -25
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Built-in tables for applications and major plugins"
|
|
3
|
+
description: "Reference for built-in tables of applications and major plugins, covering Migration Manager default strategies, version-control scope, and backup/restore handling."
|
|
4
|
+
keywords: "Migration Manager,version control,backup restore,built-in tables,application configuration,plugin configuration,dataCategory,overwrite,schema-only,skip,NocoBase"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Built-in tables for applications and major plugins
|
|
8
|
+
|
|
9
|
+
## Introduction
|
|
10
|
+
|
|
11
|
+
This list explains common handling for built-in tables of applications and major plugins in Migration Manager, version control, and backup/restore. In most cases, users do not need to adjust tables one by one. Use the default strategy.
|
|
12
|
+
|
|
13
|
+
These mechanisms focus on different concerns:
|
|
14
|
+
|
|
15
|
+
- **Migration Manager**: publishes across environments. Common strategies include overwrite, schema-only, and skip.
|
|
16
|
+
- **Version control**: saves and restores key checkpoints during application building.
|
|
17
|
+
- **Backup/restore**: backs up and restores the application runtime state.
|
|
18
|
+
|
|
19
|
+
The “Data type” column comes from built-in classification. System base data participates in version control; business runtime data does not; runtime temporary data is not backed up.
|
|
20
|
+
|
|
21
|
+
## Built-in table reference
|
|
22
|
+
|
|
23
|
+
### Database
|
|
24
|
+
|
|
25
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
26
|
+
| --- | --- | --- | --- | --- | --- |
|
|
27
|
+
| `migrations` | Executed ORM/SQL migration versions | System base data | Schema-only | Included | Backed up |
|
|
28
|
+
|
|
29
|
+
### Server
|
|
30
|
+
|
|
31
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
32
|
+
| --- | --- | --- | --- | --- | --- |
|
|
33
|
+
| `applicationPlugins` | Plugin list and versions loaded by the application | System base data | Overwrite | Included | Backed up |
|
|
34
|
+
| `applicationVersion` | Application and core version used for upgrade and compatibility checks | System base data | Schema-only | Included | Backed up |
|
|
35
|
+
|
|
36
|
+
### System settings
|
|
37
|
+
|
|
38
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
39
|
+
| --- | --- | --- | --- | --- | --- |
|
|
40
|
+
| `systemSettings` | Installation-level system parameters and feature switches | System base data | Overwrite | Included | Backed up |
|
|
41
|
+
|
|
42
|
+
### Client
|
|
43
|
+
|
|
44
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
45
|
+
| --- | --- | --- | --- | --- | --- |
|
|
46
|
+
| `desktopRoutes` | Desktop menu and route structure | System base data | Overwrite | Included | Backed up |
|
|
47
|
+
|
|
48
|
+
### Multi-space
|
|
49
|
+
|
|
50
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
51
|
+
| --- | --- | --- | --- | --- | --- |
|
|
52
|
+
| `spaces` | Top-level containers for space or workspace isolation | Business runtime data | Schema-only | Not included | Backed up |
|
|
53
|
+
| `spacesUsers` | Membership between users and spaces | Business runtime data | Schema-only | Not included | Backed up |
|
|
54
|
+
|
|
55
|
+
### App monitoring
|
|
56
|
+
|
|
57
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
58
|
+
| --- | --- | --- | --- | --- | --- |
|
|
59
|
+
| `apps` | Application entries managed by the app monitoring plugin | Business runtime data | Schema-only | Not included | Backed up |
|
|
60
|
+
|
|
61
|
+
### Main data source
|
|
62
|
+
|
|
63
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
64
|
+
| --- | --- | --- | --- | --- | --- |
|
|
65
|
+
| `collectionCategories` | UI grouping for business collections | System base data | Overwrite | Included | Backed up |
|
|
66
|
+
| `collections` | Business collection fields, indexes, and metadata | System base data | Overwrite | Included | Backed up |
|
|
67
|
+
| `fields` | Field types and constraints under collections | System base data | Overwrite | Included | Backed up |
|
|
68
|
+
|
|
69
|
+
### Data source manager
|
|
70
|
+
|
|
71
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
72
|
+
| --- | --- | --- | --- | --- | --- |
|
|
73
|
+
| `dataSources` | Main or external database connection configuration | System base data | Overwrite | Included | Backed up |
|
|
74
|
+
| `dataSourcesCollections` | Mapping for synced tables or collections from external sources | System base data | Overwrite | Included | Backed up |
|
|
75
|
+
| `dataSourcesFields` | Mapping between external fields and NocoBase fields | System base data | Overwrite | Included | Backed up |
|
|
76
|
+
| `dataSourcesRoles` | Access roles at data-source level | System base data | Overwrite | Included | Backed up |
|
|
77
|
+
| `dataSourcesRolesResources` | Collections and operations accessible by roles | System base data | Overwrite | Included | Backed up |
|
|
78
|
+
| `dataSourcesRolesResourcesActions` | Allowed actions such as create, read, update, and delete | System base data | Overwrite | Included | Backed up |
|
|
79
|
+
| `dataSourcesRolesResourcesScopes` | Row-level or filter-scope restrictions | System base data | Overwrite | Included | Backed up |
|
|
80
|
+
|
|
81
|
+
### External database connections
|
|
82
|
+
|
|
83
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
84
|
+
| --- | --- | --- | --- | --- | --- |
|
|
85
|
+
| `databaseServers` | Registered database instances available for connection | System base data | Overwrite | Included | Backed up |
|
|
86
|
+
|
|
87
|
+
### Visual data modeling
|
|
88
|
+
|
|
89
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
90
|
+
| --- | --- | --- | --- | --- | --- |
|
|
91
|
+
| `graphPositions` | Node positions in graph or flow editors | System base data | Overwrite | Included | Backed up |
|
|
92
|
+
|
|
93
|
+
### China region field
|
|
94
|
+
|
|
95
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
96
|
+
| --- | --- | --- | --- | --- | --- |
|
|
97
|
+
| `chinaRegions` | Province, city, and district geographic dictionary | Business runtime data | Schema-only | Not included | Backed up |
|
|
98
|
+
|
|
99
|
+
### Auto-number field
|
|
100
|
+
|
|
101
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
102
|
+
| --- | --- | --- | --- | --- | --- |
|
|
103
|
+
| `sequences` | Sequence table for auto-generated business numbers | System base data | Overwrite | Included | Backed up |
|
|
104
|
+
|
|
105
|
+
### UI Schema
|
|
106
|
+
|
|
107
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
108
|
+
| --- | --- | --- | --- | --- | --- |
|
|
109
|
+
| `uiButtonSchemasRoles` | Relationship between button permissions and roles | System base data | Overwrite | Included | Backed up |
|
|
110
|
+
| `uiSchemaServerHooks` | Server-side hook extension points for UI configuration | System base data | Overwrite | Included | Backed up |
|
|
111
|
+
| `uiSchemaTemplates` | Reusable form and detail layout fragments | System base data | Overwrite | Included | Backed up |
|
|
112
|
+
| `uiSchemaTreePath` | Materialized paths for component-tree hierarchy | System base data | Overwrite | Included | Backed up |
|
|
113
|
+
| `uiSchemas` | JSON layout definitions for pages and blocks | System base data | Overwrite | Included | Backed up |
|
|
114
|
+
|
|
115
|
+
### UI templates
|
|
116
|
+
|
|
117
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
118
|
+
| --- | --- | --- | --- | --- | --- |
|
|
119
|
+
| `flowModelTemplateUsages` | Entities instantiated from a flow template | System base data | Overwrite | Included | Backed up |
|
|
120
|
+
| `flowModelTemplates` | Reusable flow-structure templates | System base data | Overwrite | Included | Backed up |
|
|
121
|
+
|
|
122
|
+
### Flow engine
|
|
123
|
+
|
|
124
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
125
|
+
| --- | --- | --- | --- | --- | --- |
|
|
126
|
+
| `flowModelTreePath` | Materialized paths for flow-model tree structures | System base data | Overwrite | Included | Backed up |
|
|
127
|
+
| `flowModels` | Model definitions for the modern flow engine | System base data | Overwrite | Included | Backed up |
|
|
128
|
+
| `flowSql` | SQL snippets or scripts registered in flows | System base data | Overwrite | Included | Backed up |
|
|
129
|
+
|
|
130
|
+
### Block templates
|
|
131
|
+
|
|
132
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
133
|
+
| --- | --- | --- | --- | --- | --- |
|
|
134
|
+
| `blockTemplateLinks` | Relationships between pages and block templates | System base data | Overwrite | Included | Backed up |
|
|
135
|
+
| `blockTemplates` | Reusable UI block definitions | System base data | Overwrite | Included | Backed up |
|
|
136
|
+
|
|
137
|
+
### iframe block
|
|
138
|
+
|
|
139
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
140
|
+
| --- | --- | --- | --- | --- | --- |
|
|
141
|
+
| `iframeHtml` | HTML configuration required by embedded iframes | System base data | Overwrite | Included | Backed up |
|
|
142
|
+
|
|
143
|
+
### Mobile
|
|
144
|
+
|
|
145
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
146
|
+
| --- | --- | --- | --- | --- | --- |
|
|
147
|
+
| `mobileRoutes` | Mobile app menus and routes | System base data | Overwrite | Included | Backed up |
|
|
148
|
+
|
|
149
|
+
### Theme editor
|
|
150
|
+
|
|
151
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
152
|
+
| --- | --- | --- | --- | --- | --- |
|
|
153
|
+
| `themeConfig` | Light/dark themes and brand colors | System base data | Overwrite | Included | Backed up |
|
|
154
|
+
|
|
155
|
+
### Map block
|
|
156
|
+
|
|
157
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
158
|
+
| --- | --- | --- | --- | --- | --- |
|
|
159
|
+
| `mapConfiguration` | Map widget center, zoom, and base-map configuration | System base data | Overwrite | Included | Backed up |
|
|
160
|
+
|
|
161
|
+
### Public forms
|
|
162
|
+
|
|
163
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
164
|
+
| --- | --- | --- | --- | --- | --- |
|
|
165
|
+
| `publicForms` | External forms and submission-entry configuration | System base data | Overwrite | Included | Backed up |
|
|
166
|
+
|
|
167
|
+
### Template printing
|
|
168
|
+
|
|
169
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
170
|
+
| --- | --- | --- | --- | --- | --- |
|
|
171
|
+
| `printingTemplates` | Print layouts for list or detail views | System base data | Overwrite | Included | Backed up |
|
|
172
|
+
|
|
173
|
+
### ACL
|
|
174
|
+
|
|
175
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
176
|
+
| --- | --- | --- | --- | --- | --- |
|
|
177
|
+
| `roles` | Role definitions for permission sets | System base data | Overwrite | Included | Backed up |
|
|
178
|
+
| `rolesResources` | Resources granted to roles | System base data | Overwrite | Included | Backed up |
|
|
179
|
+
| `rolesResourcesActions` | Actions allowed on resources, such as view and update | System base data | Overwrite | Included | Backed up |
|
|
180
|
+
| `rolesResourcesScopes` | Data filter scopes visible to roles | System base data | Overwrite | Included | Backed up |
|
|
181
|
+
| `rolesUsers` | Many-to-many relationship between users and roles | Business runtime data | Schema-only | Not included | Backed up |
|
|
182
|
+
|
|
183
|
+
### Authentication
|
|
184
|
+
|
|
185
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
186
|
+
| --- | --- | --- | --- | --- | --- |
|
|
187
|
+
| `authenticators` | Password and third-party login method configuration | System base data | Overwrite | Included | Backed up |
|
|
188
|
+
| `tokenControlConfig` | Session duration and refresh strategy | System base data | Overwrite | Included | Backed up |
|
|
189
|
+
| `issuedTokens` | Issued login or API access tokens | Business runtime data | Schema-only | Not included | Backed up |
|
|
190
|
+
| `tokenBlacklist` | Tokens that have been logged out or forcibly invalidated | Business runtime data | Schema-only | Not included | Backed up |
|
|
191
|
+
| `usersAuthenticators` | Bindings between users and authentication methods | Business runtime data | Schema-only | Not included | Backed up |
|
|
192
|
+
|
|
193
|
+
### Two-factor authentication
|
|
194
|
+
|
|
195
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
196
|
+
| --- | --- | --- | --- | --- | --- |
|
|
197
|
+
| `twoFactorAuthSettings` | 2FA methods and user-level switches | System base data | Overwrite | Included | Backed up |
|
|
198
|
+
|
|
199
|
+
### API keys
|
|
200
|
+
|
|
201
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
202
|
+
| --- | --- | --- | --- | --- | --- |
|
|
203
|
+
| `apiKeys` | Open API keys and permission scopes | Business runtime data | Schema-only | Not included | Backed up |
|
|
204
|
+
|
|
205
|
+
### Password policy
|
|
206
|
+
|
|
207
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
208
|
+
| --- | --- | --- | --- | --- | --- |
|
|
209
|
+
| `passwordPolicy` | Password complexity and expiration policies | System base data | Overwrite | Included | Backed up |
|
|
210
|
+
| `lockedUsers` | Accounts temporarily locked by policy | Business runtime data | Schema-only | Not included | Backed up |
|
|
211
|
+
| `userPasswordHistory` | Recent password hashes used to prevent reuse | Business runtime data | Schema-only | Not included | Backed up |
|
|
212
|
+
|
|
213
|
+
### IP restriction
|
|
214
|
+
|
|
215
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
216
|
+
| --- | --- | --- | --- | --- | --- |
|
|
217
|
+
| `ipRestrictionConfig` | IP allowlist or blocklist rules | System base data | Overwrite | Included | Backed up |
|
|
218
|
+
|
|
219
|
+
### Users
|
|
220
|
+
|
|
221
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
222
|
+
| --- | --- | --- | --- | --- | --- |
|
|
223
|
+
| `users` | Login accounts, profiles, and basic status | Business runtime data | Schema-only | Not included | Backed up |
|
|
224
|
+
|
|
225
|
+
### Departments
|
|
226
|
+
|
|
227
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
228
|
+
| --- | --- | --- | --- | --- | --- |
|
|
229
|
+
| `departments` | Department tree in the organization structure | Business runtime data | Overwrite | Not included | Backed up |
|
|
230
|
+
| `departmentsRoles` | Bindings between departments and default roles | Business runtime data | Overwrite | Not included | Backed up |
|
|
231
|
+
| `departmentsUsers` | Relationships between users and departments | Business runtime data | Schema-only | Not included | Backed up |
|
|
232
|
+
|
|
233
|
+
### User data sync
|
|
234
|
+
|
|
235
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
236
|
+
| --- | --- | --- | --- | --- | --- |
|
|
237
|
+
| `userDataSyncSources` | External identity source or account-system connection configuration | System base data | Overwrite | Included | Backed up |
|
|
238
|
+
| `userDataSyncRecords` | Execution records for synchronization jobs | Business runtime data | Schema-only | Not included | Backed up |
|
|
239
|
+
| `userDataSyncRecordsResources` | Tables or resources involved in synchronization jobs | Business runtime data | Schema-only | Not included | Backed up |
|
|
240
|
+
| `userDataSyncTasks` | Synchronization task records | Business runtime data | Schema-only | Not included | Backed up |
|
|
241
|
+
|
|
242
|
+
### Workflow
|
|
243
|
+
|
|
244
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
245
|
+
| --- | --- | --- | --- | --- | --- |
|
|
246
|
+
| `flow_nodes` | Workflow nodes | System base data | Overwrite | Included | Backed up |
|
|
247
|
+
| `workflows` | Automation flow charts, triggers, and node configuration | System base data | Overwrite | Included | Backed up |
|
|
248
|
+
| `jobs` | Execution result of each node in a workflow run | Business runtime data | Schema-only | Not included | Backed up |
|
|
249
|
+
| `executions` | Status, inputs, outputs, and log indexes for workflow runs | Business runtime data | Schema-only | Not included | Backed up |
|
|
250
|
+
| `userWorkflowTasks` | Task-count statistics for users | Business runtime data | Schema-only | Not included | Backed up |
|
|
251
|
+
| `workflowCategories` | Workflow grouping in the UI | Business runtime data | Overwrite | Not included | Backed up |
|
|
252
|
+
| `workflowCategoryRelations` | Many-to-many relationship between workflows and categories | Business runtime data | Overwrite | Not included | Backed up |
|
|
253
|
+
| `workflowStats` | Aggregated metrics such as run count and success rate | Business runtime data | Schema-only | Not included | Backed up |
|
|
254
|
+
| `workflowTasks` | Task execution records for automation nodes | Business runtime data | Schema-only | Not included | Backed up |
|
|
255
|
+
| `workflowVersionStats` | Execution and performance statistics by workflow version | Business runtime data | Schema-only | Not included | Backed up |
|
|
256
|
+
|
|
257
|
+
### Workflow approval
|
|
258
|
+
|
|
259
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
260
|
+
| --- | --- | --- | --- | --- | --- |
|
|
261
|
+
| `approvalAudienceUsers` | Relationship between approval audiences and users | Business runtime data | Schema-only | Not included | Backed up |
|
|
262
|
+
| `approvalAudiences` | Approval notification or participation scope grouped by role or user | Business runtime data | Schema-only | Not included | Backed up |
|
|
263
|
+
| `approvalExecutions` | Runtime status and current node of an approval flow | Business runtime data | Schema-only | Not included | Backed up |
|
|
264
|
+
| `approvalMsgTpls` | Message templates for approval notices and tasks | Business runtime data | Overwrite | Not included | Backed up |
|
|
265
|
+
| `approvalRecords` | Approval tasks and processing results from a personal view | Business runtime data | Schema-only | Not included | Backed up |
|
|
266
|
+
| `approvals` | Approval-flow templates and step configuration | Business runtime data | Schema-only | Not included | Backed up |
|
|
267
|
+
|
|
268
|
+
### Workflow manual node
|
|
269
|
+
|
|
270
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
271
|
+
| --- | --- | --- | --- | --- | --- |
|
|
272
|
+
| `workflowManualTasks` | Manual-node tasks that require human handling | Business runtime data | Schema-only | Not included | Backed up |
|
|
273
|
+
|
|
274
|
+
### Workflow CC
|
|
275
|
+
|
|
276
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
277
|
+
| --- | --- | --- | --- | --- | --- |
|
|
278
|
+
| `workflowCcTasks` | Read-only copied workflow tasks | Business runtime data | Schema-only | Not included | Backed up |
|
|
279
|
+
|
|
280
|
+
### Notification manager
|
|
281
|
+
|
|
282
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
283
|
+
| --- | --- | --- | --- | --- | --- |
|
|
284
|
+
| `notificationChannels` | Delivery channel configuration such as in-app messages and email | System base data | Overwrite | Included | Backed up |
|
|
285
|
+
| `notificationSendLogs` | Delivery status and failure reason for notifications | Business runtime data | Schema-only | Not included | Backed up |
|
|
286
|
+
|
|
287
|
+
### In-app messages
|
|
288
|
+
|
|
289
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
290
|
+
| --- | --- | --- | --- | --- | --- |
|
|
291
|
+
| `notificationInAppMessages` | In-app messages received by users | Business runtime data | Schema-only | Not included | Backed up |
|
|
292
|
+
|
|
293
|
+
### Verification
|
|
294
|
+
|
|
295
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
296
|
+
| --- | --- | --- | --- | --- | --- |
|
|
297
|
+
| `verifiers` | Configuration for who can initiate or complete verification | System base data | Overwrite | Included | Backed up |
|
|
298
|
+
| `otpRecords` | SMS or email OTP issue and verification records | Business runtime data | Schema-only | Not included | Backed up |
|
|
299
|
+
| `usersVerifiers` | Bindings between users and verification channels or entities | Business runtime data | Schema-only | Not included | Backed up |
|
|
300
|
+
|
|
301
|
+
### Mail manager
|
|
302
|
+
|
|
303
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
304
|
+
| --- | --- | --- | --- | --- | --- |
|
|
305
|
+
| `mailGeneralSettings` | Global mail behavior and default values | System base data | Overwrite | Included | Backed up |
|
|
306
|
+
| `mailSettings` | Mail plugin switches and parameters | System base data | Overwrite | Included | Backed up |
|
|
307
|
+
| `mailAccounts` | Sending mailbox accounts and SMTP configuration | Business runtime data | Overwrite | Not included | Backed up |
|
|
308
|
+
| `mailMassMessages` | Mass-mail tasks and recipient batches | Business runtime data | Schema-only | Not included | Backed up |
|
|
309
|
+
| `mailMessageLabels` | Mail category label definitions | Business runtime data | Schema-only | Not included | Backed up |
|
|
310
|
+
| `mailMessageNotes` | Internal notes for individual emails | Business runtime data | Schema-only | Not included | Backed up |
|
|
311
|
+
| `mailMessages` | Indexes for synced or sent email content | Business runtime data | Schema-only | Not included | Backed up |
|
|
312
|
+
| `mailTemplates` | HTML/text templates for notification emails | Business runtime data | Schema-only | Not included | Backed up |
|
|
313
|
+
| `mailmessagelabelsMailmessages` | Join table between emails and many-to-many labels | Business runtime data | Schema-only | Not included | Backed up |
|
|
314
|
+
| `mailmessagelabelsMailmessagesRel` | Auxiliary fields or extension table for mail-label relationships | Business runtime data | Schema-only | Not included | Backed up |
|
|
315
|
+
|
|
316
|
+
### AI
|
|
317
|
+
|
|
318
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
319
|
+
| --- | --- | --- | --- | --- | --- |
|
|
320
|
+
| `aiEmployees` | AI employee profiles: nickname, skills, models, knowledge bases, and related configuration | System base data | Overwrite | Included | Backed up |
|
|
321
|
+
| `aiSettings` | AI basic settings | System base data | Overwrite | Included | Backed up |
|
|
322
|
+
| `rolesAiEmployees` | Relationship between AI employees and roles | System base data | Overwrite | Included | Backed up |
|
|
323
|
+
| `llmServices` | LLM providers and model endpoint configuration | System base data | Overwrite | Included | Backed up |
|
|
324
|
+
| `aiContextDatasources` | Business collections, fields, and filters queryable by AI employees | Business runtime data | Schema-only | Not included | Backed up |
|
|
325
|
+
| `aiConversations` | Conversation context for sessions, topics, and message threads | Business runtime data | Schema-only | Not included | Backed up |
|
|
326
|
+
| `aiFiles` | Uploaded files and storage references generated by the AI plugin | Business runtime data | Schema-only | Not included | Backed up |
|
|
327
|
+
| `aiMessages` | User and assistant messages in conversations | Business runtime data | Schema-only | Not included | Backed up |
|
|
328
|
+
| `aiToolMessages` | Requests and responses for function or tool calls | Business runtime data | Schema-only | Not included | Backed up |
|
|
329
|
+
| `usersAiEmployees` | Relationship between user custom prompts and AI employees | Business runtime data | Schema-only | Not included | Backed up |
|
|
330
|
+
| `lcCheckpointBlobs` | Binary blocks for LLM conversation checkpoints | Runtime temporary data | Schema-only | Not included | Not backed up |
|
|
331
|
+
| `lcCheckpointWrites` | Incremental checkpoint write records | Runtime temporary data | Schema-only | Not included | Not backed up |
|
|
332
|
+
| `lcCheckpoints` | LangGraph checkpoint metadata for recoverable conversations | Runtime temporary data | Schema-only | Not included | Not backed up |
|
|
333
|
+
|
|
334
|
+
### AI knowledge base
|
|
335
|
+
|
|
336
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
337
|
+
| --- | --- | --- | --- | --- | --- |
|
|
338
|
+
| `aiKnowledgeBaseDocs` | Document chunks and index metadata stored in knowledge bases | Business runtime data | Schema-only | Not included | Backed up |
|
|
339
|
+
| `aiKnowledgeBase` | Knowledge-base type, external ID, and base information | Business runtime data | Schema-only | Not included | Backed up |
|
|
340
|
+
| `aiVectorDatabases` | Vector database service and connection configuration | Business runtime data | Schema-only | Not included | Backed up |
|
|
341
|
+
| `aiVectorStoreConfig` | Relationship between vector database connections and embedding models | Business runtime data | Schema-only | Not included | Backed up |
|
|
342
|
+
|
|
343
|
+
### Environment variables
|
|
344
|
+
|
|
345
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
346
|
+
| --- | --- | --- | --- | --- | --- |
|
|
347
|
+
| `environmentVariables` | Deployment-related key-value entries, such as secret placeholder names | System base data | Schema-only | Included | Backed up |
|
|
348
|
+
|
|
349
|
+
### Migration manager
|
|
350
|
+
|
|
351
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
352
|
+
| --- | --- | --- | --- | --- | --- |
|
|
353
|
+
| `migrationRules` | Rules and scope configuration in the migration manager | System base data | Schema-only | Included | Backed up |
|
|
354
|
+
|
|
355
|
+
### Backup manager
|
|
356
|
+
|
|
357
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
358
|
+
| --- | --- | --- | --- | --- | --- |
|
|
359
|
+
| `backupSettings` | Automatic backup and retention policy | Business runtime data | Overwrite | Not included | Backed up |
|
|
360
|
+
|
|
361
|
+
### Audit logs
|
|
362
|
+
|
|
363
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
364
|
+
| --- | --- | --- | --- | --- | --- |
|
|
365
|
+
| `auditTrails` | Trace of who operated on which resources and when | Business runtime data | Schema-only | Not included | Backed up |
|
|
366
|
+
|
|
367
|
+
### Async tasks
|
|
368
|
+
|
|
369
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
370
|
+
| --- | --- | --- | --- | --- | --- |
|
|
371
|
+
| `asyncTasks` | Queue, status, and result of long-running tasks | Business runtime data | Schema-only | Not included | Backed up |
|
|
372
|
+
|
|
373
|
+
### Record history
|
|
374
|
+
|
|
375
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
376
|
+
| --- | --- | --- | --- | --- | --- |
|
|
377
|
+
| `recordHistoryCollections` | Collections with field history enabled | System base data | Overwrite | Included | Backed up |
|
|
378
|
+
| `recordHistoryFields` | Fields that need history records | System base data | Overwrite | Included | Backed up |
|
|
379
|
+
| `recordHistoryTemplate` | Display template for history records | System base data | Overwrite | Included | Backed up |
|
|
380
|
+
| `recordFieldHistories` | Historical values and timeline for field changes | Business runtime data | Schema-only | Not included | Backed up |
|
|
381
|
+
| `recordFieldSnapshots` | Snapshot proof of field values at a point in time | Business runtime data | Schema-only | Not included | Backed up |
|
|
382
|
+
| `recordHistories` | Versioned change records for entire records | Business runtime data | Schema-only | Not included | Backed up |
|
|
383
|
+
|
|
384
|
+
### File manager
|
|
385
|
+
|
|
386
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
387
|
+
| --- | --- | --- | --- | --- | --- |
|
|
388
|
+
| `storages` | Local, S3, OSS, and other storage bucket configuration | System base data | Overwrite | Included | Backed up |
|
|
389
|
+
| `attachments` | File attachment metadata associated with business records | Business runtime data | Schema-only | Not included | Backed up |
|
|
390
|
+
|
|
391
|
+
### Localization
|
|
392
|
+
|
|
393
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
394
|
+
| --- | --- | --- | --- | --- | --- |
|
|
395
|
+
| `localizationTexts` | Keys and default text awaiting translation | System base data | Overwrite | Included | Backed up |
|
|
396
|
+
| `localizationTranslations` | Actual translated content for each language | System base data | Overwrite | Included | Backed up |
|
|
397
|
+
|
|
398
|
+
### Localization tester
|
|
399
|
+
|
|
400
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
401
|
+
| --- | --- | --- | --- | --- | --- |
|
|
402
|
+
| `localeTester` | Entries used for localization debugging or testing | Business runtime data | Schema-only | Not included | Backed up |
|
|
403
|
+
|
|
404
|
+
### Custom request
|
|
405
|
+
|
|
406
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
407
|
+
| --- | --- | --- | --- | --- | --- |
|
|
408
|
+
| `customRequests` | Custom HTTP request actions with URL and method configuration | System base data | Overwrite | Included | Backed up |
|
|
409
|
+
| `customRequestsRoles` | Roles allowed to call custom requests | System base data | Overwrite | Included | Backed up |
|
|
410
|
+
|
|
411
|
+
### Custom variables
|
|
412
|
+
|
|
413
|
+
| Table | Description | Data type | Default migration strategy | Version control | Backup/restore |
|
|
414
|
+
| --- | --- | --- | --- | --- | --- |
|
|
415
|
+
| `customVariables` | Variable definitions and default values available to flows or globally | System base data | Overwrite | Included | Backed up |
|
|
416
|
+
|
|
417
|
+
## User-defined tables
|
|
418
|
+
|
|
419
|
+
User-defined tables are treated as business data by default. In most cases, migrate only the table structure and choose schema-only.
|
|
420
|
+
|
|
421
|
+
If a user-defined table stores business configuration, categories, templates, rules, or other metadata, and those records should be synchronized from development to staging or production with the release, choose overwrite based on the business scenario.
|
|
422
|
+
|
|
423
|
+
If a user-defined table stores runtime data such as customers, orders, tickets, approval records, messages, or logs, avoid overwriting production records.
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
pkg: '@nocobase/plugin-migration-manager'
|
|
3
|
+
title: "Migration Manager"
|
|
4
|
+
description: "Operations migration: migrate application configuration from one environment to another, with schema-only, overwrite, and skip rules. Depends on Backup Manager."
|
|
5
|
+
keywords: "Migration Manager,Migration,application configuration migration,migration rules,schema-only,overwrite,skip,database migration,operations,NocoBase"
|
|
3
6
|
---
|
|
4
7
|
|
|
5
8
|
# Migration Manager
|
|
@@ -26,17 +29,15 @@ The Migration Manager transfers tables and data from the primary database based
|
|
|
26
29
|
|
|
27
30
|
### Built-in Rules
|
|
28
31
|
|
|
29
|
-
Migration Manager supports
|
|
32
|
+
Migration Manager supports the following three rules:
|
|
30
33
|
|
|
31
|
-
- **Schema-only:** Only
|
|
32
|
-
- **Overwrite:**
|
|
33
|
-
- **
|
|
34
|
-
- **Insert-ignore:** Inserts new records; skips existing ones.
|
|
35
|
-
- **Skip:** No changes to the table.
|
|
34
|
+
- **Schema-only:** Only synchronizes table structures. No data is inserted or updated.
|
|
35
|
+
- **Overwrite:** Clears existing table records, then inserts new data.
|
|
36
|
+
- **Skip:** Does nothing to the table.
|
|
36
37
|
|
|
37
|
-
**
|
|
38
|
-
-
|
|
39
|
-
-
|
|
38
|
+
**Notes:**
|
|
39
|
+
- Overwrite also synchronizes table-structure changes.
|
|
40
|
+
- User-defined business data tables usually use schema-only to avoid overwriting production business data.
|
|
40
41
|
|
|
41
42
|
### Detailed Design
|
|
42
43
|
|
|
@@ -46,6 +47,8 @@ Migration Manager supports five built-in rules:
|
|
|
46
47
|
|
|
47
48
|
Configure migration rules
|
|
48
49
|
|
|
50
|
+
For the tables behind default strategies, see: [Built-in tables for applications and major plugins](./built-in-tables.md).
|
|
51
|
+
|
|
49
52
|

|
|
50
53
|
|
|
51
54
|
Enable independent rules
|
|
@@ -1,52 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Release Management"
|
|
3
|
+
description: "Operations release best practices: use version control to record development checkpoints, multi-app architecture to split business modules, Backup Manager for disaster recovery, and Migration Manager to publish across development, staging, and production environments."
|
|
4
|
+
keywords: "Release Management,Release,multi-environment deployment,version control,multi-app,Backup Manager,Migration Manager,development staging production,NocoBase"
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Release Management
|
|
2
8
|
|
|
3
9
|
## Introduction
|
|
4
10
|
|
|
5
|
-
|
|
11
|
+
Release management standardizes how an application moves from development to production. It is not a single operation. It is a repeatable, verifiable, and recoverable release process.
|
|
12
|
+
|
|
13
|
+
Keep production stable. Complete configuration changes in development first, validate them in staging, then publish them to production. Migration files, backups, execution logs, and validation results generated during release should be retained for troubleshooting and rollback.
|
|
14
|
+
|
|
15
|
+
Recommended environments:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
Development environment -> Staging environment -> Production environment
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Development is used for configuration and adjustment. Staging restores production constraints and validates the release result. Production carries real business traffic. Clear responsibilities make the release process easier to manage.
|
|
22
|
+
|
|
23
|
+
## Release Model
|
|
24
|
+
|
|
25
|
+
NocoBase release management usually combines five capabilities.
|
|
26
|
+
|
|
27
|
+
| Capability | Problem solved | Stage |
|
|
28
|
+
| --- | --- | --- |
|
|
29
|
+
| Version control | Saves key checkpoints during development and provides rollback points for configuration changes | Development |
|
|
30
|
+
| Variables and secrets | Isolates environment-specific configuration and sensitive information | Development, staging, and production release |
|
|
31
|
+
| Multi-app | Splits system boundaries by business module and reduces release impact between modules | Architecture planning and team collaboration |
|
|
32
|
+
| Backup Manager | Saves a recoverable production state for release failures and daily incidents | Before release and daily disaster recovery |
|
|
33
|
+
| Migration Manager | Publishes configuration and structure changes to the target environment | Staging and production release |
|
|
34
|
+
|
|
35
|
+
## Environment Configuration: Use Variables and Secrets
|
|
36
|
+
|
|
37
|
+
Variables and secrets isolate environment-specific configuration and sensitive information. Development, staging, and production should use their own variables and secrets.
|
|
38
|
+
|
|
39
|
+
Identify environment-related configuration during development. Database connections, third-party service addresses, test accounts, access tokens, API keys, and webhook URLs should not be hardcoded in pages, workflows, or plugin settings. Reference them through variables and secrets whenever possible. When migrating to staging or production, you only need to complete missing target-environment values as prompted, and production secrets will not be written into migration content.
|
|
40
|
+
|
|
41
|
+
Related documentation: [Variables and Secrets](../variables-and-secrets/index.md).
|
|
42
|
+
|
|
43
|
+
## Development Stage: Record Recoverable Checkpoints
|
|
44
|
+
|
|
45
|
+
Development changes frequently. Use version control to save key checkpoints. Before a major configuration change, create a version. After adjusting data models, pages, permissions, workflows, or plugin settings, create another version.
|
|
46
|
+
|
|
47
|
+
Write version descriptions with clear business meaning. For example, “adjust customer follow-up page and field permissions,” “add ticket escalation workflow,” or “optimize asset request approval flow.” Clear descriptions make later validation, comparison, and recovery easier.
|
|
48
|
+
|
|
49
|
+
Version control mainly serves the development process. It is suitable for undoing a configuration change or preserving a milestone. After entering the release stage, synchronize configuration changes through Migration Manager. Use Backup Manager when production needs recovery.
|
|
50
|
+
|
|
51
|
+
Related documentation: [Version control](../version-control/index.md).
|
|
52
|
+
|
|
53
|
+
## Module Splitting: Control Release Boundaries
|
|
54
|
+
|
|
55
|
+
For small systems, start with a single app. A single app is simple to deploy and works well for prototypes, small internal systems, and early-stage projects.
|
|
6
56
|
|
|
7
|
-
|
|
57
|
+
As business complexity grows, one app may contain more pages, tables, permissions, and workflows. One configuration change may affect several teams. One release may involve several modules. At that point, consider splitting business boundaries with multi-app architecture.
|
|
8
58
|
|
|
9
|
-
|
|
59
|
+
Multi-app works well when split by business responsibility, such as CRM, tickets, assets, HR, reports, and operations backend. Each app can be developed, tested, released, and rolled back independently. High-change modules, high-risk modules, and modules serving different user groups are often better separated.
|
|
10
60
|
|
|
11
|
-
|
|
61
|
+
Plan shared capabilities before splitting. Users, organizations, authentication, permissions, and cross-app shared data all affect later release methods. Clearer boundaries make release impact easier to control.
|
|
12
62
|
|
|
13
|
-
|
|
14
|
-
- Provides centralized configuration and management of environment variables and keys, used for sensitive data storage, reusable configuration data, environment-based isolation, etc. ([View Documentation](../variables-and-secrets/index.md)).
|
|
63
|
+
A split release chain usually looks like this:
|
|
15
64
|
|
|
16
|
-
|
|
65
|
+
```text
|
|
66
|
+
CRM app: Development environment -> Staging environment -> Production environment
|
|
67
|
+
Ticket app: Development environment -> Staging environment -> Production environment
|
|
68
|
+
Asset app: Development environment -> Staging environment -> Production environment
|
|
69
|
+
```
|
|
17
70
|
|
|
18
|
-
|
|
19
|
-
- Supports backup and restoration, including scheduled backups, ensuring data security and quick recovery. ([View Documentation](../backup-manager/index.mdx)).
|
|
71
|
+
Related documentation: [Multi-app management](../../multi-app/multi-app/index.md).
|
|
20
72
|
|
|
21
|
-
|
|
73
|
+
## Pre-release Preparation: Confirm Recovery Capability
|
|
22
74
|
|
|
23
|
-
-
|
|
24
|
-
- Used to migrate application configurations from one application environment to another ([View Documentation](../migration-manager/index.md)).
|
|
75
|
+
Backup is the safety baseline for production release. Create a pre-release backup before publishing to production. For important releases, verify that the backup can be restored in an independent environment.
|
|
25
76
|
|
|
26
|
-
|
|
77
|
+
Pre-release backups and scheduled daily backups serve different purposes. Scheduled backups handle misoperation, data corruption, and infrastructure failures. Pre-release backups support quick recovery after release failure. Both should be part of the production operations strategy.
|
|
27
78
|
|
|
28
|
-
|
|
79
|
+
Before release, confirm that the backup task has completed and that the backup file can be downloaded or accessed. For important releases, perform a restore verification in an independent environment.
|
|
29
80
|
|
|
30
|
-
|
|
81
|
+
Backups should cover the database, user-uploaded files, and storage content required by the application runtime. Database-only records are not enough for full recovery.
|
|
82
|
+
|
|
83
|
+
Related documentation: [Backup Manager](../backup-manager/index.mdx).
|
|
84
|
+
|
|
85
|
+
## Release Execution: Migrate to the Target Environment
|
|
86
|
+
|
|
87
|
+
Migration Manager publishes application configuration from one environment to another. Common migration content includes application configuration, table structures, plugin configuration, and some data that needs to be migrated.
|
|
88
|
+
|
|
89
|
+
Publish to staging first. After the migration file passes staging validation, use the same file for production release.
|
|
31
90
|
|
|
32
91
|

|
|
33
92
|
|
|
34
|
-
|
|
93
|
+
### Publish to Staging
|
|
35
94
|
|
|
36
|
-
|
|
95
|
+
After generating a migration file from development, execute it in staging first. Staging should be as close to production as possible, including core version, plugin versions, variables, secrets, permission configuration, and external-system connection methods. After execution, validate core pages, permission rules, workflows, and external integrations.
|
|
96
|
+
|
|
97
|
+
After staging validation passes, keep the same migration file for production release. Do not modify the migration file right before production. If changes are needed, go back to development, regenerate the file, and validate it again in staging.
|
|
98
|
+
|
|
99
|
+
### Publish to Production
|
|
100
|
+
|
|
101
|
+
Schedule a maintenance window for production release. Notify users before the release, stop user access or switch to a maintenance page, and avoid new business data writes during migration. In cluster or multi-node deployments, scale the application down to one node before migration.
|
|
102
|
+
|
|
103
|
+
After confirming that the pre-release backup has completed, execute the migration file that passed staging validation. After migration, validate core business flows first, then restore user access. In multi-node deployments, restore the node count after validation passes.
|
|
37
104
|
|
|
38
|
-
|
|
105
|
+
Migration files, backups, and execution logs are stored in their respective features. Internal release records can add release time, executor, validation result, and backup information for later troubleshooting and rollback.
|
|
39
106
|
|
|
40
|
-
|
|
107
|
+
### Migration Rules
|
|
41
108
|
|
|
42
|
-
|
|
109
|
+
Migration rules decide how tables and records are handled in the target environment. Common strategies include overwrite, schema-only, and skip. Before configuring rules, first distinguish application and plugin built-in tables from user-defined tables.
|
|
43
110
|
|
|
44
|
-
|
|
111
|
+
Application and plugin built-in tables usually follow the default strategy and use overwrite first. Examples include pages, menus, blocks, permissions, and workflows. During release, development configuration is usually treated as the source of truth and synchronized to staging and production.
|
|
45
112
|
|
|
46
|
-
|
|
113
|
+
User-defined tables should be judged by business purpose. Tables that carry real business data usually migrate structure only and use schema-only, avoiding overwrites of production data. Some user-defined tables that store metadata such as configuration, categories, templates, or rules can use overwrite depending on the business scenario.
|
|
47
114
|
|
|
48
|
-
|
|
115
|
+
For the tables behind default strategies, see [Built-in tables for applications and major plugins](../migration-manager/built-in-tables.md).
|
|
49
116
|
|
|
50
|
-
|
|
117
|
+

|
|
118
|
+
|
|
119
|
+
Migration Manager mainly handles application configuration and data in the main database. External data sources, sub-app data, and some storage-directory content should be handled separately according to the actual situation.
|
|
120
|
+
|
|
121
|
+
Related documentation: [Migration Manager](../migration-manager/index.md).
|
|
122
|
+
|
|
123
|
+
## Rollback and Recovery
|
|
124
|
+
|
|
125
|
+
When a release fails, first use the pre-release backup through the Backup Manager plugin. Before restoring, confirm that the backup file is available and follow the UI prompts to complete restoration.
|
|
126
|
+
|
|
127
|
+
If the current production environment can still access Backup Manager and only the migration execution failed, restore the pre-release backup directly in the current environment. After recovery, record the failure cause and handling result to avoid repeating the same issue in later releases.
|
|
128
|
+
|
|
129
|
+
If the current environment is unstable, or you want to reduce the risk of repeated repair attempts in a faulty environment, prepare an independent environment and restore the pre-release backup there. After restoration, validate core business flows first, then switch traffic to the recovered environment.
|
|
51
130
|
|
|
52
131
|

|
|
132
|
+
|
|
133
|
+
## Related Documentation
|
|
134
|
+
|
|
135
|
+
- [Variables and Secrets](../variables-and-secrets/index.md)
|
|
136
|
+
- [Version control](../version-control/index.md)
|
|
137
|
+
- [Multi-app management](../../multi-app/multi-app/index.md)
|
|
138
|
+
- [Backup Manager](../backup-manager/index.mdx)
|
|
139
|
+
- [Migration Manager](../migration-manager/index.md)
|