@tailor-platform/sdk 1.45.2 → 1.46.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/application-B4zVVNRS.mjs.map +1 -1
  3. package/dist/cli/index.mjs +71 -49
  4. package/dist/cli/index.mjs.map +1 -1
  5. package/dist/cli/lib.d.mts +7 -7
  6. package/dist/cli/lib.mjs +2 -2
  7. package/dist/cli/lib.mjs.map +1 -1
  8. package/dist/configure/index.d.mts +1 -1
  9. package/dist/{crash-report-BUHzuzDn.mjs → crashreport-6mcMyWu4.mjs} +1 -1
  10. package/dist/{crash-report-CtYCva4d.mjs → crashreport-DGeGj9BF.mjs} +8 -8
  11. package/dist/crashreport-DGeGj9BF.mjs.map +1 -0
  12. package/dist/{index-DUKJPEwq.d.mts → index-PB0otrDj.d.mts} +3 -3
  13. package/dist/{runtime-D97Ydu2S.mjs → runtime-B67skpW-.mjs} +64 -64
  14. package/dist/runtime-B67skpW-.mjs.map +1 -0
  15. package/dist/telemetry-21afNV9_.mjs +4 -0
  16. package/dist/{telemetry-DXitz4RH.mjs → telemetry-DcL8Fsm_.mjs} +1 -1
  17. package/dist/{telemetry-DXitz4RH.mjs.map → telemetry-DcL8Fsm_.mjs.map} +1 -1
  18. package/dist/utils/test/index.d.mts +1 -1
  19. package/docs/cli/application.md +19 -17
  20. package/docs/cli/crashreport.md +119 -0
  21. package/docs/cli/executor.md +9 -9
  22. package/docs/cli/function.md +5 -5
  23. package/docs/cli/tailordb.md +1 -1
  24. package/docs/cli/workflow.md +8 -8
  25. package/docs/cli-reference.md +8 -8
  26. package/docs/quickstart.md +2 -2
  27. package/docs/services/auth.md +2 -2
  28. package/docs/services/secret.md +4 -4
  29. package/docs/services/tailordb-migration.md +10 -10
  30. package/docs/services/tailordb.md +1 -1
  31. package/package.json +1 -1
  32. package/dist/crash-report-CtYCva4d.mjs.map +0 -1
  33. package/dist/runtime-D97Ydu2S.mjs.map +0 -1
  34. package/dist/telemetry-BvI1EgMG.mjs +0 -4
  35. package/docs/cli/crash-report.md +0 -118
  36. /package/dist/{application-BIzicxMA.mjs → application-Boa_11Nv.mjs} +0 -0
@@ -6,7 +6,7 @@ import { C as loadWorkspaceId, D as writePlatformConfig, S as loadAccessToken, _
6
6
  import { t as multiline } from "./multiline-e3IpANmS.mjs";
7
7
  import { t as readPackageJson } from "./package-json-6Px8bDpG.mjs";
8
8
  import { n as isCLIError, t as createCLIError } from "./errors-wNQxQQBH.mjs";
9
- import { r as withSpan } from "./telemetry-DXitz4RH.mjs";
9
+ import { r as withSpan } from "./telemetry-DcL8Fsm_.mjs";
10
10
  import { arg, createDefineCommand, defineCommand, runCommand } from "politty";
11
11
  import { z } from "zod";
12
12
  import * as fs$1 from "node:fs";
@@ -25,13 +25,13 @@ import * as crypto from "node:crypto";
25
25
  import { createHash } from "node:crypto";
26
26
  import { resolveTSConfig } from "pkg-types";
27
27
  import { ScalarType, create, fromJson, toJson } from "@bufbuild/protobuf";
28
+ import { ExitPromptError } from "@inquirer/core";
29
+ import { confirm, input, password } from "@inquirer/prompts";
30
+ import { isCI } from "std-env";
28
31
  import * as rolldown from "rolldown";
29
32
  import * as fs from "node:fs/promises";
30
33
  import { glob } from "node:fs/promises";
31
34
  import * as inflection from "inflection";
32
- import { ExitPromptError } from "@inquirer/core";
33
- import { confirm, input, password } from "@inquirer/prompts";
34
- import { isCI } from "std-env";
35
35
  import { setTimeout as setTimeout$1 } from "timers/promises";
36
36
  import { spawn } from "node:child_process";
37
37
  import { watch } from "chokidar";
@@ -598,6 +598,30 @@ Values already present in \`--body\` are never overridden. If a value cannot be
598
598
  }
599
599
  });
600
600
 
601
+ //#endregion
602
+ //#region src/cli/shared/prompt.ts
603
+ /**
604
+ * Wraps a prompt function with CI guard and cancellation handling.
605
+ * @param fn - A prompt function from `@inquirer/prompts`
606
+ * @returns A wrapped function that throws in CI and exits on cancel
607
+ */
608
+ function withGuard(fn) {
609
+ return async (...args) => {
610
+ if (isCI) throw new CIPromptError();
611
+ try {
612
+ return await fn(...args);
613
+ } catch (error) {
614
+ if (error instanceof ExitPromptError) process.exit(130);
615
+ throw error;
616
+ }
617
+ };
618
+ }
619
+ const prompt = {
620
+ confirm: withGuard(confirm),
621
+ text: withGuard(input),
622
+ password: withGuard(password)
623
+ };
624
+
601
625
  //#endregion
602
626
  //#region src/cli/cache/types.ts
603
627
  const cacheOutputFileSchema = z.object({
@@ -812,7 +836,7 @@ ${machineUserFields}
812
836
  return multiline`
813
837
  // This file is auto-generated by @tailor-platform/sdk
814
838
  // Do not edit this file manually
815
- // Regenerated automatically when running 'tailor-sdk apply' or 'tailor-sdk generate'
839
+ // Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
816
840
 
817
841
  declare module "@tailor-platform/sdk" {
818
842
  interface AttributeMap ${mapBody}
@@ -1239,7 +1263,7 @@ function copyMetadataToExtendedType(original, extended) {
1239
1263
  }
1240
1264
 
1241
1265
  //#endregion
1242
- //#region src/cli/commands/apply/change-set.ts
1266
+ //#region src/cli/commands/deploy/change-set.ts
1243
1267
  /**
1244
1268
  * Create a new ChangeSet for tracking resource changes.
1245
1269
  * @param title - Title for the change set
@@ -1308,7 +1332,7 @@ function formatPlanSummary(summary) {
1308
1332
  }
1309
1333
 
1310
1334
  //#endregion
1311
- //#region src/cli/commands/apply/compare.ts
1335
+ //#region src/cli/commands/deploy/compare.ts
1312
1336
  /**
1313
1337
  * Stable JSON-like serialization that sorts object keys and ignores proto runtime metadata.
1314
1338
  * @param value - Value to serialize
@@ -1348,7 +1372,7 @@ function areNormalizedEqual(left, right) {
1348
1372
  }
1349
1373
 
1350
1374
  //#endregion
1351
- //#region src/cli/commands/apply/label.ts
1375
+ //#region src/cli/commands/deploy/label.ts
1352
1376
  /**
1353
1377
  * Build TRN prefix for a workspace.
1354
1378
  * @param workspaceId - Workspace ID
@@ -1389,7 +1413,7 @@ async function buildMetaRequest(trn, appName, existingLabels) {
1389
1413
  }
1390
1414
 
1391
1415
  //#endregion
1392
- //#region src/cli/commands/apply/application.ts
1416
+ //#region src/cli/commands/deploy/application.ts
1393
1417
  /**
1394
1418
  * Apply application changes for the given phase.
1395
1419
  * @param client - Operator client instance
@@ -1572,7 +1596,7 @@ function protoSubgraph(subgraph) {
1572
1596
  }
1573
1597
 
1574
1598
  //#endregion
1575
- //#region src/cli/commands/apply/secrets-state.ts
1599
+ //#region src/cli/commands/deploy/secrets-state.ts
1576
1600
  const SecretsStateSchema = z.object({
1577
1601
  vaults: z.record(z.string(), z.record(z.string(), z.string())),
1578
1602
  connections: z.record(z.string(), z.string()).optional()
@@ -1617,7 +1641,7 @@ function hashValue(value) {
1617
1641
  }
1618
1642
 
1619
1643
  //#endregion
1620
- //#region src/cli/commands/apply/auth-connection.ts
1644
+ //#region src/cli/commands/deploy/auth-connection.ts
1621
1645
  function connectionTrn(workspaceId, name) {
1622
1646
  return `${trnPrefix(workspaceId)}:auth-connection:${name}`;
1623
1647
  }
@@ -1842,7 +1866,7 @@ async function applyAuthConnections(client, result, phase) {
1842
1866
  }
1843
1867
 
1844
1868
  //#endregion
1845
- //#region src/cli/commands/apply/function-registry.ts
1869
+ //#region src/cli/commands/deploy/function-registry.ts
1846
1870
  const CHUNK_SIZE = 64 * 1024;
1847
1871
  /**
1848
1872
  * Compute SHA-256 content hash for a script string.
@@ -2169,7 +2193,7 @@ async function applyFunctionRegistry(client, workspaceId, result, phase = "creat
2169
2193
  }
2170
2194
 
2171
2195
  //#endregion
2172
- //#region src/cli/commands/apply/grouped-display.ts
2196
+ //#region src/cli/commands/deploy/grouped-display.ts
2173
2197
  /**
2174
2198
  * Convert grouped function registry changes into mutable name sets.
2175
2199
  * @param changes - Grouped function registry changes
@@ -2484,7 +2508,7 @@ function parseIdPPermission(rawPermission) {
2484
2508
  }
2485
2509
 
2486
2510
  //#endregion
2487
- //#region src/cli/commands/apply/idp.ts
2511
+ //#region src/cli/commands/deploy/idp.ts
2488
2512
  /**
2489
2513
  * Build the vault name for an IdP client.
2490
2514
  * @param namespaceName - IdP namespace name
@@ -2945,7 +2969,7 @@ function protoIdPOperand(operand) {
2945
2969
  }
2946
2970
 
2947
2971
  //#endregion
2948
- //#region src/cli/commands/apply/auth.ts
2972
+ //#region src/cli/commands/deploy/auth.ts
2949
2973
  /**
2950
2974
  * Apply auth-related changes for the given phase.
2951
2975
  * @param client - Operator client instance
@@ -4076,31 +4100,7 @@ async function planAuthHooks(client, workspaceId, auths, deletedServices, forceA
4076
4100
  }
4077
4101
 
4078
4102
  //#endregion
4079
- //#region src/cli/shared/prompt.ts
4080
- /**
4081
- * Wraps a prompt function with CI guard and cancellation handling.
4082
- * @param fn - A prompt function from `@inquirer/prompts`
4083
- * @returns A wrapped function that throws in CI and exits on cancel
4084
- */
4085
- function withGuard(fn) {
4086
- return async (...args) => {
4087
- if (isCI) throw new CIPromptError();
4088
- try {
4089
- return await fn(...args);
4090
- } catch (error) {
4091
- if (error instanceof ExitPromptError) process.exit(130);
4092
- throw error;
4093
- }
4094
- };
4095
- }
4096
- const prompt = {
4097
- confirm: withGuard(confirm),
4098
- text: withGuard(input),
4099
- password: withGuard(password)
4100
- };
4101
-
4102
- //#endregion
4103
- //#region src/cli/commands/apply/confirm.ts
4103
+ //#region src/cli/commands/deploy/confirm.ts
4104
4104
  /**
4105
4105
  * Confirm reassignment of resources when owner conflicts are detected.
4106
4106
  * @param conflicts - Detected owner conflicts
@@ -4185,7 +4185,7 @@ async function confirmImportantResourceDeletion(resources, yes) {
4185
4185
  }
4186
4186
 
4187
4187
  //#endregion
4188
- //#region src/cli/commands/apply/auth-invoker.ts
4188
+ //#region src/cli/commands/deploy/auth-invoker.ts
4189
4189
  /**
4190
4190
  * Normalize an authInvoker value to the object form required by the proto payload.
4191
4191
  *
@@ -4211,7 +4211,7 @@ function normalizeAuthInvoker(authInvoker, authNamespace, context) {
4211
4211
  }
4212
4212
 
4213
4213
  //#endregion
4214
- //#region src/cli/commands/apply/executor.ts
4214
+ //#region src/cli/commands/deploy/executor.ts
4215
4215
  /**
4216
4216
  * Apply executor-related changes for the given phase.
4217
4217
  * @param client - Operator client instance
@@ -4589,7 +4589,7 @@ function protoExecutor(application, executor) {
4589
4589
  }
4590
4590
 
4591
4591
  //#endregion
4592
- //#region src/cli/commands/apply/resolver.ts
4592
+ //#region src/cli/commands/deploy/resolver.ts
4593
4593
  const SCALAR_TYPE_MAP = {
4594
4594
  uuid: {
4595
4595
  kind: "ScalarType",
@@ -4960,7 +4960,7 @@ function protoFields(fields, baseName, isInput) {
4960
4960
  }
4961
4961
 
4962
4962
  //#endregion
4963
- //#region src/cli/commands/apply/secret-manager.ts
4963
+ //#region src/cli/commands/deploy/secret-manager.ts
4964
4964
  /**
4965
4965
  * Plan secret manager changes based on current and desired state.
4966
4966
  * @param context - Planning context
@@ -5181,7 +5181,7 @@ async function applySecretManager(client, result, phase = "create-update", appli
5181
5181
  }
5182
5182
 
5183
5183
  //#endregion
5184
- //#region src/cli/commands/apply/staticwebsite.ts
5184
+ //#region src/cli/commands/deploy/staticwebsite.ts
5185
5185
  /**
5186
5186
  * Apply static website changes for the given phase.
5187
5187
  * @param client - Operator client instance
@@ -6926,7 +6926,7 @@ function spinner(options) {
6926
6926
  }
6927
6927
 
6928
6928
  //#endregion
6929
- //#region src/cli/commands/apply/tailordb/migration.ts
6929
+ //#region src/cli/commands/deploy/tailordb/migration.ts
6930
6930
  /**
6931
6931
  * Migration execution service for TailorDB migrations
6932
6932
  *
@@ -7101,7 +7101,7 @@ function groupMigrationsByNamespace(migrations) {
7101
7101
  }
7102
7102
 
7103
7103
  //#endregion
7104
- //#region src/cli/commands/apply/tailordb/index.ts
7104
+ //#region src/cli/commands/deploy/tailordb/index.ts
7105
7105
  /**
7106
7106
  * Fetch all TailorDB types from remote for a namespace
7107
7107
  * @param {OperatorClient} client - Operator client instance
@@ -8347,7 +8347,7 @@ function formatMigrationCheckResults(results) {
8347
8347
  }
8348
8348
 
8349
8349
  //#endregion
8350
- //#region src/cli/commands/apply/workflow.ts
8350
+ //#region src/cli/commands/deploy/workflow.ts
8351
8351
  /**
8352
8352
  * Apply workflow changes for the given phase.
8353
8353
  * @param client - Operator client instance
@@ -8636,7 +8636,7 @@ function normalizeRetryPolicyForCompare(policy) {
8636
8636
  }
8637
8637
 
8638
8638
  //#endregion
8639
- //#region src/cli/commands/apply/apply.ts
8639
+ //#region src/cli/commands/deploy/deploy.ts
8640
8640
  function applicationTrn(workspaceId, name) {
8641
8641
  return `trn:v1:workspace:${workspaceId}:application:${name}`;
8642
8642
  }
@@ -8816,13 +8816,13 @@ function summarizePlanResults(results, displayEntries, serviceActions) {
8816
8816
  return summary;
8817
8817
  }
8818
8818
  /**
8819
- * Apply the configured application to the Tailor platform.
8820
- * @param options - Options for apply execution
8819
+ * Deploy the configured application to the Tailor platform.
8820
+ * @param options - Options for deploy execution
8821
8821
  * @returns Promise that resolves to `{ bundledScripts }` when `buildOnly` is true, otherwise void
8822
8822
  */
8823
- async function apply(options) {
8824
- return withSpan("apply", async (rootSpan) => {
8825
- rootSpan.setAttribute("apply.dry_run", options?.dryRun ?? false);
8823
+ async function deploy(options) {
8824
+ return withSpan("deploy", async (rootSpan) => {
8825
+ rootSpan.setAttribute("deploy.dry_run", options?.dryRun ?? false);
8826
8826
  const { config, application, workflowBuildResult, bundledScripts, buildOnly } = await withSpan("build", async () => {
8827
8827
  const { config, plugins } = await withSpan("build.loadConfig", () => loadConfig(options?.configPath));
8828
8828
  const dryRun = options?.dryRun ?? false;
@@ -9751,7 +9751,7 @@ const executionsCommand = defineAppCommand({
9751
9751
  args: z.object({
9752
9752
  ...workspaceArgs,
9753
9753
  ...pagedLogArgs,
9754
- executionId: arg(z.string().optional(), {
9754
+ "execution-id": arg(z.string().optional(), {
9755
9755
  positional: true,
9756
9756
  description: "Execution ID (if provided, shows details)"
9757
9757
  }),
@@ -10330,11 +10330,11 @@ const jobsCommand = defineAppCommand({
10330
10330
  ],
10331
10331
  args: z.object({
10332
10332
  ...workspaceArgs,
10333
- executorName: arg(z.string(), {
10333
+ "executor-name": arg(z.string(), {
10334
10334
  positional: true,
10335
10335
  description: "Executor name"
10336
10336
  }),
10337
- jobId: arg(z.string().optional(), {
10337
+ "job-id": arg(z.string().optional(), {
10338
10338
  positional: true,
10339
10339
  description: "Job ID (if provided, shows job details)"
10340
10340
  }),
@@ -10583,7 +10583,7 @@ The \`--logs\` option displays logs from the downstream execution when available
10583
10583
  ],
10584
10584
  args: z.object({
10585
10585
  ...workspaceArgs,
10586
- executorName: arg(z.string(), {
10586
+ "executor-name": arg(z.string(), {
10587
10587
  positional: true,
10588
10588
  description: "Executor name"
10589
10589
  }),
@@ -13132,7 +13132,7 @@ function generateMigrationScript(diff) {
13132
13132
  * This script handles data migration for breaking schema changes.
13133
13133
  * Edit this file to implement your data migration logic.
13134
13134
  *
13135
- * The transaction is managed by the apply command.
13135
+ * The transaction is managed by the deploy command.
13136
13136
  * If any operation fails, all changes will be rolled back.
13137
13137
  */
13138
13138
 
@@ -13291,7 +13291,7 @@ async function generate(options) {
13291
13291
  if (options.init) await handleInitOption(namespacesWithMigrations, options.yes);
13292
13292
  let pluginManager;
13293
13293
  if (plugins.length > 0) pluginManager = new PluginManager(plugins);
13294
- const { defineApplication } = await import("./application-BIzicxMA.mjs");
13294
+ const { defineApplication } = await import("./application-Boa_11Nv.mjs");
13295
13295
  const application = defineApplication({
13296
13296
  config,
13297
13297
  pluginManager
@@ -13388,7 +13388,7 @@ async function generateDiffFromSnapshot(previousSnapshot, currentSnapshot, migra
13388
13388
  if (result.dbTypesFilePath) logger.info(` DB types: ${result.dbTypesFilePath}`);
13389
13389
  logger.newline();
13390
13390
  logger.log("A migration script was generated for breaking changes.");
13391
- logger.log("Please review and edit the script before running 'tailor-sdk apply'.");
13391
+ logger.log("Please review and edit the script before running 'tailor-sdk deploy'.");
13392
13392
  const editor = getConfiguredEditorCommand();
13393
13393
  if (!editor) return;
13394
13394
  try {
@@ -13727,7 +13727,7 @@ const resumeCommand = defineAppCommand({
13727
13727
  description: "Resume a failed or pending workflow execution.",
13728
13728
  args: z.object({
13729
13729
  ...workspaceArgs,
13730
- executionId: arg(z.string(), {
13730
+ "execution-id": arg(z.string(), {
13731
13731
  positional: true,
13732
13732
  description: "Failed execution ID"
13733
13733
  }),
@@ -15439,5 +15439,5 @@ function isDeno() {
15439
15439
  }
15440
15440
 
15441
15441
  //#endregion
15442
- export { deleteCommand$1 as $, getMigrationDirPath as $t, truncate as A, executionsCommand as At, updateOrganization as B, MIGRATION_LABEL_KEY as Bt, listCommand$2 as C, toPageDirection as Cn, jobsCommand as Ct, resumeWorkflow as D, startWorkflow as Dt, resumeCommand as E, startCommand as Et, showCommand as F, getCommand$6 as Ft, getCommand$1 as G, INITIAL_SCHEMA_NUMBER as Gt, treeCommand as H, bundleMigrationScript as Ht, logBetaWarning as I, getExecutor as It, updateFolder as J, compareLocalTypesWithSnapshot as Jt, getOrganization as K, MIGRATE_FILE_NAME as Kt, remove as L, apply as Lt, generate as M, listWorkflowExecutions as Mt, generateCommand as N, functionExecutionStatusToString as Nt, listCommand$3 as O, getCommand$5 as Ot, show as P, formatKeyValueTable as Pt, getFolder as Q, getLatestMigrationNumber as Qt, removeCommand$1 as R, executeScript as Rt, listApps as S, paginationArgs as Sn, getExecutorJob as St, healthCommand as T, watchExecutorJob as Tt, listCommand$4 as U, DB_TYPES_FILE_NAME as Ut, organizationTree as V, parseMigrationLabelNumber as Vt, listOrganizations as W, DIFF_FILE_NAME as Wt, listFolders as X, createSnapshotFromLocalTypes as Xt, listCommand$5 as Y, compareSnapshots as Yt, getCommand$2 as Z, formatMigrationNumber as Zt, getWorkspace as _, commonArgs as _n, webhookCommand as _t, updateUser as a, reconstructSnapshotFromMigrations as an, getCommand$3 as at, createCommand as b, isVerbose as bn, listCommand$9 as bt, listCommand as c, hasChanges as cn, tokenCommand as ct, inviteUser as d, sdkNameLabelKey as dn, generate$1 as dt, getMigrationFilePath as en, deleteFolder as et, restoreCommand as f, trnPrefix as fn, listCommand$8 as ft, getCommand as g, defineAppCommand as gn, listWebhookExecutors as gt, listWorkspaces as h, apiCall as hn, getFunctionRegistry as ht, updateCommand as i, loadDiff as in, listOAuth2Clients as it, truncateCommand as j, getWorkflowExecution as jt, listWorkflows as k, getWorkflow as kt, listUsers as l, getNamespacesWithMigrations as ln, listCommand$7 as lt, listCommand$1 as m, apiCommand as mn, getCommand$4 as mt, query as n, getNextMigrationNumber as nn, createFolder as nt, removeCommand as o, formatDiffSummary as on, getOAuth2Client as ot, restoreWorkspace as p, generateUserTypes as pn, listFunctionRegistries as pt, updateCommand$2 as q, SCHEMA_FILE_NAME as qt, queryCommand as r, isValidMigrationNumber as rn, listCommand$6 as rt, removeUser as s, formatMigrationDiff as sn, getMachineUserToken as st, isNativeTypeScriptRuntime as t, getMigrationFiles as tn, createCommand$1 as tt, inviteCommand as u, prompt as un, listMachineUsers as ut, deleteCommand as v, confirmationArgs as vn, triggerCommand as vt, getAppHealth as w, workspaceArgs as wn, listExecutorJobs as wt, createWorkspace as x, pagedLogArgs as xn, listExecutors as xt, deleteWorkspace as y, deploymentArgs as yn, triggerExecutor as yt, updateCommand$1 as z, waitForExecution$1 as zt };
15443
- //# sourceMappingURL=runtime-D97Ydu2S.mjs.map
15442
+ export { deleteCommand$1 as $, getMigrationDirPath as $t, truncate as A, executionsCommand as At, updateOrganization as B, MIGRATION_LABEL_KEY as Bt, listCommand$2 as C, toPageDirection as Cn, jobsCommand as Ct, resumeWorkflow as D, startWorkflow as Dt, resumeCommand as E, startCommand as Et, showCommand as F, getCommand$6 as Ft, getCommand$1 as G, INITIAL_SCHEMA_NUMBER as Gt, treeCommand as H, bundleMigrationScript as Ht, logBetaWarning as I, getExecutor as It, updateFolder as J, compareLocalTypesWithSnapshot as Jt, getOrganization as K, MIGRATE_FILE_NAME as Kt, remove as L, deploy as Lt, generate as M, listWorkflowExecutions as Mt, generateCommand as N, functionExecutionStatusToString as Nt, listCommand$3 as O, getCommand$5 as Ot, show as P, formatKeyValueTable as Pt, getFolder as Q, getLatestMigrationNumber as Qt, removeCommand$1 as R, executeScript as Rt, listApps as S, paginationArgs as Sn, getExecutorJob as St, healthCommand as T, watchExecutorJob as Tt, listCommand$4 as U, DB_TYPES_FILE_NAME as Ut, organizationTree as V, parseMigrationLabelNumber as Vt, listOrganizations as W, DIFF_FILE_NAME as Wt, listFolders as X, createSnapshotFromLocalTypes as Xt, listCommand$5 as Y, compareSnapshots as Yt, getCommand$2 as Z, formatMigrationNumber as Zt, getWorkspace as _, commonArgs as _n, webhookCommand as _t, updateUser as a, reconstructSnapshotFromMigrations as an, getCommand$3 as at, createCommand as b, isVerbose as bn, listCommand$9 as bt, listCommand as c, hasChanges as cn, tokenCommand as ct, inviteUser as d, trnPrefix as dn, generate$1 as dt, getMigrationFilePath as en, deleteFolder as et, restoreCommand as f, generateUserTypes as fn, listCommand$8 as ft, getCommand as g, defineAppCommand as gn, listWebhookExecutors as gt, listWorkspaces as h, apiCall as hn, getFunctionRegistry as ht, updateCommand as i, loadDiff as in, listOAuth2Clients as it, truncateCommand as j, getWorkflowExecution as jt, listWorkflows as k, getWorkflow as kt, listUsers as l, getNamespacesWithMigrations as ln, listCommand$7 as lt, listCommand$1 as m, apiCommand as mn, getCommand$4 as mt, query as n, getNextMigrationNumber as nn, createFolder as nt, removeCommand as o, formatDiffSummary as on, getOAuth2Client as ot, restoreWorkspace as p, prompt as pn, listFunctionRegistries as pt, updateCommand$2 as q, SCHEMA_FILE_NAME as qt, queryCommand as r, isValidMigrationNumber as rn, listCommand$6 as rt, removeUser as s, formatMigrationDiff as sn, getMachineUserToken as st, isNativeTypeScriptRuntime as t, getMigrationFiles as tn, createCommand$1 as tt, inviteCommand as u, sdkNameLabelKey as un, listMachineUsers as ut, deleteCommand as v, confirmationArgs as vn, triggerCommand as vt, getAppHealth as w, workspaceArgs as wn, listExecutorJobs as wt, createWorkspace as x, pagedLogArgs as xn, listExecutors as xt, deleteWorkspace as y, deploymentArgs as yn, triggerExecutor as yt, updateCommand$1 as z, waitForExecution$1 as zt };
15443
+ //# sourceMappingURL=runtime-B67skpW-.mjs.map