@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.
@@ -1,10 +1,10 @@
1
1
  /// <reference path="./user-defined.d.ts" />
2
- import * as zod0 from "zod";
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 zod_v4_core0 from "zod/v4/core";
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: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod0.ZodAny>;
1437
- processType?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
1438
- processResolver?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
1439
- processExecutor?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
1440
- processTailorDBNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
1441
- processResolverNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
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, InferFieldsOutput as Ct, TailorDBField as D, ExecutorServiceInput as E, 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, TailorFieldType as St, ExecutorServiceConfig as T, output as Tt, defineAuth as U, AuthInvoker as V, AuthServiceInput as W, OIDC as X, OAuth2ClientInput as Y, SAML as Z, StaticWebsiteConfig as _, ResolverInput as _t, IncomingWebhookTrigger as a, UserAttributeKey as at, IdPExternalConfig as b, FieldOptions as bt, ScheduleTriggerInput as c, UsernameFieldKey as ct, AppConfig as d, AttributeMap as dt, SCIMAttributeType as et, defineConfig as f, TailorUser as ft, WorkflowServiceInput as g, Resolver as gt, WorkflowServiceConfig as h, QueryType as ht, GqlOperation as i, TenantProviderConfig as it, AllowedValues as j, TailorDBType as k, WebhookOperation as l, ValueOperand as lt, Generator as m, TailorField as mt, ExecutorInput as n, SCIMConfig as nt, RecordTrigger as o, UserAttributeListKey as ot, defineGenerators as p, unauthenticatedTailorUser 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, AttributeList as ut, defineStaticWebSite as v, ArrayFieldOutput as vt, ResolverServiceInput as w, JsonCompatible as wt, defineIdp as x, FieldOutput$1 as xt, IdPConfig as y, FieldMetadata as yt, AuthConfig as z };
1580
- //# sourceMappingURL=types-CXu6hlNC.d.mts.map
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 { k as TailorDBType, mt as TailorField } from "../../types-CXu6hlNC.mjs";
3
- import { n as output } from "../../index-DGej7NpI.mjs";
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/sdk",
3
- "version": "1.1.3",
3
+ "version": "1.2.0",
4
4
  "description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
5
5
  "license": "MIT",
6
6
  "repository": {