@levr-one/cli 0.10.22 → 0.11.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/dist/{appendHandler-u-NvHPDW.js → appendHandler-zXJBeRgd.js} +4 -4
- package/dist/{artifact-upload-CF2iXUiR.js → artifact-upload-BzLxue32.js} +1 -1
- package/dist/{attachHandler-DgVCvhz7.js → attachHandler-DpRsFzK6.js} +4 -4
- package/dist/cli.js +10 -10
- package/dist/{connect-DX41Im8c.js → connect-BejNz1AN.js} +2 -2
- package/dist/{importHandler-CUUroX_n.js → importHandler-COsRys7V.js} +49 -2
- package/dist/{listHandler-CB_9cISi.js → listHandler-hmLz8zm8.js} +1 -1
- package/dist/{loginHandler-DSznhtmk.js → loginHandler-Da8Krwq6.js} +2 -2
- package/dist/{pushHandler-Q9Cbo2HC.js → pushHandler-BV2jnZdQ.js} +3 -3
- package/dist/{resolve-workspace-B3Gz3-Vh.js → resolve-workspace-DcTNXtBD.js} +1 -1
- package/dist/{runHandler-DmRAoyJc.js → runHandler-B8UYWGf9.js} +41 -2
- package/dist/sdk-client-DYv-0CfA.js +405 -0
- package/dist/{selectHandler-CdOVuuTa.js → selectHandler-DNb1KJvM.js} +1 -1
- package/dist/{statusHandler-p6CmwgjS.js → statusHandler-B_xmACZl.js} +1 -1
- package/package.json +1 -1
- package/dist/sdk-client-CTvYVr7D.js +0 -32201
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { appendActualResult } from "./sdk-client-
|
|
1
|
+
import { appendActualResult } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import "./resolve-workspace-
|
|
7
|
-
import { connect } from "./connect-
|
|
6
|
+
import "./resolve-workspace-DcTNXtBD.js";
|
|
7
|
+
import { connect } from "./connect-BejNz1AN.js";
|
|
8
8
|
import "./sleep-BpJ39Ypm.js";
|
|
9
|
-
import { embedMarkdown, parseTarget, uploadArtifactFile } from "./artifact-upload-
|
|
9
|
+
import { embedMarkdown, parseTarget, uploadArtifactFile } from "./artifact-upload-BzLxue32.js";
|
|
10
10
|
import { readFileSync } from "node:fs";
|
|
11
11
|
import { basename } from "node:path";
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { uploadAttachment } from "./sdk-client-
|
|
1
|
+
import { uploadAttachment } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import { sleep } from "./sleep-BpJ39Ypm.js";
|
|
3
3
|
import { constants, promises, readlinkSync, realpathSync, statSync } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { appendActualResult, createComment } from "./sdk-client-
|
|
1
|
+
import { appendActualResult, createComment } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import "./resolve-workspace-
|
|
7
|
-
import { connect } from "./connect-
|
|
6
|
+
import "./resolve-workspace-DcTNXtBD.js";
|
|
7
|
+
import { connect } from "./connect-BejNz1AN.js";
|
|
8
8
|
import "./sleep-BpJ39Ypm.js";
|
|
9
|
-
import { TargetParseError, embedMarkdown, parseTarget, uploadArtifactFile } from "./artifact-upload-
|
|
9
|
+
import { TargetParseError, embedMarkdown, parseTarget, uploadArtifactFile } from "./artifact-upload-BzLxue32.js";
|
|
10
10
|
import { readFileSync } from "node:fs";
|
|
11
11
|
import { basename } from "node:path";
|
|
12
12
|
|
package/dist/cli.js
CHANGED
|
@@ -213,7 +213,7 @@ Examples:
|
|
|
213
213
|
aliases: { d: "device-code" }
|
|
214
214
|
},
|
|
215
215
|
loader: async () => {
|
|
216
|
-
const { loginHandler } = await import("./loginHandler-
|
|
216
|
+
const { loginHandler } = await import("./loginHandler-Da8Krwq6.js");
|
|
217
217
|
return loginHandler;
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -252,7 +252,7 @@ Examples:
|
|
|
252
252
|
},
|
|
253
253
|
parameters: {},
|
|
254
254
|
loader: async () => {
|
|
255
|
-
const { statusHandler } = await import("./statusHandler-
|
|
255
|
+
const { statusHandler } = await import("./statusHandler-B_xmACZl.js");
|
|
256
256
|
return statusHandler;
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -381,7 +381,7 @@ levr attach --manifest or later uploads.`
|
|
|
381
381
|
}
|
|
382
382
|
},
|
|
383
383
|
loader: async () => {
|
|
384
|
-
const { pushHandler } = await import("./pushHandler-
|
|
384
|
+
const { pushHandler } = await import("./pushHandler-BV2jnZdQ.js");
|
|
385
385
|
return pushHandler;
|
|
386
386
|
}
|
|
387
387
|
});
|
|
@@ -501,7 +501,7 @@ Examples:
|
|
|
501
501
|
}
|
|
502
502
|
},
|
|
503
503
|
loader: async () => {
|
|
504
|
-
const { importHandler } = await import("./importHandler-
|
|
504
|
+
const { importHandler } = await import("./importHandler-COsRys7V.js");
|
|
505
505
|
return importHandler;
|
|
506
506
|
}
|
|
507
507
|
});
|
|
@@ -522,7 +522,7 @@ Examples:
|
|
|
522
522
|
},
|
|
523
523
|
parameters: {},
|
|
524
524
|
loader: async () => {
|
|
525
|
-
const { listHandler } = await import("./listHandler-
|
|
525
|
+
const { listHandler } = await import("./listHandler-hmLz8zm8.js");
|
|
526
526
|
return listHandler;
|
|
527
527
|
}
|
|
528
528
|
});
|
|
@@ -555,7 +555,7 @@ Examples:
|
|
|
555
555
|
flags: {}
|
|
556
556
|
},
|
|
557
557
|
loader: async () => {
|
|
558
|
-
const { selectHandler } = await import("./selectHandler-
|
|
558
|
+
const { selectHandler } = await import("./selectHandler-DNb1KJvM.js");
|
|
559
559
|
return selectHandler;
|
|
560
560
|
}
|
|
561
561
|
});
|
|
@@ -641,7 +641,7 @@ Examples:
|
|
|
641
641
|
}
|
|
642
642
|
},
|
|
643
643
|
loader: async () => {
|
|
644
|
-
const { gatesRunHandler } = await import("./runHandler-
|
|
644
|
+
const { gatesRunHandler } = await import("./runHandler-B8UYWGf9.js");
|
|
645
645
|
return gatesRunHandler;
|
|
646
646
|
}
|
|
647
647
|
});
|
|
@@ -754,7 +754,7 @@ Examples:
|
|
|
754
754
|
}
|
|
755
755
|
},
|
|
756
756
|
loader: async () => {
|
|
757
|
-
const { attachHandler } = await import("./attachHandler-
|
|
757
|
+
const { attachHandler } = await import("./attachHandler-DpRsFzK6.js");
|
|
758
758
|
return attachHandler;
|
|
759
759
|
}
|
|
760
760
|
});
|
|
@@ -830,14 +830,14 @@ Examples:
|
|
|
830
830
|
}
|
|
831
831
|
},
|
|
832
832
|
loader: async () => {
|
|
833
|
-
const { resultAppendHandler } = await import("./appendHandler-
|
|
833
|
+
const { resultAppendHandler } = await import("./appendHandler-zXJBeRgd.js");
|
|
834
834
|
return resultAppendHandler;
|
|
835
835
|
}
|
|
836
836
|
});
|
|
837
837
|
|
|
838
838
|
//#endregion
|
|
839
839
|
//#region package.json
|
|
840
|
-
var version = "0.
|
|
840
|
+
var version = "0.11.0";
|
|
841
841
|
|
|
842
842
|
//#endregion
|
|
843
843
|
//#region src/app.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { client, configureClient } from "./sdk-client-
|
|
1
|
+
import { client, configureClient } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
3
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
3
|
+
import { resolveWorkspace } from "./resolve-workspace-DcTNXtBD.js";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/connect.ts
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { authGetProfileV1,
|
|
1
|
+
import { authGetProfileV1, client, configureClient } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import { getApiUrl, getTeamId } from "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
6
|
+
import { resolveWorkspace } from "./resolve-workspace-DcTNXtBD.js";
|
|
7
7
|
import chalk from "chalk";
|
|
8
8
|
import { createReadStream } from "node:fs";
|
|
9
9
|
import { basename } from "node:path";
|
|
@@ -11,6 +11,53 @@ import { readFile, writeFile } from "node:fs/promises";
|
|
|
11
11
|
import { createInterface } from "node:readline/promises";
|
|
12
12
|
import ora from "ora";
|
|
13
13
|
|
|
14
|
+
//#region ../sdk-public/dist/gen/team/functions.js
|
|
15
|
+
/** GET /v1/team */
|
|
16
|
+
const teamFindAllV1 = (options) => {
|
|
17
|
+
return (options?.client ?? client).get({
|
|
18
|
+
security: [{
|
|
19
|
+
scheme: "bearer",
|
|
20
|
+
type: "http"
|
|
21
|
+
}],
|
|
22
|
+
url: "/v1/team",
|
|
23
|
+
...options
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region ../sdk-public/dist/gen/test-case-import/functions.js
|
|
29
|
+
/** POST /v1/test-case-import/preview */
|
|
30
|
+
const testCaseImportPreviewV1 = (options) => {
|
|
31
|
+
return (options?.client ?? client).post({
|
|
32
|
+
security: [{
|
|
33
|
+
scheme: "bearer",
|
|
34
|
+
type: "http"
|
|
35
|
+
}],
|
|
36
|
+
url: "/v1/test-case-import/preview",
|
|
37
|
+
bodySerializer: (body) => {
|
|
38
|
+
const fd = new FormData();
|
|
39
|
+
if (body && typeof body === "object") for (const [k, v] of Object.entries(body)) {
|
|
40
|
+
if (v == null) continue;
|
|
41
|
+
fd.append(k, v instanceof Blob ? v : String(v));
|
|
42
|
+
}
|
|
43
|
+
return fd;
|
|
44
|
+
},
|
|
45
|
+
...options
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
/** POST /v1/test-case-import/commit */
|
|
49
|
+
const testCaseImportCommitV1 = (options) => {
|
|
50
|
+
return (options?.client ?? client).post({
|
|
51
|
+
security: [{
|
|
52
|
+
scheme: "bearer",
|
|
53
|
+
type: "http"
|
|
54
|
+
}],
|
|
55
|
+
url: "/v1/test-case-import/commit",
|
|
56
|
+
...options
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
//#endregion
|
|
14
61
|
//#region src/commands/resolve-team.ts
|
|
15
62
|
/**
|
|
16
63
|
* The importing team — NOT the same thing as the `teams` column in the file.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
1
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { configureClient } from "./sdk-client-
|
|
1
|
+
import { configureClient } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import { CLI_CLIENT_ID, getApiUrl, getAuthUrl, setSessionApiUrl, writeCredentials } from "./env-CdwyPHGV.js";
|
|
3
3
|
import "./workspace-store-CnrxyYRB.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-DcTNXtBD.js";
|
|
5
5
|
import { sleep } from "./sleep-BpJ39Ypm.js";
|
|
6
6
|
import chalk from "chalk";
|
|
7
7
|
import { createHash, randomBytes } from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { client, configureClient, uploadImport } from "./sdk-client-
|
|
1
|
+
import { client, configureClient, uploadImport } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import { getApiUrl, getAutomationSourceIdOverride, getSourceOverride, getTeamId } from "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
6
|
+
import { resolveWorkspace } from "./resolve-workspace-DcTNXtBD.js";
|
|
7
7
|
import "./sleep-BpJ39Ypm.js";
|
|
8
|
-
import { resolveArtifactPath, uploadArtifactFile } from "./artifact-upload-
|
|
8
|
+
import { resolveArtifactPath, uploadArtifactFile } from "./artifact-upload-BzLxue32.js";
|
|
9
9
|
import { readFileSync, statSync, writeFileSync } from "node:fs";
|
|
10
10
|
import { basename, dirname, resolve } from "node:path";
|
|
11
11
|
import { execSync } from "node:child_process";
|
|
@@ -1,13 +1,52 @@
|
|
|
1
|
-
import { client, configureClient
|
|
1
|
+
import { client, configureClient } from "./sdk-client-DYv-0CfA.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
6
|
+
import { resolveWorkspace } from "./resolve-workspace-DcTNXtBD.js";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
8
8
|
import { constants as constants$1 } from "node:os";
|
|
9
9
|
import { spawnSync } from "node:child_process";
|
|
10
10
|
|
|
11
|
+
//#region ../sdk-public/dist/gen/issue/functions.js
|
|
12
|
+
/** GET /v1/issue */
|
|
13
|
+
const issueFindAllV1 = (options) => {
|
|
14
|
+
return (options?.client ?? client).get({
|
|
15
|
+
security: [{
|
|
16
|
+
scheme: "bearer",
|
|
17
|
+
type: "http"
|
|
18
|
+
}],
|
|
19
|
+
url: "/v1/issue",
|
|
20
|
+
...options
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region ../sdk-public/dist/gen/issue-gate-verification/functions.js
|
|
26
|
+
/** POST /v1/issue/{id}/verify-gates */
|
|
27
|
+
const issueGateVerificationVerifyGatesV1 = (options) => {
|
|
28
|
+
return (options?.client ?? client).post({
|
|
29
|
+
security: [{
|
|
30
|
+
scheme: "bearer",
|
|
31
|
+
type: "http"
|
|
32
|
+
}],
|
|
33
|
+
url: "/v1/issue/{id}/verify-gates",
|
|
34
|
+
...options
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
/** POST /v1/issue/{id}/gate-results */
|
|
38
|
+
const issueGateVerificationReportGateResultsV1 = (options) => {
|
|
39
|
+
return (options?.client ?? client).post({
|
|
40
|
+
security: [{
|
|
41
|
+
scheme: "bearer",
|
|
42
|
+
type: "http"
|
|
43
|
+
}],
|
|
44
|
+
url: "/v1/issue/{id}/gate-results",
|
|
45
|
+
...options
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
11
50
|
//#region src/commands/gates/gate-runner.ts
|
|
12
51
|
/**
|
|
13
52
|
* ENG-5967 F — run a deliverable's gate `local_commands` and build the
|