@tailor-platform/sdk 1.1.2 → 1.1.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.
- package/CHANGELOG.md +34 -0
- package/dist/{chunk-DhYkiPYI.mjs → chunk-CIV_ash9.mjs} +2 -2
- package/dist/cli/index.mjs +2 -2
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +2 -1
- package/dist/cli/lib.mjs +2 -2
- package/dist/config-Bc_PBkyF.mjs.map +1 -1
- package/dist/configure/index.d.mts +2 -2
- package/dist/{index-BZTdfjoO.d.mts → index-DGej7NpI.d.mts} +8 -3
- package/dist/{jiti-CuWZt63q.mjs → jiti-1z3eKztL.mjs} +2 -2
- package/dist/{jiti-CuWZt63q.mjs.map → jiti-1z3eKztL.mjs.map} +1 -1
- package/dist/{list-BrjIcqAX.mjs → list-BticEhbi.mjs} +31 -24
- package/dist/list-BticEhbi.mjs.map +1 -0
- package/dist/{src-BU1BDRRs.mjs → src-BhwQdist.mjs} +2 -2
- package/dist/{src-BU1BDRRs.mjs.map → src-BhwQdist.mjs.map} +1 -1
- package/dist/{types-QjDcgdOy.d.mts → types-CXu6hlNC.d.mts} +12 -17
- package/dist/utils/test/index.d.mts +2 -2
- package/package.json +5 -5
- package/dist/list-BrjIcqAX.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as
|
|
1
|
+
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-CIV_ash9.mjs";
|
|
2
2
|
import { i as WORKFLOW_JOB_BRAND, r as getDistDir } from "./config-Bc_PBkyF.mjs";
|
|
3
3
|
import Module, { createRequire } from "node:module";
|
|
4
4
|
import { defineCommand } from "citty";
|
|
@@ -3245,7 +3245,7 @@ var init_visitor_keys$1 = __esmMin((() => {
|
|
|
3245
3245
|
|
|
3246
3246
|
//#endregion
|
|
3247
3247
|
//#region ../../node_modules/eslint-visitor-keys/lib/index.js
|
|
3248
|
-
var lib_exports$2 = /* @__PURE__ */
|
|
3248
|
+
var lib_exports$2 = /* @__PURE__ */ __exportAll({
|
|
3249
3249
|
KEYS: () => visitor_keys_default$1,
|
|
3250
3250
|
getKeys: () => getKeys$1,
|
|
3251
3251
|
unionWith: () => unionWith
|
|
@@ -3582,7 +3582,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3582
3582
|
|
|
3583
3583
|
//#endregion
|
|
3584
3584
|
//#region ../../node_modules/acorn/dist/acorn.mjs
|
|
3585
|
-
var acorn_exports = /* @__PURE__ */
|
|
3585
|
+
var acorn_exports = /* @__PURE__ */ __exportAll({
|
|
3586
3586
|
Node: () => Node,
|
|
3587
3587
|
Parser: () => Parser,
|
|
3588
3588
|
Position: () => Position,
|
|
@@ -9692,7 +9692,7 @@ var init_version$1 = __esmMin((() => {
|
|
|
9692
9692
|
|
|
9693
9693
|
//#endregion
|
|
9694
9694
|
//#region ../../node_modules/espree/espree.js
|
|
9695
|
-
var espree_exports = /* @__PURE__ */
|
|
9695
|
+
var espree_exports = /* @__PURE__ */ __exportAll({
|
|
9696
9696
|
Syntax: () => Syntax$3,
|
|
9697
9697
|
VisitorKeys: () => VisitorKeys,
|
|
9698
9698
|
latestEcmaVersion: () => latestEcmaVersion$1,
|
|
@@ -16293,7 +16293,7 @@ var init_lib$2 = __esmMin((() => {
|
|
|
16293
16293
|
|
|
16294
16294
|
//#endregion
|
|
16295
16295
|
//#region ../../node_modules/@eslint-community/eslint-utils/index.mjs
|
|
16296
|
-
var eslint_utils_exports = /* @__PURE__ */
|
|
16296
|
+
var eslint_utils_exports = /* @__PURE__ */ __exportAll({
|
|
16297
16297
|
CALL: () => CALL,
|
|
16298
16298
|
CONSTRUCT: () => CONSTRUCT,
|
|
16299
16299
|
ESM: () => ESM,
|
|
@@ -28138,7 +28138,7 @@ var require_no_continue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
28138
28138
|
|
|
28139
28139
|
//#endregion
|
|
28140
28140
|
//#region ../../node_modules/@eslint-community/regexpp/index.mjs
|
|
28141
|
-
var regexpp_exports = /* @__PURE__ */
|
|
28141
|
+
var regexpp_exports = /* @__PURE__ */ __exportAll({
|
|
28142
28142
|
AST: () => ast,
|
|
28143
28143
|
RegExpParser: () => RegExpParser,
|
|
28144
28144
|
RegExpSyntaxError: () => RegExpSyntaxError,
|
|
@@ -62328,7 +62328,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
62328
62328
|
|
|
62329
62329
|
//#endregion
|
|
62330
62330
|
//#region ../../node_modules/@eslint/plugin-kit/dist/esm/index.js
|
|
62331
|
-
var esm_exports$2 = /* @__PURE__ */
|
|
62331
|
+
var esm_exports$2 = /* @__PURE__ */ __exportAll({
|
|
62332
62332
|
CallMethodStep: () => CallMethodStep,
|
|
62333
62333
|
ConfigCommentParser: () => ConfigCommentParser$1,
|
|
62334
62334
|
Directive: () => Directive,
|
|
@@ -64775,7 +64775,7 @@ var init_version = __esmMin((() => {
|
|
|
64775
64775
|
|
|
64776
64776
|
//#endregion
|
|
64777
64777
|
//#region ../../node_modules/eslint-scope/lib/index.js
|
|
64778
|
-
var lib_exports$1 = /* @__PURE__ */
|
|
64778
|
+
var lib_exports$1 = /* @__PURE__ */ __exportAll({
|
|
64779
64779
|
Definition: () => Definition,
|
|
64780
64780
|
PatternVisitor: () => pattern_visitor_default,
|
|
64781
64781
|
Reference: () => reference_default,
|
|
@@ -68720,7 +68720,7 @@ var require_lodash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
68720
68720
|
|
|
68721
68721
|
//#endregion
|
|
68722
68722
|
//#region ../../node_modules/@eslint/eslintrc/lib/shared/config-ops.js
|
|
68723
|
-
var config_ops_exports = /* @__PURE__ */
|
|
68723
|
+
var config_ops_exports = /* @__PURE__ */ __exportAll({
|
|
68724
68724
|
getRuleSeverity: () => getRuleSeverity,
|
|
68725
68725
|
isErrorSeverity: () => isErrorSeverity,
|
|
68726
68726
|
isEverySeverityValid: () => isEverySeverityValid,
|
|
@@ -76819,7 +76819,7 @@ var init_config_validator = __esmMin((() => {
|
|
|
76819
76819
|
|
|
76820
76820
|
//#endregion
|
|
76821
76821
|
//#region ../../node_modules/@eslint/eslintrc/lib/shared/naming.js
|
|
76822
|
-
var naming_exports = /* @__PURE__ */
|
|
76822
|
+
var naming_exports = /* @__PURE__ */ __exportAll({
|
|
76823
76823
|
getNamespaceFromTerm: () => getNamespaceFromTerm,
|
|
76824
76824
|
getShorthandName: () => getShorthandName,
|
|
76825
76825
|
normalizePackageName: () => normalizePackageName
|
|
@@ -76886,7 +76886,7 @@ var init_naming = __esmMin((() => {
|
|
|
76886
76886
|
|
|
76887
76887
|
//#endregion
|
|
76888
76888
|
//#region ../../node_modules/@eslint/eslintrc/lib/index-universal.js
|
|
76889
|
-
var index_universal_exports = /* @__PURE__ */
|
|
76889
|
+
var index_universal_exports = /* @__PURE__ */ __exportAll({ Legacy: () => Legacy$1 });
|
|
76890
76890
|
var Legacy$1;
|
|
76891
76891
|
var init_index_universal = __esmMin((() => {
|
|
76892
76892
|
init_config_ops();
|
|
@@ -77379,7 +77379,7 @@ var require_flat_config_schema = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
77379
77379
|
|
|
77380
77380
|
//#endregion
|
|
77381
77381
|
//#region ../../node_modules/@eslint/config-array/dist/esm/std__path/posix.js
|
|
77382
|
-
var posix_exports = /* @__PURE__ */
|
|
77382
|
+
var posix_exports = /* @__PURE__ */ __exportAll({
|
|
77383
77383
|
DELIMITER: () => DELIMITER$1,
|
|
77384
77384
|
SEPARATOR: () => SEPARATOR$1,
|
|
77385
77385
|
SEPARATOR_PATTERN: () => SEPARATOR_PATTERN$1,
|
|
@@ -78423,7 +78423,7 @@ var init_posix = __esmMin((() => {
|
|
|
78423
78423
|
|
|
78424
78424
|
//#endregion
|
|
78425
78425
|
//#region ../../node_modules/@eslint/config-array/dist/esm/std__path/windows.js
|
|
78426
|
-
var windows_exports = /* @__PURE__ */
|
|
78426
|
+
var windows_exports = /* @__PURE__ */ __exportAll({
|
|
78427
78427
|
DELIMITER: () => DELIMITER,
|
|
78428
78428
|
SEPARATOR: () => SEPARATOR,
|
|
78429
78429
|
SEPARATOR_PATTERN: () => SEPARATOR_PATTERN,
|
|
@@ -79900,7 +79900,7 @@ var init_esm$2 = __esmMin((() => {
|
|
|
79900
79900
|
|
|
79901
79901
|
//#endregion
|
|
79902
79902
|
//#region ../../node_modules/@eslint/config-array/dist/esm/index.js
|
|
79903
|
-
var esm_exports$1 = /* @__PURE__ */
|
|
79903
|
+
var esm_exports$1 = /* @__PURE__ */ __exportAll({
|
|
79904
79904
|
ConfigArray: () => ConfigArray$1,
|
|
79905
79905
|
ConfigArraySymbol: () => ConfigArraySymbol,
|
|
79906
79906
|
ObjectSchema: () => ObjectSchema
|
|
@@ -86396,7 +86396,7 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
86396
86396
|
|
|
86397
86397
|
//#endregion
|
|
86398
86398
|
//#region ../../node_modules/flatted/esm/index.js
|
|
86399
|
-
var esm_exports = /* @__PURE__ */
|
|
86399
|
+
var esm_exports = /* @__PURE__ */ __exportAll({
|
|
86400
86400
|
fromJSON: () => fromJSON,
|
|
86401
86401
|
parse: () => parse,
|
|
86402
86402
|
stringify: () => stringify$1,
|
|
@@ -87635,7 +87635,7 @@ var require_config_loader = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
87635
87635
|
* @returns {Promise<{createJiti: Function|undefined, version: string;}>} A promise that fulfills with an object containing the jiti module's createJiti function and version.
|
|
87636
87636
|
*/
|
|
87637
87637
|
static async loadJiti() {
|
|
87638
|
-
const { createJiti } = await import("./jiti-
|
|
87638
|
+
const { createJiti } = await import("./jiti-1z3eKztL.mjs");
|
|
87639
87639
|
return {
|
|
87640
87640
|
createJiti,
|
|
87641
87641
|
version: require_package$1().version
|
|
@@ -87977,7 +87977,7 @@ var require_eslint_helpers = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
87977
87977
|
*/
|
|
87978
87978
|
async function globMatch({ basePath, pattern }) {
|
|
87979
87979
|
let found = false;
|
|
87980
|
-
const { hfs } = await import("./src-
|
|
87980
|
+
const { hfs } = await import("./src-BhwQdist.mjs");
|
|
87981
87981
|
const matcher = new Minimatch(normalizeToPosix(path$9.relative(basePath, pattern)), MINIMATCH_OPTIONS);
|
|
87982
87982
|
const walkSettings = {
|
|
87983
87983
|
directoryFilter(entry) {
|
|
@@ -88024,7 +88024,7 @@ var require_eslint_helpers = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
88024
88024
|
return new Minimatch(patternToUse, MINIMATCH_OPTIONS);
|
|
88025
88025
|
});
|
|
88026
88026
|
const unmatchedPatterns = new Set([...relativeToPatterns.keys()]);
|
|
88027
|
-
const { hfs } = await import("./src-
|
|
88027
|
+
const { hfs } = await import("./src-BhwQdist.mjs");
|
|
88028
88028
|
const walk = hfs.walk(basePath, {
|
|
88029
88029
|
async directoryFilter(entry) {
|
|
88030
88030
|
if (!matchers.some((matcher) => matcher.match(entry.path, true))) return false;
|
|
@@ -88628,7 +88628,7 @@ var require_eslint_helpers = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
88628
88628
|
|
|
88629
88629
|
//#endregion
|
|
88630
88630
|
//#region ../../node_modules/eslint/node_modules/@humanwhocodes/retry/dist/retrier.js
|
|
88631
|
-
var retrier_exports = /* @__PURE__ */
|
|
88631
|
+
var retrier_exports = /* @__PURE__ */ __exportAll({ Retrier: () => Retrier });
|
|
88632
88632
|
/**
|
|
88633
88633
|
* Logs a message to the console if the DEBUG environment variable is set.
|
|
88634
88634
|
* @param {string} message The message to log.
|
|
@@ -90790,7 +90790,7 @@ var init_config_array = __esmMin((() => {
|
|
|
90790
90790
|
* Utility for resolving a module relative to another module
|
|
90791
90791
|
* @author Teddy Katz
|
|
90792
90792
|
*/
|
|
90793
|
-
var relative_module_resolver_exports = /* @__PURE__ */
|
|
90793
|
+
var relative_module_resolver_exports = /* @__PURE__ */ __exportAll({ resolve: () => resolve });
|
|
90794
90794
|
/**
|
|
90795
90795
|
* Resolves a Node module relative to another module
|
|
90796
90796
|
* @param {string} moduleName The name of a Node module, or a path to a Node module.
|
|
@@ -91959,7 +91959,7 @@ var init_flat_compat = __esmMin((() => {
|
|
|
91959
91959
|
|
|
91960
91960
|
//#endregion
|
|
91961
91961
|
//#region ../../node_modules/@eslint/eslintrc/lib/index.js
|
|
91962
|
-
var lib_exports = /* @__PURE__ */
|
|
91962
|
+
var lib_exports = /* @__PURE__ */ __exportAll({
|
|
91963
91963
|
FlatCompat: () => FlatCompat,
|
|
91964
91964
|
Legacy: () => Legacy
|
|
91965
91965
|
});
|
|
@@ -100500,6 +100500,13 @@ function generateLinesDbSchemaFile(metadata, importPath) {
|
|
|
100500
100500
|
//#region src/cli/generator/builtin/seed/index.ts
|
|
100501
100501
|
const SeedGeneratorID = "@tailor-platform/seed";
|
|
100502
100502
|
/**
|
|
100503
|
+
* Converts a path to POSIX format (forward slashes).
|
|
100504
|
+
* This ensures consistent import paths across platforms.
|
|
100505
|
+
*/
|
|
100506
|
+
function toPosixPath(p$1) {
|
|
100507
|
+
return p$1.split(path$20.sep).join(path$20.posix.sep);
|
|
100508
|
+
}
|
|
100509
|
+
/**
|
|
100503
100510
|
* Generates the exec.mjs script content (Node.js executable)
|
|
100504
100511
|
*/
|
|
100505
100512
|
function generateExecScript(machineUserName, relativeConfigPath) {
|
|
@@ -100573,7 +100580,7 @@ function createSeedGenerator(options) {
|
|
|
100573
100580
|
content: gqlIngest.graphql
|
|
100574
100581
|
});
|
|
100575
100582
|
const schemaOutputPath = path$20.join(outputBaseDir, "data", `${linesDb.typeName}.schema.ts`);
|
|
100576
|
-
const importPath = path$20.relative(path$20.dirname(schemaOutputPath), linesDb.importPath);
|
|
100583
|
+
const importPath = toPosixPath(path$20.relative(path$20.dirname(schemaOutputPath), linesDb.importPath));
|
|
100577
100584
|
const normalizedImportPath = importPath.replace(/\.ts$/, "").startsWith(".") ? importPath.replace(/\.ts$/, "") : `./${importPath.replace(/\.ts$/, "")}`;
|
|
100578
100585
|
files.push({
|
|
100579
100586
|
path: schemaOutputPath,
|
|
@@ -100614,7 +100621,7 @@ function createSeedGenerator(options) {
|
|
|
100614
100621
|
`
|
|
100615
100622
|
});
|
|
100616
100623
|
if (options.machineUserName) {
|
|
100617
|
-
const relativeConfigPath = path$20.relative(outputDir, configPath)
|
|
100624
|
+
const relativeConfigPath = toPosixPath(path$20.relative(outputDir, configPath));
|
|
100618
100625
|
files.push({
|
|
100619
100626
|
path: path$20.join(outputDir, "exec.mjs"),
|
|
100620
100627
|
content: generateExecScript(options.machineUserName, relativeConfigPath)
|
|
@@ -105690,4 +105697,4 @@ const listCommand = defineCommand({
|
|
|
105690
105697
|
|
|
105691
105698
|
//#endregion
|
|
105692
105699
|
export { jsonArgs as $, printData as A, loadAccessToken as B, listOAuth2Clients as C, tokenCommand as D, getMachineUserToken as E, generateUserTypes as F, fetchUserInfo as G, readPlatformConfig as H, loadConfig as I, readPackageJson as J, initOAuth2Client as K, apiCall as L, generateCommand as M, apply as N, listCommand$3 as O, applyCommand as P, deploymentArgs as Q, apiCommand as R, listCommand$2 as S, getOAuth2Client as T, writePlatformConfig as U, loadWorkspaceId as V, fetchAll as W, commonArgs as X, PATScope as Y, confirmationArgs as Z, listWorkflowExecutions as _, createCommand as a, remove as b, resumeWorkflow as c, listCommand$1 as d, withCommonArgs as et, listWorkflows as f, getWorkflowExecution as g, executionsCommand as h, deleteWorkspace as i, generate as j, listMachineUsers as k, startCommand as l, getWorkflow as m, listWorkspaces as n, logger as nt, createWorkspace as o, getCommand as p, initOperatorClient as q, deleteCommand as r, resumeCommand as s, listCommand as t, workspaceArgs as tt, startWorkflow as u, show as v, getCommand$1 as w, removeCommand as x, showCommand as y, fetchLatestToken as z };
|
|
105693
|
-
//# sourceMappingURL=list-
|
|
105700
|
+
//# sourceMappingURL=list-BticEhbi.mjs.map
|