@tailor-platform/sdk 1.1.3 → 1.2.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 +34 -0
- package/dist/cli/index.mjs +35 -27
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +1 -2
- package/dist/cli/lib.mjs +1 -1
- package/dist/configure/index.d.mts +3 -3
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{index-DGej7NpI.d.mts → index-Dz4RseTN.d.mts} +30 -26
- package/dist/{list-BticEhbi.mjs → list-9sLkfPfn.mjs} +239 -140
- package/dist/list-9sLkfPfn.mjs.map +1 -0
- package/dist/{types-CXu6hlNC.d.mts → types-QjDcgdOy.d.mts} +17 -12
- package/dist/utils/test/index.d.mts +2 -2
- package/package.json +1 -1
- package/dist/list-BticEhbi.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference path="./user-defined.d.ts" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as zod38 from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as type_fest0 from "type-fest";
|
|
5
5
|
import { IsAny, NonEmptyObject } from "type-fest";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
|
-
import * as
|
|
7
|
+
import * as zod_v4_core33 from "zod/v4/core";
|
|
8
8
|
|
|
9
9
|
//#region src/configure/types/helpers.d.ts
|
|
10
10
|
type Prettify<T$1> = { [K in keyof T$1 as string extends K ? never : K]: T$1[K] } & {};
|
|
@@ -305,6 +305,11 @@ type TailorUser = {
|
|
|
305
305
|
/** Represents an unauthenticated user in the Tailor platform. */
|
|
306
306
|
declare const unauthenticatedTailorUser: TailorUser;
|
|
307
307
|
//#endregion
|
|
308
|
+
//#region src/configure/types/env.d.ts
|
|
309
|
+
interface Env {}
|
|
310
|
+
/** Represents environment variables in the Tailor platform. */
|
|
311
|
+
type TailorEnv = keyof Env extends never ? Record<string, string> : Env;
|
|
312
|
+
//#endregion
|
|
308
313
|
//#region src/parser/service/auth/schema.d.ts
|
|
309
314
|
declare const AuthInvokerSchema: z.ZodObject<{
|
|
310
315
|
namespace: z.ZodString;
|
|
@@ -1405,9 +1410,9 @@ type CodeGeneratorBase = Omit<z.output<typeof CodeGeneratorSchema>, "dependencie
|
|
|
1405
1410
|
};
|
|
1406
1411
|
//#endregion
|
|
1407
1412
|
//#region src/configure/config.d.ts
|
|
1408
|
-
interface AppConfig<Auth extends AuthConfig = AuthConfig, Idp extends IdPConfig[] = IdPConfig[], StaticWebsites extends StaticWebsiteConfig[] = StaticWebsiteConfig[], Env extends Record<string, string | number | boolean> = Record<string, string | number | boolean>> {
|
|
1413
|
+
interface AppConfig<Auth extends AuthConfig = AuthConfig, Idp extends IdPConfig[] = IdPConfig[], StaticWebsites extends StaticWebsiteConfig[] = StaticWebsiteConfig[], Env$1 extends Record<string, string | number | boolean> = Record<string, string | number | boolean>> {
|
|
1409
1414
|
name: string;
|
|
1410
|
-
env?: Env;
|
|
1415
|
+
env?: Env$1;
|
|
1411
1416
|
cors?: string[];
|
|
1412
1417
|
allowedIpAddresses?: string[];
|
|
1413
1418
|
disableIntrospection?: boolean;
|
|
@@ -1433,12 +1438,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
|
|
|
1433
1438
|
id: string;
|
|
1434
1439
|
description: string;
|
|
1435
1440
|
dependencies: ("tailordb" | "resolver" | "executor")[];
|
|
1436
|
-
aggregate:
|
|
1437
|
-
processType?:
|
|
1438
|
-
processResolver?:
|
|
1439
|
-
processExecutor?:
|
|
1440
|
-
processTailorDBNamespace?:
|
|
1441
|
-
processResolverNamespace?:
|
|
1441
|
+
aggregate: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod38.ZodAny>;
|
|
1442
|
+
processType?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1443
|
+
processResolver?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1444
|
+
processExecutor?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1445
|
+
processTailorDBNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1446
|
+
processResolverNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1442
1447
|
})[];
|
|
1443
1448
|
//#endregion
|
|
1444
1449
|
//#region src/parser/service/executor/schema.d.ts
|
|
@@ -1576,5 +1581,5 @@ type WorkflowOperation = z.infer<typeof WorkflowOperationSchema>;
|
|
|
1576
1581
|
type Executor = z.infer<typeof ExecutorSchema>;
|
|
1577
1582
|
type ExecutorInput = z.input<typeof ExecutorSchema>;
|
|
1578
1583
|
//#endregion
|
|
1579
|
-
export { SCIMAttributeMapping as $, db as A, AuthExternalConfig as B, ResolverServiceConfig as C,
|
|
1580
|
-
//# sourceMappingURL=types-
|
|
1584
|
+
export { SCIMAttributeMapping as $, db as A, AuthExternalConfig as B, ResolverServiceConfig as C, FieldOutput$1 as Ct, TailorDBField as D, output as Dt, ExecutorServiceInput as E, JsonCompatible as Et, TailorTypeGqlPermission as F, BuiltinIdP as G, AuthOwnConfig as H, TailorTypePermission as I, OAuth2ClientGrantType as J, IDToken as K, unsafeAllowAllGqlPermission as L, AllowedValuesOutput as M, ParsedTailorDBType as N, TailorDBInstance as O, PermissionCondition as P, SCIMAttribute as Q, unsafeAllowAllTypePermission as R, ResolverExternalConfig as S, FieldOptions as St, ExecutorServiceConfig as T, InferFieldsOutput as Tt, defineAuth as U, AuthInvoker as V, AuthServiceInput as W, OIDC as X, OAuth2ClientInput as Y, SAML as Z, StaticWebsiteConfig as _, QueryType as _t, IncomingWebhookTrigger as a, UserAttributeKey as at, IdPExternalConfig as b, ArrayFieldOutput as bt, ScheduleTriggerInput as c, UsernameFieldKey as ct, AppConfig as d, TailorEnv as dt, SCIMAttributeType as et, defineConfig as f, AttributeList as ft, WorkflowServiceInput as g, TailorField as gt, WorkflowServiceConfig as h, unauthenticatedTailorUser as ht, GqlOperation as i, TenantProviderConfig as it, AllowedValues as j, TailorDBType as k, WebhookOperation as l, ValueOperand as lt, Generator as m, TailorUser as mt, ExecutorInput as n, SCIMConfig as nt, RecordTrigger as o, UserAttributeListKey as ot, defineGenerators as p, AttributeMap as pt, IdProviderConfig as q, FunctionOperation as r, SCIMResource as rt, ResolverExecutedTrigger as s, UserAttributeMap as st, Executor as t, SCIMAuthorization as tt, WorkflowOperation as u, Env as ut, defineStaticWebSite as v, Resolver as vt, ResolverServiceInput as w, TailorFieldType as wt, defineIdp as x, FieldMetadata as xt, IdPConfig as y, ResolverInput as yt, AuthConfig as z };
|
|
1585
|
+
//# sourceMappingURL=types-QjDcgdOy.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./../../user-defined.d.ts" />
|
|
2
|
-
import {
|
|
3
|
-
import { n as output } from "../../index-
|
|
2
|
+
import { gt as TailorField, k as TailorDBType } from "../../types-QjDcgdOy.mjs";
|
|
3
|
+
import { n as output } from "../../index-Dz4RseTN.mjs";
|
|
4
4
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/test/index.d.ts
|