@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.
Files changed (81) hide show
  1. package/dist/browser/bitmark-parser-generator.min.js +1 -1
  2. package/dist/browser/bundle-report.html +2 -2
  3. package/dist/cjs/ast/Builder.js +4 -4
  4. package/dist/cjs/ast/Builder.js.map +1 -1
  5. package/dist/cjs/config/ConfigHydrator.js +9 -5
  6. package/dist/cjs/config/ConfigHydrator.js.map +1 -1
  7. package/dist/cjs/config/raw/bits.js +147 -145
  8. package/dist/cjs/config/raw/bits.js.map +1 -1
  9. package/dist/cjs/config/raw/cardSets.js +38 -35
  10. package/dist/cjs/config/raw/cardSets.js.map +1 -1
  11. package/dist/cjs/config/raw/groups.js +177 -174
  12. package/dist/cjs/config/raw/groups.js.map +1 -1
  13. package/dist/cjs/config/raw/properties.js +83 -83
  14. package/dist/cjs/config/raw/properties.js.map +1 -1
  15. package/dist/cjs/config/raw/resources.js +23 -23
  16. package/dist/cjs/config/raw/resources.js.map +1 -1
  17. package/dist/cjs/config/raw/tags.js +16 -16
  18. package/dist/cjs/config/raw/tags.js.map +1 -1
  19. package/dist/cjs/generated/build-info.js +1 -1
  20. package/dist/cjs/index.js +5 -1
  21. package/dist/cjs/index.js.map +1 -1
  22. package/dist/cjs/model/config/enum/ConfigKey.js +22 -167
  23. package/dist/cjs/model/config/enum/ConfigKey.js.map +1 -1
  24. package/dist/cjs/model/config/enum/GroupConfigKey.js +52 -0
  25. package/dist/cjs/model/config/enum/GroupConfigKey.js.map +1 -0
  26. package/dist/cjs/model/config/enum/PropertyConfigKey.js +95 -0
  27. package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -0
  28. package/dist/cjs/model/config/enum/ResourceConfigKey.js +37 -0
  29. package/dist/cjs/model/config/enum/ResourceConfigKey.js.map +1 -0
  30. package/dist/cjs/model/config/enum/TagConfigKey.js +28 -0
  31. package/dist/cjs/model/config/enum/TagConfigKey.js.map +1 -0
  32. package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +6 -6
  33. package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
  34. package/dist/esm/ast/Builder.js +4 -4
  35. package/dist/esm/ast/Builder.js.map +1 -1
  36. package/dist/esm/config/ConfigHydrator.js +9 -5
  37. package/dist/esm/config/ConfigHydrator.js.map +1 -1
  38. package/dist/esm/config/raw/bits.js +147 -145
  39. package/dist/esm/config/raw/bits.js.map +1 -1
  40. package/dist/esm/config/raw/cardSets.js +38 -35
  41. package/dist/esm/config/raw/cardSets.js.map +1 -1
  42. package/dist/esm/config/raw/groups.js +177 -174
  43. package/dist/esm/config/raw/groups.js.map +1 -1
  44. package/dist/esm/config/raw/properties.js +83 -83
  45. package/dist/esm/config/raw/properties.js.map +1 -1
  46. package/dist/esm/config/raw/resources.js +23 -23
  47. package/dist/esm/config/raw/resources.js.map +1 -1
  48. package/dist/esm/config/raw/tags.js +16 -16
  49. package/dist/esm/config/raw/tags.js.map +1 -1
  50. package/dist/esm/generated/build-info.js +1 -1
  51. package/dist/esm/index.js +2 -0
  52. package/dist/esm/index.js.map +1 -1
  53. package/dist/esm/model/config/enum/ConfigKey.js +22 -167
  54. package/dist/esm/model/config/enum/ConfigKey.js.map +1 -1
  55. package/dist/esm/model/config/enum/GroupConfigKey.js +48 -0
  56. package/dist/esm/model/config/enum/GroupConfigKey.js.map +1 -0
  57. package/dist/esm/model/config/enum/PropertyConfigKey.js +91 -0
  58. package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -0
  59. package/dist/esm/model/config/enum/ResourceConfigKey.js +33 -0
  60. package/dist/esm/model/config/enum/ResourceConfigKey.js.map +1 -0
  61. package/dist/esm/model/config/enum/TagConfigKey.js +24 -0
  62. package/dist/esm/model/config/enum/TagConfigKey.js.map +1 -0
  63. package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +6 -6
  64. package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
  65. package/dist/types/config/ConfigHydrator.d.ts.map +1 -1
  66. package/dist/types/config/raw/bits.d.ts.map +1 -1
  67. package/dist/types/config/raw/cardSets.d.ts.map +1 -1
  68. package/dist/types/config/raw/groups.d.ts.map +1 -1
  69. package/dist/types/index.d.ts +5 -1
  70. package/dist/types/index.d.ts.map +1 -1
  71. package/dist/types/model/config/enum/ConfigKey.d.ts +319 -316
  72. package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
  73. package/dist/types/model/config/enum/GroupConfigKey.d.ts +129 -0
  74. package/dist/types/model/config/enum/GroupConfigKey.d.ts.map +1 -0
  75. package/dist/types/model/config/enum/PropertyConfigKey.d.ts +258 -0
  76. package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -0
  77. package/dist/types/model/config/enum/ResourceConfigKey.d.ts +78 -0
  78. package/dist/types/model/config/enum/ResourceConfigKey.d.ts.map +1 -0
  79. package/dist/types/model/config/enum/TagConfigKey.d.ts +57 -0
  80. package/dist/types/model/config/enum/TagConfigKey.d.ts.map +1 -0
  81. package/package.json +1 -3
@@ -1,5 +1,7 @@
1
1
  import { CardSetConfigKey } from '../../model/config/enum/CardSetConfigKey';
2
- import { ConfigKey } from '../../model/config/enum/ConfigKey';
2
+ import { GroupConfigKey } from '../../model/config/enum/GroupConfigKey';
3
+ import { PropertyConfigKey } from '../../model/config/enum/PropertyConfigKey';
4
+ import { TagConfigKey } from '../../model/config/enum/TagConfigKey';
3
5
  import { BitTagType } from '../../model/enum/BitTagType';
4
6
  import { AliasBitType, RootBitType } from '../../model/enum/BitType';
5
7
  import { Count } from '../../model/enum/Count';
@@ -16,15 +18,15 @@ const BITS = {
16
18
  tags: [
17
19
  {
18
20
  type: BitTagType.group,
19
- configKey: ConfigKey._group_standardTags,
21
+ configKey: GroupConfigKey.group_standardTags,
20
22
  },
21
23
  {
22
24
  type: BitTagType.tag,
23
- configKey: ConfigKey._tag_title,
25
+ configKey: TagConfigKey.title,
24
26
  },
25
27
  {
26
28
  type: BitTagType.property,
27
- configKey: ConfigKey._property_flashcardSet,
29
+ configKey: PropertyConfigKey.flashcardSet,
28
30
  maxCount: Count.infinity,
29
31
  },
30
32
  ],
@@ -41,11 +43,11 @@ const BITS = {
41
43
  tags: [
42
44
  {
43
45
  type: BitTagType.group,
44
- configKey: ConfigKey._group_standardTags,
46
+ configKey: GroupConfigKey.group_standardTags,
45
47
  },
46
48
  {
47
49
  type: BitTagType.group,
48
- configKey: ConfigKey._group_resourceAppLink,
50
+ configKey: GroupConfigKey.group_resourceAppLink,
49
51
  minCount: 1,
50
52
  },
51
53
  ],
@@ -56,11 +58,11 @@ const BITS = {
56
58
  tags: [
57
59
  {
58
60
  type: BitTagType.group,
59
- configKey: ConfigKey._group_standardTags,
61
+ configKey: GroupConfigKey.group_standardTags,
60
62
  },
61
63
  {
62
64
  type: BitTagType.tag,
63
- configKey: ConfigKey._tag_title,
65
+ configKey: TagConfigKey.title,
64
66
  },
65
67
  ],
66
68
  resourceAttachmentAllowed: true,
@@ -75,11 +77,11 @@ const BITS = {
75
77
  tags: [
76
78
  {
77
79
  type: BitTagType.group,
78
- configKey: ConfigKey._group_standardTags,
80
+ configKey: GroupConfigKey.group_standardTags,
79
81
  },
80
82
  {
81
83
  type: BitTagType.group,
82
- configKey: ConfigKey._group_resourceArticleEmbed,
84
+ configKey: GroupConfigKey.group_resourceArticleEmbed,
83
85
  minCount: 1,
84
86
  },
85
87
  ],
@@ -90,11 +92,11 @@ const BITS = {
90
92
  tags: [
91
93
  {
92
94
  type: BitTagType.group,
93
- configKey: ConfigKey._group_standardTags,
95
+ configKey: GroupConfigKey.group_standardTags,
94
96
  },
95
97
  {
96
98
  type: BitTagType.group,
97
- configKey: ConfigKey._group_resourceArticleLink,
99
+ configKey: GroupConfigKey.group_resourceArticleLink,
98
100
  minCount: 1,
99
101
  },
100
102
  ],
@@ -105,11 +107,11 @@ const BITS = {
105
107
  tags: [
106
108
  {
107
109
  type: BitTagType.group,
108
- configKey: ConfigKey._group_standardTags,
110
+ configKey: GroupConfigKey.group_standardTags,
109
111
  },
110
112
  {
111
113
  type: BitTagType.group,
112
- configKey: ConfigKey._group_resourceAudio,
114
+ configKey: GroupConfigKey.group_resourceAudio,
113
115
  minCount: 1,
114
116
  },
115
117
  ],
@@ -120,11 +122,11 @@ const BITS = {
120
122
  tags: [
121
123
  {
122
124
  type: BitTagType.group,
123
- configKey: ConfigKey._group_standardTags,
125
+ configKey: GroupConfigKey.group_standardTags,
124
126
  },
125
127
  {
126
128
  type: BitTagType.group,
127
- configKey: ConfigKey._group_resourceAudioEmbed,
129
+ configKey: GroupConfigKey.group_resourceAudioEmbed,
128
130
  minCount: 1,
129
131
  },
130
132
  ],
@@ -135,11 +137,11 @@ const BITS = {
135
137
  tags: [
136
138
  {
137
139
  type: BitTagType.group,
138
- configKey: ConfigKey._group_standardTags,
140
+ configKey: GroupConfigKey.group_standardTags,
139
141
  },
140
142
  {
141
143
  type: BitTagType.group,
142
- configKey: ConfigKey._group_resourceAudioLink,
144
+ configKey: GroupConfigKey.group_resourceAudioLink,
143
145
  minCount: 1,
144
146
  },
145
147
  ],
@@ -150,15 +152,15 @@ const BITS = {
150
152
  tags: [
151
153
  {
152
154
  type: BitTagType.group,
153
- configKey: ConfigKey._group_standardTags,
155
+ configKey: GroupConfigKey.group_standardTags,
154
156
  },
155
157
  {
156
158
  type: BitTagType.tag,
157
- configKey: ConfigKey._tag_reference,
159
+ configKey: TagConfigKey.tag_reference,
158
160
  },
159
161
  {
160
162
  type: BitTagType.tag,
161
- configKey: ConfigKey._tag_anchor,
163
+ configKey: TagConfigKey.anchor,
162
164
  },
163
165
  ],
164
166
  bodyAllowed: true,
@@ -168,41 +170,41 @@ const BITS = {
168
170
  tags: [
169
171
  {
170
172
  type: BitTagType.group,
171
- configKey: ConfigKey._group_standardTags,
173
+ configKey: GroupConfigKey.group_standardTags,
172
174
  },
173
175
  {
174
176
  type: BitTagType.property,
175
- configKey: ConfigKey._property_spaceId,
177
+ configKey: PropertyConfigKey.spaceId,
176
178
  maxCount: Count.infinity,
177
179
  },
178
180
  {
179
181
  type: BitTagType.tag,
180
- configKey: ConfigKey._tag_title,
182
+ configKey: TagConfigKey.title,
181
183
  maxCount: 2,
182
184
  },
183
185
  {
184
186
  type: BitTagType.property,
185
- configKey: ConfigKey._property_subtype,
187
+ configKey: PropertyConfigKey.subtype,
186
188
  },
187
189
  {
188
190
  type: BitTagType.property,
189
- configKey: ConfigKey._property_coverImage,
191
+ configKey: PropertyConfigKey.coverImage,
190
192
  },
191
193
  {
192
194
  type: BitTagType.property,
193
- configKey: ConfigKey._property_publisher,
195
+ configKey: PropertyConfigKey.publisher,
194
196
  },
195
197
  {
196
198
  type: BitTagType.property,
197
- configKey: ConfigKey._property_subject,
199
+ configKey: PropertyConfigKey.subject,
198
200
  },
199
201
  {
200
202
  type: BitTagType.property,
201
- configKey: ConfigKey._property_author,
203
+ configKey: PropertyConfigKey.author,
202
204
  },
203
205
  {
204
206
  type: BitTagType.property,
205
- configKey: ConfigKey._property_theme,
207
+ configKey: PropertyConfigKey.theme,
206
208
  },
207
209
  ],
208
210
  bodyAllowed: true,
@@ -245,7 +247,7 @@ const BITS = {
245
247
  tags: [
246
248
  {
247
249
  type: BitTagType.group,
248
- configKey: ConfigKey._group_standardTags,
250
+ configKey: GroupConfigKey.group_standardTags,
249
251
  },
250
252
  ],
251
253
  cardSet: CardSetConfigKey._botActionResponses,
@@ -257,11 +259,11 @@ const BITS = {
257
259
  tags: [
258
260
  {
259
261
  type: BitTagType.group,
260
- configKey: ConfigKey._group_standardTags,
262
+ configKey: GroupConfigKey.group_standardTags,
261
263
  },
262
264
  {
263
265
  type: BitTagType.property,
264
- configKey: ConfigKey._property_date,
266
+ configKey: PropertyConfigKey.date,
265
267
  },
266
268
  ],
267
269
  bodyAllowed: true,
@@ -271,20 +273,20 @@ const BITS = {
271
273
  tags: [
272
274
  {
273
275
  type: BitTagType.group,
274
- configKey: ConfigKey._group_standardTags,
276
+ configKey: GroupConfigKey.group_standardTags,
275
277
  },
276
278
  {
277
279
  type: BitTagType.group,
278
- configKey: ConfigKey._group_resourceImage,
280
+ configKey: GroupConfigKey.group_resourceImage,
279
281
  minCount: 1,
280
282
  },
281
283
  {
282
284
  type: BitTagType.property,
283
- configKey: ConfigKey._property_focusX,
285
+ configKey: PropertyConfigKey.focusX,
284
286
  },
285
287
  {
286
288
  type: BitTagType.property,
287
- configKey: ConfigKey._property_focusY,
289
+ configKey: PropertyConfigKey.focusY,
288
290
  },
289
291
  ],
290
292
  bodyAllowed: true,
@@ -294,7 +296,7 @@ const BITS = {
294
296
  tags: [
295
297
  {
296
298
  type: BitTagType.group,
297
- configKey: ConfigKey._group_standardTags,
299
+ configKey: GroupConfigKey.group_standardTags,
298
300
  },
299
301
  ],
300
302
  resourceAttachmentAllowed: true,
@@ -310,15 +312,15 @@ const BITS = {
310
312
  tags: [
311
313
  {
312
314
  type: BitTagType.group,
313
- configKey: ConfigKey._group_standardTags,
315
+ configKey: GroupConfigKey.group_standardTags,
314
316
  },
315
317
  {
316
318
  type: BitTagType.tag,
317
- configKey: ConfigKey._tag_anchor,
319
+ configKey: TagConfigKey.anchor,
318
320
  },
319
321
  {
320
322
  type: BitTagType.tag,
321
- configKey: ConfigKey._tag_title,
323
+ configKey: TagConfigKey.title,
322
324
  },
323
325
  ],
324
326
  bodyAllowed: true,
@@ -328,15 +330,15 @@ const BITS = {
328
330
  tags: [
329
331
  {
330
332
  type: BitTagType.group,
331
- configKey: ConfigKey._group_standardTags,
333
+ configKey: GroupConfigKey.group_standardTags,
332
334
  },
333
335
  {
334
336
  type: BitTagType.group,
335
- configKey: ConfigKey._group_gap,
337
+ configKey: GroupConfigKey.group_gap,
336
338
  },
337
339
  {
338
340
  type: BitTagType.group,
339
- configKey: ConfigKey._group_trueFalse,
341
+ configKey: GroupConfigKey.group_trueFalse,
340
342
  },
341
343
  ],
342
344
  resourceAttachmentAllowed: true,
@@ -350,11 +352,11 @@ const BITS = {
350
352
  tags: [
351
353
  {
352
354
  type: BitTagType.group,
353
- configKey: ConfigKey._group_standardTags,
355
+ configKey: GroupConfigKey.group_standardTags,
354
356
  },
355
357
  {
356
358
  type: BitTagType.group,
357
- configKey: ConfigKey._group_gap,
359
+ configKey: GroupConfigKey.group_gap,
358
360
  },
359
361
  ],
360
362
  resourceAttachmentAllowed: true,
@@ -371,11 +373,11 @@ const BITS = {
371
373
  tags: [
372
374
  {
373
375
  type: BitTagType.group,
374
- configKey: ConfigKey._group_standardTags,
376
+ configKey: GroupConfigKey.group_standardTags,
375
377
  },
376
378
  {
377
379
  type: BitTagType.property,
378
- configKey: ConfigKey._property_computerLanguage,
380
+ configKey: PropertyConfigKey.computerLanguage,
379
381
  },
380
382
  ],
381
383
  bodyAllowed: true,
@@ -385,11 +387,11 @@ const BITS = {
385
387
  tags: [
386
388
  {
387
389
  type: BitTagType.group,
388
- configKey: ConfigKey._group_standardTags,
390
+ configKey: GroupConfigKey.group_standardTags,
389
391
  },
390
392
  {
391
393
  type: BitTagType.group,
392
- configKey: ConfigKey._group_partner,
394
+ configKey: GroupConfigKey.group_partner,
393
395
  },
394
396
  ],
395
397
  resourceAttachmentAllowed: true,
@@ -407,11 +409,11 @@ const BITS = {
407
409
  tags: [
408
410
  {
409
411
  type: BitTagType.group,
410
- configKey: ConfigKey._group_standardTags,
412
+ configKey: GroupConfigKey.group_standardTags,
411
413
  },
412
414
  {
413
415
  type: BitTagType.group,
414
- configKey: ConfigKey._group_resourceDocument,
416
+ configKey: GroupConfigKey.group_resourceDocument,
415
417
  minCount: 1,
416
418
  },
417
419
  ],
@@ -422,11 +424,11 @@ const BITS = {
422
424
  tags: [
423
425
  {
424
426
  type: BitTagType.group,
425
- configKey: ConfigKey._group_standardTags,
427
+ configKey: GroupConfigKey.group_standardTags,
426
428
  },
427
429
  {
428
430
  type: BitTagType.group,
429
- configKey: ConfigKey._group_resourceDocumentDownload,
431
+ configKey: GroupConfigKey.group_resourceDocumentDownload,
430
432
  minCount: 1,
431
433
  },
432
434
  ],
@@ -437,11 +439,11 @@ const BITS = {
437
439
  tags: [
438
440
  {
439
441
  type: BitTagType.group,
440
- configKey: ConfigKey._group_standardTags,
442
+ configKey: GroupConfigKey.group_standardTags,
441
443
  },
442
444
  {
443
445
  type: BitTagType.group,
444
- configKey: ConfigKey._group_resourceDocumentEmbed,
446
+ configKey: GroupConfigKey.group_resourceDocumentEmbed,
445
447
  minCount: 1,
446
448
  },
447
449
  ],
@@ -452,11 +454,11 @@ const BITS = {
452
454
  tags: [
453
455
  {
454
456
  type: BitTagType.group,
455
- configKey: ConfigKey._group_standardTags,
457
+ configKey: GroupConfigKey.group_standardTags,
456
458
  },
457
459
  {
458
460
  type: BitTagType.group,
459
- configKey: ConfigKey._group_resourceDocumentLink,
461
+ configKey: GroupConfigKey.group_resourceDocumentLink,
460
462
  minCount: 1,
461
463
  },
462
464
  ],
@@ -467,11 +469,11 @@ const BITS = {
467
469
  tags: [
468
470
  {
469
471
  type: BitTagType.group,
470
- configKey: ConfigKey._group_standardTags,
472
+ configKey: GroupConfigKey.group_standardTags,
471
473
  },
472
474
  {
473
475
  type: BitTagType.property,
474
- configKey: ConfigKey._property_sampleSolution,
476
+ configKey: PropertyConfigKey.property_sampleSolution,
475
477
  },
476
478
  ],
477
479
  resourceAttachmentAllowed: true,
@@ -487,11 +489,11 @@ const BITS = {
487
489
  tags: [
488
490
  {
489
491
  type: BitTagType.group,
490
- configKey: ConfigKey._group_standardTags,
492
+ configKey: GroupConfigKey.group_standardTags,
491
493
  },
492
494
  {
493
495
  type: BitTagType.tag,
494
- configKey: ConfigKey._tag_title,
496
+ configKey: TagConfigKey.title,
495
497
  },
496
498
  ],
497
499
  resourceAttachmentAllowed: true,
@@ -585,7 +587,7 @@ const BITS = {
585
587
  tags: [
586
588
  {
587
589
  type: BitTagType.group,
588
- configKey: ConfigKey._group_standardTags,
590
+ configKey: GroupConfigKey.group_standardTags,
589
591
  },
590
592
  ],
591
593
  cardSet: CardSetConfigKey._flashcards,
@@ -601,20 +603,20 @@ const BITS = {
601
603
  tags: [
602
604
  {
603
605
  type: BitTagType.group,
604
- configKey: ConfigKey._group_standardTags,
606
+ configKey: GroupConfigKey.group_standardTags,
605
607
  },
606
608
  {
607
609
  type: BitTagType.group,
608
- configKey: ConfigKey._group_resourceImage,
610
+ configKey: GroupConfigKey.group_resourceImage,
609
611
  minCount: 1,
610
612
  },
611
613
  {
612
614
  type: BitTagType.property,
613
- configKey: ConfigKey._property_focusX,
615
+ configKey: PropertyConfigKey.focusX,
614
616
  },
615
617
  {
616
618
  type: BitTagType.property,
617
- configKey: ConfigKey._property_focusY,
619
+ configKey: PropertyConfigKey.focusY,
618
620
  },
619
621
  ],
620
622
  bodyAllowed: true,
@@ -624,11 +626,11 @@ const BITS = {
624
626
  tags: [
625
627
  {
626
628
  type: BitTagType.group,
627
- configKey: ConfigKey._group_standardTags,
629
+ configKey: GroupConfigKey.group_standardTags,
628
630
  },
629
631
  {
630
632
  type: BitTagType.group,
631
- configKey: ConfigKey._group_trueFalse,
633
+ configKey: GroupConfigKey.group_trueFalse,
632
634
  },
633
635
  ],
634
636
  resourceAttachmentAllowed: true,
@@ -639,11 +641,11 @@ const BITS = {
639
641
  tags: [
640
642
  {
641
643
  type: BitTagType.group,
642
- configKey: ConfigKey._group_standardTags,
644
+ configKey: GroupConfigKey.group_standardTags,
643
645
  },
644
646
  {
645
647
  type: BitTagType.group,
646
- configKey: ConfigKey._group_resourceImage,
648
+ configKey: GroupConfigKey.group_resourceImage,
647
649
  minCount: 1,
648
650
  },
649
651
  ],
@@ -673,11 +675,11 @@ const BITS = {
673
675
  tags: [
674
676
  {
675
677
  type: BitTagType.group,
676
- configKey: ConfigKey._group_standardTags,
678
+ configKey: GroupConfigKey.group_standardTags,
677
679
  },
678
680
  {
679
681
  type: BitTagType.group,
680
- configKey: ConfigKey._group_resourceImageLink,
682
+ configKey: GroupConfigKey.group_resourceImageLink,
681
683
  minCount: 1,
682
684
  },
683
685
  ],
@@ -688,15 +690,15 @@ const BITS = {
688
690
  tags: [
689
691
  {
690
692
  type: BitTagType.group,
691
- configKey: ConfigKey._group_standardTags,
693
+ configKey: GroupConfigKey.group_standardTags,
692
694
  },
693
695
  {
694
696
  type: BitTagType.group,
695
- configKey: ConfigKey._group_resourceImage,
697
+ configKey: GroupConfigKey.group_resourceImage,
696
698
  },
697
699
  {
698
700
  type: BitTagType.group,
699
- configKey: ConfigKey._group_imageSource,
701
+ configKey: GroupConfigKey.group_imageSource,
700
702
  },
701
703
  ],
702
704
  bodyAllowed: true,
@@ -706,12 +708,12 @@ const BITS = {
706
708
  tags: [
707
709
  {
708
710
  type: BitTagType.group,
709
- configKey: ConfigKey._group_standardTags,
711
+ configKey: GroupConfigKey.group_standardTags,
710
712
  },
711
713
  {
712
714
  // Combo resource
713
715
  type: BitTagType.group,
714
- configKey: ConfigKey._group_resourceImageResponsive,
716
+ configKey: GroupConfigKey.group_resourceImageResponsive,
715
717
  },
716
718
  ],
717
719
  bodyAllowed: true, // false??
@@ -721,11 +723,11 @@ const BITS = {
721
723
  tags: [
722
724
  {
723
725
  type: BitTagType.group,
724
- configKey: ConfigKey._group_standardTags,
726
+ configKey: GroupConfigKey.group_standardTags,
725
727
  },
726
728
  {
727
729
  type: BitTagType.tag,
728
- configKey: ConfigKey._tag_reference,
730
+ configKey: TagConfigKey.tag_reference,
729
731
  },
730
732
  ],
731
733
  bodyAllowed: true,
@@ -735,7 +737,7 @@ const BITS = {
735
737
  tags: [
736
738
  {
737
739
  type: BitTagType.group,
738
- configKey: ConfigKey._group_standardTags,
740
+ configKey: GroupConfigKey.group_standardTags,
739
741
  },
740
742
  ],
741
743
  cardSet: CardSetConfigKey._questions,
@@ -752,11 +754,11 @@ const BITS = {
752
754
  tags: [
753
755
  {
754
756
  type: BitTagType.group,
755
- configKey: ConfigKey._group_standardTags,
757
+ configKey: GroupConfigKey.group_standardTags,
756
758
  },
757
759
  {
758
760
  type: BitTagType.group,
759
- configKey: ConfigKey._group_learningPathCommon,
761
+ configKey: GroupConfigKey.group_learningPathCommon,
760
762
  },
761
763
  ],
762
764
  resourceAttachmentAllowed: true,
@@ -781,19 +783,19 @@ const BITS = {
781
783
  tags: [
782
784
  {
783
785
  type: BitTagType.group,
784
- configKey: ConfigKey._group_standardTags,
786
+ configKey: GroupConfigKey.group_standardTags,
785
787
  },
786
788
  {
787
789
  type: BitTagType.group,
788
- configKey: ConfigKey._group_learningPathCommon,
790
+ configKey: GroupConfigKey.group_learningPathCommon,
789
791
  },
790
792
  {
791
793
  type: BitTagType.property,
792
- configKey: ConfigKey._property_externalLink,
794
+ configKey: PropertyConfigKey.externalLink,
793
795
  },
794
796
  {
795
797
  type: BitTagType.property,
796
- configKey: ConfigKey._property_externalLinkText,
798
+ configKey: PropertyConfigKey.externalLinkText,
797
799
  },
798
800
  ],
799
801
  resourceAttachmentAllowed: true,
@@ -804,15 +806,15 @@ const BITS = {
804
806
  tags: [
805
807
  {
806
808
  type: BitTagType.group,
807
- configKey: ConfigKey._group_standardTags,
809
+ configKey: GroupConfigKey.group_standardTags,
808
810
  },
809
811
  {
810
812
  type: BitTagType.group,
811
- configKey: ConfigKey._group_learningPathCommon,
813
+ configKey: GroupConfigKey.group_learningPathCommon,
812
814
  },
813
815
  {
814
816
  type: BitTagType.property,
815
- configKey: ConfigKey._property_videoCallLink,
817
+ configKey: PropertyConfigKey.videoCallLink,
816
818
  },
817
819
  ],
818
820
  resourceAttachmentAllowed: true,
@@ -823,15 +825,15 @@ const BITS = {
823
825
  tags: [
824
826
  {
825
827
  type: BitTagType.group,
826
- configKey: ConfigKey._group_standardTags,
828
+ configKey: GroupConfigKey.group_standardTags,
827
829
  },
828
830
  {
829
831
  type: BitTagType.group,
830
- configKey: ConfigKey._group_markConfig,
832
+ configKey: GroupConfigKey.group_markConfig,
831
833
  },
832
834
  {
833
835
  type: BitTagType.group,
834
- configKey: ConfigKey._group_mark,
836
+ configKey: GroupConfigKey.group_mark,
835
837
  },
836
838
  ],
837
839
  resourceAttachmentAllowed: true,
@@ -842,7 +844,7 @@ const BITS = {
842
844
  tags: [
843
845
  {
844
846
  type: BitTagType.group,
845
- configKey: ConfigKey._group_standardTags,
847
+ configKey: GroupConfigKey.group_standardTags,
846
848
  },
847
849
  ],
848
850
  cardSet: CardSetConfigKey._matchPairs,
@@ -861,7 +863,7 @@ const BITS = {
861
863
  tags: [
862
864
  {
863
865
  type: BitTagType.group,
864
- configKey: ConfigKey._group_standardTags,
866
+ configKey: GroupConfigKey.group_standardTags,
865
867
  },
866
868
  ],
867
869
  cardSet: CardSetConfigKey._matchMatrix,
@@ -874,7 +876,7 @@ const BITS = {
874
876
  tags: [
875
877
  {
876
878
  type: BitTagType.group,
877
- configKey: ConfigKey._group_standardTags,
879
+ configKey: GroupConfigKey.group_standardTags,
878
880
  },
879
881
  ],
880
882
  cardSet: CardSetConfigKey._matchAudioPairs,
@@ -887,7 +889,7 @@ const BITS = {
887
889
  tags: [
888
890
  {
889
891
  type: BitTagType.group,
890
- configKey: ConfigKey._group_standardTags,
892
+ configKey: GroupConfigKey.group_standardTags,
891
893
  },
892
894
  ],
893
895
  cardSet: CardSetConfigKey._matchImagePairs,
@@ -900,11 +902,11 @@ const BITS = {
900
902
  tags: [
901
903
  {
902
904
  type: BitTagType.group,
903
- configKey: ConfigKey._group_standardTags,
905
+ configKey: GroupConfigKey.group_standardTags,
904
906
  },
905
907
  {
906
908
  type: BitTagType.group,
907
- configKey: ConfigKey._group_trueFalse,
909
+ configKey: GroupConfigKey.group_trueFalse,
908
910
  },
909
911
  ],
910
912
  resourceAttachmentAllowed: true,
@@ -918,11 +920,11 @@ const BITS = {
918
920
  tags: [
919
921
  {
920
922
  type: BitTagType.group,
921
- configKey: ConfigKey._group_standardTags,
923
+ configKey: GroupConfigKey.group_standardTags,
922
924
  },
923
925
  {
924
926
  type: BitTagType.group,
925
- configKey: ConfigKey._group_trueFalse,
927
+ configKey: GroupConfigKey.group_trueFalse,
926
928
  }, // This is actually for multiple-choice-1, but we support it here as well (as many bits are wrong)
927
929
  ],
928
930
  cardSet: CardSetConfigKey._quiz,
@@ -938,11 +940,11 @@ const BITS = {
938
940
  tags: [
939
941
  {
940
942
  type: BitTagType.group,
941
- configKey: ConfigKey._group_standardTags,
943
+ configKey: GroupConfigKey.group_standardTags,
942
944
  },
943
945
  {
944
946
  type: BitTagType.group,
945
- configKey: ConfigKey._group_trueFalse,
947
+ configKey: GroupConfigKey.group_trueFalse,
946
948
  },
947
949
  ],
948
950
  resourceAttachmentAllowed: true,
@@ -957,11 +959,11 @@ const BITS = {
957
959
  tags: [
958
960
  {
959
961
  type: BitTagType.group,
960
- configKey: ConfigKey._group_standardTags,
962
+ configKey: GroupConfigKey.group_standardTags,
961
963
  },
962
964
  {
963
965
  type: BitTagType.group,
964
- configKey: ConfigKey._group_trueFalse,
966
+ configKey: GroupConfigKey.group_trueFalse,
965
967
  },
966
968
  ],
967
969
  resourceAttachmentAllowed: true,
@@ -975,11 +977,11 @@ const BITS = {
975
977
  tags: [
976
978
  {
977
979
  type: BitTagType.group,
978
- configKey: ConfigKey._group_standardTags,
980
+ configKey: GroupConfigKey.group_standardTags,
979
981
  },
980
982
  {
981
983
  type: BitTagType.group,
982
- configKey: ConfigKey._group_trueFalse,
984
+ configKey: GroupConfigKey.group_trueFalse,
983
985
  }, // This is actually for multiple-response-1, but we support it here as well (as many bits are wrong)
984
986
  ],
985
987
  cardSet: CardSetConfigKey._quiz,
@@ -995,11 +997,11 @@ const BITS = {
995
997
  tags: [
996
998
  {
997
999
  type: BitTagType.group,
998
- configKey: ConfigKey._group_standardTags,
1000
+ configKey: GroupConfigKey.group_standardTags,
999
1001
  },
1000
1002
  {
1001
1003
  type: BitTagType.group,
1002
- configKey: ConfigKey._group_resourceImage,
1004
+ configKey: GroupConfigKey.group_resourceImage,
1003
1005
  minCount: 1,
1004
1006
  },
1005
1007
  ],
@@ -1010,11 +1012,11 @@ const BITS = {
1010
1012
  tags: [
1011
1013
  {
1012
1014
  type: BitTagType.group,
1013
- configKey: ConfigKey._group_standardTags,
1015
+ configKey: GroupConfigKey.group_standardTags,
1014
1016
  },
1015
1017
  {
1016
1018
  type: BitTagType.property,
1017
- configKey: ConfigKey._property_quotedPerson,
1019
+ configKey: PropertyConfigKey.quotedPerson,
1018
1020
  },
1019
1021
  ],
1020
1022
  bodyAllowed: true,
@@ -1024,7 +1026,7 @@ const BITS = {
1024
1026
  tags: [
1025
1027
  {
1026
1028
  type: BitTagType.group,
1027
- configKey: ConfigKey._group_standardTags,
1029
+ configKey: GroupConfigKey.group_standardTags,
1028
1030
  },
1029
1031
  ],
1030
1032
  bodyAllowed: true,
@@ -1037,11 +1039,11 @@ const BITS = {
1037
1039
  tags: [
1038
1040
  {
1039
1041
  type: BitTagType.group,
1040
- configKey: ConfigKey._group_standardTags,
1042
+ configKey: GroupConfigKey.group_standardTags,
1041
1043
  },
1042
1044
  {
1043
1045
  type: BitTagType.property,
1044
- configKey: ConfigKey._property_releaseVersion,
1046
+ configKey: PropertyConfigKey.releaseVersion,
1045
1047
  },
1046
1048
  ],
1047
1049
  resourceAttachmentAllowed: true,
@@ -1052,16 +1054,16 @@ const BITS = {
1052
1054
  tags: [
1053
1055
  {
1054
1056
  type: BitTagType.group,
1055
- configKey: ConfigKey._group_standardTags,
1057
+ configKey: GroupConfigKey.group_standardTags,
1056
1058
  },
1057
1059
  // Not sure if these are actually valid here, but include them as they are in the test bit.
1058
1060
  {
1059
1061
  type: BitTagType.tag,
1060
- configKey: ConfigKey._tag_anchor,
1062
+ configKey: TagConfigKey.anchor,
1061
1063
  },
1062
1064
  {
1063
1065
  type: BitTagType.tag,
1064
- configKey: ConfigKey._tag_reference,
1066
+ configKey: TagConfigKey.tag_reference,
1065
1067
  },
1066
1068
  ],
1067
1069
  resourceAttachmentAllowed: true,
@@ -1072,7 +1074,7 @@ const BITS = {
1072
1074
  tags: [
1073
1075
  {
1074
1076
  type: BitTagType.group,
1075
- configKey: ConfigKey._group_standardTags,
1077
+ configKey: GroupConfigKey.group_standardTags,
1076
1078
  },
1077
1079
  ],
1078
1080
  cardSet: CardSetConfigKey._elements,
@@ -1086,12 +1088,12 @@ const BITS = {
1086
1088
  tags: [
1087
1089
  {
1088
1090
  type: BitTagType.group,
1089
- configKey: ConfigKey._group_standardTags,
1091
+ configKey: GroupConfigKey.group_standardTags,
1090
1092
  },
1091
1093
  {
1092
1094
  // Combo resource
1093
1095
  type: BitTagType.group,
1094
- configKey: ConfigKey._group_resourceStillImageFilm,
1096
+ configKey: GroupConfigKey.group_resourceStillImageFilm,
1095
1097
  },
1096
1098
  ],
1097
1099
  bodyAllowed: true,
@@ -1101,11 +1103,11 @@ const BITS = {
1101
1103
  tags: [
1102
1104
  {
1103
1105
  type: BitTagType.group,
1104
- configKey: ConfigKey._group_standardTags,
1106
+ configKey: GroupConfigKey.group_standardTags,
1105
1107
  },
1106
1108
  {
1107
1109
  type: BitTagType.group,
1108
- configKey: ConfigKey._group_resourceStillImageFilmEmbed,
1110
+ configKey: GroupConfigKey.group_resourceStillImageFilmEmbed,
1109
1111
  minCount: 1,
1110
1112
  },
1111
1113
  ],
@@ -1116,11 +1118,11 @@ const BITS = {
1116
1118
  tags: [
1117
1119
  {
1118
1120
  type: BitTagType.group,
1119
- configKey: ConfigKey._group_standardTags,
1121
+ configKey: GroupConfigKey.group_standardTags,
1120
1122
  },
1121
1123
  {
1122
1124
  type: BitTagType.group,
1123
- configKey: ConfigKey._group_resourceStillImageFilmLink,
1125
+ configKey: GroupConfigKey.group_resourceStillImageFilmLink,
1124
1126
  minCount: 1,
1125
1127
  },
1126
1128
  ],
@@ -1131,7 +1133,7 @@ const BITS = {
1131
1133
  tags: [
1132
1134
  {
1133
1135
  type: BitTagType.group,
1134
- configKey: ConfigKey._group_standardTags,
1136
+ configKey: GroupConfigKey.group_standardTags,
1135
1137
  },
1136
1138
  ],
1137
1139
  resourceAttachmentAllowed: true,
@@ -1142,7 +1144,7 @@ const BITS = {
1142
1144
  tags: [
1143
1145
  {
1144
1146
  type: BitTagType.group,
1145
- configKey: ConfigKey._group_standardTags,
1147
+ configKey: GroupConfigKey.group_standardTags,
1146
1148
  },
1147
1149
  ],
1148
1150
  resourceAttachmentAllowed: true,
@@ -1153,7 +1155,7 @@ const BITS = {
1153
1155
  tags: [
1154
1156
  {
1155
1157
  type: BitTagType.group,
1156
- configKey: ConfigKey._group_standardTags,
1158
+ configKey: GroupConfigKey.group_standardTags,
1157
1159
  },
1158
1160
  ],
1159
1161
  bodyAllowed: true,
@@ -1183,23 +1185,23 @@ const BITS = {
1183
1185
  tags: [
1184
1186
  {
1185
1187
  type: BitTagType.group,
1186
- configKey: ConfigKey._group_standardTags,
1188
+ configKey: GroupConfigKey.group_standardTags,
1187
1189
  },
1188
1190
  {
1189
1191
  type: BitTagType.property,
1190
- configKey: ConfigKey._property_labelTrue,
1192
+ configKey: PropertyConfigKey.labelTrue,
1191
1193
  },
1192
1194
  {
1193
1195
  type: BitTagType.property,
1194
- configKey: ConfigKey._property_labelFalse,
1196
+ configKey: PropertyConfigKey.labelFalse,
1195
1197
  },
1196
1198
  {
1197
1199
  type: BitTagType.tag,
1198
- configKey: ConfigKey._tag_true,
1200
+ configKey: TagConfigKey.true,
1199
1201
  },
1200
1202
  {
1201
1203
  type: BitTagType.tag,
1202
- configKey: ConfigKey._tag_false,
1204
+ configKey: TagConfigKey.false,
1203
1205
  },
1204
1206
  ],
1205
1207
  resourceAttachmentAllowed: true,
@@ -1211,15 +1213,15 @@ const BITS = {
1211
1213
  tags: [
1212
1214
  {
1213
1215
  type: BitTagType.group,
1214
- configKey: ConfigKey._group_standardTags,
1216
+ configKey: GroupConfigKey.group_standardTags,
1215
1217
  },
1216
1218
  {
1217
1219
  type: BitTagType.property,
1218
- configKey: ConfigKey._property_labelTrue,
1220
+ configKey: PropertyConfigKey.labelTrue,
1219
1221
  },
1220
1222
  {
1221
1223
  type: BitTagType.property,
1222
- configKey: ConfigKey._property_labelFalse,
1224
+ configKey: PropertyConfigKey.labelFalse,
1223
1225
  },
1224
1226
  ],
1225
1227
  cardSet: CardSetConfigKey._statements,
@@ -1232,11 +1234,11 @@ const BITS = {
1232
1234
  tags: [
1233
1235
  {
1234
1236
  type: BitTagType.group,
1235
- configKey: ConfigKey._group_standardTags,
1237
+ configKey: GroupConfigKey.group_standardTags,
1236
1238
  },
1237
1239
  {
1238
1240
  type: BitTagType.property,
1239
- configKey: ConfigKey._property_padletId,
1241
+ configKey: PropertyConfigKey.padletId,
1240
1242
  },
1241
1243
  ],
1242
1244
  bodyAllowed: true,
@@ -1246,11 +1248,11 @@ const BITS = {
1246
1248
  tags: [
1247
1249
  {
1248
1250
  type: BitTagType.group,
1249
- configKey: ConfigKey._group_standardTags,
1251
+ configKey: GroupConfigKey.group_standardTags,
1250
1252
  },
1251
1253
  {
1252
1254
  type: BitTagType.group,
1253
- configKey: ConfigKey._group_resourceVideo,
1255
+ configKey: GroupConfigKey.group_resourceVideo,
1254
1256
  minCount: 1,
1255
1257
  },
1256
1258
  ],
@@ -1265,11 +1267,11 @@ const BITS = {
1265
1267
  tags: [
1266
1268
  {
1267
1269
  type: BitTagType.group,
1268
- configKey: ConfigKey._group_standardTags,
1270
+ configKey: GroupConfigKey.group_standardTags,
1269
1271
  },
1270
1272
  {
1271
1273
  type: BitTagType.group,
1272
- configKey: ConfigKey._group_resourceVideoEmbed,
1274
+ configKey: GroupConfigKey.group_resourceVideoEmbed,
1273
1275
  minCount: 1,
1274
1276
  },
1275
1277
  ],
@@ -1284,11 +1286,11 @@ const BITS = {
1284
1286
  tags: [
1285
1287
  {
1286
1288
  type: BitTagType.group,
1287
- configKey: ConfigKey._group_standardTags,
1289
+ configKey: GroupConfigKey.group_standardTags,
1288
1290
  },
1289
1291
  {
1290
1292
  type: BitTagType.group,
1291
- configKey: ConfigKey._group_resourceVideoLink,
1293
+ configKey: GroupConfigKey.group_resourceVideoLink,
1292
1294
  minCount: 1,
1293
1295
  },
1294
1296
  ],
@@ -1303,11 +1305,11 @@ const BITS = {
1303
1305
  tags: [
1304
1306
  {
1305
1307
  type: BitTagType.group,
1306
- configKey: ConfigKey._group_standardTags,
1308
+ configKey: GroupConfigKey.group_standardTags,
1307
1309
  },
1308
1310
  {
1309
1311
  type: BitTagType.group,
1310
- configKey: ConfigKey._group_resourceWebsiteLink,
1312
+ configKey: GroupConfigKey.group_resourceWebsiteLink,
1311
1313
  minCount: 1,
1312
1314
  },
1313
1315
  ],