@gmb/bitmark-parser-generator 1.4.0 → 1.4.2
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/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/cjs/ast/Builder.js +4 -4
- package/dist/cjs/ast/Builder.js.map +1 -1
- package/dist/cjs/config/ConfigHydrator.js +9 -5
- package/dist/cjs/config/ConfigHydrator.js.map +1 -1
- package/dist/cjs/config/raw/bits.js +147 -145
- package/dist/cjs/config/raw/bits.js.map +1 -1
- package/dist/cjs/config/raw/cardSets.js +38 -35
- package/dist/cjs/config/raw/cardSets.js.map +1 -1
- package/dist/cjs/config/raw/groups.js +177 -174
- package/dist/cjs/config/raw/groups.js.map +1 -1
- package/dist/cjs/config/raw/properties.js +83 -83
- package/dist/cjs/config/raw/properties.js.map +1 -1
- package/dist/cjs/config/raw/resources.js +23 -23
- package/dist/cjs/config/raw/resources.js.map +1 -1
- package/dist/cjs/config/raw/tags.js +16 -16
- package/dist/cjs/config/raw/tags.js.map +1 -1
- package/dist/cjs/generated/build-info.js +1 -1
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/config/enum/ConfigKey.js +22 -167
- package/dist/cjs/model/config/enum/ConfigKey.js.map +1 -1
- package/dist/cjs/model/config/enum/GroupConfigKey.js +52 -0
- package/dist/cjs/model/config/enum/GroupConfigKey.js.map +1 -0
- package/dist/cjs/model/config/enum/PropertyConfigKey.js +95 -0
- package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -0
- package/dist/cjs/model/config/enum/ResourceConfigKey.js +37 -0
- package/dist/cjs/model/config/enum/ResourceConfigKey.js.map +1 -0
- package/dist/cjs/model/config/enum/TagConfigKey.js +28 -0
- package/dist/cjs/model/config/enum/TagConfigKey.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +6 -6
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/esm/ast/Builder.js +4 -4
- package/dist/esm/ast/Builder.js.map +1 -1
- package/dist/esm/config/ConfigHydrator.js +9 -5
- package/dist/esm/config/ConfigHydrator.js.map +1 -1
- package/dist/esm/config/raw/bits.js +147 -145
- package/dist/esm/config/raw/bits.js.map +1 -1
- package/dist/esm/config/raw/cardSets.js +38 -35
- package/dist/esm/config/raw/cardSets.js.map +1 -1
- package/dist/esm/config/raw/groups.js +177 -174
- package/dist/esm/config/raw/groups.js.map +1 -1
- package/dist/esm/config/raw/properties.js +83 -83
- package/dist/esm/config/raw/properties.js.map +1 -1
- package/dist/esm/config/raw/resources.js +23 -23
- package/dist/esm/config/raw/resources.js.map +1 -1
- package/dist/esm/config/raw/tags.js +16 -16
- package/dist/esm/config/raw/tags.js.map +1 -1
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/model/config/enum/ConfigKey.js +22 -167
- package/dist/esm/model/config/enum/ConfigKey.js.map +1 -1
- package/dist/esm/model/config/enum/GroupConfigKey.js +48 -0
- package/dist/esm/model/config/enum/GroupConfigKey.js.map +1 -0
- package/dist/esm/model/config/enum/PropertyConfigKey.js +91 -0
- package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -0
- package/dist/esm/model/config/enum/ResourceConfigKey.js +33 -0
- package/dist/esm/model/config/enum/ResourceConfigKey.js.map +1 -0
- package/dist/esm/model/config/enum/TagConfigKey.js +24 -0
- package/dist/esm/model/config/enum/TagConfigKey.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +6 -6
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/types/config/ConfigHydrator.d.ts.map +1 -1
- package/dist/types/config/raw/bits.d.ts.map +1 -1
- package/dist/types/config/raw/cardSets.d.ts.map +1 -1
- package/dist/types/config/raw/groups.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/model/config/enum/ConfigKey.d.ts +319 -316
- package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
- package/dist/types/model/config/enum/GroupConfigKey.d.ts +129 -0
- package/dist/types/model/config/enum/GroupConfigKey.d.ts.map +1 -0
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts +258 -0
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -0
- package/dist/types/model/config/enum/ResourceConfigKey.d.ts +78 -0
- package/dist/types/model/config/enum/ResourceConfigKey.d.ts.map +1 -0
- package/dist/types/model/config/enum/TagConfigKey.d.ts +57 -0
- package/dist/types/model/config/enum/TagConfigKey.d.ts.map +1 -0
- package/package.json +1 -3
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RESOURCES = void 0;
|
|
4
|
-
const
|
|
4
|
+
const ResourceConfigKey_1 = require("../../model/config/enum/ResourceConfigKey");
|
|
5
5
|
const ResourceJsonKey_1 = require("../../model/enum/ResourceJsonKey");
|
|
6
6
|
const ResourceTag_1 = require("../../model/enum/ResourceTag");
|
|
7
7
|
const RESOURCES = {
|
|
8
|
-
[
|
|
8
|
+
[ResourceConfigKey_1.ResourceConfigKey.image]: {
|
|
9
9
|
tag: ResourceTag_1.ResourceTag.image,
|
|
10
10
|
},
|
|
11
|
-
[
|
|
11
|
+
[ResourceConfigKey_1.ResourceConfigKey.imagePortrait]: {
|
|
12
12
|
tag: ResourceTag_1.ResourceTag.imagePortrait,
|
|
13
13
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.imagePortrait,
|
|
14
14
|
},
|
|
15
|
-
[
|
|
15
|
+
[ResourceConfigKey_1.ResourceConfigKey.imageLandscape]: {
|
|
16
16
|
tag: ResourceTag_1.ResourceTag.imageLandscape,
|
|
17
17
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.imageLandscape,
|
|
18
18
|
},
|
|
19
|
-
[
|
|
19
|
+
[ResourceConfigKey_1.ResourceConfigKey.imageEmbed]: {
|
|
20
20
|
tag: ResourceTag_1.ResourceTag.imageEmbed,
|
|
21
21
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.imageEmbed,
|
|
22
22
|
},
|
|
23
|
-
[
|
|
23
|
+
[ResourceConfigKey_1.ResourceConfigKey.imageLink]: {
|
|
24
24
|
tag: ResourceTag_1.ResourceTag.imageLink,
|
|
25
25
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.imageLink,
|
|
26
26
|
},
|
|
27
|
-
[
|
|
27
|
+
[ResourceConfigKey_1.ResourceConfigKey.audio]: {
|
|
28
28
|
tag: ResourceTag_1.ResourceTag.audio,
|
|
29
29
|
},
|
|
30
|
-
[
|
|
30
|
+
[ResourceConfigKey_1.ResourceConfigKey.audioEmbed]: {
|
|
31
31
|
tag: ResourceTag_1.ResourceTag.audioEmbed,
|
|
32
32
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.audioEmbed,
|
|
33
33
|
},
|
|
34
|
-
[
|
|
34
|
+
[ResourceConfigKey_1.ResourceConfigKey.audioLink]: {
|
|
35
35
|
tag: ResourceTag_1.ResourceTag.audioLink,
|
|
36
36
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.audioLink,
|
|
37
37
|
},
|
|
38
|
-
[
|
|
38
|
+
[ResourceConfigKey_1.ResourceConfigKey.video]: {
|
|
39
39
|
tag: ResourceTag_1.ResourceTag.video,
|
|
40
40
|
},
|
|
41
|
-
[
|
|
41
|
+
[ResourceConfigKey_1.ResourceConfigKey.videoEmbed]: {
|
|
42
42
|
tag: ResourceTag_1.ResourceTag.videoEmbed,
|
|
43
43
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.videoEmbed,
|
|
44
44
|
},
|
|
45
|
-
[
|
|
45
|
+
[ResourceConfigKey_1.ResourceConfigKey.videoLink]: {
|
|
46
46
|
tag: ResourceTag_1.ResourceTag.videoLink,
|
|
47
47
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.videoLink,
|
|
48
48
|
},
|
|
49
|
-
[
|
|
49
|
+
[ResourceConfigKey_1.ResourceConfigKey.stillImageFilmEmbed]: {
|
|
50
50
|
tag: ResourceTag_1.ResourceTag.stillImageFilmEmbed,
|
|
51
51
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.stillImageFilmEmbed,
|
|
52
52
|
},
|
|
53
|
-
[
|
|
53
|
+
[ResourceConfigKey_1.ResourceConfigKey.stillImageFilmLink]: {
|
|
54
54
|
tag: ResourceTag_1.ResourceTag.stillImageFilmLink,
|
|
55
55
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.stillImageFilmLink,
|
|
56
56
|
},
|
|
57
|
-
[
|
|
57
|
+
[ResourceConfigKey_1.ResourceConfigKey.article]: {
|
|
58
58
|
tag: ResourceTag_1.ResourceTag.article,
|
|
59
59
|
},
|
|
60
|
-
[
|
|
60
|
+
[ResourceConfigKey_1.ResourceConfigKey.articleEmbed]: {
|
|
61
61
|
tag: ResourceTag_1.ResourceTag.articleEmbed,
|
|
62
62
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.articleEmbed,
|
|
63
63
|
},
|
|
64
|
-
[
|
|
64
|
+
[ResourceConfigKey_1.ResourceConfigKey.articleLink]: {
|
|
65
65
|
tag: ResourceTag_1.ResourceTag.articleLink,
|
|
66
66
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.articleLink,
|
|
67
67
|
},
|
|
68
|
-
[
|
|
68
|
+
[ResourceConfigKey_1.ResourceConfigKey.document]: {
|
|
69
69
|
tag: ResourceTag_1.ResourceTag.document,
|
|
70
70
|
},
|
|
71
|
-
[
|
|
71
|
+
[ResourceConfigKey_1.ResourceConfigKey.documentEmbed]: {
|
|
72
72
|
tag: ResourceTag_1.ResourceTag.documentEmbed,
|
|
73
73
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.documentEmbed,
|
|
74
74
|
},
|
|
75
|
-
[
|
|
75
|
+
[ResourceConfigKey_1.ResourceConfigKey.documentLink]: {
|
|
76
76
|
tag: ResourceTag_1.ResourceTag.documentLink,
|
|
77
77
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.documentLink,
|
|
78
78
|
},
|
|
79
|
-
[
|
|
79
|
+
[ResourceConfigKey_1.ResourceConfigKey.documentDownload]: {
|
|
80
80
|
tag: ResourceTag_1.ResourceTag.documentDownload,
|
|
81
81
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.documentDownload,
|
|
82
82
|
},
|
|
83
|
-
[
|
|
83
|
+
[ResourceConfigKey_1.ResourceConfigKey.appLink]: {
|
|
84
84
|
tag: ResourceTag_1.ResourceTag.appLink,
|
|
85
85
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.appLink,
|
|
86
86
|
},
|
|
87
|
-
[
|
|
87
|
+
[ResourceConfigKey_1.ResourceConfigKey.websiteLink]: {
|
|
88
88
|
tag: ResourceTag_1.ResourceTag.websiteLink,
|
|
89
89
|
jsonKey: ResourceJsonKey_1.ResourceJsonKey.websiteLink,
|
|
90
90
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../../src/config/raw/resources.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../../src/config/raw/resources.ts"],"names":[],"mappings":";;;AACA,iFAA8E;AAC9E,sEAAmE;AACnE,8DAA2D;AAE3D,MAAM,SAAS,GAAqB;IAClC,CAAC,qCAAiB,CAAC,KAAK,CAAC,EAAE;QACzB,GAAG,EAAE,yBAAW,CAAC,KAAK;KACvB;IACD,CAAC,qCAAiB,CAAC,aAAa,CAAC,EAAE;QACjC,GAAG,EAAE,yBAAW,CAAC,aAAa;QAC9B,OAAO,EAAE,iCAAe,CAAC,aAAa;KACvC;IACD,CAAC,qCAAi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exports, "__esModule", { value: true });
|
|
3
3
|
exports.TAGS = void 0;
|
|
4
|
-
const
|
|
4
|
+
const TagConfigKey_1 = require("../../model/config/enum/TagConfigKey");
|
|
5
5
|
const Tag_1 = require("../../model/enum/Tag");
|
|
6
6
|
const TAGS = {
|
|
7
|
-
[
|
|
7
|
+
[TagConfigKey_1.TagConfigKey.title]: {
|
|
8
8
|
tag: Tag_1.Tag.title,
|
|
9
9
|
},
|
|
10
|
-
[
|
|
10
|
+
[TagConfigKey_1.TagConfigKey.anchor]: {
|
|
11
11
|
tag: Tag_1.Tag.anchor,
|
|
12
12
|
},
|
|
13
|
-
[
|
|
13
|
+
[TagConfigKey_1.TagConfigKey.tag_reference]: {
|
|
14
14
|
tag: Tag_1.Tag.reference,
|
|
15
15
|
},
|
|
16
|
-
[
|
|
16
|
+
[TagConfigKey_1.TagConfigKey.property]: {
|
|
17
17
|
tag: Tag_1.Tag.property,
|
|
18
18
|
},
|
|
19
|
-
[
|
|
19
|
+
[TagConfigKey_1.TagConfigKey.itemLead]: {
|
|
20
20
|
tag: Tag_1.Tag.itemLead,
|
|
21
21
|
},
|
|
22
|
-
[
|
|
22
|
+
[TagConfigKey_1.TagConfigKey.instruction]: {
|
|
23
23
|
tag: Tag_1.Tag.instruction,
|
|
24
24
|
},
|
|
25
|
-
[
|
|
25
|
+
[TagConfigKey_1.TagConfigKey.hint]: {
|
|
26
26
|
tag: Tag_1.Tag.hint,
|
|
27
27
|
},
|
|
28
|
-
[
|
|
28
|
+
[TagConfigKey_1.TagConfigKey.true]: {
|
|
29
29
|
tag: Tag_1.Tag.true,
|
|
30
30
|
},
|
|
31
|
-
[
|
|
31
|
+
[TagConfigKey_1.TagConfigKey.false]: {
|
|
32
32
|
tag: Tag_1.Tag.false,
|
|
33
33
|
},
|
|
34
|
-
[
|
|
34
|
+
[TagConfigKey_1.TagConfigKey.sampleSolution]: {
|
|
35
35
|
tag: Tag_1.Tag.sampleSolution,
|
|
36
36
|
},
|
|
37
|
-
[
|
|
37
|
+
[TagConfigKey_1.TagConfigKey.gap]: {
|
|
38
38
|
tag: Tag_1.Tag.gap,
|
|
39
39
|
},
|
|
40
|
-
[
|
|
40
|
+
[TagConfigKey_1.TagConfigKey.tag_mark]: {
|
|
41
41
|
tag: Tag_1.Tag.mark,
|
|
42
42
|
},
|
|
43
|
-
[
|
|
43
|
+
[TagConfigKey_1.TagConfigKey.resource]: {
|
|
44
44
|
tag: Tag_1.Tag.resource,
|
|
45
45
|
},
|
|
46
|
-
[
|
|
46
|
+
[TagConfigKey_1.TagConfigKey.remark]: {
|
|
47
47
|
tag: Tag_1.Tag.remark,
|
|
48
48
|
},
|
|
49
|
-
[
|
|
49
|
+
[TagConfigKey_1.TagConfigKey.comment]: {
|
|
50
50
|
tag: Tag_1.Tag.comment,
|
|
51
51
|
},
|
|
52
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.js","sourceRoot":"","sources":["../../../../src/config/raw/tags.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"tags.js","sourceRoot":"","sources":["../../../../src/config/raw/tags.ts"],"names":[],"mappings":";;;AACA,uEAAoE;AACpE,8CAA2C;AAE3C,MAAM,IAAI,GAAgB;IACxB,CAAC,2BAAY,CAAC,KAAK,CAAC,EAAE;QACpB,GAAG,EAAE,SAAG,CAAC,KAAK;KACf;IACD,CAAC,2BAAY,CAAC,MAAM,CAAC,EAAE;QACrB,GAAG,EAAE,SAAG,CAAC,MAAM;KAChB;IACD,CAAC,2BAAY,CAAC,aAAa,CAAC,EAAE;QAC5B,GAAG,EAAE,SAAG,CAAC,SAAS;KACnB;IACD,CAAC,2BAAY,CAAC,QAAQ,CAAC,EAAE;QACvB,GAAG,EAAE,SAAG,CAAC,QAAQ;KAClB;IACD,CAAC,2BAAY,CAAC,QAAQ,CAAC,EAAE;QACvB,GAAG,EAAE,SAAG,CAAC,QAAQ;KAClB;IACD,CAAC,2BAAY,CAAC,WAAW,CAAC,EAAE;QAC1B,GAAG,EAAE,SAAG,CAAC,WAAW;KACrB;IACD,CAAC,2BAAY,CAAC,IAAI,CAAC,EAAE;QACnB,GAAG,EAAE,SAAG,CAAC,IAAI;KACd;IACD,CAAC,2BAAY,CAAC,IAAI,CAAC,EAAE;QACnB,GAAG,EAAE,SAAG,CAAC,IAAI;KACd;IACD,CAAC,2BAAY,CAAC,KAAK,CAAC,EAAE;QACpB,GAAG,EAAE,SAAG,CAAC,KAAK;KACf;IACD,CAAC,2BAAY,CAAC,cAAc,CAAC,EAAE;QAC7B,GAAG,EAAE,SAAG,CAAC,cAAc;KACxB;IACD,CAAC,2BAAY,CAAC,GAAG,CAAC,EAAE;QAClB,GAAG,EAAE,SAAG,CAAC,GAAG;KACb;IACD,CAAC,2BAAY,CAAC,QAAQ,CAAC,EAAE;QACvB,GAAG,EAAE,SAAG,CAAC,IAAI;KACd;IACD,CAAC,2BAAY,CAAC,QAAQ,CAAC,EAAE;QACvB,GAAG,EAAE,SAAG,CAAC,QAAQ;KAClB;IACD,CAAC,2BAAY,CAAC,MAAM,CAAC,EAAE;QACrB,GAAG,EAAE,SAAG,CAAC,MAAM;KAChB;IACD,CAAC,2BAAY,CAAC,OAAO,CAAC,EAAE;QACtB,GAAG,EAAE,SAAG,CAAC,OAAO;KACjB;CACF,CAAC;AAEO,oBAAI"}
|
|
@@ -5,7 +5,7 @@ exports.buildInfo = void 0;
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
exports.buildInfo = {
|
|
7
7
|
"name": "@gmb/bitmark-parser-generator",
|
|
8
|
-
"version": "1.4.
|
|
8
|
+
"version": "1.4.2",
|
|
9
9
|
"author": "Richard Sewell",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"description": "A bitmark parser and generator using Peggy.js"
|
package/dist/cjs/index.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Therefore we have to use some dummy code to prevent it from removing the STRIP stripping comments.
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.StreamWriter = exports.FileWriter = exports.BitmarkFileGenerator = exports.JsonFileGenerator = exports.CardSetVersion = exports.BitmarkVersion = exports.BitmarkParserType = exports.NodeType = exports.ResourceTag = exports.TextFormat = exports.AliasBitType = exports.RootBitType = exports.StringWriter = exports.BitmarkStringGenerator = exports.BitmarkGenerator = exports.BitmarkParser = exports.JsonStringGenerator = exports.JsonGenerator = exports.JsonParser = exports.Ast = exports.ResourceBuilder = exports.Builder = exports.Output = exports.BitmarkParserGenerator = void 0;
|
|
12
|
+
exports.StreamWriter = exports.FileWriter = exports.BitmarkFileGenerator = exports.JsonFileGenerator = exports.InfoFormat = exports.InfoType = exports.CardSetVersion = exports.BitmarkVersion = exports.BitmarkParserType = exports.NodeType = exports.ResourceTag = exports.TextFormat = exports.AliasBitType = exports.RootBitType = exports.StringWriter = exports.BitmarkStringGenerator = exports.BitmarkGenerator = exports.BitmarkParser = exports.JsonStringGenerator = exports.JsonGenerator = exports.JsonParser = exports.Ast = exports.ResourceBuilder = exports.Builder = exports.Output = exports.BitmarkParserGenerator = void 0;
|
|
13
13
|
const init_1 = require("./init/init");
|
|
14
14
|
var BitmarkParserGenerator_1 = require("./BitmarkParserGenerator");
|
|
15
15
|
Object.defineProperty(exports, "BitmarkParserGenerator", { enumerable: true, get: function () { return BitmarkParserGenerator_1.BitmarkParserGenerator; } });
|
|
@@ -49,6 +49,10 @@ var BitmarkVersion_1 = require("./model/enum/BitmarkVersion");
|
|
|
49
49
|
Object.defineProperty(exports, "BitmarkVersion", { enumerable: true, get: function () { return BitmarkVersion_1.BitmarkVersion; } });
|
|
50
50
|
var CardSetVersion_1 = require("./model/enum/CardSetVersion");
|
|
51
51
|
Object.defineProperty(exports, "CardSetVersion", { enumerable: true, get: function () { return CardSetVersion_1.CardSetVersion; } });
|
|
52
|
+
var InfoType_1 = require("./model/info/enum/InfoType");
|
|
53
|
+
Object.defineProperty(exports, "InfoType", { enumerable: true, get: function () { return InfoType_1.InfoType; } });
|
|
54
|
+
var InfoFormat_1 = require("./model/info/enum/InfoFormat");
|
|
55
|
+
Object.defineProperty(exports, "InfoFormat", { enumerable: true, get: function () { return InfoFormat_1.InfoFormat; } });
|
|
52
56
|
const STRIP = 0;
|
|
53
57
|
/* STRIP:START */
|
|
54
58
|
STRIP;
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEH,sCAAmC;AAEnC,mEAA0E;AAAjE,gIAAA,sBAAsB,OAAA;AAAE,gHAAA,MAAM,OAAA;AAEvC,yCAAwC;AAA/B,kGAAA,OAAO,OAAA;AAChB,yDAAwD;AAA/C,kHAAA,eAAe,OAAA;AAExB,iCAAgC;AAAvB,0FAAA,GAAG,OAAA;AAEZ,uDAAsD;AAA7C,wGAAA,UAAU,OAAA;AACnB,gEAA+D;AAAtD,8GAAA,aAAa,OAAA;AACtB,4EAA2E;AAAlE,0HAAA,mBAAmB,OAAA;AAE5B,gEAA+D;AAAtD,8GAAA,aAAa,OAAA;AACtB,yEAAwE;AAA/D,oHAAA,gBAAgB,OAAA;AACzB,qFAAoF;AAA3E,gIAAA,sBAAsB,OAAA;AAG/B,0DAAyD;AAAhD,4GAAA,YAAY,OAAA;AAErB,gDAAiE;AAAxD,sGAAA,WAAW,OAAA;AAAE,uGAAA,YAAY,OAAA;AAClC,sDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,wDAAuD;AAA9C,0GAAA,WAAW,OAAA;AACpB,iDAAgD;AAAvC,oGAAA,QAAQ,OAAA;AACjB,oEAAmE;AAA1D,sHAAA,iBAAiB,OAAA;AAC1B,8DAA6D;AAApD,gHAAA,cAAc,OAAA;AACvB,8DAA6D;AAApD,gHAAA,cAAc,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts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,IAAA,WAAI,GAAE,CAAC"}
|
|
@@ -2,172 +2,27 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConfigKey = void 0;
|
|
4
4
|
const superenum_1 = require("@ncoderz/superenum");
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
_tag_instruction: '_tag_instruction',
|
|
14
|
-
_tag_hint: '_tag_hint',
|
|
15
|
-
_tag_true: '_tag_true',
|
|
16
|
-
_tag_false: '_tag_false',
|
|
17
|
-
_tag_sampleSolution: '_tag_sampleSolution',
|
|
18
|
-
_tag_gap: '_tag_gap',
|
|
19
|
-
_tag_mark: '_tag_mark',
|
|
20
|
-
_tag_resource: '_tag_resource',
|
|
21
|
-
_tag_remark: '_tag_remark',
|
|
22
|
-
_tag_comment: '_tag_comment',
|
|
23
|
-
// Property Tags
|
|
24
|
-
_property_action: '_property_action',
|
|
25
|
-
_property_ageRange: '_property_ageRange',
|
|
26
|
-
_property_aiGenerated: '_property_aiGenerated',
|
|
27
|
-
_property_allowSubtitles: '_property_allowSubtitles',
|
|
28
|
-
_property_alt: '_property_alt',
|
|
29
|
-
_property_author: '_property_author',
|
|
30
|
-
_property_autoplay: '_property_autoplay',
|
|
31
|
-
_property_book: '_property_book',
|
|
32
|
-
_property_bot: '_property_bot',
|
|
33
|
-
_property_caption: '_property_caption',
|
|
34
|
-
_property_caseSensitive: '_property_caseSensitive',
|
|
35
|
-
_property_color: '_property_color',
|
|
36
|
-
_property_colorTag: '_property_colorTag',
|
|
37
|
-
_property_computerLanguage: '_property_computerLanguage',
|
|
38
|
-
_property_copyright: '_property_copyright',
|
|
39
|
-
_property_coverImage: '_property_coverImage',
|
|
40
|
-
_property_date: '_property_date',
|
|
41
|
-
_property_deeplink: '_property_deeplink',
|
|
42
|
-
_property_duration: '_property_duration',
|
|
43
|
-
_property_emphasis: '_property_emphasis',
|
|
44
|
-
_property_example: '_property_example',
|
|
45
|
-
_property_externalId: '_property_externalId',
|
|
46
|
-
_property_externalLink: '_property_externalLink',
|
|
47
|
-
_property_externalLinkText: '_property_externalLinkText',
|
|
48
|
-
_property_flashcardSet: '_property_flashcardSet',
|
|
49
|
-
_property_focusX: '_property_focusX',
|
|
50
|
-
_property_focusY: '_property_focusY',
|
|
51
|
-
_property_format: '_property_format',
|
|
52
|
-
_property_height: '_property_height',
|
|
53
|
-
_property_icon: '_property_icon',
|
|
54
|
-
_property_iconTag: '_property_iconTag',
|
|
55
|
-
_property_id: '_property_id',
|
|
56
|
-
_property_imageSource: '_property_imageSource',
|
|
57
|
-
_property_isInfoOnly: '_property_isInfoOnly',
|
|
58
|
-
_property_isTracked: '_property_isTracked',
|
|
59
|
-
_property_kind: '_property_kind',
|
|
60
|
-
_property_labelFalse: '_property_labelFalse',
|
|
61
|
-
_property_labelTrue: '_property_labelTrue',
|
|
62
|
-
_property_language: '_property_language',
|
|
63
|
-
_property_level: '_property_level',
|
|
64
|
-
_property_license: '_property_license',
|
|
65
|
-
_property_list: '_property_list',
|
|
66
|
-
_property_location: '_property_location',
|
|
67
|
-
_property_longAnswer: '_property_longAnswer',
|
|
68
|
-
_property_markConfig: '_property_markConfig',
|
|
69
|
-
_property_mark: '_property_mark',
|
|
70
|
-
_property_mockupId: '_property_mockupId',
|
|
71
|
-
_property_mute: '_property_mute',
|
|
72
|
-
_property_padletId: '_property_padletId',
|
|
73
|
-
_property_partialAnswer: '_property_partialAnswer',
|
|
74
|
-
_property_partner: '_property_partner',
|
|
75
|
-
_property_posterImage: '_property_posterImage',
|
|
76
|
-
_property_progress: '_property_progress',
|
|
77
|
-
_property_publications: '_property_publications',
|
|
78
|
-
_property_publisher: '_property_publisher',
|
|
79
|
-
_property_quotedPerson: '_property_quotedPerson',
|
|
80
|
-
_property_reaction: '_property_reaction',
|
|
81
|
-
_property_reference: '_property_reference',
|
|
82
|
-
_property_releaseVersion: '_property_releaseVersion',
|
|
83
|
-
_property_sampleSolution: '_property_sampleSolution',
|
|
84
|
-
_property_shortAnswer: '_property_shortAnswer',
|
|
85
|
-
_property_showInIndex: '_property_showInIndex',
|
|
86
|
-
_property_showSubtitles: '_property_showSubtitles',
|
|
87
|
-
_property_siteName: '_property_siteName',
|
|
88
|
-
_property_size: '_property_size',
|
|
89
|
-
_property_spaceId: '_property_spaceId',
|
|
90
|
-
_property_src1x: '_property_src1x',
|
|
91
|
-
_property_src2x: '_property_src2x',
|
|
92
|
-
_property_src3x: '_property_src3x',
|
|
93
|
-
_property_src4x: '_property_src4x',
|
|
94
|
-
_property_subject: '_property_subject',
|
|
95
|
-
_property_subtype: '_property_subtype',
|
|
96
|
-
_property_tag: '_property_tag',
|
|
97
|
-
_property_target: '_property_target',
|
|
98
|
-
_property_textReference: '_property_textReference',
|
|
99
|
-
_property_theme: '_property_theme',
|
|
100
|
-
_property_thumbImage: '_property_thumbImage',
|
|
101
|
-
_property_toc: '_property_toc',
|
|
102
|
-
_property_trim: '_property_trim',
|
|
103
|
-
_property_type: '_property_type',
|
|
104
|
-
_property_videoCallLink: '_property_videoCallLink',
|
|
105
|
-
_property_width: '_property_width',
|
|
106
|
-
// Resources
|
|
107
|
-
_resource_image: '_resource_image',
|
|
108
|
-
// _resource_imageResponsive: '_resource_imageResponsive',
|
|
109
|
-
_resource_imagePortrait: '_resource_imagePortrait',
|
|
110
|
-
_resource_imageLandscape: '_resource_imageLandscape',
|
|
111
|
-
_resource_imageEmbed: '_resource_imageEmbed',
|
|
112
|
-
_resource_imageLink: '_resource_imageLink',
|
|
113
|
-
_resource_audio: '_resource_audio',
|
|
114
|
-
_resource_audioEmbed: '_resource_audioEmbed',
|
|
115
|
-
_resource_audioLink: '_resource_audioLink',
|
|
116
|
-
_resource_video: '_resource_video',
|
|
117
|
-
_resource_videoEmbed: '_resource_videoEmbed',
|
|
118
|
-
_resource_videoLink: '_resource_videoLink',
|
|
119
|
-
// _resource_stillImageFilm: '_resource_stillImageFilm',
|
|
120
|
-
_resource_stillImageFilmEmbed: '_resource_stillImageFilmEmbed',
|
|
121
|
-
_resource_stillImageFilmLink: '_resource_stillImageFilmLink',
|
|
122
|
-
_resource_article: '_resource_article',
|
|
123
|
-
_resource_articleEmbed: '_resource_articleEmbed',
|
|
124
|
-
_resource_articleLink: '_resource_articleLink',
|
|
125
|
-
_resource_document: '_resource_document',
|
|
126
|
-
_resource_documentEmbed: '_resource_documentEmbed',
|
|
127
|
-
_resource_documentLink: '_resource_documentLink',
|
|
128
|
-
_resource_documentDownload: '_resource_documentDownload',
|
|
129
|
-
_resource_appLink: '_resource_appLink',
|
|
130
|
-
_resource_websiteLink: '_resource_websiteLink',
|
|
131
|
-
// Groups
|
|
132
|
-
_group_standardAllBits: '_group_standardAllBits',
|
|
133
|
-
_group_standardItemLeadInstructionHint: '_group_standardItemLeadInstructionHint',
|
|
134
|
-
_group_standardExample: '_group_standardExample',
|
|
135
|
-
_group_standardTags: '_group_standardTags',
|
|
136
|
-
_group_imageSource: '_group_imageSource',
|
|
137
|
-
_group_partner: '_group_partner',
|
|
138
|
-
_group_gap: '_group_gap',
|
|
139
|
-
_group_trueFalse: '_group_trueFalse',
|
|
140
|
-
_group_markConfig: '_group_markConfig',
|
|
141
|
-
_group_mark: '_group_mark',
|
|
142
|
-
_group_learningPathCommon: '_group_learningPathCommon',
|
|
143
|
-
_group_resourceCommon: '_group_resourceCommon',
|
|
144
|
-
_group_resourceImageCommon: '_group_resourceImageCommon',
|
|
145
|
-
_group_resourceAudioCommon: '_group_resourceAudioCommon',
|
|
146
|
-
_group_resourceVideoCommon: '_group_resourceVideoCommon',
|
|
147
|
-
_group_resourceImage: '_group_resourceImage',
|
|
148
|
-
_group_resourceImageEmbed: '_group_resourceImageEmbed',
|
|
149
|
-
_group_resourceImageLink: '_group_resourceImageLink',
|
|
150
|
-
_group_resourceImageResponsive: '_group_resourceImageResponsive',
|
|
151
|
-
_group_resourceImagePortrait: '_group_resourceImagePortrait',
|
|
152
|
-
_group_resourceImageLandscape: '_group_resourceImageLandscape',
|
|
153
|
-
_group_resourceAudio: '_group_resourceAudio',
|
|
154
|
-
_group_resourceAudioEmbed: '_group_resourceAudioEmbed',
|
|
155
|
-
_group_resourceAudioLink: '_group_resourceAudioLink',
|
|
156
|
-
_group_resourceVideo: '_group_resourceVideo',
|
|
157
|
-
_group_resourceVideoEmbed: '_group_resourceVideoEmbed',
|
|
158
|
-
_group_resourceVideoLink: '_group_resourceVideoLink',
|
|
159
|
-
_group_resourceStillImageFilm: '_group_resourceStillImageFilm',
|
|
160
|
-
_group_resourceStillImageFilmEmbed: '_group_resourceStillImageFilmEmbed',
|
|
161
|
-
_group_resourceStillImageFilmLink: '_group_resourceStillImageFilmLink',
|
|
162
|
-
_group_resourceArticle: '_group_resourceArticle',
|
|
163
|
-
_group_resourceArticleEmbed: '_group_resourceArticleEmbed',
|
|
164
|
-
_group_resourceArticleLink: '_group_resourceArticleLink',
|
|
165
|
-
_group_resourceDocument: '_group_resourceDocument',
|
|
166
|
-
_group_resourceDocumentEmbed: '_group_resourceDocumentEmbed',
|
|
167
|
-
_group_resourceDocumentLink: '_group_resourceDocumentLink',
|
|
168
|
-
_group_resourceDocumentDownload: '_group_resourceDocumentDownload',
|
|
169
|
-
_group_resourceAppLink: '_group_resourceAppLink',
|
|
170
|
-
_group_resourceWebsiteLink: '_group_resourceWebsiteLink',
|
|
171
|
-
});
|
|
5
|
+
const GroupConfigKey_1 = require("./GroupConfigKey");
|
|
6
|
+
const PropertyConfigKey_1 = require("./PropertyConfigKey");
|
|
7
|
+
const ResourceConfigKey_1 = require("./ResourceConfigKey");
|
|
8
|
+
const TagConfigKey_1 = require("./TagConfigKey");
|
|
9
|
+
/**
|
|
10
|
+
* Combined bit config keys
|
|
11
|
+
*/
|
|
12
|
+
const ConfigKey = (0, superenum_1.superenum)(Object.assign(Object.assign(Object.assign(Object.assign({ _unknown: '_unknown' }, TagConfigKey_1.tagConfigKeys), PropertyConfigKey_1.propertyConfigKeys), ResourceConfigKey_1.resourceConfigKeys), GroupConfigKey_1.groupConfigKeys));
|
|
172
13
|
exports.ConfigKey = ConfigKey;
|
|
14
|
+
function keyClashCheck() {
|
|
15
|
+
const keys = new Set();
|
|
16
|
+
const keySets = [TagConfigKey_1.tagConfigKeys, PropertyConfigKey_1.propertyConfigKeys, ResourceConfigKey_1.resourceConfigKeys, GroupConfigKey_1.groupConfigKeys];
|
|
17
|
+
for (const keySet of keySets) {
|
|
18
|
+
for (const key in keySet) {
|
|
19
|
+
if (keys.has(key)) {
|
|
20
|
+
throw new Error(`Duplicate ConfigKey: ${key}`);
|
|
21
|
+
}
|
|
22
|
+
keys.add(key);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
// Run key clash check on initialisation
|
|
27
|
+
keyClashCheck();
|
|
173
28
|
//# sourceMappingURL=ConfigKey.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigKey.js","sourceRoot":"","sources":["../../../../../src/model/config/enum/ConfigKey.ts"],"names":[],"mappings":";;;AAAA,kDAAyD;AAEzD,
|
|
1
|
+
{"version":3,"file":"ConfigKey.js","sourceRoot":"","sources":["../../../../../src/model/config/enum/ConfigKey.ts"],"names":[],"mappings":";;;AAAA,kDAAyD;AAEzD,qDAAmD;AACnD,2DAAyD;AACzD,2DAAyD;AACzD,iDAA+C;AAE/C;;GAEG;AACH,MAAM,SAAS,GAAG,IAAA,qBAAS,4DACzB,QAAQ,EAAE,UAAU,IAGjB,4BAAa,GAGb,sCAAkB,GAGlB,sCAAkB,GAGlB,gCAAe,EAClB,CAAC;AAoBM,8BAAS;AAlBlB,SAAS,aAAa;IACpB,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,MAAM,OAAO,GAAG,CAAC,4BAAa,EAAE,sCAAkB,EAAE,sCAAkB,EAAE,gCAAe,CAAC,CAAC;IACzF,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;QAC5B,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBACjB,MAAM,IAAI,KAAK,CAAC,wBAAwB,GAAG,EAAE,CAAC,CAAC;aAChD;YACD,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;SACf;KACF;AACH,CAAC;AAED,wCAAwC;AACxC,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.groupConfigKeys = exports.GroupConfigKey = void 0;
|
|
4
|
+
const superenum_1 = require("@ncoderz/superenum");
|
|
5
|
+
/**
|
|
6
|
+
* Config keys for groups
|
|
7
|
+
*/
|
|
8
|
+
const groupConfigKeys = {
|
|
9
|
+
group_standardAllBits: 'group_standardAllBits',
|
|
10
|
+
group_standardItemLeadInstructionHint: 'group_standardItemLeadInstructionHint',
|
|
11
|
+
group_standardExample: 'group_standardExample',
|
|
12
|
+
group_standardTags: 'group_standardTags',
|
|
13
|
+
group_imageSource: 'group_imageSource',
|
|
14
|
+
group_partner: 'group_partner',
|
|
15
|
+
group_gap: 'group_gap',
|
|
16
|
+
group_trueFalse: 'group_trueFalse',
|
|
17
|
+
group_markConfig: 'group_markConfig',
|
|
18
|
+
group_mark: 'group_mark',
|
|
19
|
+
group_learningPathCommon: 'group_learningPathCommon',
|
|
20
|
+
group_resourceCommon: 'group_resourceCommon',
|
|
21
|
+
group_resourceImageCommon: 'group_resourceImageCommon',
|
|
22
|
+
group_resourceAudioCommon: 'group_resourceAudioCommon',
|
|
23
|
+
group_resourceVideoCommon: 'group_resourceVideoCommon',
|
|
24
|
+
group_resourceImage: 'group_resourceImage',
|
|
25
|
+
group_resourceImageEmbed: 'group_resourceImageEmbed',
|
|
26
|
+
group_resourceImageLink: 'group_resourceImageLink',
|
|
27
|
+
group_resourceImageResponsive: 'group_resourceImageResponsive',
|
|
28
|
+
group_resourceImagePortrait: 'group_resourceImagePortrait',
|
|
29
|
+
group_resourceImageLandscape: 'group_resourceImageLandscape',
|
|
30
|
+
group_resourceAudio: 'group_resourceAudio',
|
|
31
|
+
group_resourceAudioEmbed: 'group_resourceAudioEmbed',
|
|
32
|
+
group_resourceAudioLink: 'group_resourceAudioLink',
|
|
33
|
+
group_resourceVideo: 'group_resourceVideo',
|
|
34
|
+
group_resourceVideoEmbed: 'group_resourceVideoEmbed',
|
|
35
|
+
group_resourceVideoLink: 'group_resourceVideoLink',
|
|
36
|
+
group_resourceStillImageFilm: 'group_resourceStillImageFilm',
|
|
37
|
+
group_resourceStillImageFilmEmbed: 'group_resourceStillImageFilmEmbed',
|
|
38
|
+
group_resourceStillImageFilmLink: 'group_resourceStillImageFilmLink',
|
|
39
|
+
group_resourceArticle: 'group_resourceArticle',
|
|
40
|
+
group_resourceArticleEmbed: 'group_resourceArticleEmbed',
|
|
41
|
+
group_resourceArticleLink: 'group_resourceArticleLink',
|
|
42
|
+
group_resourceDocument: 'group_resourceDocument',
|
|
43
|
+
group_resourceDocumentEmbed: 'group_resourceDocumentEmbed',
|
|
44
|
+
group_resourceDocumentLink: 'group_resourceDocumentLink',
|
|
45
|
+
group_resourceDocumentDownload: 'group_resourceDocumentDownload',
|
|
46
|
+
group_resourceAppLink: 'group_resourceAppLink',
|
|
47
|
+
group_resourceWebsiteLink: 'group_resourceWebsiteLink',
|
|
48
|
+
};
|
|
49
|
+
exports.groupConfigKeys = groupConfigKeys;
|
|
50
|
+
const GroupConfigKey = (0, superenum_1.superenum)(groupConfigKeys);
|
|
51
|
+
exports.GroupConfigKey = GroupConfigKey;
|
|
52
|
+
//# sourceMappingURL=GroupConfigKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupConfigKey.js","sourceRoot":"","sources":["../../../../../src/model/config/enum/GroupConfigKey.ts"],"names":[],"mappings":";;;AAAA,kDAAyD;AAEzD;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e,CAAC,CAAC;AAIzC,wCAAc"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.propertyConfigKeys = exports.PropertyConfigKey = void 0;
|
|
4
|
+
const superenum_1 = require("@ncoderz/superenum");
|
|
5
|
+
/**
|
|
6
|
+
* Config keys for properties
|
|
7
|
+
*/
|
|
8
|
+
const propertyConfigKeys = {
|
|
9
|
+
action: 'action',
|
|
10
|
+
ageRange: 'ageRange',
|
|
11
|
+
aiGenerated: 'aiGenerated',
|
|
12
|
+
allowSubtitles: 'allowSubtitles',
|
|
13
|
+
alt: 'alt',
|
|
14
|
+
author: 'author',
|
|
15
|
+
autoplay: 'autoplay',
|
|
16
|
+
book: 'book',
|
|
17
|
+
bot: 'bot',
|
|
18
|
+
caption: 'caption',
|
|
19
|
+
caseSensitive: 'caseSensitive',
|
|
20
|
+
color: 'color',
|
|
21
|
+
colorTag: 'colorTag',
|
|
22
|
+
computerLanguage: 'computerLanguage',
|
|
23
|
+
copyright: 'copyright',
|
|
24
|
+
coverImage: 'coverImage',
|
|
25
|
+
date: 'date',
|
|
26
|
+
deeplink: 'deeplink',
|
|
27
|
+
duration: 'duration',
|
|
28
|
+
emphasis: 'emphasis',
|
|
29
|
+
example: 'example',
|
|
30
|
+
externalId: 'externalId',
|
|
31
|
+
externalLink: 'externalLink',
|
|
32
|
+
externalLinkText: 'externalLinkText',
|
|
33
|
+
flashcardSet: 'flashcardSet',
|
|
34
|
+
focusX: 'focusX',
|
|
35
|
+
focusY: 'focusY',
|
|
36
|
+
format: 'format',
|
|
37
|
+
height: 'height',
|
|
38
|
+
icon: 'icon',
|
|
39
|
+
iconTag: 'iconTag',
|
|
40
|
+
id: 'id',
|
|
41
|
+
imageSource: 'imageSource',
|
|
42
|
+
isInfoOnly: 'isInfoOnly',
|
|
43
|
+
isTracked: 'isTracked',
|
|
44
|
+
kind: 'kind',
|
|
45
|
+
labelFalse: 'labelFalse',
|
|
46
|
+
labelTrue: 'labelTrue',
|
|
47
|
+
language: 'language',
|
|
48
|
+
level: 'level',
|
|
49
|
+
license: 'license',
|
|
50
|
+
list: 'list',
|
|
51
|
+
location: 'location',
|
|
52
|
+
longAnswer: 'longAnswer',
|
|
53
|
+
markConfig: 'markConfig',
|
|
54
|
+
property_mark: 'property_mark',
|
|
55
|
+
mockupId: 'mockupId',
|
|
56
|
+
mute: 'mute',
|
|
57
|
+
padletId: 'padletId',
|
|
58
|
+
partialAnswer: 'partialAnswer',
|
|
59
|
+
partner: 'partner',
|
|
60
|
+
posterImage: 'posterImage',
|
|
61
|
+
progress: 'progress',
|
|
62
|
+
publications: 'publications',
|
|
63
|
+
publisher: 'publisher',
|
|
64
|
+
quotedPerson: 'quotedPerson',
|
|
65
|
+
reaction: 'reaction',
|
|
66
|
+
property_reference: 'property_reference',
|
|
67
|
+
releaseVersion: 'releaseVersion',
|
|
68
|
+
property_sampleSolution: 'property_sampleSolution',
|
|
69
|
+
shortAnswer: 'shortAnswer',
|
|
70
|
+
showInIndex: 'showInIndex',
|
|
71
|
+
showSubtitles: 'showSubtitles',
|
|
72
|
+
siteName: 'siteName',
|
|
73
|
+
size: 'size',
|
|
74
|
+
spaceId: 'spaceId',
|
|
75
|
+
src1x: 'src1x',
|
|
76
|
+
src2x: 'src2x',
|
|
77
|
+
src3x: 'src3x',
|
|
78
|
+
src4x: 'src4x',
|
|
79
|
+
subject: 'subject',
|
|
80
|
+
subtype: 'subtype',
|
|
81
|
+
tag: 'tag',
|
|
82
|
+
target: 'target',
|
|
83
|
+
textReference: 'textReference',
|
|
84
|
+
theme: 'theme',
|
|
85
|
+
thumbImage: 'thumbImage',
|
|
86
|
+
toc: 'toc',
|
|
87
|
+
trim: 'trim',
|
|
88
|
+
type: 'type',
|
|
89
|
+
videoCallLink: 'videoCallLink',
|
|
90
|
+
width: 'width',
|
|
91
|
+
};
|
|
92
|
+
exports.propertyConfigKeys = propertyConfigKeys;
|
|
93
|
+
const PropertyConfigKey = (0, superenum_1.superenum)(propertyConfigKeys);
|
|
94
|
+
exports.PropertyConfigKey = PropertyConfigKey;
|
|
95
|
+
//# sourceMappingURL=PropertyConfigKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropertyConfigKey.js","sourceRoot":"","sources":["../../../../../src/model/config/enum/PropertyConfigKey.ts"],"names":[],"mappings":";;;AAAA,kDAAyD;AAEzD;;GAEG;AACH,MAAM,kBAAkB,GAAG;IACzB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,kBAAkB;IACpC,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE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