@tailor-platform/sdk 0.10.0 → 0.10.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 +26 -0
- package/dist/cli/api.d.mts +1 -1
- package/dist/cli/api.mjs +1 -1
- package/dist/cli/index.mjs +1 -1
- package/dist/configure/index.d.mts +3 -3
- package/dist/{index-DxmBZtRb.d.mts → index-DyBFt3bp.d.mts} +1 -1
- package/dist/{token-BD9c1mlS.mjs → token-LAqSDm3f.mjs} +41 -15
- package/dist/{types-DcpYyMM2.d.mts → types-Dyhfh5b6.d.mts} +28 -13
- package/dist/utils/test/index.d.mts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 0.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#34](https://github.com/tailor-platform/sdk/pull/34) [`ed71900`](https://github.com/tailor-platform/sdk/commit/ed719007420794d50d26eb2a3f1f77c5bb3e60a9) Thanks [@remiposo](https://github.com/remiposo)! - Reference external resources
|
|
8
|
+
|
|
9
|
+
You can now add resources managed by Terraform or other SDK projects to your application's subgraph for shared use.
|
|
10
|
+
In this case, the resources themselves are not deployed.
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
defineConfig({
|
|
14
|
+
name: "ref-app",
|
|
15
|
+
db: {
|
|
16
|
+
"shared-db": { external: true },
|
|
17
|
+
},
|
|
18
|
+
resolver: { "shared-resolver": { external: true } },
|
|
19
|
+
auth: { name: "shared-auth", external: true },
|
|
20
|
+
idp: [{ name: "shared-idp", external: true }],
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
- [#36](https://github.com/tailor-platform/sdk/pull/36) [`00701da`](https://github.com/tailor-platform/sdk/commit/00701da46ceb9624b58c123fcf0ff19e4dc513f5) Thanks [@remiposo](https://github.com/remiposo)! - Allow specifying the path where types are generated
|
|
25
|
+
|
|
26
|
+
By default, types are generated inside `node_modules/@tailor-platform/sdk` based on env and attribute settings, but you can now change the path with `TAILOR_PLATFORM_SDK_TYPE_PATH`.
|
|
27
|
+
This is primarily an option for developers, preventing type definitions from being overridden when working with multiple SDK projects simultaneously.
|
|
28
|
+
|
|
3
29
|
## 0.10.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/dist/cli/api.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./../plugin-generated.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { AppConfig, CodeGeneratorBase, Executor, Generator, Resolver, TailorDBTypeConfig } from "../types-
|
|
3
|
+
import { AppConfig, CodeGeneratorBase, Executor, Generator, Resolver, TailorDBTypeConfig } from "../types-Dyhfh5b6.mjs";
|
|
4
4
|
import "citty";
|
|
5
5
|
import "zod";
|
|
6
6
|
import "@bufbuild/protobuf/wkt";
|
package/dist/cli/api.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { apply, generate, generateUserTypes, loadConfig, machineUserList, machineUserToken, show, workspaceCreate, workspaceDelete, workspaceList } from "../token-
|
|
1
|
+
import { apply, generate, generateUserTypes, loadConfig, machineUserList, machineUserToken, show, workspaceCreate, workspaceDelete, workspaceList } from "../token-LAqSDm3f.mjs";
|
|
2
2
|
import "../auth-Di3vQUrT.mjs";
|
|
3
3
|
|
|
4
4
|
export { apply, generate, generateUserTypes, loadConfig, machineUserList, machineUserToken, show, workspaceCreate, workspaceDelete, workspaceList };
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { PATScope, applyCommand, commonArgs, createCommand, deleteCommand, fetchAll, fetchLatestToken, formatArgs, generateCommand, initOperatorClient, listCommand as listCommand$4, listCommand$1 as listCommand, loadAccessToken, loadConfig, loadConfigPath, loadWorkspaceId, parseFormat, printWithFormat, readPackageJson, readPlatformConfig, showCommand, tokenCommand, userAgent, withCommonArgs, writePlatformConfig } from "../token-
|
|
2
|
+
import { PATScope, applyCommand, commonArgs, createCommand, deleteCommand, fetchAll, fetchLatestToken, formatArgs, generateCommand, initOperatorClient, listCommand as listCommand$4, listCommand$1 as listCommand, loadAccessToken, loadConfig, loadConfigPath, loadWorkspaceId, parseFormat, printWithFormat, readPackageJson, readPlatformConfig, showCommand, tokenCommand, userAgent, withCommonArgs, writePlatformConfig } from "../token-LAqSDm3f.mjs";
|
|
3
3
|
import "../auth-Di3vQUrT.mjs";
|
|
4
4
|
import { register } from "node:module";
|
|
5
5
|
import { defineCommand, runCommand, runMain } from "citty";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./../plugin-generated.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { AuthConfig, AuthServiceInput, BuiltinIdP, ExecutorServiceConfig, ExecutorServiceInput, IDToken, IdPConfig, IdProviderConfig, OAuth2Client, OAuth2ClientGrantType, OIDC, PermissionCondition, QueryType, Resolver, ResolverServiceConfig, ResolverServiceInput, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, StaticWebsiteConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProviderConfig, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, unauthenticatedTailorUser } from "../types-
|
|
4
|
-
import { FunctionOperation, GqlOperation, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookTrigger, Operation, RecordCreatedArgs, RecordDeletedArgs, RecordTrigger, RecordUpdatedArgs, ResolverExecutedArgs, ResolverExecutedTrigger, ScheduleTrigger, Trigger, WebhookOperation, createExecutor, createResolver, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t } from "../index-
|
|
5
|
-
export { AuthConfig, AuthServiceInput, BuiltinIdP, ExecutorServiceConfig, ExecutorServiceInput, FunctionOperation, GqlOperation, IDToken, IdPConfig, IdProviderConfig, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookTrigger, OAuth2Client, OAuth2ClientGrantType, OIDC, Operation, PermissionCondition, QueryType, RecordCreatedArgs, RecordDeletedArgs, RecordTrigger, RecordUpdatedArgs, Resolver, ResolverExecutedArgs, ResolverExecutedTrigger, ResolverServiceConfig, ResolverServiceInput, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, ScheduleTrigger, StaticWebsiteConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProviderConfig, Trigger, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, WebhookOperation, createExecutor, createResolver, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser };
|
|
3
|
+
import { AuthConfig, AuthExternalConfig, AuthOwnConfig, AuthServiceInput, BuiltinIdP, ExecutorServiceConfig, ExecutorServiceInput, IDToken, IdPConfig, IdPExternalConfig, IdProviderConfig, OAuth2Client, OAuth2ClientGrantType, OIDC, PermissionCondition, QueryType, Resolver, ResolverExternalConfig, ResolverServiceConfig, ResolverServiceInput, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, StaticWebsiteConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProviderConfig, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, unauthenticatedTailorUser } from "../types-Dyhfh5b6.mjs";
|
|
4
|
+
import { FunctionOperation, GqlOperation, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookTrigger, Operation, RecordCreatedArgs, RecordDeletedArgs, RecordTrigger, RecordUpdatedArgs, ResolverExecutedArgs, ResolverExecutedTrigger, ScheduleTrigger, Trigger, WebhookOperation, createExecutor, createResolver, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t } from "../index-DyBFt3bp.mjs";
|
|
5
|
+
export { AuthConfig, AuthExternalConfig, AuthOwnConfig, AuthServiceInput, BuiltinIdP, ExecutorServiceConfig, ExecutorServiceInput, FunctionOperation, GqlOperation, IDToken, IdPConfig, IdPExternalConfig, IdProviderConfig, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookTrigger, 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, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProviderConfig, Trigger, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, WebhookOperation, createExecutor, createResolver, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./plugin-generated.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { AllowedValues, AllowedValuesOutput, ArrayFieldOutput, ExecutorInput, FieldMetadata, FieldOptions, FieldOutput, FunctionOperation, GqlOperation, IncomingWebhookTrigger as IncomingWebhookTrigger$1, InferFieldsOutput, RecordTrigger as RecordTrigger$1, ResolverExecutedTrigger as ResolverExecutedTrigger$1, ResolverInput, ScheduleTriggerInput, TailorDBType, TailorField, TailorUser, WebhookOperation, output as output$1 } from "./types-
|
|
3
|
+
import { AllowedValues, AllowedValuesOutput, ArrayFieldOutput, ExecutorInput, FieldMetadata, FieldOptions, FieldOutput, FunctionOperation, GqlOperation, IncomingWebhookTrigger as IncomingWebhookTrigger$1, InferFieldsOutput, RecordTrigger as RecordTrigger$1, ResolverExecutedTrigger as ResolverExecutedTrigger$1, ResolverInput, ScheduleTriggerInput, TailorDBType, TailorField, TailorUser, WebhookOperation, output as output$1 } from "./types-Dyhfh5b6.mjs";
|
|
4
4
|
import { EmptyObject } from "type-fest";
|
|
5
5
|
import { Client } from "@urql/core";
|
|
6
6
|
import { StandardCRON } from "ts-cron-validator";
|
|
@@ -509,34 +509,41 @@ var Application = class {
|
|
|
509
509
|
defineTailorDB(config) {
|
|
510
510
|
if (!config) return;
|
|
511
511
|
for (const [namespace, serviceConfig] of Object.entries(config)) {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
512
|
+
if (!("external" in serviceConfig)) {
|
|
513
|
+
const tailorDB = new TailorDBService(namespace, serviceConfig);
|
|
514
|
+
this._tailorDBServices.push(tailorDB);
|
|
515
|
+
}
|
|
516
|
+
this.addSubgraph("tailordb", namespace);
|
|
515
517
|
}
|
|
516
518
|
}
|
|
517
519
|
defineResolver(config) {
|
|
518
520
|
if (!config) return;
|
|
519
521
|
for (const [namespace, serviceConfig] of Object.entries(config)) {
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
522
|
+
if (!("external" in serviceConfig)) {
|
|
523
|
+
const resolverService = new ResolverService(namespace, serviceConfig);
|
|
524
|
+
this._resolverServices.push(resolverService);
|
|
525
|
+
}
|
|
526
|
+
this.addSubgraph("pipeline", namespace);
|
|
523
527
|
}
|
|
524
528
|
}
|
|
525
529
|
defineIdp(config) {
|
|
530
|
+
if (!config) return;
|
|
526
531
|
const idpNames = /* @__PURE__ */ new Set();
|
|
527
|
-
|
|
528
|
-
const
|
|
529
|
-
if (idpNames.has(
|
|
530
|
-
idpNames.add(
|
|
531
|
-
|
|
532
|
-
|
|
532
|
+
config.forEach((idpConfig) => {
|
|
533
|
+
const name = idpConfig.name;
|
|
534
|
+
if (idpNames.has(name)) throw new Error(`IdP with name "${name}" already defined.`);
|
|
535
|
+
idpNames.add(name);
|
|
536
|
+
if (!("external" in idpConfig)) {
|
|
537
|
+
const idp = IdPSchema.parse(idpConfig);
|
|
538
|
+
this._idpServices.push(idp);
|
|
539
|
+
}
|
|
540
|
+
this.addSubgraph("idp", name);
|
|
533
541
|
});
|
|
534
542
|
}
|
|
535
543
|
defineAuth(config) {
|
|
536
544
|
if (!config) return;
|
|
537
|
-
|
|
538
|
-
this.
|
|
539
|
-
this.addSubgraph("auth", authService.config.name);
|
|
545
|
+
if (!("external" in config)) this._authService = new AuthService(config, this.tailorDBServices);
|
|
546
|
+
this.addSubgraph("auth", config.name);
|
|
540
547
|
}
|
|
541
548
|
defineExecutor(config) {
|
|
542
549
|
if (!config) return;
|
|
@@ -1600,6 +1607,7 @@ ${mapFields}
|
|
|
1600
1607
|
${envFields}
|
|
1601
1608
|
}`;
|
|
1602
1609
|
return ml`
|
|
1610
|
+
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
1603
1611
|
// This file is auto-generated by @tailor-platform/sdk
|
|
1604
1612
|
// Do not edit this file manually
|
|
1605
1613
|
// Regenerated automatically when running 'tailor-sdk apply' or 'tailor-sdk generate'
|
|
@@ -1645,6 +1653,8 @@ function collectAttributesFromConfig(config) {
|
|
|
1645
1653
|
return {};
|
|
1646
1654
|
}
|
|
1647
1655
|
function resolveTypeDefinitionPath(configPath) {
|
|
1656
|
+
const typePath = process.env.TAILOR_PLATFORM_SDK_TYPE_PATH;
|
|
1657
|
+
if (typePath) return path.resolve(process.cwd(), typePath);
|
|
1648
1658
|
const configDir = path.dirname(path.resolve(configPath));
|
|
1649
1659
|
const packageDir = resolvePackageDirectory(configDir);
|
|
1650
1660
|
if (!packageDir) return path.join(configDir, "node_modules", "@tailor-platform", "sdk", "dist", "plugin-generated.d.ts");
|
|
@@ -2645,6 +2655,22 @@ async function planApplication({ client, workspaceId, application }) {
|
|
|
2645
2655
|
authNamespace = application.authService.config.name;
|
|
2646
2656
|
const idProvider = application.authService.config.idProvider;
|
|
2647
2657
|
if (idProvider) authIdpConfigName = idProvider.name;
|
|
2658
|
+
} else if (application.config.auth) {
|
|
2659
|
+
authNamespace = application.config.auth.name;
|
|
2660
|
+
const idpConfigs = await fetchAll(async (pageToken) => {
|
|
2661
|
+
try {
|
|
2662
|
+
const { idpConfigs: idpConfigs$1, nextPageToken } = await client.listAuthIDPConfigs({
|
|
2663
|
+
workspaceId,
|
|
2664
|
+
namespaceName: authNamespace,
|
|
2665
|
+
pageToken
|
|
2666
|
+
});
|
|
2667
|
+
return [idpConfigs$1, nextPageToken];
|
|
2668
|
+
} catch (error) {
|
|
2669
|
+
if (error instanceof ConnectError && error.code === Code.NotFound) return [[], ""];
|
|
2670
|
+
throw error;
|
|
2671
|
+
}
|
|
2672
|
+
});
|
|
2673
|
+
if (idpConfigs.length > 0) authIdpConfigName = idpConfigs[0].name;
|
|
2648
2674
|
}
|
|
2649
2675
|
const metaRequest = await buildMetaRequest(trn$6(workspaceId, application.name), application.name);
|
|
2650
2676
|
if (existingApplications.some((app) => app.name === application.name)) changeSet.updates.push({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="./plugin-generated.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] } & {};
|
|
@@ -617,7 +617,12 @@ declare function defineAuth<const Name extends string, const User extends Tailor
|
|
|
617
617
|
readonly scim?: SCIMConfig;
|
|
618
618
|
readonly tenantProvider?: TenantProviderConfig;
|
|
619
619
|
} & AuthDefinitionBrand;
|
|
620
|
-
type
|
|
620
|
+
type AuthExternalConfig = {
|
|
621
|
+
name: string;
|
|
622
|
+
external: true;
|
|
623
|
+
};
|
|
624
|
+
type AuthOwnConfig = ReturnType<typeof defineAuth<string, any, any, any, string>>;
|
|
625
|
+
type AuthConfig = AuthOwnConfig | AuthExternalConfig;
|
|
621
626
|
//#endregion
|
|
622
627
|
//#region src/configure/services/tailordb/permission.d.ts
|
|
623
628
|
interface Permissions {
|
|
@@ -758,8 +763,11 @@ type TailorDBServiceConfig = {
|
|
|
758
763
|
files: string[];
|
|
759
764
|
ignores?: string[];
|
|
760
765
|
};
|
|
766
|
+
type TailorDBExternalConfig = {
|
|
767
|
+
external: true;
|
|
768
|
+
};
|
|
761
769
|
type TailorDBServiceInput = {
|
|
762
|
-
[namespace: string]: TailorDBServiceConfig;
|
|
770
|
+
[namespace: string]: TailorDBServiceConfig | TailorDBExternalConfig;
|
|
763
771
|
};
|
|
764
772
|
type IndexDef<T extends {
|
|
765
773
|
fields: Record<PropertyKey, unknown>;
|
|
@@ -1103,8 +1111,11 @@ type ResolverServiceConfig = {
|
|
|
1103
1111
|
files: string[];
|
|
1104
1112
|
ignores?: string[];
|
|
1105
1113
|
};
|
|
1114
|
+
type ResolverExternalConfig = {
|
|
1115
|
+
external: true;
|
|
1116
|
+
};
|
|
1106
1117
|
type ResolverServiceInput = {
|
|
1107
|
-
[namespace: string]: ResolverServiceConfig;
|
|
1118
|
+
[namespace: string]: ResolverServiceConfig | ResolverExternalConfig;
|
|
1108
1119
|
};
|
|
1109
1120
|
//#endregion
|
|
1110
1121
|
//#region src/parser/service/idp/schema.d.ts
|
|
@@ -1139,7 +1150,11 @@ declare function defineIdp<const TClients extends string[]>(name: string, config
|
|
|
1139
1150
|
};
|
|
1140
1151
|
readonly clients: TClients;
|
|
1141
1152
|
} & IdpDefinitionBrand;
|
|
1142
|
-
type
|
|
1153
|
+
type IdPExternalConfig = {
|
|
1154
|
+
name: string;
|
|
1155
|
+
external: true;
|
|
1156
|
+
};
|
|
1157
|
+
type IdPConfig = Omit<ReturnType<typeof defineIdp>, "provider"> | IdPExternalConfig;
|
|
1143
1158
|
//#endregion
|
|
1144
1159
|
//#region src/parser/service/staticwebsite/schema.d.ts
|
|
1145
1160
|
declare const StaticWebsiteSchema: z.core.$ZodBranded<z.ZodObject<{
|
|
@@ -1278,12 +1293,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
|
|
|
1278
1293
|
}] | {
|
|
1279
1294
|
id: string;
|
|
1280
1295
|
description: string;
|
|
1281
|
-
processType:
|
|
1282
|
-
processResolver:
|
|
1283
|
-
processExecutor:
|
|
1284
|
-
aggregate:
|
|
1285
|
-
processTailorDBNamespace?:
|
|
1286
|
-
processResolverNamespace?:
|
|
1296
|
+
processType: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1297
|
+
processResolver: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1298
|
+
processExecutor: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
|
|
1299
|
+
aggregate: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod0.ZodAny>;
|
|
1300
|
+
processTailorDBNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
|
|
1301
|
+
processResolverNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
|
|
1287
1302
|
})[];
|
|
1288
1303
|
//#endregion
|
|
1289
1304
|
//#region src/parser/service/executor/schema.d.ts
|
|
@@ -1403,4 +1418,4 @@ type WebhookOperation = z.infer<typeof WebhookOperationSchema>;
|
|
|
1403
1418
|
type Executor = z.infer<typeof ExecutorSchema>;
|
|
1404
1419
|
type ExecutorInput = z.input<typeof ExecutorSchema>;
|
|
1405
1420
|
//#endregion
|
|
1406
|
-
export { AllowedValues, AllowedValuesOutput, AppConfig, ArrayFieldOutput, AuthConfig, type AuthServiceInput, type BuiltinIdP, CodeGeneratorBase, Executor, ExecutorInput, ExecutorServiceConfig, ExecutorServiceInput, FieldMetadata, FieldOptions, FieldOutput, FunctionOperation, Generator, GqlOperation, type IDToken, IdPConfig, type IdProviderConfig, IncomingWebhookTrigger, InferFieldsOutput, type OAuth2Client, type OAuth2ClientGrantType, type OIDC, PermissionCondition, QueryType, RecordTrigger, Resolver, ResolverExecutedTrigger, ResolverInput, ResolverServiceConfig, ResolverServiceInput, type SAML, type SCIMAttribute, type SCIMAttributeMapping, type SCIMAttributeType, type SCIMAuthorization, type SCIMConfig, type SCIMResource, ScheduleTriggerInput, StaticWebsiteConfig, TailorDBType, TailorDBTypeConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, type TenantProviderConfig, type UserAttributeKey, type UserAttributeListKey, type UserAttributeMap, type UsernameFieldKey, type ValueOperand, WebhookOperation, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, output, unauthenticatedTailorUser };
|
|
1421
|
+
export { AllowedValues, AllowedValuesOutput, AppConfig, ArrayFieldOutput, 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, TailorDBType, TailorDBTypeConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, type TenantProviderConfig, type UserAttributeKey, type UserAttributeListKey, type UserAttributeMap, type UsernameFieldKey, type ValueOperand, WebhookOperation, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, output, unauthenticatedTailorUser };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="./../../plugin-generated.d.ts" />
|
|
2
2
|
|
|
3
|
-
import { TailorDBType, TailorField, TailorUser } from "../../types-
|
|
4
|
-
import { output } from "../../index-
|
|
3
|
+
import { TailorDBType, TailorField, TailorUser } from "../../types-Dyhfh5b6.mjs";
|
|
4
|
+
import { output } from "../../index-DyBFt3bp.mjs";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
|
|
7
7
|
//#region src/utils/test/index.d.ts
|