@tailor-platform/sdk 2.35.0 → 2.36.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 +36 -0
- package/dist/{application-DIsQSnj3.mjs → application-BbORWCj-.mjs} +16 -16
- package/dist/application-BbORWCj-.mjs.map +1 -0
- package/dist/{application-Bj2MtL-d.mjs → application-DaJbleMi.mjs} +1 -1
- package/dist/cli/commands/workspace/create.d.mts +4 -2
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/main.mjs +47 -47
- package/dist/cli/main.mjs.map +1 -1
- package/dist/completion/zsh-worker.zsh +1 -1
- package/dist/configure/index.mjs.map +1 -1
- package/dist/configure/services/executor/trigger/webhook.d.mts +1 -0
- package/dist/configure/services/tailordb/schema.d.mts +6 -2
- package/dist/{register-ts-hook-CQ7shKO5.mjs → register-ts-hook-iAcG1dfz.mjs} +72 -70
- package/dist/register-ts-hook-iAcG1dfz.mjs.map +1 -0
- package/dist/schema-BU1aIQ63.mjs.map +1 -1
- package/dist/service-DTrVVaDJ.mjs +1 -0
- package/dist/{service-eeXdVrDK.mjs → service-hIarp2Gl.mjs} +3 -3
- package/dist/service-hIarp2Gl.mjs.map +1 -0
- package/dist/vitest/index.mjs +1 -1
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/mocks/file.d.mts +1 -1
- package/dist/vitest/pglite-kysely.d.mts +5 -0
- package/docs/cli/application.md +1 -1
- package/docs/cli/tailordb.md +1 -1
- package/docs/cli/user.md +1 -1
- package/docs/cli/workspace.md +1 -1
- package/docs/cli-reference.md +5 -3
- package/docs/services/executor.md +12 -5
- package/docs/services/tailordb/index.md +5 -1
- package/docs/services/tailordb/migration.md +20 -9
- package/package.json +10 -10
- package/dist/application-DIsQSnj3.mjs.map +0 -1
- package/dist/register-ts-hook-CQ7shKO5.mjs.map +0 -1
- package/dist/service-DEq_hdht.mjs +0 -1
- package/dist/service-eeXdVrDK.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as defineApplication,r as generatePluginFilesIfNeeded}from"./application-
|
|
1
|
+
export{t as defineApplication,r as generatePluginFilesIfNeeded}from"./application-BbORWCj-.mjs";
|
|
@@ -23,8 +23,10 @@ export type CreatedWorkspaceInfo = WorkspaceInfo & {
|
|
|
23
23
|
ttl?: TtlWriteResult;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
|
-
* Create a new workspace with the given options.
|
|
27
|
-
* use the selected user's defaults unless an environment
|
|
26
|
+
* Create a new workspace with the given options. Every workspace belongs to an organization.
|
|
27
|
+
* When neither location ID is provided, use the selected user's defaults unless an environment
|
|
28
|
+
* token is set. Throws `WORKSPACE_ORGANIZATION_REQUIRED` before contacting the Platform when no
|
|
29
|
+
* organization is resolved.
|
|
28
30
|
* @param options - Workspace creation options
|
|
29
31
|
* @returns Created workspace info
|
|
30
32
|
*/
|
package/dist/cli/lib.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as ee,f as te}from"../errors-BXmGBX-7.mjs";import{$ as e,$i as t,$r as n,$t as r,A as i,An as a,At as o,B as s,Br as c,Bt as l,C as u,Ci as d,Ct as f,Dn as p,E as m,En as h,Et as g,Fr as _,Ft as v,Gt as y,Ht as b,Ii as x,In as S,Ir as C,Ji as w,Jr as T,Jt as E,Kr as D,L as O,Lr as k,Lt as A,Mn as j,Mt as M,N,Nn as P,Nt as F,O as I,On as L,Ot as R,Pn as z,Pr as B,Qi as V,Qt as H,R as U,Rr as W,Si as G,Sn as K,St as q,Tn as J,U as Y,Ut as X,Vr as Z,W as Q,Wr as ne,Xr as re,Xt as ie,Y as ae,Yr as oe,Yt as $,Z as se,Zi as ce,Zt as le,_ as ue,at as de,bt as fe,ci as pe,d as me,ea as he,gr as ge,gt as _e,h as ve,ht as ye,i as be,ia as xe,in as Se,j as Ce,jn as we,jr as Te,ki as Ee,kn as De,kt as Oe,l as ke,li as Ae,lt as je,ma as Me,mt as Ne,n as Pe,ni as Fe,p as Ie,pt as Le,q as Re,qr as ze,r as Be,ri as Ve,rt as He,s as Ue,sn as We,st as Ge,t as Ke,tt as qe,ui as Je,ut as Ye,vt as Xe,wi as Ze,wr as Qe,x as $e,xn as et,y as tt,yi as nt,zr as rt,zt as it}from"../register-ts-hook-
|
|
1
|
+
import{_ as ee,f as te}from"../errors-BXmGBX-7.mjs";import{$ as e,$i as t,$r as n,$t as r,A as i,An as a,At as o,B as s,Br as c,Bt as l,C as u,Ci as d,Ct as f,Dn as p,E as m,En as h,Et as g,Fr as _,Ft as v,Gt as y,Ht as b,Ii as x,In as S,Ir as C,Ji as w,Jr as T,Jt as E,Kr as D,L as O,Lr as k,Lt as A,Mn as j,Mt as M,N,Nn as P,Nt as F,O as I,On as L,Ot as R,Pn as z,Pr as B,Qi as V,Qt as H,R as U,Rr as W,Si as G,Sn as K,St as q,Tn as J,U as Y,Ut as X,Vr as Z,W as Q,Wr as ne,Xr as re,Xt as ie,Y as ae,Yr as oe,Yt as $,Z as se,Zi as ce,Zt as le,_ as ue,at as de,bt as fe,ci as pe,d as me,ea as he,gr as ge,gt as _e,h as ve,ht as ye,i as be,ia as xe,in as Se,j as Ce,jn as we,jr as Te,ki as Ee,kn as De,kt as Oe,l as ke,li as Ae,lt as je,ma as Me,mt as Ne,n as Pe,ni as Fe,p as Ie,pt as Le,q as Re,qr as ze,r as Be,ri as Ve,rt as He,s as Ue,sn as We,st as Ge,t as Ke,tt as qe,ui as Je,ut as Ye,vt as Xe,wi as Ze,wr as Qe,x as $e,xn as et,y as tt,yi as nt,zr as rt,zt as it}from"../register-ts-hook-iAcG1dfz.mjs";import{mt as at}from"../application-BbORWCj-.mjs";import{t as ot}from"../type-source--ZNcV8RJ.mjs";import{arg as st,defineCommand as ct,runCommand as lt,runMain as ut}from"@politty/zod";await Ke(new URL(`./ts-hook.mjs`,import.meta.url));export{_ as DB_PGLITE_SCHEMA_FILE_NAME,C as DB_TYPES_FILE_NAME,k as DIFF_FILE_NAME,W as INITIAL_SCHEMA_NUMBER,rt as MIGRATE_FILE_NAME,c as MIGRATE_PGLITE_TEST_FILE_NAME,Z as MIGRATE_TEST_FILE_NAME,n as MIGRATION_LABEL_KEY,ne as SCHEMA_FILE_NAME,J as TAILOR_LOCK_FILENAME,h as TAILOR_LOCK_VERSION,et as WORKSPACE_NAME_MAX_LENGTH,Pe as annotateTerminalError,G as apiCall,p as appIdLockKey,r as apply,r as deploy,st as arg,d as assertWritable,ge as bundleMigrationScript,le as bundleSeedDumpScript,H as bundleSeedScript,E as chunkSeedData,Fe as compareLocalTypesWithSnapshot,Ve as compareSnapshots,ce as configArg,V as confirmationArgs,t as createCommonArgs,de as createFolder,Te as createSnapshotFromLocalTypes,We as createWorkspace,w as defineAppCommand,ct as defineCommand,He as deleteFolder,tt as deleteWorkspace,S as deployStaticWebsite,he as deploymentArgs,P as ensureConfigId,ye as errorToJson,$ as executeScript,Xe as extractOwnedNamespaces,L as findAppIdLock,pe as formatDiffSummary,Ae as formatMigrationDiff,Ne as generate,z as generateUserTypes,u as getAppHealth,b as getExecutor,Oe as getExecutorJob,o as getExecutorWaitFailureMessage,qe as getFolder,q as getFunctionRegistry,D as getLatestMigrationNumber,Ye as getMachineUserToken,ze as getMigrationDirPath,T as getMigrationFilePath,oe as getMigrationFiles,Qe as getNamespacesWithMigrations,re as getNextMigrationNumber,je as getOAuth2Client,ae as getOrganization,A as getWorkflow,it as getWorkflowExecution,ue as getWorkspace,Je as hasChanges,at as initOperatorClient,Ie as inviteUser,ot as isPluginGeneratedTable,$e as listApps,M as listExecutorJobs,R as listExecutors,e as listFolders,fe as listFunctionRegistries,Le as listMachineUsers,Ge as listOAuth2Clients,Re as listOrganizations,me as listUsers,f as listWebhookExecutors,l as listWorkflowExecutions,i as listWorkflows,Se as listWorkspaces,Ee as loadAccessToken,Ze as loadConfig,xe as loadEnvFiles,X as loadSeedContext,y as loadTailorDBNamespaces,x as loadWorkspaceId,O as logBetaWarning,te as logger,N as migrateGenerate,Q as organizationTree,De as parseAppIds,a as planAppIds,nt as prompt,be as query,B as reconstructSnapshotFromMigrations,s as remove,we as removeAdoptedConfigIds,ke as removeUser,j as resolveAppId,ve as restoreWorkspace,I as resumeWorkflow,lt as runCommand,ut as runMain,_e as serializeError,U as show,v as startWorkflow,ee as styles,g as triggerExecutor,Ce as truncate,se as updateFolder,Y as updateOrganization,Ue as updateUser,ie as waitForExecution,m as waitWorkflowExecution,F as watchExecutorJob,Be as withSourceLocation,Me as workspaceArgs,K as workspaceNameSchema};
|
|
2
2
|
//# sourceMappingURL=lib.mjs.map
|