@tailor-platform/sdk 1.25.2 → 1.25.3

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.
@@ -1,6 +1,6 @@
1
1
  import "./chunk-Cz-A8uMR.mjs";
2
2
  import "./brand-GZnI4eYb.mjs";
3
- import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-BGO3TtXi.mjs";
3
+ import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-91Th6tm6.mjs";
4
4
  import "./package-json-CVUv8Y9T.mjs";
5
5
  import "./seed-CCVRLibh.mjs";
6
6
  import "./file-utils-2T9w20FP.mjs";
@@ -2,8 +2,8 @@
2
2
  import "../chunk-Cz-A8uMR.mjs";
3
3
  import "../schema-BePzTFBV.mjs";
4
4
  import "../brand-GZnI4eYb.mjs";
5
- import { C as fetchAll, D as initOperatorClient, E as initOAuth2Client, J as AuthInvokerSchema, S as writePlatformConfig, T as fetchUserInfo, U as FunctionExecution_Type, a as loadConfig, b as loadWorkspaceId, c as ExecutorSchema, dt as logger, ft as styles, g as getDistDir, i as resolveInlineSourcemap, o as WorkflowJobSchema, tt as PATScope, u as ResolverSchema, v as fetchLatestToken, x as readPlatformConfig, y as loadAccessToken } from "../application-BGO3TtXi.mjs";
6
- import { C as listCommand$9, E as resumeCommand, Ft as isValidMigrationNumber, G as listCommand$6, Gt as apiCommand, Ht as trnPrefix, I as showCommand, It as loadDiff, Jt as confirmationArgs, Kt as defineAppCommand, Mt as getMigrationFilePath, N as generateCommand$1, Nt as getMigrationFiles, O as listCommand$8, P as logBetaWarning, Q as listCommand$5, R as removeCommand$1, T as healthCommand, V as getCommand$2, Vt as getNamespacesWithMigrations, W as tokenCommand, X as triggerCommand, Xt as isVerbose, Y as webhookCommand, Yt as deploymentArgs, Zt as workspaceArgs, b as createCommand$3, c as listCommand$10, ct as executionsCommand, dt as functionExecutionStatusToString, f as restoreCommand, ft as formatKeyValueTable, g as getCommand$4, gt as executeScript, ht as apply, i as updateCommand$2, it as startCommand, j as truncateCommand, kt as formatMigrationNumber, m as listCommand$11, n as queryCommand, o as removeCommand, ot as getCommand$3, pt as getCommand$1, q as generate, qt as commonArgs, r as isCLIError, tt as jobsCommand, u as inviteCommand, v as deleteCommand$3, yt as parseMigrationLabelNumber, z as listCommand$7 } from "../query-CRSZGUmD.mjs";
5
+ import { C as fetchAll, D as initOperatorClient, E as initOAuth2Client, J as AuthInvokerSchema, S as writePlatformConfig, T as fetchUserInfo, U as FunctionExecution_Type, a as loadConfig, b as loadWorkspaceId, c as ExecutorSchema, ft as logger, g as getDistDir, i as resolveInlineSourcemap, o as WorkflowJobSchema, pt as styles, tt as PATScope, u as ResolverSchema, v as fetchLatestToken, x as readPlatformConfig, y as loadAccessToken } from "../application-91Th6tm6.mjs";
6
+ import { C as listCommand$9, E as resumeCommand, Ft as isValidMigrationNumber, G as listCommand$6, Ht as prompt, I as showCommand, It as loadDiff, Jt as commonArgs, Kt as apiCommand, Mt as getMigrationFilePath, N as generateCommand$1, Nt as getMigrationFiles, O as listCommand$8, P as logBetaWarning, Q as listCommand$5, Qt as workspaceArgs, R as removeCommand$1, T as healthCommand, Ut as trnPrefix, V as getCommand$2, Vt as getNamespacesWithMigrations, W as tokenCommand, X as triggerCommand, Xt as deploymentArgs, Y as webhookCommand, Yt as confirmationArgs, Zt as isVerbose, b as createCommand$3, c as listCommand$10, ct as executionsCommand, dt as functionExecutionStatusToString, f as restoreCommand, ft as formatKeyValueTable, g as getCommand$4, gt as executeScript, ht as apply, i as updateCommand$2, it as startCommand, j as truncateCommand, kt as formatMigrationNumber, m as listCommand$11, n as queryCommand, o as removeCommand, ot as getCommand$3, pt as getCommand$1, q as generate, qt as defineAppCommand, r as isCLIError, tt as jobsCommand, u as inviteCommand, v as deleteCommand$3, yt as parseMigrationLabelNumber, z as listCommand$7 } from "../query-BpppEOzu.mjs";
7
7
  import { t as readPackageJson } from "../package-json-CVUv8Y9T.mjs";
8
8
  import "../seed-CCVRLibh.mjs";
9
9
  import "../file-utils-2T9w20FP.mjs";
@@ -1164,7 +1164,7 @@ const deleteSecretCommand = defineAppCommand({
1164
1164
  profile: args.profile
1165
1165
  });
1166
1166
  if (!args.yes) {
1167
- if (await logger.prompt(`Enter the secret name to confirm deletion ("${args.name}"): `, { type: "text" }) !== args.name) {
1167
+ if (await prompt.text({ message: `Enter the secret name to confirm deletion ("${args.name}"):` }) !== args.name) {
1168
1168
  logger.info("Secret deletion cancelled.");
1169
1169
  return;
1170
1170
  }
@@ -1329,7 +1329,7 @@ const deleteCommand$1 = defineAppCommand({
1329
1329
  profile: args.profile
1330
1330
  });
1331
1331
  if (!args.yes) {
1332
- if (await logger.prompt(`Enter the vault name to confirm deletion ("${args.name}"): `, { type: "text" }) !== args.name) {
1332
+ if (await prompt.text({ message: `Enter the vault name to confirm deletion ("${args.name}"):` }) !== args.name) {
1333
1333
  logger.info("Vault deletion cancelled.");
1334
1334
  return;
1335
1335
  }
@@ -2287,9 +2287,9 @@ async function set(options) {
2287
2287
  logger.newline();
2288
2288
  }
2289
2289
  if (!options.yes) {
2290
- if (!await logger.prompt("Continue with migration checkpoint update?", {
2291
- type: "confirm",
2292
- initial: false
2290
+ if (!await prompt.confirm({
2291
+ message: "Continue with migration checkpoint update?",
2292
+ default: false
2293
2293
  })) {
2294
2294
  logger.info("Operation cancelled.");
2295
2295
  return;