@tailor-platform/sdk 1.32.1 → 1.33.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 +37 -0
- package/dist/{application-p2GujXmg.mjs → application-CfAom-vi.mjs} +33 -25
- package/dist/application-CfAom-vi.mjs.map +1 -0
- package/dist/{application-Cwt_ifTT.mjs → application-ChVyhwe-.mjs} +4 -4
- package/dist/cli/index.mjs +9 -9
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +9 -6
- package/dist/cli/lib.mjs +7 -7
- package/dist/configure/index.d.mts +5 -5
- package/dist/configure/index.mjs +81 -11
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{enum-constants-CkKARYb7.mjs → enum-constants-Piv_E-2M.mjs} +2 -1
- package/dist/{enum-constants-CkKARYb7.mjs.map → enum-constants-Piv_E-2M.mjs.map} +1 -1
- package/dist/{env-BZLTIlIo.d.mts → env-CSZ9CKg7.d.mts} +2 -2
- package/dist/{file-utils-D2TxR_kj.mjs → file-utils-B7xME5IK.mjs} +2 -1
- package/dist/{file-utils-D2TxR_kj.mjs.map → file-utils-B7xME5IK.mjs.map} +1 -1
- package/dist/{index-BYk_9R3S.d.mts → index-BdlrrjvD.d.mts} +133 -24
- package/dist/{index-BQKAzTPA.d.mts → index-Dlpe_4Nd.d.mts} +3 -2
- package/dist/{index-vVGamLOw.d.mts → index-IHl7P_9I.d.mts} +3 -2
- package/dist/{index-CgMytw2A.d.mts → index-dg3Sf-No.d.mts} +3 -2
- package/dist/{index-CoReoodF.d.mts → index-uNv9YJgx.d.mts} +3 -2
- package/dist/{kysely-type-BK0b4Rqt.mjs → kysely-type-t5MbP7iJ.mjs} +2 -1
- package/dist/{kysely-type-BK0b4Rqt.mjs.map → kysely-type-t5MbP7iJ.mjs.map} +1 -1
- package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
- package/dist/plugin/builtin/enum-constants/index.mjs +1 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
- package/dist/plugin/builtin/file-utils/index.mjs +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +1 -1
- package/dist/plugin/builtin/seed/index.mjs +1 -1
- package/dist/plugin/index.d.mts +2 -2
- package/dist/{plugin-IIDZW9GG.d.mts → plugin-BC7WQrjm.d.mts} +24 -13
- package/dist/{runtime-7DOyTTxR.mjs → runtime-3P9JFpe9.mjs} +1018 -303
- package/dist/runtime-3P9JFpe9.mjs.map +1 -0
- package/dist/{schema-BITbkmq3.mjs → schema-D27cW0Ca.mjs} +2 -1
- package/dist/{schema-BITbkmq3.mjs.map → schema-D27cW0Ca.mjs.map} +1 -1
- package/dist/{seed-BXrSEJbv.mjs → seed-DtYgudLq.mjs} +11 -3
- package/dist/seed-DtYgudLq.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +2 -2
- package/dist/{workflow.generated-C2A5Ye0m.d.mts → workflow.generated-Cd5dsFnf.d.mts} +2 -2
- package/docs/cli/application.md +17 -0
- package/docs/services/executor.md +54 -0
- package/package.json +8 -8
- package/dist/application-p2GujXmg.mjs.map +0 -1
- package/dist/runtime-7DOyTTxR.mjs.map +0 -1
- package/dist/seed-BXrSEJbv.mjs.map +0 -1
|
@@ -4,9 +4,9 @@ import "./brand-0SscafcY.mjs";
|
|
|
4
4
|
import "./logger-qz-Y4sBV.mjs";
|
|
5
5
|
import "./client-D5P1myz0.mjs";
|
|
6
6
|
import "./package-json-VqyFvGiP.mjs";
|
|
7
|
-
import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-
|
|
8
|
-
import "./seed-
|
|
9
|
-
import "./file-utils-
|
|
10
|
-
import "./kysely-type-
|
|
7
|
+
import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-CfAom-vi.mjs";
|
|
8
|
+
import "./seed-DtYgudLq.mjs";
|
|
9
|
+
import "./file-utils-B7xME5IK.mjs";
|
|
10
|
+
import "./kysely-type-t5MbP7iJ.mjs";
|
|
11
11
|
|
|
12
12
|
export { defineApplication };
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import "../chunk-COzJYswC.mjs";
|
|
4
|
-
import "../schema-
|
|
4
|
+
import "../schema-D27cW0Ca.mjs";
|
|
5
5
|
import "../brand-0SscafcY.mjs";
|
|
6
6
|
import { n as logger, r as styles } from "../logger-qz-Y4sBV.mjs";
|
|
7
|
-
import { At as functionExecutionStatusToString, B as updateCommand$3, Ct as startCommand, D as resumeCommand, Dt as executionsCommand, E as healthCommand, Ft as executeScript, I as showCommand, J as updateCommand$2, Jt as formatMigrationNumber, K as getCommand$4, L as logBetaWarning, M as truncateCommand, Mt as getCommand$1, P as generateCommand$1, Pt as apply, Q as getCommand$3, Qt as getMigrationFiles, Rt as parseMigrationLabelNumber, Tt as getCommand$5, U as treeCommand, W as listCommand$10, X as listCommand$9, Zt as getMigrationFilePath, _ as getCommand$6, _n as isVerbose, _t as listCommand$6, a as updateCommand$4, bt as jobsCommand, cn as sdkNameLabelKey, d as inviteCommand, en as isValidMigrationNumber, et as deleteCommand$3, fn as apiCommand, ft as generate, gn as deploymentArgs, h as listCommand$14, hn as confirmationArgs, ht as triggerCommand, i as isCLIError, it as listCommand$8, jt as formatKeyValueTable, k as listCommand$11, l as listCommand$13, ln as trnPrefix, lt as tokenCommand, mn as commonArgs, mt as webhookCommand, nt as createCommand$3, on as getNamespacesWithMigrations, ot as getCommand$2, p as restoreCommand, pn as defineAppCommand, r as queryCommand, s as removeCommand, sn as prompt, t as isNativeTypeScriptRuntime, tn as loadDiff, ut as listCommand$7, vn as workspaceArgs, w as listCommand$12, x as createCommand$4, y as deleteCommand$4, z as removeCommand$1 } from "../runtime-
|
|
7
|
+
import { At as functionExecutionStatusToString, B as updateCommand$3, Ct as startCommand, D as resumeCommand, Dt as executionsCommand, E as healthCommand, Ft as executeScript, I as showCommand, J as updateCommand$2, Jt as formatMigrationNumber, K as getCommand$4, L as logBetaWarning, M as truncateCommand, Mt as getCommand$1, P as generateCommand$1, Pt as apply, Q as getCommand$3, Qt as getMigrationFiles, Rt as parseMigrationLabelNumber, Tt as getCommand$5, U as treeCommand, W as listCommand$10, X as listCommand$9, Zt as getMigrationFilePath, _ as getCommand$6, _n as isVerbose, _t as listCommand$6, a as updateCommand$4, bt as jobsCommand, cn as sdkNameLabelKey, d as inviteCommand, en as isValidMigrationNumber, et as deleteCommand$3, fn as apiCommand, ft as generate, gn as deploymentArgs, h as listCommand$14, hn as confirmationArgs, ht as triggerCommand, i as isCLIError, it as listCommand$8, jt as formatKeyValueTable, k as listCommand$11, l as listCommand$13, ln as trnPrefix, lt as tokenCommand, mn as commonArgs, mt as webhookCommand, nt as createCommand$3, on as getNamespacesWithMigrations, ot as getCommand$2, p as restoreCommand, pn as defineAppCommand, r as queryCommand, s as removeCommand, sn as prompt, t as isNativeTypeScriptRuntime, tn as loadDiff, ut as listCommand$7, vn as workspaceArgs, w as listCommand$12, x as createCommand$4, y as deleteCommand$4, z as removeCommand$1 } from "../runtime-3P9JFpe9.mjs";
|
|
8
8
|
import { B as PATScope, D as FunctionExecution_Type, N as AuthInvokerSchema, i as fetchAll, l as initOAuth2Client, m as userAgent, n as closeConnectionPool, o as fetchPlatformMachineUserToken, s as fetchUserInfo, u as initOperatorClient } from "../client-D5P1myz0.mjs";
|
|
9
9
|
import { t as readPackageJson } from "../package-json-VqyFvGiP.mjs";
|
|
10
|
-
import { C as resolveTokens, S as readPlatformConfig, T as writePlatformConfig, a as loadConfig, b as loadAccessToken, c as ExecutorSchema, g as getDistDir, i as resolveInlineSourcemap, o as WorkflowJobSchema, u as ResolverSchema, v as deleteUserTokens, w as saveUserTokens, x as loadWorkspaceId, y as fetchLatestToken } from "../application-
|
|
11
|
-
import "../seed-
|
|
12
|
-
import "../file-utils-
|
|
13
|
-
import "../kysely-type-
|
|
10
|
+
import { C as resolveTokens, S as readPlatformConfig, T as writePlatformConfig, a as loadConfig, b as loadAccessToken, c as ExecutorSchema, g as getDistDir, i as resolveInlineSourcemap, o as WorkflowJobSchema, u as ResolverSchema, v as deleteUserTokens, w as saveUserTokens, x as loadWorkspaceId, y as fetchLatestToken } from "../application-CfAom-vi.mjs";
|
|
11
|
+
import "../seed-DtYgudLq.mjs";
|
|
12
|
+
import "../file-utils-B7xME5IK.mjs";
|
|
13
|
+
import "../kysely-type-t5MbP7iJ.mjs";
|
|
14
14
|
import "../telemetry-B4sp-dD2.mjs";
|
|
15
15
|
import { a as JSON_FOOTER_MARKER, i as CRASH_LOG_EXTENSION, o as parseCrashReportConfig, r as sendCrashReport, t as initCrashReporting } from "../crash-report-DnwITWeV.mjs";
|
|
16
16
|
import { createRequire } from "node:module";
|
|
@@ -1305,9 +1305,9 @@ async function checkVaultManaged(params) {
|
|
|
1305
1305
|
* Release ownership of a managed vault by removing SDK labels from metadata.
|
|
1306
1306
|
* Call this after the user has confirmed they want to proceed with a CLI operation on a managed vault.
|
|
1307
1307
|
* @param params - Client, TRN, and existing labels from checkVaultManaged result
|
|
1308
|
-
* @param params.client
|
|
1309
|
-
* @param params.trn
|
|
1310
|
-
* @param params.existingLabels
|
|
1308
|
+
* @param params.client - Operator client used to update vault metadata
|
|
1309
|
+
* @param params.trn - TRN of the vault resource
|
|
1310
|
+
* @param params.existingLabels - Existing metadata labels on the vault before release
|
|
1311
1311
|
*/
|
|
1312
1312
|
async function releaseVaultOwnership(params) {
|
|
1313
1313
|
const { client, trn, existingLabels } = params;
|