@tailor-platform/sdk 1.9.2 → 1.9.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.
@@ -0,0 +1,4 @@
1
+ import "./chunk-CIV_ash9.mjs";
2
+ import { t as defineApplication } from "./application-CVdIXWKF.mjs";
3
+
4
+ export { defineApplication };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import "../chunk-CIV_ash9.mjs";
3
- import { A as generateCommand, At as trnPrefix, Bt as fetchAll, C as resumeCommand, Ct as isValidMigrationNumber, F as removeCommand$1, Ft as fetchLatestToken, G as generateCommand$1, Gt as PATScope, H as listCommand$5, Ht as initOAuth2Client, I as listCommand$6, It as loadAccessToken, Jt as deploymentArgs, K as triggerCommand, Kt as commonArgs, Lt as loadWorkspaceId, Mt as loadConfig, N as showCommand, O as truncateCommand, Pt as apiCommand, Q as startCommand, R as getCommand$1, Rt as readPlatformConfig, S as healthCommand, T as listCommand$7, Ut as initOperatorClient, V as tokenCommand, Vt as fetchUserInfo, Wt as readPackageJson, Xt as withCommonArgs, Y as jobsCommand, Yt as jsonArgs, Zt as workspaceArgs, _ as createCommand$3, _t as formatMigrationNumber, a as listCommand$9, b as listCommand$8, bt as getMigrationFilePath, ct as parseMigrationLabelNumber, d as listCommand$10, et as getCommand$2, h as deleteCommand$3, j as logBetaWarning, kt as getNamespacesWithMigrations, l as restoreCommand, nt as executionsCommand, ot as applyCommand, p as getCommand$3, qt as confirmationArgs, r as removeCommand, s as inviteCommand, t as updateCommand$2, wt as loadDiff, xt as getMigrationFiles, zt as writePlatformConfig } from "../update-DZs1loy_.mjs";
4
- import { d as styles, u as logger } from "../application-_ArEfxmV.mjs";
3
+ import { A as generateCommand, At as trnPrefix, Bt as fetchAll, C as resumeCommand, Ct as isValidMigrationNumber, F as removeCommand$1, Ft as fetchLatestToken, G as generateCommand$1, Gt as PATScope, H as listCommand$5, Ht as initOAuth2Client, I as listCommand$6, It as loadAccessToken, Jt as deploymentArgs, K as triggerCommand, Kt as commonArgs, Lt as loadWorkspaceId, Mt as loadConfig, N as showCommand, O as truncateCommand, Pt as apiCommand, Q as startCommand, R as getCommand$1, Rt as readPlatformConfig, S as healthCommand, T as listCommand$7, Ut as initOperatorClient, V as tokenCommand, Vt as fetchUserInfo, Wt as readPackageJson, Xt as withCommonArgs, Y as jobsCommand, Yt as jsonArgs, Zt as workspaceArgs, _ as createCommand$3, _t as formatMigrationNumber, a as listCommand$9, b as listCommand$8, bt as getMigrationFilePath, ct as parseMigrationLabelNumber, d as listCommand$10, et as getCommand$2, h as deleteCommand$3, j as logBetaWarning, kt as getNamespacesWithMigrations, l as restoreCommand, nt as executionsCommand, ot as applyCommand, p as getCommand$3, qt as confirmationArgs, r as removeCommand, s as inviteCommand, t as updateCommand$2, wt as loadDiff, xt as getMigrationFiles, zt as writePlatformConfig } from "../update-B9UIU-42.mjs";
4
+ import { d as styles, u as logger } from "../application-CVdIXWKF.mjs";
5
5
  import { createRequire, register } from "node:module";
6
6
  import { arg, defineCommand, runCommand, runMain } from "politty";
7
7
  import { z } from "zod";
@@ -1,5 +1,6 @@
1
1
  /// <reference path="./../user-defined.d.ts" />
2
2
  import { E as TailorDBType, F as IdProviderConfig, L as OAuth2ClientInput, gt as Resolver, p as Executor, r as AppConfig, t as Generator } from "../index-x4xcWJm1.mjs";
3
+ import "politty";
3
4
  import { z } from "zod";
4
5
  import { OAuth2Client } from "@badgateway/oauth2-client";
5
6
  import "@bufbuild/protobuf/wkt";
package/dist/cli/lib.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import "../chunk-CIV_ash9.mjs";
2
- import { $ as startWorkflow, B as getMachineUserToken, D as truncate, Dt as formatMigrationDiff, E as listWorkflows, Et as formatDiffSummary, It as loadAccessToken, J as getExecutorJob, L as listOAuth2Clients, Lt as loadWorkspaceId, M as show, Mt as loadConfig, Nt as apiCall, Ot as hasChanges, P as remove, St as getNextMigrationNumber, Tt as reconstructSnapshotFromMigrations, U as listMachineUsers, W as generate, X as listExecutorJobs, Z as watchExecutorJob, at as apply, bt as getMigrationFilePath, c as inviteUser, dt as INITIAL_SCHEMA_NUMBER, f as listWorkspaces, ft as MIGRATE_FILE_NAME, g as deleteWorkspace, gt as createSnapshotFromLocalTypes, ht as compareSnapshots, i as removeUser, it as listWorkflowExecutions, jt as generateUserTypes, k as generate$1, kt as getNamespacesWithMigrations, lt as DB_TYPES_FILE_NAME, m as getWorkspace, mt as compareLocalTypesWithSnapshot, n as updateUser, o as listUsers, pt as SCHEMA_FILE_NAME, q as triggerExecutor, rt as getWorkflowExecution, st as MIGRATION_LABEL_KEY, tt as getWorkflow, u as restoreWorkspace, ut as DIFF_FILE_NAME, v as createWorkspace, vt as getLatestMigrationNumber, w as resumeWorkflow, x as getAppHealth, xt as getMigrationFiles, y as listApps, yt as getMigrationDirPath, z as getOAuth2Client } from "../update-DZs1loy_.mjs";
3
- import "../application-_ArEfxmV.mjs";
2
+ import { $ as startWorkflow, B as getMachineUserToken, D as truncate, Dt as formatMigrationDiff, E as listWorkflows, Et as formatDiffSummary, It as loadAccessToken, J as getExecutorJob, L as listOAuth2Clients, Lt as loadWorkspaceId, M as show, Mt as loadConfig, Nt as apiCall, Ot as hasChanges, P as remove, St as getNextMigrationNumber, Tt as reconstructSnapshotFromMigrations, U as listMachineUsers, W as generate, X as listExecutorJobs, Z as watchExecutorJob, at as apply, bt as getMigrationFilePath, c as inviteUser, dt as INITIAL_SCHEMA_NUMBER, f as listWorkspaces, ft as MIGRATE_FILE_NAME, g as deleteWorkspace, gt as createSnapshotFromLocalTypes, ht as compareSnapshots, i as removeUser, it as listWorkflowExecutions, jt as generateUserTypes, k as generate$1, kt as getNamespacesWithMigrations, lt as DB_TYPES_FILE_NAME, m as getWorkspace, mt as compareLocalTypesWithSnapshot, n as updateUser, o as listUsers, pt as SCHEMA_FILE_NAME, q as triggerExecutor, rt as getWorkflowExecution, st as MIGRATION_LABEL_KEY, tt as getWorkflow, u as restoreWorkspace, ut as DIFF_FILE_NAME, v as createWorkspace, vt as getLatestMigrationNumber, w as resumeWorkflow, x as getAppHealth, xt as getMigrationFiles, y as listApps, yt as getMigrationDirPath, z as getOAuth2Client } from "../update-B9UIU-42.mjs";
3
+ import "../application-CVdIXWKF.mjs";
4
4
  import { register } from "node:module";
5
5
 
6
6
  //#region src/cli/lib.ts
@@ -1,4 +1,4 @@
1
- import { a as OAuth2ClientSchema, c as tailorUserMap, d as styles, f as symbols, i as ExecutorSchema, l as loadFilesWithIgnores, n as WorkflowJobSchema, o as ResolverSchema, r as WorkflowSchema, s as stringifyFunction, t as defineApplication, u as logger } from "./application-_ArEfxmV.mjs";
1
+ import { a as OAuth2ClientSchema, c as tailorUserMap, d as styles, f as symbols, i as ExecutorSchema, l as loadFilesWithIgnores, n as WorkflowJobSchema, o as ResolverSchema, r as WorkflowSchema, s as stringifyFunction, t as defineApplication, u as logger } from "./application-CVdIXWKF.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { arg, defineCommand } from "politty";
4
4
  import { z } from "zod";
@@ -11890,7 +11890,7 @@ async function generate(options) {
11890
11890
  return;
11891
11891
  }
11892
11892
  if (options.init) await handleInitOption(namespacesWithMigrations, options.yes);
11893
- const { defineApplication: defineApplication$1 } = await import("./application-BdZ8qL7I.mjs");
11893
+ const { defineApplication: defineApplication$1 } = await import("./application-r8pIjc4L.mjs");
11894
11894
  const application = defineApplication$1(config);
11895
11895
  for (const { namespace, migrationsDir } of namespacesWithMigrations) {
11896
11896
  logger.info(`Processing namespace: ${styles.bold(namespace)}`);
@@ -13097,4 +13097,4 @@ const updateCommand = defineCommand({
13097
13097
 
13098
13098
  //#endregion
13099
13099
  export { startWorkflow as $, generateCommand as A, trnPrefix as At, getMachineUserToken as B, fetchAll as Bt, resumeCommand as C, isValidMigrationNumber as Ct, truncate as D, formatMigrationDiff as Dt, listWorkflows as E, formatDiffSummary as Et, removeCommand$1 as F, fetchLatestToken as Ft, generateCommand$1 as G, PATScope as Gt, listCommand$5 as H, initOAuth2Client as Ht, listCommand$4 as I, loadAccessToken as It, getExecutorJob as J, deploymentArgs as Jt, triggerCommand as K, commonArgs as Kt, listOAuth2Clients as L, loadWorkspaceId as Lt, show as M, loadConfig as Mt, showCommand as N, apiCall as Nt, truncateCommand as O, hasChanges as Ot, remove as P, apiCommand as Pt, startCommand as Q, getCommand$1 as R, readPlatformConfig as Rt, healthCommand as S, getNextMigrationNumber as St, listCommand$3 as T, reconstructSnapshotFromMigrations as Tt, listMachineUsers as U, initOperatorClient as Ut, tokenCommand as V, fetchUserInfo as Vt, generate$1 as W, readPackageJson as Wt, listExecutorJobs as X, withCommonArgs as Xt, jobsCommand as Y, jsonArgs as Yt, watchExecutorJob as Z, workspaceArgs as Zt, createCommand as _, formatMigrationNumber as _t, listCommand as a, apply as at, listCommand$2 as b, getMigrationFilePath as bt, inviteUser as c, parseMigrationLabelNumber as ct, listCommand$1 as d, INITIAL_SCHEMA_NUMBER as dt, getCommand$2 as et, listWorkspaces as f, MIGRATE_FILE_NAME as ft, deleteWorkspace as g, createSnapshotFromLocalTypes as gt, deleteCommand as h, compareSnapshots as ht, removeUser as i, listWorkflowExecutions as it, logBetaWarning as j, generateUserTypes as jt, generate as k, getNamespacesWithMigrations as kt, restoreCommand as l, DB_TYPES_FILE_NAME as lt, getWorkspace as m, compareLocalTypesWithSnapshot as mt, updateUser as n, executionsCommand as nt, listUsers as o, applyCommand as ot, getCommand as p, SCHEMA_FILE_NAME as pt, triggerExecutor as q, confirmationArgs as qt, removeCommand as r, getWorkflowExecution as rt, inviteCommand as s, MIGRATION_LABEL_KEY as st, updateCommand as t, getWorkflow as tt, restoreWorkspace as u, DIFF_FILE_NAME as ut, createWorkspace as v, getLatestMigrationNumber as vt, resumeWorkflow as w, loadDiff as wt, getAppHealth as x, getMigrationFiles as xt, listApps as y, getMigrationDirPath as yt, getOAuth2Client as z, writePlatformConfig as zt };
13100
- //# sourceMappingURL=update-DZs1loy_.mjs.map
13100
+ //# sourceMappingURL=update-B9UIU-42.mjs.map