@tailor-platform/sdk 0.21.0 → 0.21.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 0.21.2
|
|
4
|
+
|
|
5
|
+
## 0.21.1
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#233](https://github.com/tailor-platform/sdk/pull/233) [`475d368`](https://github.com/tailor-platform/sdk/commit/475d36848c35530cc302b82f365af4d4f84cb9a3) Thanks [@toiroakr](https://github.com/toiroakr)! - Remove setup-node from install-deps action and use standalone pnpm with pnpm env for Node.js installation
|
|
10
|
+
|
|
3
11
|
## 0.21.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/cli/api.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./../user-defined.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { Ct as Resolver, J as OAuth2ClientInput, K as IdProviderConfig, M as TailorDBTypeConfig, d as AppConfig, h as Generator, m as CodeGeneratorBase, t as Executor } from "../types-
|
|
3
|
+
import { Ct as Resolver, J as OAuth2ClientInput, K as IdProviderConfig, M as TailorDBTypeConfig, d as AppConfig, h as Generator, m as CodeGeneratorBase, t as Executor } from "../types-oYFwjNuW.mjs";
|
|
4
4
|
import "citty";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { OAuth2Client } from "@badgateway/oauth2-client";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./../user-defined.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { $ as SCIMAttributeType, A as TailorDBType, B as AuthInvoker, C as ResolverExternalConfig, Ct as Resolver, D as ExecutorServiceInput, E as ExecutorServiceConfig, F as TailorTypePermission, G as IDToken, H as defineAuth, I as unsafeAllowAllGqlPermission, J as OAuth2ClientInput, K as IdProviderConfig, L as unsafeAllowAllTypePermission, N as PermissionCondition, O as TailorDBField, P as TailorTypeGqlPermission, Q as SCIMAttributeMapping, R as AuthConfig, S as defineIdp, St as QueryType, T as ResolverServiceInput, U as AuthServiceInput, V as AuthOwnConfig, W as BuiltinIdP, X as SAML, Y as OIDC, Z as SCIMAttribute, _ as WorkflowServiceInput, _t as AttributeList, at as UserAttributeListKey, b as IdPConfig, bt as unauthenticatedTailorUser, ct as ValueOperand, et as SCIMAuthorization, f as defineConfig, g as WorkflowServiceConfig, ht as Env, it as UserAttributeKey, j as db, k as TailorDBInstance, nt as SCIMResource, ot as UserAttributeMap, p as defineGenerators, q as OAuth2ClientGrantType, rt as TenantProviderConfig, st as UsernameFieldKey, tt as SCIMConfig, v as StaticWebsiteConfig, vt as AttributeMap, w as ResolverServiceConfig, x as IdPExternalConfig, xt as TailorField, y as defineStaticWebSite, yt as TailorUser, z as AuthExternalConfig } from "../types-
|
|
4
|
-
import { A as WORKFLOW_JOB_BRAND, C as GqlOperation, D as Workflow, E as WorkflowOperation, F as createWorkflowJob, I as createResolver, M as WorkflowJobContext, N as WorkflowJobInput, O as WorkflowConfig, P as WorkflowJobOutput, S as FunctionOperation, T as WebhookOperation, _ as ResolverExecutedTrigger, a as Trigger, b as recordUpdatedTrigger, c as IncomingWebhookTrigger, d as scheduleTrigger, f as RecordCreatedArgs, g as ResolverExecutedArgs, h as RecordUpdatedArgs, i as createExecutor, j as WorkflowJob, k as createWorkflow, l as incomingWebhookTrigger, m as RecordTrigger, n as output, o as IncomingWebhookArgs, p as RecordDeletedArgs, r as t, s as IncomingWebhookRequest, t as infer, u as ScheduleTrigger, v as recordCreatedTrigger, w as Operation, x as resolverExecutedTrigger, y as recordDeletedTrigger } from "../index-
|
|
3
|
+
import { $ as SCIMAttributeType, A as TailorDBType, B as AuthInvoker, C as ResolverExternalConfig, Ct as Resolver, D as ExecutorServiceInput, E as ExecutorServiceConfig, F as TailorTypePermission, G as IDToken, H as defineAuth, I as unsafeAllowAllGqlPermission, J as OAuth2ClientInput, K as IdProviderConfig, L as unsafeAllowAllTypePermission, N as PermissionCondition, O as TailorDBField, P as TailorTypeGqlPermission, Q as SCIMAttributeMapping, R as AuthConfig, S as defineIdp, St as QueryType, T as ResolverServiceInput, U as AuthServiceInput, V as AuthOwnConfig, W as BuiltinIdP, X as SAML, Y as OIDC, Z as SCIMAttribute, _ as WorkflowServiceInput, _t as AttributeList, at as UserAttributeListKey, b as IdPConfig, bt as unauthenticatedTailorUser, ct as ValueOperand, et as SCIMAuthorization, f as defineConfig, g as WorkflowServiceConfig, ht as Env, it as UserAttributeKey, j as db, k as TailorDBInstance, nt as SCIMResource, ot as UserAttributeMap, p as defineGenerators, q as OAuth2ClientGrantType, rt as TenantProviderConfig, st as UsernameFieldKey, tt as SCIMConfig, v as StaticWebsiteConfig, vt as AttributeMap, w as ResolverServiceConfig, x as IdPExternalConfig, xt as TailorField, y as defineStaticWebSite, yt as TailorUser, z as AuthExternalConfig } from "../types-oYFwjNuW.mjs";
|
|
4
|
+
import { A as WORKFLOW_JOB_BRAND, C as GqlOperation, D as Workflow, E as WorkflowOperation, F as createWorkflowJob, I as createResolver, M as WorkflowJobContext, N as WorkflowJobInput, O as WorkflowConfig, P as WorkflowJobOutput, S as FunctionOperation, T as WebhookOperation, _ as ResolverExecutedTrigger, a as Trigger, b as recordUpdatedTrigger, c as IncomingWebhookTrigger, d as scheduleTrigger, f as RecordCreatedArgs, g as ResolverExecutedArgs, h as RecordUpdatedArgs, i as createExecutor, j as WorkflowJob, k as createWorkflow, l as incomingWebhookTrigger, m as RecordTrigger, n as output, o as IncomingWebhookArgs, p as RecordDeletedArgs, r as t, s as IncomingWebhookRequest, t as infer, u as ScheduleTrigger, v as recordCreatedTrigger, w as Operation, x as resolverExecutedTrigger, y as recordDeletedTrigger } from "../index-CEJUQFNe.mjs";
|
|
5
5
|
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, ScheduleTrigger, StaticWebsiteConfig, TailorDBField, TailorDBInstance, TailorDBType, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProviderConfig, Trigger, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, WORKFLOW_JOB_BRAND, 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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./user-defined.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { A as TailorDBType, B as AuthInvoker, Dt as output$1, Et as JsonCompatible, Tt as InferFieldsOutput, a as IncomingWebhookTrigger$1, c as ScheduleTriggerInput, dt as ArrayFieldOutput, ft as FieldMetadata, gt as TailorEnv, i as GqlOperation, l as WebhookOperation, lt as AllowedValues, mt as FieldOutput, n as ExecutorInput, o as RecordTrigger$1, pt as FieldOptions, r as FunctionOperation, s as ResolverExecutedTrigger$1, u as WorkflowOperation, ut as AllowedValuesOutput, wt as ResolverInput, xt as TailorField, yt as TailorUser } from "./types-
|
|
3
|
+
import { A as TailorDBType, B as AuthInvoker, Dt as output$1, Et as JsonCompatible, Tt as InferFieldsOutput, a as IncomingWebhookTrigger$1, c as ScheduleTriggerInput, dt as ArrayFieldOutput, ft as FieldMetadata, gt as TailorEnv, i as GqlOperation, l as WebhookOperation, lt as AllowedValues, mt as FieldOutput, n as ExecutorInput, o as RecordTrigger$1, pt as FieldOptions, r as FunctionOperation, s as ResolverExecutedTrigger$1, u as WorkflowOperation, ut as AllowedValuesOutput, wt as ResolverInput, xt as TailorField, yt as TailorUser } from "./types-oYFwjNuW.mjs";
|
|
4
4
|
import { EmptyObject, JsonPrimitive, Jsonifiable, Jsonify } from "type-fest";
|
|
5
5
|
import { Client } from "@urql/core";
|
|
6
6
|
import { StandardCRON } from "ts-cron-validator";
|
|
@@ -351,4 +351,4 @@ declare namespace t {
|
|
|
351
351
|
}
|
|
352
352
|
//#endregion
|
|
353
353
|
export { WORKFLOW_JOB_BRAND as A, GqlOperation$1 as C, Workflow as D, WorkflowOperation$1 as E, createWorkflowJob as F, createResolver as I, WorkflowJobContext as M, WorkflowJobInput as N, WorkflowConfig as O, WorkflowJobOutput as P, FunctionOperation$1 as S, WebhookOperation$1 as T, ResolverExecutedTrigger as _, Trigger as a, recordUpdatedTrigger as b, IncomingWebhookTrigger as c, scheduleTrigger as d, RecordCreatedArgs as f, ResolverExecutedArgs as g, RecordUpdatedArgs as h, createExecutor as i, WorkflowJob as j, createWorkflow as k, incomingWebhookTrigger as l, RecordTrigger as m, output as n, IncomingWebhookArgs as o, RecordDeletedArgs as p, t as r, IncomingWebhookRequest as s, infer as t, ScheduleTrigger as u, recordCreatedTrigger as v, Operation as w, resolverExecutedTrigger as x, recordDeletedTrigger as y };
|
|
354
|
-
//# sourceMappingURL=index-
|
|
354
|
+
//# sourceMappingURL=index-CEJUQFNe.d.mts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="./user-defined.d.ts" />
|
|
2
2
|
|
|
3
|
-
import * as
|
|
3
|
+
import * as zod0 from "zod";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
import * as type_fest0 from "type-fest";
|
|
7
7
|
import { IsAny, NonEmptyObject } from "type-fest";
|
|
8
|
-
import * as
|
|
8
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
9
|
|
|
10
10
|
//#region src/configure/types/helpers.d.ts
|
|
11
11
|
type Prettify<T$1> = { [K in keyof T$1 as string extends K ? never : K]: T$1[K] } & {};
|
|
@@ -1386,12 +1386,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
|
|
|
1386
1386
|
}] | {
|
|
1387
1387
|
id: string;
|
|
1388
1388
|
description: string;
|
|
1389
|
-
processType:
|
|
1390
|
-
processResolver:
|
|
1391
|
-
processExecutor:
|
|
1392
|
-
aggregate:
|
|
1393
|
-
processTailorDBNamespace?:
|
|
1394
|
-
processResolverNamespace?:
|
|
1389
|
+
processType: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1390
|
+
processResolver: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1391
|
+
processExecutor: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1392
|
+
aggregate: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod0.ZodAny>;
|
|
1393
|
+
processTailorDBNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
|
|
1394
|
+
processResolverNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
|
|
1395
1395
|
})[];
|
|
1396
1396
|
//#endregion
|
|
1397
1397
|
//#region src/parser/service/executor/schema.d.ts
|
|
@@ -1530,4 +1530,4 @@ type Executor = z.infer<typeof ExecutorSchema>;
|
|
|
1530
1530
|
type ExecutorInput = z.input<typeof ExecutorSchema>;
|
|
1531
1531
|
//#endregion
|
|
1532
1532
|
export { SCIMAttributeType as $, TailorDBType as A, AuthInvoker$1 as B, ResolverExternalConfig as C, Resolver as Ct, ExecutorServiceInput as D, output as Dt, ExecutorServiceConfig as E, JsonCompatible as Et, TailorTypePermission as F, IDToken as G, defineAuth as H, unsafeAllowAllGqlPermission as I, OAuth2ClientInput as J, IdProviderConfig as K, unsafeAllowAllTypePermission as L, TailorDBTypeConfig as M, PermissionCondition as N, TailorDBField as O, TailorTypeGqlPermission as P, SCIMAttributeMapping as Q, AuthConfig as R, defineIdp as S, QueryType as St, ResolverServiceInput as T, InferFieldsOutput as Tt, AuthServiceInput as U, AuthOwnConfig as V, BuiltinIdP as W, SAML as X, OIDC as Y, SCIMAttribute as Z, WorkflowServiceInput as _, AttributeList as _t, IncomingWebhookTrigger as a, UserAttributeListKey as at, IdPConfig as b, unauthenticatedTailorUser as bt, ScheduleTriggerInput as c, ValueOperand as ct, AppConfig as d, ArrayFieldOutput as dt, SCIMAuthorization as et, defineConfig as f, FieldMetadata as ft, WorkflowServiceConfig as g, TailorEnv as gt, Generator as h, Env as ht, GqlOperation as i, UserAttributeKey as it, db as j, TailorDBInstance as k, WebhookOperation as l, AllowedValues as lt, CodeGeneratorBase as m, FieldOutput as mt, ExecutorInput as n, SCIMResource as nt, RecordTrigger as o, UserAttributeMap as ot, defineGenerators as p, FieldOptions as pt, OAuth2ClientGrantType as q, FunctionOperation as r, TenantProviderConfig as rt, ResolverExecutedTrigger as s, UsernameFieldKey as st, Executor as t, SCIMConfig as tt, WorkflowOperation as u, AllowedValuesOutput as ut, StaticWebsiteConfig as v, AttributeMap as vt, ResolverServiceConfig as w, ResolverInput as wt, IdPExternalConfig as x, TailorField as xt, defineStaticWebSite as y, TailorUser as yt, AuthExternalConfig as z };
|
|
1533
|
-
//# sourceMappingURL=types-
|
|
1533
|
+
//# sourceMappingURL=types-oYFwjNuW.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="./../../user-defined.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { A as TailorDBType, xt as TailorField } from "../../types-
|
|
4
|
-
import { n as output } from "../../index-
|
|
3
|
+
import { A as TailorDBType, xt as TailorField } from "../../types-oYFwjNuW.mjs";
|
|
4
|
+
import { n as output } from "../../index-CEJUQFNe.mjs";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
|
|
7
7
|
//#region src/utils/test/index.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/sdk",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.2",
|
|
4
4
|
"description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/configure/index.mjs",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"multiline-ts": "4.0.1",
|
|
59
59
|
"open": "10.2.0",
|
|
60
60
|
"ora": "9.0.0",
|
|
61
|
-
"oxc-parser": "0.
|
|
61
|
+
"oxc-parser": "0.103.0",
|
|
62
62
|
"pkg-types": "2.3.0",
|
|
63
63
|
"p-limit": "4.0.0",
|
|
64
64
|
"rolldown": "1.0.0-beta.54",
|