@tailor-platform/sdk 2.19.0 → 2.20.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 +16 -0
- package/dist/{application-BYlhYQyh.mjs → application-B6NYnrhv.mjs} +32 -32
- package/dist/application-B6NYnrhv.mjs.map +1 -0
- package/dist/application-BlbyGJsd.mjs +1 -0
- package/dist/cli/commands/deploy/application.d.mts +1 -0
- package/dist/cli/commands/deploy/apply-phases.d.mts +1 -1
- package/dist/cli/commands/deploy/deploy.d.mts +1 -1
- package/dist/cli/commands/deploy/deployment-target.d.mts +1 -0
- package/dist/cli/commands/deploy/executor.d.mts +1 -1
- package/dist/cli/commands/deploy/function-registry.d.mts +1 -1
- package/dist/cli/commands/deploy/resolver.d.mts +1 -0
- package/dist/cli/commands/deploy/secret-manager.d.mts +1 -1
- package/dist/cli/commands/deploy/tailordb/migration-validation.d.mts +1 -1
- package/dist/cli/commands/deploy/tailordb/plan.d.mts +1 -1
- package/dist/cli/commands/deploy/types.d.mts +1 -1
- package/dist/cli/commands/deploy/workflow.d.mts +1 -0
- package/dist/cli/commands/tailordb/migrate/schema-checks.d.mts +1 -1
- package/dist/cli/lib.d.mts +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/main.mjs +21 -21
- package/dist/cli/main.mjs.map +1 -1
- package/dist/cli/services/application.d.mts +2 -0
- package/dist/completion/zsh-worker.zsh +1 -1
- package/dist/{register-ts-hook-Djjnj5R8.mjs → register-ts-hook-FsCX38LQ.mjs} +50 -50
- package/dist/register-ts-hook-FsCX38LQ.mjs.map +1 -0
- package/docs/configuration.md +18 -1
- package/docs/services/staticwebsite.md +17 -0
- package/package.json +4 -4
- package/dist/application-BYlhYQyh.mjs.map +0 -1
- package/dist/application-KZRJHv2j.mjs +0 -1
- package/dist/register-ts-hook-Djjnj5R8.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./application-B6NYnrhv.mjs";export{t as defineApplication,e as generatePluginFilesIfNeeded};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "../../services/http-adapter/bundler.mjs";
|
|
2
2
|
import "../../../tailor-proto/src/tailor/v1/http_adapter_resource_pb.mjs";
|
|
3
|
+
import "../../../tailor-proto/src/tailor/v1/application_resource_pb.mjs";
|
|
3
4
|
import "../../../tailor-proto/src/tailor/v1/application_pb.mjs";
|
|
4
5
|
import "../../shared/client.mjs";
|
|
5
6
|
import "./label.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BundledScripts } from "./function-registry-types.mjs";
|
|
2
|
-
import "../../services/application.mjs";
|
|
3
2
|
import "../../shared/client.mjs";
|
|
3
|
+
import "../../services/application.mjs";
|
|
4
4
|
import "./types.mjs";
|
|
5
5
|
import "./apply-phases.mjs";
|
|
6
6
|
import "./deployment-target.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../services/application.mjs";
|
|
2
1
|
import "../../../tailor-proto/src/tailor/v1/executor_resource_pb.mjs";
|
|
3
2
|
import "../../../tailor-proto/src/tailor/v1/executor_pb.mjs";
|
|
4
3
|
import "../../shared/client.mjs";
|
|
4
|
+
import "../../services/application.mjs";
|
|
5
5
|
import "./label.mjs";
|
|
6
6
|
import "./types.mjs";
|
|
7
7
|
import { MessageInitShape } from "@bufbuild/protobuf";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BundledScripts } from "./function-registry-types.mjs";
|
|
2
2
|
import "../../services/workflow/service.mjs";
|
|
3
|
-
import "../../services/application.mjs";
|
|
4
3
|
import "../../shared/client.mjs";
|
|
4
|
+
import "../../services/application.mjs";
|
|
5
5
|
import "./label.mjs";
|
|
6
6
|
export type { BundledScripts };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../services/application.mjs";
|
|
2
1
|
import "../../../tailor-proto/src/tailor/v1/secret_manager_pb.mjs";
|
|
3
2
|
import "../../shared/client.mjs";
|
|
3
|
+
import "../../services/application.mjs";
|
|
4
4
|
import "./types.mjs";
|
|
5
5
|
import { MessageInitShape } from "@bufbuild/protobuf";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../shared/config-loader.mjs";
|
|
2
1
|
import "../../../shared/client.mjs";
|
|
2
|
+
import "../../../shared/config-loader.mjs";
|
|
3
3
|
import "../../tailordb/migrate/snapshot.mjs";
|
|
4
4
|
import "../../tailordb/migrate/config.mjs";
|
|
5
5
|
import "../../tailordb/migrate/schema-checks.mjs";
|
package/dist/cli/lib.d.mts
CHANGED
|
@@ -10,9 +10,9 @@ import { OperatorFieldConfig, ParsedField, PluginGeneratedTableSource, TailorDBT
|
|
|
10
10
|
import { Executor } from "../types/executor.generated.mjs";
|
|
11
11
|
import { Resolver } from "../types/resolver.generated.mjs";
|
|
12
12
|
import { GeneratorResult, Plugin, TailorDBNamespaceData } from "../plugin/types.mjs";
|
|
13
|
-
import { LoadedConfig, loadConfig } from "./shared/config-loader.mjs";
|
|
14
13
|
import { AuthInvoker } from "../tailor-proto/src/tailor/v1/auth_resource_pb.mjs";
|
|
15
14
|
import { OperatorClient, initOperatorClient } from "./shared/client.mjs";
|
|
15
|
+
import { LoadedConfig, loadConfig } from "./shared/config-loader.mjs";
|
|
16
16
|
import { NormalizedSchemaSnapshot, SchemaSnapshot, SnapshotFieldConfig, TailorDBSnapshotType } from "./commands/tailordb/migrate/snapshot-types.mjs";
|
|
17
17
|
import { BreakingChangeInfo, MigrationDiff, formatDiffSummary, formatMigrationDiff, hasChanges } from "./commands/tailordb/migrate/diff-calculator.mjs";
|
|
18
18
|
import { compareLocalTypesWithSnapshot, compareSnapshots } from "./commands/tailordb/migrate/snapshot-comparison.mjs";
|
package/dist/cli/lib.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as ee,n as te}from"../logger-72hM4JWZ.mjs";import{$r as ne,A as e,At as t,Bt as n,C as r,Ct as i,Di as a,Dr as o,E as s,Ei as c,Er as l,Et as u,F as d,Fn as f,Ft as p,G as m,Gt as h,H as g,Hr as _,Ht as v,I as y,In as b,Ir as x,L as S,Ln as C,Lr as w,Mn as T,Mr as E,Mt as D,N as O,Nn as k,O as A,Oi as j,Or as M,Ot as N,P,Pn as F,Pt as I,Qt as L,Rn as R,Rt as z,Si as B,Sr as V,St as H,Tr as U,Ur as W,Vt as G,W as K,Wr as q,Wt as J,X as Y,Xn as X,Yt as Z,Z as re,Zr as ie,Zt as ae,_ as oe,_n as se,_r as Q,_t as ce,bt as le,cn as ue,ct as de,d as fe,ei as pe,et as me,fr as he,ft as ge,gr as _e,gt as ve,h as ye,hr as be,i as xe,it as Se,j as Ce,ji as we,ki as Te,kn as Ee,kt as De,l as Oe,ln as $,lr as ke,mn as Ae,mr as je,mt as Me,n as Ne,nr as Pe,nt as Fe,oi as Ie,ot as Le,p as Re,pi as ze,pr as Be,q as Ve,qt as He,r as Ue,s as We,t as Ge,ti as Ke,ut as qe,vr as Je,wr as Ye,x as Xe,xt as Ze,y as Qe,yr as $e,zi as et,zn as tt}from"../register-ts-hook-
|
|
1
|
+
import{i as ee,n as te}from"../logger-72hM4JWZ.mjs";import{$r as ne,A as e,At as t,Bt as n,C as r,Ct as i,Di as a,Dr as o,E as s,Ei as c,Er as l,Et as u,F as d,Fn as f,Ft as p,G as m,Gt as h,H as g,Hr as _,Ht as v,I as y,In as b,Ir as x,L as S,Ln as C,Lr as w,Mn as T,Mr as E,Mt as D,N as O,Nn as k,O as A,Oi as j,Or as M,Ot as N,P,Pn as F,Pt as I,Qt as L,Rn as R,Rt as z,Si as B,Sr as V,St as H,Tr as U,Ur as W,Vt as G,W as K,Wr as q,Wt as J,X as Y,Xn as X,Yt as Z,Z as re,Zr as ie,Zt as ae,_ as oe,_n as se,_r as Q,_t as ce,bt as le,cn as ue,ct as de,d as fe,ei as pe,et as me,fr as he,ft as ge,gr as _e,gt as ve,h as ye,hr as be,i as xe,it as Se,j as Ce,ji as we,ki as Te,kn as Ee,kt as De,l as Oe,ln as $,lr as ke,mn as Ae,mr as je,mt as Me,n as Ne,nr as Pe,nt as Fe,oi as Ie,ot as Le,p as Re,pi as ze,pr as Be,q as Ve,qt as He,r as Ue,s as We,t as Ge,ti as Ke,ut as qe,vr as Je,wr as Ye,x as Xe,xt as Ze,y as Qe,yr as $e,zi as et,zn as tt}from"../register-ts-hook-FsCX38LQ.mjs";import{tt as nt}from"../application-B6NYnrhv.mjs";import{t as rt}from"../type-source--ZNcV8RJ.mjs";import{arg as it,defineCommand as at,runCommand as ot,runMain as st}from"@politty/zod";await Ge(new URL(`./ts-hook.mjs`,import.meta.url));export{Be as DB_PGLITE_SCHEMA_FILE_NAME,je as DB_TYPES_FILE_NAME,be as DIFF_FILE_NAME,_e as INITIAL_SCHEMA_NUMBER,Q as MIGRATE_FILE_NAME,Je as MIGRATE_PGLITE_TEST_FILE_NAME,$e as MIGRATE_TEST_FILE_NAME,E as MIGRATION_LABEL_KEY,V as SCHEMA_FILE_NAME,T as TAILOR_LOCK_FILENAME,k as TAILOR_LOCK_VERSION,Ne as annotateTerminalError,ne as apiCall,$ as apply,$ as deploy,it as arg,pe as assertWritable,X as bundleMigrationScript,d as bundleSeedDumpScript,y as bundleSeedScript,P as chunkSeedData,x as compareLocalTypesWithSnapshot,w as compareSnapshots,c as configArg,a as confirmationArgs,j as createCommonArgs,ge as createFolder,ke as createSnapshotFromLocalTypes,se as createWorkspace,B as defineAppCommand,at as defineCommand,qe as deleteFolder,Qe as deleteWorkspace,K as deployStaticWebsite,Te as deploymentArgs,R as ensureConfigId,H as errorToJson,De as executeScript,N as extractOwnedNamespaces,F as findAppIdLock,_ as formatDiffSummary,W as formatMigrationDiff,Ze as generate,tt as generateUserTypes,r as getAppHealth,ue as getExecutor,G as getExecutorJob,v as getExecutorWaitFailureMessage,de as getFolder,I as getFunctionRegistry,Ye as getLatestMigrationNumber,ce as getMachineUserToken,U as getMigrationDirPath,l as getMigrationFilePath,o as getMigrationFiles,Pe as getNamespacesWithMigrations,M as getNextMigrationNumber,ve as getOAuth2Client,Fe as getOrganization,Z as getWorkflow,ae as getWorkflowExecution,oe as getWorkspace,q as hasChanges,nt as initOperatorClient,Re as inviteUser,rt as isPluginGeneratedTable,Xe as listApps,J as listExecutorJobs,n as listExecutors,Le as listFolders,D as listFunctionRegistries,le as listMachineUsers,Me as listOAuth2Clients,me as listOrganizations,fe as listUsers,p as listWebhookExecutors,L as listWorkflowExecutions,e as listWorkflows,Ae as listWorkspaces,Ie as loadAccessToken,Ke as loadConfig,we as loadEnvFiles,O as loadSeedContext,u as loadTailorDBNamespaces,ze as loadWorkspaceId,g as logBetaWarning,te as logger,S as migrateGenerate,re as organizationTree,f as parseAppIds,b as planAppIds,ie as prompt,xe as query,he as reconstructSnapshotFromMigrations,Ve as remove,C as removeAdoptedConfigIds,Oe as removeUser,ye as restoreWorkspace,A as resumeWorkflow,ot as runCommand,st as runMain,i as serializeError,m as show,He as startWorkflow,ee as styles,z as triggerExecutor,Ce as truncate,Se as updateFolder,Y as updateOrganization,We as updateUser,t as waitForExecution,s as waitWorkflowExecution,h as watchExecutorJob,Ue as withSourceLocation,et as workspaceArgs,Ee as workspaceNameSchema};
|
|
2
2
|
//# sourceMappingURL=lib.mjs.map
|