@tailor-platform/sdk 0.12.2 → 0.12.4
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 +14 -0
- package/dist/cli/api.d.mts +3 -2
- package/dist/cli/api.mjs +2 -2
- package/dist/cli/index.mjs +6 -7
- package/dist/cli/index.mjs.map +1 -1
- package/dist/configure/index.d.mts +2 -2
- package/dist/configure/index.mjs +1 -1
- package/dist/{index-IUg1mdFZ.d.mts → index-BjdZmtxR.d.mts} +2 -2
- package/dist/{job-B8jI-poE.mjs → job-wYkb6yMl.mjs} +1 -11
- package/dist/{job-B8jI-poE.mjs.map → job-wYkb6yMl.mjs.map} +1 -1
- package/dist/{list-DeXjmUU0.mjs → list-4T6XN_zi.mjs} +1805 -1756
- package/dist/list-4T6XN_zi.mjs.map +1 -0
- package/dist/{types-CMTHSsxH.d.mts → types-CrOeSu4i.d.mts} +14 -10
- package/dist/utils/test/index.d.mts +2 -2
- package/package.json +1 -1
- package/dist/list-DeXjmUU0.mjs.map +0 -1
|
@@ -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> = { [K in keyof T as string extends K ? never : K]: T[K] } & {};
|
|
@@ -992,7 +992,6 @@ declare class TailorDBType<const Fields extends Record<string, TailorDBField<any
|
|
|
992
992
|
readonly fields: Fields;
|
|
993
993
|
readonly _output: InferFieldsOutput<Fields>;
|
|
994
994
|
_description?: string;
|
|
995
|
-
readonly referenced: Record<string, [TailorDBType<any, any>, string]>;
|
|
996
995
|
private _settings;
|
|
997
996
|
private _indexes;
|
|
998
997
|
private _permissions;
|
|
@@ -1122,6 +1121,10 @@ declare const IdPSchema: z.core.$ZodBranded<z.ZodObject<{
|
|
|
1122
1121
|
cel: z.ZodString;
|
|
1123
1122
|
}, z.core.$strip>]>;
|
|
1124
1123
|
clients: z.ZodArray<z.ZodString>;
|
|
1124
|
+
lang: z.ZodOptional<z.ZodEnum<{
|
|
1125
|
+
en: "en";
|
|
1126
|
+
ja: "ja";
|
|
1127
|
+
}>>;
|
|
1125
1128
|
}, z.core.$strip>, "IdPConfig">;
|
|
1126
1129
|
//#endregion
|
|
1127
1130
|
//#region src/parser/service/idp/types.d.ts
|
|
@@ -1145,6 +1148,7 @@ declare function defineIdp<const TClients extends string[]>(name: string, config
|
|
|
1145
1148
|
readonly authorization: "insecure" | "loggedIn" | {
|
|
1146
1149
|
cel: string;
|
|
1147
1150
|
};
|
|
1151
|
+
readonly lang?: "en" | "ja" | undefined;
|
|
1148
1152
|
readonly clients: TClients;
|
|
1149
1153
|
} & IdpDefinitionBrand;
|
|
1150
1154
|
type IdPExternalConfig = {
|
|
@@ -1300,12 +1304,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
|
|
|
1300
1304
|
}] | {
|
|
1301
1305
|
id: string;
|
|
1302
1306
|
description: string;
|
|
1303
|
-
processType:
|
|
1304
|
-
processResolver:
|
|
1305
|
-
processExecutor:
|
|
1306
|
-
aggregate:
|
|
1307
|
-
processTailorDBNamespace?:
|
|
1308
|
-
processResolverNamespace?:
|
|
1307
|
+
processType: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1308
|
+
processResolver: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1309
|
+
processExecutor: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1310
|
+
aggregate: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod0.ZodAny>;
|
|
1311
|
+
processTailorDBNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
|
|
1312
|
+
processResolverNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
|
|
1309
1313
|
})[];
|
|
1310
1314
|
//#endregion
|
|
1311
1315
|
//#region src/parser/service/executor/schema.d.ts
|
|
@@ -1426,4 +1430,4 @@ type Executor = z.infer<typeof ExecutorSchema>;
|
|
|
1426
1430
|
type ExecutorInput = z.input<typeof ExecutorSchema>;
|
|
1427
1431
|
//#endregion
|
|
1428
1432
|
export { AllowedValues, AllowedValuesOutput, AppConfig, ArrayFieldOutput, AttributeList$1 as AttributeList, AttributeMap$1 as AttributeMap, AuthConfig, AuthExternalConfig, AuthOwnConfig, type AuthServiceInput, type BuiltinIdP, CodeGeneratorBase, Executor, ExecutorInput, ExecutorServiceConfig, ExecutorServiceInput, FieldMetadata, FieldOptions, FieldOutput, FunctionOperation, Generator, GqlOperation, type IDToken, IdPConfig, IdPExternalConfig, type IdProviderConfig, IncomingWebhookTrigger, InferFieldsOutput, type OAuth2Client, type OAuth2ClientGrantType, type OIDC, PermissionCondition, QueryType, RecordTrigger, Resolver, ResolverExecutedTrigger, ResolverExternalConfig, ResolverInput, ResolverServiceConfig, ResolverServiceInput, type SAML, type SCIMAttribute, type SCIMAttributeMapping, type SCIMAttributeType, type SCIMAuthorization, type SCIMConfig, type SCIMResource, ScheduleTriggerInput, StaticWebsiteConfig, TailorDBField, TailorDBInstance, TailorDBType, TailorDBTypeConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, type TenantProviderConfig, type UserAttributeKey, type UserAttributeListKey, type UserAttributeMap, type UsernameFieldKey, type ValueOperand, WebhookOperation, WorkflowServiceConfig, WorkflowServiceInput, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, output, unauthenticatedTailorUser };
|
|
1429
|
-
//# sourceMappingURL=types-
|
|
1433
|
+
//# sourceMappingURL=types-CrOeSu4i.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="./../../user-defined.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { TailorDBType, TailorField, TailorUser } from "../../types-
|
|
4
|
-
import { output } from "../../index-
|
|
3
|
+
import { TailorDBType, TailorField, TailorUser } from "../../types-CrOeSu4i.mjs";
|
|
4
|
+
import { output } from "../../index-BjdZmtxR.mjs";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
|
|
7
7
|
//#region src/utils/test/index.d.ts
|