@tailor-platform/sdk 1.15.0 → 1.15.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 +14 -0
- package/dist/{application-DPunZ4lc.mjs → application-DLUgR1gv.mjs} +19 -4
- package/dist/application-DLUgR1gv.mjs.map +1 -0
- package/dist/application-DhvHS3pX.mjs +4 -0
- package/dist/cli/index.mjs +136 -2
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +3 -2
- package/dist/cli/lib.mjs +2 -2
- package/dist/configure/index.d.mts +3 -3
- package/dist/{index-Bs9AsQb2.d.mts → index-Bg_UJxhL.d.mts} +11 -11
- package/dist/{index-DomkP6gz.d.mts → index-pQbghcVa.d.mts} +2 -2
- package/dist/plugin/index.d.mts +1 -1
- package/dist/{types-Db1oxr0U.d.mts → types-BZRw-Iys.d.mts} +43 -43
- package/dist/{update-C_ZTRB63.mjs → update-70uX2TDG.mjs} +34 -22
- package/dist/update-70uX2TDG.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +3 -3
- package/docs/cli/function.md +64 -0
- package/docs/cli-reference.md +8 -0
- package/package.json +1 -1
- package/dist/application-DPunZ4lc.mjs.map +0 -1
- package/dist/application-JwJ_-_PQ.mjs +0 -4
- package/dist/update-C_ZTRB63.mjs.map +0 -1
package/dist/cli/lib.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference path="./../user-defined.d.ts" />
|
|
2
|
-
import { F as Plugin, I as PluginAttachment, d as IdProviderConfig, lt as Resolver, n as TypeSourceInfoEntry, p as OAuth2ClientInput, t as TailorDBType } from "../types-
|
|
3
|
-
import { C as ScheduleTriggerInput, b as IncomingWebhookTrigger, p as Executor, r as AppConfig, t as Generator } from "../index-
|
|
2
|
+
import { F as Plugin, I as PluginAttachment, d as IdProviderConfig, lt as Resolver, n as TypeSourceInfoEntry, p as OAuth2ClientInput, t as TailorDBType } from "../types-BZRw-Iys.mjs";
|
|
3
|
+
import { C as ScheduleTriggerInput, b as IncomingWebhookTrigger, p as Executor, r as AppConfig, t as Generator } from "../index-pQbghcVa.mjs";
|
|
4
|
+
import "politty";
|
|
4
5
|
import { z } from "zod";
|
|
5
6
|
import { OAuth2Client } from "@badgateway/oauth2-client";
|
|
6
7
|
import { Duration, FieldMask, Timestamp, Value } from "@bufbuild/protobuf/wkt";
|
package/dist/cli/lib.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-GMkBE123.mjs";
|
|
2
2
|
import "../schema-DRYB-nzA.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { f as logger } from "../application-
|
|
3
|
+
import { At as getMigrationDirPath, B as getMachineUserToken, Bt as getNamespacesWithMigrations, Ct as MIGRATE_FILE_NAME, D as truncate, Dt as createSnapshotFromLocalTypes, E as listWorkflows, Et as compareSnapshots, Gt as apiCall, Ht as generateUserTypes, It as reconstructSnapshotFromMigrations, Jt as loadAccessToken, K as listWebhookExecutors, L as listOAuth2Clients, Lt as formatDiffSummary, M as show, Mt as getMigrationFiles, Nt as getNextMigrationNumber, P as remove, Q as getExecutorJob, Rt as formatMigrationDiff, St as INITIAL_SCHEMA_NUMBER, Tt as compareLocalTypesWithSnapshot, U as listMachineUsers, Ut as loadConfig, W as generate, Wt as getDistDir, Y as triggerExecutor, Yt as loadWorkspaceId, Z as listExecutors, _t as MIGRATION_LABEL_KEY, at as getWorkflow, bt as DB_TYPES_FILE_NAME, c as inviteUser, ct as listWorkflowExecutions, et as listExecutorJobs, f as listWorkspaces, ft as getExecutor, g as deleteWorkspace, gt as waitForExecution, ht as executeScript, i as removeUser, jt as getMigrationFilePath, k as generate$1, kt as getLatestMigrationNumber, m as getWorkspace, n as updateUser, o as listUsers, pt as apply, rt as startWorkflow, st as getWorkflowExecution, tn as initOperatorClient, tt as watchExecutorJob, u as restoreWorkspace, v as createWorkspace, w as resumeWorkflow, wt as SCHEMA_FILE_NAME, x as getAppHealth, xt as DIFF_FILE_NAME, y as listApps, yt as bundleMigrationScript, z as getOAuth2Client, zt as hasChanges } from "../update-70uX2TDG.mjs";
|
|
4
|
+
import { f as logger } from "../application-DLUgR1gv.mjs";
|
|
5
5
|
import { createRequire, register } from "node:module";
|
|
6
6
|
import * as fs$1 from "node:fs";
|
|
7
7
|
import * as path from "pathe";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./../user-defined.d.ts" />
|
|
2
|
-
import { $ as unsafeAllowAllTypePermission, A as TailorDBField, B as PluginGeneratedExecutor, C as UserAttributeKey, Ct as unauthenticatedTailorUser, D as ValueOperand, E as UsernameFieldKey, F as Plugin, G as PluginOutput, H as PluginGeneratedResolver, I as PluginAttachment, J as TypePluginOutput, K as PluginProcessContext, L as PluginConfigs, M as TailorDBType, N as db, O as TailorAnyDBField, P as NamespacePluginOutput, Q as unsafeAllowAllGqlPermission, R as PluginExecutorContext, S as TenantProviderConfig, St as TailorUser, T as UserAttributeMap, U as PluginGeneratedType, V as PluginGeneratedExecutorWithFile, W as PluginNamespaceProcessContext, X as TailorTypeGqlPermission, Y as PermissionCondition, Z as TailorTypePermission, _ as SCIMAttributeMapping, _t as Env, b as SCIMConfig, bt as AttributeList, c as BuiltinIdP, ct as QueryType, d as IdProviderConfig, f as OAuth2ClientGrantType, ft as ResolverServiceConfig, g as SCIMAttribute, h as SAML, i as AuthExternalConfig, j as TailorDBInstance, k as TailorAnyDBType, l as DefinedAuth, lt as Resolver, m as OIDC, o as AuthOwnConfig, p as OAuth2ClientInput, pt as ResolverServiceInput, q as TailorDBTypeForPlugin, r as AuthConfig, s as AuthServiceInput, st as TailorField, u as IDToken, ut as ResolverExternalConfig, v as SCIMAttributeType, w as UserAttributeListKey, x as SCIMResource, xt as AttributeMap, y as SCIMAuthorization, z as PluginExecutorContextBase } from "../types-
|
|
3
|
-
import { a as IdPExternalConfig, c as WorkflowServiceConfig, d as defineStaticWebSite, g as ExecutorServiceInput, h as ExecutorServiceConfig, i as IdPConfig, l as WorkflowServiceInput, u as StaticWebsiteConfig } from "../index-
|
|
4
|
-
import { $ as defineAuth, A as idpUserCreatedTrigger, B as WebhookOperation, C as RecordTrigger, D as authAccessTokenIssuedTrigger, E as ResolverExecutedTrigger, F as recordUpdatedTrigger, G as WORKFLOW_TEST_ENV_KEY, H as Workflow, I as resolverExecutedTrigger, J as WorkflowJobInput, K as WorkflowJob, L as FunctionOperation, M as idpUserUpdatedTrigger, N as recordCreatedTrigger, O as authAccessTokenRefreshedTrigger, P as recordDeletedTrigger, Q as AuthInvoker, R as GqlOperation, S as RecordDeletedArgs, T as ResolverExecutedArgs, U as WorkflowConfig, V as WorkflowOperation, W as createWorkflow, X as createWorkflowJob, Y as WorkflowJobOutput, Z as createResolver, _ as AuthAccessTokenArgs, a as defineGenerators, b as IdpUserTrigger, c as createExecutor, d as IncomingWebhookRequest, f as IncomingWebhookTrigger, g as scheduleTrigger, h as ScheduleTrigger, i as defineConfig, j as idpUserDeletedTrigger, k as authAccessTokenRevokedTrigger, l as Trigger, m as ScheduleArgs, n as output, o as definePlugins, p as incomingWebhookTrigger, q as WorkflowJobContext, r as t, s as defineIdp, t as infer, u as IncomingWebhookArgs, v as AuthAccessTokenTrigger, w as RecordUpdatedArgs, x as RecordCreatedArgs, y as IdpUserArgs, z as Operation } from "../index-
|
|
2
|
+
import { $ as unsafeAllowAllTypePermission, A as TailorDBField, B as PluginGeneratedExecutor, C as UserAttributeKey, Ct as unauthenticatedTailorUser, D as ValueOperand, E as UsernameFieldKey, F as Plugin, G as PluginOutput, H as PluginGeneratedResolver, I as PluginAttachment, J as TypePluginOutput, K as PluginProcessContext, L as PluginConfigs, M as TailorDBType, N as db, O as TailorAnyDBField, P as NamespacePluginOutput, Q as unsafeAllowAllGqlPermission, R as PluginExecutorContext, S as TenantProviderConfig, St as TailorUser, T as UserAttributeMap, U as PluginGeneratedType, V as PluginGeneratedExecutorWithFile, W as PluginNamespaceProcessContext, X as TailorTypeGqlPermission, Y as PermissionCondition, Z as TailorTypePermission, _ as SCIMAttributeMapping, _t as Env, b as SCIMConfig, bt as AttributeList, c as BuiltinIdP, ct as QueryType, d as IdProviderConfig, f as OAuth2ClientGrantType, ft as ResolverServiceConfig, g as SCIMAttribute, h as SAML, i as AuthExternalConfig, j as TailorDBInstance, k as TailorAnyDBType, l as DefinedAuth, lt as Resolver, m as OIDC, o as AuthOwnConfig, p as OAuth2ClientInput, pt as ResolverServiceInput, q as TailorDBTypeForPlugin, r as AuthConfig, s as AuthServiceInput, st as TailorField, u as IDToken, ut as ResolverExternalConfig, v as SCIMAttributeType, w as UserAttributeListKey, x as SCIMResource, xt as AttributeMap, y as SCIMAuthorization, z as PluginExecutorContextBase } from "../types-BZRw-Iys.mjs";
|
|
3
|
+
import { a as IdPExternalConfig, c as WorkflowServiceConfig, d as defineStaticWebSite, g as ExecutorServiceInput, h as ExecutorServiceConfig, i as IdPConfig, l as WorkflowServiceInput, u as StaticWebsiteConfig } from "../index-pQbghcVa.mjs";
|
|
4
|
+
import { $ as defineAuth, A as idpUserCreatedTrigger, B as WebhookOperation, C as RecordTrigger, D as authAccessTokenIssuedTrigger, E as ResolverExecutedTrigger, F as recordUpdatedTrigger, G as WORKFLOW_TEST_ENV_KEY, H as Workflow, I as resolverExecutedTrigger, J as WorkflowJobInput, K as WorkflowJob, L as FunctionOperation, M as idpUserUpdatedTrigger, N as recordCreatedTrigger, O as authAccessTokenRefreshedTrigger, P as recordDeletedTrigger, Q as AuthInvoker, R as GqlOperation, S as RecordDeletedArgs, T as ResolverExecutedArgs, U as WorkflowConfig, V as WorkflowOperation, W as createWorkflow, X as createWorkflowJob, Y as WorkflowJobOutput, Z as createResolver, _ as AuthAccessTokenArgs, a as defineGenerators, b as IdpUserTrigger, c as createExecutor, d as IncomingWebhookRequest, f as IncomingWebhookTrigger, g as scheduleTrigger, h as ScheduleTrigger, i as defineConfig, j as idpUserDeletedTrigger, k as authAccessTokenRevokedTrigger, l as Trigger, m as ScheduleArgs, n as output, o as definePlugins, p as incomingWebhookTrigger, q as WorkflowJobContext, r as t, s as defineIdp, t as infer, u as IncomingWebhookArgs, v as AuthAccessTokenTrigger, w as RecordUpdatedArgs, x as RecordCreatedArgs, y as IdpUserArgs, z as Operation } from "../index-Bg_UJxhL.mjs";
|
|
5
5
|
export { AttributeList, AttributeMap, AuthAccessTokenArgs, AuthAccessTokenTrigger, AuthConfig, AuthExternalConfig, AuthInvoker, AuthOwnConfig, AuthServiceInput, BuiltinIdP, DefinedAuth, Env, ExecutorServiceConfig, ExecutorServiceInput, FunctionOperation, GqlOperation, IDToken, IdPConfig, IdPExternalConfig, IdProviderConfig, IdpUserArgs, IdpUserTrigger, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookTrigger, NamespacePluginOutput, OAuth2ClientInput as OAuth2Client, OAuth2ClientGrantType, OIDC, Operation, PermissionCondition, Plugin, PluginAttachment, PluginConfigs, PluginExecutorContext, PluginExecutorContextBase, PluginGeneratedExecutor, PluginGeneratedExecutorWithFile, PluginGeneratedResolver, PluginGeneratedType, PluginNamespaceProcessContext, PluginOutput, PluginProcessContext, QueryType, RecordCreatedArgs, RecordDeletedArgs, RecordTrigger, RecordUpdatedArgs, Resolver, ResolverExecutedArgs, ResolverExecutedTrigger, ResolverExternalConfig, ResolverServiceConfig, ResolverServiceInput, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, ScheduleArgs, ScheduleTrigger, StaticWebsiteConfig, TailorAnyDBField, TailorAnyDBType, TailorDBField, TailorDBInstance, TailorDBType, TailorDBTypeForPlugin, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProviderConfig, Trigger, TypePluginOutput, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, WORKFLOW_TEST_ENV_KEY, WebhookOperation, Workflow, WorkflowConfig, WorkflowJob, WorkflowJobContext, WorkflowJobInput, WorkflowJobOutput, WorkflowOperation, WorkflowServiceConfig, WorkflowServiceInput, authAccessTokenIssuedTrigger, authAccessTokenRefreshedTrigger, authAccessTokenRevokedTrigger, createExecutor, createResolver, createWorkflow, createWorkflowJob, db, defineAuth, defineConfig, defineGenerators, defineIdp, definePlugins, defineStaticWebSite, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserUpdatedTrigger, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="./user-defined.d.ts" />
|
|
2
|
-
import { F as Plugin, M as TailorDBType, St as TailorUser, T as UserAttributeMap, Tt as AllowedValuesOutput, a as AuthInvoker$1, at as TailorFieldType, dt as ResolverInput, et as ArrayFieldOutput, gt as output$1, ht as JsonCompatible, it as FieldOutput, j as TailorDBInstance, l as DefinedAuth, mt as InferFieldsOutput, nt as FieldMetadata, ot as TailorAnyField, rt as FieldOptions, s as AuthServiceInput, st as TailorField, tt as DefinedFieldMetadata, vt as TailorEnv, w as UserAttributeListKey, wt as AllowedValues, yt as TailorActor } from "./types-
|
|
3
|
-
import { C as ScheduleTriggerInput, S as ResolverExecutedTrigger$1, T as WorkflowOperation$1, _ as FunctionOperation$1, b as IncomingWebhookTrigger$1, f as AuthAccessTokenTrigger$1, m as ExecutorInput, n as GeneratorConfig, o as IdPInput, r as AppConfig, s as IdpDefinitionBrand, v as GqlOperation$1, w as WebhookOperation$1, x as RecordTrigger$1, y as IdpUserTrigger$1 } from "./index-
|
|
4
|
-
import * as
|
|
2
|
+
import { F as Plugin, M as TailorDBType, St as TailorUser, T as UserAttributeMap, Tt as AllowedValuesOutput, a as AuthInvoker$1, at as TailorFieldType, dt as ResolverInput, et as ArrayFieldOutput, gt as output$1, ht as JsonCompatible, it as FieldOutput, j as TailorDBInstance, l as DefinedAuth, mt as InferFieldsOutput, nt as FieldMetadata, ot as TailorAnyField, rt as FieldOptions, s as AuthServiceInput, st as TailorField, tt as DefinedFieldMetadata, vt as TailorEnv, w as UserAttributeListKey, wt as AllowedValues, yt as TailorActor } from "./types-BZRw-Iys.mjs";
|
|
3
|
+
import { C as ScheduleTriggerInput, S as ResolverExecutedTrigger$1, T as WorkflowOperation$1, _ as FunctionOperation$1, b as IncomingWebhookTrigger$1, f as AuthAccessTokenTrigger$1, m as ExecutorInput, n as GeneratorConfig, o as IdPInput, r as AppConfig, s as IdpDefinitionBrand, v as GqlOperation$1, w as WebhookOperation$1, x as RecordTrigger$1, y as IdpUserTrigger$1 } from "./index-pQbghcVa.mjs";
|
|
4
|
+
import * as zod38 from "zod";
|
|
5
5
|
import { JsonPrimitive, Jsonifiable, Jsonify } from "type-fest";
|
|
6
|
-
import * as
|
|
6
|
+
import * as zod_v4_core33 from "zod/v4/core";
|
|
7
7
|
import { Client } from "@urql/core";
|
|
8
8
|
import { StandardCRON } from "ts-cron-validator";
|
|
9
9
|
|
|
@@ -517,12 +517,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
|
|
|
517
517
|
id: string;
|
|
518
518
|
description: string;
|
|
519
519
|
dependencies: ("executor" | "tailordb" | "resolver")[];
|
|
520
|
-
aggregate:
|
|
521
|
-
processType?:
|
|
522
|
-
processResolver?:
|
|
523
|
-
processExecutor?:
|
|
524
|
-
processTailorDBNamespace?:
|
|
525
|
-
processResolverNamespace?:
|
|
520
|
+
aggregate: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod38.ZodAny>;
|
|
521
|
+
processType?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
522
|
+
processResolver?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
523
|
+
processExecutor?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
524
|
+
processTailorDBNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
525
|
+
processResolverNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
526
526
|
})[];
|
|
527
527
|
/**
|
|
528
528
|
* Define plugins to be used with the Tailor SDK.
|
|
@@ -605,4 +605,4 @@ declare namespace t {
|
|
|
605
605
|
}
|
|
606
606
|
//#endregion
|
|
607
607
|
export { defineAuth as $, idpUserCreatedTrigger as A, WebhookOperation as B, RecordTrigger as C, authAccessTokenIssuedTrigger as D, ResolverExecutedTrigger as E, recordUpdatedTrigger as F, WORKFLOW_TEST_ENV_KEY as G, Workflow as H, resolverExecutedTrigger as I, WorkflowJobInput as J, WorkflowJob as K, FunctionOperation as L, idpUserUpdatedTrigger as M, recordCreatedTrigger as N, authAccessTokenRefreshedTrigger as O, recordDeletedTrigger as P, AuthInvoker as Q, GqlOperation as R, RecordDeletedArgs as S, ResolverExecutedArgs as T, WorkflowConfig as U, WorkflowOperation as V, createWorkflow as W, createWorkflowJob as X, WorkflowJobOutput as Y, createResolver as Z, AuthAccessTokenArgs as _, defineGenerators as a, IdpUserTrigger as b, createExecutor as c, IncomingWebhookRequest as d, IncomingWebhookTrigger as f, scheduleTrigger as g, ScheduleTrigger as h, defineConfig as i, idpUserDeletedTrigger as j, authAccessTokenRevokedTrigger as k, Trigger as l, ScheduleArgs as m, output as n, definePlugins as o, incomingWebhookTrigger as p, WorkflowJobContext as q, t as r, defineIdp as s, infer as t, IncomingWebhookArgs as u, AuthAccessTokenTrigger as v, RecordUpdatedArgs as w, RecordCreatedArgs as x, IdpUserArgs as y, Operation as z };
|
|
608
|
-
//# sourceMappingURL=index-
|
|
608
|
+
//# sourceMappingURL=index-Bg_UJxhL.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./user-defined.d.ts" />
|
|
2
|
-
import { Et as TailorDBServiceInput, c as BuiltinIdP, pt as ResolverServiceInput, r as AuthConfig } from "./types-
|
|
2
|
+
import { Et as TailorDBServiceInput, c as BuiltinIdP, pt as ResolverServiceInput, r as AuthConfig } from "./types-BZRw-Iys.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/parser/service/executor/schema.d.ts
|
|
@@ -393,4 +393,4 @@ type GeneratorConfigSchemaType = ReturnType<typeof createGeneratorConfigSchema>;
|
|
|
393
393
|
type Generator = z.output<GeneratorConfigSchemaType>;
|
|
394
394
|
//#endregion
|
|
395
395
|
export { ScheduleTriggerInput as C, ResolverExecutedTrigger as S, WorkflowOperation as T, FunctionOperation as _, IdPExternalConfig as a, IncomingWebhookTrigger as b, WorkflowServiceConfig as c, defineStaticWebSite as d, AuthAccessTokenTrigger as f, ExecutorServiceInput as g, ExecutorServiceConfig as h, IdPConfig as i, WorkflowServiceInput as l, ExecutorInput as m, GeneratorConfig as n, IdPInput as o, Executor as p, AppConfig as r, IdpDefinitionBrand as s, Generator as t, StaticWebsiteConfig as u, GqlOperation as v, WebhookOperation as w, RecordTrigger as x, IdpUserTrigger as y };
|
|
396
|
-
//# sourceMappingURL=index-
|
|
396
|
+
//# sourceMappingURL=index-pQbghcVa.d.mts.map
|
package/dist/plugin/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./../user-defined.d.ts" />
|
|
2
|
-
import { k as TailorAnyDBType, vt as TailorEnv, yt as TailorActor } from "../types-
|
|
2
|
+
import { k as TailorAnyDBType, vt as TailorEnv, yt as TailorActor } from "../types-BZRw-Iys.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/with-context.d.ts
|
|
5
5
|
|
|
@@ -41,7 +41,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
41
41
|
create: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
42
42
|
conditions: z.ZodUnion<readonly [z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
43
43
|
user: z.ZodString;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
45
45
|
record: z.ZodString;
|
|
46
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
47
47
|
oldRecord: z.ZodString;
|
|
@@ -54,7 +54,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
54
54
|
"not in": "not in";
|
|
55
55
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
56
56
|
user: z.ZodString;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
58
58
|
record: z.ZodString;
|
|
59
59
|
}, z.core.$strip>, z.ZodObject<{
|
|
60
60
|
oldRecord: z.ZodString;
|
|
@@ -62,7 +62,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
62
62
|
newRecord: z.ZodString;
|
|
63
63
|
}, z.core.$strip>]>], null>>, z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
64
64
|
user: z.ZodString;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
66
66
|
record: z.ZodString;
|
|
67
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
68
|
oldRecord: z.ZodString;
|
|
@@ -75,7 +75,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
75
75
|
"not in": "not in";
|
|
76
76
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
77
77
|
user: z.ZodString;
|
|
78
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
79
79
|
record: z.ZodString;
|
|
80
80
|
}, z.core.$strip>, z.ZodObject<{
|
|
81
81
|
oldRecord: z.ZodString;
|
|
@@ -86,7 +86,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
86
86
|
permit: z.ZodOptional<z.ZodBoolean>;
|
|
87
87
|
}, z.core.$strip>, z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
88
88
|
user: z.ZodString;
|
|
89
|
-
}, z.core.$
|
|
89
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
90
90
|
record: z.ZodString;
|
|
91
91
|
}, z.core.$strip>, z.ZodObject<{
|
|
92
92
|
oldRecord: z.ZodString;
|
|
@@ -99,7 +99,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
99
99
|
"not in": "not in";
|
|
100
100
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
101
101
|
user: z.ZodString;
|
|
102
|
-
}, z.core.$
|
|
102
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
103
103
|
record: z.ZodString;
|
|
104
104
|
}, z.core.$strip>, z.ZodObject<{
|
|
105
105
|
oldRecord: z.ZodString;
|
|
@@ -107,7 +107,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
107
107
|
newRecord: z.ZodString;
|
|
108
108
|
}, z.core.$strip>]>], null>>, z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
109
109
|
user: z.ZodString;
|
|
110
|
-
}, z.core.$
|
|
110
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
111
111
|
record: z.ZodString;
|
|
112
112
|
}, z.core.$strip>, z.ZodObject<{
|
|
113
113
|
oldRecord: z.ZodString;
|
|
@@ -120,7 +120,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
120
120
|
"not in": "not in";
|
|
121
121
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
122
122
|
user: z.ZodString;
|
|
123
|
-
}, z.core.$
|
|
123
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
124
124
|
record: z.ZodString;
|
|
125
125
|
}, z.core.$strip>, z.ZodObject<{
|
|
126
126
|
oldRecord: z.ZodString;
|
|
@@ -128,7 +128,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
128
128
|
newRecord: z.ZodString;
|
|
129
129
|
}, z.core.$strip>]>, z.ZodBoolean], null>>, z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
130
130
|
user: z.ZodString;
|
|
131
|
-
}, z.core.$
|
|
131
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
132
132
|
record: z.ZodString;
|
|
133
133
|
}, z.core.$strip>, z.ZodObject<{
|
|
134
134
|
oldRecord: z.ZodString;
|
|
@@ -141,7 +141,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
141
141
|
"not in": "not in";
|
|
142
142
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
143
143
|
user: z.ZodString;
|
|
144
|
-
}, z.core.$
|
|
144
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
145
145
|
record: z.ZodString;
|
|
146
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
147
147
|
oldRecord: z.ZodString;
|
|
@@ -151,7 +151,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
151
151
|
read: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
152
152
|
conditions: z.ZodUnion<readonly [z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
153
153
|
user: z.ZodString;
|
|
154
|
-
}, z.core.$
|
|
154
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
155
155
|
record: z.ZodString;
|
|
156
156
|
}, z.core.$strip>, z.ZodObject<{
|
|
157
157
|
oldRecord: z.ZodString;
|
|
@@ -164,7 +164,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
164
164
|
"not in": "not in";
|
|
165
165
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
166
166
|
user: z.ZodString;
|
|
167
|
-
}, z.core.$
|
|
167
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
168
168
|
record: z.ZodString;
|
|
169
169
|
}, z.core.$strip>, z.ZodObject<{
|
|
170
170
|
oldRecord: z.ZodString;
|
|
@@ -172,7 +172,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
172
172
|
newRecord: z.ZodString;
|
|
173
173
|
}, z.core.$strip>]>], null>>, z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
174
174
|
user: z.ZodString;
|
|
175
|
-
}, z.core.$
|
|
175
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
176
176
|
record: z.ZodString;
|
|
177
177
|
}, z.core.$strip>, z.ZodObject<{
|
|
178
178
|
oldRecord: z.ZodString;
|
|
@@ -185,7 +185,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
185
185
|
"not in": "not in";
|
|
186
186
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
187
187
|
user: z.ZodString;
|
|
188
|
-
}, z.core.$
|
|
188
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
189
189
|
record: z.ZodString;
|
|
190
190
|
}, z.core.$strip>, z.ZodObject<{
|
|
191
191
|
oldRecord: z.ZodString;
|
|
@@ -196,7 +196,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
196
196
|
permit: z.ZodOptional<z.ZodBoolean>;
|
|
197
197
|
}, z.core.$strip>, z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
198
198
|
user: z.ZodString;
|
|
199
|
-
}, z.core.$
|
|
199
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
200
200
|
record: z.ZodString;
|
|
201
201
|
}, z.core.$strip>, z.ZodObject<{
|
|
202
202
|
oldRecord: z.ZodString;
|
|
@@ -209,7 +209,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
209
209
|
"not in": "not in";
|
|
210
210
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
211
211
|
user: z.ZodString;
|
|
212
|
-
}, z.core.$
|
|
212
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
213
213
|
record: z.ZodString;
|
|
214
214
|
}, z.core.$strip>, z.ZodObject<{
|
|
215
215
|
oldRecord: z.ZodString;
|
|
@@ -217,7 +217,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
217
217
|
newRecord: z.ZodString;
|
|
218
218
|
}, z.core.$strip>]>], null>>, z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
219
219
|
user: z.ZodString;
|
|
220
|
-
}, z.core.$
|
|
220
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
221
221
|
record: z.ZodString;
|
|
222
222
|
}, z.core.$strip>, z.ZodObject<{
|
|
223
223
|
oldRecord: z.ZodString;
|
|
@@ -230,7 +230,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
230
230
|
"not in": "not in";
|
|
231
231
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
232
232
|
user: z.ZodString;
|
|
233
|
-
}, z.core.$
|
|
233
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
234
234
|
record: z.ZodString;
|
|
235
235
|
}, z.core.$strip>, z.ZodObject<{
|
|
236
236
|
oldRecord: z.ZodString;
|
|
@@ -238,7 +238,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
238
238
|
newRecord: z.ZodString;
|
|
239
239
|
}, z.core.$strip>]>, z.ZodBoolean], null>>, z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
240
240
|
user: z.ZodString;
|
|
241
|
-
}, z.core.$
|
|
241
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
242
242
|
record: z.ZodString;
|
|
243
243
|
}, z.core.$strip>, z.ZodObject<{
|
|
244
244
|
oldRecord: z.ZodString;
|
|
@@ -251,7 +251,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
251
251
|
"not in": "not in";
|
|
252
252
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
253
253
|
user: z.ZodString;
|
|
254
|
-
}, z.core.$
|
|
254
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
255
255
|
record: z.ZodString;
|
|
256
256
|
}, z.core.$strip>, z.ZodObject<{
|
|
257
257
|
oldRecord: z.ZodString;
|
|
@@ -261,7 +261,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
261
261
|
update: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
262
262
|
conditions: z.ZodUnion<readonly [z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
263
263
|
user: z.ZodString;
|
|
264
|
-
}, z.core.$
|
|
264
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
265
265
|
record: z.ZodString;
|
|
266
266
|
}, z.core.$strip>, z.ZodObject<{
|
|
267
267
|
oldRecord: z.ZodString;
|
|
@@ -274,7 +274,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
274
274
|
"not in": "not in";
|
|
275
275
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
276
276
|
user: z.ZodString;
|
|
277
|
-
}, z.core.$
|
|
277
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
278
278
|
record: z.ZodString;
|
|
279
279
|
}, z.core.$strip>, z.ZodObject<{
|
|
280
280
|
oldRecord: z.ZodString;
|
|
@@ -282,7 +282,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
282
282
|
newRecord: z.ZodString;
|
|
283
283
|
}, z.core.$strip>]>], null>>, z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
284
284
|
user: z.ZodString;
|
|
285
|
-
}, z.core.$
|
|
285
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
286
286
|
record: z.ZodString;
|
|
287
287
|
}, z.core.$strip>, z.ZodObject<{
|
|
288
288
|
oldRecord: z.ZodString;
|
|
@@ -295,7 +295,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
295
295
|
"not in": "not in";
|
|
296
296
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
297
297
|
user: z.ZodString;
|
|
298
|
-
}, z.core.$
|
|
298
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
299
299
|
record: z.ZodString;
|
|
300
300
|
}, z.core.$strip>, z.ZodObject<{
|
|
301
301
|
oldRecord: z.ZodString;
|
|
@@ -306,7 +306,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
306
306
|
permit: z.ZodOptional<z.ZodBoolean>;
|
|
307
307
|
}, z.core.$strip>, z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
308
308
|
user: z.ZodString;
|
|
309
|
-
}, z.core.$
|
|
309
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
310
310
|
record: z.ZodString;
|
|
311
311
|
}, z.core.$strip>, z.ZodObject<{
|
|
312
312
|
oldRecord: z.ZodString;
|
|
@@ -319,7 +319,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
319
319
|
"not in": "not in";
|
|
320
320
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
321
321
|
user: z.ZodString;
|
|
322
|
-
}, z.core.$
|
|
322
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
323
323
|
record: z.ZodString;
|
|
324
324
|
}, z.core.$strip>, z.ZodObject<{
|
|
325
325
|
oldRecord: z.ZodString;
|
|
@@ -327,7 +327,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
327
327
|
newRecord: z.ZodString;
|
|
328
328
|
}, z.core.$strip>]>], null>>, z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
329
329
|
user: z.ZodString;
|
|
330
|
-
}, z.core.$
|
|
330
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
331
331
|
record: z.ZodString;
|
|
332
332
|
}, z.core.$strip>, z.ZodObject<{
|
|
333
333
|
oldRecord: z.ZodString;
|
|
@@ -340,7 +340,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
340
340
|
"not in": "not in";
|
|
341
341
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
342
342
|
user: z.ZodString;
|
|
343
|
-
}, z.core.$
|
|
343
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
344
344
|
record: z.ZodString;
|
|
345
345
|
}, z.core.$strip>, z.ZodObject<{
|
|
346
346
|
oldRecord: z.ZodString;
|
|
@@ -348,7 +348,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
348
348
|
newRecord: z.ZodString;
|
|
349
349
|
}, z.core.$strip>]>, z.ZodBoolean], null>>, z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
350
350
|
user: z.ZodString;
|
|
351
|
-
}, z.core.$
|
|
351
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
352
352
|
record: z.ZodString;
|
|
353
353
|
}, z.core.$strip>, z.ZodObject<{
|
|
354
354
|
oldRecord: z.ZodString;
|
|
@@ -361,7 +361,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
361
361
|
"not in": "not in";
|
|
362
362
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
363
363
|
user: z.ZodString;
|
|
364
|
-
}, z.core.$
|
|
364
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
365
365
|
record: z.ZodString;
|
|
366
366
|
}, z.core.$strip>, z.ZodObject<{
|
|
367
367
|
oldRecord: z.ZodString;
|
|
@@ -371,7 +371,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
371
371
|
delete: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
372
372
|
conditions: z.ZodUnion<readonly [z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
373
373
|
user: z.ZodString;
|
|
374
|
-
}, z.core.$
|
|
374
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
375
375
|
record: z.ZodString;
|
|
376
376
|
}, z.core.$strip>, z.ZodObject<{
|
|
377
377
|
oldRecord: z.ZodString;
|
|
@@ -384,7 +384,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
384
384
|
"not in": "not in";
|
|
385
385
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
386
386
|
user: z.ZodString;
|
|
387
|
-
}, z.core.$
|
|
387
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
388
388
|
record: z.ZodString;
|
|
389
389
|
}, z.core.$strip>, z.ZodObject<{
|
|
390
390
|
oldRecord: z.ZodString;
|
|
@@ -392,7 +392,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
392
392
|
newRecord: z.ZodString;
|
|
393
393
|
}, z.core.$strip>]>], null>>, z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
394
394
|
user: z.ZodString;
|
|
395
|
-
}, z.core.$
|
|
395
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
396
396
|
record: z.ZodString;
|
|
397
397
|
}, z.core.$strip>, z.ZodObject<{
|
|
398
398
|
oldRecord: z.ZodString;
|
|
@@ -405,7 +405,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
405
405
|
"not in": "not in";
|
|
406
406
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
407
407
|
user: z.ZodString;
|
|
408
|
-
}, z.core.$
|
|
408
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
409
409
|
record: z.ZodString;
|
|
410
410
|
}, z.core.$strip>, z.ZodObject<{
|
|
411
411
|
oldRecord: z.ZodString;
|
|
@@ -416,7 +416,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
416
416
|
permit: z.ZodOptional<z.ZodBoolean>;
|
|
417
417
|
}, z.core.$strip>, z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
418
418
|
user: z.ZodString;
|
|
419
|
-
}, z.core.$
|
|
419
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
420
420
|
record: z.ZodString;
|
|
421
421
|
}, z.core.$strip>, z.ZodObject<{
|
|
422
422
|
oldRecord: z.ZodString;
|
|
@@ -429,7 +429,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
429
429
|
"not in": "not in";
|
|
430
430
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
431
431
|
user: z.ZodString;
|
|
432
|
-
}, z.core.$
|
|
432
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
433
433
|
record: z.ZodString;
|
|
434
434
|
}, z.core.$strip>, z.ZodObject<{
|
|
435
435
|
oldRecord: z.ZodString;
|
|
@@ -437,7 +437,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
437
437
|
newRecord: z.ZodString;
|
|
438
438
|
}, z.core.$strip>]>], null>>, z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
439
439
|
user: z.ZodString;
|
|
440
|
-
}, z.core.$
|
|
440
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
441
441
|
record: z.ZodString;
|
|
442
442
|
}, z.core.$strip>, z.ZodObject<{
|
|
443
443
|
oldRecord: z.ZodString;
|
|
@@ -450,7 +450,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
450
450
|
"not in": "not in";
|
|
451
451
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
452
452
|
user: z.ZodString;
|
|
453
|
-
}, z.core.$
|
|
453
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
454
454
|
record: z.ZodString;
|
|
455
455
|
}, z.core.$strip>, z.ZodObject<{
|
|
456
456
|
oldRecord: z.ZodString;
|
|
@@ -458,7 +458,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
458
458
|
newRecord: z.ZodString;
|
|
459
459
|
}, z.core.$strip>]>, z.ZodBoolean], null>>, z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
460
460
|
user: z.ZodString;
|
|
461
|
-
}, z.core.$
|
|
461
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
462
462
|
record: z.ZodString;
|
|
463
463
|
}, z.core.$strip>, z.ZodObject<{
|
|
464
464
|
oldRecord: z.ZodString;
|
|
@@ -471,7 +471,7 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
471
471
|
"not in": "not in";
|
|
472
472
|
}>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
473
473
|
user: z.ZodString;
|
|
474
|
-
}, z.core.$
|
|
474
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodObject<{
|
|
475
475
|
record: z.ZodString;
|
|
476
476
|
}, z.core.$strip>, z.ZodObject<{
|
|
477
477
|
oldRecord: z.ZodString;
|
|
@@ -482,14 +482,14 @@ declare const RawPermissionsSchema: z.ZodObject<{
|
|
|
482
482
|
gql: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
483
483
|
conditions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
|
|
484
484
|
user: z.ZodString;
|
|
485
|
-
}, z.core.$
|
|
485
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>, z.ZodEnum<{
|
|
486
486
|
in: "in";
|
|
487
487
|
"=": "=";
|
|
488
488
|
"!=": "!=";
|
|
489
489
|
"not in": "not in";
|
|
490
490
|
}>, z.ZodUnion<readonly [z.ZodObject<{
|
|
491
491
|
user: z.ZodString;
|
|
492
|
-
}, z.core.$
|
|
492
|
+
}, z.core.$strict>, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>], null>>>>;
|
|
493
493
|
actions: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
494
494
|
create: "create";
|
|
495
495
|
delete: "delete";
|
|
@@ -2237,4 +2237,4 @@ interface TailorDBType {
|
|
|
2237
2237
|
}
|
|
2238
2238
|
//#endregion
|
|
2239
2239
|
export { unsafeAllowAllTypePermission as $, TailorDBField as A, PluginGeneratedExecutor as B, UserAttributeKey as C, unauthenticatedTailorUser as Ct, ValueOperand as D, UsernameFieldKey as E, TailorDBServiceInput as Et, Plugin as F, PluginOutput as G, PluginGeneratedResolver as H, PluginAttachment as I, TypePluginOutput as J, PluginProcessContext as K, PluginConfigs as L, TailorDBType$1 as M, db as N, TailorAnyDBField as O, NamespacePluginOutput as P, unsafeAllowAllGqlPermission as Q, PluginExecutorContext as R, TenantProviderConfig as S, TailorUser as St, UserAttributeMap as T, AllowedValuesOutput as Tt, PluginGeneratedType as U, PluginGeneratedExecutorWithFile as V, PluginNamespaceProcessContext as W, TailorTypeGqlPermission as X, PermissionCondition as Y, TailorTypePermission as Z, SCIMAttributeMapping as _, Env as _t, AuthInvoker as a, TailorFieldType as at, SCIMConfig as b, AttributeList as bt, BuiltinIdP as c, QueryType as ct, IdProviderConfig as d, ResolverInput as dt, ArrayFieldOutput as et, OAuth2ClientGrantType as f, ResolverServiceConfig as ft, SCIMAttribute as g, output as gt, SAML as h, JsonCompatible as ht, AuthExternalConfig as i, FieldOutput$1 as it, TailorDBInstance as j, TailorAnyDBType as k, DefinedAuth as l, Resolver as lt, OIDC as m, InferFieldsOutput as mt, TypeSourceInfoEntry as n, FieldMetadata as nt, AuthOwnConfig as o, TailorAnyField as ot, OAuth2ClientInput as p, ResolverServiceInput as pt, TailorDBTypeForPlugin as q, AuthConfig as r, FieldOptions as rt, AuthServiceInput as s, TailorField as st, TailorDBType as t, DefinedFieldMetadata as tt, IDToken as u, ResolverExternalConfig as ut, SCIMAttributeType as v, TailorEnv as vt, UserAttributeListKey as w, AllowedValues as wt, SCIMResource as x, AttributeMap as xt, SCIMAuthorization as y, TailorActor as yt, PluginExecutorContextBase as z };
|
|
2240
|
-
//# sourceMappingURL=types-
|
|
2240
|
+
//# sourceMappingURL=types-BZRw-Iys.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as isPluginGeneratedType } from "./types-b-ig8nW_.mjs";
|
|
2
2
|
import { t as db } from "./schema-DRYB-nzA.mjs";
|
|
3
|
-
import { a as ExecutorSchema, c as functionSchema, d as loadFilesWithIgnores, f as logger, i as createExecutorService, l as stringifyFunction, m as symbols, n as WorkflowJobSchema, o as OAuth2ClientSchema, p as styles, r as WorkflowSchema, s as ResolverSchema, t as defineApplication, u as tailorUserMap } from "./application-
|
|
3
|
+
import { a as ExecutorSchema, c as functionSchema, d as loadFilesWithIgnores, f as logger, i as createExecutorService, l as stringifyFunction, m as symbols, n as WorkflowJobSchema, o as OAuth2ClientSchema, p as styles, r as WorkflowSchema, s as ResolverSchema, t as defineApplication, u as tailorUserMap } from "./application-DLUgR1gv.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { arg, defineCommand, runCommand } from "politty";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -493,6 +493,14 @@ const FunctionExecution_StatusSchema = /* @__PURE__ */ enumDesc(file_tailor_v1_f
|
|
|
493
493
|
* @generated from enum tailor.v1.FunctionExecution.Status
|
|
494
494
|
*/
|
|
495
495
|
const FunctionExecution_Status = /* @__PURE__ */ tsEnum(FunctionExecution_StatusSchema);
|
|
496
|
+
/**
|
|
497
|
+
* Describes the enum tailor.v1.FunctionExecution.Type.
|
|
498
|
+
*/
|
|
499
|
+
const FunctionExecution_TypeSchema = /* @__PURE__ */ enumDesc(file_tailor_v1_function_resource, 0, 1);
|
|
500
|
+
/**
|
|
501
|
+
* @generated from enum tailor.v1.FunctionExecution.Type
|
|
502
|
+
*/
|
|
503
|
+
const FunctionExecution_Type = /* @__PURE__ */ tsEnum(FunctionExecution_TypeSchema);
|
|
496
504
|
|
|
497
505
|
//#endregion
|
|
498
506
|
//#region ../tailor-proto/src/tailor/v1/function_pb.js
|
|
@@ -10290,11 +10298,12 @@ function protoGqlCondition(condition) {
|
|
|
10290
10298
|
};
|
|
10291
10299
|
}
|
|
10292
10300
|
function protoGqlOperand(operand) {
|
|
10293
|
-
if (typeof operand === "object" && !Array.isArray(operand))
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10301
|
+
if (typeof operand === "object" && !Array.isArray(operand)) {
|
|
10302
|
+
if ("user" in operand) return { kind: {
|
|
10303
|
+
case: "userField",
|
|
10304
|
+
value: operand.user
|
|
10305
|
+
} };
|
|
10306
|
+
}
|
|
10298
10307
|
return { kind: {
|
|
10299
10308
|
case: "value",
|
|
10300
10309
|
value: fromJson(ValueSchema, operand)
|
|
@@ -10837,19 +10846,6 @@ function isFunctionExecutionTerminalStatus(status) {
|
|
|
10837
10846
|
return status === FunctionExecution_Status.SUCCESS || status === FunctionExecution_Status.FAILED;
|
|
10838
10847
|
}
|
|
10839
10848
|
/**
|
|
10840
|
-
* Convert function execution status enum to string.
|
|
10841
|
-
* @param status - Function execution status enum value
|
|
10842
|
-
* @returns Status string representation
|
|
10843
|
-
*/
|
|
10844
|
-
function functionExecutionStatusToString(status) {
|
|
10845
|
-
switch (status) {
|
|
10846
|
-
case FunctionExecution_Status.RUNNING: return "RUNNING";
|
|
10847
|
-
case FunctionExecution_Status.SUCCESS: return "SUCCESS";
|
|
10848
|
-
case FunctionExecution_Status.FAILED: return "FAILED";
|
|
10849
|
-
default: return "UNSPECIFIED";
|
|
10850
|
-
}
|
|
10851
|
-
}
|
|
10852
|
-
/**
|
|
10853
10849
|
* Convert executor target type enum to string.
|
|
10854
10850
|
* @param targetType - Executor target type enum value
|
|
10855
10851
|
* @returns Target type string representation
|
|
@@ -11155,6 +11151,22 @@ function humanizeRelativeTime(value) {
|
|
|
11155
11151
|
return formatDistanceToNowStrict(date, { addSuffix: true });
|
|
11156
11152
|
}
|
|
11157
11153
|
|
|
11154
|
+
//#endregion
|
|
11155
|
+
//#region src/cli/utils/function-execution.ts
|
|
11156
|
+
/**
|
|
11157
|
+
* Convert function execution status enum to string.
|
|
11158
|
+
* @param status - Function execution status enum value
|
|
11159
|
+
* @returns Status string representation
|
|
11160
|
+
*/
|
|
11161
|
+
function functionExecutionStatusToString(status) {
|
|
11162
|
+
switch (status) {
|
|
11163
|
+
case FunctionExecution_Status.RUNNING: return "RUNNING";
|
|
11164
|
+
case FunctionExecution_Status.SUCCESS: return "SUCCESS";
|
|
11165
|
+
case FunctionExecution_Status.FAILED: return "FAILED";
|
|
11166
|
+
default: return "UNSPECIFIED";
|
|
11167
|
+
}
|
|
11168
|
+
}
|
|
11169
|
+
|
|
11158
11170
|
//#endregion
|
|
11159
11171
|
//#region src/cli/workflow/args.ts
|
|
11160
11172
|
const nameArgs = { name: arg(z.string(), {
|
|
@@ -14198,7 +14210,7 @@ async function generate(options) {
|
|
|
14198
14210
|
if (options.init) await handleInitOption(namespacesWithMigrations, options.yes);
|
|
14199
14211
|
let pluginManager;
|
|
14200
14212
|
if (plugins.length > 0) pluginManager = new PluginManager(plugins);
|
|
14201
|
-
const { defineApplication: defineApplication$1 } = await import("./application-
|
|
14213
|
+
const { defineApplication: defineApplication$1 } = await import("./application-DhvHS3pX.mjs");
|
|
14202
14214
|
const application = defineApplication$1({
|
|
14203
14215
|
config,
|
|
14204
14216
|
pluginManager
|
|
@@ -15408,5 +15420,5 @@ const updateCommand = defineCommand({
|
|
|
15408
15420
|
});
|
|
15409
15421
|
|
|
15410
15422
|
//#endregion
|
|
15411
|
-
export { jobsCommand as $,
|
|
15412
|
-
//# sourceMappingURL=update-
|
|
15423
|
+
export { jobsCommand as $, fetchUserInfo as $t, generateCommand as A, getMigrationDirPath as At, getMachineUserToken as B, getNamespacesWithMigrations as Bt, resumeCommand as C, MIGRATE_FILE_NAME as Ct, truncate as D, createSnapshotFromLocalTypes as Dt, listWorkflows as E, compareSnapshots as Et, removeCommand$1 as F, loadDiff as Ft, generateCommand$1 as G, apiCall as Gt, listCommand$5 as H, generateUserTypes as Ht, listCommand$4 as I, reconstructSnapshotFromMigrations as It, triggerCommand as J, loadAccessToken as Jt, listWebhookExecutors as K, apiCommand as Kt, listOAuth2Clients as L, formatDiffSummary as Lt, show as M, getMigrationFiles as Mt, showCommand as N, getNextMigrationNumber as Nt, truncateCommand as O, formatMigrationNumber as Ot, remove as P, isValidMigrationNumber as Pt, getExecutorJob as Q, fetchAll as Qt, getCommand$1 as R, formatMigrationDiff as Rt, healthCommand as S, INITIAL_SCHEMA_NUMBER as St, listCommand$3 as T, compareLocalTypesWithSnapshot as Tt, listMachineUsers as U, loadConfig as Ut, tokenCommand as V, trnPrefix as Vt, generate$1 as W, getDistDir as Wt, listCommand$6 as X, readPlatformConfig as Xt, triggerExecutor as Y, loadWorkspaceId as Yt, listExecutors as Z, writePlatformConfig as Zt, createCommand as _, MIGRATION_LABEL_KEY as _t, listCommand as a, commonArgs as an, getWorkflow as at, listCommand$2 as b, DB_TYPES_FILE_NAME as bt, inviteUser as c, jsonArgs as cn, listWorkflowExecutions as ct, listCommand$1 as d, getCommand$3 as dt, initOAuth2Client as en, listExecutorJobs as et, listWorkspaces as f, getExecutor as ft, deleteWorkspace as g, waitForExecution$1 as gt, deleteCommand as h, executeScript as ht, removeUser as i, PATScope as in, getCommand$2 as it, logBetaWarning as j, getMigrationFilePath as jt, generate as k, getLatestMigrationNumber as kt, restoreCommand as l, withCommonArgs as ln, functionExecutionStatusToString as lt, getWorkspace as m, applyCommand as mt, updateUser as n, readPackageJson as nn, startCommand as nt, listUsers as o, confirmationArgs as on, executionsCommand as ot, getCommand as p, apply as pt, webhookCommand as q, fetchLatestToken as qt, removeCommand as r, FunctionExecution_Type as rn, startWorkflow as rt, inviteCommand as s, deploymentArgs as sn, getWorkflowExecution as st, updateCommand as t, initOperatorClient as tn, watchExecutorJob as tt, restoreWorkspace as u, workspaceArgs as un, formatKeyValueTable as ut, createWorkspace as v, parseMigrationLabelNumber as vt, resumeWorkflow as w, SCHEMA_FILE_NAME as wt, getAppHealth as x, DIFF_FILE_NAME as xt, listApps as y, bundleMigrationScript as yt, getOAuth2Client as z, hasChanges as zt };
|
|
15424
|
+
//# sourceMappingURL=update-70uX2TDG.mjs.map
|