@tailor-platform/sdk 1.5.0 → 1.6.1

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 (33) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/{list-Dr8070QZ.mjs → application-ByT5pepr.mjs} +211 -9511
  3. package/dist/application-ByT5pepr.mjs.map +1 -0
  4. package/dist/application-dwcUabL3.mjs +5 -0
  5. package/dist/{auth-CZPUwA1p.mjs → auth-0Zh4xp4z.mjs} +2 -31
  6. package/dist/auth-0Zh4xp4z.mjs.map +1 -0
  7. package/dist/cli/index.mjs +247 -27
  8. package/dist/cli/index.mjs.map +1 -1
  9. package/dist/cli/lib.d.mts +286 -14
  10. package/dist/cli/lib.mjs +4 -4
  11. package/dist/cli/lib.mjs.map +1 -1
  12. package/dist/configure/index.d.mts +3 -3
  13. package/dist/configure/index.mjs +75 -4
  14. package/dist/configure/index.mjs.map +1 -1
  15. package/dist/{index-D40SiXpf.d.mts → index-DEUmmYtB.d.mts} +57 -32
  16. package/dist/{index-bRPODqag.d.mts → index-lFUelrvN.d.mts} +56 -24
  17. package/dist/{jiti-BUw4tcVQ.mjs → jiti-SMSW3TA0.mjs} +1 -1
  18. package/dist/{jiti-BUw4tcVQ.mjs.map → jiti-SMSW3TA0.mjs.map} +1 -1
  19. package/dist/{job-CX4l7Myn.mjs → job-8XfvLyxH.mjs} +2 -9
  20. package/dist/job-8XfvLyxH.mjs.map +1 -0
  21. package/dist/list-DU6Y_JM5.mjs +11953 -0
  22. package/dist/list-DU6Y_JM5.mjs.map +1 -0
  23. package/dist/{src-Bu0051gO.mjs → src-qLXX6nub.mjs} +1 -1
  24. package/dist/{src-Bu0051gO.mjs.map → src-qLXX6nub.mjs.map} +1 -1
  25. package/dist/utils/test/index.d.mts +2 -2
  26. package/dist/utils/test/index.mjs +1 -1
  27. package/docs/cli/application.md +23 -187
  28. package/docs/cli/tailordb.md +621 -0
  29. package/docs/cli-reference.md +31 -15
  30. package/package.json +11 -1
  31. package/dist/auth-CZPUwA1p.mjs.map +0 -1
  32. package/dist/job-CX4l7Myn.mjs.map +0 -1
  33. package/dist/list-Dr8070QZ.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./../user-defined.d.ts" />
2
- import { F as IdProviderConfig, L as OAuth2ClientInput, j as ParsedTailorDBType, m as Executor, r as AppConfig, t as Generator, yt as Resolver } from "../index-D40SiXpf.mjs";
2
+ import { Ct as Resolver, L as IdProviderConfig, N as ParsedTailorDBType, h as Executor, r as AppConfig, t as Generator, z as OAuth2ClientInput } from "../index-DEUmmYtB.mjs";
3
3
  import { z } from "zod";
4
4
  import { OAuth2Client } from "@badgateway/oauth2-client";
5
5
  import "@bufbuild/protobuf/wkt";
@@ -8,6 +8,23 @@ import "@bufbuild/protobuf/codegenv2";
8
8
  import "@bufbuild/protobuf";
9
9
  import { Jsonifiable } from "type-fest";
10
10
 
11
+ //#region src/cli/config-loader.d.ts
12
+ /**
13
+ * Loaded configuration with resolved path
14
+ */
15
+ type LoadedConfig = AppConfig & {
16
+ path: string;
17
+ };
18
+ /**
19
+ * Load Tailor configuration file and associated generators.
20
+ * @param configPath - Optional explicit config path
21
+ * @returns Loaded config and generators
22
+ */
23
+ declare function loadConfig(configPath?: string): Promise<{
24
+ config: LoadedConfig;
25
+ generators: Generator[];
26
+ }>;
27
+ //#endregion
11
28
  //#region src/cli/apply/index.d.ts
12
29
  interface ApplyOptions {
13
30
  workspaceId?: string;
@@ -15,6 +32,7 @@ interface ApplyOptions {
15
32
  configPath?: string;
16
33
  dryRun?: boolean;
17
34
  yes?: boolean;
35
+ noSchemaCheck?: boolean;
18
36
  buildOnly?: boolean;
19
37
  }
20
38
  /**
@@ -160,18 +178,6 @@ type FullCodeGenerator<T = unknown, R = unknown, E = unknown, Ts = Record<string
160
178
  */
161
179
  declare function generate(options?: GenerateOptions): Promise<void>;
162
180
  //#endregion
163
- //#region src/cli/config-loader.d.ts
164
- /**
165
- * Load Tailor configuration file and associated generators.
166
- * @param configPath - Optional explicit config path
167
- * @returns Loaded config and generators
168
- */
169
- declare function loadConfig(configPath?: string): Promise<{
170
- config: AppConfig;
171
- generators: Generator[];
172
- configPath: string;
173
- }>;
174
- //#endregion
175
181
  //#region src/cli/type-generator.d.ts
176
182
  /**
177
183
  * Generate user type definitions from the app config and write them to disk.
@@ -555,5 +561,271 @@ interface TruncateOptions {
555
561
  */
556
562
  declare function truncate(options?: TruncateOptions): Promise<void>;
557
563
  //#endregion
558
- export { type AggregateArgs, type ApiCallOptions, type ApiCallResult, type ApplicationInfo, type ApplyOptions, type CodeGenerator, type CreateWorkspaceOptions, type DeleteWorkspaceOptions, type DependencyKind, type Executor, type ExecutorGenerator, type ExecutorInput, type FullCodeGenerator, type FullInput, type GenerateOptions, type GeneratorResult, type GetMachineUserTokenOptions, type GetOAuth2ClientOptions, type GetWorkflowExecutionOptions, type GetWorkflowExecutionResult, type GetWorkflowOptions, type ListMachineUsersOptions, type ListOAuth2ClientsOptions, type ListWorkflowExecutionsOptions, type ListWorkflowsOptions, type ListWorkspacesOptions, type MachineUserInfo, type MachineUserTokenInfo, type OAuth2ClientCredentials, type OAuth2ClientInfo, type RemoveOptions, type Resolver, type ResolverGenerator, type ResolverInput, type ResumeWorkflowOptions, type ResumeWorkflowResultWithWait, type ShowOptions, type StartWorkflowOptions, type StartWorkflowResultWithWait, type TailorDBGenerator, type TailorDBInput, type TailorDBResolverGenerator, type ParsedTailorDBType as TailorDBType, type TruncateOptions, type WaitOptions, type WorkflowExecutionInfo, type WorkflowInfo, type WorkflowJobExecutionInfo, type WorkflowListInfo, type WorkspaceInfo, apiCall, apply, createWorkspace, deleteWorkspace, generate, generateUserTypes, getMachineUserToken, getOAuth2Client, getWorkflow, getWorkflowExecution, listMachineUsers, listOAuth2Clients, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, remove, resumeWorkflow, show, startWorkflow, truncate };
564
+ //#region src/cli/tailordb/migrate/generate.d.ts
565
+ /**
566
+ * Generate command for TailorDB migrations
567
+ *
568
+ * Generates migration files based on local schema snapshots:
569
+ * - First run: Creates initial schema snapshot (0000/schema.json)
570
+ * - Subsequent runs: Creates diff from previous snapshot (0001/diff.json, etc.)
571
+ */
572
+ interface GenerateOptions$1 {
573
+ configPath?: string;
574
+ name?: string;
575
+ yes?: boolean;
576
+ init?: boolean;
577
+ }
578
+ /**
579
+ * Generate migration files for TailorDB schema changes
580
+ * @param {GenerateOptions} options - Generation options
581
+ * @returns {Promise<void>} Promise that resolves when generation is complete
582
+ */
583
+ declare function generate$1(options: GenerateOptions$1): Promise<void>;
584
+ //#endregion
585
+ //#region src/cli/tailordb/migrate/diff-calculator.d.ts
586
+ /**
587
+ * Diff calculator and formatter for TailorDB schema migrations
588
+ *
589
+ * This module provides utilities for formatting and displaying migration diffs.
590
+ * The actual diff calculation is performed by snapshot.ts.
591
+ */
592
+ /**
593
+ * Current schema snapshot format version
594
+ */
595
+ declare const SCHEMA_SNAPSHOT_VERSION: 1;
596
+ /**
597
+ * Change kind in migration diff
598
+ */
599
+ type DiffChangeKind = "type_added" | "type_removed" | "type_modified" | "field_added" | "field_removed" | "field_modified";
600
+ /**
601
+ * Single change in migration diff
602
+ */
603
+ interface DiffChange {
604
+ kind: DiffChangeKind;
605
+ typeName: string;
606
+ fieldName?: string;
607
+ before?: unknown;
608
+ after?: unknown;
609
+ reason?: string;
610
+ }
611
+ /**
612
+ * Migration diff - changes between two schema versions
613
+ * Stored as XXXX/diff.json (e.g., 0001/diff.json)
614
+ */
615
+ interface MigrationDiff {
616
+ /** Format version for future compatibility */
617
+ version: typeof SCHEMA_SNAPSHOT_VERSION;
618
+ namespace: string;
619
+ createdAt: string;
620
+ description?: string;
621
+ changes: DiffChange[];
622
+ /** Whether there are breaking changes (data loss or constraint violations possible) */
623
+ hasBreakingChanges: boolean;
624
+ /** List of breaking changes */
625
+ breakingChanges: BreakingChangeInfo[];
626
+ /** Whether a migration script is required to handle data migration */
627
+ requiresMigrationScript: boolean;
628
+ }
629
+ /**
630
+ * Breaking change information in migration diff
631
+ */
632
+ interface BreakingChangeInfo {
633
+ typeName: string;
634
+ fieldName?: string;
635
+ reason: string;
636
+ /** If true, this change is not supported and migration generation will fail */
637
+ unsupported?: boolean;
638
+ /** If true, show 3-step migration instructions for this unsupported change */
639
+ showThreeStepHint?: boolean;
640
+ }
641
+ /**
642
+ * Check if a migration diff has any changes
643
+ * @param {MigrationDiff} diff - Migration diff to check
644
+ * @returns {boolean} True if diff has changes
645
+ */
646
+ declare function hasChanges(diff: MigrationDiff): boolean;
647
+ /**
648
+ * Format a migration diff for display
649
+ * @param {MigrationDiff} diff - Migration diff to format
650
+ * @returns {string} Formatted diff string
651
+ */
652
+ declare function formatMigrationDiff(diff: MigrationDiff): string;
653
+ /**
654
+ * Format a summary of the migration diff
655
+ * @param {MigrationDiff} diff - Migration diff to summarize
656
+ * @returns {string} Formatted summary string
657
+ */
658
+ declare function formatDiffSummary(diff: MigrationDiff): string;
659
+ //#endregion
660
+ //#region src/cli/tailordb/migrate/types.d.ts
661
+ /**
662
+ * Label key for storing migration state in TailorDB Service metadata
663
+ */
664
+ declare const MIGRATION_LABEL_KEY = "sdk-migration";
665
+ //#endregion
666
+ //#region src/cli/tailordb/migrate/snapshot.d.ts
667
+ /**
668
+ * Initial schema migration number (0000)
669
+ */
670
+ declare const INITIAL_SCHEMA_NUMBER = 0;
671
+ /**
672
+ * Migration file names (used within migration directories)
673
+ */
674
+ declare const SCHEMA_FILE_NAME = "schema.json";
675
+ declare const DIFF_FILE_NAME = "diff.json";
676
+ declare const MIGRATE_FILE_NAME = "migrate.ts";
677
+ declare const DB_TYPES_FILE_NAME = "db.ts";
678
+ /**
679
+ * Field configuration in schema snapshot
680
+ */
681
+ interface SnapshotFieldConfig {
682
+ type: string;
683
+ required: boolean;
684
+ array?: boolean;
685
+ index?: boolean;
686
+ unique?: boolean;
687
+ allowedValues?: string[];
688
+ foreignKey?: boolean;
689
+ foreignKeyType?: string;
690
+ foreignKeyField?: string;
691
+ }
692
+ /**
693
+ * Index configuration in schema snapshot
694
+ */
695
+ interface SnapshotIndexConfig {
696
+ fields: string[];
697
+ unique?: boolean;
698
+ }
699
+ /**
700
+ * Type definition in schema snapshot
701
+ */
702
+ interface SnapshotType {
703
+ name: string;
704
+ pluralForm?: string;
705
+ description?: string;
706
+ fields: Record<string, SnapshotFieldConfig>;
707
+ settings?: {
708
+ aggregation?: boolean;
709
+ bulkUpsert?: boolean;
710
+ };
711
+ indexes?: Record<string, SnapshotIndexConfig>;
712
+ files?: Record<string, string>;
713
+ }
714
+ /**
715
+ * Schema snapshot - full schema state at a point in time
716
+ * Stored as XXXX/schema.json (e.g., 0000/schema.json for initial snapshot)
717
+ */
718
+ interface SchemaSnapshot {
719
+ /** Format version for future compatibility */
720
+ version: typeof SCHEMA_SNAPSHOT_VERSION;
721
+ namespace: string;
722
+ createdAt: string;
723
+ types: Record<string, SnapshotType>;
724
+ }
725
+ /**
726
+ * Migration file type
727
+ */
728
+ type MigrationFileType = "schema" | "diff" | "migrate" | "db";
729
+ /**
730
+ * Information about a migration
731
+ */
732
+ interface MigrationInfo {
733
+ /** Migration number (e.g., 1, 2, 3) */
734
+ number: number;
735
+ /** Migration number as 4-digit string (e.g., "0001", "0002") */
736
+ numberStr: string;
737
+ /** Migration file type */
738
+ type: MigrationFileType;
739
+ /** Path to migration file */
740
+ path: string;
741
+ /** Parsed content (schema snapshot or diff) */
742
+ content: SchemaSnapshot | MigrationDiff;
743
+ }
744
+ /**
745
+ * Get migration directory path for a given number
746
+ * @param {string} migrationsDir - Base migrations directory path
747
+ * @param {number} num - Migration number
748
+ * @returns {string} Full directory path for the migration
749
+ */
750
+ declare function getMigrationDirPath(migrationsDir: string, num: number): string;
751
+ /**
752
+ * Get migration file path for a given number and type
753
+ * @param {string} migrationsDir - Migrations directory path
754
+ * @param {number} num - Migration number
755
+ * @param {MigrationFileType} type - File type
756
+ * @returns {string} Full file path
757
+ */
758
+ declare function getMigrationFilePath(migrationsDir: string, num: number, type: MigrationFileType): string;
759
+ /**
760
+ * Create a schema snapshot from local type definitions
761
+ * @param {Record<string, ParsedTailorDBType>} types - Local type definitions
762
+ * @param {string} namespace - Namespace for the snapshot
763
+ * @returns {SchemaSnapshot} Schema snapshot
764
+ */
765
+ declare function createSnapshotFromLocalTypes(types: Record<string, ParsedTailorDBType>, namespace: string): SchemaSnapshot;
766
+ /**
767
+ * Get all migration directories and their files, sorted by number
768
+ * @param {string} migrationsDir - Migrations directory path
769
+ * @returns {Array<{number: number, type: "schema" | "diff", path: string}>} Migration files sorted by number
770
+ */
771
+ declare function getMigrationFiles(migrationsDir: string): {
772
+ number: number;
773
+ type: "schema" | "diff";
774
+ path: string;
775
+ }[];
776
+ /**
777
+ * Get the next migration number for a directory
778
+ * Returns INITIAL_SCHEMA_NUMBER (0) if no migrations exist
779
+ * @param {string} migrationsDir - Migrations directory path
780
+ * @returns {number} Next migration number
781
+ */
782
+ declare function getNextMigrationNumber(migrationsDir: string): number;
783
+ /**
784
+ * Reconstruct the latest schema snapshot from all migration files
785
+ * Returns null if no migrations exist
786
+ * @param {string} migrationsDir - Migrations directory path
787
+ * @param {number} [maxVersion] - Optional maximum migration version to apply
788
+ * @returns {SchemaSnapshot | null} Reconstructed snapshot or null if no migrations exist
789
+ */
790
+ declare function reconstructSnapshotFromMigrations(migrationsDir: string, maxVersion?: number): SchemaSnapshot | null;
791
+ /**
792
+ * Get the latest migration number from a directory
793
+ * Returns 0 if no migrations exist
794
+ * @param {string} migrationsDir - Migrations directory path
795
+ * @returns {number} Latest migration number or 0 if no migrations exist
796
+ */
797
+ declare function getLatestMigrationNumber(migrationsDir: string): number;
798
+ /**
799
+ * Compare two snapshots and generate a diff
800
+ * @param {SchemaSnapshot} previous - Previous schema snapshot
801
+ * @param {SchemaSnapshot} current - Current schema snapshot
802
+ * @returns {MigrationDiff} Migration diff between snapshots
803
+ */
804
+ declare function compareSnapshots(previous: SchemaSnapshot, current: SchemaSnapshot): MigrationDiff;
805
+ /**
806
+ * Compare local types with a snapshot and generate a diff
807
+ * @param {SchemaSnapshot} snapshot - Schema snapshot to compare against
808
+ * @param {Record<string, ParsedTailorDBType>} localTypes - Local type definitions
809
+ * @param {string} namespace - Namespace for comparison
810
+ * @returns {MigrationDiff} Migration diff
811
+ */
812
+ declare function compareLocalTypesWithSnapshot(snapshot: SchemaSnapshot, localTypes: Record<string, ParsedTailorDBType>, namespace: string): MigrationDiff;
813
+ //#endregion
814
+ //#region src/cli/tailordb/migrate/config.d.ts
815
+ /**
816
+ * Namespace with migrations configuration
817
+ */
818
+ interface NamespaceWithMigrations {
819
+ namespace: string;
820
+ migrationsDir: string;
821
+ }
822
+ /**
823
+ * Get namespaces that have migrations configured
824
+ * @param {AppConfig} config - Application configuration
825
+ * @param {string} configDir - Configuration directory path
826
+ * @returns {NamespaceWithMigrations[]} Array of namespaces with migrations configured
827
+ */
828
+ declare function getNamespacesWithMigrations(config: AppConfig, configDir: string): NamespaceWithMigrations[];
829
+ //#endregion
830
+ 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 FullCodeGenerator, type FullInput, type GenerateOptions, type GeneratorResult, type GetMachineUserTokenOptions, type GetOAuth2ClientOptions, type GetWorkflowExecutionOptions, type GetWorkflowExecutionResult, type GetWorkflowOptions, INITIAL_SCHEMA_NUMBER, 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 ParsedTailorDBType as TailorDBType, type TruncateOptions, type WaitOptions, type WorkflowExecutionInfo, type WorkflowInfo, type WorkflowJobExecutionInfo, type WorkflowListInfo, type WorkspaceInfo, apiCall, apply, compareLocalTypesWithSnapshot, compareSnapshots, createSnapshotFromLocalTypes, createWorkspace, deleteWorkspace, formatDiffSummary, formatMigrationDiff, generate, generateUserTypes, getLatestMigrationNumber, getMachineUserToken, getMigrationDirPath, getMigrationFilePath, getMigrationFiles, getNamespacesWithMigrations, getNextMigrationNumber, getOAuth2Client, getWorkflow, getWorkflowExecution, hasChanges, listMachineUsers, listOAuth2Clients, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, generate$1 as migrateGenerate, reconstructSnapshotFromMigrations, remove, resumeWorkflow, show, startWorkflow, truncate };
559
831
  //# sourceMappingURL=lib.d.mts.map
package/dist/cli/lib.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import "../chunk-CIV_ash9.mjs";
2
- import "../auth-CZPUwA1p.mjs";
3
- import "../job-CX4l7Myn.mjs";
4
- import { D as getOAuth2Client, H as loadWorkspaceId, I as generateUserTypes, L as loadConfig, M as generate, O as getMachineUserToken, P as apply, R as apiCall, S as remove, T as listOAuth2Clients, V as loadAccessToken, _ as listWorkflowExecutions, b as show, c as resumeWorkflow, f as listWorkflows, g as getWorkflowExecution, i as deleteWorkspace, j as listMachineUsers, m as getWorkflow, n as listWorkspaces, o as createWorkspace, u as startWorkflow, v as truncate } from "../list-Dr8070QZ.mjs";
2
+ import "../auth-0Zh4xp4z.mjs";
3
+ import { $ as getMigrationFiles, A as getOAuth2Client, C as show, F as generate, G as SCHEMA_FILE_NAME, H as DIFF_FILE_NAME, J as createSnapshotFromLocalTypes, K as compareLocalTypesWithSnapshot, L as apply, O as listOAuth2Clients, P as listMachineUsers, Q as getMigrationFilePath, T as remove, U as INITIAL_SCHEMA_NUMBER, V as DB_TYPES_FILE_NAME, W as MIGRATE_FILE_NAME, X as getLatestMigrationNumber, Z as getMigrationDirPath, _ as listWorkflowExecutions, at as formatMigrationDiff, b as generate$1, c as resumeWorkflow, dt as apiCall, et as getNextMigrationNumber, f as listWorkflows, g as getWorkflowExecution, ht as loadWorkspaceId, i as deleteWorkspace, it as formatDiffSummary, j as getMachineUserToken, lt as generateUserTypes, m as getWorkflow, mt as loadAccessToken, n as listWorkspaces, o as createWorkspace, ot as hasChanges, q as compareSnapshots, rt as reconstructSnapshotFromMigrations, st as getNamespacesWithMigrations, u as startWorkflow, ut as loadConfig, v as truncate, z as MIGRATION_LABEL_KEY } from "../list-DU6Y_JM5.mjs";
4
+ import "../application-ByT5pepr.mjs";
5
5
  import { register } from "node:module";
6
6
 
7
7
  //#region src/cli/lib.ts
8
8
  register("tsx", import.meta.url, { data: {} });
9
9
 
10
10
  //#endregion
11
- export { apiCall, apply, createWorkspace, deleteWorkspace, generate, generateUserTypes, getMachineUserToken, getOAuth2Client, getWorkflow, getWorkflowExecution, listMachineUsers, listOAuth2Clients, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, remove, resumeWorkflow, show, startWorkflow, truncate };
11
+ 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, getLatestMigrationNumber, getMachineUserToken, getMigrationDirPath, getMigrationFilePath, getMigrationFiles, getNamespacesWithMigrations, getNextMigrationNumber, getOAuth2Client, getWorkflow, getWorkflowExecution, hasChanges, listMachineUsers, listOAuth2Clients, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, generate$1 as migrateGenerate, reconstructSnapshotFromMigrations, remove, resumeWorkflow, show, startWorkflow, truncate };
12
12
  //# 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 } 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 { ParsedTailorDBType as 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 { loadAccessToken, loadWorkspaceId } from \"./context\";\nexport { apiCall, type ApiCallOptions, type ApiCallResult } from \"./api\";\nexport { truncate, type TruncateOptions } from \"./tailordb/truncate\";\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 { ParsedTailorDBType as 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 { 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 defineAuth, B as SCIMAttribute, D as AuthExternalConfig, E as AuthConfig, F as IdProviderConfig, G as SCIMResource, H as SCIMAttributeType, I as OAuth2ClientGrantType, J as UserAttributeListKey, K as TenantProviderConfig, L as OAuth2ClientInput, M as AuthServiceInput, N as BuiltinIdP, O as AuthInvoker, P as IDToken, Q as TailorDBField, R as OIDC, T as ExecutorServiceInput, U as SCIMAuthorization, V as SCIMAttributeMapping, W as SCIMConfig, X as UsernameFieldKey, Y as UserAttributeMap, Z as ValueOperand, _t as TailorField, a as defineStaticWebSite, at as unsafeAllowAllGqlPermission, c as defineIdp, d as ResolverExternalConfig, et as TailorDBType, f as ResolverServiceConfig, ft as AttributeList, ht as unauthenticatedTailorUser, i as StaticWebsiteConfig, it as TailorTypePermission, k as AuthOwnConfig, l as WorkflowServiceConfig, mt as TailorUser, nt as PermissionCondition, o as IdPConfig, ot as unsafeAllowAllTypePermission, p as ResolverServiceInput, pt as AttributeMap, q as UserAttributeKey, rt as TailorTypeGqlPermission, s as IdPExternalConfig, tt as db, u as WorkflowServiceInput, vt as QueryType, w as ExecutorServiceConfig, yt as Resolver, z as SAML } from "../index-D40SiXpf.mjs";
3
- import { A as Workflow, B as createResolver, C as recordUpdatedTrigger, D as Operation, E as GqlOperation, F as WorkflowJob, I as WorkflowJobContext, L as WorkflowJobInput, M as createWorkflow, N as WORKFLOW_JOB_BRAND, O as WebhookOperation, P as WORKFLOW_TEST_ENV_KEY, R as WorkflowJobOutput, S as recordDeletedTrigger, T as FunctionOperation, V as Env, _ as RecordTrigger, a as defineGenerators, b as ResolverExecutedTrigger, c as IncomingWebhookArgs, d as incomingWebhookTrigger, f as ScheduleArgs, g as RecordDeletedArgs, h as RecordCreatedArgs, i as defineConfig, j as WorkflowConfig, k as WorkflowOperation, l as IncomingWebhookRequest, m as scheduleTrigger, n as output, o as createExecutor, p as ScheduleTrigger, r as t, s as Trigger, t as infer, u as IncomingWebhookTrigger, v as RecordUpdatedArgs, w as resolverExecutedTrigger, x as recordCreatedTrigger, y as ResolverExecutedArgs, z as createWorkflowJob } from "../index-bRPODqag.mjs";
4
- export { AttributeList, AttributeMap, AuthConfig, AuthExternalConfig, AuthInvoker, AuthOwnConfig, AuthServiceInput, BuiltinIdP, Env, ExecutorServiceConfig, ExecutorServiceInput, FunctionOperation, GqlOperation, IDToken, IdPConfig, IdPExternalConfig, IdProviderConfig, 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_JOB_BRAND, WORKFLOW_TEST_ENV_KEY, WebhookOperation, Workflow, WorkflowConfig, WorkflowJob, WorkflowJobContext, WorkflowJobInput, WorkflowJobOutput, WorkflowOperation, WorkflowServiceConfig, WorkflowServiceInput, createExecutor, createResolver, createWorkflow, createWorkflowJob, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
2
+ import { $ as ValueOperand, A as AuthInvoker, B as OIDC, Ct as Resolver, D as ExecutorServiceInput, E as ExecutorServiceConfig, F as BuiltinIdP, G as SCIMAuthorization, H as SCIMAttribute, I as IDToken, J as TenantProviderConfig, K as SCIMConfig, L as IdProviderConfig, M as defineAuth, O as AuthConfig, P as AuthServiceInput, Q as UsernameFieldKey, R as OAuth2ClientGrantType, St as QueryType, U as SCIMAttributeMapping, V as SAML, W as SCIMAttributeType, X as UserAttributeListKey, Y as UserAttributeKey, Z as UserAttributeMap, _t as AttributeMap, a as WorkflowServiceInput, at as TailorTypeGqlPermission, c as IdPConfig, ct as unsafeAllowAllTypePermission, d as ResolverExternalConfig, et as TailorDBField, f as ResolverServiceConfig, gt as AttributeList, i as WorkflowServiceConfig, it as PermissionCondition, j as AuthOwnConfig, k as AuthExternalConfig, l as IdPExternalConfig, mt as Env, nt as TailorDBType, o as StaticWebsiteConfig, ot as TailorTypePermission, p as ResolverServiceInput, q as SCIMResource, rt as db, s as defineStaticWebSite, st as unsafeAllowAllGqlPermission, tt as TailorDBInstance, u as defineIdp, vt as TailorUser, xt as TailorField, yt as unauthenticatedTailorUser, z as OAuth2ClientInput } from "../index-DEUmmYtB.mjs";
3
+ import { A as idpUserUpdatedTrigger, B as Workflow, C as ResolverExecutedArgs, D as authAccessTokenRevokedTrigger, E as authAccessTokenRefreshedTrigger, F as FunctionOperation, G as WorkflowJobContext, H as createWorkflow, I as GqlOperation, J as createWorkflowJob, K as WorkflowJobInput, L as Operation, M as recordDeletedTrigger, N as recordUpdatedTrigger, O as idpUserCreatedTrigger, P as resolverExecutedTrigger, R as WebhookOperation, S as RecordUpdatedArgs, T as authAccessTokenIssuedTrigger, U as WORKFLOW_TEST_ENV_KEY, V as WorkflowConfig, W as WorkflowJob, Y as createResolver, _ as IdpUserArgs, a as defineGenerators, b as RecordDeletedArgs, c as IncomingWebhookArgs, d as incomingWebhookTrigger, f as ScheduleArgs, g as AuthAccessTokenTrigger, h as AuthAccessTokenArgs, i as defineConfig, j as recordCreatedTrigger, k as idpUserDeletedTrigger, l as IncomingWebhookRequest, m as scheduleTrigger, n as output, o as createExecutor, p as ScheduleTrigger, q as WorkflowJobOutput, r as t, s as Trigger, t as infer, u as IncomingWebhookTrigger, v as IdpUserTrigger, w as ResolverExecutedTrigger, x as RecordTrigger, y as RecordCreatedArgs, z as WorkflowOperation } from "../index-lFUelrvN.mjs";
4
+ export { AttributeList, AttributeMap, AuthAccessTokenArgs, AuthAccessTokenTrigger, AuthConfig, AuthExternalConfig, AuthInvoker, AuthOwnConfig, AuthServiceInput, BuiltinIdP, 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,6 +1,17 @@
1
- import { a as unauthenticatedTailorUser, c as TAILOR_FIELD_BRAND, i as unsafeAllowAllTypePermission, n as db, o as t$1, r as unsafeAllowAllGqlPermission, t as defineAuth } from "../auth-CZPUwA1p.mjs";
2
- import { n as WORKFLOW_TEST_ENV_KEY, r as createWorkflowJob, t as WORKFLOW_JOB_BRAND } from "../job-CX4l7Myn.mjs";
1
+ import { a as t$1, i as unsafeAllowAllTypePermission, n as db, r as unsafeAllowAllGqlPermission, t as defineAuth } from "../auth-0Zh4xp4z.mjs";
2
+ import { n as createWorkflowJob, t as WORKFLOW_TEST_ENV_KEY } from "../job-8XfvLyxH.mjs";
3
3
 
4
+ //#region src/configure/types/user.ts
5
+ /** Represents an unauthenticated user in the Tailor platform. */
6
+ const unauthenticatedTailorUser = {
7
+ id: "00000000-0000-0000-0000-000000000000",
8
+ type: "",
9
+ workspaceId: "00000000-0000-0000-0000-000000000000",
10
+ attributes: null,
11
+ attributeList: []
12
+ };
13
+
14
+ //#endregion
4
15
  //#region src/configure/services/resolver/resolver.ts
5
16
  /**
6
17
  * Create a resolver definition for the Tailor SDK.
@@ -10,7 +21,7 @@ import { n as WORKFLOW_TEST_ENV_KEY, r as createWorkflowJob, t as WORKFLOW_JOB_B
10
21
  * @returns Normalized resolver configuration
11
22
  */
12
23
  function createResolver(config) {
13
- const isTailorField = (obj) => typeof obj === "object" && obj !== null && TAILOR_FIELD_BRAND in obj;
24
+ const isTailorField = (obj) => typeof obj === "object" && obj !== null && "type" in obj && typeof obj.type === "string";
14
25
  const normalizedOutput = isTailorField(config.output) ? config.output : t$1.object(config.output);
15
26
  return {
16
27
  ...config,
@@ -93,6 +104,66 @@ function resolverExecutedTrigger(options) {
93
104
  __args: {}
94
105
  };
95
106
  }
107
+ /**
108
+ * Create a trigger that fires when an IdP user is created.
109
+ * @returns IdP user created trigger
110
+ */
111
+ function idpUserCreatedTrigger() {
112
+ return {
113
+ kind: "idpUserCreated",
114
+ __args: {}
115
+ };
116
+ }
117
+ /**
118
+ * Create a trigger that fires when an IdP user is updated.
119
+ * @returns IdP user updated trigger
120
+ */
121
+ function idpUserUpdatedTrigger() {
122
+ return {
123
+ kind: "idpUserUpdated",
124
+ __args: {}
125
+ };
126
+ }
127
+ /**
128
+ * Create a trigger that fires when an IdP user is deleted.
129
+ * @returns IdP user deleted trigger
130
+ */
131
+ function idpUserDeletedTrigger() {
132
+ return {
133
+ kind: "idpUserDeleted",
134
+ __args: {}
135
+ };
136
+ }
137
+ /**
138
+ * Create a trigger that fires when an access token is issued.
139
+ * @returns Auth access token issued trigger
140
+ */
141
+ function authAccessTokenIssuedTrigger() {
142
+ return {
143
+ kind: "authAccessTokenIssued",
144
+ __args: {}
145
+ };
146
+ }
147
+ /**
148
+ * Create a trigger that fires when an access token is refreshed.
149
+ * @returns Auth access token refreshed trigger
150
+ */
151
+ function authAccessTokenRefreshedTrigger() {
152
+ return {
153
+ kind: "authAccessTokenRefreshed",
154
+ __args: {}
155
+ };
156
+ }
157
+ /**
158
+ * Create a trigger that fires when an access token is revoked.
159
+ * @returns Auth access token revoked trigger
160
+ */
161
+ function authAccessTokenRevokedTrigger() {
162
+ return {
163
+ kind: "authAccessTokenRevoked",
164
+ __args: {}
165
+ };
166
+ }
96
167
 
97
168
  //#endregion
98
169
  //#region src/configure/services/executor/trigger/schedule.ts
@@ -212,5 +283,5 @@ function defineGenerators(...configs) {
212
283
  const t = { ...t$1 };
213
284
 
214
285
  //#endregion
215
- export { WORKFLOW_JOB_BRAND, WORKFLOW_TEST_ENV_KEY, createExecutor, createResolver, createWorkflow, createWorkflowJob, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, incomingWebhookTrigger, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
286
+ export { WORKFLOW_TEST_ENV_KEY, authAccessTokenIssuedTrigger, authAccessTokenRefreshedTrigger, authAccessTokenRevokedTrigger, createExecutor, createResolver, createWorkflow, createWorkflowJob, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserUpdatedTrigger, incomingWebhookTrigger, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
216
287
  //# sourceMappingURL=index.mjs.map