@levr-one/cli 0.7.6 → 0.7.8
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/cli.js +7 -7
- package/dist/{importHandler-BBiGdbE-.js → importHandler--Odfz6sz.js} +2 -2
- package/dist/{listHandler-Clc6PPa-.js → listHandler-CBKYVX8A.js} +1 -1
- package/dist/{loginHandler-Bh_I1DDB.js → loginHandler-BOWFHzAn.js} +2 -2
- package/dist/{pushHandler-Dcze-Hyi.js → pushHandler-BBzX09LW.js} +2 -2
- package/dist/{resolve-workspace-9bEIfK0D.js → resolve-workspace-Bk3y0q3v.js} +1 -1
- package/dist/{sdk-client-CMIYlzY7.js → sdk-client-RgFjzRyG.js} +15 -15
- package/dist/{selectHandler-gIbpgar5.js → selectHandler-UrTpL_l1.js} +1 -1
- package/dist/{statusHandler-CIhKSbJ1.js → statusHandler-BBTHpyog.js} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -210,7 +210,7 @@ Examples:
|
|
|
210
210
|
aliases: { d: "device-code" }
|
|
211
211
|
},
|
|
212
212
|
loader: async () => {
|
|
213
|
-
const { loginHandler } = await import("./loginHandler-
|
|
213
|
+
const { loginHandler } = await import("./loginHandler-BOWFHzAn.js");
|
|
214
214
|
return loginHandler;
|
|
215
215
|
}
|
|
216
216
|
});
|
|
@@ -249,7 +249,7 @@ Examples:
|
|
|
249
249
|
},
|
|
250
250
|
parameters: {},
|
|
251
251
|
loader: async () => {
|
|
252
|
-
const { statusHandler } = await import("./statusHandler-
|
|
252
|
+
const { statusHandler } = await import("./statusHandler-BBTHpyog.js");
|
|
253
253
|
return statusHandler;
|
|
254
254
|
}
|
|
255
255
|
});
|
|
@@ -361,7 +361,7 @@ Examples:
|
|
|
361
361
|
}
|
|
362
362
|
},
|
|
363
363
|
loader: async () => {
|
|
364
|
-
const { pushHandler } = await import("./pushHandler-
|
|
364
|
+
const { pushHandler } = await import("./pushHandler-BBzX09LW.js");
|
|
365
365
|
return pushHandler;
|
|
366
366
|
}
|
|
367
367
|
});
|
|
@@ -473,7 +473,7 @@ Examples:
|
|
|
473
473
|
}
|
|
474
474
|
},
|
|
475
475
|
loader: async () => {
|
|
476
|
-
const { importHandler } = await import("./importHandler
|
|
476
|
+
const { importHandler } = await import("./importHandler--Odfz6sz.js");
|
|
477
477
|
return importHandler;
|
|
478
478
|
}
|
|
479
479
|
});
|
|
@@ -494,7 +494,7 @@ Examples:
|
|
|
494
494
|
},
|
|
495
495
|
parameters: {},
|
|
496
496
|
loader: async () => {
|
|
497
|
-
const { listHandler } = await import("./listHandler-
|
|
497
|
+
const { listHandler } = await import("./listHandler-CBKYVX8A.js");
|
|
498
498
|
return listHandler;
|
|
499
499
|
}
|
|
500
500
|
});
|
|
@@ -527,7 +527,7 @@ Examples:
|
|
|
527
527
|
flags: {}
|
|
528
528
|
},
|
|
529
529
|
loader: async () => {
|
|
530
|
-
const { selectHandler } = await import("./selectHandler-
|
|
530
|
+
const { selectHandler } = await import("./selectHandler-UrTpL_l1.js");
|
|
531
531
|
return selectHandler;
|
|
532
532
|
}
|
|
533
533
|
});
|
|
@@ -551,7 +551,7 @@ Examples:
|
|
|
551
551
|
|
|
552
552
|
//#endregion
|
|
553
553
|
//#region package.json
|
|
554
|
-
var version = "0.7.
|
|
554
|
+
var version = "0.7.8";
|
|
555
555
|
|
|
556
556
|
//#endregion
|
|
557
557
|
//#region src/app.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
2
|
+
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-RgFjzRyG.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-Bk3y0q3v.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-RgFjzRyG.js";
|
|
3
3
|
import { loadWorkspace } from "./workspace-store-DDOxnut1.js";
|
|
4
4
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
5
5
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CLI_CLIENT_ID, getApiUrl, getAuthUrl, setSessionApiUrl, writeCredentials } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { configureClient } from "./sdk-client-
|
|
2
|
+
import { configureClient } from "./sdk-client-RgFjzRyG.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-Bk3y0q3v.js";
|
|
5
5
|
import chalk from "chalk";
|
|
6
6
|
import { createHash, randomBytes } from "node:crypto";
|
|
7
7
|
import { createServer } from "node:http";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl, getAutomationSourceIdOverride, getSourceOverride, getTeamId } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-
|
|
2
|
+
import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-RgFjzRyG.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-Bk3y0q3v.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import { readFileSync, statSync } from "node:fs";
|
|
@@ -13125,7 +13125,6 @@ const zFolderWithChildrenDto = z.object({
|
|
|
13125
13125
|
epoch: z.number(),
|
|
13126
13126
|
key: z.number(),
|
|
13127
13127
|
assignee_id: z.string().optional(),
|
|
13128
|
-
estimate: z.number().optional(),
|
|
13129
13128
|
test_type: z.enum([
|
|
13130
13129
|
"manual",
|
|
13131
13130
|
"text",
|
|
@@ -13206,7 +13205,6 @@ const zRootLevelResponseDto = z.object({
|
|
|
13206
13205
|
epoch: z.number(),
|
|
13207
13206
|
key: z.number(),
|
|
13208
13207
|
assignee_id: z.string().optional(),
|
|
13209
|
-
estimate: z.number().optional(),
|
|
13210
13208
|
test_type: z.enum([
|
|
13211
13209
|
"manual",
|
|
13212
13210
|
"text",
|
|
@@ -13306,7 +13304,6 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13306
13304
|
epoch: z.number(),
|
|
13307
13305
|
key: z.number(),
|
|
13308
13306
|
assignee_id: z.string().optional(),
|
|
13309
|
-
estimate: z.number().optional(),
|
|
13310
13307
|
test_type: z.enum([
|
|
13311
13308
|
"manual",
|
|
13312
13309
|
"text",
|
|
@@ -15999,7 +15996,8 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
|
|
|
15999
15996
|
"fail",
|
|
16000
15997
|
"regression",
|
|
16001
15998
|
"verification",
|
|
16002
|
-
"flaky"
|
|
15999
|
+
"flaky",
|
|
16000
|
+
"superseded"
|
|
16003
16001
|
]).describe(""),
|
|
16004
16002
|
automation_status_type: z.enum([
|
|
16005
16003
|
"passed",
|
|
@@ -16036,7 +16034,8 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
|
|
|
16036
16034
|
"fail",
|
|
16037
16035
|
"regression",
|
|
16038
16036
|
"verification",
|
|
16039
|
-
"flaky"
|
|
16037
|
+
"flaky",
|
|
16038
|
+
"superseded"
|
|
16040
16039
|
]).describe(""),
|
|
16041
16040
|
automation_status_type: z.enum([
|
|
16042
16041
|
"passed",
|
|
@@ -16079,7 +16078,8 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16079
16078
|
"fail",
|
|
16080
16079
|
"regression",
|
|
16081
16080
|
"verification",
|
|
16082
|
-
"flaky"
|
|
16081
|
+
"flaky",
|
|
16082
|
+
"superseded"
|
|
16083
16083
|
]).optional().describe(""),
|
|
16084
16084
|
automation_status_type: z.enum([
|
|
16085
16085
|
"passed",
|
|
@@ -16761,7 +16761,8 @@ const zCreateIssueTestEvidenceDto = z.object({
|
|
|
16761
16761
|
"fail",
|
|
16762
16762
|
"regression",
|
|
16763
16763
|
"verification",
|
|
16764
|
-
"flaky"
|
|
16764
|
+
"flaky",
|
|
16765
|
+
"superseded"
|
|
16765
16766
|
]).describe(""),
|
|
16766
16767
|
status_id: z.string().describe(""),
|
|
16767
16768
|
context: z.unknown().optional().describe(""),
|
|
@@ -16779,7 +16780,8 @@ const zResponseIssueTestEvidenceDto = z.object({
|
|
|
16779
16780
|
"fail",
|
|
16780
16781
|
"regression",
|
|
16781
16782
|
"verification",
|
|
16782
|
-
"flaky"
|
|
16783
|
+
"flaky",
|
|
16784
|
+
"superseded"
|
|
16783
16785
|
]).describe(""),
|
|
16784
16786
|
status_id: z.string().describe(""),
|
|
16785
16787
|
context: z.unknown().optional().describe(""),
|
|
@@ -16803,7 +16805,8 @@ const zUpdateIssueTestEvidenceDto = z.object({
|
|
|
16803
16805
|
"fail",
|
|
16804
16806
|
"regression",
|
|
16805
16807
|
"verification",
|
|
16806
|
-
"flaky"
|
|
16808
|
+
"flaky",
|
|
16809
|
+
"superseded"
|
|
16807
16810
|
]).optional().describe(""),
|
|
16808
16811
|
status_id: z.string().optional().describe(""),
|
|
16809
16812
|
context: z.unknown().optional().describe(""),
|
|
@@ -27898,7 +27901,6 @@ const zTestResponseDto = z.object({
|
|
|
27898
27901
|
id: z.string().describe(""),
|
|
27899
27902
|
name: z.string().describe(""),
|
|
27900
27903
|
priority: z.number().optional(),
|
|
27901
|
-
estimate: z.number().nullable().optional().describe(""),
|
|
27902
27904
|
data: z.unknown().optional().describe(""),
|
|
27903
27905
|
assignee_id: z.string().nullable().optional().describe(""),
|
|
27904
27906
|
is_automated: z.boolean().optional().describe(""),
|
|
@@ -27971,7 +27973,6 @@ const zCreateTestDto = z.object({
|
|
|
27971
27973
|
id: z.string().optional().describe(""),
|
|
27972
27974
|
name: z.string().describe(""),
|
|
27973
27975
|
priority: z.number().optional().describe(""),
|
|
27974
|
-
estimate: z.number().nullable().optional().describe(""),
|
|
27975
27976
|
data: z.unknown().optional().describe(""),
|
|
27976
27977
|
assignee_id: z.string().nullable().optional().describe(""),
|
|
27977
27978
|
is_automated: z.boolean().optional().describe(""),
|
|
@@ -28007,7 +28008,6 @@ const zCreateTestDto = z.object({
|
|
|
28007
28008
|
});
|
|
28008
28009
|
const zUpdateTestDto = z.object({
|
|
28009
28010
|
name: z.string().optional(),
|
|
28010
|
-
estimate: z.number().optional(),
|
|
28011
28011
|
is_automated: z.boolean().optional(),
|
|
28012
28012
|
to_automate: z.boolean().optional(),
|
|
28013
28013
|
state_mask: z.number().optional(),
|
|
@@ -28116,7 +28116,6 @@ const zTestFindAllV1Data = z.object({
|
|
|
28116
28116
|
"filter.to_automate": z.array(z.string()).optional(),
|
|
28117
28117
|
"filter.state_mask": z.array(z.string()).optional(),
|
|
28118
28118
|
"filter.assignee_id": z.array(z.string()).optional(),
|
|
28119
|
-
"filter.estimate": z.array(z.string()).optional(),
|
|
28120
28119
|
"filter.created_at": z.array(z.string()).optional(),
|
|
28121
28120
|
"filter.created_by": z.array(z.string()).optional(),
|
|
28122
28121
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
@@ -28139,8 +28138,6 @@ const zTestFindAllV1Data = z.object({
|
|
|
28139
28138
|
"updated_by:DESC",
|
|
28140
28139
|
"priority:ASC",
|
|
28141
28140
|
"priority:DESC",
|
|
28142
|
-
"estimate:ASC",
|
|
28143
|
-
"estimate:DESC",
|
|
28144
28141
|
"is_automated:ASC",
|
|
28145
28142
|
"is_automated:DESC",
|
|
28146
28143
|
"to_automate:ASC",
|
|
@@ -28366,6 +28363,7 @@ const zPreviewImportResponseDto = z.object({
|
|
|
28366
28363
|
"is_automated",
|
|
28367
28364
|
"assignee_email",
|
|
28368
28365
|
"labels",
|
|
28366
|
+
"teams",
|
|
28369
28367
|
"attachment_filenames",
|
|
28370
28368
|
"data_set_names",
|
|
28371
28369
|
"sequence",
|
|
@@ -28423,6 +28421,7 @@ const zPreviewImportResponseDto = z.object({
|
|
|
28423
28421
|
"is_automated",
|
|
28424
28422
|
"assignee_email",
|
|
28425
28423
|
"labels",
|
|
28424
|
+
"teams",
|
|
28426
28425
|
"attachment_filenames",
|
|
28427
28426
|
"data_set_names",
|
|
28428
28427
|
"sequence",
|
|
@@ -28481,6 +28480,7 @@ const zCommitImportDto = z.object({
|
|
|
28481
28480
|
"is_automated",
|
|
28482
28481
|
"assignee_email",
|
|
28483
28482
|
"labels",
|
|
28483
|
+
"teams",
|
|
28484
28484
|
"attachment_filenames",
|
|
28485
28485
|
"data_set_names",
|
|
28486
28486
|
"sequence",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-RgFjzRyG.js";
|
|
3
3
|
import { saveWorkspace } from "./workspace-store-DDOxnut1.js";
|
|
4
4
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
5
5
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getApiUrl, getPatToken, readCredentials } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetProfileV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetProfileV1, configureClient } from "./sdk-client-RgFjzRyG.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|