@tailor-platform/sdk 2.33.0 → 2.35.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 +84 -0
- package/dist/ai/index.d.mts +1 -3
- package/dist/{application-Bet1K5C4.mjs → application-Bj2MtL-d.mjs} +1 -1
- package/dist/application-DIsQSnj3.mjs +207 -0
- package/dist/application-DIsQSnj3.mjs.map +1 -0
- package/dist/cli/cache/bundle-cache.d.mts +1 -0
- package/dist/cli/commands/api/api-call.d.mts +1 -3
- package/dist/cli/commands/deploy/aigateway.d.mts +1 -0
- package/dist/cli/commands/deploy/app-id-lock.d.mts +1 -3
- package/dist/cli/commands/deploy/application.d.mts +1 -0
- package/dist/cli/commands/deploy/auth.d.mts +1 -0
- package/dist/cli/commands/deploy/config-id-injector.d.mts +1 -3
- package/dist/cli/commands/deploy/confirm.d.mts +1 -0
- package/dist/cli/commands/deploy/deploy.d.mts +4 -3
- package/dist/cli/commands/deploy/executor.d.mts +1 -0
- package/dist/cli/commands/deploy/function-registry-types.d.mts +1 -3
- package/dist/cli/commands/deploy/function-registry.d.mts +1 -0
- package/dist/cli/commands/deploy/idp.d.mts +1 -0
- package/dist/cli/commands/deploy/owned-resource.d.mts +3 -0
- package/dist/cli/commands/deploy/resolver.d.mts +1 -0
- package/dist/cli/commands/deploy/secret-manager.d.mts +1 -0
- package/dist/cli/commands/deploy/staticwebsite.d.mts +1 -0
- package/dist/cli/commands/deploy/tailordb/migration-validation.d.mts +1 -2
- package/dist/cli/commands/deploy/tailordb/plan.d.mts +1 -0
- package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +2 -1
- package/dist/cli/commands/deploy/workflow.d.mts +1 -0
- package/dist/cli/commands/executor/get.d.mts +0 -2
- package/dist/cli/commands/executor/jobs.d.mts +0 -2
- package/dist/cli/commands/executor/list.d.mts +1 -3
- package/dist/cli/commands/executor/transform.d.mts +1 -3
- package/dist/cli/commands/executor/trigger.d.mts +0 -2
- package/dist/cli/commands/executor/webhook.d.mts +1 -3
- package/dist/cli/commands/function/get.d.mts +0 -2
- package/dist/cli/commands/function/list.d.mts +0 -2
- package/dist/cli/commands/function/transform.d.mts +1 -3
- package/dist/cli/commands/generate/options.d.mts +1 -3
- package/dist/cli/commands/generate/seed/bundler.d.mts +1 -3
- package/dist/cli/commands/generate/service.d.mts +1 -3
- package/dist/cli/commands/machineuser/list.d.mts +1 -3
- package/dist/cli/commands/machineuser/token.d.mts +1 -3
- package/dist/cli/commands/oauth2client/get.d.mts +1 -3
- package/dist/cli/commands/oauth2client/list.d.mts +1 -3
- package/dist/cli/commands/oauth2client/transform.d.mts +1 -3
- package/dist/cli/commands/organization/folder/create.d.mts +0 -2
- package/dist/cli/commands/organization/folder/delete.d.mts +0 -2
- package/dist/cli/commands/organization/folder/get.d.mts +0 -2
- package/dist/cli/commands/organization/folder/list.d.mts +0 -2
- package/dist/cli/commands/organization/folder/update.d.mts +0 -2
- package/dist/cli/commands/organization/get.d.mts +0 -2
- package/dist/cli/commands/organization/list.d.mts +1 -3
- package/dist/cli/commands/organization/transform.d.mts +1 -3
- package/dist/cli/commands/organization/tree.d.mts +0 -2
- package/dist/cli/commands/organization/update.d.mts +0 -2
- package/dist/cli/commands/remove.d.mts +1 -3
- package/dist/cli/commands/show.d.mts +0 -2
- package/dist/cli/commands/staticwebsite/deploy.d.mts +1 -3
- package/dist/cli/commands/tailordb/migrate/bundler.d.mts +1 -3
- package/dist/cli/commands/tailordb/migrate/config.d.mts +1 -3
- package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +0 -2
- package/dist/cli/commands/tailordb/migrate/generate.d.mts +2 -4
- package/dist/cli/commands/tailordb/migrate/rename-detection.d.mts +1 -3
- package/dist/cli/commands/tailordb/migrate/snapshot-comparison.d.mts +1 -3
- package/dist/cli/commands/tailordb/migrate/snapshot-files.d.mts +1 -3
- package/dist/cli/commands/tailordb/migrate/snapshot-local.d.mts +1 -3
- package/dist/cli/commands/tailordb/migrate/snapshot-migrations.d.mts +1 -3
- package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +0 -2
- package/dist/cli/commands/tailordb/migrate/types.d.mts +1 -3
- package/dist/cli/commands/tailordb/truncate.d.mts +1 -3
- package/dist/cli/commands/workflow/executions.d.mts +0 -2
- package/dist/cli/commands/workflow/get.d.mts +0 -2
- package/dist/cli/commands/workflow/list.d.mts +1 -3
- package/dist/cli/commands/workflow/resume.d.mts +1 -3
- package/dist/cli/commands/workflow/start.d.mts +0 -2
- package/dist/cli/commands/workflow/status.d.mts +1 -3
- package/dist/cli/commands/workflow/transform.d.mts +1 -3
- package/dist/cli/commands/workflow/wait.d.mts +1 -3
- package/dist/cli/commands/workflow/waiter.d.mts +1 -3
- package/dist/cli/commands/workspace/app/health.d.mts +0 -2
- package/dist/cli/commands/workspace/app/list.d.mts +0 -2
- package/dist/cli/commands/workspace/app/transform.d.mts +1 -3
- package/dist/cli/commands/workspace/create.d.mts +0 -2
- package/dist/cli/commands/workspace/delete.d.mts +0 -2
- package/dist/cli/commands/workspace/expiry.d.mts +1 -3
- package/dist/cli/commands/workspace/get.d.mts +0 -2
- package/dist/cli/commands/workspace/list.d.mts +1 -3
- package/dist/cli/commands/workspace/restore.d.mts +0 -2
- package/dist/cli/commands/workspace/transform.d.mts +1 -3
- package/dist/cli/commands/workspace/user/invite.d.mts +0 -2
- package/dist/cli/commands/workspace/user/list.d.mts +0 -2
- package/dist/cli/commands/workspace/user/remove.d.mts +0 -2
- package/dist/cli/commands/workspace/user/transform.d.mts +1 -3
- package/dist/cli/commands/workspace/user/update.d.mts +0 -2
- package/dist/cli/lib.d.mts +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/main.d.mts +1 -3
- package/dist/cli/main.mjs +55 -51
- package/dist/cli/main.mjs.map +1 -1
- package/dist/cli/query/index.d.mts +0 -2
- package/dist/cli/services/application.d.mts +6 -4
- package/dist/cli/services/executor/service.d.mts +2 -2
- package/dist/cli/services/function-bundle.d.mts +8 -0
- package/dist/cli/services/http-adapter/bundler.d.mts +7 -1
- package/dist/cli/services/resolver/service.d.mts +2 -2
- package/dist/cli/services/workflow/bundler.d.mts +2 -3
- package/dist/cli/shared/args.d.mts +0 -2
- package/dist/cli/shared/beta.d.mts +1 -3
- package/dist/cli/shared/client.d.mts +4 -3
- package/dist/cli/shared/command.d.mts +2 -4
- package/dist/cli/shared/config-loader.d.mts +2 -4
- package/dist/cli/shared/config.d.mts +1 -3
- package/dist/cli/shared/context.d.mts +0 -2
- package/dist/cli/shared/error-diagnostics.d.mts +1 -3
- package/dist/cli/shared/error-json.d.mts +1 -3
- package/dist/cli/shared/function-execution.d.mts +1 -3
- package/dist/cli/shared/github-actions.d.mts +1 -3
- package/dist/cli/shared/logger.d.mts +7 -4
- package/dist/cli/shared/platform-bundle-plugin.d.mts +1 -0
- package/dist/cli/shared/prompt.d.mts +1 -3
- package/dist/cli/shared/readonly-guard.d.mts +0 -2
- package/dist/cli/shared/script-executor.d.mts +1 -3
- package/dist/cli/shared/sdk-builder-pure-plugin.d.mts +1 -0
- package/dist/cli/shared/seed-chunker.d.mts +1 -3
- package/dist/cli/shared/seed-context.d.mts +0 -2
- package/dist/cli/shared/sourcemap-sources.d.mts +1 -0
- package/dist/cli/shared/tailordb-namespaces.d.mts +1 -3
- package/dist/cli/shared/type-generator.d.mts +0 -2
- package/dist/cli/shared/workspace-name.d.mts +1 -3
- package/dist/completion/zsh-worker.zsh +5 -5
- package/dist/configure/config/index.d.mts +2 -4
- package/dist/configure/config/types.d.mts +27 -4
- package/dist/configure/index.d.mts +7 -9
- package/dist/configure/index.mjs +1 -1
- package/dist/configure/services/aigateway/index.d.mts +0 -2
- package/dist/configure/services/aigateway/types.d.mts +0 -2
- package/dist/configure/services/auth/index.d.mts +0 -2
- package/dist/configure/services/auth/types.d.mts +0 -2
- package/dist/configure/services/executor/executor.d.mts +0 -2
- package/dist/configure/services/executor/operation.d.mts +0 -2
- package/dist/configure/services/executor/trigger/event.d.mts +0 -2
- package/dist/configure/services/executor/trigger/index.d.mts +0 -2
- package/dist/configure/services/executor/trigger/schedule.d.mts +0 -2
- package/dist/configure/services/executor/trigger/webhook.d.mts +1 -3
- package/dist/configure/services/http-adapter/http-adapter.d.mts +0 -2
- package/dist/configure/services/idp/index.d.mts +0 -2
- package/dist/configure/services/idp/permission.d.mts +0 -2
- package/dist/configure/services/idp/types.d.mts +0 -2
- package/dist/configure/services/index.d.mts +5 -5
- package/dist/configure/services/resolver/index.d.mts +1 -1
- package/dist/configure/services/resolver/permission.d.mts +0 -2
- package/dist/configure/services/resolver/resolver.d.mts +1 -3
- package/dist/configure/services/resolver/types.d.mts +1 -3
- package/dist/configure/services/secrets/index.d.mts +0 -2
- package/dist/configure/services/secrets/types.d.mts +0 -2
- package/dist/configure/services/staticwebsite/index.d.mts +0 -2
- package/dist/configure/services/staticwebsite/types.d.mts +0 -2
- package/dist/configure/services/tailordb/permission.d.mts +0 -2
- package/dist/configure/services/tailordb/schema.d.mts +0 -2
- package/dist/configure/services/tailordb/types.d.mts +0 -2
- package/dist/configure/services/workflow/execution-policy.d.mts +0 -2
- package/dist/configure/services/workflow/execution-policy.types.d.mts +0 -2
- package/dist/configure/services/workflow/job.d.mts +0 -2
- package/dist/configure/services/workflow/wait-point.d.mts +0 -2
- package/dist/configure/services/workflow/workflow.d.mts +0 -2
- package/dist/configure/types/aigateway-name.d.mts +1 -3
- package/dist/configure/types/auth-namespace-name.d.mts +1 -3
- package/dist/configure/types/connection-name.d.mts +1 -3
- package/dist/configure/types/field.d.mts +1 -3
- package/dist/configure/types/field.types.d.mts +0 -2
- package/dist/configure/types/idp-name.d.mts +1 -3
- package/dist/configure/types/permission-operand.types.d.mts +0 -2
- package/dist/configure/types/secret-vault-name.d.mts +1 -3
- package/dist/configure/types/type.d.mts +0 -2
- package/dist/{crashreport-BCIy33Cz.mjs → crashreport-DGU6lwiX.mjs} +2 -2
- package/dist/{crashreport-BCIy33Cz.mjs.map → crashreport-DGU6lwiX.mjs.map} +1 -1
- package/dist/crashreport-WsYAWARW.mjs +1 -0
- package/dist/{logger-RgtbhJ83.mjs → errors-BXmGBX-7.mjs} +6 -3
- package/dist/errors-BXmGBX-7.mjs.map +1 -0
- package/dist/field-parse-BQhUAbpM.mjs +2 -0
- package/dist/{field-parse-C41e3UAF.mjs.map → field-parse-BQhUAbpM.mjs.map} +1 -1
- package/dist/guards-CiFVxoXR.mjs +2 -0
- package/dist/guards-CiFVxoXR.mjs.map +1 -0
- package/dist/kysely/index.d.mts +0 -2
- package/dist/{kysely-type-DxyIWXc6.mjs → kysely-type-B0ri1-Xs.mjs} +9 -7
- package/dist/kysely-type-B0ri1-Xs.mjs.map +1 -0
- package/dist/manager-B813m43t.mjs +2 -0
- package/dist/manager-B813m43t.mjs.map +1 -0
- package/dist/parser/service/idp/types.d.mts +1 -3
- package/dist/parser/service/tailordb/type-source.d.mts +1 -3
- package/dist/parser/service/tailordb/types.d.mts +0 -2
- package/dist/plugin/builtin/enum-constants/index.d.mts +0 -2
- package/dist/plugin/builtin/file-utils/index.d.mts +0 -2
- package/dist/plugin/builtin/kysely-type/index.d.mts +0 -2
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +0 -2
- package/dist/plugin/builtin/seed/seed-type-processor.d.mts +1 -3
- package/dist/plugin/get-generated-table.d.mts +1 -3
- package/dist/plugin/index.mjs +1 -1
- package/dist/plugin/types.d.mts +0 -2
- package/dist/plugin/with-context.d.mts +1 -3
- package/dist/register-ts-hook-CQ7shKO5.mjs +1055 -0
- package/dist/register-ts-hook-CQ7shKO5.mjs.map +1 -0
- package/dist/runtime/aigateway.d.mts +1 -3
- package/dist/runtime/authconnection.d.mts +1 -3
- package/dist/runtime/context.d.mts +0 -2
- package/dist/runtime/date.d.mts +0 -2
- package/dist/runtime/field-parse.d.mts +0 -2
- package/dist/runtime/file.d.mts +0 -2
- package/dist/runtime/globals.d.mts +0 -2
- package/dist/runtime/iconv.d.mts +1 -3
- package/dist/runtime/idp.d.mts +1 -3
- package/dist/runtime/index.d.mts +1 -3
- package/dist/runtime/index.mjs +1 -1
- package/dist/runtime/logger.d.mts +1 -3
- package/dist/runtime/secretmanager.d.mts +1 -3
- package/dist/runtime/temporal.d.mts +0 -2
- package/dist/runtime/types.d.mts +0 -2
- package/dist/runtime/workflow.d.mts +0 -2
- package/dist/{schema-B6hJQWp6.mjs → schema-BU1aIQ63.mjs} +2 -2
- package/dist/{schema-B6hJQWp6.mjs.map → schema-BU1aIQ63.mjs.map} +1 -1
- package/dist/secret-file-BxZ-J_Nz.mjs +2 -0
- package/dist/secret-file-BxZ-J_Nz.mjs.map +1 -0
- package/dist/seed/idp-user-password.d.mts +0 -2
- package/dist/seed/index.d.mts +0 -2
- package/dist/service-CaGmqg0r.mjs +2 -0
- package/dist/{service-9rwi_I4d.mjs.map → service-CaGmqg0r.mjs.map} +1 -1
- package/dist/service-DEq_hdht.mjs +1 -0
- package/dist/{service-9SBPNpK8.mjs → service-eeXdVrDK.mjs} +4 -4
- package/dist/service-eeXdVrDK.mjs.map +1 -0
- package/dist/shared/src/color.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/security_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/security_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +1 -3
- package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +1 -3
- package/dist/types/aigateway.generated.d.mts +1 -3
- package/dist/types/app-config.generated.d.mts +1 -3
- package/dist/types/auth-connection.generated.d.mts +1 -3
- package/dist/types/auth.generated.d.mts +1 -3
- package/dist/types/executor.generated.d.mts +1 -3
- package/dist/types/field.generated.d.mts +1 -3
- package/dist/types/helpers.d.mts +1 -3
- package/dist/types/http-adapter.generated.d.mts +1 -3
- package/dist/types/idp.generated.d.mts +1 -3
- package/dist/types/resolver.generated.d.mts +1 -3
- package/dist/types/secrets.generated.d.mts +1 -3
- package/dist/types/staticwebsite.generated.d.mts +1 -3
- package/dist/types/tailordb.generated.d.mts +1 -3
- package/dist/types/workflow.generated.d.mts +1 -3
- package/dist/utils/test/index.d.mts +1 -3
- package/dist/utils/test/index.mjs +1 -1
- package/dist/vitest/date-representation.d.mts +1 -3
- package/dist/vitest/environment.d.mts +0 -2
- package/dist/vitest/index.d.mts +0 -2
- package/dist/vitest/migration-steps.d.mts +1 -3
- package/dist/vitest/mock-kysely.d.mts +0 -2
- package/dist/vitest/mocks/aigateway.d.mts +0 -2
- package/dist/vitest/mocks/authconnection.d.mts +0 -2
- package/dist/vitest/mocks/file.d.mts +0 -2
- package/dist/vitest/mocks/iconv.d.mts +0 -2
- package/dist/vitest/mocks/idp.d.mts +0 -2
- package/dist/vitest/mocks/logger.d.mts +0 -2
- package/dist/vitest/mocks/secretmanager.d.mts +0 -2
- package/dist/vitest/mocks/tailordb-pglite.d.mts +0 -2
- package/dist/vitest/mocks/tailordb.d.mts +0 -2
- package/dist/vitest/mocks/workflow.d.mts +0 -2
- package/dist/vitest/pglite-kysely.d.mts +0 -2
- package/dist/vitest/pglite-temporal.d.mts +1 -3
- package/dist/vitest/setup.d.mts +0 -2
- package/dist/vitest/workflow-local.d.mts +0 -2
- package/docs/cli/application.md +2 -1
- package/docs/cli/tailordb.md +9 -7
- package/docs/cli/user.md +5 -5
- package/docs/cli/workspace.md +1 -1
- package/docs/cli-reference.md +27 -26
- package/docs/configuration.md +15 -2
- package/docs/github-actions.md +33 -10
- package/docs/services/secret.md +6 -0
- package/docs/services/tailordb/index.md +23 -0
- package/docs/services/tailordb/migration.md +14 -9
- package/docs/testing.md +2 -2
- package/package.json +12 -12
- package/dist/application-B9_NHiUC.mjs +0 -207
- package/dist/application-B9_NHiUC.mjs.map +0 -1
- package/dist/cli/commands/tailordb/migrate/remote-state.d.mts +0 -1
- package/dist/crashreport-IN6H7GX3.mjs +0 -1
- package/dist/errors-BOF68LJ5.mjs +0 -5
- package/dist/errors-BOF68LJ5.mjs.map +0 -1
- package/dist/field-parse-C41e3UAF.mjs +0 -2
- package/dist/guards-yDXyKC9F.mjs +0 -2
- package/dist/guards-yDXyKC9F.mjs.map +0 -1
- package/dist/kysely-type-DxyIWXc6.mjs.map +0 -1
- package/dist/logger-RgtbhJ83.mjs.map +0 -1
- package/dist/manager-DTRhIupk.mjs +0 -2
- package/dist/manager-DTRhIupk.mjs.map +0 -1
- package/dist/register-ts-hook-Dp9reSRG.mjs +0 -1053
- package/dist/register-ts-hook-Dp9reSRG.mjs.map +0 -1
- package/dist/secret-file-C9wp_FCX.mjs +0 -2
- package/dist/secret-file-C9wp_FCX.mjs.map +0 -1
- package/dist/service-9SBPNpK8.mjs.map +0 -1
- package/dist/service-9rwi_I4d.mjs +0 -2
- package/dist/service-Ca1WwyIt.mjs +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/cli/commands/api/api-call.d.ts
|
|
2
1
|
export interface ApiCallOptions {
|
|
3
2
|
profile?: string;
|
|
4
3
|
endpoint: string;
|
|
@@ -14,5 +13,4 @@ export interface ApiCallResult {
|
|
|
14
13
|
* @param options - API call options (profile, endpoint, body)
|
|
15
14
|
* @returns Response status and data
|
|
16
15
|
*/
|
|
17
|
-
export declare function apiCall(options: ApiCallOptions): Promise<ApiCallResult>;
|
|
18
|
-
//#endregion
|
|
16
|
+
export declare function apiCall(options: ApiCallOptions): Promise<ApiCallResult>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/cli/commands/deploy/app-id-lock.d.ts
|
|
2
1
|
/** Lock file path, relative to the repository root. Created by `tailor setup`. */
|
|
3
2
|
export declare const TAILOR_LOCK_FILENAME = ".github/tailor.lock";
|
|
4
3
|
/**
|
|
@@ -124,5 +123,4 @@ export type RemoveAdoptedConfigIdsResult = {
|
|
|
124
123
|
* @param plan - A plan produced in `write` mode
|
|
125
124
|
* @returns Whether any config was edited
|
|
126
125
|
*/
|
|
127
|
-
export declare function removeAdoptedConfigIds(plan: AppIdPlan): Promise<RemoveAdoptedConfigIdsResult>;
|
|
128
|
-
//#endregion
|
|
126
|
+
export declare function removeAdoptedConfigIds(plan: AppIdPlan): Promise<RemoveAdoptedConfigIdsResult>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/cli/commands/deploy/config-id-injector.d.ts
|
|
2
1
|
export interface EnsureConfigIdResult {
|
|
3
2
|
id: string;
|
|
4
3
|
injected: boolean;
|
|
@@ -11,5 +10,4 @@ export interface EnsureConfigIdResult {
|
|
|
11
10
|
* @param configPath - Absolute path to the config file
|
|
12
11
|
* @returns Resolved id and whether it was newly injected, or null if skipped
|
|
13
12
|
*/
|
|
14
|
-
export declare function ensureConfigId(configPath: string): Promise<EnsureConfigIdResult | null>;
|
|
15
|
-
//#endregion
|
|
13
|
+
export declare function ensureConfigId(configPath: string): Promise<EnsureConfigIdResult | null>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./label.mjs";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { BundledScripts } from "./function-registry-types.mjs";
|
|
2
|
+
import { HttpAdapterBundleResult } from "../../services/http-adapter/bundler.mjs";
|
|
2
3
|
import "../../shared/client.mjs";
|
|
3
4
|
import "../../services/application.mjs";
|
|
5
|
+
import "./confirm.mjs";
|
|
4
6
|
import "./types.mjs";
|
|
5
7
|
import "./apply-phases.mjs";
|
|
6
8
|
import "./deployment-target.mjs";
|
|
7
9
|
import "./event-subscriptions.mjs";
|
|
8
|
-
//#region src/cli/commands/deploy/deploy.d.ts
|
|
9
10
|
export interface DeployOptions {
|
|
10
11
|
workspaceId?: string;
|
|
11
12
|
profile?: string;
|
|
@@ -32,5 +33,5 @@ export interface DeployOptions {
|
|
|
32
33
|
*/
|
|
33
34
|
export declare function deploy(options?: DeployOptions): Promise<{
|
|
34
35
|
bundledScripts: BundledScripts;
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
httpAdapterScripts: Map<string, HttpAdapterBundleResult>;
|
|
37
|
+
} | undefined>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/cli/commands/deploy/function-registry-types.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* In-memory bundled scripts organized by kind.
|
|
4
3
|
*/
|
|
@@ -7,5 +6,4 @@ export type BundledScripts = {
|
|
|
7
6
|
executors: Map<string, string>;
|
|
8
7
|
workflowJobs: Map<string, string>;
|
|
9
8
|
authHooks: Map<string, string>;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
9
|
+
};
|
|
@@ -2,5 +2,6 @@ import "../../../tailor-proto/src/tailor/v1/pipeline_resource_pb.mjs";
|
|
|
2
2
|
import "../../../tailor-proto/src/tailor/v1/pipeline_pb.mjs";
|
|
3
3
|
import "../../shared/client.mjs";
|
|
4
4
|
import "./label.mjs";
|
|
5
|
+
import "./confirm.mjs";
|
|
5
6
|
import "./types.mjs";
|
|
6
7
|
import { MessageInitShape } from "@bufbuild/protobuf";
|
|
@@ -2,5 +2,6 @@ import "../../../tailor-proto/src/tailor/v1/staticwebsite_resource_pb.mjs";
|
|
|
2
2
|
import "../../../tailor-proto/src/tailor/v1/staticwebsite_pb.mjs";
|
|
3
3
|
import "../../shared/client.mjs";
|
|
4
4
|
import "./label.mjs";
|
|
5
|
+
import "./confirm.mjs";
|
|
5
6
|
import "./types.mjs";
|
|
6
7
|
import { MessageInitShape } from "@bufbuild/protobuf";
|
|
@@ -2,5 +2,4 @@ import "../../../shared/client.mjs";
|
|
|
2
2
|
import "../../../shared/config-loader.mjs";
|
|
3
3
|
import "../../tailordb/migrate/snapshot.mjs";
|
|
4
4
|
import "../../tailordb/migrate/config.mjs";
|
|
5
|
-
import "../../tailordb/migrate/schema-checks.mjs";
|
|
6
|
-
import "../../tailordb/migrate/remote-state.mjs";
|
|
5
|
+
import "../../tailordb/migrate/schema-checks.mjs";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "../../../../tailor-proto/src/tailor/v1/tailordb_pb.mjs";
|
|
2
2
|
import "../../../services/application.mjs";
|
|
3
3
|
import "../label.mjs";
|
|
4
|
+
import "../confirm.mjs";
|
|
4
5
|
import "../types.mjs";
|
|
5
6
|
import "../../tailordb/migrate/config.mjs";
|
|
6
7
|
import "../../tailordb/migrate/schema-checks.mjs";
|
|
@@ -2,4 +2,5 @@ import "../../../tailor-proto/src/tailor/v1/workflow_resource_pb.mjs";
|
|
|
2
2
|
import "../../../tailor-proto/src/tailor/v1/workflow_pb.mjs";
|
|
3
3
|
import "../../shared/client.mjs";
|
|
4
4
|
import "./label.mjs";
|
|
5
|
+
import "./confirm.mjs";
|
|
5
6
|
import { MessageInitShape } from "@bufbuild/protobuf";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ExecutorInfo } from "./transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/executor/get.d.ts
|
|
4
3
|
type ExecutorLike = {
|
|
5
4
|
name: string;
|
|
6
5
|
};
|
|
@@ -15,5 +14,4 @@ export type GetExecutorTypedOptions<E extends ExecutorLike = ExecutorLike> = {
|
|
|
15
14
|
* @returns Executor information
|
|
16
15
|
*/
|
|
17
16
|
export declare function getExecutor<E extends ExecutorLike>(options: GetExecutorTypedOptions<E>): Promise<ExecutorInfo>;
|
|
18
|
-
//#endregion
|
|
19
17
|
export {};
|
|
@@ -2,7 +2,6 @@ import { Order } from "../../shared/args.mjs";
|
|
|
2
2
|
import "../../shared/errors.mjs";
|
|
3
3
|
import { ExecutorJobAttemptInfo, ExecutorJobInfo, ExecutorJobListInfo } from "./transform.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
//#region src/cli/commands/executor/jobs.d.ts
|
|
6
5
|
type ExecutorLike = {
|
|
7
6
|
name: string;
|
|
8
7
|
};
|
|
@@ -82,5 +81,4 @@ export declare function watchExecutorJob<E extends ExecutorLike>(options: WatchE
|
|
|
82
81
|
* @returns Failure message, or undefined when the wait succeeded
|
|
83
82
|
*/
|
|
84
83
|
export declare function getExecutorWaitFailureMessage(result: WatchExecutorJobResult): string | undefined;
|
|
85
|
-
//#endregion
|
|
86
84
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Order } from "../../shared/args.mjs";
|
|
2
2
|
import { ExecutorListInfo } from "./transform.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
//#region src/cli/commands/executor/list.d.ts
|
|
5
4
|
export interface ListExecutorsOptions {
|
|
6
5
|
workspaceId?: string;
|
|
7
6
|
profile?: string;
|
|
@@ -13,5 +12,4 @@ export interface ListExecutorsOptions {
|
|
|
13
12
|
* @param options - Executor listing options
|
|
14
13
|
* @returns List of executors
|
|
15
14
|
*/
|
|
16
|
-
export declare function listExecutors(options?: ListExecutorsOptions): Promise<ExecutorListInfo[]>;
|
|
17
|
-
//#endregion
|
|
15
|
+
export declare function listExecutors(options?: ListExecutorsOptions): Promise<ExecutorListInfo[]>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "../../../tailor-proto/src/tailor/v1/executor_resource_pb.mjs";
|
|
2
|
-
//#region src/cli/commands/executor/transform.d.ts
|
|
3
2
|
export interface ExecutorJobListInfo {
|
|
4
3
|
id: string;
|
|
5
4
|
executorName: string;
|
|
@@ -37,5 +36,4 @@ export interface ExecutorInfo {
|
|
|
37
36
|
disabled: boolean;
|
|
38
37
|
triggerConfig: Record<string, unknown>;
|
|
39
38
|
targetConfig: Record<string, unknown>;
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
39
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IncomingWebhookTrigger, ScheduleTriggerInput } from "../../../types/executor.generated.mjs";
|
|
2
2
|
import { JsonObject } from "@bufbuild/protobuf";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
//#region src/cli/commands/executor/trigger.d.ts
|
|
5
4
|
type ManualTrigger = IncomingWebhookTrigger | ScheduleTriggerInput;
|
|
6
5
|
type ManualTriggerExecutor<T extends ManualTrigger = ManualTrigger> = T extends ManualTrigger ? {
|
|
7
6
|
name: string;
|
|
@@ -26,5 +25,4 @@ export interface TriggerExecutorResult {
|
|
|
26
25
|
* @returns Result containing the job ID if available
|
|
27
26
|
*/
|
|
28
27
|
export declare function triggerExecutor<E extends ManualTriggerExecutor>(options: TriggerExecutorTypedOptions<E>): Promise<TriggerExecutorResult>;
|
|
29
|
-
//#endregion
|
|
30
28
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Order } from "../../shared/args.mjs";
|
|
2
|
-
//#region src/cli/commands/executor/webhook.d.ts
|
|
3
2
|
export interface WebhookExecutorInfo {
|
|
4
3
|
name: string;
|
|
5
4
|
webhookUrl: string;
|
|
@@ -16,5 +15,4 @@ export interface ListWebhookExecutorsOptions {
|
|
|
16
15
|
* @param options - Listing options
|
|
17
16
|
* @returns List of webhook executors with URLs
|
|
18
17
|
*/
|
|
19
|
-
export declare function listWebhookExecutors(options?: ListWebhookExecutorsOptions): Promise<WebhookExecutorInfo[]>;
|
|
20
|
-
//#endregion
|
|
18
|
+
export declare function listWebhookExecutors(options?: ListWebhookExecutorsOptions): Promise<WebhookExecutorInfo[]>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FunctionRegistryInfo } from "./transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/function/get.d.ts
|
|
4
3
|
declare const getFunctionRegistryOptionsSchema: z.ZodObject<{
|
|
5
4
|
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
6
5
|
profile: z.ZodOptional<z.ZodString>;
|
|
@@ -13,5 +12,4 @@ export type GetFunctionRegistryOptions = z.input<typeof getFunctionRegistryOptio
|
|
|
13
12
|
* @returns Function registry info
|
|
14
13
|
*/
|
|
15
14
|
export declare function getFunctionRegistry(options: GetFunctionRegistryOptions): Promise<FunctionRegistryInfo>;
|
|
16
|
-
//#endregion
|
|
17
15
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FunctionRegistryInfo } from "./transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/function/list.d.ts
|
|
4
3
|
declare const listFunctionRegistriesOptionsSchema: z.ZodObject<{
|
|
5
4
|
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
6
5
|
profile: z.ZodOptional<z.ZodString>;
|
|
@@ -17,5 +16,4 @@ export type ListFunctionRegistriesOptions = z.input<typeof listFunctionRegistrie
|
|
|
17
16
|
* @returns List of function registries
|
|
18
17
|
*/
|
|
19
18
|
export declare function listFunctionRegistries(options: ListFunctionRegistriesOptions): Promise<FunctionRegistryInfo[]>;
|
|
20
|
-
//#endregion
|
|
21
19
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "../../../tailor-proto/src/tailor/v1/function_registry_pb.mjs";
|
|
2
|
-
//#region src/cli/commands/function/transform.d.ts
|
|
3
2
|
export interface FunctionRegistryInfo {
|
|
4
3
|
name: string;
|
|
5
4
|
description: string;
|
|
@@ -7,5 +6,4 @@ export interface FunctionRegistryInfo {
|
|
|
7
6
|
contentHash: string;
|
|
8
7
|
createdAt: Date | null;
|
|
9
8
|
updatedAt: Date | null;
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
9
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/cli/commands/generate/seed/bundler.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Seed script bundler for TailorDB seed data
|
|
4
3
|
*
|
|
@@ -40,5 +39,4 @@ export declare function bundleSeedScript(namespace: string, tableNames: string[]
|
|
|
40
39
|
* @param baseDir - Directory whose dependencies and tsconfig the generated entry uses
|
|
41
40
|
* @returns Bundled seed dump script result
|
|
42
41
|
*/
|
|
43
|
-
export declare function bundleSeedDumpScript(namespace: string, baseDir?: string): Promise<SeedDumpBundleResult>;
|
|
44
|
-
//#endregion
|
|
42
|
+
export declare function bundleSeedDumpScript(namespace: string, baseDir?: string): Promise<SeedDumpBundleResult>;
|
|
@@ -5,11 +5,9 @@ import "../../../plugin/manager.mjs";
|
|
|
5
5
|
import "../../shared/config-loader.mjs";
|
|
6
6
|
import "../../services/application.mjs";
|
|
7
7
|
import { GenerateOptions } from "./options.mjs";
|
|
8
|
-
//#region src/cli/commands/generate/service.d.ts
|
|
9
8
|
/**
|
|
10
9
|
* Run code generation using the Tailor configuration.
|
|
11
10
|
* @param options - Generation options
|
|
12
11
|
* @returns Promise that resolves when generation completes
|
|
13
12
|
*/
|
|
14
|
-
export declare function generate(options?: GenerateOptions): Promise<void>;
|
|
15
|
-
//#endregion
|
|
13
|
+
export declare function generate(options?: GenerateOptions): Promise<void>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Order } from "../../shared/args.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/machineuser/list.d.ts
|
|
4
3
|
export interface ListMachineUsersOptions {
|
|
5
4
|
workspaceId?: string;
|
|
6
5
|
profile?: string;
|
|
@@ -23,5 +22,4 @@ export interface MachineUserInfo {
|
|
|
23
22
|
* @param options - Machine user listing options
|
|
24
23
|
* @returns List of machine users
|
|
25
24
|
*/
|
|
26
|
-
export declare function listMachineUsers(options?: ListMachineUsersOptions): Promise<MachineUserInfo[]>;
|
|
27
|
-
//#endregion
|
|
25
|
+
export declare function listMachineUsers(options?: ListMachineUsersOptions): Promise<MachineUserInfo[]>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/cli/commands/machineuser/token.d.ts
|
|
3
2
|
export interface GetMachineUserTokenOptions {
|
|
4
3
|
name?: string;
|
|
5
4
|
workspaceId?: string;
|
|
@@ -16,5 +15,4 @@ export interface MachineUserTokenInfo {
|
|
|
16
15
|
* @param options - Token retrieval options
|
|
17
16
|
* @returns Machine user token info
|
|
18
17
|
*/
|
|
19
|
-
export declare function getMachineUserToken(options: GetMachineUserTokenOptions): Promise<MachineUserTokenInfo>;
|
|
20
|
-
//#endregion
|
|
18
|
+
export declare function getMachineUserToken(options: GetMachineUserTokenOptions): Promise<MachineUserTokenInfo>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OAuth2ClientCredentials } from "./transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/oauth2client/get.d.ts
|
|
4
3
|
export interface GetOAuth2ClientOptions {
|
|
5
4
|
name: string;
|
|
6
5
|
workspaceId?: string;
|
|
@@ -12,5 +11,4 @@ export interface GetOAuth2ClientOptions {
|
|
|
12
11
|
* @param options - OAuth2 client lookup options
|
|
13
12
|
* @returns OAuth2 client credentials
|
|
14
13
|
*/
|
|
15
|
-
export declare function getOAuth2Client(options: GetOAuth2ClientOptions): Promise<OAuth2ClientCredentials>;
|
|
16
|
-
//#endregion
|
|
14
|
+
export declare function getOAuth2Client(options: GetOAuth2ClientOptions): Promise<OAuth2ClientCredentials>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Order } from "../../shared/args.mjs";
|
|
2
2
|
import { OAuth2ClientInfo } from "./transform.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
//#region src/cli/commands/oauth2client/list.d.ts
|
|
5
4
|
export interface ListOAuth2ClientsOptions {
|
|
6
5
|
workspaceId?: string;
|
|
7
6
|
profile?: string;
|
|
@@ -14,5 +13,4 @@ export interface ListOAuth2ClientsOptions {
|
|
|
14
13
|
* @param options - OAuth2 client listing options
|
|
15
14
|
* @returns List of OAuth2 clients
|
|
16
15
|
*/
|
|
17
|
-
export declare function listOAuth2Clients(options?: ListOAuth2ClientsOptions): Promise<OAuth2ClientInfo[]>;
|
|
18
|
-
//#endregion
|
|
16
|
+
export declare function listOAuth2Clients(options?: ListOAuth2ClientsOptions): Promise<OAuth2ClientInfo[]>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "../../../tailor-proto/src/tailor/v1/auth_resource_pb.mjs";
|
|
2
|
-
//#region src/cli/commands/oauth2client/transform.d.ts
|
|
3
2
|
export interface OAuth2ClientInfo {
|
|
4
3
|
name: string;
|
|
5
4
|
description: string;
|
|
@@ -16,5 +15,4 @@ export interface OAuth2ClientCredentials {
|
|
|
16
15
|
grantTypes: string[];
|
|
17
16
|
redirectUris: string[];
|
|
18
17
|
createdAt: Date | null;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
18
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FolderInfo } from "../transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/organization/folder/create.d.ts
|
|
4
3
|
declare const createFolderOptionsSchema: z.ZodObject<{
|
|
5
4
|
organizationId: z.ZodUUID;
|
|
6
5
|
parentFolderId: z.ZodOptional<z.ZodString>;
|
|
@@ -13,5 +12,4 @@ export type CreateFolderOptions = z.input<typeof createFolderOptionsSchema>;
|
|
|
13
12
|
* @returns Created folder details
|
|
14
13
|
*/
|
|
15
14
|
export declare function createFolder(options: CreateFolderOptions): Promise<FolderInfo>;
|
|
16
|
-
//#endregion
|
|
17
15
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/cli/commands/organization/folder/delete.d.ts
|
|
3
2
|
declare const deleteFolderOptionsSchema: z.ZodObject<{
|
|
4
3
|
organizationId: z.ZodUUID;
|
|
5
4
|
folderId: z.ZodUUID;
|
|
@@ -11,5 +10,4 @@ export type DeleteFolderOptions = z.input<typeof deleteFolderOptionsSchema>;
|
|
|
11
10
|
* @returns Promise that resolves when deletion completes
|
|
12
11
|
*/
|
|
13
12
|
export declare function deleteFolder(options: DeleteFolderOptions): Promise<void>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FolderInfo } from "../transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/organization/folder/get.d.ts
|
|
4
3
|
declare const getFolderOptionsSchema: z.ZodObject<{
|
|
5
4
|
organizationId: z.ZodUUID;
|
|
6
5
|
folderId: z.ZodUUID;
|
|
@@ -12,5 +11,4 @@ export type GetFolderOptions = z.input<typeof getFolderOptionsSchema>;
|
|
|
12
11
|
* @returns Folder details
|
|
13
12
|
*/
|
|
14
13
|
export declare function getFolder(options: GetFolderOptions): Promise<FolderInfo>;
|
|
15
|
-
//#endregion
|
|
16
14
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FolderListInfo } from "../transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/organization/folder/list.d.ts
|
|
4
3
|
declare const listFoldersOptionsSchema: z.ZodObject<{
|
|
5
4
|
organizationId: z.ZodUUID;
|
|
6
5
|
parentFolderId: z.ZodOptional<z.ZodString>;
|
|
@@ -17,5 +16,4 @@ export type ListFoldersOptions = z.input<typeof listFoldersOptionsSchema>;
|
|
|
17
16
|
* @returns List of folders
|
|
18
17
|
*/
|
|
19
18
|
export declare function listFolders(options: ListFoldersOptions): Promise<FolderListInfo[]>;
|
|
20
|
-
//#endregion
|
|
21
19
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FolderInfo } from "../transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/organization/folder/update.d.ts
|
|
4
3
|
declare const updateFolderOptionsSchema: z.ZodObject<{
|
|
5
4
|
organizationId: z.ZodUUID;
|
|
6
5
|
folderId: z.ZodUUID;
|
|
@@ -13,5 +12,4 @@ export type UpdateFolderOptions = z.input<typeof updateFolderOptionsSchema>;
|
|
|
13
12
|
* @returns Updated folder details
|
|
14
13
|
*/
|
|
15
14
|
export declare function updateFolder(options: UpdateFolderOptions): Promise<FolderInfo>;
|
|
16
|
-
//#endregion
|
|
17
15
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OrganizationInfo } from "./transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/organization/get.d.ts
|
|
4
3
|
declare const getOrganizationOptionsSchema: z.ZodObject<{
|
|
5
4
|
organizationId: z.ZodUUID;
|
|
6
5
|
}, z.core.$strip>;
|
|
@@ -11,5 +10,4 @@ export type GetOrganizationOptions = z.input<typeof getOrganizationOptionsSchema
|
|
|
11
10
|
* @returns Organization details
|
|
12
11
|
*/
|
|
13
12
|
export declare function getOrganization(options: GetOrganizationOptions): Promise<OrganizationInfo>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UserOrganizationInfo } from "./transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/organization/list.d.ts
|
|
4
3
|
export interface ListOrganizationsOptions {
|
|
5
4
|
limit?: number;
|
|
6
5
|
}
|
|
@@ -9,5 +8,4 @@ export interface ListOrganizationsOptions {
|
|
|
9
8
|
* @param options - Organization listing options
|
|
10
9
|
* @returns List of user organizations
|
|
11
10
|
*/
|
|
12
|
-
export declare function listOrganizations(options?: ListOrganizationsOptions): Promise<UserOrganizationInfo[]>;
|
|
13
|
-
//#endregion
|
|
11
|
+
export declare function listOrganizations(options?: ListOrganizationsOptions): Promise<UserOrganizationInfo[]>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import "../../../tailor-proto/src/tailor/v1/workspace_resource_pb.mjs";
|
|
2
2
|
import "../../../tailor-proto/src/tailor/v1/workspace_pb.mjs";
|
|
3
|
-
//#region src/cli/commands/organization/transform.d.ts
|
|
4
3
|
export interface UserOrganizationInfo {
|
|
5
4
|
organizationId: string;
|
|
6
5
|
organizationName: string;
|
|
@@ -24,5 +23,4 @@ export interface FolderListInfo {
|
|
|
24
23
|
}
|
|
25
24
|
export interface FolderInfo extends FolderListInfo {
|
|
26
25
|
updatedAt: Date | null;
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
26
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/cli/commands/organization/tree.d.ts
|
|
3
2
|
export interface OrganizationTreeOptions {
|
|
4
3
|
organizationId?: string;
|
|
5
4
|
depth?: number;
|
|
@@ -20,5 +19,4 @@ interface FolderTreeJson {
|
|
|
20
19
|
* @returns Organization tree as structured data
|
|
21
20
|
*/
|
|
22
21
|
export declare function organizationTree(options?: OrganizationTreeOptions): Promise<OrganizationTreeJson[]>;
|
|
23
|
-
//#endregion
|
|
24
22
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OrganizationInfo } from "./transform.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/organization/update.d.ts
|
|
4
3
|
declare const updateOrganizationOptionsSchema: z.ZodObject<{
|
|
5
4
|
organizationId: z.ZodUUID;
|
|
6
5
|
name: z.ZodString;
|
|
@@ -12,5 +11,4 @@ export type UpdateOrganizationOptions = z.input<typeof updateOrganizationOptions
|
|
|
12
11
|
* @returns Updated organization details
|
|
13
12
|
*/
|
|
14
13
|
export declare function updateOrganization(options: UpdateOrganizationOptions): Promise<OrganizationInfo>;
|
|
15
|
-
//#endregion
|
|
16
14
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/cli/commands/remove.d.ts
|
|
3
2
|
export interface RemoveOptions {
|
|
4
3
|
workspaceId?: string;
|
|
5
4
|
profile?: string;
|
|
@@ -10,5 +9,4 @@ export interface RemoveOptions {
|
|
|
10
9
|
* @param options - Remove options
|
|
11
10
|
* @returns Promise that resolves when removal completes
|
|
12
11
|
*/
|
|
13
|
-
export declare function remove(options?: RemoveOptions): Promise<void>;
|
|
14
|
-
//#endregion
|
|
12
|
+
export declare function remove(options?: RemoveOptions): Promise<void>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/cli/commands/show.d.ts
|
|
3
2
|
export interface ShowOptions {
|
|
4
3
|
workspaceId?: string;
|
|
5
4
|
profile?: string;
|
|
@@ -47,5 +46,4 @@ export interface ShowInfo extends ApplicationInfo, WorkspaceInfo {
|
|
|
47
46
|
* @returns Deployed application, workspace, AI Gateway, static website, and OAuth2 client information
|
|
48
47
|
*/
|
|
49
48
|
export declare function show(options?: ShowOptions): Promise<ShowInfo>;
|
|
50
|
-
//#endregion
|
|
51
49
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OperatorClient } from "../../shared/client.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region src/cli/commands/staticwebsite/deploy.d.ts
|
|
4
3
|
export type DeployResult = {
|
|
5
4
|
url: string;
|
|
6
5
|
skippedFiles: string[];
|
|
@@ -14,5 +13,4 @@ export type DeployResult = {
|
|
|
14
13
|
* @param showProgress - Whether to show upload progress
|
|
15
14
|
* @returns Deployment result with URL and skipped files
|
|
16
15
|
*/
|
|
17
|
-
export declare function deployStaticWebsite(client: OperatorClient, workspaceId: string, name: string, distDir: string, showProgress?: boolean): Promise<DeployResult>;
|
|
18
|
-
//#endregion
|
|
16
|
+
export declare function deployStaticWebsite(client: OperatorClient, workspaceId: string, name: string, distDir: string, showProgress?: boolean): Promise<DeployResult>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EffectiveDateDefault } from "../../../../runtime/types.mjs";
|
|
2
|
-
//#region src/cli/commands/tailordb/migrate/bundler.d.ts
|
|
3
2
|
export interface MigrationBundleResult {
|
|
4
3
|
namespace: string;
|
|
5
4
|
migrationNumber: number;
|
|
@@ -25,5 +24,4 @@ export interface MigrationBundleResult {
|
|
|
25
24
|
* migration's `diff.json` when it was generated. Defaults to `"legacy"`.
|
|
26
25
|
* @returns {Promise<MigrationBundleResult>} Bundled migration result
|
|
27
26
|
*/
|
|
28
|
-
export declare function bundleMigrationScript(sourceFile: string, namespace: string, migrationNumber: number, env?: Record<string, string | number | boolean>, baseDir?: string, temporal?: boolean, dateDefault?: EffectiveDateDefault): Promise<MigrationBundleResult>;
|
|
29
|
-
//#endregion
|
|
27
|
+
export declare function bundleMigrationScript(sourceFile: string, namespace: string, migrationNumber: number, env?: Record<string, string | number | boolean>, baseDir?: string, temporal?: boolean, dateDefault?: EffectiveDateDefault): Promise<MigrationBundleResult>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AppConfig } from "../../../../configure/config/types.mjs";
|
|
2
2
|
import "../../../shared/errors.mjs";
|
|
3
|
-
//#region src/cli/commands/tailordb/migrate/config.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Namespace with migrations configuration
|
|
6
5
|
*/
|
|
@@ -14,5 +13,4 @@ export interface NamespaceWithMigrations {
|
|
|
14
13
|
* @param {string} configDir - Configuration directory path
|
|
15
14
|
* @returns {NamespaceWithMigrations[]} Array of namespaces with migrations configured
|
|
16
15
|
*/
|
|
17
|
-
export declare function getNamespacesWithMigrations(config: AppConfig, configDir: string): NamespaceWithMigrations[];
|
|
18
|
-
//#endregion
|
|
16
|
+
export declare function getNamespacesWithMigrations(config: AppConfig, configDir: string): NamespaceWithMigrations[];
|