@my-devkit/core 1.0.99 → 1.0.100
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/aggregate.d.ts +1 -1
- package/dist/aggregate.js +19 -24
- package/dist/aggregate.js.map +1 -1
- package/dist/command.d.ts +1 -1
- package/dist/command.js +8 -9
- package/dist/command.js.map +1 -1
- package/dist/date-helper.js +27 -33
- package/dist/date-helper.js.map +1 -1
- package/dist/decorators/cacheable.decorator.js +32 -95
- package/dist/decorators/cacheable.decorator.js.map +1 -1
- package/dist/decorators/index.js +5 -1
- package/dist/decorators/index.js.map +1 -1
- package/dist/decorators/retryable.decorator.js +6 -45
- package/dist/decorators/retryable.decorator.js.map +1 -1
- package/dist/enum-helper.js +13 -31
- package/dist/enum-helper.js.map +1 -1
- package/dist/errors/bad-request-error.js +6 -24
- package/dist/errors/bad-request-error.js.map +1 -1
- package/dist/errors/domain-error.js +6 -24
- package/dist/errors/domain-error.js.map +1 -1
- package/dist/errors/forbidden-error.js +6 -24
- package/dist/errors/forbidden-error.js.map +1 -1
- package/dist/errors/index.js +5 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/not-found-error.js +6 -24
- package/dist/errors/not-found-error.js.map +1 -1
- package/dist/errors/not-implemented-error.js +6 -24
- package/dist/errors/not-implemented-error.js.map +1 -1
- package/dist/errors/unauthorized-error.js +6 -24
- package/dist/errors/unauthorized-error.js.map +1 -1
- package/dist/event.d.ts +7 -7
- package/dist/event.js +44 -53
- package/dist/event.js.map +1 -1
- package/dist/guid/index.js +1 -1
- package/dist/guid/index.js.map +1 -1
- package/dist/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/dist/json-helper.d.ts +1 -0
- package/dist/json-helper.js +18 -12
- package/dist/json-helper.js.map +1 -1
- package/dist/logger.js +35 -57
- package/dist/logger.js.map +1 -1
- package/dist/maintenance-model.js +16 -34
- package/dist/maintenance-model.js.map +1 -1
- package/dist/model.d.ts +1 -1
- package/dist/model.js +11 -16
- package/dist/model.js.map +1 -1
- package/dist/passwords.js +1 -1
- package/dist/passwords.js.map +1 -1
- package/dist/promise-helper.js +25 -67
- package/dist/promise-helper.js.map +1 -1
- package/dist/release-model.js +16 -34
- package/dist/release-model.js.map +1 -1
- package/dist/retry.js +24 -76
- package/dist/retry.js.map +1 -1
- package/dist/sanity-check-warm-up-dto.js +11 -12
- package/dist/sanity-check-warm-up-dto.js.map +1 -1
- package/dist/serialize/deserialize.js +2 -2
- package/dist/serialize/deserialize.js.map +1 -1
- package/dist/serialize/index.d.ts +2 -1
- package/dist/serialize/index.js +7 -2
- package/dist/serialize/index.js.map +1 -1
- package/dist/serialize/serializable.d.ts +1 -1
- package/dist/serialize/serializable.js +5 -5
- package/dist/serialize/serializable.js.map +1 -1
- package/dist/serialize/serialize-helper.d.ts +5 -0
- package/dist/serialize/serialize-helper.js +38 -0
- package/dist/serialize/serialize-helper.js.map +1 -0
- package/dist/serialize/serialize.js +1 -1
- package/dist/serialize/serialize.js.map +1 -1
- package/dist/serialize/type-helper.js +62 -73
- package/dist/serialize/type-helper.js.map +1 -1
- package/dist/sleep.js +5 -34
- package/dist/sleep.js.map +1 -1
- package/dist/validators/custom-validators/camel-case.js +2 -2
- package/dist/validators/custom-validators/camel-case.js.map +1 -1
- package/dist/validators/custom-validators/equals-to.js +5 -5
- package/dist/validators/custom-validators/equals-to.js.map +1 -1
- package/dist/validators/custom-validators/greater-or-equal-than.js +5 -5
- package/dist/validators/custom-validators/greater-or-equal-than.js.map +1 -1
- package/dist/validators/custom-validators/greater-than-date.js +6 -6
- package/dist/validators/custom-validators/greater-than-date.js.map +1 -1
- package/dist/validators/custom-validators/index.js +5 -1
- package/dist/validators/custom-validators/index.js.map +1 -1
- package/dist/validators/custom-validators/is-empty-if.js +6 -6
- package/dist/validators/custom-validators/is-empty-if.js.map +1 -1
- package/dist/validators/custom-validators/is-not-empty-if.js +5 -5
- package/dist/validators/custom-validators/is-not-empty-if.js.map +1 -1
- package/dist/validators/custom-validators/is-not-in-relative-to.js +5 -6
- package/dist/validators/custom-validators/is-not-in-relative-to.js.map +1 -1
- package/dist/validators/custom-validators/is-optional-if.d.ts +4 -1
- package/dist/validators/custom-validators/is-optional-if.js +9 -17
- package/dist/validators/custom-validators/is-optional-if.js.map +1 -1
- package/dist/validators/custom-validators/pascal-case.js +2 -2
- package/dist/validators/custom-validators/pascal-case.js.map +1 -1
- package/dist/validators/index.js +5 -1
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/validate.d.ts +2 -1
- package/dist/validators/validate.js +28 -41
- package/dist/validators/validate.js.map +1 -1
- package/dist/validators/validation-error.js +5 -6
- package/dist/validators/validation-error.js.map +1 -1
- package/dist/vendors/index.js +5 -1
- package/dist/vendors/index.js.map +1 -1
- package/dist/vendors/lodash.d.ts +1 -1
- package/dist/vendors/lodash.js +2 -1
- package/dist/vendors/lodash.js.map +1 -1
- package/package.json +11 -11
- package/src/aggregate.ts +1 -1
- package/src/command.ts +1 -1
- package/src/event.ts +8 -8
- package/src/json-helper.ts +9 -0
- package/src/model.ts +1 -1
- package/src/serialize/index.ts +2 -1
- package/src/serialize/serializable.ts +1 -1
- package/src/serialize/serialize-helper.ts +43 -0
- package/src/validators/custom-validators/is-not-in-relative-to.ts +3 -5
- package/src/validators/custom-validators/is-optional-if.ts +9 -18
- package/src/validators/validate.ts +38 -35
- package/src/vendors/lodash.ts +1 -0
- package/tsconfig.json +7 -10
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -25,25 +10,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
25
10
|
};
|
|
26
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
12
|
exports.MaintenanceModel = void 0;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
_this.status = null;
|
|
35
|
-
return _this;
|
|
13
|
+
const model_1 = require("./model");
|
|
14
|
+
const serialize_1 = require("./serialize");
|
|
15
|
+
let MaintenanceModel = class MaintenanceModel extends model_1.Model {
|
|
16
|
+
constructor() {
|
|
17
|
+
super('MaintenanceModel', () => `/continuous-integration/maintenance`);
|
|
18
|
+
this.status = null;
|
|
36
19
|
}
|
|
37
|
-
|
|
38
|
-
(0, serialize_1.autoserializeAs)(Boolean),
|
|
39
|
-
__metadata("design:type", Boolean)
|
|
40
|
-
], MaintenanceModel.prototype, "status", void 0);
|
|
41
|
-
MaintenanceModel = __decorate([
|
|
42
|
-
serialize_1.serializable,
|
|
43
|
-
(0, serialize_1.inheritSerialization)(model_1.Model),
|
|
44
|
-
__metadata("design:paramtypes", [])
|
|
45
|
-
], MaintenanceModel);
|
|
46
|
-
return MaintenanceModel;
|
|
47
|
-
}(model_1.Model));
|
|
20
|
+
};
|
|
48
21
|
exports.MaintenanceModel = MaintenanceModel;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, serialize_1.autoserializeAs)(Boolean),
|
|
24
|
+
__metadata("design:type", Boolean)
|
|
25
|
+
], MaintenanceModel.prototype, "status", void 0);
|
|
26
|
+
exports.MaintenanceModel = MaintenanceModel = __decorate([
|
|
27
|
+
serialize_1.serializable,
|
|
28
|
+
(0, serialize_1.inheritSerialization)(model_1.Model),
|
|
29
|
+
__metadata("design:paramtypes", [])
|
|
30
|
+
], MaintenanceModel);
|
|
49
31
|
//# sourceMappingURL=maintenance-model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenance-model.js","sourceRoot":"","sources":["../src/maintenance-model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"maintenance-model.js","sourceRoot":"","sources":["../src/maintenance-model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAAgC;AAChC,2CAAkF;AAI3E,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,aAAK;IAGvC;QACI,KAAK,CAAC,kBAAkB,EAAE,GAAG,EAAE,CAAC,qCAAqC,CAAC,CAAC;QAH1C,WAAM,GAAY,IAAI,CAAC;IAIxD,CAAC;CACJ,CAAA;AANY,4CAAgB;AACQ;IAAhC,IAAA,2BAAe,EAAC,OAAO,CAAC;;gDAA+B;2BAD/C,gBAAgB;IAF5B,wBAAY;IACZ,IAAA,gCAAoB,EAAC,aAAK,CAAC;;GACf,gBAAgB,CAM5B"}
|
package/dist/model.d.ts
CHANGED
package/dist/model.js
CHANGED
|
@@ -10,25 +10,20 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Model = void 0;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
const cerialize_1 = require("cerialize");
|
|
14
|
+
class Model {
|
|
15
|
+
constructor(modelType, pathCallback) {
|
|
16
16
|
this.pathCallback = pathCallback;
|
|
17
17
|
this._type = null;
|
|
18
18
|
this._type = modelType;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
enumerable: false,
|
|
25
|
-
configurable: true
|
|
26
|
-
});
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, cerialize_1.autoserializeAs)(String),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], Model.prototype, "_type", void 0);
|
|
31
|
-
return Model;
|
|
32
|
-
}());
|
|
20
|
+
get _path() {
|
|
21
|
+
return this.pathCallback();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
33
24
|
exports.Model = Model;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, cerialize_1.autoserializeAs)(String),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Model.prototype, "_type", void 0);
|
|
34
29
|
//# sourceMappingURL=model.js.map
|
package/dist/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA4C;AAI5C,MAAsB,KAAK;IAGvB,YAAY,SAAiB,EAAU,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;QAFjC,UAAK,GAAY,IAAI,CAAC;QAGlD,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;IAC3B,CAAC;IAED,IAAW,KAAK;QACZ,OAAO,IAAI,CAAC,YAAY,EAAE,CAAC;IAC/B,CAAC;CACJ;AAVD,sBAUC;AATmC;IAA/B,IAAA,2BAAe,EAAC,MAAM,CAAC;;oCAA8B"}
|
package/dist/passwords.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.hiddenPassword = exports.restorePassword = void 0;
|
|
4
|
-
|
|
4
|
+
const HIDDEN_PASSWORD_VALUE = '********';
|
|
5
5
|
function restorePassword(newPassword, oldPassword) {
|
|
6
6
|
return newPassword === HIDDEN_PASSWORD_VALUE ? oldPassword : newPassword;
|
|
7
7
|
}
|
package/dist/passwords.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passwords.js","sourceRoot":"","sources":["../src/passwords.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"passwords.js","sourceRoot":"","sources":["../src/passwords.ts"],"names":[],"mappings":";;;AAAA,MAAM,qBAAqB,GAAG,UAAU,CAAC;AAEzC,SAAgB,eAAe,CAAC,WAAmB,EAAE,WAAmB;IACpE,OAAO,WAAW,KAAK,qBAAqB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC;AAC7E,CAAC;AAFD,0CAEC;AAED,SAAgB,cAAc;IAC1B,OAAO,qBAAqB,CAAC;AACjC,CAAC;AAFD,wCAEC"}
|
package/dist/promise-helper.js
CHANGED
|
@@ -8,82 +8,40 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
12
|
exports.PromiseHelper = void 0;
|
|
40
|
-
|
|
41
|
-
function PromiseHelper() {
|
|
42
|
-
}
|
|
13
|
+
class PromiseHelper {
|
|
43
14
|
// Used to avoid syncronous Promise resolution
|
|
44
15
|
// That way other callbacks in the application can have an opportunity to get executed
|
|
45
|
-
|
|
46
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
47
|
-
return
|
|
48
|
-
|
|
49
|
-
setTimeout(function () { return resolve(value); }, 0);
|
|
50
|
-
})];
|
|
16
|
+
static from(value) {
|
|
17
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18
|
+
return new Promise(resolve => {
|
|
19
|
+
setTimeout(() => resolve(value), 0);
|
|
51
20
|
});
|
|
52
21
|
});
|
|
53
|
-
}
|
|
22
|
+
}
|
|
54
23
|
// Same as from function
|
|
55
24
|
// use setTimeout every 100 execution to avoid performance issues
|
|
56
|
-
|
|
57
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
return [2 /*return*/];
|
|
70
|
-
});
|
|
25
|
+
static fromFaster(value) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
this.counter++;
|
|
28
|
+
if (this.counter % 100 === 0) {
|
|
29
|
+
this.counter = 0;
|
|
30
|
+
return new Promise(resolve => {
|
|
31
|
+
setTimeout(() => resolve(value), 0);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
71
37
|
});
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
75
|
-
|
|
76
|
-
switch (_a.label) {
|
|
77
|
-
case 0: return [4 /*yield*/, new Promise(function (resolve) { return setTimeout(function () { return resolve(); }, seconds * 1000); })];
|
|
78
|
-
case 1:
|
|
79
|
-
_a.sent();
|
|
80
|
-
return [2 /*return*/];
|
|
81
|
-
}
|
|
82
|
-
});
|
|
38
|
+
}
|
|
39
|
+
static wait(seconds) {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
yield new Promise(resolve => setTimeout(() => resolve(), seconds * 1000));
|
|
83
42
|
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return PromiseHelper;
|
|
87
|
-
}());
|
|
43
|
+
}
|
|
44
|
+
}
|
|
88
45
|
exports.PromiseHelper = PromiseHelper;
|
|
46
|
+
PromiseHelper.counter = 0;
|
|
89
47
|
//# sourceMappingURL=promise-helper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promise-helper.js","sourceRoot":"","sources":["../src/promise-helper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"promise-helper.js","sourceRoot":"","sources":["../src/promise-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,MAAa,aAAa;IAGtB,8CAA8C;IAC9C,sFAAsF;IAC/E,MAAM,CAAO,IAAI,CAAI,KAAQ;;YAChC,OAAO,IAAI,OAAO,CAAI,OAAO,CAAC,EAAE;gBAC5B,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;YACxC,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;IAED,wBAAwB;IACxB,iEAAiE;IAC1D,MAAM,CAAO,UAAU,CAAI,KAAQ;;YACtC,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,IAAI,IAAI,CAAC,OAAO,GAAG,GAAG,KAAK,CAAC,EAAE;gBAC1B,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;gBACjB,OAAO,IAAI,OAAO,CAAI,OAAO,CAAC,EAAE;oBAC5B,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;gBACxC,CAAC,CAAC,CAAC;aACN;iBAAM;gBACH,OAAO,KAAK,CAAC;aAChB;QACL,CAAC;KAAA;IAEM,MAAM,CAAO,IAAI,CAAC,OAAe;;YACpC,MAAM,IAAI,OAAO,CAAO,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QACpF,CAAC;KAAA;;AA3BL,sCA4BC;AA3BkB,qBAAO,GAAG,CAAC,CAAC"}
|
package/dist/release-model.js
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -25,25 +10,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
25
10
|
};
|
|
26
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
12
|
exports.ReleaseModel = void 0;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
_this.version = null;
|
|
35
|
-
return _this;
|
|
13
|
+
const model_1 = require("./model");
|
|
14
|
+
const serialize_1 = require("./serialize");
|
|
15
|
+
let ReleaseModel = class ReleaseModel extends model_1.Model {
|
|
16
|
+
constructor() {
|
|
17
|
+
super('ReleaseModel', () => `/continuous-integration/release`);
|
|
18
|
+
this.version = null;
|
|
36
19
|
}
|
|
37
|
-
|
|
38
|
-
(0, serialize_1.autoserializeAs)(String),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], ReleaseModel.prototype, "version", void 0);
|
|
41
|
-
ReleaseModel = __decorate([
|
|
42
|
-
serialize_1.serializable,
|
|
43
|
-
(0, serialize_1.inheritSerialization)(model_1.Model),
|
|
44
|
-
__metadata("design:paramtypes", [])
|
|
45
|
-
], ReleaseModel);
|
|
46
|
-
return ReleaseModel;
|
|
47
|
-
}(model_1.Model));
|
|
20
|
+
};
|
|
48
21
|
exports.ReleaseModel = ReleaseModel;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, serialize_1.autoserializeAs)(String),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ReleaseModel.prototype, "version", void 0);
|
|
26
|
+
exports.ReleaseModel = ReleaseModel = __decorate([
|
|
27
|
+
serialize_1.serializable,
|
|
28
|
+
(0, serialize_1.inheritSerialization)(model_1.Model),
|
|
29
|
+
__metadata("design:paramtypes", [])
|
|
30
|
+
], ReleaseModel);
|
|
49
31
|
//# sourceMappingURL=release-model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-model.js","sourceRoot":"","sources":["../src/release-model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"release-model.js","sourceRoot":"","sources":["../src/release-model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAAgC;AAChC,2CAAkF;AAI3E,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,aAAK;IAGnC;QACI,KAAK,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC,iCAAiC,CAAC,CAAC;QAHnC,YAAO,GAAW,IAAI,CAAC;IAIvD,CAAC;CACJ,CAAA;AANY,oCAAY;AACW;IAA/B,IAAA,2BAAe,EAAC,MAAM,CAAC;;6CAA+B;uBAD9C,YAAY;IAFxB,wBAAY;IACZ,IAAA,gCAAoB,EAAC,aAAK,CAAC;;GACf,YAAY,CAMxB"}
|
package/dist/retry.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -19,80 +8,39 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
9
|
});
|
|
21
10
|
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
12
|
exports.retry = void 0;
|
|
51
|
-
|
|
52
|
-
|
|
13
|
+
const logger_1 = require("./logger");
|
|
14
|
+
const sleep_1 = require("./sleep");
|
|
53
15
|
/**
|
|
54
16
|
* Retry operation
|
|
55
17
|
* @param operation
|
|
56
18
|
* @param options
|
|
57
19
|
*/
|
|
58
20
|
function retry(operation, options) {
|
|
59
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
if (!options.exponential) return [3 /*break*/, 5];
|
|
82
|
-
return [4 /*yield*/, (0, sleep_1.sleep)(Math.pow(2, retryCount) * 1000 + Math.round(Math.random() * 1000))];
|
|
83
|
-
case 4:
|
|
84
|
-
_a.sent();
|
|
85
|
-
_a.label = 5;
|
|
86
|
-
case 5:
|
|
87
|
-
retryCount++;
|
|
88
|
-
logger_1.Logger.info("Retry: retrying... ".concat(retryCount, "/").concat(options.maxAttempts));
|
|
89
|
-
return [3 /*break*/, 6];
|
|
90
|
-
case 6:
|
|
91
|
-
if (continueTrying) return [3 /*break*/, 1];
|
|
92
|
-
_a.label = 7;
|
|
93
|
-
case 7: return [2 /*return*/];
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
options = Object.assign({ maxAttempts: 6, exponential: false, condition: () => true, continueWithoutError: false }, options);
|
|
23
|
+
let continueTrying = true;
|
|
24
|
+
let retryCount = 0;
|
|
25
|
+
do {
|
|
26
|
+
try {
|
|
27
|
+
return yield operation();
|
|
28
|
+
}
|
|
29
|
+
catch (e) {
|
|
30
|
+
continueTrying = retryCount < options.maxAttempts && options.condition(e);
|
|
31
|
+
if (!continueTrying && options.continueWithoutError) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (!continueTrying && !options.continueWithoutError) {
|
|
35
|
+
throw e;
|
|
36
|
+
}
|
|
37
|
+
if (options.exponential) {
|
|
38
|
+
yield (0, sleep_1.sleep)(Math.pow(2, retryCount) * 1000 + Math.round(Math.random() * 1000));
|
|
39
|
+
}
|
|
40
|
+
retryCount++;
|
|
41
|
+
logger_1.Logger.info(`Retry: retrying... ${retryCount}/${options.maxAttempts}`);
|
|
94
42
|
}
|
|
95
|
-
});
|
|
43
|
+
} while (continueTrying);
|
|
96
44
|
});
|
|
97
45
|
}
|
|
98
46
|
exports.retry = retry;
|
package/dist/retry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAkC;AAClC,mCAAgC;AAEhC;;;;GAIG;AACH,SAAsB,KAAK,CAAI,SAA2B,EAAE,OAAuB;;QAC/E,OAAO,mBAAK,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,oBAAoB,EAAE,KAAK,IAAK,OAAO,CAAE,CAAC;QAEjH,IAAI,cAAc,GAAG,IAAI,CAAC;QAC1B,IAAI,UAAU,GAAG,CAAC,CAAC;QACnB,GAAG;YACC,IAAI;gBACA,OAAO,MAAM,SAAS,EAAE,CAAC;aAC5B;YAAC,OAAO,CAAC,EAAE;gBACR,cAAc,GAAG,UAAU,GAAG,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;gBAC1E,IAAI,CAAC,cAAc,IAAI,OAAO,CAAC,oBAAoB,EAAE;oBACjD,OAAO;iBACV;gBACD,IAAI,CAAC,cAAc,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE;oBAClD,MAAM,CAAC,CAAC;iBACX;gBACD,IAAI,OAAO,CAAC,WAAW,EAAE;oBACrB,MAAM,IAAA,aAAK,EAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;iBAClF;gBAED,UAAU,EAAE,CAAC;gBACb,eAAM,CAAC,IAAI,CAAC,sBAAsB,UAAU,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;aAC1E;SACJ,QAAQ,cAAc,EAAC;IAC5B,CAAC;CAAA;AAxBD,sBAwBC"}
|
|
@@ -10,19 +10,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SanityCheckWarmUpDto = void 0;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
const serialize_1 = require("./serialize");
|
|
14
|
+
let SanityCheckWarmUpDto = class SanityCheckWarmUpDto {
|
|
15
|
+
constructor() {
|
|
16
16
|
this.status = null;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
(0, serialize_1.autoserializeAs)(Boolean),
|
|
20
|
-
__metadata("design:type", Boolean)
|
|
21
|
-
], SanityCheckWarmUpDto.prototype, "status", void 0);
|
|
22
|
-
SanityCheckWarmUpDto = __decorate([
|
|
23
|
-
serialize_1.serializable
|
|
24
|
-
], SanityCheckWarmUpDto);
|
|
25
|
-
return SanityCheckWarmUpDto;
|
|
26
|
-
}());
|
|
18
|
+
};
|
|
27
19
|
exports.SanityCheckWarmUpDto = SanityCheckWarmUpDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, serialize_1.autoserializeAs)(Boolean),
|
|
22
|
+
__metadata("design:type", Boolean)
|
|
23
|
+
], SanityCheckWarmUpDto.prototype, "status", void 0);
|
|
24
|
+
exports.SanityCheckWarmUpDto = SanityCheckWarmUpDto = __decorate([
|
|
25
|
+
serialize_1.serializable
|
|
26
|
+
], SanityCheckWarmUpDto);
|
|
28
27
|
//# sourceMappingURL=sanity-check-warm-up-dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanity-check-warm-up-dto.js","sourceRoot":"","sources":["../src/sanity-check-warm-up-dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"sanity-check-warm-up-dto.js","sourceRoot":"","sources":["../src/sanity-check-warm-up-dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4D;AAGrD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAA1B;QAC8B,WAAM,GAAY,IAAI,CAAC;IAC5D,CAAC;CAAA,CAAA;AAFY,oDAAoB;AACI;IAAhC,IAAA,2BAAe,EAAC,OAAO,CAAC;;oDAA+B;+BAD/C,oBAAoB;IADhC,wBAAY;GACA,oBAAoB,CAEhC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.deserialize = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const cerialize_1 = require("cerialize");
|
|
5
|
+
const serializable_1 = require("./serializable");
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
7
7
|
function deserialize(object, type) {
|
|
8
8
|
if (type) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deserialize.js","sourceRoot":"","sources":["../../src/serialize/deserialize.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"deserialize.js","sourceRoot":"","sources":["../../src/serialize/deserialize.ts"],"names":[],"mappings":";;;AAAA,yCAAwC;AAExC,iDAA8C;AAE9C,6EAA6E;AAC7E,SAAgB,WAAW,CAAI,MAAW,EAAE,IAAkB;IAC1D,IAAI,IAAI,EAAE;QACN,OAAO,IAAA,uBAAW,EAAC,MAAM,EAAE,IAAI,CAAC,CAAC;KACpC;IACD,OAAO,IAAA,uBAAW,EAAC,MAAM,EAAE,2BAAY,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;AACpE,CAAC;AALD,kCAKC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './deserialize';
|
|
2
|
-
export * from './serialize';
|
|
3
2
|
export * from './serializable';
|
|
3
|
+
export * from './serialize';
|
|
4
|
+
export * from './serialize-helper';
|
|
4
5
|
export * from './type-helper';
|
|
5
6
|
export { autoserialize, autoserializeAs, inheritSerialization } from 'cerialize';
|
package/dist/serialize/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -12,8 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
12
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
17
|
exports.inheritSerialization = exports.autoserializeAs = exports.autoserialize = void 0;
|
|
14
18
|
__exportStar(require("./deserialize"), exports);
|
|
15
|
-
__exportStar(require("./serialize"), exports);
|
|
16
19
|
__exportStar(require("./serializable"), exports);
|
|
20
|
+
__exportStar(require("./serialize"), exports);
|
|
21
|
+
__exportStar(require("./serialize-helper"), exports);
|
|
17
22
|
__exportStar(require("./type-helper"), exports);
|
|
18
23
|
var cerialize_1 = require("cerialize");
|
|
19
24
|
Object.defineProperty(exports, "autoserialize", { enumerable: true, get: function () { return cerialize_1.autoserialize; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/serialize/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/serialize/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,iDAA+B;AAC/B,8CAA4B;AAC5B,qDAAmC;AACnC,gDAA8B;AAE9B,uCAAiF;AAAxE,0GAAA,aAAa,OAAA;AAAE,4GAAA,eAAe,OAAA;AAAE,iHAAA,oBAAoB,OAAA"}
|
|
@@ -3,6 +3,6 @@ export declare namespace serializable {
|
|
|
3
3
|
function register<T extends SerializableObject>(type: new (...args: any[]) => T): void;
|
|
4
4
|
function getConstructor<T extends SerializableObject>(object: T): new () => T;
|
|
5
5
|
interface SerializableObject {
|
|
6
|
-
_type
|
|
6
|
+
_type?: string;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -6,7 +6,7 @@ function serializable(type) {
|
|
|
6
6
|
}
|
|
7
7
|
exports.serializable = serializable;
|
|
8
8
|
(function (serializable) {
|
|
9
|
-
|
|
9
|
+
const types = new Map();
|
|
10
10
|
function register(type) {
|
|
11
11
|
types.set(new type()._type, type);
|
|
12
12
|
}
|
|
@@ -16,14 +16,14 @@ exports.serializable = serializable;
|
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
18
|
if (!object._type) {
|
|
19
|
-
throw new Error(
|
|
19
|
+
throw new Error(`SerializeHelper: property _type is missing in ${JSON.stringify(object)}`);
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
const type = types.get(object._type);
|
|
22
22
|
if (!type) {
|
|
23
|
-
throw new Error(
|
|
23
|
+
throw new Error(`SerializeHelper: no type registered for ${object._type}`);
|
|
24
24
|
}
|
|
25
25
|
return type;
|
|
26
26
|
}
|
|
27
27
|
serializable.getConstructor = getConstructor;
|
|
28
|
-
})(serializable
|
|
28
|
+
})(serializable || (exports.serializable = serializable = {}));
|
|
29
29
|
//# sourceMappingURL=serializable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializable.js","sourceRoot":"","sources":["../../src/serialize/serializable.ts"],"names":[],"mappings":";;;AAAA,SAAgB,YAAY,CAAI,IAA+B;IAC3D,YAAY,CAAC,QAAQ,CAAC,IAAW,CAAC,CAAC;AACvC,CAAC;AAFD,oCAEC;AAED,WAAiB,YAAY;IAEzB,
|
|
1
|
+
{"version":3,"file":"serializable.js","sourceRoot":"","sources":["../../src/serialize/serializable.ts"],"names":[],"mappings":";;;AAAA,SAAgB,YAAY,CAAI,IAA+B;IAC3D,YAAY,CAAC,QAAQ,CAAC,IAAW,CAAC,CAAC;AACvC,CAAC;AAFD,oCAEC;AAED,WAAiB,YAAY;IAEzB,MAAM,KAAK,GAAG,IAAI,GAAG,EAAyB,CAAC;IAE/C,SAAgB,QAAQ,CAA+B,IAA+B;QAClF,KAAK,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IAFe,qBAAQ,WAEvB,CAAA;IAED,SAAgB,cAAc,CAA+B,MAAS;QAClE,IAAI,CAAC,MAAM,EAAE;YACT,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,iDAAiD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;SAC9F;QACD,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,IAAI,CAAC,IAAI,EAAE;YACP,MAAM,IAAI,KAAK,CAAC,2CAA2C,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;SAC9E;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAZe,2BAAc,iBAY7B,CAAA;AAKL,CAAC,EAzBgB,YAAY,4BAAZ,YAAY,QAyB5B"}
|