@tailor-platform/sdk 2.0.1 → 2.2.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.
Files changed (92) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/{dist/cli/index.mjs → bin/tailor.mjs} +1 -1
  3. package/dist/{application-CM6hKnSK.mjs → application-BpLeawBg.mjs} +126 -28
  4. package/dist/application-BpLeawBg.mjs.map +1 -0
  5. package/dist/application-BxLLiLsr.mjs +3 -0
  6. package/dist/cli/commands/deploy/tailordb/index.d.mts +2 -1
  7. package/dist/cli/commands/deploy/types.d.mts +2 -1
  8. package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +11 -4
  9. package/dist/cli/commands/tailordb/migrate/file-state.d.mts +1 -0
  10. package/dist/cli/commands/tailordb/migrate/schema-checks.d.mts +2 -2
  11. package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +8 -1
  12. package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +5 -3
  13. package/dist/cli/lib.d.mts +4 -4
  14. package/dist/cli/lib.mjs +3 -482
  15. package/dist/cli/lib.mjs.map +1 -1
  16. package/dist/cli/main.mjs +997 -202
  17. package/dist/cli/main.mjs.map +1 -1
  18. package/dist/completion/zsh-worker.zsh +145 -2
  19. package/dist/configure/config/types.d.mts +12 -1
  20. package/dist/configure/index.d.mts +3 -3
  21. package/dist/configure/services/index.d.mts +3 -2
  22. package/dist/configure/services/resolver/index.d.mts +1 -1
  23. package/dist/configure/services/resolver/resolver.d.mts +1 -1
  24. package/dist/configure/services/tailordb/index.d.mts +2 -1
  25. package/dist/configure/services/tailordb/schema.d.mts +46 -46
  26. package/dist/configure/services/tailordb/types.d.mts +30 -4
  27. package/dist/{crashreport-B5LqCTfF.mjs → crashreport-CIIfLnoO.mjs} +2 -2
  28. package/dist/{crashreport-B5LqCTfF.mjs.map → crashreport-CIIfLnoO.mjs.map} +1 -1
  29. package/dist/{crashreport-eI7ty7ok.mjs → crashreport-CINZ5dVN.mjs} +1 -1
  30. package/dist/errors-CWj21238.mjs +75 -0
  31. package/dist/errors-CWj21238.mjs.map +1 -0
  32. package/dist/{globals-TfAVItuK.mjs → globals-B2nlxBrz.mjs} +2 -10
  33. package/dist/globals-B2nlxBrz.mjs.map +1 -0
  34. package/dist/kysely/index.d.mts +52 -5
  35. package/dist/kysely/index.mjs +7 -2
  36. package/dist/kysely/index.mjs.map +1 -1
  37. package/dist/{logger-CXQq9YIp.mjs → logger-DSdExfor.mjs} +83 -42
  38. package/dist/logger-DSdExfor.mjs.map +1 -0
  39. package/dist/plugin/builtin/seed/index.mjs +1 -1
  40. package/dist/{register-ts-hook-LYV7zH-e.mjs → register-ts-hook-CTth1eqj.mjs} +1587 -272
  41. package/dist/register-ts-hook-CTth1eqj.mjs.map +1 -0
  42. package/dist/runtime/globals.d.mts +0 -7
  43. package/dist/runtime/workflow.d.mts +2 -7
  44. package/dist/schema--xYWRGfe.mjs.map +1 -1
  45. package/dist/seed/index.d.mts +52 -3
  46. package/dist/seed/index.mjs +200 -44
  47. package/dist/seed/index.mjs.map +1 -1
  48. package/dist/{seed-B-yckgQY.mjs → seed-xqM9WIHP.mjs} +8 -8
  49. package/dist/seed-xqM9WIHP.mjs.map +1 -0
  50. package/dist/{service-B5WynBHQ.mjs → service-CCwl3Avt.mjs} +3 -3
  51. package/dist/{service-B5WynBHQ.mjs.map → service-CCwl3Avt.mjs.map} +1 -1
  52. package/dist/service-_XmjSEGr.mjs +3 -0
  53. package/dist/{service-k1xy_A5G.mjs → service-goqlJJgA.mjs} +2 -2
  54. package/dist/{service-k1xy_A5G.mjs.map → service-goqlJJgA.mjs.map} +1 -1
  55. package/dist/{service_pb-D5--My_M.mjs → service_pb-BEWj1pOV.mjs} +2 -2
  56. package/dist/{service_pb-D5--My_M.mjs.map → service_pb-BEWj1pOV.mjs.map} +1 -1
  57. package/dist/{service_pb-i8CmnQP4.mjs → service_pb-BjlhvK9E.mjs} +1 -1
  58. package/dist/utils/test/index.d.mts +9 -3
  59. package/dist/utils/test/index.mjs +49 -25
  60. package/dist/utils/test/index.mjs.map +1 -1
  61. package/dist/vitest/environment.mjs +1 -1
  62. package/dist/vitest/index.d.mts +2 -1
  63. package/dist/vitest/index.mjs +84 -2
  64. package/dist/vitest/index.mjs.map +1 -1
  65. package/dist/vitest/mocks/file.d.mts +1 -1
  66. package/dist/vitest/pglite-kysely.d.mts +43 -0
  67. package/dist/vitest/setup.mjs +1 -1
  68. package/dist/workflow-Bamae_Yc.mjs.map +1 -1
  69. package/dist/{workspace_resource_pb-DXnO2AT-.mjs → workspace_resource_pb-HNIL_Vfj.mjs} +10 -2
  70. package/dist/{workspace_resource_pb-DXnO2AT-.mjs.map → workspace_resource_pb-HNIL_Vfj.mjs.map} +1 -1
  71. package/docs/cli/tailordb.md +87 -22
  72. package/docs/cli-reference.md +13 -11
  73. package/docs/configuration.md +4 -1
  74. package/docs/migration/v2.md +1 -1
  75. package/docs/plugin/custom.md +48 -48
  76. package/docs/plugin/index.md +24 -24
  77. package/docs/services/auth.md +10 -10
  78. package/docs/services/executor.md +1 -1
  79. package/docs/services/resolver.md +34 -2
  80. package/docs/services/tailordb-migration.md +375 -76
  81. package/docs/services/tailordb.md +28 -28
  82. package/docs/testing.md +3 -1
  83. package/package.json +13 -8
  84. package/dist/application-CM6hKnSK.mjs.map +0 -1
  85. package/dist/application-CXNaUNhv.mjs +0 -3
  86. package/dist/errors-D7583Zz7.mjs +0 -58
  87. package/dist/errors-D7583Zz7.mjs.map +0 -1
  88. package/dist/globals-TfAVItuK.mjs.map +0 -1
  89. package/dist/logger-CXQq9YIp.mjs.map +0 -1
  90. package/dist/register-ts-hook-LYV7zH-e.mjs.map +0 -1
  91. package/dist/seed-B-yckgQY.mjs.map +0 -1
  92. package/dist/service-M7OYziQP.mjs +0 -3
@@ -46,10 +46,10 @@ declare function mockFile(options?: MockFileOptions): {
46
46
  calls: FileCall[];
47
47
  clear(): void;
48
48
  reset(): void;
49
+ delete: Mock<(namespace: string, typeName: string, fieldName: string, recordId: string) => Promise<void>>;
49
50
  upload: Mock<(namespace: string, typeName: string, fieldName: string, recordId: string, data: string | ArrayBuffer | Uint8Array | number[], options?: FileUploadOptions) => Promise<FileUploadResponse>>;
50
51
  download: Mock<(namespace: string, typeName: string, fieldName: string, recordId: string) => Promise<FileDownloadResponse>>;
51
52
  downloadAsBase64: Mock<(namespace: string, typeName: string, fieldName: string, recordId: string) => Promise<FileDownloadAsBase64Response>>;
52
- delete: Mock<(namespace: string, typeName: string, fieldName: string, recordId: string) => Promise<void>>;
53
53
  getMetadata: Mock<(namespace: string, typeName: string, fieldName: string, recordId: string) => Promise<FileMetadata>>;
54
54
  downloadStream: Mock<(namespace: string, typeName: string, fieldName: string, recordId: string) => Promise<FileDownloadStreamResponse>>;
55
55
  uploadStream: Mock<(namespace: string, typeName: string, fieldName: string, recordId: string, readableStream: ReadableStream<Uint8Array | ArrayBuffer>, options?: FileUploadStreamOptions) => Promise<FileUploadResponse>>;
@@ -0,0 +1,43 @@
1
+ import { Kysely } from "kysely";
2
+ //#region src/vitest/pglite-kysely.d.ts
3
+ /**
4
+ * The subset of a `@electric-sql/pglite` `PGlite` instance used by
5
+ * {@link createKyselyPGlite}. Any client with a compatible `query`/`close`
6
+ * pair works.
7
+ */
8
+ interface PGliteClient {
9
+ /** Run a single SQL statement with positional (`$1`, `$2`, ...) parameters. */
10
+ query(query: string, params?: unknown[]): Promise<{
11
+ rows: unknown[];
12
+ affectedRows?: number;
13
+ }>;
14
+ /** Release the underlying database. Called by `db.destroy()`. */
15
+ close(): Promise<void>;
16
+ }
17
+ /**
18
+ * Create a Kysely instance backed by a PGlite in-memory Postgres, for
19
+ * executing a migration script's queries against real data in tests.
20
+ * Pass the migration's schema as the type argument, e.g.
21
+ * `createKyselyPGlite<Database>(new PGlite())`.
22
+ *
23
+ * PGlite runs full PostgreSQL while TailorDB supports a subset of it, so a
24
+ * statement passing here can still be rejected by the platform; keep a
25
+ * statement-level test (see `createKyselyMock`) alongside.
26
+ * @param client - A `PGlite` instance from `@electric-sql/pglite`
27
+ * @returns A Kysely instance that executes queries on the client and closes it on `destroy()`
28
+ * @example
29
+ * ```typescript
30
+ * // migrations/0005/migrate.test.ts
31
+ * import { PGlite } from "@electric-sql/pglite";
32
+ * import { createKyselyPGlite } from "@tailor-platform/sdk/vitest";
33
+ * import type { Database } from "./db";
34
+ * import { main } from "./migrate";
35
+ *
36
+ * const db = createKyselyPGlite<Database>(new PGlite());
37
+ * // create tables matching db.ts, insert rows, then:
38
+ * await db.transaction().execute((trx) => main(trx));
39
+ * ```
40
+ */
41
+ declare function createKyselyPGlite<DB = Record<string, never>>(client: PGliteClient): Kysely<DB>;
42
+ //#endregion
43
+ export { PGliteClient, createKyselyPGlite };
@@ -1,4 +1,4 @@
1
- import { t as RUNTIME_FLAG_KEY } from "../globals-TfAVItuK.mjs";
1
+ import { t as RUNTIME_FLAG_KEY } from "../globals-B2nlxBrz.mjs";
2
2
  import { t as mockSecretmanager } from "../secretmanager-IY4UvinW.mjs";
3
3
  import { pathToFileURL } from "node:url";
4
4
  import { afterEach, beforeAll, beforeEach } from "vitest";
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-Bamae_Yc.mjs","names":[],"sources":["../src/runtime/workflow.ts"],"sourcesContent":["/**\n * Workflow utilities.\n *\n * Thin typed wrapper around the platform-provided `tailor.workflow` runtime API.\n * At runtime this delegates to `globalThis.tailor.workflow`. Use `mockWorkflow`\n * from `@tailor-platform/sdk/vitest` to mock these calls in unit tests.\n *\n * The canonical names (`startWorkflow`, `execJobFunction`,\n * `resumeWorkflowExecution`) mirror the public `tailor.v1` RPC vocabulary:\n * `Exec*` is a blocking call that returns the job's result, while `Start*`\n * returns only an execution ID.\n * @example\n * import { workflow } from \"@tailor-platform/sdk/runtime\";\n *\n * const executionId = await workflow.startWorkflow(\"myWorkflow\", { data: \"value\" });\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Specifies the machine user that should be used to execute the workflow.\n * This allows workflows to run with specific authentication context.\n */\nexport interface Invoker {\n /** The namespace where the machine user is defined */\n namespace: string;\n /** The name of the machine user to use for workflow execution */\n machineUserName: string;\n}\n\n/** Options for {@link startWorkflow}. */\nexport interface StartWorkflowOptions {\n /** Optional authentication invoker to specify which machine user should execute the workflow */\n authInvoker?: Invoker;\n}\n\ndeclare const executionPolicyKeyBrand: unique symbol;\n\n/**\n * A concrete runtime key produced by an execution policy instance — either an\n * exact-match policy's `.key`, or a wildcard policy's `.keyFor(suffix)` (see\n * `defineWorkflowExecutionPolicies`). Branded so an arbitrary string that\n * wasn't derived from a declared policy can't be passed as `executionPolicyKey`.\n */\nexport type ExecutionPolicyKey = string & { readonly [executionPolicyKeyBrand]: never };\n\n/** Options for {@link execJobFunction}. */\nexport interface ExecJobFunctionOptions {\n /**\n * Execution policy key matched by the platform against the policies\n * declared with `defineWorkflowExecutionPolicies` in `tailor.config.ts`.\n */\n executionPolicyKey?: ExecutionPolicyKey;\n}\n\n/**\n * Platform API surface for `tailor.workflow`. Describes the shape the platform\n * runtime injects on `globalThis.tailor.workflow`.\n */\nexport interface PlatformWorkflowAPI {\n /**\n * Starts a workflow and returns its execution ID.\n * @param workflowName - Workflow name as defined in tailor.config\n * @param args - Arguments forwarded to the workflow's main job\n * @param options - Optional start options (e.g. `authInvoker`)\n * @returns The execution ID of the started workflow\n */\n startWorkflow(workflowName: string, args?: any, options?: StartWorkflowOptions): Promise<string>;\n\n /**\n * Resumes a failed or pending-retry workflow execution and returns its execution ID.\n * @param executionId - The execution to resume\n * @returns The execution ID of the resumed workflow\n */\n resumeWorkflowExecution(executionId: string): Promise<string>;\n\n /**\n * Executes a job function and returns its result via durable suspend/replay.\n *\n * Canonical name under the platform verb convention: `Exec*` blocks and\n * returns the job's result, while `Start*` returns only an execution ID.\n * @param jobName - Job name as defined in the workflow\n * @param args - Arguments forwarded to the job\n * @param options - Optional execution options (e.g. `executionPolicyKey`)\n * @returns The job's return value\n */\n execJobFunction(jobName: string, args?: any, options?: ExecJobFunctionOptions): any;\n\n /**\n * Suspends the current workflow execution and waits for an external signal to resume.\n * @param key - Wait point key\n * @param payload - Optional payload to record with the wait point\n * @returns The payload supplied by the corresponding `resolve` call\n */\n wait(key: string, payload?: any): any;\n\n /**\n * Resolves a waiting workflow execution, causing it to resume.\n * @param executionId - The execution to resume\n * @param key - Wait point key to resolve\n * @param callback - Callback receiving the wait payload; its return value is forwarded to `wait`\n * @returns A promise that resolves once the resolve has been recorded\n */\n resolve(executionId: string, key: string, callback: (waitPayload: any) => any): Promise<void>;\n}\n\nconst api = (): PlatformWorkflowAPI =>\n (globalThis as unknown as { tailor: { workflow: PlatformWorkflowAPI } }).tailor.workflow;\n\n/**\n * See {@link PlatformWorkflowAPI.startWorkflow}.\n * @param args - Forwarded to {@link PlatformWorkflowAPI.startWorkflow}\n * @returns The execution ID of the started workflow\n */\nconst startWorkflow: PlatformWorkflowAPI[\"startWorkflow\"] = (...args) =>\n api().startWorkflow(...args);\n\n/**\n * See {@link PlatformWorkflowAPI.resumeWorkflowExecution}.\n * @param args - Forwarded to {@link PlatformWorkflowAPI.resumeWorkflowExecution}\n * @returns The execution ID of the resumed workflow\n */\nconst resumeWorkflowExecution: PlatformWorkflowAPI[\"resumeWorkflowExecution\"] = (...args) =>\n api().resumeWorkflowExecution(...args);\n\n/**\n * See {@link PlatformWorkflowAPI.execJobFunction}.\n * @param args - Forwarded to {@link PlatformWorkflowAPI.execJobFunction}\n * @returns The job's return value\n */\nconst execJobFunction: PlatformWorkflowAPI[\"execJobFunction\"] = (...args) =>\n api().execJobFunction(...args);\n\nconst wait: PlatformWorkflowAPI[\"wait\"] = (...args) => api().wait(...args);\n\nconst resolve: PlatformWorkflowAPI[\"resolve\"] = (...args) => api().resolve(...args);\n\n/** Runtime wrapper namespace for `tailor.workflow`. */\nexport const workflow = {\n startWorkflow,\n resumeWorkflowExecution,\n execJobFunction,\n wait,\n resolve,\n} as const satisfies PlatformWorkflowAPI;\n"],"mappings":";AA0GA,MAAM,YACH,WAAwE,OAAO;;;;;;AAOlF,MAAM,iBAAuD,GAAG,SAC9D,IAAI,CAAC,CAAC,cAAc,GAAG,IAAI;;;;;;AAO7B,MAAM,2BAA2E,GAAG,SAClF,IAAI,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;;;;AAOvC,MAAM,mBAA2D,GAAG,SAClE,IAAI,CAAC,CAAC,gBAAgB,GAAG,IAAI;AAE/B,MAAM,QAAqC,GAAG,SAAS,IAAI,CAAC,CAAC,KAAK,GAAG,IAAI;AAEzE,MAAM,WAA2C,GAAG,SAAS,IAAI,CAAC,CAAC,QAAQ,GAAG,IAAI;;AAGlF,MAAa,WAAW;CACtB;CACA;CACA;CACA;CACA;AACF"}
1
+ {"version":3,"file":"workflow-Bamae_Yc.mjs","names":[],"sources":["../src/runtime/workflow.ts"],"sourcesContent":["/**\n * Workflow utilities.\n *\n * Thin typed wrapper around the platform-provided `tailor.workflow` runtime API.\n * At runtime this delegates to `globalThis.tailor.workflow`. Use `mockWorkflow`\n * from `@tailor-platform/sdk/vitest` to mock these calls in unit tests.\n *\n * `execJobFunction` blocks until the job finishes and returns its result, while\n * `startWorkflow` returns only an execution ID.\n * @example\n * import { workflow } from \"@tailor-platform/sdk/runtime\";\n *\n * const executionId = await workflow.startWorkflow(\"myWorkflow\", { data: \"value\" });\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Specifies the machine user that should be used to execute the workflow.\n * This allows workflows to run with specific authentication context.\n */\nexport interface Invoker {\n /** The namespace where the machine user is defined */\n namespace: string;\n /** The name of the machine user to use for workflow execution */\n machineUserName: string;\n}\n\n/** Options for {@link startWorkflow}. */\nexport interface StartWorkflowOptions {\n /** Optional authentication invoker to specify which machine user should execute the workflow */\n authInvoker?: Invoker;\n}\n\ndeclare const executionPolicyKeyBrand: unique symbol;\n\n/**\n * A concrete runtime key produced by an execution policy instance — either an\n * exact-match policy's `.key`, or a wildcard policy's `.keyFor(suffix)` (see\n * `defineWorkflowExecutionPolicies`). Branded so an arbitrary string that\n * wasn't derived from a declared policy can't be passed as `executionPolicyKey`.\n */\nexport type ExecutionPolicyKey = string & { readonly [executionPolicyKeyBrand]: never };\n\n/** Options for {@link execJobFunction}. */\nexport interface ExecJobFunctionOptions {\n /**\n * Execution policy key matched by the platform against the policies\n * declared with `defineWorkflowExecutionPolicies` in `tailor.config.ts`.\n */\n executionPolicyKey?: ExecutionPolicyKey;\n}\n\n/**\n * Platform API surface for `tailor.workflow`. Describes the shape the platform\n * runtime injects on `globalThis.tailor.workflow`.\n */\nexport interface PlatformWorkflowAPI {\n /**\n * Starts a workflow and returns its execution ID.\n * @param workflowName - Workflow name as defined in tailor.config\n * @param args - Arguments forwarded to the workflow's main job\n * @param options - Optional start options (e.g. `authInvoker`)\n * @returns The execution ID of the started workflow\n */\n startWorkflow(workflowName: string, args?: any, options?: StartWorkflowOptions): Promise<string>;\n\n /**\n * Resumes a failed or pending-retry workflow execution and returns its execution ID.\n * @param executionId - The execution to resume\n * @returns The execution ID of the resumed workflow\n */\n resumeWorkflowExecution(executionId: string): Promise<string>;\n\n /**\n * Executes a job function and returns its result via durable suspend/replay.\n * @param jobName - Job name as defined in the workflow\n * @param args - Arguments forwarded to the job\n * @param options - Optional execution options (e.g. `executionPolicyKey`)\n * @returns The job's return value\n */\n execJobFunction(jobName: string, args?: any, options?: ExecJobFunctionOptions): any;\n\n /**\n * Suspends the current workflow execution and waits for an external signal to resume.\n * @param key - Wait point key\n * @param payload - Optional payload to record with the wait point\n * @returns The payload supplied by the corresponding `resolve` call\n */\n wait(key: string, payload?: any): any;\n\n /**\n * Resolves a waiting workflow execution, causing it to resume.\n * @param executionId - The execution to resume\n * @param key - Wait point key to resolve\n * @param callback - Callback receiving the wait payload; its return value is forwarded to `wait`\n * @returns A promise that resolves once the resolve has been recorded\n */\n resolve(executionId: string, key: string, callback: (waitPayload: any) => any): Promise<void>;\n}\n\nconst api = (): PlatformWorkflowAPI =>\n (globalThis as unknown as { tailor: { workflow: PlatformWorkflowAPI } }).tailor.workflow;\n\n/**\n * See {@link PlatformWorkflowAPI.startWorkflow}.\n * @param args - Forwarded to {@link PlatformWorkflowAPI.startWorkflow}\n * @returns The execution ID of the started workflow\n */\nconst startWorkflow: PlatformWorkflowAPI[\"startWorkflow\"] = (...args) =>\n api().startWorkflow(...args);\n\n/**\n * See {@link PlatformWorkflowAPI.resumeWorkflowExecution}.\n * @param args - Forwarded to {@link PlatformWorkflowAPI.resumeWorkflowExecution}\n * @returns The execution ID of the resumed workflow\n */\nconst resumeWorkflowExecution: PlatformWorkflowAPI[\"resumeWorkflowExecution\"] = (...args) =>\n api().resumeWorkflowExecution(...args);\n\n/**\n * See {@link PlatformWorkflowAPI.execJobFunction}.\n * @param args - Forwarded to {@link PlatformWorkflowAPI.execJobFunction}\n * @returns The job's return value\n */\nconst execJobFunction: PlatformWorkflowAPI[\"execJobFunction\"] = (...args) =>\n api().execJobFunction(...args);\n\nconst wait: PlatformWorkflowAPI[\"wait\"] = (...args) => api().wait(...args);\n\nconst resolve: PlatformWorkflowAPI[\"resolve\"] = (...args) => api().resolve(...args);\n\n/** Runtime wrapper namespace for `tailor.workflow`. */\nexport const workflow = {\n startWorkflow,\n resumeWorkflowExecution,\n execJobFunction,\n wait,\n resolve,\n} as const satisfies PlatformWorkflowAPI;\n"],"mappings":";AAqGA,MAAM,YACH,WAAwE,OAAO;;;;;;AAOlF,MAAM,iBAAuD,GAAG,SAC9D,IAAI,CAAC,CAAC,cAAc,GAAG,IAAI;;;;;;AAO7B,MAAM,2BAA2E,GAAG,SAClF,IAAI,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;;;;AAOvC,MAAM,mBAA2D,GAAG,SAClE,IAAI,CAAC,CAAC,gBAAgB,GAAG,IAAI;AAE/B,MAAM,QAAqC,GAAG,SAAS,IAAI,CAAC,CAAC,KAAK,GAAG,IAAI;AAEzE,MAAM,WAA2C,GAAG,SAAS,IAAI,CAAC,CAAC,QAAQ,GAAG,IAAI;;AAGlF,MAAa,WAAW;CACtB;CACA;CACA;CACA;CACA;AACF"}
@@ -159,6 +159,14 @@ const GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatusSchema = /
159
159
  * @generated from enum tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus
160
160
  */
161
161
  const GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus = /*@__PURE__*/ tsEnum(GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatusSchema);
162
+ /**
163
+ * Describes the enum tailor.v1.CloneOperationStatus.
164
+ */
165
+ const CloneOperationStatusSchema = /*@__PURE__*/ enumDesc(file_tailor_v1_application, 0);
166
+ /**
167
+ * @generated from enum tailor.v1.CloneOperationStatus
168
+ */
169
+ const CloneOperationStatus = /*@__PURE__*/ tsEnum(CloneOperationStatusSchema);
162
170
 
163
171
  //#endregion
164
172
  //#region ../tailor-proto/src/tailor/v1/secret_manager_resource_pb.js
@@ -848,5 +856,5 @@ const WorkspacePlatformUserRoleSchema = /*@__PURE__*/ enumDesc(file_tailor_v1_wo
848
856
  const WorkspacePlatformUserRole = /*@__PURE__*/ tsEnum(WorkspacePlatformUserRoleSchema);
849
857
 
850
858
  //#endregion
851
- export { CreateAuthHookRequestSchema as $, file_tailor_v1_secret_manager as A, PATScope as At, IdPLang as B, Subgraph_ServiceType as Bt, CreateStaticWebsiteRequestSchema as C, AuthInvokerSchema as Ct, CreateSecretManagerSecretRequestSchema as D, AuthSCIMAttribute_Type as Dt, CustomDomainStatus as E, AuthSCIMAttribute_Mutability as Et, file_tailor_v1_pipeline as F, CreateApplicationRequestSchema as Ft, file_tailor_v1_function_resource as G, file_tailor_fieldmask_v1_option as Gt, IdPPermissionPermit as H, UpdateAIGatewayRequestSchema as Ht, PipelineResolver_OperationType as I, GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus as It, file_tailor_v1_executor as J, FilterSchema as Jt, CreateExecutorExecutorRequestSchema as K, ConditionSchema as Kt, CreateIdPServiceRequestSchema as L, UpdateApplicationRequestSchema as Lt, CreatePipelineServiceRequestSchema as M, UserProfileProviderConfig_UserProfileProviderType as Mt, UpdatePipelineResolverRequestSchema as N, file_tailor_v1_auth_resource as Nt, CreateSecretManagerVaultRequestSchema as O, AuthSCIMAttribute_Uniqueness as Ot, UpdatePipelineServiceRequestSchema as P, file_tailor_v1_secret_manager_resource as Pt, CreateAuthConnectionRequestSchema as Q, UpdateIdPServiceRequestSchema as R, file_tailor_v1_application as Rt, AddCustomDomainRequestSchema as S, AuthIDPConfig_AuthType as St, file_tailor_v1_staticwebsite as T, AuthOAuth2Client_GrantType as Tt, FunctionExecution_Status as U, file_tailor_v1_aigateway as Ut, IdPPermissionOperator as V, CreateAIGatewayRequestSchema as Vt, FunctionExecution_Type as W, file_google_api_field_behavior as Wt, ExecutorTargetType as X, file_tailor_v1_resource as Xt, ExecutorJobStatus as Y, PageDirection as Yt, ExecutorTriggerType as Z, file_buf_validate_validate as Zt, TailorDBGQLPermission_Permit as _, UpdateUserProfileConfigRequestSchema as _t, CreateWorkflowRequestSchema as a, CreateAuthServiceRequestSchema as at, TailorDBType_Permission_Permit as b, AuthConnection_Type as bt, file_tailor_v1_workflow as c, UpdateAuthConnectionRequestSchema as ct, CreateTailorDBServiceRequestSchema as d, UpdateAuthMachineUserRequestSchema as dt, CreateAuthIDPConfigRequestSchema as et, CreateTailorDBTypeRequestSchema as f, UpdateAuthOAuth2ClientRequestSchema as ft, TailorDBGQLPermission_Operator as g, UpdateTenantConfigRequestSchema as gt, TailorDBGQLPermission_Action as h, UpdateAuthServiceRequestSchema as ht, CreateWorkflowJobFunctionRequestSchema as i, CreateAuthSCIMResourceRequestSchema as it, CreatePipelineResolverRequestSchema as j, TenantProviderConfig_TenantProviderType as jt, UpdateSecretManagerSecretRequestSchema as k, AuthSCIMConfig_AuthorizationType as kt, WorkflowExecution_Status as l, UpdateAuthHookRequestSchema as lt, file_tailor_v1_tailordb as m, UpdateAuthSCIMResourceRequestSchema as mt, file_tailor_v1_workspace_resource as n, CreateAuthOAuth2ClientRequestSchema as nt, UpdateWorkflowJobFunctionExecutionPolicyRequestSchema as o, CreateTenantConfigRequestSchema as ot, UpdateTailorDBTypeRequestSchema as p, UpdateAuthSCIMConfigRequestSchema as pt, UpdateExecutorExecutorRequestSchema as q, Condition_Operator as qt, CreateWorkflowJobFunctionExecutionPolicyRequestSchema as r, CreateAuthSCIMConfigRequestSchema as rt, UpdateWorkflowRequestSchema as s, CreateUserProfileConfigRequestSchema as st, WorkspacePlatformUserRole as t, CreateAuthMachineUserRequestSchema as tt, WorkflowJobExecution_Status as u, UpdateAuthIDPConfigRequestSchema as ut, TailorDBTypeSchema as v, file_tailor_v1_auth as vt, UpdateStaticWebsiteRequestSchema as w, AuthOAuth2Client_ClientType as wt, TailorDBType_PermitAction as x, AuthHookPoint as xt, TailorDBType_Permission_Operator as y, AuthConnection_Status as yt, file_tailor_v1_idp as z, ApplicationSchemaUpdateAttemptStatus as zt };
852
- //# sourceMappingURL=workspace_resource_pb-DXnO2AT-.mjs.map
859
+ export { CreateAuthHookRequestSchema as $, file_tailor_v1_secret_manager as A, PATScope as At, IdPLang as B, ApplicationSchemaUpdateAttemptStatus as Bt, CreateStaticWebsiteRequestSchema as C, AuthInvokerSchema as Ct, CreateSecretManagerSecretRequestSchema as D, AuthSCIMAttribute_Type as Dt, CustomDomainStatus as E, AuthSCIMAttribute_Mutability as Et, file_tailor_v1_pipeline as F, CloneOperationStatus as Ft, file_tailor_v1_function_resource as G, file_google_api_field_behavior as Gt, IdPPermissionPermit as H, CreateAIGatewayRequestSchema as Ht, PipelineResolver_OperationType as I, CreateApplicationRequestSchema as It, file_tailor_v1_executor as J, Condition_Operator as Jt, CreateExecutorExecutorRequestSchema as K, file_tailor_fieldmask_v1_option as Kt, CreateIdPServiceRequestSchema as L, GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus as Lt, CreatePipelineServiceRequestSchema as M, UserProfileProviderConfig_UserProfileProviderType as Mt, UpdatePipelineResolverRequestSchema as N, file_tailor_v1_auth_resource as Nt, CreateSecretManagerVaultRequestSchema as O, AuthSCIMAttribute_Uniqueness as Ot, UpdatePipelineServiceRequestSchema as P, file_tailor_v1_secret_manager_resource as Pt, CreateAuthConnectionRequestSchema as Q, file_buf_validate_validate as Qt, UpdateIdPServiceRequestSchema as R, UpdateApplicationRequestSchema as Rt, AddCustomDomainRequestSchema as S, AuthIDPConfig_AuthType as St, file_tailor_v1_staticwebsite as T, AuthOAuth2Client_GrantType as Tt, FunctionExecution_Status as U, UpdateAIGatewayRequestSchema as Ut, IdPPermissionOperator as V, Subgraph_ServiceType as Vt, FunctionExecution_Type as W, file_tailor_v1_aigateway as Wt, ExecutorTargetType as X, PageDirection as Xt, ExecutorJobStatus as Y, FilterSchema as Yt, ExecutorTriggerType as Z, file_tailor_v1_resource as Zt, TailorDBGQLPermission_Permit as _, UpdateUserProfileConfigRequestSchema as _t, CreateWorkflowRequestSchema as a, CreateAuthServiceRequestSchema as at, TailorDBType_Permission_Permit as b, AuthConnection_Type as bt, file_tailor_v1_workflow as c, UpdateAuthConnectionRequestSchema as ct, CreateTailorDBServiceRequestSchema as d, UpdateAuthMachineUserRequestSchema as dt, CreateAuthIDPConfigRequestSchema as et, CreateTailorDBTypeRequestSchema as f, UpdateAuthOAuth2ClientRequestSchema as ft, TailorDBGQLPermission_Operator as g, UpdateTenantConfigRequestSchema as gt, TailorDBGQLPermission_Action as h, UpdateAuthServiceRequestSchema as ht, CreateWorkflowJobFunctionRequestSchema as i, CreateAuthSCIMResourceRequestSchema as it, CreatePipelineResolverRequestSchema as j, TenantProviderConfig_TenantProviderType as jt, UpdateSecretManagerSecretRequestSchema as k, AuthSCIMConfig_AuthorizationType as kt, WorkflowExecution_Status as l, UpdateAuthHookRequestSchema as lt, file_tailor_v1_tailordb as m, UpdateAuthSCIMResourceRequestSchema as mt, file_tailor_v1_workspace_resource as n, CreateAuthOAuth2ClientRequestSchema as nt, UpdateWorkflowJobFunctionExecutionPolicyRequestSchema as o, CreateTenantConfigRequestSchema as ot, UpdateTailorDBTypeRequestSchema as p, UpdateAuthSCIMConfigRequestSchema as pt, UpdateExecutorExecutorRequestSchema as q, ConditionSchema as qt, CreateWorkflowJobFunctionExecutionPolicyRequestSchema as r, CreateAuthSCIMConfigRequestSchema as rt, UpdateWorkflowRequestSchema as s, CreateUserProfileConfigRequestSchema as st, WorkspacePlatformUserRole as t, CreateAuthMachineUserRequestSchema as tt, WorkflowJobExecution_Status as u, UpdateAuthIDPConfigRequestSchema as ut, TailorDBTypeSchema as v, file_tailor_v1_auth as vt, UpdateStaticWebsiteRequestSchema as w, AuthOAuth2Client_ClientType as wt, TailorDBType_PermitAction as x, AuthHookPoint as xt, TailorDBType_Permission_Operator as y, AuthConnection_Status as yt, file_tailor_v1_idp as z, file_tailor_v1_application as zt };
860
+ //# sourceMappingURL=workspace_resource_pb-HNIL_Vfj.mjs.map