@we-scrum/enums 1.0.93 → 1.0.95
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 +1 -4
- package/dist/communication-channel-enum.js.map +1 -1
- package/dist/content-type-enum.js +1 -6
- package/dist/content-type-enum.js.map +1 -1
- package/dist/crafting-master-enum.js +1 -4
- package/dist/crafting-master-enum.js.map +1 -1
- package/dist/crafting-master-synchrnization-status-enum.js +1 -1
- package/dist/crafting-master-synchrnization-status-enum.js.map +1 -1
- package/dist/definition-of-done-category-enum.js +1 -1
- package/dist/environment-category-enum.js +1 -1
- package/dist/log-metadata-type-enum.js +1 -1
- package/dist/log-severity-level-enum.js +1 -1
- package/dist/logging-system-enum.js +1 -4
- package/dist/logging-system-enum.js.map +1 -1
- package/dist/monitoring-alert-severity-level-enum.js +1 -1
- package/dist/monitoring-alert-status-enum.js +1 -1
- package/dist/object-property-type-enum.js +2 -7
- package/dist/object-property-type-enum.js.map +1 -1
- package/dist/operation-enum.js +1 -5
- package/dist/operation-enum.js.map +1 -1
- package/dist/operator-enum.js +4 -4
- package/dist/progress-status-enum.js +1 -5
- package/dist/progress-status-enum.js.map +1 -1
- package/dist/queuing-system-enum.js +1 -4
- package/dist/queuing-system-enum.js.map +1 -1
- package/dist/route-query-param-type-enum.js +1 -1
- package/dist/search-result-type-enum.js +1 -1
- package/dist/sort-direction-enum.js +2 -7
- package/dist/sort-direction-enum.js.map +1 -1
- package/dist/store-system-enum.js +1 -4
- package/dist/store-system-enum.js.map +1 -1
- package/dist/story-status-enum.js +1 -1
- package/dist/story-status-enum.js.map +1 -1
- package/dist/user-resource-type-enum.js +1 -1
- package/dist/user-role-enum.js +1 -6
- package/dist/user-role-enum.js.map +1 -1
- package/package.json +4 -4
- package/src/communication-channel-enum.ts +2 -5
- package/src/content-type-enum.ts +2 -7
- package/src/crafting-master-enum.ts +2 -5
- package/src/crafting-master-synchrnization-status-enum.ts +6 -9
- package/src/definition-of-done-category-enum.ts +2 -2
- package/src/environment-category-enum.ts +2 -2
- package/src/log-metadata-type-enum.ts +2 -2
- package/src/log-severity-level-enum.ts +2 -2
- package/src/logging-system-enum.ts +2 -5
- package/src/monitoring-alert-severity-level-enum.ts +2 -2
- package/src/monitoring-alert-status-enum.ts +2 -2
- package/src/object-property-type-enum.ts +3 -8
- package/src/operation-enum.ts +2 -6
- package/src/operator-enum.ts +5 -5
- package/src/progress-status-enum.ts +2 -6
- package/src/queuing-system-enum.ts +2 -5
- package/src/route-method-enum.ts +1 -1
- package/src/route-query-param-type-enum.ts +2 -2
- package/src/search-result-type-enum.ts +2 -2
- package/src/sort-direction-enum.ts +3 -8
- package/src/store-system-enum.ts +2 -5
- package/src/story-status-enum.ts +3 -6
- package/src/user-resource-type-enum.ts +2 -2
- package/src/user-role-enum.ts +2 -7
|
@@ -8,9 +8,6 @@ var CommunicationChannel;
|
|
|
8
8
|
CommunicationChannel["GoogleChat"] = "GoogleChat";
|
|
9
9
|
})(CommunicationChannel || (exports.CommunicationChannel = CommunicationChannel = {}));
|
|
10
10
|
(function (CommunicationChannel) {
|
|
11
|
-
CommunicationChannel.helper = new core_1.EnumHelper('CommunicationChannel', [
|
|
12
|
-
CommunicationChannel.None,
|
|
13
|
-
CommunicationChannel.GoogleChat
|
|
14
|
-
]);
|
|
11
|
+
CommunicationChannel.helper = new core_1.EnumHelper('CommunicationChannel', [CommunicationChannel.None, CommunicationChannel.GoogleChat]);
|
|
15
12
|
})(CommunicationChannel || (exports.CommunicationChannel = CommunicationChannel = {}));
|
|
16
13
|
//# 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,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
|
|
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,CAAC,oBAAoB,CAAC,IAAI,EAAE,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC;AAC/H,CAAC,EAFgB,oBAAoB,oCAApB,oBAAoB,QAEpC"}
|
|
@@ -10,11 +10,6 @@ var ContentType;
|
|
|
10
10
|
ContentType["Json"] = "Json";
|
|
11
11
|
})(ContentType || (exports.ContentType = ContentType = {}));
|
|
12
12
|
(function (ContentType) {
|
|
13
|
-
ContentType.helper = new core_1.EnumHelper('ContentType', [
|
|
14
|
-
ContentType.MarkDown,
|
|
15
|
-
ContentType.Html,
|
|
16
|
-
ContentType.Xml,
|
|
17
|
-
ContentType.Json
|
|
18
|
-
]);
|
|
13
|
+
ContentType.helper = new core_1.EnumHelper('ContentType', [ContentType.MarkDown, ContentType.Html, ContentType.Xml, ContentType.Json]);
|
|
19
14
|
})(ContentType || (exports.ContentType = ContentType = {}));
|
|
20
15
|
//# 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,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
|
|
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,CAAC,WAAW,CAAC,QAAQ,EAAE,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;AACrI,CAAC,EAFgB,WAAW,2BAAX,WAAW,QAE3B"}
|
|
@@ -20,9 +20,6 @@ class CraftingMasterHelper extends core_1.EnumHelper {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
(function (CraftingMaster) {
|
|
23
|
-
CraftingMaster.helper = new CraftingMasterHelper('CraftingMaster', [
|
|
24
|
-
CraftingMaster.WeScrum,
|
|
25
|
-
CraftingMaster.AzureDevOps
|
|
26
|
-
]);
|
|
23
|
+
CraftingMaster.helper = new CraftingMasterHelper('CraftingMaster', [CraftingMaster.WeScrum, CraftingMaster.AzureDevOps]);
|
|
27
24
|
})(CraftingMaster || (exports.CraftingMaster = CraftingMaster = {}));
|
|
28
25
|
//# 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":";;;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;IAClD,SAAS,CAAC,cAA8B;QAC3C,QAAQ,cAAc,EAAE,CAAC;YACrB,KAAK,cAAc,CAAC,OAAO;gBACvB,OAAO,2CAA2C,CAAC;YACvD,KAAK,cAAc,CAAC,WAAW;gBAC3B,OAAO,kDAAkD,CAAC;YAE9D;gBACI,OAAO,sBAAsB,CAAC;QACtC,CAAC;IACL,CAAC;CACJ;AAED,WAAiB,cAAc;IACd,qBAAM,GAAG,IAAI,oBAAoB,CAAC,gBAAgB,EAAE
|
|
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;IAClD,SAAS,CAAC,cAA8B;QAC3C,QAAQ,cAAc,EAAE,CAAC;YACrB,KAAK,cAAc,CAAC,OAAO;gBACvB,OAAO,2CAA2C,CAAC;YACvD,KAAK,cAAc,CAAC,WAAW;gBAC3B,OAAO,kDAAkD,CAAC;YAE9D;gBACI,OAAO,sBAAsB,CAAC;QACtC,CAAC;IACL,CAAC;CACJ;AAED,WAAiB,cAAc;IACd,qBAAM,GAAG,IAAI,oBAAoB,CAAC,gBAAgB,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;AAC3H,CAAC,EAFgB,cAAc,8BAAd,cAAc,QAE9B"}
|
|
@@ -12,7 +12,7 @@ var CraftingMasterSynchronizationStatus;
|
|
|
12
12
|
CraftingMasterSynchronizationStatus.helper = new core_1.EnumHelper('CraftingMasterSynchronizationStatus', [
|
|
13
13
|
CraftingMasterSynchronizationStatus.On,
|
|
14
14
|
CraftingMasterSynchronizationStatus.Off,
|
|
15
|
-
CraftingMasterSynchronizationStatus.Pause
|
|
15
|
+
CraftingMasterSynchronizationStatus.Pause,
|
|
16
16
|
]);
|
|
17
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,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,
|
|
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"}
|
|
@@ -26,7 +26,7 @@ class DefinitionOfDoneCategoryHelper extends core_1.EnumHelper {
|
|
|
26
26
|
DefinitionOfDoneCategory.helper = new DefinitionOfDoneCategoryHelper('DefinitionOfDoneCategory', [
|
|
27
27
|
DefinitionOfDoneCategory.Crafting,
|
|
28
28
|
DefinitionOfDoneCategory.Analysis,
|
|
29
|
-
DefinitionOfDoneCategory.Development
|
|
29
|
+
DefinitionOfDoneCategory.Development,
|
|
30
30
|
]);
|
|
31
31
|
})(DefinitionOfDoneCategory || (exports.DefinitionOfDoneCategory = DefinitionOfDoneCategory = {}));
|
|
32
32
|
//# sourceMappingURL=definition-of-done-category-enum.js.map
|
|
@@ -38,7 +38,7 @@ class EnvironmentCategoryHelper extends core_1.EnumHelper {
|
|
|
38
38
|
EnvironmentCategory.helper = new EnvironmentCategoryHelper('EnvironmentCategory', [
|
|
39
39
|
EnvironmentCategory.Development,
|
|
40
40
|
EnvironmentCategory.Staging,
|
|
41
|
-
EnvironmentCategory.Production
|
|
41
|
+
EnvironmentCategory.Production,
|
|
42
42
|
]);
|
|
43
43
|
})(EnvironmentCategory || (exports.EnvironmentCategory = EnvironmentCategory = {}));
|
|
44
44
|
//# sourceMappingURL=environment-category-enum.js.map
|
|
@@ -49,7 +49,7 @@ class LogMetadataTypeHelper extends core_1.EnumHelper {
|
|
|
49
49
|
LogMetadataType.helper = new LogMetadataTypeHelper('LogMetadataType', [
|
|
50
50
|
LogMetadataType.SQL,
|
|
51
51
|
LogMetadataType.Command,
|
|
52
|
-
LogMetadataType.Event
|
|
52
|
+
LogMetadataType.Event,
|
|
53
53
|
]);
|
|
54
54
|
})(LogMetadataType || (exports.LogMetadataType = LogMetadataType = {}));
|
|
55
55
|
//# sourceMappingURL=log-metadata-type-enum.js.map
|
|
@@ -50,7 +50,7 @@ class LogSeverityLevelHelper extends core_1.EnumHelper {
|
|
|
50
50
|
LogSeverityLevel.Information,
|
|
51
51
|
LogSeverityLevel.Warning,
|
|
52
52
|
LogSeverityLevel.Error,
|
|
53
|
-
LogSeverityLevel.Critical
|
|
53
|
+
LogSeverityLevel.Critical,
|
|
54
54
|
]);
|
|
55
55
|
})(LogSeverityLevel || (exports.LogSeverityLevel = LogSeverityLevel = {}));
|
|
56
56
|
//# sourceMappingURL=log-severity-level-enum.js.map
|
|
@@ -8,9 +8,6 @@ var LoggingSystem;
|
|
|
8
8
|
LoggingSystem["AzureApplicationInsights"] = "AzureApplicationInsights";
|
|
9
9
|
})(LoggingSystem || (exports.LoggingSystem = LoggingSystem = {}));
|
|
10
10
|
(function (LoggingSystem) {
|
|
11
|
-
LoggingSystem.helper = new core_1.EnumHelper('LoggingSystem', [
|
|
12
|
-
LoggingSystem.None,
|
|
13
|
-
LoggingSystem.AzureApplicationInsights
|
|
14
|
-
]);
|
|
11
|
+
LoggingSystem.helper = new core_1.EnumHelper('LoggingSystem', [LoggingSystem.None, LoggingSystem.AzureApplicationInsights]);
|
|
15
12
|
})(LoggingSystem || (exports.LoggingSystem = LoggingSystem = {}));
|
|
16
13
|
//# 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,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
|
|
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,CAAC,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,wBAAwB,CAAC,CAAC,CAAC;AACxH,CAAC,EAFgB,aAAa,6BAAb,aAAa,QAE7B"}
|
|
@@ -32,7 +32,7 @@ class MonitoringAlertSeverityLevelHelper extends core_1.EnumHelper {
|
|
|
32
32
|
(function (MonitoringAlertSeverityLevel) {
|
|
33
33
|
MonitoringAlertSeverityLevel.helper = new MonitoringAlertSeverityLevelHelper('MonitoringAlertSeverityLevel', [
|
|
34
34
|
MonitoringAlertSeverityLevel.Warning,
|
|
35
|
-
MonitoringAlertSeverityLevel.Error
|
|
35
|
+
MonitoringAlertSeverityLevel.Error,
|
|
36
36
|
]);
|
|
37
37
|
})(MonitoringAlertSeverityLevel || (exports.MonitoringAlertSeverityLevel = MonitoringAlertSeverityLevel = {}));
|
|
38
38
|
//# sourceMappingURL=monitoring-alert-severity-level-enum.js.map
|
|
@@ -35,7 +35,7 @@ class MonitoringAlertStatusHelper extends core_1.EnumHelper {
|
|
|
35
35
|
(function (MonitoringAlertStatus) {
|
|
36
36
|
MonitoringAlertStatus.helper = new MonitoringAlertStatusHelper('MonitoringAlertStatus', [
|
|
37
37
|
MonitoringAlertStatus.Active,
|
|
38
|
-
MonitoringAlertStatus.Resolved
|
|
38
|
+
MonitoringAlertStatus.Resolved,
|
|
39
39
|
]);
|
|
40
40
|
})(MonitoringAlertStatus || (exports.MonitoringAlertStatus = MonitoringAlertStatus = {}));
|
|
41
41
|
//# sourceMappingURL=monitoring-alert-status-enum.js.map
|
|
@@ -14,12 +14,7 @@ var ObjectPropertyType;
|
|
|
14
14
|
})(ObjectPropertyType || (exports.ObjectPropertyType = ObjectPropertyType = {}));
|
|
15
15
|
class ObjectPropertyTypeHelper extends core_1.EnumHelper {
|
|
16
16
|
isPrimitive(value) {
|
|
17
|
-
return [
|
|
18
|
-
ObjectPropertyType.String,
|
|
19
|
-
ObjectPropertyType.Boolean,
|
|
20
|
-
ObjectPropertyType.Any,
|
|
21
|
-
ObjectPropertyType.Number
|
|
22
|
-
].includes(value);
|
|
17
|
+
return [ObjectPropertyType.String, ObjectPropertyType.Boolean, ObjectPropertyType.Any, ObjectPropertyType.Number].includes(value);
|
|
23
18
|
}
|
|
24
19
|
}
|
|
25
20
|
(function (ObjectPropertyType) {
|
|
@@ -30,7 +25,7 @@ class ObjectPropertyTypeHelper extends core_1.EnumHelper {
|
|
|
30
25
|
ObjectPropertyType.Date,
|
|
31
26
|
ObjectPropertyType.Enumeration,
|
|
32
27
|
ObjectPropertyType.Object,
|
|
33
|
-
ObjectPropertyType.Any
|
|
28
|
+
ObjectPropertyType.Any,
|
|
34
29
|
]);
|
|
35
30
|
})(ObjectPropertyType || (exports.ObjectPropertyType = ObjectPropertyType = {}));
|
|
36
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":";;;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
|
|
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
|
@@ -9,10 +9,6 @@ var Operation;
|
|
|
9
9
|
Operation["Delete"] = "Delete";
|
|
10
10
|
})(Operation || (exports.Operation = Operation = {}));
|
|
11
11
|
(function (Operation) {
|
|
12
|
-
Operation.helper = new core_1.EnumHelper('Operation', [
|
|
13
|
-
Operation.Create,
|
|
14
|
-
Operation.Update,
|
|
15
|
-
Operation.Delete
|
|
16
|
-
]);
|
|
12
|
+
Operation.helper = new core_1.EnumHelper('Operation', [Operation.Create, Operation.Update, Operation.Delete]);
|
|
17
13
|
})(Operation || (exports.Operation = Operation = {}));
|
|
18
14
|
//# sourceMappingURL=operation-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AAC9G,CAAC,EAFgB,SAAS,yBAAT,SAAS,QAEzB"}
|
package/dist/operator-enum.js
CHANGED
|
@@ -96,7 +96,7 @@ class OperatorHelper extends core_1.EnumHelper {
|
|
|
96
96
|
Operator.GreaterThan,
|
|
97
97
|
Operator.LowerThan,
|
|
98
98
|
Operator.In,
|
|
99
|
-
Operator.NotIn
|
|
99
|
+
Operator.NotIn,
|
|
100
100
|
];
|
|
101
101
|
if (system === store_system_enum_1.StoreSystem.AzureCosmosDB)
|
|
102
102
|
return [
|
|
@@ -119,7 +119,7 @@ class OperatorHelper extends core_1.EnumHelper {
|
|
|
119
119
|
Operator.IsEmpty,
|
|
120
120
|
Operator.IsNotEmpty,
|
|
121
121
|
Operator.ArrayContains,
|
|
122
|
-
Operator.PartialArrayContains
|
|
122
|
+
Operator.PartialArrayContains,
|
|
123
123
|
];
|
|
124
124
|
return [];
|
|
125
125
|
}
|
|
@@ -130,7 +130,7 @@ class OperatorHelper extends core_1.EnumHelper {
|
|
|
130
130
|
Operator.IsNull,
|
|
131
131
|
Operator.IsNotNull,
|
|
132
132
|
Operator.IsEmpty,
|
|
133
|
-
Operator.IsNotEmpty
|
|
133
|
+
Operator.IsNotEmpty,
|
|
134
134
|
].includes(operator);
|
|
135
135
|
}
|
|
136
136
|
hasMultipleValues(operator) {
|
|
@@ -183,7 +183,7 @@ class OperatorHelper extends core_1.EnumHelper {
|
|
|
183
183
|
Operator.StartsWith,
|
|
184
184
|
Operator.NotStartsWith,
|
|
185
185
|
Operator.EndsWith,
|
|
186
|
-
Operator.NotEndsWith
|
|
186
|
+
Operator.NotEndsWith,
|
|
187
187
|
]);
|
|
188
188
|
})(Operator || (exports.Operator = Operator = {}));
|
|
189
189
|
//# sourceMappingURL=operator-enum.js.map
|
|
@@ -26,10 +26,6 @@ class ProgressStatusHelper extends core_1.EnumHelper {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
(function (ProgressStatus) {
|
|
29
|
-
ProgressStatus.helper = new ProgressStatusHelper('ProgressStatus', [
|
|
30
|
-
ProgressStatus.ToDo,
|
|
31
|
-
ProgressStatus.Doing,
|
|
32
|
-
ProgressStatus.Done
|
|
33
|
-
]);
|
|
29
|
+
ProgressStatus.helper = new ProgressStatusHelper('ProgressStatus', [ProgressStatus.ToDo, ProgressStatus.Doing, ProgressStatus.Done]);
|
|
34
30
|
})(ProgressStatus || (exports.ProgressStatus = ProgressStatus = {}));
|
|
35
31
|
//# 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":";;;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;IAClD,OAAO,CAAC,MAAsB;QACjC,QAAQ,MAAM,EAAE,CAAC;YACb,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;QACtC,CAAC;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
|
|
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;IAClD,OAAO,CAAC,MAAsB;QACjC,QAAQ,MAAM,EAAE,CAAC;YACb,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;QACtC,CAAC;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,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;AACvI,CAAC,EAHgB,cAAc,8BAAd,cAAc,QAG9B"}
|
|
@@ -8,9 +8,6 @@ var QueuingSystem;
|
|
|
8
8
|
QueuingSystem["AzureServiceBus"] = "AzureServiceBus";
|
|
9
9
|
})(QueuingSystem || (exports.QueuingSystem = QueuingSystem = {}));
|
|
10
10
|
(function (QueuingSystem) {
|
|
11
|
-
QueuingSystem.helper = new core_1.EnumHelper('QueuingSystem', [
|
|
12
|
-
QueuingSystem.None,
|
|
13
|
-
QueuingSystem.AzureServiceBus
|
|
14
|
-
]);
|
|
11
|
+
QueuingSystem.helper = new core_1.EnumHelper('QueuingSystem', [QueuingSystem.None, QueuingSystem.AzureServiceBus]);
|
|
15
12
|
})(QueuingSystem || (exports.QueuingSystem = QueuingSystem = {}));
|
|
16
13
|
//# 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,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
|
|
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,CAAC,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/G,CAAC,EAFgB,aAAa,6BAAb,aAAa,QAE7B"}
|
|
@@ -16,7 +16,7 @@ var RouteQueryParamType;
|
|
|
16
16
|
RouteQueryParamType.Number,
|
|
17
17
|
RouteQueryParamType.Boolean,
|
|
18
18
|
RouteQueryParamType.Date,
|
|
19
|
-
RouteQueryParamType.Enumeration
|
|
19
|
+
RouteQueryParamType.Enumeration,
|
|
20
20
|
]);
|
|
21
21
|
})(RouteQueryParamType || (exports.RouteQueryParamType = RouteQueryParamType = {}));
|
|
22
22
|
//# sourceMappingURL=route-query-param-type-enum.js.map
|
|
@@ -16,7 +16,7 @@ var SearchResultType;
|
|
|
16
16
|
SearchResultType.Story,
|
|
17
17
|
SearchResultType.Object,
|
|
18
18
|
SearchResultType.Enumeration,
|
|
19
|
-
SearchResultType.RecentSearch
|
|
19
|
+
SearchResultType.RecentSearch,
|
|
20
20
|
]);
|
|
21
21
|
})(SearchResultType || (exports.SearchResultType = SearchResultType = {}));
|
|
22
22
|
//# sourceMappingURL=search-result-type-enum.js.map
|
|
@@ -9,18 +9,13 @@ var SortDirection;
|
|
|
9
9
|
})(SortDirection || (exports.SortDirection = SortDirection = {}));
|
|
10
10
|
class SortDirectionHelper extends core_1.EnumHelper {
|
|
11
11
|
toggle(direction) {
|
|
12
|
-
return direction === SortDirection.Descending
|
|
13
|
-
? SortDirection.Ascending
|
|
14
|
-
: SortDirection.Descending;
|
|
12
|
+
return direction === SortDirection.Descending ? SortDirection.Ascending : SortDirection.Descending;
|
|
15
13
|
}
|
|
16
14
|
getIcon(direction) {
|
|
17
15
|
return direction === SortDirection.Descending ? 'sort-descending' : 'sort-ascending';
|
|
18
16
|
}
|
|
19
17
|
}
|
|
20
18
|
(function (SortDirection) {
|
|
21
|
-
SortDirection.helper = new SortDirectionHelper('SortDirection', [
|
|
22
|
-
SortDirection.Ascending,
|
|
23
|
-
SortDirection.Descending
|
|
24
|
-
]);
|
|
19
|
+
SortDirection.helper = new SortDirectionHelper('SortDirection', [SortDirection.Ascending, SortDirection.Descending]);
|
|
25
20
|
})(SortDirection || (exports.SortDirection = SortDirection = {}));
|
|
26
21
|
//# sourceMappingURL=sort-direction-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-direction-enum.js","sourceRoot":"","sources":["../src/sort-direction-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;AACvB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,MAAM,mBAAoB,SAAQ,iBAAyB;IAChD,MAAM,CAAC,SAAwB;QAClC,OAAO,SAAS,KAAK,aAAa,CAAC,UAAU
|
|
1
|
+
{"version":3,"file":"sort-direction-enum.js","sourceRoot":"","sources":["../src/sort-direction-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;AACvB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,MAAM,mBAAoB,SAAQ,iBAAyB;IAChD,MAAM,CAAC,SAAwB;QAClC,OAAO,SAAS,KAAK,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,UAAU,CAAC;IACvG,CAAC;IAEM,OAAO,CAAC,SAAwB;QACnC,OAAO,SAAS,KAAK,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,gBAAgB,CAAC;IACzF,CAAC;CACJ;AAED,WAAiB,aAAa;IACb,oBAAM,GAAG,IAAI,mBAAmB,CAAC,eAAe,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;AACxH,CAAC,EAFgB,aAAa,6BAAb,aAAa,QAE7B"}
|
|
@@ -8,9 +8,6 @@ var StoreSystem;
|
|
|
8
8
|
StoreSystem["AzureCosmosDB"] = "AzureCosmosDB";
|
|
9
9
|
})(StoreSystem || (exports.StoreSystem = StoreSystem = {}));
|
|
10
10
|
(function (StoreSystem) {
|
|
11
|
-
StoreSystem.helper = new core_1.EnumHelper('StoreSystem', [
|
|
12
|
-
StoreSystem.None,
|
|
13
|
-
StoreSystem.AzureCosmosDB
|
|
14
|
-
]);
|
|
11
|
+
StoreSystem.helper = new core_1.EnumHelper('StoreSystem', [StoreSystem.None, StoreSystem.AzureCosmosDB]);
|
|
15
12
|
})(StoreSystem || (exports.StoreSystem = StoreSystem = {}));
|
|
16
13
|
//# sourceMappingURL=store-system-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-system-enum.js","sourceRoot":"","sources":["../src/store-system-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,8CAA+B,CAAA;AACnC,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,WAAiB,WAAW;IACX,kBAAM,GAAG,IAAI,iBAAU,CAAC,aAAa,EAAE
|
|
1
|
+
{"version":3,"file":"store-system-enum.js","sourceRoot":"","sources":["../src/store-system-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,8CAA+B,CAAA;AACnC,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,WAAiB,WAAW;IACX,kBAAM,GAAG,IAAI,iBAAU,CAAC,aAAa,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC;AACvG,CAAC,EAFgB,WAAW,2BAAX,WAAW,QAE3B"}
|
|
@@ -84,7 +84,7 @@ class StoryStatusHelper extends core_1.EnumHelper {
|
|
|
84
84
|
StoryStatus.Analysing,
|
|
85
85
|
StoryStatus.Analysed,
|
|
86
86
|
StoryStatus.Developing,
|
|
87
|
-
StoryStatus.Done
|
|
87
|
+
StoryStatus.Done,
|
|
88
88
|
]);
|
|
89
89
|
})(StoryStatus || (exports.StoryStatus = StoryStatus = {}));
|
|
90
90
|
//# 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,0CAA6C;AAC7C,iEAAwD;AAExD,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;IACvB,oCAAqB,CAAA;IACrB,wCAAyB,CAAA;IACzB,4BAAa,CAAA;AACjB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAED,MAAM,iBAAkB,SAAQ,iBAAuB;IAC5C,eAAe,CAAC,MAAmB;QACtC,QAAQ,MAAM,EAAE,CAAC;YACb,KAAK,WAAW,CAAC,OAAO;gBACpB,OAAO,CAAC,CAAC;YACb,KAAK,WAAW,CAAC,SAAS;gBACtB,OAAO,CAAC,CAAC;YACb,KAAK,WAAW,CAAC,QAAQ;gBACrB,OAAO,CAAC,CAAC;YACb,KAAK,WAAW,CAAC,UAAU;gBACvB,OAAO,CAAC,CAAC;YACb,KAAK,WAAW,CAAC,IAAI;gBACjB,OAAO,CAAC,CAAC;YACb;gBACI,OAAO,MAAsB,CAAC;QACtC,CAAC;IACL,CAAC;IAEM,sBAAsB,CAAC,MAAmB;QAC7C,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IACjF,CAAC;IAEM,OAAO,CAAC,MAAmB;QAC9B,QAAQ,MAAM,EAAE,CAAC;YACb,KAAK,WAAW,CAAC,OAAO;gBACpB,OAAO,kBAAkB,CAAC;YAC9B,KAAK,WAAW,CAAC,SAAS;gBACtB,OAAO,mBAAmB,CAAC;YAC/B,KAAK,WAAW,CAAC,QAAQ;gBACrB,OAAO,oBAAoB,CAAC;YAChC,KAAK,WAAW,CAAC,UAAU;gBACvB,OAAO,WAAW,CAAC;YACvB,KAAK,WAAW,CAAC,IAAI;gBACjB,OAAO,OAAO,CAAC;YACnB;gBACI,OAAO,MAAsB,CAAC;QACtC,CAAC;IACL,CAAC;IAEM,QAAQ,CAAC,MAAmB;QAC/B,QAAQ,MAAM,EAAE,CAAC;YACb,KAAK,WAAW,CAAC,OAAO;gBACpB,OAAO,OAAO,CAAC;YACnB,KAAK,WAAW,CAAC,SAAS;gBACtB,OAAO,SAAS,CAAC;YACrB,KAAK,WAAW,CAAC,QAAQ;gBACrB,OAAO,SAAS,CAAC;YACrB,KAAK,WAAW,CAAC,UAAU;gBACvB,OAAO,QAAQ,CAAC;YACpB,KAAK,WAAW,CAAC,IAAI;gBACjB,OAAO,SAAS,CAAC;YACrB;gBACI,OAAO,MAAsB,CAAC;QACtC,CAAC;IACL,CAAC;IAEM,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"story-status-enum.js","sourceRoot":"","sources":["../src/story-status-enum.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAC7C,iEAAwD;AAExD,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;IACvB,oCAAqB,CAAA;IACrB,wCAAyB,CAAA;IACzB,4BAAa,CAAA;AACjB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAED,MAAM,iBAAkB,SAAQ,iBAAuB;IAC5C,eAAe,CAAC,MAAmB;QACtC,QAAQ,MAAM,EAAE,CAAC;YACb,KAAK,WAAW,CAAC,OAAO;gBACpB,OAAO,CAAC,CAAC;YACb,KAAK,WAAW,CAAC,SAAS;gBACtB,OAAO,CAAC,CAAC;YACb,KAAK,WAAW,CAAC,QAAQ;gBACrB,OAAO,CAAC,CAAC;YACb,KAAK,WAAW,CAAC,UAAU;gBACvB,OAAO,CAAC,CAAC;YACb,KAAK,WAAW,CAAC,IAAI;gBACjB,OAAO,CAAC,CAAC;YACb;gBACI,OAAO,MAAsB,CAAC;QACtC,CAAC;IACL,CAAC;IAEM,sBAAsB,CAAC,MAAmB;QAC7C,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IACjF,CAAC;IAEM,OAAO,CAAC,MAAmB;QAC9B,QAAQ,MAAM,EAAE,CAAC;YACb,KAAK,WAAW,CAAC,OAAO;gBACpB,OAAO,kBAAkB,CAAC;YAC9B,KAAK,WAAW,CAAC,SAAS;gBACtB,OAAO,mBAAmB,CAAC;YAC/B,KAAK,WAAW,CAAC,QAAQ;gBACrB,OAAO,oBAAoB,CAAC;YAChC,KAAK,WAAW,CAAC,UAAU;gBACvB,OAAO,WAAW,CAAC;YACvB,KAAK,WAAW,CAAC,IAAI;gBACjB,OAAO,OAAO,CAAC;YACnB;gBACI,OAAO,MAAsB,CAAC;QACtC,CAAC;IACL,CAAC;IAEM,QAAQ,CAAC,MAAmB;QAC/B,QAAQ,MAAM,EAAE,CAAC;YACb,KAAK,WAAW,CAAC,OAAO;gBACpB,OAAO,OAAO,CAAC;YACnB,KAAK,WAAW,CAAC,SAAS;gBACtB,OAAO,SAAS,CAAC;YACrB,KAAK,WAAW,CAAC,QAAQ;gBACrB,OAAO,SAAS,CAAC;YACrB,KAAK,WAAW,CAAC,UAAU;gBACvB,OAAO,QAAQ,CAAC;YACpB,KAAK,WAAW,CAAC,IAAI;gBACjB,OAAO,SAAS,CAAC;YACrB;gBACI,OAAO,MAAsB,CAAC;QACtC,CAAC;IACL,CAAC;IAEM,SAAS,CAAC,KAA4E;QACzF,QAAQ,IAAI,EAAE,CAAC;YACX,KAAK,KAAK,CAAC,iBAAiB,KAAK,qCAAc,CAAC,IAAI;gBAChD,OAAO,WAAW,CAAC,IAAI,CAAC;YAE5B,KAAK,KAAK,CAAC,iBAAiB,KAAK,qCAAc,CAAC,KAAK;gBACjD,OAAO,WAAW,CAAC,UAAU,CAAC;YAElC,KAAK,KAAK,CAAC,cAAc,KAAK,qCAAc,CAAC,IAAI;gBAC7C,OAAO,WAAW,CAAC,QAAQ,CAAC;YAEhC,KAAK,KAAK,CAAC,cAAc,KAAK,qCAAc,CAAC,KAAK;gBAC9C,OAAO,WAAW,CAAC,SAAS,CAAC;YAEjC;gBACI,OAAO,WAAW,CAAC,OAAO,CAAC;QACnC,CAAC;IACL,CAAC;CACJ;AAED,WAAiB,WAAW;IACX,kBAAM,GAAG,IAAI,iBAAiB,CAAC,aAAa,EAAE;QACvD,WAAW,CAAC,OAAO;QACnB,WAAW,CAAC,SAAS;QACrB,WAAW,CAAC,QAAQ;QACpB,WAAW,CAAC,UAAU;QACtB,WAAW,CAAC,IAAI;KACnB,CAAC,CAAC;AACP,CAAC,EARgB,WAAW,2BAAX,WAAW,QAQ3B"}
|
|
@@ -24,7 +24,7 @@ class UserResourceTypeHelper extends core_1.EnumHelper {
|
|
|
24
24
|
UserResourceType.DataExplorerSummaryLineProperties,
|
|
25
25
|
UserResourceType.EventExplorerQueryHistory,
|
|
26
26
|
UserResourceType.EventExplorerSavedQuery,
|
|
27
|
-
UserResourceType.EventExplorerSummaryLineProperties
|
|
27
|
+
UserResourceType.EventExplorerSummaryLineProperties,
|
|
28
28
|
]);
|
|
29
29
|
})(UserResourceType || (exports.UserResourceType = UserResourceType = {}));
|
|
30
30
|
//# sourceMappingURL=user-resource-type-enum.js.map
|
package/dist/user-role-enum.js
CHANGED
|
@@ -10,11 +10,6 @@ var UserRole;
|
|
|
10
10
|
UserRole["ReadOnly"] = "ReadOnly";
|
|
11
11
|
})(UserRole || (exports.UserRole = UserRole = {}));
|
|
12
12
|
(function (UserRole) {
|
|
13
|
-
UserRole.helper = new core_1.EnumHelper('UserRole', [
|
|
14
|
-
UserRole.Owner,
|
|
15
|
-
UserRole.Analyst,
|
|
16
|
-
UserRole.Developer,
|
|
17
|
-
UserRole.ReadOnly
|
|
18
|
-
]);
|
|
13
|
+
UserRole.helper = new core_1.EnumHelper('UserRole', [UserRole.Owner, UserRole.Analyst, UserRole.Developer, UserRole.ReadOnly]);
|
|
19
14
|
})(UserRole || (exports.UserRole = UserRole = {}));
|
|
20
15
|
//# 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,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
|
|
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,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;AAChI,CAAC,EAFgB,QAAQ,wBAAR,QAAQ,QAExB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@we-scrum/enums",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.95",
|
|
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.124"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@my-devkit/cli": "2.1.
|
|
22
|
-
"@my-devkit/core": "1.0.
|
|
21
|
+
"@my-devkit/cli": "2.1.9",
|
|
22
|
+
"@my-devkit/core": "1.0.124",
|
|
23
23
|
"@types/node": "22.18.6",
|
|
24
24
|
"typescript": "5.9.3"
|
|
25
25
|
}
|
|
@@ -2,12 +2,9 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum CommunicationChannel {
|
|
4
4
|
None = 'None',
|
|
5
|
-
GoogleChat = 'GoogleChat'
|
|
5
|
+
GoogleChat = 'GoogleChat',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export namespace CommunicationChannel {
|
|
9
|
-
export const helper = new EnumHelper('CommunicationChannel', [
|
|
10
|
-
CommunicationChannel.None,
|
|
11
|
-
CommunicationChannel.GoogleChat
|
|
12
|
-
]);
|
|
9
|
+
export const helper = new EnumHelper('CommunicationChannel', [CommunicationChannel.None, CommunicationChannel.GoogleChat]);
|
|
13
10
|
}
|
package/src/content-type-enum.ts
CHANGED
|
@@ -4,14 +4,9 @@ export enum ContentType {
|
|
|
4
4
|
MarkDown = 'MarkDown',
|
|
5
5
|
Html = 'Html',
|
|
6
6
|
Xml = 'Xml',
|
|
7
|
-
Json = 'Json'
|
|
7
|
+
Json = 'Json',
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export namespace ContentType {
|
|
11
|
-
export const helper = new EnumHelper('ContentType', [
|
|
12
|
-
ContentType.MarkDown,
|
|
13
|
-
ContentType.Html,
|
|
14
|
-
ContentType.Xml,
|
|
15
|
-
ContentType.Json
|
|
16
|
-
]);
|
|
11
|
+
export const helper = new EnumHelper('ContentType', [ContentType.MarkDown, ContentType.Html, ContentType.Xml, ContentType.Json]);
|
|
17
12
|
}
|
|
@@ -2,7 +2,7 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum CraftingMaster {
|
|
4
4
|
WeScrum = 'WeScrum',
|
|
5
|
-
AzureDevOps = 'AzureDevOps'
|
|
5
|
+
AzureDevOps = 'AzureDevOps',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
class CraftingMasterHelper extends EnumHelper<CraftingMaster> {
|
|
@@ -20,8 +20,5 @@ class CraftingMasterHelper extends EnumHelper<CraftingMaster> {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export namespace CraftingMaster {
|
|
23
|
-
export const helper = new CraftingMasterHelper('CraftingMaster', [
|
|
24
|
-
CraftingMaster.WeScrum,
|
|
25
|
-
CraftingMaster.AzureDevOps
|
|
26
|
-
]);
|
|
23
|
+
export const helper = new CraftingMasterHelper('CraftingMaster', [CraftingMaster.WeScrum, CraftingMaster.AzureDevOps]);
|
|
27
24
|
}
|
|
@@ -3,16 +3,13 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
3
3
|
export enum CraftingMasterSynchronizationStatus {
|
|
4
4
|
On = 'On',
|
|
5
5
|
Off = 'Off',
|
|
6
|
-
Pause = 'Pause'
|
|
6
|
+
Pause = 'Pause',
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export namespace CraftingMasterSynchronizationStatus {
|
|
10
|
-
export const helper = new EnumHelper<CraftingMasterSynchronizationStatus>(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
CraftingMasterSynchronizationStatus.Pause
|
|
16
|
-
]
|
|
17
|
-
);
|
|
10
|
+
export const helper = new EnumHelper<CraftingMasterSynchronizationStatus>('CraftingMasterSynchronizationStatus', [
|
|
11
|
+
CraftingMasterSynchronizationStatus.On,
|
|
12
|
+
CraftingMasterSynchronizationStatus.Off,
|
|
13
|
+
CraftingMasterSynchronizationStatus.Pause,
|
|
14
|
+
]);
|
|
18
15
|
}
|
|
@@ -3,7 +3,7 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
3
3
|
export enum DefinitionOfDoneCategory {
|
|
4
4
|
Crafting = 'Crafting',
|
|
5
5
|
Analysis = 'Analysis',
|
|
6
|
-
Development = 'Development'
|
|
6
|
+
Development = 'Development',
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
class DefinitionOfDoneCategoryHelper extends EnumHelper<DefinitionOfDoneCategory> {
|
|
@@ -25,6 +25,6 @@ export namespace DefinitionOfDoneCategory {
|
|
|
25
25
|
export const helper = new DefinitionOfDoneCategoryHelper('DefinitionOfDoneCategory', [
|
|
26
26
|
DefinitionOfDoneCategory.Crafting,
|
|
27
27
|
DefinitionOfDoneCategory.Analysis,
|
|
28
|
-
DefinitionOfDoneCategory.Development
|
|
28
|
+
DefinitionOfDoneCategory.Development,
|
|
29
29
|
]);
|
|
30
30
|
}
|
|
@@ -3,7 +3,7 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
3
3
|
export enum EnvironmentCategory {
|
|
4
4
|
Development = 'Development',
|
|
5
5
|
Staging = 'Staging',
|
|
6
|
-
Production = 'Production'
|
|
6
|
+
Production = 'Production',
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
class EnvironmentCategoryHelper extends EnumHelper<EnvironmentCategory> {
|
|
@@ -40,6 +40,6 @@ export namespace EnvironmentCategory {
|
|
|
40
40
|
export const helper = new EnvironmentCategoryHelper('EnvironmentCategory', [
|
|
41
41
|
EnvironmentCategory.Development,
|
|
42
42
|
EnvironmentCategory.Staging,
|
|
43
|
-
EnvironmentCategory.Production
|
|
43
|
+
EnvironmentCategory.Production,
|
|
44
44
|
]);
|
|
45
45
|
}
|
|
@@ -7,7 +7,7 @@ export enum LogMetadataType {
|
|
|
7
7
|
Metric = 'Metric',
|
|
8
8
|
Informations = 'Informations',
|
|
9
9
|
Warnings = 'Warnings',
|
|
10
|
-
Exception = 'Exception'
|
|
10
|
+
Exception = 'Exception',
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class LogMetadataTypeHelper extends EnumHelper<LogMetadataType> {
|
|
@@ -58,6 +58,6 @@ export namespace LogMetadataType {
|
|
|
58
58
|
export const helper = new LogMetadataTypeHelper('LogMetadataType', [
|
|
59
59
|
LogMetadataType.SQL,
|
|
60
60
|
LogMetadataType.Command,
|
|
61
|
-
LogMetadataType.Event
|
|
61
|
+
LogMetadataType.Event,
|
|
62
62
|
]);
|
|
63
63
|
}
|
|
@@ -5,7 +5,7 @@ export enum LogSeverityLevel {
|
|
|
5
5
|
Information = 1,
|
|
6
6
|
Warning = 2,
|
|
7
7
|
Error = 3,
|
|
8
|
-
Critical = 4
|
|
8
|
+
Critical = 4,
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class LogSeverityLevelHelper extends EnumHelper<LogSeverityLevel> {
|
|
@@ -50,6 +50,6 @@ export namespace LogSeverityLevel {
|
|
|
50
50
|
LogSeverityLevel.Information,
|
|
51
51
|
LogSeverityLevel.Warning,
|
|
52
52
|
LogSeverityLevel.Error,
|
|
53
|
-
LogSeverityLevel.Critical
|
|
53
|
+
LogSeverityLevel.Critical,
|
|
54
54
|
]);
|
|
55
55
|
}
|
|
@@ -2,12 +2,9 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum LoggingSystem {
|
|
4
4
|
None = 'None',
|
|
5
|
-
AzureApplicationInsights = 'AzureApplicationInsights'
|
|
5
|
+
AzureApplicationInsights = 'AzureApplicationInsights',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export namespace LoggingSystem {
|
|
9
|
-
export const helper = new EnumHelper('LoggingSystem', [
|
|
10
|
-
LoggingSystem.None,
|
|
11
|
-
LoggingSystem.AzureApplicationInsights
|
|
12
|
-
]);
|
|
9
|
+
export const helper = new EnumHelper('LoggingSystem', [LoggingSystem.None, LoggingSystem.AzureApplicationInsights]);
|
|
13
10
|
}
|
|
@@ -2,7 +2,7 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum MonitoringAlertSeverityLevel {
|
|
4
4
|
Warning = 'Warning',
|
|
5
|
-
Error = 'Error'
|
|
5
|
+
Error = 'Error',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
class MonitoringAlertSeverityLevelHelper extends EnumHelper<MonitoringAlertSeverityLevel> {
|
|
@@ -32,6 +32,6 @@ class MonitoringAlertSeverityLevelHelper extends EnumHelper<MonitoringAlertSever
|
|
|
32
32
|
export namespace MonitoringAlertSeverityLevel {
|
|
33
33
|
export const helper = new MonitoringAlertSeverityLevelHelper('MonitoringAlertSeverityLevel', [
|
|
34
34
|
MonitoringAlertSeverityLevel.Warning,
|
|
35
|
-
MonitoringAlertSeverityLevel.Error
|
|
35
|
+
MonitoringAlertSeverityLevel.Error,
|
|
36
36
|
]);
|
|
37
37
|
}
|
|
@@ -2,7 +2,7 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum MonitoringAlertStatus {
|
|
4
4
|
Active = 'Active',
|
|
5
|
-
Resolved = 'Resolved'
|
|
5
|
+
Resolved = 'Resolved',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
class MonitoringAlertStatusHelper extends EnumHelper<MonitoringAlertStatus> {
|
|
@@ -37,6 +37,6 @@ class MonitoringAlertStatusHelper extends EnumHelper<MonitoringAlertStatus> {
|
|
|
37
37
|
export namespace MonitoringAlertStatus {
|
|
38
38
|
export const helper = new MonitoringAlertStatusHelper('MonitoringAlertStatus', [
|
|
39
39
|
MonitoringAlertStatus.Active,
|
|
40
|
-
MonitoringAlertStatus.Resolved
|
|
40
|
+
MonitoringAlertStatus.Resolved,
|
|
41
41
|
]);
|
|
42
42
|
}
|
|
@@ -7,17 +7,12 @@ export enum ObjectPropertyType {
|
|
|
7
7
|
Date = 'Date',
|
|
8
8
|
Enumeration = 'Enumeration',
|
|
9
9
|
Object = 'Object',
|
|
10
|
-
Any = 'Any'
|
|
10
|
+
Any = 'Any',
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class ObjectPropertyTypeHelper extends EnumHelper<ObjectPropertyType> {
|
|
14
14
|
public isPrimitive(value: ObjectPropertyType): boolean {
|
|
15
|
-
return [
|
|
16
|
-
ObjectPropertyType.String,
|
|
17
|
-
ObjectPropertyType.Boolean,
|
|
18
|
-
ObjectPropertyType.Any,
|
|
19
|
-
ObjectPropertyType.Number
|
|
20
|
-
].includes(value);
|
|
15
|
+
return [ObjectPropertyType.String, ObjectPropertyType.Boolean, ObjectPropertyType.Any, ObjectPropertyType.Number].includes(value);
|
|
21
16
|
}
|
|
22
17
|
}
|
|
23
18
|
|
|
@@ -29,6 +24,6 @@ export namespace ObjectPropertyType {
|
|
|
29
24
|
ObjectPropertyType.Date,
|
|
30
25
|
ObjectPropertyType.Enumeration,
|
|
31
26
|
ObjectPropertyType.Object,
|
|
32
|
-
ObjectPropertyType.Any
|
|
27
|
+
ObjectPropertyType.Any,
|
|
33
28
|
]);
|
|
34
29
|
}
|
package/src/operation-enum.ts
CHANGED
|
@@ -3,13 +3,9 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
3
3
|
export enum Operation {
|
|
4
4
|
Create = 'Create',
|
|
5
5
|
Update = 'Update',
|
|
6
|
-
Delete = 'Delete'
|
|
6
|
+
Delete = 'Delete',
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export namespace Operation {
|
|
10
|
-
export const helper = new EnumHelper('Operation', [
|
|
11
|
-
Operation.Create,
|
|
12
|
-
Operation.Update,
|
|
13
|
-
Operation.Delete
|
|
14
|
-
]);
|
|
10
|
+
export const helper = new EnumHelper('Operation', [Operation.Create, Operation.Update, Operation.Delete]);
|
|
15
11
|
}
|
package/src/operator-enum.ts
CHANGED
|
@@ -24,7 +24,7 @@ export enum Operator {
|
|
|
24
24
|
StartsWith = 'starts-with',
|
|
25
25
|
NotStartsWith = 'not-starts-with',
|
|
26
26
|
EndsWith = 'ends-with',
|
|
27
|
-
NotEndsWith = 'not-ends-with'
|
|
27
|
+
NotEndsWith = 'not-ends-with',
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
class OperatorHelper extends EnumHelper<Operator> {
|
|
@@ -96,7 +96,7 @@ class OperatorHelper extends EnumHelper<Operator> {
|
|
|
96
96
|
Operator.GreaterThan,
|
|
97
97
|
Operator.LowerThan,
|
|
98
98
|
Operator.In,
|
|
99
|
-
Operator.NotIn
|
|
99
|
+
Operator.NotIn,
|
|
100
100
|
];
|
|
101
101
|
|
|
102
102
|
if (system === StoreSystem.AzureCosmosDB)
|
|
@@ -120,7 +120,7 @@ class OperatorHelper extends EnumHelper<Operator> {
|
|
|
120
120
|
Operator.IsEmpty,
|
|
121
121
|
Operator.IsNotEmpty,
|
|
122
122
|
Operator.ArrayContains,
|
|
123
|
-
Operator.PartialArrayContains
|
|
123
|
+
Operator.PartialArrayContains,
|
|
124
124
|
];
|
|
125
125
|
|
|
126
126
|
return [];
|
|
@@ -133,7 +133,7 @@ class OperatorHelper extends EnumHelper<Operator> {
|
|
|
133
133
|
Operator.IsNull,
|
|
134
134
|
Operator.IsNotNull,
|
|
135
135
|
Operator.IsEmpty,
|
|
136
|
-
Operator.IsNotEmpty
|
|
136
|
+
Operator.IsNotEmpty,
|
|
137
137
|
].includes(operator);
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -191,6 +191,6 @@ export namespace Operator {
|
|
|
191
191
|
Operator.StartsWith,
|
|
192
192
|
Operator.NotStartsWith,
|
|
193
193
|
Operator.EndsWith,
|
|
194
|
-
Operator.NotEndsWith
|
|
194
|
+
Operator.NotEndsWith,
|
|
195
195
|
]);
|
|
196
196
|
}
|
|
@@ -3,7 +3,7 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
3
3
|
export enum ProgressStatus {
|
|
4
4
|
ToDo = 'ToDo',
|
|
5
5
|
Doing = 'Doing',
|
|
6
|
-
Done = 'Done'
|
|
6
|
+
Done = 'Done',
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
class ProgressStatusHelper extends EnumHelper<ProgressStatus> {
|
|
@@ -28,9 +28,5 @@ class ProgressStatusHelper extends EnumHelper<ProgressStatus> {
|
|
|
28
28
|
|
|
29
29
|
export namespace ProgressStatus {
|
|
30
30
|
export type ProgressStatusIcon = 'timer-sand' | 'update' | 'check' | 'help-rhombus-outline';
|
|
31
|
-
export const helper = new ProgressStatusHelper('ProgressStatus', [
|
|
32
|
-
ProgressStatus.ToDo,
|
|
33
|
-
ProgressStatus.Doing,
|
|
34
|
-
ProgressStatus.Done
|
|
35
|
-
]);
|
|
31
|
+
export const helper = new ProgressStatusHelper('ProgressStatus', [ProgressStatus.ToDo, ProgressStatus.Doing, ProgressStatus.Done]);
|
|
36
32
|
}
|
|
@@ -2,12 +2,9 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum QueuingSystem {
|
|
4
4
|
None = 'None',
|
|
5
|
-
AzureServiceBus = 'AzureServiceBus'
|
|
5
|
+
AzureServiceBus = 'AzureServiceBus',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export namespace QueuingSystem {
|
|
9
|
-
export const helper = new EnumHelper('QueuingSystem', [
|
|
10
|
-
QueuingSystem.None,
|
|
11
|
-
QueuingSystem.AzureServiceBus
|
|
12
|
-
]);
|
|
9
|
+
export const helper = new EnumHelper('QueuingSystem', [QueuingSystem.None, QueuingSystem.AzureServiceBus]);
|
|
13
10
|
}
|
package/src/route-method-enum.ts
CHANGED
|
@@ -5,7 +5,7 @@ export enum RouteQueryParamType {
|
|
|
5
5
|
Number = 'Number',
|
|
6
6
|
Boolean = 'Boolean',
|
|
7
7
|
Date = 'Date',
|
|
8
|
-
Enumeration = 'Enumeration'
|
|
8
|
+
Enumeration = 'Enumeration',
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export namespace RouteQueryParamType {
|
|
@@ -14,6 +14,6 @@ export namespace RouteQueryParamType {
|
|
|
14
14
|
RouteQueryParamType.Number,
|
|
15
15
|
RouteQueryParamType.Boolean,
|
|
16
16
|
RouteQueryParamType.Date,
|
|
17
|
-
RouteQueryParamType.Enumeration
|
|
17
|
+
RouteQueryParamType.Enumeration,
|
|
18
18
|
]);
|
|
19
19
|
}
|
|
@@ -5,7 +5,7 @@ export enum SearchResultType {
|
|
|
5
5
|
Object = 'Object',
|
|
6
6
|
Route = 'Route',
|
|
7
7
|
Enumeration = 'Enumeration',
|
|
8
|
-
RecentSearch = 'RecentSearch'
|
|
8
|
+
RecentSearch = 'RecentSearch',
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export namespace SearchResultType {
|
|
@@ -14,6 +14,6 @@ export namespace SearchResultType {
|
|
|
14
14
|
SearchResultType.Story,
|
|
15
15
|
SearchResultType.Object,
|
|
16
16
|
SearchResultType.Enumeration,
|
|
17
|
-
SearchResultType.RecentSearch
|
|
17
|
+
SearchResultType.RecentSearch,
|
|
18
18
|
]);
|
|
19
19
|
}
|
|
@@ -2,14 +2,12 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum SortDirection {
|
|
4
4
|
Ascending = 'ASC',
|
|
5
|
-
Descending = 'DESC'
|
|
5
|
+
Descending = 'DESC',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
class SortDirectionHelper extends EnumHelper<SortDirection> {
|
|
9
9
|
public toggle(direction: SortDirection): SortDirection {
|
|
10
|
-
return direction === SortDirection.Descending
|
|
11
|
-
? SortDirection.Ascending
|
|
12
|
-
: SortDirection.Descending;
|
|
10
|
+
return direction === SortDirection.Descending ? SortDirection.Ascending : SortDirection.Descending;
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
public getIcon(direction: SortDirection): string {
|
|
@@ -18,8 +16,5 @@ class SortDirectionHelper extends EnumHelper<SortDirection> {
|
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
export namespace SortDirection {
|
|
21
|
-
export const helper = new SortDirectionHelper('SortDirection', [
|
|
22
|
-
SortDirection.Ascending,
|
|
23
|
-
SortDirection.Descending
|
|
24
|
-
]);
|
|
19
|
+
export const helper = new SortDirectionHelper('SortDirection', [SortDirection.Ascending, SortDirection.Descending]);
|
|
25
20
|
}
|
package/src/store-system-enum.ts
CHANGED
|
@@ -2,12 +2,9 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum StoreSystem {
|
|
4
4
|
None = 'None',
|
|
5
|
-
AzureCosmosDB = 'AzureCosmosDB'
|
|
5
|
+
AzureCosmosDB = 'AzureCosmosDB',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export namespace StoreSystem {
|
|
9
|
-
export const helper = new EnumHelper('StoreSystem', [
|
|
10
|
-
StoreSystem.None,
|
|
11
|
-
StoreSystem.AzureCosmosDB
|
|
12
|
-
]);
|
|
9
|
+
export const helper = new EnumHelper('StoreSystem', [StoreSystem.None, StoreSystem.AzureCosmosDB]);
|
|
13
10
|
}
|
package/src/story-status-enum.ts
CHANGED
|
@@ -6,7 +6,7 @@ export enum StoryStatus {
|
|
|
6
6
|
Analysing = 'Analysing',
|
|
7
7
|
Analysed = 'Analysed',
|
|
8
8
|
Developing = 'Developing',
|
|
9
|
-
Done = 'Done'
|
|
9
|
+
Done = 'Done',
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
class StoryStatusHelper extends EnumHelper<StoryStatus> {
|
|
@@ -65,10 +65,7 @@ class StoryStatusHelper extends EnumHelper<StoryStatus> {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
public getStatus(story: {
|
|
69
|
-
analysisStatus: ProgressStatus;
|
|
70
|
-
developmentStatus: ProgressStatus;
|
|
71
|
-
}): StoryStatus {
|
|
68
|
+
public getStatus(story: { analysisStatus: ProgressStatus; developmentStatus: ProgressStatus }): StoryStatus {
|
|
72
69
|
switch (true) {
|
|
73
70
|
case story.developmentStatus === ProgressStatus.Done:
|
|
74
71
|
return StoryStatus.Done;
|
|
@@ -94,6 +91,6 @@ export namespace StoryStatus {
|
|
|
94
91
|
StoryStatus.Analysing,
|
|
95
92
|
StoryStatus.Analysed,
|
|
96
93
|
StoryStatus.Developing,
|
|
97
|
-
StoryStatus.Done
|
|
94
|
+
StoryStatus.Done,
|
|
98
95
|
]);
|
|
99
96
|
}
|
|
@@ -8,7 +8,7 @@ export enum UserResourceType {
|
|
|
8
8
|
DataExplorerSummaryLineProperties = 'DataExplorerSummaryLineProperties',
|
|
9
9
|
EventExplorerQueryHistory = 'EventExplorerQueryHistory',
|
|
10
10
|
EventExplorerSavedQuery = 'EventExplorerSavedQuery',
|
|
11
|
-
EventExplorerSummaryLineProperties = 'EventExplorerSummaryLineProperties'
|
|
11
|
+
EventExplorerSummaryLineProperties = 'EventExplorerSummaryLineProperties',
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
class UserResourceTypeHelper extends EnumHelper<UserResourceType> {}
|
|
@@ -22,6 +22,6 @@ export namespace UserResourceType {
|
|
|
22
22
|
UserResourceType.DataExplorerSummaryLineProperties,
|
|
23
23
|
UserResourceType.EventExplorerQueryHistory,
|
|
24
24
|
UserResourceType.EventExplorerSavedQuery,
|
|
25
|
-
UserResourceType.EventExplorerSummaryLineProperties
|
|
25
|
+
UserResourceType.EventExplorerSummaryLineProperties,
|
|
26
26
|
]);
|
|
27
27
|
}
|
package/src/user-role-enum.ts
CHANGED
|
@@ -4,14 +4,9 @@ export enum UserRole {
|
|
|
4
4
|
Owner = 'Owner',
|
|
5
5
|
Analyst = 'Analyst',
|
|
6
6
|
Developer = 'Developer',
|
|
7
|
-
ReadOnly = 'ReadOnly'
|
|
7
|
+
ReadOnly = 'ReadOnly',
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export namespace UserRole {
|
|
11
|
-
export const helper = new EnumHelper('UserRole', [
|
|
12
|
-
UserRole.Owner,
|
|
13
|
-
UserRole.Analyst,
|
|
14
|
-
UserRole.Developer,
|
|
15
|
-
UserRole.ReadOnly
|
|
16
|
-
]);
|
|
11
|
+
export const helper = new EnumHelper('UserRole', [UserRole.Owner, UserRole.Analyst, UserRole.Developer, UserRole.ReadOnly]);
|
|
17
12
|
}
|