@tailor-platform/sdk 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/cli/index.mjs +6 -4
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +119 -4
- package/dist/cli/lib.mjs +1 -1
- package/dist/configure/index.d.mts +2 -2
- package/dist/{index-Bid18Opo.d.mts → index-Bw_huFr7.d.mts} +7 -7
- package/dist/{index-BBr_q3vB.d.mts → index-DMoFYBhB.d.mts} +2 -2
- package/dist/{update-CUvANRhs.mjs → update-BnKKm4aR.mjs} +468 -96
- package/dist/{update-CUvANRhs.mjs.map → update-BnKKm4aR.mjs.map} +1 -1
- package/dist/utils/test/index.d.mts +2 -2
- package/docs/cli/application.md +38 -38
- package/docs/cli/auth.md +24 -24
- package/docs/cli/completion.md +27 -0
- package/docs/cli/executor.md +36 -36
- package/docs/cli/secret.md +41 -41
- package/docs/cli/staticwebsite.md +17 -17
- package/docs/cli/tailordb.md +48 -48
- package/docs/cli/user.md +17 -17
- package/docs/cli/workflow.md +39 -39
- package/docs/cli/workspace.md +76 -76
- package/docs/cli-reference.md +8 -0
- package/package.json +2 -2
package/dist/cli/lib.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference path="./../user-defined.d.ts" />
|
|
2
|
-
import { D as TypeSourceInfoEntry, E as TailorDBType, I as IdProviderConfig, Lt as Resolver, R as OAuth2ClientInput, ct as PluginBaseNamespace, lt as PluginBaseWithConfig, ot as PluginAttachment, p as Executor, r as AppConfig, st as PluginBase, t as Generator } from "../index-
|
|
3
|
-
import "politty";
|
|
2
|
+
import { D as TypeSourceInfoEntry, E as TailorDBType, I as IdProviderConfig, Lt as Resolver, R as OAuth2ClientInput, ct as PluginBaseNamespace, lt as PluginBaseWithConfig, ot as PluginAttachment, p as Executor, r as AppConfig, st as PluginBase, t as Generator } from "../index-Bw_huFr7.mjs";
|
|
4
3
|
import { z } from "zod";
|
|
5
4
|
import { OAuth2Client } from "@badgateway/oauth2-client";
|
|
6
5
|
import { Duration, FieldMask, Timestamp, Value } from "@bufbuild/protobuf/wkt";
|
|
@@ -17854,7 +17853,7 @@ declare const SCHEMA_SNAPSHOT_VERSION: 1;
|
|
|
17854
17853
|
/**
|
|
17855
17854
|
* Change kind in migration diff
|
|
17856
17855
|
*/
|
|
17857
|
-
type DiffChangeKind = "type_added" | "type_removed" | "type_modified" | "field_added" | "field_removed" | "field_modified";
|
|
17856
|
+
type DiffChangeKind = "type_added" | "type_removed" | "type_modified" | "field_added" | "field_removed" | "field_modified" | "index_added" | "index_removed" | "index_modified" | "file_added" | "file_removed" | "file_modified" | "relationship_added" | "relationship_removed" | "relationship_modified" | "permission_modified";
|
|
17858
17857
|
/**
|
|
17859
17858
|
* Single change in migration diff
|
|
17860
17859
|
*/
|
|
@@ -17862,6 +17861,12 @@ interface DiffChange {
|
|
|
17862
17861
|
kind: DiffChangeKind;
|
|
17863
17862
|
typeName: string;
|
|
17864
17863
|
fieldName?: string;
|
|
17864
|
+
/** Index name for index_* changes */
|
|
17865
|
+
indexName?: string;
|
|
17866
|
+
/** Relationship name for relationship_* changes */
|
|
17867
|
+
relationshipName?: string;
|
|
17868
|
+
/** Relationship type for relationship_* changes */
|
|
17869
|
+
relationshipType?: "forward" | "backward";
|
|
17865
17870
|
before?: unknown;
|
|
17866
17871
|
after?: unknown;
|
|
17867
17872
|
reason?: string;
|
|
@@ -17933,6 +17938,36 @@ declare const SCHEMA_FILE_NAME = "schema.json";
|
|
|
17933
17938
|
declare const DIFF_FILE_NAME = "diff.json";
|
|
17934
17939
|
declare const MIGRATE_FILE_NAME = "migrate.ts";
|
|
17935
17940
|
declare const DB_TYPES_FILE_NAME = "db.ts";
|
|
17941
|
+
/**
|
|
17942
|
+
* Hook configuration in schema snapshot
|
|
17943
|
+
*/
|
|
17944
|
+
interface SnapshotHook {
|
|
17945
|
+
expr: string;
|
|
17946
|
+
}
|
|
17947
|
+
/**
|
|
17948
|
+
* Validation configuration in schema snapshot
|
|
17949
|
+
*/
|
|
17950
|
+
interface SnapshotValidation {
|
|
17951
|
+
script: {
|
|
17952
|
+
expr: string;
|
|
17953
|
+
};
|
|
17954
|
+
errorMessage: string;
|
|
17955
|
+
}
|
|
17956
|
+
/**
|
|
17957
|
+
* Serial configuration in schema snapshot
|
|
17958
|
+
*/
|
|
17959
|
+
interface SnapshotSerial {
|
|
17960
|
+
start: number;
|
|
17961
|
+
maxValue?: number;
|
|
17962
|
+
format?: string;
|
|
17963
|
+
}
|
|
17964
|
+
/**
|
|
17965
|
+
* Enum value with optional description in schema snapshot
|
|
17966
|
+
*/
|
|
17967
|
+
interface SnapshotEnumValue {
|
|
17968
|
+
value: string;
|
|
17969
|
+
description?: string;
|
|
17970
|
+
}
|
|
17936
17971
|
/**
|
|
17937
17972
|
* Field configuration in schema snapshot
|
|
17938
17973
|
*/
|
|
@@ -17942,10 +17977,20 @@ interface SnapshotFieldConfig {
|
|
|
17942
17977
|
array?: boolean;
|
|
17943
17978
|
index?: boolean;
|
|
17944
17979
|
unique?: boolean;
|
|
17945
|
-
allowedValues?:
|
|
17980
|
+
allowedValues?: SnapshotEnumValue[];
|
|
17946
17981
|
foreignKey?: boolean;
|
|
17947
17982
|
foreignKeyType?: string;
|
|
17948
17983
|
foreignKeyField?: string;
|
|
17984
|
+
description?: string;
|
|
17985
|
+
vector?: boolean;
|
|
17986
|
+
hooks?: {
|
|
17987
|
+
create?: SnapshotHook;
|
|
17988
|
+
update?: SnapshotHook;
|
|
17989
|
+
};
|
|
17990
|
+
validate?: SnapshotValidation[];
|
|
17991
|
+
serial?: SnapshotSerial;
|
|
17992
|
+
/** Nested fields (recursive) */
|
|
17993
|
+
fields?: Record<string, SnapshotFieldConfig>;
|
|
17949
17994
|
}
|
|
17950
17995
|
/**
|
|
17951
17996
|
* Index configuration in schema snapshot
|
|
@@ -17954,6 +17999,70 @@ interface SnapshotIndexConfig {
|
|
|
17954
17999
|
fields: string[];
|
|
17955
18000
|
unique?: boolean;
|
|
17956
18001
|
}
|
|
18002
|
+
/**
|
|
18003
|
+
* Relationship configuration in schema snapshot
|
|
18004
|
+
*/
|
|
18005
|
+
interface SnapshotRelationship {
|
|
18006
|
+
targetType: string;
|
|
18007
|
+
targetField: string;
|
|
18008
|
+
sourceField: string;
|
|
18009
|
+
isArray: boolean;
|
|
18010
|
+
description: string;
|
|
18011
|
+
}
|
|
18012
|
+
/**
|
|
18013
|
+
* Permission operand types
|
|
18014
|
+
*/
|
|
18015
|
+
type SnapshotPermissionOperand = {
|
|
18016
|
+
user: string;
|
|
18017
|
+
} | {
|
|
18018
|
+
record: string;
|
|
18019
|
+
} | {
|
|
18020
|
+
newRecord: string;
|
|
18021
|
+
} | {
|
|
18022
|
+
oldRecord: string;
|
|
18023
|
+
} | unknown;
|
|
18024
|
+
/**
|
|
18025
|
+
* Permission operators
|
|
18026
|
+
*/
|
|
18027
|
+
type SnapshotPermissionOperator = "eq" | "ne" | "in" | "nin";
|
|
18028
|
+
/**
|
|
18029
|
+
* Permission condition tuple
|
|
18030
|
+
*/
|
|
18031
|
+
type SnapshotPermissionCondition = readonly [SnapshotPermissionOperand, SnapshotPermissionOperator, SnapshotPermissionOperand];
|
|
18032
|
+
/**
|
|
18033
|
+
* Action permission policy
|
|
18034
|
+
*/
|
|
18035
|
+
interface SnapshotActionPermission {
|
|
18036
|
+
conditions: readonly SnapshotPermissionCondition[];
|
|
18037
|
+
description?: string;
|
|
18038
|
+
permit: "allow" | "deny";
|
|
18039
|
+
}
|
|
18040
|
+
/**
|
|
18041
|
+
* Record-level permission configuration
|
|
18042
|
+
*/
|
|
18043
|
+
interface SnapshotRecordPermission {
|
|
18044
|
+
create: readonly SnapshotActionPermission[];
|
|
18045
|
+
read: readonly SnapshotActionPermission[];
|
|
18046
|
+
update: readonly SnapshotActionPermission[];
|
|
18047
|
+
delete: readonly SnapshotActionPermission[];
|
|
18048
|
+
}
|
|
18049
|
+
/**
|
|
18050
|
+
* GQL permission actions
|
|
18051
|
+
*/
|
|
18052
|
+
type SnapshotGqlAction = "read" | "create" | "update" | "delete" | "aggregate" | "bulkUpsert" | "all";
|
|
18053
|
+
/**
|
|
18054
|
+
* GQL permission policy
|
|
18055
|
+
*/
|
|
18056
|
+
interface SnapshotGqlPermissionPolicy {
|
|
18057
|
+
conditions: readonly SnapshotPermissionCondition[];
|
|
18058
|
+
actions: readonly SnapshotGqlAction[];
|
|
18059
|
+
permit: "allow" | "deny";
|
|
18060
|
+
description?: string;
|
|
18061
|
+
}
|
|
18062
|
+
/**
|
|
18063
|
+
* GQL permission configuration
|
|
18064
|
+
*/
|
|
18065
|
+
type SnapshotGqlPermission = readonly SnapshotGqlPermissionPolicy[];
|
|
17957
18066
|
/**
|
|
17958
18067
|
* Type definition in schema snapshot
|
|
17959
18068
|
*/
|
|
@@ -17974,6 +18083,12 @@ interface SnapshotType {
|
|
|
17974
18083
|
};
|
|
17975
18084
|
indexes?: Record<string, SnapshotIndexConfig>;
|
|
17976
18085
|
files?: Record<string, string>;
|
|
18086
|
+
forwardRelationships?: Record<string, SnapshotRelationship>;
|
|
18087
|
+
backwardRelationships?: Record<string, SnapshotRelationship>;
|
|
18088
|
+
permissions?: {
|
|
18089
|
+
record?: SnapshotRecordPermission;
|
|
18090
|
+
gql?: SnapshotGqlPermission;
|
|
18091
|
+
};
|
|
17977
18092
|
}
|
|
17978
18093
|
/**
|
|
17979
18094
|
* Schema snapshot - full schema state at a point in time
|
package/dist/cli/lib.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../chunk-C3Kl5s5P.mjs";
|
|
2
2
|
import "../schema-BmKdDzr1.mjs";
|
|
3
|
-
import { $t as initOperatorClient, At as getMigrationFiles, B as getMachineUserToken, Bt as generateUserTypes, Ct as compareLocalTypesWithSnapshot, D as truncate, Dt as getLatestMigrationNumber, E as listWorkflows, Ft as formatDiffSummary, Ht as getDistDir, It as formatMigrationDiff, K as listWebhookExecutors, Kt as loadAccessToken, L as listOAuth2Clients, Lt as hasChanges, M as show, Ot as getMigrationDirPath, P as remove, Pt as reconstructSnapshotFromMigrations, Q as getExecutorJob, Rt as getNamespacesWithMigrations, St as SCHEMA_FILE_NAME, Tt as createSnapshotFromLocalTypes, U as listMachineUsers, Ut as apiCall, Vt as loadConfig, W as generate, Y as triggerExecutor, Z as listExecutors, _t as bundleMigrationScript, at as getWorkflow, bt as INITIAL_SCHEMA_NUMBER, c as inviteUser, ct as listWorkflowExecutions, dt as apply, et as listExecutorJobs, f as listWorkspaces, g as deleteWorkspace, ht as MIGRATION_LABEL_KEY, i as removeUser, jt as getNextMigrationNumber, k as generate$1, kt as getMigrationFilePath, m as getWorkspace, mt as waitForExecution, n as updateUser, o as listUsers, pt as executeScript, qt as loadWorkspaceId, rt as startWorkflow, st as getWorkflowExecution, tt as watchExecutorJob, u as restoreWorkspace, ut as getExecutor, v as createWorkspace, vt as DB_TYPES_FILE_NAME, w as resumeWorkflow, wt as compareSnapshots, x as getAppHealth, xt as MIGRATE_FILE_NAME, y as listApps, yt as DIFF_FILE_NAME, z as getOAuth2Client } from "../update-
|
|
3
|
+
import { $t as initOperatorClient, At as getMigrationFiles, B as getMachineUserToken, Bt as generateUserTypes, Ct as compareLocalTypesWithSnapshot, D as truncate, Dt as getLatestMigrationNumber, E as listWorkflows, Ft as formatDiffSummary, Ht as getDistDir, It as formatMigrationDiff, K as listWebhookExecutors, Kt as loadAccessToken, L as listOAuth2Clients, Lt as hasChanges, M as show, Ot as getMigrationDirPath, P as remove, Pt as reconstructSnapshotFromMigrations, Q as getExecutorJob, Rt as getNamespacesWithMigrations, St as SCHEMA_FILE_NAME, Tt as createSnapshotFromLocalTypes, U as listMachineUsers, Ut as apiCall, Vt as loadConfig, W as generate, Y as triggerExecutor, Z as listExecutors, _t as bundleMigrationScript, at as getWorkflow, bt as INITIAL_SCHEMA_NUMBER, c as inviteUser, ct as listWorkflowExecutions, dt as apply, et as listExecutorJobs, f as listWorkspaces, g as deleteWorkspace, ht as MIGRATION_LABEL_KEY, i as removeUser, jt as getNextMigrationNumber, k as generate$1, kt as getMigrationFilePath, m as getWorkspace, mt as waitForExecution, n as updateUser, o as listUsers, pt as executeScript, qt as loadWorkspaceId, rt as startWorkflow, st as getWorkflowExecution, tt as watchExecutorJob, u as restoreWorkspace, ut as getExecutor, v as createWorkspace, vt as DB_TYPES_FILE_NAME, w as resumeWorkflow, wt as compareSnapshots, x as getAppHealth, xt as MIGRATE_FILE_NAME, y as listApps, yt as DIFF_FILE_NAME, z as getOAuth2Client } from "../update-BnKKm4aR.mjs";
|
|
4
4
|
import { d as logger } from "../application-DnWZVbDO.mjs";
|
|
5
5
|
import { createRequire, register } from "node:module";
|
|
6
6
|
import * as fs$1 from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./../user-defined.d.ts" />
|
|
2
|
-
import { $ as TailorAnyDBField, B as SAML, Bt as ResolverServiceConfig, Ct as PermissionCondition, Dt as unsafeAllowAllTypePermission, Et as unsafeAllowAllGqlPermission, F as IDToken, Ft as TailorField, G as SCIMConfig, H as SCIMAttributeMapping, I as IdProviderConfig, It as QueryType, J as UserAttributeKey, K as SCIMResource, L as OAuth2ClientGrantType, Lt as Resolver, M as AuthServiceInput, N as BuiltinIdP, O as AuthConfig, P as DefinedAuth, Q as ValueOperand, R as OAuth2ClientInput, Rt as ResolverExternalConfig, St as TailorDBTypeForPlugin, Tt as TailorTypePermission, U as SCIMAttributeType, V as SCIMAttribute, Vt as ResolverServiceInput, W as SCIMAuthorization, X as UserAttributeMap, Y as UserAttributeListKey, Z as UsernameFieldKey, _t as PluginGeneratedType, a as IdPExternalConfig, at as NamespacePluginOutput, bt as PluginOutput, c as WorkflowServiceConfig, d as defineStaticWebSite, dt as PluginConfigs, et as TailorAnyDBType, ft as PluginExecutorContext, g as ExecutorServiceInput, gt as PluginGeneratedResolver, h as ExecutorServiceConfig, ht as PluginGeneratedExecutorWithFile, i as IdPConfig, it as db, j as AuthOwnConfig, k as AuthExternalConfig, l as WorkflowServiceInput, mt as PluginGeneratedExecutor, nt as TailorDBInstance, ot as PluginAttachment, pt as PluginExecutorContextBase, q as TenantProviderConfig, rt as TailorDBType, st as PluginBase, tt as TailorDBField, u as StaticWebsiteConfig, ut as PluginConfig, vt as PluginNamespaceGeneratedTypeEntry, wt as TailorTypeGqlPermission, xt as PluginProcessContext, yt as PluginNamespaceProcessContext, z as OIDC } from "../index-
|
|
2
|
+
import { $ as TailorAnyDBField, B as SAML, Bt as ResolverServiceConfig, Ct as PermissionCondition, Dt as unsafeAllowAllTypePermission, Et as unsafeAllowAllGqlPermission, F as IDToken, Ft as TailorField, G as SCIMConfig, H as SCIMAttributeMapping, I as IdProviderConfig, It as QueryType, J as UserAttributeKey, K as SCIMResource, L as OAuth2ClientGrantType, Lt as Resolver, M as AuthServiceInput, N as BuiltinIdP, O as AuthConfig, P as DefinedAuth, Q as ValueOperand, R as OAuth2ClientInput, Rt as ResolverExternalConfig, St as TailorDBTypeForPlugin, Tt as TailorTypePermission, U as SCIMAttributeType, V as SCIMAttribute, Vt as ResolverServiceInput, W as SCIMAuthorization, X as UserAttributeMap, Y as UserAttributeListKey, Z as UsernameFieldKey, _t as PluginGeneratedType, a as IdPExternalConfig, at as NamespacePluginOutput, bt as PluginOutput, c as WorkflowServiceConfig, d as defineStaticWebSite, dt as PluginConfigs, et as TailorAnyDBType, ft as PluginExecutorContext, g as ExecutorServiceInput, gt as PluginGeneratedResolver, h as ExecutorServiceConfig, ht as PluginGeneratedExecutorWithFile, i as IdPConfig, it as db, j as AuthOwnConfig, k as AuthExternalConfig, l as WorkflowServiceInput, mt as PluginGeneratedExecutor, nt as TailorDBInstance, ot as PluginAttachment, pt as PluginExecutorContextBase, q as TenantProviderConfig, rt as TailorDBType, st as PluginBase, tt as TailorDBField, u as StaticWebsiteConfig, ut as PluginConfig, vt as PluginNamespaceGeneratedTypeEntry, wt as TailorTypeGqlPermission, xt as PluginProcessContext, yt as PluginNamespaceProcessContext, z as OIDC } from "../index-Bw_huFr7.mjs";
|
|
3
3
|
import { a as AttributeMap, c as unauthenticatedTailorUser, i as AttributeList, s as TailorUser, t as Env } from "../env-4RO7szrH.mjs";
|
|
4
|
-
import { $ as defineAuth, A as idpUserCreatedTrigger, B as WebhookOperation, C as RecordTrigger, D as authAccessTokenIssuedTrigger, E as ResolverExecutedTrigger, F as recordUpdatedTrigger, G as WORKFLOW_TEST_ENV_KEY, H as Workflow, I as resolverExecutedTrigger, J as WorkflowJobInput, K as WorkflowJob, L as FunctionOperation, M as idpUserUpdatedTrigger, N as recordCreatedTrigger, O as authAccessTokenRefreshedTrigger, P as recordDeletedTrigger, Q as AuthInvoker, R as GqlOperation, S as RecordDeletedArgs, T as ResolverExecutedArgs, U as WorkflowConfig, V as WorkflowOperation, W as createWorkflow, X as createWorkflowJob, Y as WorkflowJobOutput, Z as createResolver, _ as AuthAccessTokenArgs, a as defineGenerators, b as IdpUserTrigger, c as createExecutor, d as IncomingWebhookRequest, f as IncomingWebhookTrigger, g as scheduleTrigger, h as ScheduleTrigger, i as defineConfig, j as idpUserDeletedTrigger, k as authAccessTokenRevokedTrigger, l as Trigger, m as ScheduleArgs, n as output, o as definePlugins, p as incomingWebhookTrigger, q as WorkflowJobContext, r as t, s as defineIdp, t as infer, u as IncomingWebhookArgs, v as AuthAccessTokenTrigger, w as RecordUpdatedArgs, x as RecordCreatedArgs, y as IdpUserArgs, z as Operation } from "../index-
|
|
4
|
+
import { $ as defineAuth, A as idpUserCreatedTrigger, B as WebhookOperation, C as RecordTrigger, D as authAccessTokenIssuedTrigger, E as ResolverExecutedTrigger, F as recordUpdatedTrigger, G as WORKFLOW_TEST_ENV_KEY, H as Workflow, I as resolverExecutedTrigger, J as WorkflowJobInput, K as WorkflowJob, L as FunctionOperation, M as idpUserUpdatedTrigger, N as recordCreatedTrigger, O as authAccessTokenRefreshedTrigger, P as recordDeletedTrigger, Q as AuthInvoker, R as GqlOperation, S as RecordDeletedArgs, T as ResolverExecutedArgs, U as WorkflowConfig, V as WorkflowOperation, W as createWorkflow, X as createWorkflowJob, Y as WorkflowJobOutput, Z as createResolver, _ as AuthAccessTokenArgs, a as defineGenerators, b as IdpUserTrigger, c as createExecutor, d as IncomingWebhookRequest, f as IncomingWebhookTrigger, g as scheduleTrigger, h as ScheduleTrigger, i as defineConfig, j as idpUserDeletedTrigger, k as authAccessTokenRevokedTrigger, l as Trigger, m as ScheduleArgs, n as output, o as definePlugins, p as incomingWebhookTrigger, q as WorkflowJobContext, r as t, s as defineIdp, t as infer, u as IncomingWebhookArgs, v as AuthAccessTokenTrigger, w as RecordUpdatedArgs, x as RecordCreatedArgs, y as IdpUserArgs, z as Operation } from "../index-DMoFYBhB.mjs";
|
|
5
5
|
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, NamespacePluginOutput, OAuth2ClientInput as OAuth2Client, OAuth2ClientGrantType, OIDC, Operation, PermissionCondition, PluginAttachment, PluginBase, PluginConfig, PluginConfigs, PluginExecutorContext, PluginExecutorContextBase, PluginGeneratedExecutor, PluginGeneratedExecutorWithFile, PluginGeneratedResolver, PluginGeneratedType, PluginNamespaceGeneratedTypeEntry, PluginNamespaceProcessContext, PluginOutput, PluginProcessContext, QueryType, RecordCreatedArgs, RecordDeletedArgs, RecordTrigger, RecordUpdatedArgs, Resolver, ResolverExecutedArgs, ResolverExecutedTrigger, ResolverExternalConfig, ResolverServiceConfig, ResolverServiceInput, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, ScheduleArgs, ScheduleTrigger, StaticWebsiteConfig, TailorAnyDBField, TailorAnyDBType, TailorDBField, TailorDBInstance, TailorDBType, TailorDBTypeForPlugin, 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, definePlugins, defineStaticWebSite, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserUpdatedTrigger, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
|
|
@@ -107,11 +107,11 @@ declare const TailorFieldSchema: z.ZodObject<{
|
|
|
107
107
|
type: z.ZodEnum<{
|
|
108
108
|
string: "string";
|
|
109
109
|
boolean: "boolean";
|
|
110
|
+
date: "date";
|
|
111
|
+
enum: "enum";
|
|
110
112
|
uuid: "uuid";
|
|
111
113
|
integer: "integer";
|
|
112
114
|
float: "float";
|
|
113
|
-
enum: "enum";
|
|
114
|
-
date: "date";
|
|
115
115
|
datetime: "datetime";
|
|
116
116
|
time: "time";
|
|
117
117
|
nested: "nested";
|
|
@@ -140,11 +140,11 @@ declare const ResolverSchema: z.ZodObject<{
|
|
|
140
140
|
type: z.ZodEnum<{
|
|
141
141
|
string: "string";
|
|
142
142
|
boolean: "boolean";
|
|
143
|
+
date: "date";
|
|
144
|
+
enum: "enum";
|
|
143
145
|
uuid: "uuid";
|
|
144
146
|
integer: "integer";
|
|
145
147
|
float: "float";
|
|
146
|
-
enum: "enum";
|
|
147
|
-
date: "date";
|
|
148
148
|
datetime: "datetime";
|
|
149
149
|
time: "time";
|
|
150
150
|
nested: "nested";
|
|
@@ -170,11 +170,11 @@ declare const ResolverSchema: z.ZodObject<{
|
|
|
170
170
|
type: z.ZodEnum<{
|
|
171
171
|
string: "string";
|
|
172
172
|
boolean: "boolean";
|
|
173
|
+
date: "date";
|
|
174
|
+
enum: "enum";
|
|
173
175
|
uuid: "uuid";
|
|
174
176
|
integer: "integer";
|
|
175
177
|
float: "float";
|
|
176
|
-
enum: "enum";
|
|
177
|
-
date: "date";
|
|
178
178
|
datetime: "datetime";
|
|
179
179
|
time: "time";
|
|
180
180
|
nested: "nested";
|
|
@@ -2162,4 +2162,4 @@ type GeneratorConfigSchemaType = ReturnType<typeof createGeneratorConfigSchema>;
|
|
|
2162
2162
|
type Generator = z.output<GeneratorConfigSchemaType>;
|
|
2163
2163
|
//#endregion
|
|
2164
2164
|
export { TailorAnyDBField as $, AuthInvoker as A, FieldMetadata as At, SAML as B, ResolverServiceConfig as Bt, ScheduleTriggerInput as C, PermissionCondition as Ct, TypeSourceInfoEntry as D, unsafeAllowAllTypePermission as Dt, TailorDBType as E, unsafeAllowAllGqlPermission as Et, IDToken as F, TailorField as Ft, SCIMConfig as G, AllowedValues as Gt, SCIMAttributeMapping as H, InferFieldsOutput as Ht, IdProviderConfig as I, QueryType as It, UserAttributeKey as J, SCIMResource as K, AllowedValuesOutput as Kt, OAuth2ClientGrantType as L, Resolver as Lt, AuthServiceInput as M, FieldOutput$1 as Mt, BuiltinIdP as N, TailorFieldType as Nt, AuthConfig as O, ArrayFieldOutput as Ot, DefinedAuth as P, TailorAnyField as Pt, ValueOperand as Q, OAuth2ClientInput as R, ResolverExternalConfig as Rt, ResolverExecutedTrigger as S, TailorDBTypeForPlugin as St, WorkflowOperation as T, TailorTypePermission as Tt, SCIMAttributeType as U, JsonCompatible as Ut, SCIMAttribute as V, ResolverServiceInput as Vt, SCIMAuthorization as W, output as Wt, UserAttributeMap as X, UserAttributeListKey as Y, UsernameFieldKey as Z, FunctionOperation as _, PluginGeneratedType as _t, IdPExternalConfig as a, NamespacePluginOutput as at, IncomingWebhookTrigger as b, PluginOutput as bt, WorkflowServiceConfig as c, PluginBaseNamespace as ct, defineStaticWebSite as d, PluginConfigs as dt, TailorAnyDBType as et, AuthAccessTokenTrigger as f, PluginExecutorContext as ft, ExecutorServiceInput as g, PluginGeneratedResolver as gt, ExecutorServiceConfig as h, PluginGeneratedExecutorWithFile as ht, IdPConfig as i, db as it, AuthOwnConfig as j, FieldOptions as jt, AuthExternalConfig as k, DefinedFieldMetadata as kt, WorkflowServiceInput as l, PluginBaseWithConfig as lt, ExecutorInput as m, PluginGeneratedExecutor as mt, GeneratorConfig as n, TailorDBInstance as nt, IdPInput as o, PluginAttachment as ot, Executor as p, PluginExecutorContextBase as pt, TenantProviderConfig as q, AppConfig as r, TailorDBType$1 as rt, IdpDefinitionBrand as s, PluginBase as st, Generator as t, TailorDBField as tt, StaticWebsiteConfig as u, PluginConfig as ut, GqlOperation as v, PluginNamespaceGeneratedTypeEntry as vt, WebhookOperation as w, TailorTypeGqlPermission as wt, RecordTrigger as x, PluginProcessContext as xt, IdpUserTrigger as y, PluginNamespaceProcessContext as yt, OIDC as z, ResolverInput as zt };
|
|
2165
|
-
//# sourceMappingURL=index-
|
|
2165
|
+
//# sourceMappingURL=index-Bw_huFr7.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./user-defined.d.ts" />
|
|
2
|
-
import { A as AuthInvoker$1, At as FieldMetadata, C as ScheduleTriggerInput, Ft as TailorField, Gt as AllowedValues, Ht as InferFieldsOutput, Kt as AllowedValuesOutput, M as AuthServiceInput, Mt as FieldOutput, Nt as TailorFieldType, Ot as ArrayFieldOutput, P as DefinedAuth, Pt as TailorAnyField, S as ResolverExecutedTrigger$1, T as WorkflowOperation$1, Ut as JsonCompatible, Wt as output$1, X as UserAttributeMap, Y as UserAttributeListKey, _ as FunctionOperation$1, b as IncomingWebhookTrigger$1, f as AuthAccessTokenTrigger$1, jt as FieldOptions, kt as DefinedFieldMetadata, m as ExecutorInput, n as GeneratorConfig, nt as TailorDBInstance, o as IdPInput, r as AppConfig, rt as TailorDBType, s as IdpDefinitionBrand, ut as PluginConfig, v as GqlOperation$1, w as WebhookOperation$1, x as RecordTrigger$1, y as IdpUserTrigger$1, zt as ResolverInput } from "./index-
|
|
2
|
+
import { A as AuthInvoker$1, At as FieldMetadata, C as ScheduleTriggerInput, Ft as TailorField, Gt as AllowedValues, Ht as InferFieldsOutput, Kt as AllowedValuesOutput, M as AuthServiceInput, Mt as FieldOutput, Nt as TailorFieldType, Ot as ArrayFieldOutput, P as DefinedAuth, Pt as TailorAnyField, S as ResolverExecutedTrigger$1, T as WorkflowOperation$1, Ut as JsonCompatible, Wt as output$1, X as UserAttributeMap, Y as UserAttributeListKey, _ as FunctionOperation$1, b as IncomingWebhookTrigger$1, f as AuthAccessTokenTrigger$1, jt as FieldOptions, kt as DefinedFieldMetadata, m as ExecutorInput, n as GeneratorConfig, nt as TailorDBInstance, o as IdPInput, r as AppConfig, rt as TailorDBType, s as IdpDefinitionBrand, ut as PluginConfig, v as GqlOperation$1, w as WebhookOperation$1, x as RecordTrigger$1, y as IdpUserTrigger$1, zt as ResolverInput } from "./index-Bw_huFr7.mjs";
|
|
3
3
|
import { n as TailorEnv, r as TailorActor, s as TailorUser } from "./env-4RO7szrH.mjs";
|
|
4
4
|
import * as zod38 from "zod";
|
|
5
5
|
import { JsonPrimitive, Jsonifiable, Jsonify } from "type-fest";
|
|
@@ -588,4 +588,4 @@ declare namespace t {
|
|
|
588
588
|
}
|
|
589
589
|
//#endregion
|
|
590
590
|
export { defineAuth as $, idpUserCreatedTrigger as A, WebhookOperation as B, RecordTrigger as C, authAccessTokenIssuedTrigger as D, ResolverExecutedTrigger as E, recordUpdatedTrigger as F, WORKFLOW_TEST_ENV_KEY as G, Workflow as H, resolverExecutedTrigger as I, WorkflowJobInput as J, WorkflowJob as K, FunctionOperation as L, idpUserUpdatedTrigger as M, recordCreatedTrigger as N, authAccessTokenRefreshedTrigger as O, recordDeletedTrigger as P, AuthInvoker as Q, GqlOperation as R, RecordDeletedArgs as S, ResolverExecutedArgs as T, WorkflowConfig as U, WorkflowOperation as V, createWorkflow as W, createWorkflowJob as X, WorkflowJobOutput as Y, createResolver as Z, AuthAccessTokenArgs as _, defineGenerators as a, IdpUserTrigger as b, createExecutor as c, IncomingWebhookRequest as d, IncomingWebhookTrigger as f, scheduleTrigger as g, ScheduleTrigger as h, defineConfig as i, idpUserDeletedTrigger as j, authAccessTokenRevokedTrigger as k, Trigger as l, ScheduleArgs as m, output as n, definePlugins as o, incomingWebhookTrigger as p, WorkflowJobContext as q, t as r, defineIdp as s, infer as t, IncomingWebhookArgs as u, AuthAccessTokenTrigger as v, RecordUpdatedArgs as w, RecordCreatedArgs as x, IdpUserArgs as y, Operation as z };
|
|
591
|
-
//# sourceMappingURL=index-
|
|
591
|
+
//# sourceMappingURL=index-DMoFYBhB.d.mts.map
|