@levr-one/cli 0.5.2 → 0.5.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/dist/cli.js +7 -7
- package/dist/{importHandler-vnrB51lr.js → importHandler-tCvRZ0VR.js} +2 -2
- package/dist/{listHandler-CR5TqJLK.js → listHandler-CjYuY_QX.js} +1 -1
- package/dist/{loginHandler-D3szhgXj.js → loginHandler-UgJVw00A.js} +2 -2
- package/dist/{pushHandler-BgKnW9th.js → pushHandler-DzqmvFRk.js} +2 -2
- package/dist/{resolve-workspace-iMf5dt8G.js → resolve-workspace-CJjnO8Fk.js} +1 -1
- package/dist/{sdk-client-C5qmnw6U.js → sdk-client-CzwBQNDu.js} +6 -0
- package/dist/{selectHandler-Dyms28ls.js → selectHandler-DDMOXmRb.js} +1 -1
- package/dist/{statusHandler-BB5BTz0L.js → statusHandler-CgoR1cyg.js} +1 -1
- package/package.json +2 -1
package/dist/cli.js
CHANGED
|
@@ -180,7 +180,7 @@ Examples:
|
|
|
180
180
|
aliases: { d: "device-code" }
|
|
181
181
|
},
|
|
182
182
|
loader: async () => {
|
|
183
|
-
const { loginHandler } = await import("./loginHandler-
|
|
183
|
+
const { loginHandler } = await import("./loginHandler-UgJVw00A.js");
|
|
184
184
|
return loginHandler;
|
|
185
185
|
}
|
|
186
186
|
});
|
|
@@ -219,7 +219,7 @@ Examples:
|
|
|
219
219
|
},
|
|
220
220
|
parameters: {},
|
|
221
221
|
loader: async () => {
|
|
222
|
-
const { statusHandler } = await import("./statusHandler-
|
|
222
|
+
const { statusHandler } = await import("./statusHandler-CgoR1cyg.js");
|
|
223
223
|
return statusHandler;
|
|
224
224
|
}
|
|
225
225
|
});
|
|
@@ -330,7 +330,7 @@ Examples:
|
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
loader: async () => {
|
|
333
|
-
const { pushHandler } = await import("./pushHandler-
|
|
333
|
+
const { pushHandler } = await import("./pushHandler-DzqmvFRk.js");
|
|
334
334
|
return pushHandler;
|
|
335
335
|
}
|
|
336
336
|
});
|
|
@@ -442,7 +442,7 @@ Examples:
|
|
|
442
442
|
}
|
|
443
443
|
},
|
|
444
444
|
loader: async () => {
|
|
445
|
-
const { importHandler } = await import("./importHandler-
|
|
445
|
+
const { importHandler } = await import("./importHandler-tCvRZ0VR.js");
|
|
446
446
|
return importHandler;
|
|
447
447
|
}
|
|
448
448
|
});
|
|
@@ -463,7 +463,7 @@ Examples:
|
|
|
463
463
|
},
|
|
464
464
|
parameters: {},
|
|
465
465
|
loader: async () => {
|
|
466
|
-
const { listHandler } = await import("./listHandler-
|
|
466
|
+
const { listHandler } = await import("./listHandler-CjYuY_QX.js");
|
|
467
467
|
return listHandler;
|
|
468
468
|
}
|
|
469
469
|
});
|
|
@@ -496,7 +496,7 @@ Examples:
|
|
|
496
496
|
flags: {}
|
|
497
497
|
},
|
|
498
498
|
loader: async () => {
|
|
499
|
-
const { selectHandler } = await import("./selectHandler-
|
|
499
|
+
const { selectHandler } = await import("./selectHandler-DDMOXmRb.js");
|
|
500
500
|
return selectHandler;
|
|
501
501
|
}
|
|
502
502
|
});
|
|
@@ -520,7 +520,7 @@ Examples:
|
|
|
520
520
|
|
|
521
521
|
//#endregion
|
|
522
522
|
//#region package.json
|
|
523
|
-
var version = "0.5.
|
|
523
|
+
var version = "0.5.3";
|
|
524
524
|
|
|
525
525
|
//#endregion
|
|
526
526
|
//#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-CzwBQNDu.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CJjnO8Fk.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-CzwBQNDu.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-CzwBQNDu.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-CJjnO8Fk.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-CzwBQNDu.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CJjnO8Fk.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";
|
|
@@ -17301,6 +17301,7 @@ const zCreateJiraProjectTeamDto = z.object({
|
|
|
17301
17301
|
id: z.string().optional().describe(""),
|
|
17302
17302
|
is_primary: z.boolean().optional().describe(""),
|
|
17303
17303
|
link_source: z.string().optional().describe(""),
|
|
17304
|
+
inbound_type_label_id: z.string().nullable().optional().describe(""),
|
|
17304
17305
|
jira_project_id: z.string(),
|
|
17305
17306
|
team_id: z.string()
|
|
17306
17307
|
});
|
|
@@ -17308,6 +17309,7 @@ const zResponseJiraProjectTeamDto = z.object({
|
|
|
17308
17309
|
id: z.string().describe(""),
|
|
17309
17310
|
is_primary: z.boolean().optional().describe(""),
|
|
17310
17311
|
link_source: z.string().optional().describe(""),
|
|
17312
|
+
inbound_type_label_id: z.string().nullable().optional().describe(""),
|
|
17311
17313
|
jira_project_id: z.string(),
|
|
17312
17314
|
team_id: z.string(),
|
|
17313
17315
|
created_at: z.unknown().describe(""),
|
|
@@ -17321,6 +17323,7 @@ const zUpdateJiraProjectTeamDto = z.object({
|
|
|
17321
17323
|
id: z.string().optional().describe(""),
|
|
17322
17324
|
is_primary: z.boolean().optional().describe(""),
|
|
17323
17325
|
link_source: z.string().optional().describe(""),
|
|
17326
|
+
inbound_type_label_id: z.string().nullable().optional().describe(""),
|
|
17324
17327
|
jira_project_id: z.string().optional(),
|
|
17325
17328
|
team_id: z.string().optional()
|
|
17326
17329
|
});
|
|
@@ -17367,6 +17370,7 @@ const zJiraProjectTeamFindAllV1Data = z.object({
|
|
|
17367
17370
|
"filter.id": z.array(z.string()).optional(),
|
|
17368
17371
|
"filter.is_primary": z.array(z.string()).optional(),
|
|
17369
17372
|
"filter.link_source": z.array(z.string()).optional(),
|
|
17373
|
+
"filter.inbound_type_label_id": z.array(z.string()).optional(),
|
|
17370
17374
|
"filter.jira_project_id": z.array(z.string()).optional(),
|
|
17371
17375
|
"filter.team_id": z.array(z.string()).optional(),
|
|
17372
17376
|
"filter.created_at": z.array(z.string()).optional(),
|
|
@@ -17376,6 +17380,8 @@ const zJiraProjectTeamFindAllV1Data = z.object({
|
|
|
17376
17380
|
"id:DESC",
|
|
17377
17381
|
"link_source:ASC",
|
|
17378
17382
|
"link_source:DESC",
|
|
17383
|
+
"inbound_type_label_id:ASC",
|
|
17384
|
+
"inbound_type_label_id:DESC",
|
|
17379
17385
|
"created_at:ASC",
|
|
17380
17386
|
"created_at:DESC",
|
|
17381
17387
|
"updated_at:ASC",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-CzwBQNDu.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-CzwBQNDu.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levr-one/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "The command-line interface for Levr",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"@types/node": "^20.10.0",
|
|
27
27
|
"eslint": "^9.18.0",
|
|
28
28
|
"eslint-config-prettier": "^10.0.1",
|
|
29
|
+
"eslint-plugin-import-x": "^4.17.1",
|
|
29
30
|
"eslint-plugin-prettier": "^5.2.2",
|
|
30
31
|
"globals": "^16.0.0",
|
|
31
32
|
"prettier": "^3.4.2",
|