@tailor-platform/sdk 1.9.0 → 1.9.2

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.
@@ -1,6 +1,5 @@
1
1
  /// <reference path="./../user-defined.d.ts" />
2
- import { E as TailorDBType, F as IdProviderConfig, L as OAuth2ClientInput, gt as Resolver, p as Executor, r as AppConfig, t as Generator } from "../index-DFEsnnHR.mjs";
3
- import "politty";
2
+ import { E as TailorDBType, F as IdProviderConfig, L as OAuth2ClientInput, gt as Resolver, p as Executor, r as AppConfig, t as Generator } from "../index-x4xcWJm1.mjs";
4
3
  import { z } from "zod";
5
4
  import { OAuth2Client } from "@badgateway/oauth2-client";
6
5
  import "@bufbuild/protobuf/wkt";
@@ -239,6 +238,11 @@ interface WorkspaceInfo {
239
238
  createdAt: Date | null;
240
239
  updatedAt: Date | null;
241
240
  }
241
+ interface WorkspaceDetails extends WorkspaceInfo {
242
+ deleteProtection: boolean;
243
+ organizationId: string;
244
+ folderId: string;
245
+ }
242
246
  //#endregion
243
247
  //#region src/cli/workspace/create.d.ts
244
248
  /**
@@ -284,6 +288,149 @@ type DeleteWorkspaceOptions = z.input<typeof deleteWorkspaceOptionsSchema>;
284
288
  */
285
289
  declare function deleteWorkspace(options: DeleteWorkspaceOptions): Promise<void>;
286
290
  //#endregion
291
+ //#region src/cli/workspace/get.d.ts
292
+ declare const getWorkspaceOptionsSchema: z.ZodObject<{
293
+ workspaceId: z.ZodOptional<z.ZodUUID>;
294
+ profile: z.ZodOptional<z.ZodString>;
295
+ }, z.core.$strip>;
296
+ type GetWorkspaceOptions = z.input<typeof getWorkspaceOptionsSchema>;
297
+ /**
298
+ * Get detailed information about a workspace.
299
+ * @param options - Workspace get options
300
+ * @returns Workspace details
301
+ */
302
+ declare function getWorkspace(options: GetWorkspaceOptions): Promise<WorkspaceDetails>;
303
+ //#endregion
304
+ //#region src/cli/workspace/restore.d.ts
305
+ declare const restoreWorkspaceOptionsSchema: z.ZodObject<{
306
+ workspaceId: z.ZodUUID;
307
+ }, z.core.$strip>;
308
+ type RestoreWorkspaceOptions = z.input<typeof restoreWorkspaceOptionsSchema>;
309
+ /**
310
+ * Restore a deleted workspace by ID.
311
+ * @param options - Workspace restore options
312
+ * @returns Promise that resolves when restoration completes
313
+ */
314
+ declare function restoreWorkspace(options: RestoreWorkspaceOptions): Promise<void>;
315
+ //#endregion
316
+ //#region src/cli/workspace/user/transform.d.ts
317
+ interface UserInfo {
318
+ userId: string;
319
+ email: string;
320
+ role: string;
321
+ }
322
+ //#endregion
323
+ //#region src/cli/workspace/user/list.d.ts
324
+ declare const listUsersOptionsSchema: z.ZodObject<{
325
+ workspaceId: z.ZodOptional<z.ZodUUID>;
326
+ profile: z.ZodOptional<z.ZodString>;
327
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
328
+ }, z.core.$strip>;
329
+ type ListUsersOptions = z.input<typeof listUsersOptionsSchema>;
330
+ /**
331
+ * List users in a workspace with an optional limit.
332
+ * @param options - User listing options
333
+ * @returns List of workspace users
334
+ */
335
+ declare function listUsers(options: ListUsersOptions): Promise<UserInfo[]>;
336
+ //#endregion
337
+ //#region src/cli/workspace/user/invite.d.ts
338
+ declare const inviteUserOptionsSchema: z.ZodObject<{
339
+ workspaceId: z.ZodOptional<z.ZodUUID>;
340
+ profile: z.ZodOptional<z.ZodString>;
341
+ email: z.ZodEmail;
342
+ role: z.ZodEnum<{
343
+ admin: "admin";
344
+ editor: "editor";
345
+ viewer: "viewer";
346
+ }>;
347
+ }, z.core.$strip>;
348
+ type InviteUserOptions = z.input<typeof inviteUserOptionsSchema>;
349
+ /**
350
+ * Invite a user to a workspace.
351
+ * @param options - User invite options
352
+ * @returns Promise that resolves when invitation is sent
353
+ */
354
+ declare function inviteUser(options: InviteUserOptions): Promise<void>;
355
+ //#endregion
356
+ //#region src/cli/workspace/user/update.d.ts
357
+ declare const updateUserOptionsSchema: z.ZodObject<{
358
+ workspaceId: z.ZodOptional<z.ZodUUID>;
359
+ profile: z.ZodOptional<z.ZodString>;
360
+ email: z.ZodString;
361
+ role: z.ZodEnum<{
362
+ admin: "admin";
363
+ editor: "editor";
364
+ viewer: "viewer";
365
+ }>;
366
+ }, z.core.$strip>;
367
+ type UpdateUserOptions = z.input<typeof updateUserOptionsSchema>;
368
+ /**
369
+ * Update a user's role in a workspace.
370
+ * @param options - User update options
371
+ * @returns Promise that resolves when update completes
372
+ */
373
+ declare function updateUser(options: UpdateUserOptions): Promise<void>;
374
+ //#endregion
375
+ //#region src/cli/workspace/user/remove.d.ts
376
+ declare const removeUserOptionsSchema: z.ZodObject<{
377
+ workspaceId: z.ZodOptional<z.ZodUUID>;
378
+ profile: z.ZodOptional<z.ZodString>;
379
+ email: z.ZodString;
380
+ }, z.core.$strip>;
381
+ type RemoveUserOptions = z.input<typeof removeUserOptionsSchema>;
382
+ /**
383
+ * Remove a user from a workspace.
384
+ * @param options - User remove options
385
+ * @returns Promise that resolves when removal completes
386
+ */
387
+ declare function removeUser(options: RemoveUserOptions): Promise<void>;
388
+ //#endregion
389
+ //#region src/cli/workspace/app/transform.d.ts
390
+ interface AppInfo {
391
+ name: string;
392
+ domain: string;
393
+ authNamespace: string;
394
+ createdAt: Date | null;
395
+ updatedAt: Date | null;
396
+ }
397
+ interface AppHealthInfo {
398
+ name: string;
399
+ status: string;
400
+ currentServingSchemaUpdatedAt: Date | null;
401
+ lastAttemptStatus: string;
402
+ lastAttemptAt: Date | null;
403
+ lastAttemptError: string;
404
+ }
405
+ //#endregion
406
+ //#region src/cli/workspace/app/list.d.ts
407
+ declare const listAppsOptionsSchema: z.ZodObject<{
408
+ workspaceId: z.ZodOptional<z.ZodUUID>;
409
+ profile: z.ZodOptional<z.ZodString>;
410
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
411
+ }, z.core.$strip>;
412
+ type ListAppsOptions = z.input<typeof listAppsOptionsSchema>;
413
+ /**
414
+ * List applications in a workspace with an optional limit.
415
+ * @param options - Application listing options
416
+ * @returns List of applications
417
+ */
418
+ declare function listApps(options: ListAppsOptions): Promise<AppInfo[]>;
419
+ //#endregion
420
+ //#region src/cli/workspace/app/health.d.ts
421
+ declare const healthOptionsSchema: z.ZodObject<{
422
+ workspaceId: z.ZodOptional<z.ZodUUID>;
423
+ profile: z.ZodOptional<z.ZodString>;
424
+ name: z.ZodString;
425
+ }, z.core.$strip>;
426
+ type HealthOptions = z.input<typeof healthOptionsSchema>;
427
+ /**
428
+ * Get application schema health status.
429
+ * @param options - Health check options
430
+ * @returns Application health information
431
+ */
432
+ declare function getAppHealth(options: HealthOptions): Promise<AppHealthInfo>;
433
+ //#endregion
287
434
  //#region src/cli/machineuser/list.d.ts
288
435
  interface ListMachineUsersOptions {
289
436
  workspaceId?: string;
@@ -936,5 +1083,5 @@ interface NamespaceWithMigrations {
936
1083
  */
937
1084
  declare function getNamespacesWithMigrations(config: AppConfig, configDir: string): NamespaceWithMigrations[];
938
1085
  //#endregion
939
- export { type AggregateArgs, type ApiCallOptions, type ApiCallResult, type ApplicationInfo, type ApplyOptions, type BreakingChangeInfo, type CodeGenerator, type CreateWorkspaceOptions, DB_TYPES_FILE_NAME, DIFF_FILE_NAME, type DeleteWorkspaceOptions, type DependencyKind, type Executor, type ExecutorGenerator, type ExecutorInput, type ExecutorJobAttemptInfo, type ExecutorJobDetailInfo, type ExecutorJobInfo, type ExecutorJobListInfo, type FullCodeGenerator, type FullInput, type GenerateOptions, type GeneratorResult, type GetExecutorJobOptions, type GetMachineUserTokenOptions, type GetOAuth2ClientOptions, type GetWorkflowExecutionOptions, type GetWorkflowExecutionResult, type GetWorkflowOptions, INITIAL_SCHEMA_NUMBER, type ListExecutorJobsOptions, type ListMachineUsersOptions, type ListOAuth2ClientsOptions, type ListWorkflowExecutionsOptions, type ListWorkflowsOptions, type ListWorkspacesOptions, type LoadedConfig, MIGRATE_FILE_NAME, MIGRATION_LABEL_KEY, type MachineUserInfo, type MachineUserTokenInfo, type GenerateOptions$1 as MigrateGenerateOptions, type MigrationDiff, type MigrationInfo, type NamespaceWithMigrations, type OAuth2ClientCredentials, type OAuth2ClientInfo, type RemoveOptions, type Resolver, type ResolverGenerator, type ResolverInput, type ResumeWorkflowOptions, type ResumeWorkflowResultWithWait, SCHEMA_FILE_NAME, type SchemaSnapshot, type ShowOptions, type SnapshotFieldConfig, type SnapshotType, type StartWorkflowOptions, type StartWorkflowResultWithWait, type TailorDBGenerator, type TailorDBInput, type TailorDBResolverGenerator, type TailorDBType, type TriggerExecutorOptions, type TriggerExecutorResult, type TruncateOptions, type WaitOptions, type WatchExecutorJobOptions, type WatchExecutorJobResult, type WorkflowExecutionInfo, type WorkflowInfo, type WorkflowJobExecutionInfo, type WorkflowListInfo, type WorkspaceInfo, apiCall, apply, compareLocalTypesWithSnapshot, compareSnapshots, createSnapshotFromLocalTypes, createWorkspace, deleteWorkspace, formatDiffSummary, formatMigrationDiff, generate, generateUserTypes, getExecutorJob, getLatestMigrationNumber, getMachineUserToken, getMigrationDirPath, getMigrationFilePath, getMigrationFiles, getNamespacesWithMigrations, getNextMigrationNumber, getOAuth2Client, getWorkflow, getWorkflowExecution, hasChanges, listExecutorJobs, listMachineUsers, listOAuth2Clients, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, generate$1 as migrateGenerate, reconstructSnapshotFromMigrations, remove, resumeWorkflow, show, startWorkflow, triggerExecutor, truncate, watchExecutorJob };
1086
+ export { type AggregateArgs, type ApiCallOptions, type ApiCallResult, type AppHealthInfo, type AppInfo, type ApplicationInfo, type ApplyOptions, type BreakingChangeInfo, type CodeGenerator, type CreateWorkspaceOptions, DB_TYPES_FILE_NAME, DIFF_FILE_NAME, type DeleteWorkspaceOptions, type DependencyKind, type Executor, type ExecutorGenerator, type ExecutorInput, type ExecutorJobAttemptInfo, type ExecutorJobDetailInfo, type ExecutorJobInfo, type ExecutorJobListInfo, type FullCodeGenerator, type FullInput, type GenerateOptions, type GeneratorResult, type HealthOptions as GetAppHealthOptions, type GetExecutorJobOptions, type GetMachineUserTokenOptions, type GetOAuth2ClientOptions, type GetWorkflowExecutionOptions, type GetWorkflowExecutionResult, type GetWorkflowOptions, type GetWorkspaceOptions, INITIAL_SCHEMA_NUMBER, type InviteUserOptions, type ListAppsOptions, type ListExecutorJobsOptions, type ListMachineUsersOptions, type ListOAuth2ClientsOptions, type ListUsersOptions, type ListWorkflowExecutionsOptions, type ListWorkflowsOptions, type ListWorkspacesOptions, type LoadedConfig, MIGRATE_FILE_NAME, MIGRATION_LABEL_KEY, type MachineUserInfo, type MachineUserTokenInfo, type GenerateOptions$1 as MigrateGenerateOptions, type MigrationDiff, type MigrationInfo, type NamespaceWithMigrations, type OAuth2ClientCredentials, type OAuth2ClientInfo, type RemoveOptions, type RemoveUserOptions, type Resolver, type ResolverGenerator, type ResolverInput, type RestoreWorkspaceOptions, type ResumeWorkflowOptions, type ResumeWorkflowResultWithWait, SCHEMA_FILE_NAME, type SchemaSnapshot, type ShowOptions, type SnapshotFieldConfig, type SnapshotType, type StartWorkflowOptions, type StartWorkflowResultWithWait, type TailorDBGenerator, type TailorDBInput, type TailorDBResolverGenerator, type TailorDBType, type TriggerExecutorOptions, type TriggerExecutorResult, type TruncateOptions, type UpdateUserOptions, type UserInfo, type WaitOptions, type WatchExecutorJobOptions, type WatchExecutorJobResult, type WorkflowExecutionInfo, type WorkflowInfo, type WorkflowJobExecutionInfo, type WorkflowListInfo, type WorkspaceDetails, type WorkspaceInfo, apiCall, apply, compareLocalTypesWithSnapshot, compareSnapshots, createSnapshotFromLocalTypes, createWorkspace, deleteWorkspace, formatDiffSummary, formatMigrationDiff, generate, generateUserTypes, getAppHealth, getExecutorJob, getLatestMigrationNumber, getMachineUserToken, getMigrationDirPath, getMigrationFilePath, getMigrationFiles, getNamespacesWithMigrations, getNextMigrationNumber, getOAuth2Client, getWorkflow, getWorkflowExecution, getWorkspace, hasChanges, inviteUser, listApps, listExecutorJobs, listMachineUsers, listOAuth2Clients, listUsers, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, generate$1 as migrateGenerate, reconstructSnapshotFromMigrations, remove, removeUser, restoreWorkspace, resumeWorkflow, show, startWorkflow, triggerExecutor, truncate, updateUser, watchExecutorJob };
940
1087
  //# sourceMappingURL=lib.d.mts.map
package/dist/cli/lib.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "../chunk-CIV_ash9.mjs";
2
- import { $ as compareSnapshots, C as getOAuth2Client, D as listMachineUsers, F as watchExecutorJob, G as MIGRATION_LABEL_KEY, H as listWorkflowExecutions, J as DIFF_FILE_NAME, L as startWorkflow, M as getExecutorJob, O as generate, P as listExecutorJobs, Q as compareLocalTypesWithSnapshot, U as apply, V as getWorkflowExecution, X as MIGRATE_FILE_NAME, Y as INITIAL_SCHEMA_NUMBER, Z as SCHEMA_FILE_NAME, _t as apiCall, at as getMigrationFiles, bt as loadAccessToken, c as resumeWorkflow, d as truncate, dt as formatMigrationDiff, et as createSnapshotFromLocalTypes, ft as hasChanges, g as show, gt as loadConfig, ht as generateUserTypes, i as deleteWorkspace, it as getMigrationFilePath, j as triggerExecutor, lt as reconstructSnapshotFromMigrations, n as listWorkspaces, nt as getLatestMigrationNumber, o as createWorkspace, ot as getNextMigrationNumber, p as generate$1, pt as getNamespacesWithMigrations, q as DB_TYPES_FILE_NAME, rt as getMigrationDirPath, u as listWorkflows, ut as formatDiffSummary, v as remove, w as getMachineUserToken, x as listOAuth2Clients, xt as loadWorkspaceId, z as getWorkflow } from "../list-CYsYjREc.mjs";
2
+ import { $ as startWorkflow, B as getMachineUserToken, D as truncate, Dt as formatMigrationDiff, E as listWorkflows, Et as formatDiffSummary, It as loadAccessToken, J as getExecutorJob, L as listOAuth2Clients, Lt as loadWorkspaceId, M as show, Mt as loadConfig, Nt as apiCall, Ot as hasChanges, P as remove, St as getNextMigrationNumber, Tt as reconstructSnapshotFromMigrations, U as listMachineUsers, W as generate, X as listExecutorJobs, Z as watchExecutorJob, at as apply, bt as getMigrationFilePath, c as inviteUser, dt as INITIAL_SCHEMA_NUMBER, f as listWorkspaces, ft as MIGRATE_FILE_NAME, g as deleteWorkspace, gt as createSnapshotFromLocalTypes, ht as compareSnapshots, i as removeUser, it as listWorkflowExecutions, jt as generateUserTypes, k as generate$1, kt as getNamespacesWithMigrations, lt as DB_TYPES_FILE_NAME, m as getWorkspace, mt as compareLocalTypesWithSnapshot, n as updateUser, o as listUsers, pt as SCHEMA_FILE_NAME, q as triggerExecutor, rt as getWorkflowExecution, st as MIGRATION_LABEL_KEY, tt as getWorkflow, u as restoreWorkspace, ut as DIFF_FILE_NAME, v as createWorkspace, vt as getLatestMigrationNumber, w as resumeWorkflow, x as getAppHealth, xt as getMigrationFiles, y as listApps, yt as getMigrationDirPath, z as getOAuth2Client } from "../update-DZs1loy_.mjs";
3
3
  import "../application-_ArEfxmV.mjs";
4
4
  import { register } from "node:module";
5
5
 
@@ -7,5 +7,5 @@ import { register } from "node:module";
7
7
  register("tsx", import.meta.url, { data: {} });
8
8
 
9
9
  //#endregion
10
- export { DB_TYPES_FILE_NAME, DIFF_FILE_NAME, INITIAL_SCHEMA_NUMBER, MIGRATE_FILE_NAME, MIGRATION_LABEL_KEY, SCHEMA_FILE_NAME, apiCall, apply, compareLocalTypesWithSnapshot, compareSnapshots, createSnapshotFromLocalTypes, createWorkspace, deleteWorkspace, formatDiffSummary, formatMigrationDiff, generate, generateUserTypes, getExecutorJob, getLatestMigrationNumber, getMachineUserToken, getMigrationDirPath, getMigrationFilePath, getMigrationFiles, getNamespacesWithMigrations, getNextMigrationNumber, getOAuth2Client, getWorkflow, getWorkflowExecution, hasChanges, listExecutorJobs, listMachineUsers, listOAuth2Clients, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, generate$1 as migrateGenerate, reconstructSnapshotFromMigrations, remove, resumeWorkflow, show, startWorkflow, triggerExecutor, truncate, watchExecutorJob };
10
+ export { DB_TYPES_FILE_NAME, DIFF_FILE_NAME, INITIAL_SCHEMA_NUMBER, MIGRATE_FILE_NAME, MIGRATION_LABEL_KEY, SCHEMA_FILE_NAME, apiCall, apply, compareLocalTypesWithSnapshot, compareSnapshots, createSnapshotFromLocalTypes, createWorkspace, deleteWorkspace, formatDiffSummary, formatMigrationDiff, generate, generateUserTypes, getAppHealth, getExecutorJob, getLatestMigrationNumber, getMachineUserToken, getMigrationDirPath, getMigrationFilePath, getMigrationFiles, getNamespacesWithMigrations, getNextMigrationNumber, getOAuth2Client, getWorkflow, getWorkflowExecution, getWorkspace, hasChanges, inviteUser, listApps, listExecutorJobs, listMachineUsers, listOAuth2Clients, listUsers, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, generate$1 as migrateGenerate, reconstructSnapshotFromMigrations, remove, removeUser, restoreWorkspace, resumeWorkflow, show, startWorkflow, triggerExecutor, truncate, updateUser, watchExecutorJob };
11
11
  //# sourceMappingURL=lib.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"lib.mjs","names":[],"sources":["../../src/cli/lib.ts"],"sourcesContent":["// CLI API exports for programmatic usage\nimport { register } from \"node:module\";\n\n// Register tsx to handle TypeScript files when using CLI API programmatically\nregister(\"tsx\", import.meta.url, { data: {} });\n\nexport { apply } from \"./apply/index\";\nexport type { ApplyOptions } from \"./apply/index\";\nexport { generate } from \"./generator/index\";\nexport type { GenerateOptions } from \"./generator/options\";\nexport { loadConfig, type LoadedConfig } from \"./config-loader\";\nexport { generateUserTypes } from \"./type-generator\";\nexport type {\n CodeGenerator,\n TailorDBGenerator,\n ResolverGenerator,\n ExecutorGenerator,\n TailorDBResolverGenerator,\n FullCodeGenerator,\n TailorDBInput,\n ResolverInput,\n ExecutorInput,\n FullInput,\n AggregateArgs,\n GeneratorResult,\n DependencyKind,\n} from \"./generator/types\";\nexport type { TailorDBType } from \"@/parser/service/tailordb/types\";\nexport type { Resolver } from \"@/parser/service/resolver\";\nexport type { Executor } from \"@/parser/service/executor\";\n\nexport { show, type ShowOptions, type ApplicationInfo } from \"./show\";\nexport { remove, type RemoveOptions } from \"./remove\";\nexport { createWorkspace, type CreateWorkspaceOptions } from \"./workspace/create\";\nexport { listWorkspaces, type ListWorkspacesOptions } from \"./workspace/list\";\nexport { deleteWorkspace, type DeleteWorkspaceOptions } from \"./workspace/delete\";\nexport type { WorkspaceInfo } from \"./workspace/transform\";\nexport {\n listMachineUsers,\n type ListMachineUsersOptions,\n type MachineUserInfo,\n} from \"./machineuser/list\";\nexport {\n getMachineUserToken,\n type GetMachineUserTokenOptions,\n type MachineUserTokenInfo,\n} from \"./machineuser/token\";\nexport { getOAuth2Client, type GetOAuth2ClientOptions } from \"./oauth2client/get\";\nexport { listOAuth2Clients, type ListOAuth2ClientsOptions } from \"./oauth2client/list\";\nexport type { OAuth2ClientInfo, OAuth2ClientCredentials } from \"./oauth2client/transform\";\nexport { listWorkflows, type ListWorkflowsOptions } from \"./workflow/list\";\nexport { getWorkflow, type GetWorkflowOptions } from \"./workflow/get\";\nexport {\n startWorkflow,\n type StartWorkflowOptions,\n type StartWorkflowResultWithWait,\n type WaitOptions,\n} from \"./workflow/start\";\nexport {\n listWorkflowExecutions,\n getWorkflowExecution,\n type ListWorkflowExecutionsOptions,\n type GetWorkflowExecutionOptions,\n type GetWorkflowExecutionResult,\n} from \"./workflow/executions\";\nexport {\n resumeWorkflow,\n type ResumeWorkflowOptions,\n type ResumeWorkflowResultWithWait,\n} from \"./workflow/resume\";\nexport type {\n WorkflowListInfo,\n WorkflowInfo,\n WorkflowExecutionInfo,\n WorkflowJobExecutionInfo,\n} from \"./workflow/transform\";\nexport {\n triggerExecutor,\n type TriggerExecutorOptions,\n type TriggerExecutorResult,\n} from \"./executor/trigger\";\nexport {\n listExecutorJobs,\n getExecutorJob,\n watchExecutorJob,\n type ListExecutorJobsOptions,\n type GetExecutorJobOptions,\n type WatchExecutorJobOptions,\n type ExecutorJobDetailInfo,\n type WatchExecutorJobResult,\n} from \"./executor/jobs\";\nexport type {\n ExecutorJobListInfo,\n ExecutorJobInfo,\n ExecutorJobAttemptInfo,\n} from \"./executor/transform\";\nexport { loadAccessToken, loadWorkspaceId } from \"./context\";\nexport { apiCall, type ApiCallOptions, type ApiCallResult } from \"./api\";\nexport { truncate, type TruncateOptions } from \"./tailordb/truncate\";\n\n// Migration exports\nexport {\n generate as migrateGenerate,\n type GenerateOptions as MigrateGenerateOptions,\n} from \"./tailordb/migrate/generate\";\nexport {\n createSnapshotFromLocalTypes,\n reconstructSnapshotFromMigrations,\n compareSnapshots,\n getNextMigrationNumber,\n getLatestMigrationNumber,\n getMigrationFiles,\n compareLocalTypesWithSnapshot,\n} from \"./tailordb/migrate/snapshot\";\nexport {\n getNamespacesWithMigrations,\n type NamespaceWithMigrations,\n} from \"./tailordb/migrate/config\";\nexport {\n hasChanges,\n formatMigrationDiff,\n formatDiffSummary,\n type MigrationDiff,\n type BreakingChangeInfo,\n} from \"./tailordb/migrate/diff-calculator\";\nexport {\n SCHEMA_FILE_NAME,\n DIFF_FILE_NAME,\n MIGRATE_FILE_NAME,\n DB_TYPES_FILE_NAME,\n INITIAL_SCHEMA_NUMBER,\n getMigrationDirPath,\n getMigrationFilePath,\n type SchemaSnapshot,\n type SnapshotType,\n type SnapshotFieldConfig,\n type MigrationInfo,\n} from \"./tailordb/migrate/snapshot\";\nexport { MIGRATION_LABEL_KEY } from \"./tailordb/migrate/types\";\n"],"mappings":";;;;;;AAIA,SAAS,OAAO,OAAO,KAAK,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC"}
1
+ {"version":3,"file":"lib.mjs","names":[],"sources":["../../src/cli/lib.ts"],"sourcesContent":["// CLI API exports for programmatic usage\nimport { register } from \"node:module\";\n\n// Register tsx to handle TypeScript files when using CLI API programmatically\nregister(\"tsx\", import.meta.url, { data: {} });\n\nexport { apply } from \"./apply/index\";\nexport type { ApplyOptions } from \"./apply/index\";\nexport { generate } from \"./generator/index\";\nexport type { GenerateOptions } from \"./generator/options\";\nexport { loadConfig, type LoadedConfig } from \"./config-loader\";\nexport { generateUserTypes } from \"./type-generator\";\nexport type {\n CodeGenerator,\n TailorDBGenerator,\n ResolverGenerator,\n ExecutorGenerator,\n TailorDBResolverGenerator,\n FullCodeGenerator,\n TailorDBInput,\n ResolverInput,\n ExecutorInput,\n FullInput,\n AggregateArgs,\n GeneratorResult,\n DependencyKind,\n} from \"./generator/types\";\nexport type { TailorDBType } from \"@/parser/service/tailordb/types\";\nexport type { Resolver } from \"@/parser/service/resolver\";\nexport type { Executor } from \"@/parser/service/executor\";\n\nexport { show, type ShowOptions, type ApplicationInfo } from \"./show\";\nexport { remove, type RemoveOptions } from \"./remove\";\nexport { createWorkspace, type CreateWorkspaceOptions } from \"./workspace/create\";\nexport { listWorkspaces, type ListWorkspacesOptions } from \"./workspace/list\";\nexport { deleteWorkspace, type DeleteWorkspaceOptions } from \"./workspace/delete\";\nexport { getWorkspace, type GetWorkspaceOptions } from \"./workspace/get\";\nexport { restoreWorkspace, type RestoreWorkspaceOptions } from \"./workspace/restore\";\nexport type { WorkspaceInfo, WorkspaceDetails } from \"./workspace/transform\";\nexport { listUsers, type ListUsersOptions } from \"./workspace/user/list\";\nexport { inviteUser, type InviteUserOptions } from \"./workspace/user/invite\";\nexport { updateUser, type UpdateUserOptions } from \"./workspace/user/update\";\nexport { removeUser, type RemoveUserOptions } from \"./workspace/user/remove\";\nexport type { UserInfo } from \"./workspace/user/transform\";\nexport { listApps, type ListAppsOptions } from \"./workspace/app/list\";\nexport { getAppHealth, type HealthOptions as GetAppHealthOptions } from \"./workspace/app/health\";\nexport type { AppInfo, AppHealthInfo } from \"./workspace/app/transform\";\nexport {\n listMachineUsers,\n type ListMachineUsersOptions,\n type MachineUserInfo,\n} from \"./machineuser/list\";\nexport {\n getMachineUserToken,\n type GetMachineUserTokenOptions,\n type MachineUserTokenInfo,\n} from \"./machineuser/token\";\nexport { getOAuth2Client, type GetOAuth2ClientOptions } from \"./oauth2client/get\";\nexport { listOAuth2Clients, type ListOAuth2ClientsOptions } from \"./oauth2client/list\";\nexport type { OAuth2ClientInfo, OAuth2ClientCredentials } from \"./oauth2client/transform\";\nexport { listWorkflows, type ListWorkflowsOptions } from \"./workflow/list\";\nexport { getWorkflow, type GetWorkflowOptions } from \"./workflow/get\";\nexport {\n startWorkflow,\n type StartWorkflowOptions,\n type StartWorkflowResultWithWait,\n type WaitOptions,\n} from \"./workflow/start\";\nexport {\n listWorkflowExecutions,\n getWorkflowExecution,\n type ListWorkflowExecutionsOptions,\n type GetWorkflowExecutionOptions,\n type GetWorkflowExecutionResult,\n} from \"./workflow/executions\";\nexport {\n resumeWorkflow,\n type ResumeWorkflowOptions,\n type ResumeWorkflowResultWithWait,\n} from \"./workflow/resume\";\nexport type {\n WorkflowListInfo,\n WorkflowInfo,\n WorkflowExecutionInfo,\n WorkflowJobExecutionInfo,\n} from \"./workflow/transform\";\nexport {\n triggerExecutor,\n type TriggerExecutorOptions,\n type TriggerExecutorResult,\n} from \"./executor/trigger\";\nexport {\n listExecutorJobs,\n getExecutorJob,\n watchExecutorJob,\n type ListExecutorJobsOptions,\n type GetExecutorJobOptions,\n type WatchExecutorJobOptions,\n type ExecutorJobDetailInfo,\n type WatchExecutorJobResult,\n} from \"./executor/jobs\";\nexport type {\n ExecutorJobListInfo,\n ExecutorJobInfo,\n ExecutorJobAttemptInfo,\n} from \"./executor/transform\";\nexport { loadAccessToken, loadWorkspaceId } from \"./context\";\nexport { apiCall, type ApiCallOptions, type ApiCallResult } from \"./api\";\nexport { truncate, type TruncateOptions } from \"./tailordb/truncate\";\n\n// Migration exports\nexport {\n generate as migrateGenerate,\n type GenerateOptions as MigrateGenerateOptions,\n} from \"./tailordb/migrate/generate\";\nexport {\n createSnapshotFromLocalTypes,\n reconstructSnapshotFromMigrations,\n compareSnapshots,\n getNextMigrationNumber,\n getLatestMigrationNumber,\n getMigrationFiles,\n compareLocalTypesWithSnapshot,\n} from \"./tailordb/migrate/snapshot\";\nexport {\n getNamespacesWithMigrations,\n type NamespaceWithMigrations,\n} from \"./tailordb/migrate/config\";\nexport {\n hasChanges,\n formatMigrationDiff,\n formatDiffSummary,\n type MigrationDiff,\n type BreakingChangeInfo,\n} from \"./tailordb/migrate/diff-calculator\";\nexport {\n SCHEMA_FILE_NAME,\n DIFF_FILE_NAME,\n MIGRATE_FILE_NAME,\n DB_TYPES_FILE_NAME,\n INITIAL_SCHEMA_NUMBER,\n getMigrationDirPath,\n getMigrationFilePath,\n type SchemaSnapshot,\n type SnapshotType,\n type SnapshotFieldConfig,\n type MigrationInfo,\n} from \"./tailordb/migrate/snapshot\";\nexport { MIGRATION_LABEL_KEY } from \"./tailordb/migrate/types\";\n"],"mappings":";;;;;;AAIA,SAAS,OAAO,OAAO,KAAK,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
1
  /// <reference path="./../user-defined.d.ts" />
2
- import { $ as TailorDBInstance, A as AuthOwnConfig, At as unauthenticatedTailorUser, B as SCIMAttribute, D as AuthConfig, Dt as AttributeList, F as IdProviderConfig, G as SCIMResource, H as SCIMAttributeType, I as OAuth2ClientGrantType, J as UserAttributeListKey, K as TenantProviderConfig, L as OAuth2ClientInput, M as BuiltinIdP, N as DefinedAuth, O as AuthExternalConfig, Ot as AttributeMap, P as IDToken, Q as TailorDBField, R as OIDC, U as SCIMAuthorization, V as SCIMAttributeMapping, W as SCIMConfig, X as UsernameFieldKey, Y as UserAttributeMap, Z as ValueOperand, _t as ResolverExternalConfig, a as IdPExternalConfig, at as unsafeAllowAllGqlPermission, bt as ResolverServiceInput, c as WorkflowServiceConfig, d as defineStaticWebSite, et as TailorDBType, g as ExecutorServiceInput, gt as Resolver, h as ExecutorServiceConfig, ht as QueryType, i as IdPConfig, it as TailorTypePermission, j as AuthServiceInput, kt as TailorUser, l as WorkflowServiceInput, mt as TailorField, nt as PermissionCondition, ot as unsafeAllowAllTypePermission, q as UserAttributeKey, rt as TailorTypeGqlPermission, tt as db, u as StaticWebsiteConfig, wt as Env, yt as ResolverServiceConfig, z as SAML } from "../index-DFEsnnHR.mjs";
3
- import { A as idpUserDeletedTrigger, B as WorkflowOperation, C as RecordUpdatedArgs, D as authAccessTokenRefreshedTrigger, E as authAccessTokenIssuedTrigger, F as resolverExecutedTrigger, G as WorkflowJob, H as WorkflowConfig, I as FunctionOperation, J as WorkflowJobOutput, K as WorkflowJobContext, L as GqlOperation, M as recordCreatedTrigger, N as recordDeletedTrigger, O as authAccessTokenRevokedTrigger, P as recordUpdatedTrigger, Q as defineAuth, R as Operation, S as RecordTrigger, T as ResolverExecutedTrigger, U as createWorkflow, V as Workflow, W as WORKFLOW_TEST_ENV_KEY, X as createResolver, Y as createWorkflowJob, Z as AuthInvoker, _ as AuthAccessTokenTrigger, a as defineGenerators, b as RecordCreatedArgs, c as Trigger, d as IncomingWebhookTrigger, f as incomingWebhookTrigger, g as AuthAccessTokenArgs, h as scheduleTrigger, i as defineConfig, j as idpUserUpdatedTrigger, k as idpUserCreatedTrigger, l as IncomingWebhookArgs, m as ScheduleTrigger, n as output, o as defineIdp, p as ScheduleArgs, q as WorkflowJobInput, r as t, s as createExecutor, t as infer, u as IncomingWebhookRequest, v as IdpUserArgs, w as ResolverExecutedArgs, x as RecordDeletedArgs, y as IdpUserTrigger, z as WebhookOperation } from "../index-Bd255ayy.mjs";
2
+ import { $ as TailorDBInstance, A as AuthOwnConfig, At as unauthenticatedTailorUser, B as SCIMAttribute, D as AuthConfig, Dt as AttributeList, F as IdProviderConfig, G as SCIMResource, H as SCIMAttributeType, I as OAuth2ClientGrantType, J as UserAttributeListKey, K as TenantProviderConfig, L as OAuth2ClientInput, M as BuiltinIdP, N as DefinedAuth, O as AuthExternalConfig, Ot as AttributeMap, P as IDToken, Q as TailorDBField, R as OIDC, U as SCIMAuthorization, V as SCIMAttributeMapping, W as SCIMConfig, X as UsernameFieldKey, Y as UserAttributeMap, Z as ValueOperand, _t as ResolverExternalConfig, a as IdPExternalConfig, at as unsafeAllowAllGqlPermission, bt as ResolverServiceInput, c as WorkflowServiceConfig, d as defineStaticWebSite, et as TailorDBType, g as ExecutorServiceInput, gt as Resolver, h as ExecutorServiceConfig, ht as QueryType, i as IdPConfig, it as TailorTypePermission, j as AuthServiceInput, kt as TailorUser, l as WorkflowServiceInput, mt as TailorField, nt as PermissionCondition, ot as unsafeAllowAllTypePermission, q as UserAttributeKey, rt as TailorTypeGqlPermission, tt as db, u as StaticWebsiteConfig, wt as Env, yt as ResolverServiceConfig, z as SAML } from "../index-x4xcWJm1.mjs";
3
+ import { A as idpUserDeletedTrigger, B as WorkflowOperation, C as RecordUpdatedArgs, D as authAccessTokenRefreshedTrigger, E as authAccessTokenIssuedTrigger, F as resolverExecutedTrigger, G as WorkflowJob, H as WorkflowConfig, I as FunctionOperation, J as WorkflowJobOutput, K as WorkflowJobContext, L as GqlOperation, M as recordCreatedTrigger, N as recordDeletedTrigger, O as authAccessTokenRevokedTrigger, P as recordUpdatedTrigger, Q as defineAuth, R as Operation, S as RecordTrigger, T as ResolverExecutedTrigger, U as createWorkflow, V as Workflow, W as WORKFLOW_TEST_ENV_KEY, X as createResolver, Y as createWorkflowJob, Z as AuthInvoker, _ as AuthAccessTokenTrigger, a as defineGenerators, b as RecordCreatedArgs, c as Trigger, d as IncomingWebhookTrigger, f as incomingWebhookTrigger, g as AuthAccessTokenArgs, h as scheduleTrigger, i as defineConfig, j as idpUserUpdatedTrigger, k as idpUserCreatedTrigger, l as IncomingWebhookArgs, m as ScheduleTrigger, n as output, o as defineIdp, p as ScheduleArgs, q as WorkflowJobInput, r as t, s as createExecutor, t as infer, u as IncomingWebhookRequest, v as IdpUserArgs, w as ResolverExecutedArgs, x as RecordDeletedArgs, y as IdpUserTrigger, z as WebhookOperation } from "../index-B07hXFjo.mjs";
4
4
  export { AttributeList, AttributeMap, AuthAccessTokenArgs, AuthAccessTokenTrigger, AuthConfig, AuthExternalConfig, AuthInvoker, AuthOwnConfig, AuthServiceInput, BuiltinIdP, DefinedAuth, Env, ExecutorServiceConfig, ExecutorServiceInput, FunctionOperation, GqlOperation, IDToken, IdPConfig, IdPExternalConfig, IdProviderConfig, IdpUserArgs, IdpUserTrigger, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookTrigger, OAuth2ClientInput as OAuth2Client, OAuth2ClientGrantType, OIDC, Operation, PermissionCondition, QueryType, RecordCreatedArgs, RecordDeletedArgs, RecordTrigger, RecordUpdatedArgs, Resolver, ResolverExecutedArgs, ResolverExecutedTrigger, ResolverExternalConfig, ResolverServiceConfig, ResolverServiceInput, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, ScheduleArgs, ScheduleTrigger, StaticWebsiteConfig, TailorDBField, TailorDBInstance, TailorDBType, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProviderConfig, Trigger, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, WORKFLOW_TEST_ENV_KEY, WebhookOperation, Workflow, WorkflowConfig, WorkflowJob, WorkflowJobContext, WorkflowJobInput, WorkflowJobOutput, WorkflowOperation, WorkflowServiceConfig, WorkflowServiceInput, authAccessTokenIssuedTrigger, authAccessTokenRefreshedTrigger, authAccessTokenRevokedTrigger, createExecutor, createResolver, createWorkflow, createWorkflowJob, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserUpdatedTrigger, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
@@ -1,8 +1,8 @@
1
1
  /// <reference path="./user-defined.d.ts" />
2
- import { $ as TailorDBInstance, C as ScheduleTriggerInput, Ct as output$1, Et as TailorActor, J as UserAttributeListKey, Mt as AllowedValuesOutput, N as DefinedAuth, S as ResolverExecutedTrigger$1, St as JsonCompatible, T as WorkflowOperation$1, Tt as TailorEnv, Y as UserAttributeMap, _ as FunctionOperation$1, b as IncomingWebhookTrigger$1, ct as DefinedFieldMetadata, dt as FieldOutput, et as TailorDBType, f as AuthAccessTokenTrigger$1, ft as TailorFieldType, j as AuthServiceInput, jt as AllowedValues, k as AuthInvoker$1, kt as TailorUser, lt as FieldMetadata, m as ExecutorInput, mt as TailorField, n as GeneratorConfig, o as IdPInput, pt as TailorAnyField, r as AppConfig, s as IdpDefinitionBrand, st as ArrayFieldOutput, ut as FieldOptions, v as GqlOperation$1, vt as ResolverInput, w as WebhookOperation$1, x as RecordTrigger$1, xt as InferFieldsOutput, y as IdpUserTrigger$1 } from "./index-DFEsnnHR.mjs";
3
- import * as zod0 from "zod";
2
+ import { $ as TailorDBInstance, C as ScheduleTriggerInput, Ct as output$1, Et as TailorActor, J as UserAttributeListKey, Mt as AllowedValuesOutput, N as DefinedAuth, S as ResolverExecutedTrigger$1, St as JsonCompatible, T as WorkflowOperation$1, Tt as TailorEnv, Y as UserAttributeMap, _ as FunctionOperation$1, b as IncomingWebhookTrigger$1, ct as DefinedFieldMetadata, dt as FieldOutput, et as TailorDBType, f as AuthAccessTokenTrigger$1, ft as TailorFieldType, j as AuthServiceInput, jt as AllowedValues, k as AuthInvoker$1, kt as TailorUser, lt as FieldMetadata, m as ExecutorInput, mt as TailorField, n as GeneratorConfig, o as IdPInput, pt as TailorAnyField, r as AppConfig, s as IdpDefinitionBrand, st as ArrayFieldOutput, ut as FieldOptions, v as GqlOperation$1, vt as ResolverInput, w as WebhookOperation$1, x as RecordTrigger$1, xt as InferFieldsOutput, y as IdpUserTrigger$1 } from "./index-x4xcWJm1.mjs";
3
+ import * as zod38 from "zod";
4
4
  import { JsonPrimitive, Jsonifiable, Jsonify } from "type-fest";
5
- import * as zod_v4_core0 from "zod/v4/core";
5
+ import * as zod_v4_core33 from "zod/v4/core";
6
6
  import { Client } from "@urql/core";
7
7
  import { StandardCRON } from "ts-cron-validator";
8
8
 
@@ -498,12 +498,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
498
498
  id: string;
499
499
  description: string;
500
500
  dependencies: ("executor" | "tailordb" | "resolver")[];
501
- aggregate: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod0.ZodAny>;
502
- processType?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
503
- processResolver?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
504
- processExecutor?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
505
- processTailorDBNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
506
- processResolverNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
501
+ aggregate: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod38.ZodAny>;
502
+ processType?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
503
+ processResolver?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
504
+ processExecutor?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
505
+ processTailorDBNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
506
+ processResolverNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
507
507
  })[];
508
508
  //#endregion
509
509
  //#region src/configure/index.d.ts
@@ -578,4 +578,4 @@ declare namespace t {
578
578
  }
579
579
  //#endregion
580
580
  export { idpUserDeletedTrigger as A, WorkflowOperation as B, RecordUpdatedArgs as C, authAccessTokenRefreshedTrigger as D, authAccessTokenIssuedTrigger as E, resolverExecutedTrigger as F, WorkflowJob as G, WorkflowConfig as H, FunctionOperation as I, WorkflowJobOutput as J, WorkflowJobContext as K, GqlOperation as L, recordCreatedTrigger as M, recordDeletedTrigger as N, authAccessTokenRevokedTrigger as O, recordUpdatedTrigger as P, defineAuth as Q, Operation as R, RecordTrigger as S, ResolverExecutedTrigger as T, createWorkflow as U, Workflow as V, WORKFLOW_TEST_ENV_KEY as W, createResolver as X, createWorkflowJob as Y, AuthInvoker as Z, AuthAccessTokenTrigger as _, defineGenerators as a, RecordCreatedArgs as b, Trigger as c, IncomingWebhookTrigger as d, incomingWebhookTrigger as f, AuthAccessTokenArgs as g, scheduleTrigger as h, defineConfig as i, idpUserUpdatedTrigger as j, idpUserCreatedTrigger as k, IncomingWebhookArgs as l, ScheduleTrigger as m, output as n, defineIdp as o, ScheduleArgs as p, WorkflowJobInput as q, t as r, createExecutor as s, infer as t, IncomingWebhookRequest as u, IdpUserArgs as v, ResolverExecutedArgs as w, RecordDeletedArgs as x, IdpUserTrigger as y, WebhookOperation as z };
581
- //# sourceMappingURL=index-Bd255ayy.d.mts.map
581
+ //# sourceMappingURL=index-B07hXFjo.d.mts.map
@@ -169,11 +169,11 @@ declare const TailorFieldSchema: z.ZodObject<{
169
169
  type: z.ZodEnum<{
170
170
  string: "string";
171
171
  boolean: "boolean";
172
+ date: "date";
173
+ enum: "enum";
172
174
  uuid: "uuid";
173
175
  integer: "integer";
174
176
  float: "float";
175
- enum: "enum";
176
- date: "date";
177
177
  datetime: "datetime";
178
178
  time: "time";
179
179
  nested: "nested";
@@ -202,11 +202,11 @@ declare const ResolverSchema: z.ZodObject<{
202
202
  type: z.ZodEnum<{
203
203
  string: "string";
204
204
  boolean: "boolean";
205
+ date: "date";
206
+ enum: "enum";
205
207
  uuid: "uuid";
206
208
  integer: "integer";
207
209
  float: "float";
208
- enum: "enum";
209
- date: "date";
210
210
  datetime: "datetime";
211
211
  time: "time";
212
212
  nested: "nested";
@@ -232,11 +232,11 @@ declare const ResolverSchema: z.ZodObject<{
232
232
  type: z.ZodEnum<{
233
233
  string: "string";
234
234
  boolean: "boolean";
235
+ date: "date";
236
+ enum: "enum";
235
237
  uuid: "uuid";
236
238
  integer: "integer";
237
239
  float: "float";
238
- enum: "enum";
239
- date: "date";
240
240
  datetime: "datetime";
241
241
  time: "time";
242
242
  nested: "nested";
@@ -1770,4 +1770,4 @@ type GeneratorConfigSchemaType = ReturnType<typeof createGeneratorConfigSchema>;
1770
1770
  type Generator = z.output<GeneratorConfigSchemaType>;
1771
1771
  //#endregion
1772
1772
  export { TailorDBInstance as $, AuthOwnConfig as A, unauthenticatedTailorUser as At, SCIMAttribute as B, ScheduleTriggerInput as C, output as Ct, AuthConfig as D, AttributeList as Dt, TailorDBType as E, TailorActor as Et, IdProviderConfig as F, SCIMResource as G, SCIMAttributeType as H, OAuth2ClientGrantType as I, UserAttributeListKey as J, TenantProviderConfig as K, OAuth2ClientInput as L, BuiltinIdP as M, AllowedValuesOutput as Mt, DefinedAuth as N, AuthExternalConfig as O, AttributeMap as Ot, IDToken as P, TailorDBField as Q, OIDC as R, ResolverExecutedTrigger as S, JsonCompatible as St, WorkflowOperation as T, TailorEnv as Tt, SCIMAuthorization as U, SCIMAttributeMapping as V, SCIMConfig as W, UsernameFieldKey as X, UserAttributeMap as Y, ValueOperand as Z, FunctionOperation as _, ResolverExternalConfig as _t, IdPExternalConfig as a, unsafeAllowAllGqlPermission as at, IncomingWebhookTrigger as b, ResolverServiceInput as bt, WorkflowServiceConfig as c, DefinedFieldMetadata as ct, defineStaticWebSite as d, FieldOutput$1 as dt, TailorDBType$1 as et, AuthAccessTokenTrigger as f, TailorFieldType as ft, ExecutorServiceInput as g, Resolver as gt, ExecutorServiceConfig as h, QueryType as ht, IdPConfig as i, TailorTypePermission as it, AuthServiceInput as j, AllowedValues as jt, AuthInvoker as k, TailorUser as kt, WorkflowServiceInput as l, FieldMetadata as lt, ExecutorInput as m, TailorField as mt, GeneratorConfig as n, PermissionCondition as nt, IdPInput as o, unsafeAllowAllTypePermission as ot, Executor as p, TailorAnyField as pt, UserAttributeKey as q, AppConfig as r, TailorTypeGqlPermission as rt, IdpDefinitionBrand as s, ArrayFieldOutput as st, Generator as t, db as tt, StaticWebsiteConfig as u, FieldOptions as ut, GqlOperation as v, ResolverInput as vt, WebhookOperation as w, Env as wt, RecordTrigger as x, InferFieldsOutput as xt, IdpUserTrigger as y, ResolverServiceConfig as yt, SAML as z };
1773
- //# sourceMappingURL=index-DFEsnnHR.d.mts.map
1773
+ //# sourceMappingURL=index-x4xcWJm1.d.mts.map