@we-scrum/enums 1.0.46 → 1.0.48
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.
|
@@ -6,11 +6,15 @@ var ContentType;
|
|
|
6
6
|
(function (ContentType) {
|
|
7
7
|
ContentType["MarkDown"] = "MarkDown";
|
|
8
8
|
ContentType["Html"] = "Html";
|
|
9
|
+
ContentType["Xml"] = "Xml";
|
|
10
|
+
ContentType["Json"] = "Json";
|
|
9
11
|
})(ContentType = exports.ContentType || (exports.ContentType = {}));
|
|
10
12
|
(function (ContentType) {
|
|
11
13
|
ContentType.helper = new core_1.EnumHelper('ContentType', [
|
|
12
14
|
ContentType.MarkDown,
|
|
13
|
-
ContentType.Html
|
|
15
|
+
ContentType.Html,
|
|
16
|
+
ContentType.Xml,
|
|
17
|
+
ContentType.Json,
|
|
14
18
|
]);
|
|
15
19
|
})(ContentType = exports.ContentType || (exports.ContentType = {}));
|
|
16
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,wCAA6C;AAE7C,IAAY,
|
|
1
|
+
{"version":3,"file":"content-type-enum.js","sourceRoot":"","sources":["../src/content-type-enum.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAE7C,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,oCAAqB,CAAA;IACrB,4BAAa,CAAA;IACb,0BAAW,CAAA;IACX,4BAAa,CAAA;AACjB,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,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,GAAX,mBAAW,KAAX,mBAAW,QAO3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@we-scrum/enums",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.48",
|
|
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.89"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@my-devkit/cli": "1.0.
|
|
22
|
-
"@my-devkit/core": "1.0.
|
|
21
|
+
"@my-devkit/cli": "1.0.25",
|
|
22
|
+
"@my-devkit/core": "1.0.89",
|
|
23
23
|
"typescript": "^4.5.2"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/src/content-type-enum.ts
CHANGED
|
@@ -2,12 +2,16 @@ import { EnumHelper } from '@my-devkit/core';
|
|
|
2
2
|
|
|
3
3
|
export enum ContentType {
|
|
4
4
|
MarkDown = 'MarkDown',
|
|
5
|
-
Html = 'Html'
|
|
5
|
+
Html = 'Html',
|
|
6
|
+
Xml = 'Xml',
|
|
7
|
+
Json = 'Json'
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
export namespace ContentType {
|
|
9
11
|
export const helper = new EnumHelper('ContentType', [
|
|
10
12
|
ContentType.MarkDown,
|
|
11
|
-
ContentType.Html
|
|
13
|
+
ContentType.Html,
|
|
14
|
+
ContentType.Xml,
|
|
15
|
+
ContentType.Json,
|
|
12
16
|
]);
|
|
13
17
|
}
|