qcobjects-cli 2.5.103-beta → 2.5.104-beta
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/VERSION +1 -1
- package/build-esbuild.js +4 -3
- package/package.json +55 -21
- package/public/browser/com.qcobjects.cli.commands.jira.client_services.js +66 -55
- package/public/browser/com.qcobjects.cli.commands.jira.client_services.js.map +2 -2
- package/public/browser/com.qcobjects.cli.commands.jira.js +138 -93
- package/public/browser/com.qcobjects.cli.commands.jira.js.map +4 -4
- package/public/browser/com.qcobjects.cli.commands.js +371 -14
- package/public/browser/com.qcobjects.cli.commands.js.map +4 -4
- package/public/browser/com.qcobjects.cli.commands.version.js +220 -214
- package/public/browser/com.qcobjects.cli.commands.version.js.map +2 -2
- package/public/browser/index.js +4042 -13
- package/public/browser/index.js.map +4 -4
- package/public/browser/org.qcobjects.common.pipelog.js +37 -24
- package/public/browser/org.qcobjects.common.pipelog.js.map +2 -2
- package/public/browser/org.qcobjects.enterprise.commands.js +108 -117
- package/public/browser/org.qcobjects.enterprise.commands.js.map +3 -3
- package/public/browser/org.quickcorp.qcobjects.api.client_services.js +64 -55
- package/public/browser/org.quickcorp.qcobjects.api.client_services.js.map +2 -2
- package/public/browser/org.quickcorp.qcobjects.cli.js +1280 -379
- package/public/browser/org.quickcorp.qcobjects.cli.js.map +4 -4
- package/public/browser/org.quickcorp.qcobjects.defaultsettings.js +373 -359
- package/public/browser/org.quickcorp.qcobjects.defaultsettings.js.map +2 -2
- package/public/browser/qcobjects-cli.js +4042 -13
- package/public/browser/qcobjects-cli.js.map +4 -4
- package/public/cjs/com.qcobjects.cli.commands.cjs +377 -6
- package/public/cjs/com.qcobjects.cli.commands.cjs.map +4 -4
- package/public/cjs/com.qcobjects.cli.commands.jira.cjs +82 -24
- package/public/cjs/com.qcobjects.cli.commands.jira.cjs.map +4 -4
- package/public/cjs/com.qcobjects.cli.commands.jira.client_services.cjs +25 -1
- package/public/cjs/com.qcobjects.cli.commands.jira.client_services.cjs.map +2 -2
- package/public/cjs/com.qcobjects.cli.commands.version.cjs +25 -6
- package/public/cjs/com.qcobjects.cli.commands.version.cjs.map +2 -2
- package/public/cjs/index.cjs +4042 -13
- package/public/cjs/index.cjs.map +4 -4
- package/public/cjs/org.qcobjects.common.pipelog.cjs +40 -14
- package/public/cjs/org.qcobjects.common.pipelog.cjs.map +2 -2
- package/public/cjs/org.qcobjects.enterprise.commands.cjs +38 -34
- package/public/cjs/org.qcobjects.enterprise.commands.cjs.map +3 -3
- package/public/cjs/org.quickcorp.qcobjects.api.client_services.cjs +24 -2
- package/public/cjs/org.quickcorp.qcobjects.api.client_services.cjs.map +2 -2
- package/public/cjs/org.quickcorp.qcobjects.cli.cjs +1032 -118
- package/public/cjs/org.quickcorp.qcobjects.cli.cjs.map +4 -4
- package/public/cjs/org.quickcorp.qcobjects.defaultsettings.cjs +362 -334
- package/public/cjs/org.quickcorp.qcobjects.defaultsettings.cjs.map +2 -2
- package/public/cjs/qcobjects-cli.cjs +4047 -13
- package/public/cjs/qcobjects-cli.cjs.map +4 -4
- package/public/esm/com.qcobjects.cli.commands.jira.client_services.mjs +50 -57
- package/public/esm/com.qcobjects.cli.commands.jira.client_services.mjs.map +2 -2
- package/public/esm/com.qcobjects.cli.commands.jira.mjs +119 -94
- package/public/esm/com.qcobjects.cli.commands.jira.mjs.map +4 -4
- package/public/esm/com.qcobjects.cli.commands.mjs +357 -16
- package/public/esm/com.qcobjects.cli.commands.mjs.map +4 -4
- package/public/esm/com.qcobjects.cli.commands.version.mjs +204 -216
- package/public/esm/com.qcobjects.cli.commands.version.mjs.map +2 -2
- package/public/esm/index.mjs +4043 -13
- package/public/esm/index.mjs.map +4 -4
- package/public/esm/org.qcobjects.common.pipelog.mjs +21 -26
- package/public/esm/org.qcobjects.common.pipelog.mjs.map +2 -2
- package/public/esm/org.qcobjects.enterprise.commands.mjs +92 -119
- package/public/esm/org.qcobjects.enterprise.commands.mjs.map +3 -3
- package/public/esm/org.quickcorp.qcobjects.api.client_services.mjs +48 -57
- package/public/esm/org.quickcorp.qcobjects.api.client_services.mjs.map +2 -2
- package/public/esm/org.quickcorp.qcobjects.cli.mjs +1266 -380
- package/public/esm/org.quickcorp.qcobjects.cli.mjs.map +4 -4
- package/public/esm/org.quickcorp.qcobjects.defaultsettings.mjs +357 -361
- package/public/esm/org.quickcorp.qcobjects.defaultsettings.mjs.map +2 -2
- package/public/esm/qcobjects-cli.mjs +4046 -14
- package/public/esm/qcobjects-cli.mjs.map +4 -4
- package/public/index.d.ts +140 -10
- package/src/com.qcobjects.cli.commands.jira.client_services.ts +19 -21
- package/src/com.qcobjects.cli.commands.jira.ts +11 -34
- package/src/com.qcobjects.cli.commands.ts +3 -9
- package/src/com.qcobjects.cli.commands.version.ts +1 -9
- package/src/org.qcobjects.common.pipelog.ts +18 -15
- package/src/org.qcobjects.enterprise.commands.ts +29 -50
- package/src/org.quickcorp.qcobjects.api.client_services.ts +1 -4
- package/src/org.quickcorp.qcobjects.cli.ts +28 -57
- package/src/org.quickcorp.qcobjects.defaultsettings.ts +359 -355
- package/src/qcobjects-cli.ts +4 -5
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.5.
|
|
1
|
+
2.5.104-beta
|
package/build-esbuild.js
CHANGED
|
@@ -21,11 +21,12 @@ const baseSettings = {
|
|
|
21
21
|
"types": path.join(__dirname, "src/types/global/index.d.ts")
|
|
22
22
|
})
|
|
23
23
|
],
|
|
24
|
-
external: ["os", "path", "http", "url",
|
|
25
|
-
"child_process", "events", "fs", "process",
|
|
24
|
+
external: ["os", "path", "http", "url",
|
|
25
|
+
"child_process", "events", "fs", "process",
|
|
26
26
|
"node:fs", "node:os", "node:child_process",
|
|
27
27
|
"node:path", "readline", "node:net", "node:repl",
|
|
28
|
-
"node:vm", "http2", "vm", "qcobjects", "qcobjects-sdk"
|
|
28
|
+
"node:vm", "http2", "vm", "qcobjects", "qcobjects-sdk",
|
|
29
|
+
"../package.json", "package.json", "./package.json"
|
|
29
30
|
]
|
|
30
31
|
};
|
|
31
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjects-cli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.104-beta",
|
|
4
4
|
"description": "qcobjects cli command line tool",
|
|
5
5
|
"main": "public/cjs/index.cjs",
|
|
6
6
|
"module": "public/esm/index.mjs",
|
|
@@ -19,14 +19,48 @@
|
|
|
19
19
|
"./tsconfig.d.json": "./tsconfig.d.json",
|
|
20
20
|
"./tsconfig.jasmine.json": "./tsconfig.jasmine.json",
|
|
21
21
|
"./*.js": "./public/*.js",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"./qcobjects-
|
|
29
|
-
|
|
22
|
+
"./*.cjs": "./public/cjs/*.cjs",
|
|
23
|
+
"./*.mjs": "./public/esm/*.mjs",
|
|
24
|
+
"./*": {
|
|
25
|
+
"require": "./public/cjs/*.cjs",
|
|
26
|
+
"import": "./public/esm/*.mjs"
|
|
27
|
+
},
|
|
28
|
+
"./qcobjects-collab": {
|
|
29
|
+
"require": "./public/cjs/qcobjects-collab.cjs",
|
|
30
|
+
"import": "./public/esm/qcobjects-collab.mjs"
|
|
31
|
+
},
|
|
32
|
+
"./qcobjects-cli": {
|
|
33
|
+
"require": "./public/cjs/qcobjects-cli.cjs",
|
|
34
|
+
"import": "./public/mjs/qcobjects-cli.js"
|
|
35
|
+
},
|
|
36
|
+
"./qcobjects-createcert": {
|
|
37
|
+
"require": "./public/cjs/qcobjects-createcert.cjs",
|
|
38
|
+
"import": "./public/mjs/qcobjects-createcert.mjs"
|
|
39
|
+
},
|
|
40
|
+
"./qcobjects-gae-http-server": {
|
|
41
|
+
"require": "./public/cjs/qcobjects-gae-http-server.cjs",
|
|
42
|
+
"import": "./public/mjs/qcobjects-gae-http-server.mjs"
|
|
43
|
+
},
|
|
44
|
+
"./qcobjects-http-server": {
|
|
45
|
+
"require": "./public/cjs/qcobjects-http-server.cjs",
|
|
46
|
+
"import": "./public/mjs/qcobjects-http-server.mjs"
|
|
47
|
+
},
|
|
48
|
+
"./qcobjects-http2-server": {
|
|
49
|
+
"require": "./public/cjs/qcobjects-http2-server.cjs",
|
|
50
|
+
"import": "./public/mjs/qcobjects-http2-server.js"
|
|
51
|
+
},
|
|
52
|
+
"./qcobjects-shell": {
|
|
53
|
+
"require": "./public/cjs/qcobjects-shell.cjs",
|
|
54
|
+
"import": "./public/mjs/qcobjects-shell.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./defaultsettings": {
|
|
57
|
+
"require": "./public/cjs/org.quickcorp.qcobjects.defaultsettings.cjs",
|
|
58
|
+
"import": "./public/esm/org.quickcorp.qcobjects.defaultsettings.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./com.qcobjects.cli.commands": {
|
|
61
|
+
"require": "./public/cjs/com.qcobjects.cli.commands.cjs",
|
|
62
|
+
"import": "./public/esm/com.qcobjects.cli.commands.mjs"
|
|
63
|
+
}
|
|
30
64
|
},
|
|
31
65
|
"license": "LGPL-3.0",
|
|
32
66
|
"scripts": {
|
|
@@ -59,7 +93,7 @@
|
|
|
59
93
|
"yaml": "^2.6.0"
|
|
60
94
|
},
|
|
61
95
|
"peerDependencies": {
|
|
62
|
-
"qcobjects": "^2.5.
|
|
96
|
+
"qcobjects": "^2.5.117-beta",
|
|
63
97
|
"qcobjects-sdk": ">=2.4.66"
|
|
64
98
|
},
|
|
65
99
|
"repository": {
|
|
@@ -89,16 +123,16 @@
|
|
|
89
123
|
},
|
|
90
124
|
"homepage": "https://qcobjects.dev",
|
|
91
125
|
"bin": {
|
|
92
|
-
"qco": "./
|
|
93
|
-
"qcobjects": "./
|
|
94
|
-
"qcobjects-cli": "./
|
|
95
|
-
"qcobjects-server": "./
|
|
96
|
-
"qcobjects-http2-server": "./
|
|
97
|
-
"qcobjects-shell": "./
|
|
98
|
-
"qcobjects-createcert": "./
|
|
99
|
-
"qcobjects-gae-server": "./
|
|
100
|
-
"qcobjects-http-server": "./
|
|
101
|
-
"qcobjects-collab": "./
|
|
126
|
+
"qco": "./public/cjs/qcobjects-cli.cjs",
|
|
127
|
+
"qcobjects": "./public/cjs/qcobjects-cli.cjs",
|
|
128
|
+
"qcobjects-cli": "./public/cjs/qcobjects-cli.cjs",
|
|
129
|
+
"qcobjects-server": "./public/cjs/qcobjects-http2-server.cjs",
|
|
130
|
+
"qcobjects-http2-server": "./public/cjs/qcobjects-http2-server.cjs",
|
|
131
|
+
"qcobjects-shell": "./public/cjs/qcobjects-shell.cjs",
|
|
132
|
+
"qcobjects-createcert": "./public/cjs/qcobjects-createcert.cjs",
|
|
133
|
+
"qcobjects-gae-server": "./public/cjs/qcobjects-gae-http-server.cjs",
|
|
134
|
+
"qcobjects-http-server": "./public/cjs/qcobjects-http-server.cjs",
|
|
135
|
+
"qcobjects-collab": "./public/cjs/qcobjects-collab.cjs"
|
|
102
136
|
},
|
|
103
137
|
"devDependencies": {
|
|
104
138
|
"@eslint/eslintrc": "^3.1.0",
|
|
@@ -120,7 +154,7 @@
|
|
|
120
154
|
"hint": "^2.0.0",
|
|
121
155
|
"install": "^0.13.0",
|
|
122
156
|
"jasmine": "^3.7.0",
|
|
123
|
-
"qcobjects": "^2.5.
|
|
157
|
+
"qcobjects": "^2.5.117-beta",
|
|
124
158
|
"ts-node": "^10.9.2",
|
|
125
159
|
"typescript": "^5.6.3",
|
|
126
160
|
"typescript-eslint": "^8.11.0"
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var global = (() => {
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
8
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
7
9
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
@@ -9,64 +11,73 @@ var global = (() => {
|
|
|
9
11
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
10
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
11
13
|
});
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
+
var __export = (target, all) => {
|
|
15
|
+
for (var name in all)
|
|
16
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
14
17
|
};
|
|
18
|
+
var __copyProps = (to, from, except, desc) => {
|
|
19
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
+
for (let key of __getOwnPropNames(from))
|
|
21
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
+
}
|
|
24
|
+
return to;
|
|
25
|
+
};
|
|
26
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
27
|
|
|
16
28
|
// src/com.qcobjects.cli.commands.jira.client_services.ts
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var JiraCloud = class extends Service {
|
|
21
|
-
static {
|
|
22
|
-
__name(this, "JiraCloud");
|
|
23
|
-
}
|
|
24
|
-
constructor({
|
|
25
|
-
name = "jira_cloud",
|
|
26
|
-
external = true,
|
|
27
|
-
useHTTP2 = true,
|
|
28
|
-
cached = false,
|
|
29
|
-
method = "POST",
|
|
30
|
-
headers = {
|
|
31
|
-
"accept": "application/json",
|
|
32
|
-
"content-type": "application/json"
|
|
33
|
-
},
|
|
34
|
-
basePath = "",
|
|
35
|
-
url = "",
|
|
36
|
-
withCredentials = false
|
|
37
|
-
}) {
|
|
38
|
-
super({
|
|
39
|
-
name,
|
|
40
|
-
external,
|
|
41
|
-
useHTTP2,
|
|
42
|
-
cached,
|
|
43
|
-
method,
|
|
44
|
-
headers,
|
|
45
|
-
basePath,
|
|
46
|
-
url,
|
|
47
|
-
withCredentials
|
|
48
|
-
});
|
|
49
|
-
var o = this;
|
|
50
|
-
this.domain = `${o.domain}`;
|
|
51
|
-
this.basePath = `https://${this.domain}/`;
|
|
52
|
-
this.username_password = `${o.username}:${o.password}`;
|
|
53
|
-
this.headers["authorization"] = `Basic ${Buffer.from(this.username_password).toString("base64")}`;
|
|
54
|
-
this.url = this.basePath + o.apiMethod;
|
|
55
|
-
this.data = o.data;
|
|
56
|
-
}
|
|
57
|
-
done(service, standardResponse) {
|
|
58
|
-
logger.debug(standardResponse);
|
|
59
|
-
}
|
|
60
|
-
fail(e) {
|
|
61
|
-
logger.debug(e);
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
Package("com.qcobjects.cli.commands.jira.client_services", [
|
|
65
|
-
JiraCloud
|
|
66
|
-
]);
|
|
67
|
-
exports = { JiraCloud };
|
|
68
|
-
}
|
|
29
|
+
var com_qcobjects_cli_commands_jira_client_services_exports = {};
|
|
30
|
+
__export(com_qcobjects_cli_commands_jira_client_services_exports, {
|
|
31
|
+
JiraCloud: () => JiraCloud
|
|
69
32
|
});
|
|
70
|
-
|
|
33
|
+
var { Package, Service, logger } = __require("qcobjects");
|
|
34
|
+
var JiraCloud = class extends Service {
|
|
35
|
+
static {
|
|
36
|
+
__name(this, "JiraCloud");
|
|
37
|
+
}
|
|
38
|
+
constructor({
|
|
39
|
+
name = "jira_cloud",
|
|
40
|
+
external = true,
|
|
41
|
+
useHTTP2 = true,
|
|
42
|
+
cached = false,
|
|
43
|
+
method = "POST",
|
|
44
|
+
headers = {
|
|
45
|
+
"accept": "application/json",
|
|
46
|
+
"content-type": "application/json"
|
|
47
|
+
},
|
|
48
|
+
basePath = "",
|
|
49
|
+
url = "",
|
|
50
|
+
withCredentials = false
|
|
51
|
+
}) {
|
|
52
|
+
super({
|
|
53
|
+
name,
|
|
54
|
+
external,
|
|
55
|
+
useHTTP2,
|
|
56
|
+
cached,
|
|
57
|
+
method,
|
|
58
|
+
headers,
|
|
59
|
+
basePath,
|
|
60
|
+
url,
|
|
61
|
+
withCredentials
|
|
62
|
+
});
|
|
63
|
+
var o = this;
|
|
64
|
+
this.domain = `${o.domain}`;
|
|
65
|
+
this.basePath = `https://${this.domain}/`;
|
|
66
|
+
this.username_password = `${o.username}:${o.password}`;
|
|
67
|
+
this.headers["authorization"] = `Basic ${Buffer.from(this.username_password).toString("base64")}`;
|
|
68
|
+
this.url = this.basePath + o.apiMethod;
|
|
69
|
+
this.data = o.data;
|
|
70
|
+
}
|
|
71
|
+
done(service, standardResponse) {
|
|
72
|
+
logger.debug(standardResponse);
|
|
73
|
+
}
|
|
74
|
+
fail(e) {
|
|
75
|
+
logger.debug(e);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
Package("com.qcobjects.cli.commands.jira.client_services", [
|
|
79
|
+
JiraCloud
|
|
80
|
+
]);
|
|
81
|
+
return __toCommonJS(com_qcobjects_cli_commands_jira_client_services_exports);
|
|
71
82
|
})();
|
|
72
83
|
//# sourceMappingURL=com.qcobjects.cli.commands.jira.client_services.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/com.qcobjects.cli.commands.jira.client_services.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\n\nconst {Package, Service, logger} = require
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\n\nconst { Package, Service, logger } = require(\"qcobjects\");\n\nexport class JiraCloud extends Service {\n constructor({\n name = \"jira_cloud\",\n external = true,\n useHTTP2 = true,\n cached = false,\n method = \"POST\",\n headers = {\n \"accept\": \"application/json\",\n \"content-type\": \"application/json\"\n },\n basePath = \"\",\n url = \"\",\n withCredentials = false\n }) {\n super({\n name,\n external,\n useHTTP2,\n cached,\n method,\n headers,\n basePath,\n url,\n withCredentials\n });\n var o = this;\n this.domain = `${o.domain}`;\n this.basePath = `https://${this.domain}/`;\n this.username_password = `${o.username}:${o.password}`;\n this.headers[\"authorization\"] = `Basic ${Buffer.from(this.username_password).toString(\"base64\")}`;\n this.url = this.basePath + o.apiMethod;\n this.data = o.data;\n\n }\n\n done(service: any, standardResponse: any) {\n // service loaded\n logger.debug(standardResponse);\n }\n\n fail(e: any) {\n logger.debug(e);\n }\n\n}\n\nPackage(\"com.qcobjects.cli.commands.jira.client_services\", [\n JiraCloud\n]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAgCA,MAAM,EAAE,SAAS,SAAS,OAAO,IAAI,UAAQ,WAAW;AAEjD,MAAM,YAAN,cAAwB,QAAQ;AAAA,IAlCvC,OAkCuC;AAAA;AAAA;AAAA,IACrC,YAAY;AAAA,MACV,OAAO;AAAA,MACP,WAAW;AAAA,MACX,WAAW;AAAA,MACX,SAAS;AAAA,MACT,SAAS;AAAA,MACT,UAAU;AAAA,QACR,UAAU;AAAA,QACV,gBAAgB;AAAA,MAClB;AAAA,MACA,WAAW;AAAA,MACX,MAAM;AAAA,MACN,kBAAkB;AAAA,IACpB,GAAG;AACD,YAAM;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC;AACD,UAAI,IAAI;AACR,WAAK,SAAS,GAAG,EAAE,MAAM;AACzB,WAAK,WAAW,WAAW,KAAK,MAAM;AACtC,WAAK,oBAAoB,GAAG,EAAE,QAAQ,IAAI,EAAE,QAAQ;AACpD,WAAK,QAAQ,eAAe,IAAI,SAAS,OAAO,KAAK,KAAK,iBAAiB,EAAE,SAAS,QAAQ,CAAC;AAC/F,WAAK,MAAM,KAAK,WAAW,EAAE;AAC7B,WAAK,OAAO,EAAE;AAAA,IAEhB;AAAA,IAEA,KAAK,SAAc,kBAAuB;AAExC,aAAO,MAAM,gBAAgB;AAAA,IAC/B;AAAA,IAEA,KAAK,GAAQ;AACX,aAAO,MAAM,CAAC;AAAA,IAChB;AAAA,EAEF;AAEA,UAAQ,mDAAmD;AAAA,IACzD;AAAA,EACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var global = (() => {
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
8
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
7
9
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
@@ -9,109 +11,152 @@ var global = (() => {
|
|
|
9
11
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
10
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
11
13
|
});
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
+
var __export = (target, all) => {
|
|
15
|
+
for (var name in all)
|
|
16
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
14
17
|
};
|
|
18
|
+
var __copyProps = (to, from, except, desc) => {
|
|
19
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
+
for (let key of __getOwnPropNames(from))
|
|
21
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
+
}
|
|
24
|
+
return to;
|
|
25
|
+
};
|
|
26
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
27
|
|
|
16
28
|
// src/com.qcobjects.cli.commands.jira.ts
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
29
|
+
var com_qcobjects_cli_commands_jira_exports = {};
|
|
30
|
+
__export(com_qcobjects_cli_commands_jira_exports, {
|
|
31
|
+
CommandHandler: () => CommandHandler
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// src/com.qcobjects.cli.commands.jira.client_services.ts
|
|
35
|
+
var { Package, Service, logger } = __require("qcobjects");
|
|
36
|
+
var JiraCloud = class extends Service {
|
|
37
|
+
static {
|
|
38
|
+
__name(this, "JiraCloud");
|
|
39
|
+
}
|
|
40
|
+
constructor({
|
|
41
|
+
name = "jira_cloud",
|
|
42
|
+
external = true,
|
|
43
|
+
useHTTP2 = true,
|
|
44
|
+
cached = false,
|
|
45
|
+
method = "POST",
|
|
46
|
+
headers = {
|
|
47
|
+
"accept": "application/json",
|
|
48
|
+
"content-type": "application/json"
|
|
49
|
+
},
|
|
50
|
+
basePath = "",
|
|
51
|
+
url = "",
|
|
52
|
+
withCredentials = false
|
|
53
|
+
}) {
|
|
54
|
+
super({
|
|
55
|
+
name,
|
|
56
|
+
external,
|
|
57
|
+
useHTTP2,
|
|
58
|
+
cached,
|
|
59
|
+
method,
|
|
60
|
+
headers,
|
|
61
|
+
basePath,
|
|
62
|
+
url,
|
|
63
|
+
withCredentials
|
|
64
|
+
});
|
|
65
|
+
var o = this;
|
|
66
|
+
this.domain = `${o.domain}`;
|
|
67
|
+
this.basePath = `https://${this.domain}/`;
|
|
68
|
+
this.username_password = `${o.username}:${o.password}`;
|
|
69
|
+
this.headers["authorization"] = `Basic ${Buffer.from(this.username_password).toString("base64")}`;
|
|
70
|
+
this.url = this.basePath + o.apiMethod;
|
|
71
|
+
this.data = o.data;
|
|
72
|
+
}
|
|
73
|
+
done(service, standardResponse) {
|
|
74
|
+
logger.debug(standardResponse);
|
|
75
|
+
}
|
|
76
|
+
fail(e) {
|
|
77
|
+
logger.debug(e);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
Package("com.qcobjects.cli.commands.jira.client_services", [
|
|
81
|
+
JiraCloud
|
|
82
|
+
]);
|
|
83
|
+
|
|
84
|
+
// src/com.qcobjects.cli.commands.jira.ts
|
|
85
|
+
var path = __require("path");
|
|
86
|
+
var absolutePath = path.resolve(__dirname, "./");
|
|
87
|
+
var {
|
|
88
|
+
exec,
|
|
89
|
+
execSync
|
|
90
|
+
} = __require("child_process");
|
|
91
|
+
var { Package: Package2, InheritClass, _DataStringify, New, CONFIG, logger: logger2, serviceLoader } = __require("qcobjects");
|
|
92
|
+
var CommandHandler = class extends InheritClass {
|
|
93
|
+
static {
|
|
94
|
+
__name(this, "CommandHandler");
|
|
95
|
+
}
|
|
96
|
+
constructor({
|
|
97
|
+
switchCommander
|
|
98
|
+
}) {
|
|
99
|
+
super({ switchCommander });
|
|
100
|
+
this.choiceOption = {
|
|
101
|
+
issues: /* @__PURE__ */ __name(function() {
|
|
102
|
+
this.getIssueList().then(function(response) {
|
|
103
|
+
console.log(_DataStringify(response));
|
|
104
|
+
}).catch((e) => {
|
|
105
|
+
console.log(e);
|
|
106
|
+
process.exit(1);
|
|
107
|
+
});
|
|
108
|
+
}, "issues")
|
|
109
|
+
};
|
|
110
|
+
const commandHandler = this;
|
|
111
|
+
switchCommander.program.command("jira <subcommand>").option("-u, --from-user [username]", "User name").option("-fp,--from-project <projectName>", "Project name").option("-p, --pwd <password>", "Password").option("-f, --format <format>", "Format (json, table)").description(`Jira Integration:
|
|
51
112
|
Sub-Commands can be:
|
|
52
113
|
issues: To get the issues list from JIRA
|
|
53
114
|
`).action(function(subcommand, options) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
});
|
|
115
|
+
if (commandHandler.choiceOption.hasOwnProperty.call(commandHandler.choiceOption, subcommand)) {
|
|
116
|
+
commandHandler.choiceOption[subcommand].call(commandHandler, subcommand, options);
|
|
117
|
+
} else {
|
|
118
|
+
console.error(`Sub-Command (jira ${subcommand}... ) is not available`);
|
|
119
|
+
process.exit(1);
|
|
61
120
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
try {
|
|
85
|
-
const service = serviceLoader(cloudClient).then((successResponse) => {
|
|
86
|
-
const template = successResponse.service.template;
|
|
87
|
-
const responseHeaders = successResponse.responseHeaders;
|
|
88
|
-
if (responseHeaders[":status"] === 200 || !cloudClient.useHTTP2) {
|
|
89
|
-
const response = JSON.parse(template);
|
|
90
|
-
resolve(response);
|
|
91
|
-
} else {
|
|
92
|
-
console.error("\u{1F926} Something went wrong \u{1F926} when trying to get jira issues from the cloud. The status was: " + responseHeaders[":status"]);
|
|
93
|
-
reject(template);
|
|
94
|
-
}
|
|
95
|
-
}).catch((e) => {
|
|
96
|
-
console.error("\u{1F926} Something went wrong \u{1F926} when trying to get jira issues from the cloud");
|
|
97
|
-
reject(e);
|
|
98
|
-
});
|
|
99
|
-
} catch (e) {
|
|
100
|
-
console.error("\u{1F926} Something went wrong \u{1F926} when trying to get jira issues from the cloud");
|
|
101
|
-
reject(e);
|
|
102
|
-
}
|
|
103
|
-
} else {
|
|
104
|
-
console.error("\u{1F926} Something went wrong \u{1F926} You need to set the jira config settings");
|
|
105
|
-
reject(new Error("\u{1F926} Something went wrong \u{1F926} You need to set the jira config settings"));
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
getIssueList() {
|
|
124
|
+
return new Promise(function(resolve, reject) {
|
|
125
|
+
logger2.info("I'm going to get the issue list from the jira cloud...");
|
|
126
|
+
const jira_config = CONFIG.get("jira", null);
|
|
127
|
+
if (jira_config !== null) {
|
|
128
|
+
const jira_username = jira_config.username;
|
|
129
|
+
const jira_password = jira_config.auth_token;
|
|
130
|
+
const jira_project = jira_config.project;
|
|
131
|
+
const jira_domain = jira_config.domain;
|
|
132
|
+
const jira_issue_fields = ["id", "key", "summary", "timetracking"];
|
|
133
|
+
const cloudClient = New(JiraCloud, {
|
|
134
|
+
domain: `${jira_domain}`,
|
|
135
|
+
username: `${jira_username}`,
|
|
136
|
+
password: `${jira_password}`,
|
|
137
|
+
apiMethod: "rest/api/latest/search",
|
|
138
|
+
data: {
|
|
139
|
+
"jql": `project = ${jira_project}`,
|
|
140
|
+
"startAt": 0,
|
|
141
|
+
"maxResults": 5e3,
|
|
142
|
+
"fields": jira_issue_fields
|
|
106
143
|
}
|
|
107
144
|
});
|
|
145
|
+
try {
|
|
146
|
+
} catch (e) {
|
|
147
|
+
console.error("\u{1F926} Something went wrong \u{1F926} when trying to get jira issues from the cloud");
|
|
148
|
+
reject(e);
|
|
149
|
+
}
|
|
150
|
+
} else {
|
|
151
|
+
console.error("\u{1F926} Something went wrong \u{1F926} You need to set the jira config settings");
|
|
152
|
+
reject(new Error("\u{1F926} Something went wrong \u{1F926} You need to set the jira config settings"));
|
|
108
153
|
}
|
|
109
|
-
};
|
|
110
|
-
Package("com.qcobjects.cli.commands.jira", [
|
|
111
|
-
CommandHandler
|
|
112
|
-
]);
|
|
154
|
+
});
|
|
113
155
|
}
|
|
114
|
-
}
|
|
115
|
-
|
|
156
|
+
};
|
|
157
|
+
Package2("com.qcobjects.cli.commands.jira", [
|
|
158
|
+
CommandHandler
|
|
159
|
+
]);
|
|
160
|
+
return __toCommonJS(com_qcobjects_cli_commands_jira_exports);
|
|
116
161
|
})();
|
|
117
162
|
//# sourceMappingURL=com.qcobjects.cli.commands.jira.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/com.qcobjects.cli.commands.jira.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\nconst
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
3
|
+
"sources": ["../../src/com.qcobjects.cli.commands.jira.ts", "../../src/com.qcobjects.cli.commands.jira.client_services.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\nconst path = require(\"path\");\nconst absolutePath = path.resolve(__dirname, \"./\");\nconst {\n exec,\n execSync\n} = require(\"child_process\");\n\nconst { Package, InheritClass, _DataStringify, New, CONFIG, logger, serviceLoader } = require(\"qcobjects\");\n\nimport { JiraCloud } from \"./com.qcobjects.cli.commands.jira.client_services\";\n\nexport class CommandHandler extends InheritClass {\n constructor({\n switchCommander\n }: { switchCommander: any }) {\n super({ switchCommander });\n this.choiceOption = {\n issues: function () {\n\n this.getIssueList().then(function (response: any) {\n console.log(_DataStringify(response));\n }).catch((e: any) => {\n console.log(e);\n process.exit(1);\n });\n\n }\n };\n\n const commandHandler = this;\n\n switchCommander.program.command(\"jira <subcommand>\")\n .option(\"-u, --from-user [username]\", \"User name\")\n .option(\"-fp,--from-project <projectName>\", \"Project name\")\n .option(\"-p, --pwd <password>\", \"Password\")\n .option(\"-f, --format <format>\", \"Format (json, table)\")\n .description(`Jira Integration:\n Sub-Commands can be:\n issues: To get the issues list from JIRA\n `)\n .action(function (subcommand: string | number, options: any) {\n if (commandHandler.choiceOption.hasOwnProperty.call(commandHandler.choiceOption, subcommand)) {\n commandHandler.choiceOption[subcommand].call(commandHandler, subcommand, options);\n } else {\n console.error(`Sub-Command (jira ${subcommand}... ) is not available`);\n process.exit(1);\n }\n });\n\n }\n\n getIssueList() {\n return new Promise<void>(function (resolve, reject) {\n logger.info(\"I'm going to get the issue list from the jira cloud...\");\n const jira_config = CONFIG.get(\"jira\", null);\n if (jira_config !== null) {\n const jira_username = jira_config.username;\n const jira_password = jira_config.auth_token;\n const jira_project = jira_config.project;\n const jira_domain = jira_config.domain;\n const jira_issue_fields = [\"id\", \"key\", \"summary\", \"timetracking\"];\n const cloudClient = New(JiraCloud, {\n domain: `${jira_domain}`,\n username: `${jira_username}`,\n password: `${jira_password}`,\n apiMethod: \"rest/api/latest/search\",\n data: {\n \"jql\": `project = ${jira_project}`,\n \"startAt\": 0,\n \"maxResults\": 5000,\n \"fields\": jira_issue_fields\n }\n });\n try {\n } catch (e) {\n console.error(\"\\u{1F926} Something went wrong \\u{1F926} when trying to get jira issues from the cloud\");\n reject(e as Error);\n }\n\n } else {\n console.error(\"\\u{1F926} Something went wrong \\u{1F926} You need to set the jira config settings\");\n reject(new Error(\"\\u{1F926} Something went wrong \\u{1F926} You need to set the jira config settings\"));\n }\n\n });\n }\n\n\n}\n\nPackage(\"com.qcobjects.cli.commands.jira\", [\n CommandHandler\n]);", "/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\n\nconst { Package, Service, logger } = require(\"qcobjects\");\n\nexport class JiraCloud extends Service {\n constructor({\n name = \"jira_cloud\",\n external = true,\n useHTTP2 = true,\n cached = false,\n method = \"POST\",\n headers = {\n \"accept\": \"application/json\",\n \"content-type\": \"application/json\"\n },\n basePath = \"\",\n url = \"\",\n withCredentials = false\n }) {\n super({\n name,\n external,\n useHTTP2,\n cached,\n method,\n headers,\n basePath,\n url,\n withCredentials\n });\n var o = this;\n this.domain = `${o.domain}`;\n this.basePath = `https://${this.domain}/`;\n this.username_password = `${o.username}:${o.password}`;\n this.headers[\"authorization\"] = `Basic ${Buffer.from(this.username_password).toString(\"base64\")}`;\n this.url = this.basePath + o.apiMethod;\n this.data = o.data;\n\n }\n\n done(service: any, standardResponse: any) {\n // service loaded\n logger.debug(standardResponse);\n }\n\n fail(e: any) {\n logger.debug(e);\n }\n\n}\n\nPackage(\"com.qcobjects.cli.commands.jira.client_services\", [\n JiraCloud\n]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;;;ACgCA,MAAM,EAAE,SAAS,SAAS,OAAO,IAAI,UAAQ,WAAW;AAEjD,MAAM,YAAN,cAAwB,QAAQ;AAAA,IAlCvC,OAkCuC;AAAA;AAAA;AAAA,IACrC,YAAY;AAAA,MACV,OAAO;AAAA,MACP,WAAW;AAAA,MACX,WAAW;A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