@tailor-platform/sdk 2.30.0 → 2.32.0
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/CHANGELOG.md +48 -0
- package/dist/ai/index.d.mts +112 -0
- package/dist/ai/index.mjs +2 -0
- package/dist/ai/index.mjs.map +1 -0
- package/dist/aigateway-DsWDjzk4.mjs.map +1 -1
- package/dist/application-D0xNJbag.mjs.map +1 -1
- package/dist/assert-WeXvmG4j.mjs.map +1 -1
- package/dist/authconnection-CynFBIv8.mjs.map +1 -1
- package/dist/brand-C8nMKhJC.mjs.map +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/main.mjs +6 -6
- package/dist/cli/main.mjs.map +1 -1
- package/dist/completion/zsh-worker.zsh +6 -2
- package/dist/configure/index.mjs.map +1 -1
- package/dist/context-D0QjfxzD.mjs.map +1 -1
- package/dist/crashreport-BCIy33Cz.mjs.map +1 -1
- package/dist/date-CgP7gMG_.mjs.map +1 -1
- package/dist/date-representation-Cr7W7Pn2.mjs.map +1 -1
- package/dist/errors-BOF68LJ5.mjs.map +1 -1
- package/dist/es-builtins-SfvXRVoG.mjs.map +1 -1
- package/dist/field-parse-C41e3UAF.mjs.map +1 -1
- package/dist/file-DKBOj5q4.mjs.map +1 -1
- package/dist/globals-BCmGX05J.mjs.map +1 -1
- package/dist/guards-yDXyKC9F.mjs.map +1 -1
- package/dist/iconv-DlFMt2gW.mjs.map +1 -1
- package/dist/idp-G_ojPBB5.mjs.map +1 -1
- package/dist/interceptor-DQg3cR_9.mjs.map +1 -1
- package/dist/kysely/index.mjs.map +1 -1
- package/dist/{kysely-type-BWMfV301.mjs → kysely-type-CBwsdx16.mjs} +6 -3
- package/dist/kysely-type-CBwsdx16.mjs.map +1 -0
- package/dist/logger-DP2BjQ93.mjs.map +1 -1
- package/dist/logger-RgtbhJ83.mjs.map +1 -1
- package/dist/manager-Bk-7vkwd.mjs.map +1 -1
- package/dist/migration-steps-C6F3zNdQ.mjs.map +1 -1
- package/dist/multiline-EyzjEwn9.mjs.map +1 -1
- package/dist/node-builtins-DYfhPBnz.mjs.map +1 -1
- package/dist/package-json-C690ceex.mjs.map +1 -1
- package/dist/platform-serialize-DkiTdHOt.mjs.map +1 -1
- package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -1
- package/dist/plugin/builtin/file-utils/index.mjs.map +1 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/{register-ts-hook-CDnN_Jx2.mjs → register-ts-hook-_dHIREtU.mjs} +127 -89
- package/dist/register-ts-hook-_dHIREtU.mjs.map +1 -0
- package/dist/registry-BijIDRVA.mjs.map +1 -1
- package/dist/repl-editor-DGJBfIt1.mjs.map +1 -1
- package/dist/schema-B6hJQWp6.mjs.map +1 -1
- package/dist/secret-file-C9wp_FCX.mjs.map +1 -1
- package/dist/secretmanager-vHQoXdQz.mjs.map +1 -1
- package/dist/seed/index.mjs.map +1 -1
- package/dist/seed-Cn-3JApy.mjs.map +1 -1
- package/dist/service-9SBPNpK8.mjs.map +1 -1
- package/dist/service-9rwi_I4d.mjs.map +1 -1
- package/dist/service_pb-Bbu2QSIr.mjs.map +1 -1
- package/dist/telemetry-DfT2UfI4.mjs +2 -0
- package/dist/telemetry-DfT2UfI4.mjs.map +1 -0
- package/dist/{telemetry-DpkFGBmu.mjs → telemetry-nqOtDWNO.mjs} +1 -1
- package/dist/type-source--ZNcV8RJ.mjs.map +1 -1
- package/dist/user-agent-vdHYF3QL.mjs.map +1 -1
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/vitest/environment.mjs.map +1 -1
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/setup.mjs.map +1 -1
- package/dist/wait-point-invoker-eiP-IIux.mjs.map +1 -1
- package/dist/wait-point-registry-B-ESkTZX.mjs.map +1 -1
- package/dist/workflow-Cs9ISw6j.mjs.map +1 -1
- package/dist/workspace_resource_pb-CaoM2npP.mjs.map +1 -1
- package/docs/ai.md +92 -0
- package/docs/cli/tailordb.md +17 -15
- package/docs/cli/workspace.md +1 -1
- package/docs/github-actions.md +98 -11
- package/docs/services/tailordb/migration.md +45 -31
- package/docs/testing.md +2 -1
- package/package.json +16 -9
- package/dist/kysely-type-BWMfV301.mjs.map +0 -1
- package/dist/register-ts-hook-CDnN_Jx2.mjs.map +0 -1
- package/dist/telemetry-Xk7J829P.mjs +0 -2
- package/dist/telemetry-Xk7J829P.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# politty-completion-version: 1
|
|
2
|
-
# politty-bin-sig:
|
|
2
|
+
# politty-bin-sig: 1792653623
|
|
3
3
|
# politty-bin-path: /home/runner/work/sdk/sdk/node_modules/.bin/tailor
|
|
4
4
|
# program: tailor
|
|
5
5
|
# shell: zsh
|
|
@@ -785,6 +785,8 @@ __tailor_worker_opt_takes_value() {
|
|
|
785
785
|
tailordb:migration:test:--config|tailordb:migration:test:-c|tailordb:migration:test:--c) return 0 ;;
|
|
786
786
|
tailordb:migration:test:--data) return 0 ;;
|
|
787
787
|
tailordb:migration:test:--target-workspace-id|tailordb:migration:test:--targetWorkspaceId) return 0 ;;
|
|
788
|
+
tailordb:migration:test:--organization-id|tailordb:migration:test:--organizationId) return 0 ;;
|
|
789
|
+
tailordb:migration:test:--folder-id|tailordb:migration:test:--folderId) return 0 ;;
|
|
788
790
|
tailordb:migration:test:--assert) return 0 ;;
|
|
789
791
|
tailordb:migration:test:--assert-namespace|tailordb:migration:test:--assertNamespace) return 0 ;;
|
|
790
792
|
tailordb:migration:test:--keep-ttl|tailordb:migration:test:--keepTtl) return 0 ;;
|
|
@@ -3892,6 +3894,8 @@ __tailor_worker_complete_tailordb_migration_test() {
|
|
|
3892
3894
|
__tailor_worker_not_used "--data" && _opts+=("--data:Data source for the migration test (seed or clone)")
|
|
3893
3895
|
__tailor_worker_not_used "--target-workspace-id" "--targetWorkspaceId" && _opts+=("--target-workspace-id:Existing throwaway workspace to retain after the test (requires --yes)")
|
|
3894
3896
|
__tailor_worker_not_used "--keep" && _opts+=("--keep:Keep the automatically created workspace after the test")
|
|
3897
|
+
__tailor_worker_not_used "--organization-id" "--organizationId" && _opts+=("--organization-id:Organization to create the temporary workspace in, at its root unless --folder-id is given (default\: the source workspace's organization and folder). With --target-workspace-id, must match the target's organization")
|
|
3898
|
+
__tailor_worker_not_used "--folder-id" "--folderId" && _opts+=("--folder-id:Folder to create the temporary workspace in (default\: the source workspace's folder). Requires --organization-id when the source workspace is not in an organization. With --target-workspace-id, must match the target's folder")
|
|
3895
3899
|
__tailor_worker_not_used "--assert" && _opts+=("--assert:Path to a TypeScript assertion script to run after migrations")
|
|
3896
3900
|
__tailor_worker_not_used "--assert-namespace" "--assertNamespace" && _opts+=("--assert-namespace:TailorDB namespace exposed to the assertion script")
|
|
3897
3901
|
__tailor_worker_not_used "--keep-ttl" "--keepTtl" && _opts+=("--keep-ttl:Record an expiry on the kept workspace, e.g. 24h or 7d, so workspace prune --expired can delete it (requires --keep)")
|
|
@@ -4580,7 +4584,7 @@ __tailor_worker_complete_workspace_create() {
|
|
|
4580
4584
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4581
4585
|
local -a _opts=()
|
|
4582
4586
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Workspace name")
|
|
4583
|
-
__tailor_worker_not_used "--region" "-r" "--r" && _opts+=("--region:Workspace region (asia-northeast, us-west)")
|
|
4587
|
+
__tailor_worker_not_used "--region" "-r" "--r" && _opts+=("--region:Workspace region (asia-northeast, us-west, europe-west)")
|
|
4584
4588
|
__tailor_worker_not_used "--delete-protection" "--deleteProtection" "-d" "--d" && _opts+=("--delete-protection:Enable delete protection")
|
|
4585
4589
|
__tailor_worker_not_used "--organization-id" "--organizationId" "-o" "--o" && _opts+=("--organization-id:Organization ID to workspace associate with")
|
|
4586
4590
|
__tailor_worker_not_used "--folder-id" "--folderId" "-f" "--f" && _opts+=("--folder-id:Folder ID to workspace associate with")
|