@we-scrum/enums 1.0.64 → 1.0.66
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/communication-channel-enum.js +3 -3
- package/dist/communication-channel-enum.js.map +1 -1
- package/dist/content-type-enum.js +3 -3
- package/dist/content-type-enum.js.map +1 -1
- package/dist/crafting-master-enum.js +7 -27
- package/dist/crafting-master-enum.js.map +1 -1
- package/dist/crafting-master-synchrnization-status-enum.js +3 -3
- package/dist/crafting-master-synchrnization-status-enum.js.map +1 -1
- package/dist/environment-category-enum.js +11 -31
- package/dist/environment-category-enum.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/log-metadata-type-enum.js +9 -29
- package/dist/log-metadata-type-enum.js.map +1 -1
- package/dist/log-severity-level-enum.js +9 -29
- package/dist/log-severity-level-enum.js.map +1 -1
- package/dist/logging-system-enum.js +3 -3
- package/dist/logging-system-enum.js.map +1 -1
- package/dist/monitoring-alert-severity-level-enum.js +9 -29
- package/dist/monitoring-alert-severity-level-enum.js.map +1 -1
- package/dist/monitoring-alert-status-enum.d.ts +1 -1
- package/dist/monitoring-alert-status-enum.js +12 -37
- package/dist/monitoring-alert-status-enum.js.map +1 -1
- package/dist/object-property-type-enum.js +7 -27
- package/dist/object-property-type-enum.js.map +1 -1
- package/dist/operation-enum.js +3 -3
- package/dist/operation-enum.js.map +1 -1
- package/dist/progress-status-enum.d.ts +1 -0
- package/dist/progress-status-enum.js +10 -27
- package/dist/progress-status-enum.js.map +1 -1
- package/dist/queuing-system-enum.js +3 -3
- package/dist/queuing-system-enum.js.map +1 -1
- package/dist/route-method-enum.js +3 -3
- package/dist/route-method-enum.js.map +1 -1
- package/dist/route-query-param-type-enum.js +3 -3
- package/dist/route-query-param-type-enum.js.map +1 -1
- package/dist/search-result-type-enum.js +3 -3
- package/dist/search-result-type-enum.js.map +1 -1
- package/dist/story-status-enum.js +3 -3
- package/dist/story-status-enum.js.map +1 -1
- package/dist/user-role-enum.js +3 -3
- package/dist/user-role-enum.js.map +1 -1
- package/package.json +5 -5
- package/src/monitoring-alert-status-enum.ts +2 -7
- package/src/progress-status-enum.ts +4 -0
- package/tsconfig.json +7 -10
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CommunicationChannel = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var CommunicationChannel;
|
|
6
6
|
(function (CommunicationChannel) {
|
|
7
7
|
CommunicationChannel["None"] = "None";
|
|
8
8
|
CommunicationChannel["GoogleChat"] = "GoogleChat";
|
|
9
|
-
})(CommunicationChannel
|
|
9
|
+
})(CommunicationChannel || (exports.CommunicationChannel = CommunicationChannel = {}));
|
|
10
10
|
(function (CommunicationChannel) {
|
|
11
11
|
CommunicationChannel.helper = new core_1.EnumHelper('CommunicationChannel', [
|
|
12
12
|
CommunicationChannel.None,
|
|
13
13
|
CommunicationChannel.GoogleChat,
|
|
14
14
|
]);
|
|
15
|
-
})(CommunicationChannel
|
|
15
|
+
})(CommunicationChannel || (exports.CommunicationChannel = CommunicationChannel = {}));
|
|
16
16
|
//# sourceMappingURL=communication-channel-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"communication-channel-enum.js","sourceRoot":"","sources":["../src/communication-channel-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"communication-channel-enum.js","sourceRoot":"","sources":["../src/communication-channel-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC5B,qCAAa,CAAA;IACb,iDAAyB,CAAA;AAC7B,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B;AAED,WAAiB,oBAAoB;IACpB,2BAAM,GAAG,IAAI,iBAAU,CAAC,sBAAsB,EAAE;QACzD,oBAAoB,CAAC,IAAI;QACzB,oBAAoB,CAAC,UAAU;KAClC,CAAC,CAAC;AACP,CAAC,EALgB,oBAAoB,oCAApB,oBAAoB,QAKpC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ContentType = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var ContentType;
|
|
6
6
|
(function (ContentType) {
|
|
7
7
|
ContentType["MarkDown"] = "MarkDown";
|
|
8
8
|
ContentType["Html"] = "Html";
|
|
9
9
|
ContentType["Xml"] = "Xml";
|
|
10
10
|
ContentType["Json"] = "Json";
|
|
11
|
-
})(ContentType
|
|
11
|
+
})(ContentType || (exports.ContentType = ContentType = {}));
|
|
12
12
|
(function (ContentType) {
|
|
13
13
|
ContentType.helper = new core_1.EnumHelper('ContentType', [
|
|
14
14
|
ContentType.MarkDown,
|
|
@@ -16,5 +16,5 @@ var ContentType;
|
|
|
16
16
|
ContentType.Xml,
|
|
17
17
|
ContentType.Json,
|
|
18
18
|
]);
|
|
19
|
-
})(ContentType
|
|
19
|
+
})(ContentType || (exports.ContentType = ContentType = {}));
|
|
20
20
|
//# sourceMappingURL=content-type-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-type-enum.js","sourceRoot":"","sources":["../src/content-type-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"content-type-enum.js","sourceRoot":"","sources":["../src/content-type-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,oCAAqB,CAAA;IACrB,4BAAa,CAAA;IACb,0BAAW,CAAA;IACX,4BAAa,CAAA;AACjB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,WAAiB,WAAW;IACX,kBAAM,GAAG,IAAI,iBAAU,CAAC,aAAa,EAAE;QAChD,WAAW,CAAC,QAAQ;QACpB,WAAW,CAAC,IAAI;QAChB,WAAW,CAAC,GAAG;QACf,WAAW,CAAC,IAAI;KACnB,CAAC,CAAC;AACP,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B"}
|
|
@@ -1,33 +1,14 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.CraftingMaster = void 0;
|
|
19
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
20
5
|
var CraftingMaster;
|
|
21
6
|
(function (CraftingMaster) {
|
|
22
7
|
CraftingMaster["WeScrum"] = "WeScrum";
|
|
23
8
|
CraftingMaster["AzureDevOps"] = "AzureDevOps";
|
|
24
|
-
})(CraftingMaster
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
function CraftingMasterHelper() {
|
|
28
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
-
}
|
|
30
|
-
CraftingMasterHelper.prototype.getAvatar = function (craftingMaster) {
|
|
9
|
+
})(CraftingMaster || (exports.CraftingMaster = CraftingMaster = {}));
|
|
10
|
+
class CraftingMasterHelper extends core_1.EnumHelper {
|
|
11
|
+
getAvatar(craftingMaster) {
|
|
31
12
|
switch (craftingMaster) {
|
|
32
13
|
case CraftingMaster.WeScrum:
|
|
33
14
|
return 'https://we-scrum.com/apple-touch-icon.png';
|
|
@@ -36,13 +17,12 @@ var CraftingMasterHelper = /** @class */ (function (_super) {
|
|
|
36
17
|
default:
|
|
37
18
|
return 'help-rhombus-outline';
|
|
38
19
|
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
}(core_1.EnumHelper));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
42
22
|
(function (CraftingMaster) {
|
|
43
23
|
CraftingMaster.helper = new CraftingMasterHelper('CraftingMaster', [
|
|
44
24
|
CraftingMaster.WeScrum,
|
|
45
25
|
CraftingMaster.AzureDevOps
|
|
46
26
|
]);
|
|
47
|
-
})(CraftingMaster
|
|
27
|
+
})(CraftingMaster || (exports.CraftingMaster = CraftingMaster = {}));
|
|
48
28
|
//# sourceMappingURL=crafting-master-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crafting-master-enum.js","sourceRoot":"","sources":["../src/crafting-master-enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"crafting-master-enum.js","sourceRoot":"","sources":["../src/crafting-master-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,qCAAmB,CAAA;IACnB,6CAA2B,CAAA;AAC/B,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAED,MAAM,oBAAqB,SAAQ,iBAA0B;IAElD,SAAS,CAAC,cAA8B;QAC3C,QAAQ,cAAc,EAAE;YACpB,KAAK,cAAc,CAAC,OAAO;gBACvB,OAAO,2CAA2C,CAAC;YACvD,KAAK,cAAc,CAAC,WAAW;gBAC3B,OAAO,kDAAkD,CAAC;YAE9D;gBACI,OAAO,sBAAsB,CAAC;SACrC;IACL,CAAC;CACJ;AAED,WAAiB,cAAc;IACd,qBAAM,GAAG,IAAI,oBAAoB,CAAC,gBAAgB,EAAE;QAC7D,cAAc,CAAC,OAAO;QACtB,cAAc,CAAC,WAAW;KAC7B,CAAC,CAAC;AACP,CAAC,EALgB,cAAc,8BAAd,cAAc,QAK9B"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CraftingMasterSynchronizationStatus = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var CraftingMasterSynchronizationStatus;
|
|
6
6
|
(function (CraftingMasterSynchronizationStatus) {
|
|
7
7
|
CraftingMasterSynchronizationStatus["On"] = "On";
|
|
8
8
|
CraftingMasterSynchronizationStatus["Off"] = "Off";
|
|
9
9
|
CraftingMasterSynchronizationStatus["Pause"] = "Pause";
|
|
10
|
-
})(CraftingMasterSynchronizationStatus
|
|
10
|
+
})(CraftingMasterSynchronizationStatus || (exports.CraftingMasterSynchronizationStatus = CraftingMasterSynchronizationStatus = {}));
|
|
11
11
|
(function (CraftingMasterSynchronizationStatus) {
|
|
12
12
|
CraftingMasterSynchronizationStatus.helper = new core_1.EnumHelper('CraftingMasterSynchronizationStatus', [
|
|
13
13
|
CraftingMasterSynchronizationStatus.On,
|
|
14
14
|
CraftingMasterSynchronizationStatus.Off,
|
|
15
15
|
CraftingMasterSynchronizationStatus.Pause,
|
|
16
16
|
]);
|
|
17
|
-
})(CraftingMasterSynchronizationStatus
|
|
17
|
+
})(CraftingMasterSynchronizationStatus || (exports.CraftingMasterSynchronizationStatus = CraftingMasterSynchronizationStatus = {}));
|
|
18
18
|
//# sourceMappingURL=crafting-master-synchrnization-status-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crafting-master-synchrnization-status-enum.js","sourceRoot":"","sources":["../src/crafting-master-synchrnization-status-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"crafting-master-synchrnization-status-enum.js","sourceRoot":"","sources":["../src/crafting-master-synchrnization-status-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,mCAIX;AAJD,WAAY,mCAAmC;IAC3C,gDAAS,CAAA;IACT,kDAAW,CAAA;IACX,sDAAe,CAAA;AACnB,CAAC,EAJW,mCAAmC,mDAAnC,mCAAmC,QAI9C;AAED,WAAiB,mCAAmC;IACnC,0CAAM,GAAG,IAAI,iBAAU,CAAsC,qCAAqC,EAAE;QAC7G,mCAAmC,CAAC,EAAE;QACtC,mCAAmC,CAAC,GAAG;QACvC,mCAAmC,CAAC,KAAK;KAC5C,CAAC,CAAC;AACP,CAAC,EANgB,mCAAmC,mDAAnC,mCAAmC,QAMnD"}
|
|
@@ -1,34 +1,15 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.EnvironmentCategory = void 0;
|
|
19
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
20
5
|
var EnvironmentCategory;
|
|
21
6
|
(function (EnvironmentCategory) {
|
|
22
7
|
EnvironmentCategory["Development"] = "Development";
|
|
23
8
|
EnvironmentCategory["Staging"] = "Staging";
|
|
24
9
|
EnvironmentCategory["Production"] = "Production";
|
|
25
|
-
})(EnvironmentCategory
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
function EnvironmentCategoryHelper() {
|
|
29
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
-
}
|
|
31
|
-
EnvironmentCategoryHelper.prototype.getPriority = function (category) {
|
|
10
|
+
})(EnvironmentCategory || (exports.EnvironmentCategory = EnvironmentCategory = {}));
|
|
11
|
+
class EnvironmentCategoryHelper extends core_1.EnumHelper {
|
|
12
|
+
getPriority(category) {
|
|
32
13
|
switch (category) {
|
|
33
14
|
case EnvironmentCategory.Production:
|
|
34
15
|
return 1;
|
|
@@ -37,10 +18,10 @@ var EnvironmentCategoryHelper = /** @class */ (function (_super) {
|
|
|
37
18
|
case EnvironmentCategory.Development:
|
|
38
19
|
return 3;
|
|
39
20
|
default:
|
|
40
|
-
throw new Error(
|
|
21
|
+
throw new Error(`category ${category} not handled`);
|
|
41
22
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
23
|
+
}
|
|
24
|
+
getIcon(category) {
|
|
44
25
|
switch (category) {
|
|
45
26
|
case EnvironmentCategory.Production:
|
|
46
27
|
return 'shield-star-outline';
|
|
@@ -49,16 +30,15 @@ var EnvironmentCategoryHelper = /** @class */ (function (_super) {
|
|
|
49
30
|
case EnvironmentCategory.Development:
|
|
50
31
|
return 'code-tags';
|
|
51
32
|
default:
|
|
52
|
-
throw new Error(
|
|
33
|
+
throw new Error(`category ${category} not handled`);
|
|
53
34
|
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
}(core_1.EnumHelper));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
57
37
|
(function (EnvironmentCategory) {
|
|
58
38
|
EnvironmentCategory.helper = new EnvironmentCategoryHelper('EnvironmentCategory', [
|
|
59
39
|
EnvironmentCategory.Development,
|
|
60
40
|
EnvironmentCategory.Staging,
|
|
61
41
|
EnvironmentCategory.Production
|
|
62
42
|
]);
|
|
63
|
-
})(EnvironmentCategory
|
|
43
|
+
})(EnvironmentCategory || (exports.EnvironmentCategory = EnvironmentCategory = {}));
|
|
64
44
|
//# sourceMappingURL=environment-category-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment-category-enum.js","sourceRoot":"","sources":["../src/environment-category-enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"environment-category-enum.js","sourceRoot":"","sources":["../src/environment-category-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,kDAA2B,CAAA;IAC3B,0CAAmB,CAAA;IACnB,gDAAyB,CAAA;AAC7B,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAED,MAAM,yBAA0B,SAAQ,iBAA+B;IAE5D,WAAW,CAAC,QAA6B;QAC5C,QAAQ,QAAQ,EAAE;YACd,KAAK,mBAAmB,CAAC,UAAU;gBAC/B,OAAO,CAAC,CAAC;YACb,KAAK,mBAAmB,CAAC,OAAO;gBAC5B,OAAO,CAAC,CAAC;YACb,KAAK,mBAAmB,CAAC,WAAW;gBAChC,OAAO,CAAC,CAAC;YAEb;gBACI,MAAM,IAAI,KAAK,CAAC,YAAY,QAAQ,cAAc,CAAC,CAAC;SAC3D;IACL,CAAC;IAEM,OAAO,CAAC,QAA6B;QACxC,QAAQ,QAAQ,EAAE;YACd,KAAK,mBAAmB,CAAC,UAAU;gBAC/B,OAAO,qBAAqB,CAAC;YACjC,KAAK,mBAAmB,CAAC,OAAO;gBAC5B,OAAO,iBAAiB,CAAC;YAC7B,KAAK,mBAAmB,CAAC,WAAW;gBAChC,OAAO,WAAW,CAAC;YAEvB;gBACI,MAAM,IAAI,KAAK,CAAC,YAAY,QAAQ,cAAc,CAAC,CAAC;SAC3D;IACL,CAAC;CACJ;AAED,WAAiB,mBAAmB;IACnB,0BAAM,GAAG,IAAI,yBAAyB,CAAC,qBAAqB,EAAE;QACvE,mBAAmB,CAAC,WAAW;QAC/B,mBAAmB,CAAC,OAAO;QAC3B,mBAAmB,CAAC,UAAU;KACjC,CAAC,CAAC;AACP,CAAC,EANgB,mBAAmB,mCAAnB,mBAAmB,QAMnC"}
|
package/dist/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];
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,sDAAoC;AACpC,yDAAuC;AACvC,+EAA6D;AAC7D,8DAA4C;AAC5C,2DAAyC;AACzC,4DAA0C;AAC1C,wDAAsC;AACtC,yEAAuD;AACvD,iEAA+C;AAC/C,8DAA4C;AAC5C,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,sDAAoC;AACpC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,mDAAiC"}
|
|
@@ -1,22 +1,7 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.LogMetadataType = void 0;
|
|
19
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
20
5
|
var LogMetadataType;
|
|
21
6
|
(function (LogMetadataType) {
|
|
22
7
|
LogMetadataType["SQL"] = "SQL";
|
|
@@ -26,13 +11,9 @@ var LogMetadataType;
|
|
|
26
11
|
LogMetadataType["Informations"] = "Informations";
|
|
27
12
|
LogMetadataType["Warnings"] = "Warnings";
|
|
28
13
|
LogMetadataType["Exception"] = "Exception";
|
|
29
|
-
})(LogMetadataType
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function LogMetadataTypeHelper() {
|
|
33
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
34
|
-
}
|
|
35
|
-
LogMetadataTypeHelper.prototype.getIcon = function (type) {
|
|
14
|
+
})(LogMetadataType || (exports.LogMetadataType = LogMetadataType = {}));
|
|
15
|
+
class LogMetadataTypeHelper extends core_1.EnumHelper {
|
|
16
|
+
getIcon(type) {
|
|
36
17
|
switch (type) {
|
|
37
18
|
case LogMetadataType.SQL:
|
|
38
19
|
return 'database-search-outline';
|
|
@@ -50,8 +31,8 @@ var LogMetadataTypeHelper = /** @class */ (function (_super) {
|
|
|
50
31
|
default:
|
|
51
32
|
return 'help-circle-outline';
|
|
52
33
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
34
|
+
}
|
|
35
|
+
getIconColor(type) {
|
|
55
36
|
switch (type) {
|
|
56
37
|
case LogMetadataType.Exception:
|
|
57
38
|
return 'danger';
|
|
@@ -62,14 +43,13 @@ var LogMetadataTypeHelper = /** @class */ (function (_super) {
|
|
|
62
43
|
default:
|
|
63
44
|
return 'default';
|
|
64
45
|
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
}(core_1.EnumHelper));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
68
48
|
(function (LogMetadataType) {
|
|
69
49
|
LogMetadataType.helper = new LogMetadataTypeHelper('LogMetadataType', [
|
|
70
50
|
LogMetadataType.SQL,
|
|
71
51
|
LogMetadataType.Command,
|
|
72
52
|
LogMetadataType.Event
|
|
73
53
|
]);
|
|
74
|
-
})(LogMetadataType
|
|
54
|
+
})(LogMetadataType || (exports.LogMetadataType = LogMetadataType = {}));
|
|
75
55
|
//# sourceMappingURL=log-metadata-type-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-metadata-type-enum.js","sourceRoot":"","sources":["../src/log-metadata-type-enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"log-metadata-type-enum.js","sourceRoot":"","sources":["../src/log-metadata-type-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,eAQX;AARD,WAAY,eAAe;IACvB,8BAAW,CAAA;IACX,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,oCAAiB,CAAA;IACjB,gDAA6B,CAAA;IAC7B,wCAAqB,CAAA;IACrB,0CAAuB,CAAA;AAC3B,CAAC,EARW,eAAe,+BAAf,eAAe,QAQ1B;AAED,MAAM,qBAAsB,SAAQ,iBAA2B;IACpD,OAAO,CAAC,IAAqB;QAChC,QAAQ,IAAI,EAAE;YACV,KAAK,eAAe,CAAC,GAAG;gBACpB,OAAO,yBAAyB,CAAC;YAErC,KAAK,eAAe,CAAC,OAAO,CAAC;YAC7B,KAAK,eAAe,CAAC,KAAK;gBACtB,OAAO,WAAW,CAAC;YAEvB,KAAK,eAAe,CAAC,MAAM;gBACvB,OAAO,eAAe,CAAC;YAE3B,KAAK,eAAe,CAAC,YAAY;gBAC7B,OAAO,qBAAqB,CAAC;YAEjC,KAAK,eAAe,CAAC,QAAQ;gBACzB,OAAO,eAAe,CAAC;YAE3B,KAAK,eAAe,CAAC,SAAS;gBAC1B,OAAO,OAAO,CAAC;YAEnB;gBACI,OAAO,qBAAqB,CAAC;SACpC;IACL,CAAC;IAEM,YAAY,CAAC,IAAqB;QACrC,QAAQ,IAAI,EAAE;YACV,KAAK,eAAe,CAAC,SAAS;gBAC1B,OAAO,QAAQ,CAAC;YAEpB,KAAK,eAAe,CAAC,QAAQ;gBACzB,OAAO,SAAS,CAAC;YAErB,KAAK,eAAe,CAAC,YAAY;gBAC7B,OAAO,MAAM,CAAC;YAElB;gBACI,OAAO,SAAS,CAAC;SACxB;IACL,CAAC;CACJ;AAED,WAAiB,eAAe;IACf,sBAAM,GAAG,IAAI,qBAAqB,CAAC,iBAAiB,EAAE;QAC/D,eAAe,CAAC,GAAG;QACnB,eAAe,CAAC,OAAO;QACvB,eAAe,CAAC,KAAK;KACxB,CAAC,CAAC;AACP,CAAC,EANgB,eAAe,+BAAf,eAAe,QAM/B"}
|
|
@@ -1,22 +1,7 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.LogSeverityLevel = void 0;
|
|
19
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
20
5
|
var LogSeverityLevel;
|
|
21
6
|
(function (LogSeverityLevel) {
|
|
22
7
|
LogSeverityLevel[LogSeverityLevel["Debug"] = 0] = "Debug";
|
|
@@ -24,13 +9,9 @@ var LogSeverityLevel;
|
|
|
24
9
|
LogSeverityLevel[LogSeverityLevel["Warning"] = 2] = "Warning";
|
|
25
10
|
LogSeverityLevel[LogSeverityLevel["Error"] = 3] = "Error";
|
|
26
11
|
LogSeverityLevel[LogSeverityLevel["Critical"] = 4] = "Critical";
|
|
27
|
-
})(LogSeverityLevel
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
function LogSeverityLevelHelper() {
|
|
31
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
32
|
-
}
|
|
33
|
-
LogSeverityLevelHelper.prototype.getLabel = function (status) {
|
|
12
|
+
})(LogSeverityLevel || (exports.LogSeverityLevel = LogSeverityLevel = {}));
|
|
13
|
+
class LogSeverityLevelHelper extends core_1.EnumHelper {
|
|
14
|
+
getLabel(status) {
|
|
34
15
|
switch (status) {
|
|
35
16
|
case LogSeverityLevel.Debug: return 'Debug';
|
|
36
17
|
case LogSeverityLevel.Information: return 'Information';
|
|
@@ -39,8 +20,8 @@ var LogSeverityLevelHelper = /** @class */ (function (_super) {
|
|
|
39
20
|
case LogSeverityLevel.Critical: return 'Critical';
|
|
40
21
|
default: return 'No name...';
|
|
41
22
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
23
|
+
}
|
|
24
|
+
getIcon(status) {
|
|
44
25
|
switch (status) {
|
|
45
26
|
case LogSeverityLevel.Debug: return 'bug-outline';
|
|
46
27
|
case LogSeverityLevel.Information: return 'information-outline';
|
|
@@ -49,9 +30,8 @@ var LogSeverityLevelHelper = /** @class */ (function (_super) {
|
|
|
49
30
|
case LogSeverityLevel.Critical: return 'fire-alert';
|
|
50
31
|
default: return 'No name...';
|
|
51
32
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
}(core_1.EnumHelper));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
55
35
|
(function (LogSeverityLevel) {
|
|
56
36
|
LogSeverityLevel.helper = new LogSeverityLevelHelper('LogSeverityLevel', [
|
|
57
37
|
LogSeverityLevel.Debug,
|
|
@@ -60,5 +40,5 @@ var LogSeverityLevelHelper = /** @class */ (function (_super) {
|
|
|
60
40
|
LogSeverityLevel.Error,
|
|
61
41
|
LogSeverityLevel.Critical,
|
|
62
42
|
]);
|
|
63
|
-
})(LogSeverityLevel
|
|
43
|
+
})(LogSeverityLevel || (exports.LogSeverityLevel = LogSeverityLevel = {}));
|
|
64
44
|
//# sourceMappingURL=log-severity-level-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-severity-level-enum.js","sourceRoot":"","sources":["../src/log-severity-level-enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"log-severity-level-enum.js","sourceRoot":"","sources":["../src/log-severity-level-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,yDAAS,CAAA;IACT,qEAAe,CAAA;IACf,6DAAW,CAAA;IACX,yDAAS,CAAA;IACT,+DAAY,CAAA;AAChB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED,MAAM,sBAAuB,SAAQ,iBAA4B;IAEtD,QAAQ,CAAC,MAAwB;QACpC,QAAQ,MAAM,EAAE;YACZ,KAAK,gBAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,OAAO,CAAC;YAC5C,KAAK,gBAAgB,CAAC,WAAW,CAAC,CAAC,OAAO,aAAa,CAAC;YACxD,KAAK,gBAAgB,CAAC,OAAO,CAAC,CAAC,OAAO,SAAS,CAAC;YAChD,KAAK,gBAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,OAAO,CAAC;YAC5C,KAAK,gBAAgB,CAAC,QAAQ,CAAC,CAAC,OAAO,UAAU,CAAC;YAClD,OAAO,CAAC,CAAC,OAAO,YAAY,CAAC;SAChC;IACL,CAAC;IAEM,OAAO,CAAC,MAAwB;QACnC,QAAQ,MAAM,EAAE;YACZ,KAAK,gBAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,aAAa,CAAC;YAClD,KAAK,gBAAgB,CAAC,WAAW,CAAC,CAAC,OAAO,qBAAqB,CAAC;YAChE,KAAK,gBAAgB,CAAC,OAAO,CAAC,CAAC,OAAO,eAAe,CAAC;YACtD,KAAK,gBAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,eAAe,CAAC;YACpD,KAAK,gBAAgB,CAAC,QAAQ,CAAC,CAAC,OAAO,YAAY,CAAC;YACpD,OAAO,CAAC,CAAC,OAAO,YAAY,CAAC;SAChC;IACL,CAAC;CACJ;AAED,WAAiB,gBAAgB;IAChB,uBAAM,GAAG,IAAI,sBAAsB,CAAC,kBAAkB,EAAE;QACjE,gBAAgB,CAAC,KAAK;QACtB,gBAAgB,CAAC,WAAW;QAC5B,gBAAgB,CAAC,OAAO;QACxB,gBAAgB,CAAC,KAAK;QACtB,gBAAgB,CAAC,QAAQ;KAC5B,CAAC,CAAC;AACP,CAAC,EARgB,gBAAgB,gCAAhB,gBAAgB,QAQhC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LoggingSystem = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var LoggingSystem;
|
|
6
6
|
(function (LoggingSystem) {
|
|
7
7
|
LoggingSystem["None"] = "None";
|
|
8
8
|
LoggingSystem["AzureApplicationInsights"] = "AzureApplicationInsights";
|
|
9
|
-
})(LoggingSystem
|
|
9
|
+
})(LoggingSystem || (exports.LoggingSystem = LoggingSystem = {}));
|
|
10
10
|
(function (LoggingSystem) {
|
|
11
11
|
LoggingSystem.helper = new core_1.EnumHelper('LoggingSystem', [
|
|
12
12
|
LoggingSystem.None,
|
|
13
13
|
LoggingSystem.AzureApplicationInsights,
|
|
14
14
|
]);
|
|
15
|
-
})(LoggingSystem
|
|
15
|
+
})(LoggingSystem || (exports.LoggingSystem = LoggingSystem = {}));
|
|
16
16
|
//# sourceMappingURL=logging-system-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logging-system-enum.js","sourceRoot":"","sources":["../src/logging-system-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"logging-system-enum.js","sourceRoot":"","sources":["../src/logging-system-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,sEAAqD,CAAA;AACzD,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,WAAiB,aAAa;IACb,oBAAM,GAAG,IAAI,iBAAU,CAAC,eAAe,EAAE;QAClD,aAAa,CAAC,IAAI;QAClB,aAAa,CAAC,wBAAwB;KACzC,CAAC,CAAC;AACP,CAAC,EALgB,aAAa,6BAAb,aAAa,QAK7B"}
|
|
@@ -1,33 +1,14 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.MonitoringAlertSeverityLevel = void 0;
|
|
19
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
20
5
|
var MonitoringAlertSeverityLevel;
|
|
21
6
|
(function (MonitoringAlertSeverityLevel) {
|
|
22
7
|
MonitoringAlertSeverityLevel["Warning"] = "Warning";
|
|
23
8
|
MonitoringAlertSeverityLevel["Error"] = "Error";
|
|
24
|
-
})(MonitoringAlertSeverityLevel
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
function MonitoringAlertSeverityLevelHelper() {
|
|
28
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
-
}
|
|
30
|
-
MonitoringAlertSeverityLevelHelper.prototype.getIcon = function (value) {
|
|
9
|
+
})(MonitoringAlertSeverityLevel || (exports.MonitoringAlertSeverityLevel = MonitoringAlertSeverityLevel = {}));
|
|
10
|
+
class MonitoringAlertSeverityLevelHelper extends core_1.EnumHelper {
|
|
11
|
+
getIcon(value) {
|
|
31
12
|
switch (value) {
|
|
32
13
|
case MonitoringAlertSeverityLevel.Warning:
|
|
33
14
|
return 'alert-outline';
|
|
@@ -36,8 +17,8 @@ var MonitoringAlertSeverityLevelHelper = /** @class */ (function (_super) {
|
|
|
36
17
|
default:
|
|
37
18
|
return 'help';
|
|
38
19
|
}
|
|
39
|
-
}
|
|
40
|
-
|
|
20
|
+
}
|
|
21
|
+
getColor(value) {
|
|
41
22
|
switch (value) {
|
|
42
23
|
case MonitoringAlertSeverityLevel.Warning:
|
|
43
24
|
return 'warning';
|
|
@@ -46,13 +27,12 @@ var MonitoringAlertSeverityLevelHelper = /** @class */ (function (_super) {
|
|
|
46
27
|
default:
|
|
47
28
|
return 'info';
|
|
48
29
|
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
}(core_1.EnumHelper));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
52
32
|
(function (MonitoringAlertSeverityLevel) {
|
|
53
33
|
MonitoringAlertSeverityLevel.helper = new MonitoringAlertSeverityLevelHelper('MonitoringAlertSeverityLevel', [
|
|
54
34
|
MonitoringAlertSeverityLevel.Warning,
|
|
55
35
|
MonitoringAlertSeverityLevel.Error
|
|
56
36
|
]);
|
|
57
|
-
})(MonitoringAlertSeverityLevel
|
|
37
|
+
})(MonitoringAlertSeverityLevel || (exports.MonitoringAlertSeverityLevel = MonitoringAlertSeverityLevel = {}));
|
|
58
38
|
//# sourceMappingURL=monitoring-alert-severity-level-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitoring-alert-severity-level-enum.js","sourceRoot":"","sources":["../src/monitoring-alert-severity-level-enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"monitoring-alert-severity-level-enum.js","sourceRoot":"","sources":["../src/monitoring-alert-severity-level-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACpC,mDAAmB,CAAA;IACnB,+CAAe,CAAA;AACnB,CAAC,EAHW,4BAA4B,4CAA5B,4BAA4B,QAGvC;AAED,MAAM,kCAAmC,SAAQ,iBAAwC;IAC9E,OAAO,CAAC,KAAmC;QAC9C,QAAQ,KAAK,EAAE;YACX,KAAK,4BAA4B,CAAC,OAAO;gBACrC,OAAO,eAAe,CAAC;YAC3B,KAAK,4BAA4B,CAAC,KAAK;gBACnC,OAAO,OAAO,CAAC;YACnB;gBACI,OAAO,MAAM,CAAC;SACrB;IACL,CAAC;IAEM,QAAQ,CAAC,KAAmC;QAC/C,QAAQ,KAAK,EAAE;YACX,KAAK,4BAA4B,CAAC,OAAO;gBACrC,OAAO,SAAS,CAAC;YACrB,KAAK,4BAA4B,CAAC,KAAK;gBACnC,OAAO,QAAQ,CAAC;YACpB;gBACI,OAAO,MAAM,CAAC;SACrB;IACL,CAAC;CACJ;AAED,WAAiB,4BAA4B;IAC5B,mCAAM,GAAG,IAAI,kCAAkC,CAAC,8BAA8B,EAAE;QACzF,4BAA4B,CAAC,OAAO;QACpC,4BAA4B,CAAC,KAAK;KACrC,CAAC,CAAC;AACP,CAAC,EALgB,4BAA4B,4CAA5B,4BAA4B,QAK5C"}
|
|
@@ -5,7 +5,7 @@ export declare enum MonitoringAlertStatus {
|
|
|
5
5
|
}
|
|
6
6
|
declare class MonitoringAlertStatusHelper extends EnumHelper<MonitoringAlertStatus> {
|
|
7
7
|
getPriority(value: MonitoringAlertStatus): number;
|
|
8
|
-
getIcon(value: MonitoringAlertStatus):
|
|
8
|
+
getIcon(value: MonitoringAlertStatus): "alert" | "check";
|
|
9
9
|
getColor(value: MonitoringAlertStatus): 'success' | 'warning' | 'danger' | 'info';
|
|
10
10
|
}
|
|
11
11
|
export declare namespace MonitoringAlertStatus {
|
|
@@ -1,33 +1,14 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.MonitoringAlertStatus = void 0;
|
|
19
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
20
5
|
var MonitoringAlertStatus;
|
|
21
6
|
(function (MonitoringAlertStatus) {
|
|
22
7
|
MonitoringAlertStatus["Active"] = "Active";
|
|
23
8
|
MonitoringAlertStatus["Resolved"] = "Resolved";
|
|
24
|
-
})(MonitoringAlertStatus
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
function MonitoringAlertStatusHelper() {
|
|
28
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
-
}
|
|
30
|
-
MonitoringAlertStatusHelper.prototype.getPriority = function (value) {
|
|
9
|
+
})(MonitoringAlertStatus || (exports.MonitoringAlertStatus = MonitoringAlertStatus = {}));
|
|
10
|
+
class MonitoringAlertStatusHelper extends core_1.EnumHelper {
|
|
11
|
+
getPriority(value) {
|
|
31
12
|
switch (value) {
|
|
32
13
|
case MonitoringAlertStatus.Active:
|
|
33
14
|
return 1;
|
|
@@ -36,16 +17,11 @@ var MonitoringAlertStatusHelper = /** @class */ (function (_super) {
|
|
|
36
17
|
default:
|
|
37
18
|
return 0;
|
|
38
19
|
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
default:
|
|
45
|
-
return 'check';
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
MonitoringAlertStatusHelper.prototype.getColor = function (value) {
|
|
20
|
+
}
|
|
21
|
+
getIcon(value) {
|
|
22
|
+
return value === MonitoringAlertStatus.Active ? 'alert' : 'check';
|
|
23
|
+
}
|
|
24
|
+
getColor(value) {
|
|
49
25
|
switch (value) {
|
|
50
26
|
case MonitoringAlertStatus.Active:
|
|
51
27
|
return 'danger';
|
|
@@ -54,13 +30,12 @@ var MonitoringAlertStatusHelper = /** @class */ (function (_super) {
|
|
|
54
30
|
default:
|
|
55
31
|
return 'info';
|
|
56
32
|
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}(core_1.EnumHelper));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
60
35
|
(function (MonitoringAlertStatus) {
|
|
61
36
|
MonitoringAlertStatus.helper = new MonitoringAlertStatusHelper('MonitoringAlertStatus', [
|
|
62
37
|
MonitoringAlertStatus.Active,
|
|
63
38
|
MonitoringAlertStatus.Resolved
|
|
64
39
|
]);
|
|
65
|
-
})(MonitoringAlertStatus
|
|
40
|
+
})(MonitoringAlertStatus || (exports.MonitoringAlertStatus = MonitoringAlertStatus = {}));
|
|
66
41
|
//# sourceMappingURL=monitoring-alert-status-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitoring-alert-status-enum.js","sourceRoot":"","sources":["../src/monitoring-alert-status-enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"monitoring-alert-status-enum.js","sourceRoot":"","sources":["../src/monitoring-alert-status-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACzB,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC;AAED,MAAM,2BAA4B,SAAQ,iBAAiC;IAChE,WAAW,CAAC,KAA4B;QAC3C,QAAQ,KAAK,EAAE;YACX,KAAK,qBAAqB,CAAC,MAAM;gBAC7B,OAAO,CAAC,CAAC;YACb,KAAK,qBAAqB,CAAC,QAAQ;gBAC/B,OAAO,CAAC,CAAC;YAEb;gBACI,OAAO,CAAC,CAAC;SAChB;IACL,CAAC;IAEM,OAAO,CAAC,KAA4B;QACvC,OAAO,KAAK,KAAK,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IACtE,CAAC;IAEM,QAAQ,CAAC,KAA4B;QACxC,QAAQ,KAAK,EAAE;YACX,KAAK,qBAAqB,CAAC,MAAM;gBAC7B,OAAO,QAAQ,CAAC;YACpB,KAAK,qBAAqB,CAAC,QAAQ;gBAC/B,OAAO,SAAS,CAAC;YACrB;gBACI,OAAO,MAAM,CAAC;SACrB;IACL,CAAC;CACJ;AAED,WAAiB,qBAAqB;IACrB,4BAAM,GAAG,IAAI,2BAA2B,CAAC,uBAAuB,EAAE;QAC3E,qBAAqB,CAAC,MAAM;QAC5B,qBAAqB,CAAC,QAAQ;KACjC,CAAC,CAAC;AACP,CAAC,EALgB,qBAAqB,qCAArB,qBAAqB,QAKrC"}
|
|
@@ -1,22 +1,7 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.ObjectPropertyType = void 0;
|
|
19
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
20
5
|
var ObjectPropertyType;
|
|
21
6
|
(function (ObjectPropertyType) {
|
|
22
7
|
ObjectPropertyType["String"] = "String";
|
|
@@ -26,17 +11,12 @@ var ObjectPropertyType;
|
|
|
26
11
|
ObjectPropertyType["Enumeration"] = "Enumeration";
|
|
27
12
|
ObjectPropertyType["Object"] = "Object";
|
|
28
13
|
ObjectPropertyType["Any"] = "Any";
|
|
29
|
-
})(ObjectPropertyType
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function ObjectPropertyTypeHelper() {
|
|
33
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
34
|
-
}
|
|
35
|
-
ObjectPropertyTypeHelper.prototype.isPrimitive = function (value) {
|
|
14
|
+
})(ObjectPropertyType || (exports.ObjectPropertyType = ObjectPropertyType = {}));
|
|
15
|
+
class ObjectPropertyTypeHelper extends core_1.EnumHelper {
|
|
16
|
+
isPrimitive(value) {
|
|
36
17
|
return [ObjectPropertyType.String, ObjectPropertyType.Boolean, ObjectPropertyType.Any, ObjectPropertyType.Number].includes(value);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}(core_1.EnumHelper));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
40
20
|
(function (ObjectPropertyType) {
|
|
41
21
|
ObjectPropertyType.helper = new ObjectPropertyTypeHelper('ObjectPropertyType', [
|
|
42
22
|
ObjectPropertyType.String,
|
|
@@ -47,5 +27,5 @@ var ObjectPropertyTypeHelper = /** @class */ (function (_super) {
|
|
|
47
27
|
ObjectPropertyType.Object,
|
|
48
28
|
ObjectPropertyType.Any
|
|
49
29
|
]);
|
|
50
|
-
})(ObjectPropertyType
|
|
30
|
+
})(ObjectPropertyType || (exports.ObjectPropertyType = ObjectPropertyType = {}));
|
|
51
31
|
//# sourceMappingURL=object-property-type-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object-property-type-enum.js","sourceRoot":"","sources":["../src/object-property-type-enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"object-property-type-enum.js","sourceRoot":"","sources":["../src/object-property-type-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC1B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;IACnB,mCAAa,CAAA;IACb,iDAA2B,CAAA;IAC3B,uCAAiB,CAAA;IACjB,iCAAW,CAAA;AACf,CAAC,EARW,kBAAkB,kCAAlB,kBAAkB,QAQ7B;AAED,MAAM,wBAAyB,SAAQ,iBAA8B;IAC1D,WAAW,CAAC,KAAyB;QACxC,OAAO,CAAC,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtI,CAAC;CACJ;AAED,WAAiB,kBAAkB;IAClB,yBAAM,GAAG,IAAI,wBAAwB,CAAC,oBAAoB,EAAE;QACrE,kBAAkB,CAAC,MAAM;QACzB,kBAAkB,CAAC,MAAM;QACzB,kBAAkB,CAAC,OAAO;QAC1B,kBAAkB,CAAC,IAAI;QACvB,kBAAkB,CAAC,WAAW;QAC9B,kBAAkB,CAAC,MAAM;QACzB,kBAAkB,CAAC,GAAG;KACzB,CAAC,CAAC;AACP,CAAC,EAVgB,kBAAkB,kCAAlB,kBAAkB,QAUlC"}
|
package/dist/operation-enum.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Operation = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var Operation;
|
|
6
6
|
(function (Operation) {
|
|
7
7
|
Operation["Create"] = "Create";
|
|
8
8
|
Operation["Update"] = "Update";
|
|
9
9
|
Operation["Delete"] = "Delete";
|
|
10
|
-
})(Operation
|
|
10
|
+
})(Operation || (exports.Operation = Operation = {}));
|
|
11
11
|
(function (Operation) {
|
|
12
12
|
Operation.helper = new core_1.EnumHelper('Operation', [
|
|
13
13
|
Operation.Create,
|
|
14
14
|
Operation.Update,
|
|
15
15
|
Operation.Delete
|
|
16
16
|
]);
|
|
17
|
-
})(Operation
|
|
17
|
+
})(Operation || (exports.Operation = Operation = {}));
|
|
18
18
|
//# sourceMappingURL=operation-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-enum.js","sourceRoot":"","sources":["../src/operation-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"operation-enum.js","sourceRoot":"","sources":["../src/operation-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;AACrB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,WAAiB,SAAS;IACT,gBAAM,GAAG,IAAI,iBAAU,CAAC,WAAW,EAAE;QAC9C,SAAS,CAAC,MAAM;QAChB,SAAS,CAAC,MAAM;QAChB,SAAS,CAAC,MAAM;KACnB,CAAC,CAAC;AACP,CAAC,EANgB,SAAS,yBAAT,SAAS,QAMzB"}
|
|
@@ -6,6 +6,7 @@ export declare enum ProgressStatus {
|
|
|
6
6
|
}
|
|
7
7
|
declare class ProgressStatusHelper extends EnumHelper<ProgressStatus> {
|
|
8
8
|
getIcon(status: ProgressStatus): ProgressStatus.ProgressStatusIcon;
|
|
9
|
+
canUpdateAnalysis(analysisStatus: ProgressStatus): boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare namespace ProgressStatus {
|
|
11
12
|
type ProgressStatusIcon = 'timer-sand' | 'update' | 'check' | 'help-rhombus-outline';
|
|
@@ -1,34 +1,15 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.ProgressStatus = void 0;
|
|
19
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
20
5
|
var ProgressStatus;
|
|
21
6
|
(function (ProgressStatus) {
|
|
22
7
|
ProgressStatus["ToDo"] = "ToDo";
|
|
23
8
|
ProgressStatus["Doing"] = "Doing";
|
|
24
9
|
ProgressStatus["Done"] = "Done";
|
|
25
|
-
})(ProgressStatus
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
function ProgressStatusHelper() {
|
|
29
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
-
}
|
|
31
|
-
ProgressStatusHelper.prototype.getIcon = function (status) {
|
|
10
|
+
})(ProgressStatus || (exports.ProgressStatus = ProgressStatus = {}));
|
|
11
|
+
class ProgressStatusHelper extends core_1.EnumHelper {
|
|
12
|
+
getIcon(status) {
|
|
32
13
|
switch (status) {
|
|
33
14
|
case ProgressStatus.ToDo:
|
|
34
15
|
return 'timer-sand';
|
|
@@ -39,14 +20,16 @@ var ProgressStatusHelper = /** @class */ (function (_super) {
|
|
|
39
20
|
default:
|
|
40
21
|
return 'help-rhombus-outline';
|
|
41
22
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
23
|
+
}
|
|
24
|
+
canUpdateAnalysis(analysisStatus) {
|
|
25
|
+
return [ProgressStatus.Doing, ProgressStatus.ToDo].includes(analysisStatus);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
45
28
|
(function (ProgressStatus) {
|
|
46
29
|
ProgressStatus.helper = new ProgressStatusHelper('ProgressStatus', [
|
|
47
30
|
ProgressStatus.ToDo,
|
|
48
31
|
ProgressStatus.Doing,
|
|
49
32
|
ProgressStatus.Done
|
|
50
33
|
]);
|
|
51
|
-
})(ProgressStatus
|
|
34
|
+
})(ProgressStatus || (exports.ProgressStatus = ProgressStatus = {}));
|
|
52
35
|
//# sourceMappingURL=progress-status-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-status-enum.js","sourceRoot":"","sources":["../src/progress-status-enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"progress-status-enum.js","sourceRoot":"","sources":["../src/progress-status-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,+BAAa,CAAA;IACb,iCAAe,CAAA;IACf,+BAAa,CAAA;AACjB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,MAAM,oBAAqB,SAAQ,iBAA0B;IAElD,OAAO,CAAC,MAAsB;QACjC,QAAQ,MAAM,EAAE;YACZ,KAAK,cAAc,CAAC,IAAI;gBACpB,OAAO,YAAY,CAAC;YACxB,KAAK,cAAc,CAAC,KAAK;gBACrB,OAAO,QAAQ,CAAC;YACpB,KAAK,cAAc,CAAC,IAAI;gBACpB,OAAO,OAAO,CAAC;YAEnB;gBACI,OAAO,sBAAsB,CAAC;SACrC;IACL,CAAC;IAEM,iBAAiB,CAAC,cAA8B;QACnD,OAAO,CAAC,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IAChF,CAAC;CACJ;AAED,WAAiB,cAAc;IAEd,qBAAM,GAAG,IAAI,oBAAoB,CAAC,gBAAgB,EAAE;QAC7D,cAAc,CAAC,IAAI;QACnB,cAAc,CAAC,KAAK;QACpB,cAAc,CAAC,IAAI;KACtB,CAAC,CAAC;AACP,CAAC,EAPgB,cAAc,8BAAd,cAAc,QAO9B"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueuingSystem = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var QueuingSystem;
|
|
6
6
|
(function (QueuingSystem) {
|
|
7
7
|
QueuingSystem["None"] = "None";
|
|
8
8
|
QueuingSystem["AzureServiceBus"] = "AzureServiceBus";
|
|
9
|
-
})(QueuingSystem
|
|
9
|
+
})(QueuingSystem || (exports.QueuingSystem = QueuingSystem = {}));
|
|
10
10
|
(function (QueuingSystem) {
|
|
11
11
|
QueuingSystem.helper = new core_1.EnumHelper('QueuingSystem', [
|
|
12
12
|
QueuingSystem.None,
|
|
13
13
|
QueuingSystem.AzureServiceBus,
|
|
14
14
|
]);
|
|
15
|
-
})(QueuingSystem
|
|
15
|
+
})(QueuingSystem || (exports.QueuingSystem = QueuingSystem = {}));
|
|
16
16
|
//# sourceMappingURL=queuing-system-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queuing-system-enum.js","sourceRoot":"","sources":["../src/queuing-system-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"queuing-system-enum.js","sourceRoot":"","sources":["../src/queuing-system-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,oDAAmC,CAAA;AACvC,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,WAAiB,aAAa;IACb,oBAAM,GAAG,IAAI,iBAAU,CAAC,eAAe,EAAE;QAClD,aAAa,CAAC,IAAI;QAClB,aAAa,CAAC,eAAe;KAChC,CAAC,CAAC;AACP,CAAC,EALgB,aAAa,6BAAb,aAAa,QAK7B"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RouteMethod = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var RouteMethod;
|
|
6
6
|
(function (RouteMethod) {
|
|
7
7
|
RouteMethod["GET"] = "GET";
|
|
8
8
|
RouteMethod["POST"] = "POST";
|
|
9
|
-
})(RouteMethod
|
|
9
|
+
})(RouteMethod || (exports.RouteMethod = RouteMethod = {}));
|
|
10
10
|
(function (RouteMethod) {
|
|
11
11
|
RouteMethod.helper = new core_1.EnumHelper('RouteMethod', [
|
|
12
12
|
RouteMethod.GET,
|
|
13
13
|
RouteMethod.POST
|
|
14
14
|
]);
|
|
15
|
-
})(RouteMethod
|
|
15
|
+
})(RouteMethod || (exports.RouteMethod = RouteMethod = {}));
|
|
16
16
|
//# sourceMappingURL=route-method-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-method-enum.js","sourceRoot":"","sources":["../src/route-method-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"route-method-enum.js","sourceRoot":"","sources":["../src/route-method-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,0BAAW,CAAA;IACX,4BAAa,CAAA;AACjB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,WAAiB,WAAW;IACX,kBAAM,GAAG,IAAI,iBAAU,CAAC,aAAa,EAAE;QAChD,WAAW,CAAC,GAAG;QACf,WAAW,CAAC,IAAI;KACnB,CAAC,CAAC;AACP,CAAC,EALgB,WAAW,2BAAX,WAAW,QAK3B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RouteQueryParamType = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var RouteQueryParamType;
|
|
6
6
|
(function (RouteQueryParamType) {
|
|
7
7
|
RouteQueryParamType["String"] = "String";
|
|
@@ -9,7 +9,7 @@ var RouteQueryParamType;
|
|
|
9
9
|
RouteQueryParamType["Boolean"] = "Boolean";
|
|
10
10
|
RouteQueryParamType["Date"] = "Date";
|
|
11
11
|
RouteQueryParamType["Enumeration"] = "Enumeration";
|
|
12
|
-
})(RouteQueryParamType
|
|
12
|
+
})(RouteQueryParamType || (exports.RouteQueryParamType = RouteQueryParamType = {}));
|
|
13
13
|
(function (RouteQueryParamType) {
|
|
14
14
|
RouteQueryParamType.helper = new core_1.EnumHelper('RouteQueryParamType', [
|
|
15
15
|
RouteQueryParamType.String,
|
|
@@ -18,5 +18,5 @@ var RouteQueryParamType;
|
|
|
18
18
|
RouteQueryParamType.Date,
|
|
19
19
|
RouteQueryParamType.Enumeration
|
|
20
20
|
]);
|
|
21
|
-
})(RouteQueryParamType
|
|
21
|
+
})(RouteQueryParamType || (exports.RouteQueryParamType = RouteQueryParamType = {}));
|
|
22
22
|
//# sourceMappingURL=route-query-param-type-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-query-param-type-enum.js","sourceRoot":"","sources":["../src/route-query-param-type-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"route-query-param-type-enum.js","sourceRoot":"","sources":["../src/route-query-param-type-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,oCAAa,CAAA;IACb,kDAA2B,CAAA;AAC/B,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAED,WAAiB,mBAAmB;IACnB,0BAAM,GAAG,IAAI,iBAAU,CAAC,qBAAqB,EAAE;QACxD,mBAAmB,CAAC,MAAM;QAC1B,mBAAmB,CAAC,MAAM;QAC1B,mBAAmB,CAAC,OAAO;QAC3B,mBAAmB,CAAC,IAAI;QACxB,mBAAmB,CAAC,WAAW;KAClC,CAAC,CAAC;AACP,CAAC,EARgB,mBAAmB,mCAAnB,mBAAmB,QAQnC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SearchResultType = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var SearchResultType;
|
|
6
6
|
(function (SearchResultType) {
|
|
7
7
|
SearchResultType["Story"] = "Story";
|
|
@@ -9,7 +9,7 @@ var SearchResultType;
|
|
|
9
9
|
SearchResultType["Route"] = "Route";
|
|
10
10
|
SearchResultType["Enumeration"] = "Enumeration";
|
|
11
11
|
SearchResultType["RecentSearch"] = "RecentSearch";
|
|
12
|
-
})(SearchResultType
|
|
12
|
+
})(SearchResultType || (exports.SearchResultType = SearchResultType = {}));
|
|
13
13
|
(function (SearchResultType) {
|
|
14
14
|
SearchResultType.helper = new core_1.EnumHelper('SearchResultType', [
|
|
15
15
|
SearchResultType.Route,
|
|
@@ -18,5 +18,5 @@ var SearchResultType;
|
|
|
18
18
|
SearchResultType.Enumeration,
|
|
19
19
|
SearchResultType.RecentSearch
|
|
20
20
|
]);
|
|
21
|
-
})(SearchResultType
|
|
21
|
+
})(SearchResultType || (exports.SearchResultType = SearchResultType = {}));
|
|
22
22
|
//# sourceMappingURL=search-result-type-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-result-type-enum.js","sourceRoot":"","sources":["../src/search-result-type-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"search-result-type-enum.js","sourceRoot":"","sources":["../src/search-result-type-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,mCAAe,CAAA;IACf,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,+CAA2B,CAAA;IAC3B,iDAA6B,CAAA;AACjC,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED,WAAiB,gBAAgB;IAChB,uBAAM,GAAG,IAAI,iBAAU,CAAC,kBAAkB,EAAE;QACrD,gBAAgB,CAAC,KAAK;QACtB,gBAAgB,CAAC,KAAK;QACtB,gBAAgB,CAAC,MAAM;QACvB,gBAAgB,CAAC,WAAW;QAC5B,gBAAgB,CAAC,YAAY;KAChC,CAAC,CAAC;AACP,CAAC,EARgB,gBAAgB,gCAAhB,gBAAgB,QAQhC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StoryStatus = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var StoryStatus;
|
|
6
6
|
(function (StoryStatus) {
|
|
7
7
|
StoryStatus["Backlog"] = "Backlog";
|
|
@@ -9,7 +9,7 @@ var StoryStatus;
|
|
|
9
9
|
StoryStatus["Analysis"] = "Analysis";
|
|
10
10
|
StoryStatus["Development"] = "Development";
|
|
11
11
|
StoryStatus["Done"] = "Done";
|
|
12
|
-
})(StoryStatus
|
|
12
|
+
})(StoryStatus || (exports.StoryStatus = StoryStatus = {}));
|
|
13
13
|
(function (StoryStatus) {
|
|
14
14
|
StoryStatus.helper = new core_1.EnumHelper('StoryStatus', [
|
|
15
15
|
StoryStatus.Backlog,
|
|
@@ -18,5 +18,5 @@ var StoryStatus;
|
|
|
18
18
|
StoryStatus.Development,
|
|
19
19
|
StoryStatus.Done
|
|
20
20
|
]);
|
|
21
|
-
})(StoryStatus
|
|
21
|
+
})(StoryStatus || (exports.StoryStatus = StoryStatus = {}));
|
|
22
22
|
//# sourceMappingURL=story-status-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"story-status-enum.js","sourceRoot":"","sources":["../src/story-status-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"story-status-enum.js","sourceRoot":"","sources":["../src/story-status-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,0CAA2B,CAAA;IAC3B,4BAAa,CAAA;AACjB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAED,WAAiB,WAAW;IACX,kBAAM,GAAG,IAAI,iBAAU,CAAC,aAAa,EAAE;QAChD,WAAW,CAAC,OAAO;QACnB,WAAW,CAAC,QAAQ;QACpB,WAAW,CAAC,QAAQ;QACpB,WAAW,CAAC,WAAW;QACvB,WAAW,CAAC,IAAI;KACnB,CAAC,CAAC;AACP,CAAC,EARgB,WAAW,2BAAX,WAAW,QAQ3B"}
|
package/dist/user-role-enum.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserRole = void 0;
|
|
4
|
-
|
|
4
|
+
const core_1 = require("@my-devkit/core");
|
|
5
5
|
var UserRole;
|
|
6
6
|
(function (UserRole) {
|
|
7
7
|
UserRole["Owner"] = "Owner";
|
|
8
8
|
UserRole["Analyst"] = "Analyst";
|
|
9
9
|
UserRole["Developer"] = "Developer";
|
|
10
10
|
UserRole["ReadOnly"] = "ReadOnly";
|
|
11
|
-
})(UserRole
|
|
11
|
+
})(UserRole || (exports.UserRole = UserRole = {}));
|
|
12
12
|
(function (UserRole) {
|
|
13
13
|
UserRole.helper = new core_1.EnumHelper('UserRole', [
|
|
14
14
|
UserRole.Owner,
|
|
@@ -16,5 +16,5 @@ var UserRole;
|
|
|
16
16
|
UserRole.Developer,
|
|
17
17
|
UserRole.ReadOnly
|
|
18
18
|
]);
|
|
19
|
-
})(UserRole
|
|
19
|
+
})(UserRole || (exports.UserRole = UserRole = {}));
|
|
20
20
|
//# sourceMappingURL=user-role-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-role-enum.js","sourceRoot":"","sources":["../src/user-role-enum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"user-role-enum.js","sourceRoot":"","sources":["../src/user-role-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,QAKX;AALD,WAAY,QAAQ;IAChB,2BAAe,CAAA;IACf,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,iCAAqB,CAAA;AACzB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAED,WAAiB,QAAQ;IACR,eAAM,GAAG,IAAI,iBAAU,CAAC,UAAU,EAAE;QAC7C,QAAQ,CAAC,KAAK;QACd,QAAQ,CAAC,OAAO;QAChB,QAAQ,CAAC,SAAS;QAClB,QAAQ,CAAC,QAAQ;KACpB,CAAC,CAAC;AACP,CAAC,EAPgB,QAAQ,wBAAR,QAAQ,QAOxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@we-scrum/enums",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.66",
|
|
4
4
|
"description": "We-Scrum enums",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@my-devkit/core": "1.0.
|
|
18
|
+
"@my-devkit/core": "1.0.100"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@my-devkit/cli": "
|
|
22
|
-
"@my-devkit/core": "1.0.
|
|
23
|
-
"typescript": "
|
|
21
|
+
"@my-devkit/cli": "2.0.4",
|
|
22
|
+
"@my-devkit/core": "1.0.100",
|
|
23
|
+
"typescript": "5.2.2"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -18,13 +18,8 @@ class MonitoringAlertStatusHelper extends EnumHelper<MonitoringAlertStatus> {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
public getIcon(value: MonitoringAlertStatus)
|
|
22
|
-
|
|
23
|
-
case MonitoringAlertStatus.Active:
|
|
24
|
-
return 'report_problem';
|
|
25
|
-
default:
|
|
26
|
-
return 'check';
|
|
27
|
-
}
|
|
21
|
+
public getIcon(value: MonitoringAlertStatus) {
|
|
22
|
+
return value === MonitoringAlertStatus.Active ? 'alert' : 'check';
|
|
28
23
|
}
|
|
29
24
|
|
|
30
25
|
public getColor(value: MonitoringAlertStatus): 'success' | 'warning' | 'danger' | 'info' {
|
|
@@ -21,6 +21,10 @@ class ProgressStatusHelper extends EnumHelper<ProgressStatus> {
|
|
|
21
21
|
return 'help-rhombus-outline';
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
|
|
25
|
+
public canUpdateAnalysis(analysisStatus: ProgressStatus): boolean {
|
|
26
|
+
return [ProgressStatus.Doing, ProgressStatus.ToDo].includes(analysisStatus);
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
export namespace ProgressStatus {
|
package/tsconfig.json
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"compileOnSave": false,
|
|
3
2
|
"compilerOptions": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
],
|
|
3
|
+
"module": "commonjs",
|
|
4
|
+
"moduleResolution": "node",
|
|
5
|
+
"target": "es6",
|
|
6
|
+
"esModuleInterop": true,
|
|
9
7
|
"outDir": "./dist",
|
|
10
|
-
"
|
|
8
|
+
"rootDir": "./src",
|
|
11
9
|
"sourceMap": true,
|
|
12
10
|
"declaration": true,
|
|
13
|
-
"moduleResolution": "node",
|
|
14
11
|
"emitDecoratorMetadata": true,
|
|
15
12
|
"experimentalDecorators": true,
|
|
16
|
-
"
|
|
17
|
-
"
|
|
13
|
+
"lib": [
|
|
14
|
+
"ES2021"
|
|
18
15
|
]
|
|
19
16
|
}
|
|
20
17
|
}
|