@tailor-platform/sdk 1.10.1 → 1.11.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.
- package/CHANGELOG.md +18 -0
- package/dist/cli/index.mjs +24 -18
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +60 -2
- package/dist/cli/lib.mjs +2 -2
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/configure/index.d.mts +2 -2
- package/dist/configure/index.mjs +10 -6
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{index-CoqePlnt.d.mts → index-DcOTucF6.d.mts} +7 -7
- package/dist/{index-BQw6I-mY.d.mts → index-DnoS_Mi4.d.mts} +10 -10
- package/dist/{update-Exhc9AkY.mjs → update-D0muqqOP.mjs} +542 -171
- package/dist/update-D0muqqOP.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +2 -2
- package/docs/cli/executor.md +183 -52
- package/docs/services/workflow.md +28 -0
- package/package.json +2 -1
- package/dist/update-Exhc9AkY.mjs.map +0 -1
|
@@ -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";
|
|
174
172
|
uuid: "uuid";
|
|
175
173
|
integer: "integer";
|
|
176
174
|
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";
|
|
207
205
|
uuid: "uuid";
|
|
208
206
|
integer: "integer";
|
|
209
207
|
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";
|
|
237
235
|
uuid: "uuid";
|
|
238
236
|
integer: "integer";
|
|
239
237
|
float: "float";
|
|
238
|
+
enum: "enum";
|
|
239
|
+
date: "date";
|
|
240
240
|
datetime: "datetime";
|
|
241
241
|
time: "time";
|
|
242
242
|
nested: "nested";
|
|
@@ -1773,4 +1773,4 @@ type GeneratorConfigSchemaType = ReturnType<typeof createGeneratorConfigSchema>;
|
|
|
1773
1773
|
type Generator = z.output<GeneratorConfigSchemaType>;
|
|
1774
1774
|
//#endregion
|
|
1775
1775
|
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 };
|
|
1776
|
-
//# sourceMappingURL=index-
|
|
1776
|
+
//# sourceMappingURL=index-DcOTucF6.d.mts.map
|
|
@@ -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-
|
|
3
|
-
import * as
|
|
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-DcOTucF6.mjs";
|
|
3
|
+
import * as zod38 from "zod";
|
|
4
4
|
import { JsonPrimitive, Jsonifiable, Jsonify } from "type-fest";
|
|
5
|
-
import * as
|
|
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
|
|
|
@@ -499,12 +499,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
|
|
|
499
499
|
id: string;
|
|
500
500
|
description: string;
|
|
501
501
|
dependencies: ("executor" | "tailordb" | "resolver")[];
|
|
502
|
-
aggregate:
|
|
503
|
-
processType?:
|
|
504
|
-
processResolver?:
|
|
505
|
-
processExecutor?:
|
|
506
|
-
processTailorDBNamespace?:
|
|
507
|
-
processResolverNamespace?:
|
|
502
|
+
aggregate: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod38.ZodAny>;
|
|
503
|
+
processType?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
504
|
+
processResolver?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
505
|
+
processExecutor?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
506
|
+
processTailorDBNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
507
|
+
processResolverNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
508
508
|
})[];
|
|
509
509
|
//#endregion
|
|
510
510
|
//#region src/configure/index.d.ts
|
|
@@ -579,4 +579,4 @@ declare namespace t {
|
|
|
579
579
|
}
|
|
580
580
|
//#endregion
|
|
581
581
|
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 };
|
|
582
|
-
//# sourceMappingURL=index-
|
|
582
|
+
//# sourceMappingURL=index-DnoS_Mi4.d.mts.map
|