@we-scrum/enums 1.0.50 → 1.0.51
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/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/log-severity-level-enum.d.ts +11 -0
- package/dist/log-severity-level-enum.js +22 -0
- package/dist/log-severity-level-enum.js.map +1 -0
- package/dist/logging-system-enum.d.ts +7 -0
- package/dist/logging-system-enum.js +16 -0
- package/dist/logging-system-enum.js.map +1 -0
- package/package.json +3 -3
- package/src/index.ts +2 -0
- package/src/log-severity-level-enum.ts +19 -0
- package/src/logging-system-enum.ts +13 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './content-type-enum';
|
|
2
2
|
export * from './crafting-master-enum';
|
|
3
3
|
export * from './environment-category-enum';
|
|
4
|
+
export * from './log-severity-level-enum';
|
|
5
|
+
export * from './logging-system-enum';
|
|
4
6
|
export * from './object-property-type-enum';
|
|
5
7
|
export * from './operation-enum';
|
|
6
8
|
export * from './progress-status-enum';
|
package/dist/index.js
CHANGED
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./content-type-enum"), exports);
|
|
18
18
|
__exportStar(require("./crafting-master-enum"), exports);
|
|
19
19
|
__exportStar(require("./environment-category-enum"), exports);
|
|
20
|
+
__exportStar(require("./log-severity-level-enum"), exports);
|
|
21
|
+
__exportStar(require("./logging-system-enum"), exports);
|
|
20
22
|
__exportStar(require("./object-property-type-enum"), exports);
|
|
21
23
|
__exportStar(require("./operation-enum"), exports);
|
|
22
24
|
__exportStar(require("./progress-status-enum"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,yDAAuC;AACvC,8DAA4C;AAC5C,8DAA4C;AAC5C,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,sDAAoC;AACpC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,yDAAuC;AACvC,8DAA4C;AAC5C,4DAA0C;AAC1C,wDAAsC;AACtC,8DAA4C;AAC5C,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,sDAAoC;AACpC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,mDAAiC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EnumHelper } from '@my-devkit/core';
|
|
2
|
+
export declare enum LogSeverityLevel {
|
|
3
|
+
Verbose = 0,
|
|
4
|
+
Information = 1,
|
|
5
|
+
Warning = 2,
|
|
6
|
+
Error = 3,
|
|
7
|
+
Critical = 4
|
|
8
|
+
}
|
|
9
|
+
export declare namespace LogSeverityLevel {
|
|
10
|
+
const helper: EnumHelper<LogSeverityLevel>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LogSeverityLevel = void 0;
|
|
4
|
+
var core_1 = require("@my-devkit/core");
|
|
5
|
+
var LogSeverityLevel;
|
|
6
|
+
(function (LogSeverityLevel) {
|
|
7
|
+
LogSeverityLevel[LogSeverityLevel["Verbose"] = 0] = "Verbose";
|
|
8
|
+
LogSeverityLevel[LogSeverityLevel["Information"] = 1] = "Information";
|
|
9
|
+
LogSeverityLevel[LogSeverityLevel["Warning"] = 2] = "Warning";
|
|
10
|
+
LogSeverityLevel[LogSeverityLevel["Error"] = 3] = "Error";
|
|
11
|
+
LogSeverityLevel[LogSeverityLevel["Critical"] = 4] = "Critical";
|
|
12
|
+
})(LogSeverityLevel = exports.LogSeverityLevel || (exports.LogSeverityLevel = {}));
|
|
13
|
+
(function (LogSeverityLevel) {
|
|
14
|
+
LogSeverityLevel.helper = new core_1.EnumHelper('LogSeverityLevel', [
|
|
15
|
+
LogSeverityLevel.Verbose,
|
|
16
|
+
LogSeverityLevel.Information,
|
|
17
|
+
LogSeverityLevel.Warning,
|
|
18
|
+
LogSeverityLevel.Error,
|
|
19
|
+
LogSeverityLevel.Critical,
|
|
20
|
+
]);
|
|
21
|
+
})(LogSeverityLevel = exports.LogSeverityLevel || (exports.LogSeverityLevel = {}));
|
|
22
|
+
//# sourceMappingURL=log-severity-level-enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-severity-level-enum.js","sourceRoot":"","sources":["../src/log-severity-level-enum.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAE7C,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,6DAAW,CAAA;IACX,qEAAe,CAAA;IACf,6DAAW,CAAA;IACX,yDAAS,CAAA;IACT,+DAAY,CAAA;AAChB,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAED,WAAiB,gBAAgB;IAChB,uBAAM,GAAG,IAAI,iBAAU,CAAC,kBAAkB,EAAE;QACrD,gBAAgB,CAAC,OAAO;QACxB,gBAAgB,CAAC,WAAW;QAC5B,gBAAgB,CAAC,OAAO;QACxB,gBAAgB,CAAC,KAAK;QACtB,gBAAgB,CAAC,QAAQ;KAC5B,CAAC,CAAC;AACP,CAAC,EARgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQhC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LoggingSystem = void 0;
|
|
4
|
+
var core_1 = require("@my-devkit/core");
|
|
5
|
+
var LoggingSystem;
|
|
6
|
+
(function (LoggingSystem) {
|
|
7
|
+
LoggingSystem["None"] = "None";
|
|
8
|
+
LoggingSystem["AzureApplicationInsights"] = "AzureApplicationInsights";
|
|
9
|
+
})(LoggingSystem = exports.LoggingSystem || (exports.LoggingSystem = {}));
|
|
10
|
+
(function (LoggingSystem) {
|
|
11
|
+
LoggingSystem.helper = new core_1.EnumHelper('LoggingSystem', [
|
|
12
|
+
LoggingSystem.None,
|
|
13
|
+
LoggingSystem.AzureApplicationInsights,
|
|
14
|
+
]);
|
|
15
|
+
})(LoggingSystem = exports.LoggingSystem || (exports.LoggingSystem = {}));
|
|
16
|
+
//# sourceMappingURL=logging-system-enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logging-system-enum.js","sourceRoot":"","sources":["../src/logging-system-enum.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAE7C,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,sEAAqD,CAAA;AACzD,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,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,GAAb,qBAAa,KAAb,qBAAa,QAK7B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@we-scrum/enums",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.51",
|
|
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.92"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@my-devkit/cli": "1.0.26",
|
|
22
|
-
"@my-devkit/core": "1.0.
|
|
22
|
+
"@my-devkit/core": "1.0.92",
|
|
23
23
|
"typescript": "^4.5.2"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './content-type-enum';
|
|
2
2
|
export * from './crafting-master-enum';
|
|
3
3
|
export * from './environment-category-enum';
|
|
4
|
+
export * from './log-severity-level-enum';
|
|
5
|
+
export * from './logging-system-enum';
|
|
4
6
|
export * from './object-property-type-enum';
|
|
5
7
|
export * from './operation-enum';
|
|
6
8
|
export * from './progress-status-enum';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EnumHelper } from '@my-devkit/core';
|
|
2
|
+
|
|
3
|
+
export enum LogSeverityLevel {
|
|
4
|
+
Verbose = 0,
|
|
5
|
+
Information = 1,
|
|
6
|
+
Warning = 2,
|
|
7
|
+
Error = 3,
|
|
8
|
+
Critical = 4
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export namespace LogSeverityLevel {
|
|
12
|
+
export const helper = new EnumHelper('LogSeverityLevel', [
|
|
13
|
+
LogSeverityLevel.Verbose,
|
|
14
|
+
LogSeverityLevel.Information,
|
|
15
|
+
LogSeverityLevel.Warning,
|
|
16
|
+
LogSeverityLevel.Error,
|
|
17
|
+
LogSeverityLevel.Critical,
|
|
18
|
+
]);
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EnumHelper } from '@my-devkit/core';
|
|
2
|
+
|
|
3
|
+
export enum LoggingSystem {
|
|
4
|
+
None = 'None',
|
|
5
|
+
AzureApplicationInsights = 'AzureApplicationInsights',
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export namespace LoggingSystem {
|
|
9
|
+
export const helper = new EnumHelper('LoggingSystem', [
|
|
10
|
+
LoggingSystem.None,
|
|
11
|
+
LoggingSystem.AzureApplicationInsights,
|
|
12
|
+
]);
|
|
13
|
+
}
|