@gmb/bitmark-parser-generator 3.1.0 → 3.2.0

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 (109) 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 +19 -10
  4. package/dist/cjs/ast/Builder.js.map +1 -1
  5. package/dist/cjs/ast/ResourceBuilder.js +3 -2
  6. package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
  7. package/dist/cjs/config/raw/bits.js +163 -379
  8. package/dist/cjs/config/raw/bits.js.map +1 -1
  9. package/dist/cjs/config/raw/cardSets.js +31 -0
  10. package/dist/cjs/config/raw/cardSets.js.map +1 -1
  11. package/dist/cjs/config/raw/groups.js +6 -0
  12. package/dist/cjs/config/raw/groups.js.map +1 -1
  13. package/dist/cjs/config/raw/properties.js +13 -0
  14. package/dist/cjs/config/raw/properties.js.map +1 -1
  15. package/dist/cjs/generated/build-info.js +1 -1
  16. package/dist/cjs/generated/parser/text/text-peggy-parser.js +212 -198
  17. package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -1
  18. package/dist/cjs/generator/bitmark/BitmarkGenerator.js +37 -1
  19. package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
  20. package/dist/cjs/generator/json/JsonGenerator.js +48 -22
  21. package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
  22. package/dist/cjs/generator/text/TextGenerator.js +55 -24
  23. package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
  24. package/dist/cjs/model/ast/NodeType.js +6 -0
  25. package/dist/cjs/model/ast/NodeType.js.map +1 -1
  26. package/dist/cjs/model/config/enum/CardSetConfigKey.js +1 -0
  27. package/dist/cjs/model/config/enum/CardSetConfigKey.js.map +1 -1
  28. package/dist/cjs/model/config/enum/PropertyConfigKey.js +3 -0
  29. package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -1
  30. package/dist/cjs/model/enum/BitType.js +3 -0
  31. package/dist/cjs/model/enum/BitType.js.map +1 -1
  32. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js +18 -4
  33. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
  34. package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +1 -0
  35. package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
  36. package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +55 -6
  37. package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
  38. package/dist/cjs/parser/json/JsonParser.js +2 -2
  39. package/dist/cjs/parser/json/JsonParser.js.map +1 -1
  40. package/dist/esm/ast/Builder.js +19 -10
  41. package/dist/esm/ast/Builder.js.map +1 -1
  42. package/dist/esm/ast/ResourceBuilder.js +3 -2
  43. package/dist/esm/ast/ResourceBuilder.js.map +1 -1
  44. package/dist/esm/config/raw/bits.js +163 -379
  45. package/dist/esm/config/raw/bits.js.map +1 -1
  46. package/dist/esm/config/raw/cardSets.js +31 -0
  47. package/dist/esm/config/raw/cardSets.js.map +1 -1
  48. package/dist/esm/config/raw/groups.js +6 -0
  49. package/dist/esm/config/raw/groups.js.map +1 -1
  50. package/dist/esm/config/raw/properties.js +13 -0
  51. package/dist/esm/config/raw/properties.js.map +1 -1
  52. package/dist/esm/generated/build-info.js +1 -1
  53. package/dist/esm/generated/parser/text/text-peggy-parser.js +212 -198
  54. package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -1
  55. package/dist/esm/generator/bitmark/BitmarkGenerator.js +37 -1
  56. package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
  57. package/dist/esm/generator/json/JsonGenerator.js +48 -22
  58. package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
  59. package/dist/esm/generator/text/TextGenerator.js +55 -24
  60. package/dist/esm/generator/text/TextGenerator.js.map +1 -1
  61. package/dist/esm/model/ast/NodeType.js +6 -0
  62. package/dist/esm/model/ast/NodeType.js.map +1 -1
  63. package/dist/esm/model/config/enum/CardSetConfigKey.js +1 -0
  64. package/dist/esm/model/config/enum/CardSetConfigKey.js.map +1 -1
  65. package/dist/esm/model/config/enum/PropertyConfigKey.js +3 -0
  66. package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -1
  67. package/dist/esm/model/enum/BitType.js +3 -0
  68. package/dist/esm/model/enum/BitType.js.map +1 -1
  69. package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js +18 -4
  70. package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
  71. package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +1 -0
  72. package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
  73. package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +55 -6
  74. package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
  75. package/dist/esm/parser/json/JsonParser.js +2 -2
  76. package/dist/esm/parser/json/JsonParser.js.map +1 -1
  77. package/dist/types/ast/Builder.d.ts +5 -2
  78. package/dist/types/ast/Builder.d.ts.map +1 -1
  79. package/dist/types/ast/ResourceBuilder.d.ts.map +1 -1
  80. package/dist/types/config/raw/bits.d.ts.map +1 -1
  81. package/dist/types/config/raw/cardSets.d.ts.map +1 -1
  82. package/dist/types/config/raw/groups.d.ts.map +1 -1
  83. package/dist/types/config/raw/properties.d.ts.map +1 -1
  84. package/dist/types/generated/parser/text/text-peggy-parser.d.ts.map +1 -1
  85. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +5 -0
  86. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
  87. package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
  88. package/dist/types/generator/text/TextGenerator.d.ts +17 -2
  89. package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
  90. package/dist/types/model/ast/NodeType.d.ts +12 -0
  91. package/dist/types/model/ast/NodeType.d.ts.map +1 -1
  92. package/dist/types/model/ast/Nodes.d.ts +5 -11
  93. package/dist/types/model/ast/Nodes.d.ts.map +1 -1
  94. package/dist/types/model/config/enum/CardSetConfigKey.d.ts +2 -0
  95. package/dist/types/model/config/enum/CardSetConfigKey.d.ts.map +1 -1
  96. package/dist/types/model/config/enum/ConfigKey.d.ts +6 -0
  97. package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
  98. package/dist/types/model/config/enum/PropertyConfigKey.d.ts +9 -0
  99. package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -1
  100. package/dist/types/model/enum/BitType.d.ts +6 -0
  101. package/dist/types/model/enum/BitType.d.ts.map +1 -1
  102. package/dist/types/model/enum/PropertyTag.d.ts +6 -0
  103. package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
  104. package/dist/types/model/json/BitJson.d.ts +10 -0
  105. package/dist/types/model/json/BitJson.d.ts.map +1 -1
  106. package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts.map +1 -1
  107. package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts.map +1 -1
  108. package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts.map +1 -1
  109. package/package.json +1 -1
@@ -16,14 +16,20 @@ const BITS = {
16
16
  since: '1.4.12',
17
17
  tags: [],
18
18
  },
19
- [BitType.appFlashcards]: {
20
- since: '1.3.0',
21
- quizBit: true,
19
+ [BitType._standard]: {
20
+ since: '3.2.0',
22
21
  tags: [
23
22
  {
24
23
  type: BitTagType.group,
25
24
  configKey: GroupConfigKey.group_standardTags,
26
25
  },
26
+ ],
27
+ },
28
+ [BitType.appFlashcards]: {
29
+ since: '1.3.0',
30
+ baseBitType: BitType._standard,
31
+ quizBit: true,
32
+ tags: [
27
33
  {
28
34
  type: BitTagType.group,
29
35
  configKey: GroupConfigKey.group_quizCommon,
@@ -44,11 +50,8 @@ const BITS = {
44
50
  [BitType.appFlashcardsLearn]: { since: '1.3.0', baseBitType: BitType.appFlashcards },
45
51
  [BitType.appLink]: {
46
52
  since: '1.3.0',
53
+ baseBitType: BitType._standard,
47
54
  tags: [
48
- {
49
- type: BitTagType.group,
50
- configKey: GroupConfigKey.group_standardTags,
51
- },
52
55
  {
53
56
  type: BitTagType.group,
54
57
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -63,11 +66,8 @@ const BITS = {
63
66
  },
64
67
  [BitType.article]: {
65
68
  since: '1.3.0',
69
+ baseBitType: BitType._standard,
66
70
  tags: [
67
- {
68
- type: BitTagType.group,
69
- configKey: GroupConfigKey.group_standardTags,
70
- },
71
71
  {
72
72
  type: BitTagType.tag,
73
73
  configKey: TagConfigKey.title,
@@ -123,11 +123,8 @@ const BITS = {
123
123
  },
124
124
  [BitType.callToAction]: {
125
125
  since: '1.15.0',
126
+ baseBitType: BitType._standard,
126
127
  tags: [
127
- {
128
- type: BitTagType.group,
129
- configKey: GroupConfigKey.group_standardTags,
130
- },
131
128
  {
132
129
  type: BitTagType.property,
133
130
  configKey: PropertyConfigKey.buttonCaption,
@@ -155,11 +152,8 @@ const BITS = {
155
152
  [BitType.callToActionCreateAccount]: { since: '1.15.0', baseBitType: BitType.callToAction },
156
153
  [BitType.appBitmarkFromJavascript]: {
157
154
  since: '1.4.5',
155
+ baseBitType: BitType._standard,
158
156
  tags: [
159
- {
160
- type: BitTagType.group,
161
- configKey: GroupConfigKey.group_standardTags,
162
- },
163
157
  {
164
158
  type: BitTagType.property,
165
159
  configKey: PropertyConfigKey.maxCreatedBits,
@@ -170,11 +164,8 @@ const BITS = {
170
164
  [BitType.appBitmarkFromEditor]: { since: '1.4.5', baseBitType: BitType.appBitmarkFromJavascript },
171
165
  [BitType.articleEmbed]: {
172
166
  since: '1.3.0',
167
+ baseBitType: BitType._standard,
173
168
  tags: [
174
- {
175
- type: BitTagType.group,
176
- configKey: GroupConfigKey.group_standardTags,
177
- },
178
169
  {
179
170
  type: BitTagType.group,
180
171
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -189,11 +180,8 @@ const BITS = {
189
180
  },
190
181
  [BitType.articleLink]: {
191
182
  since: '1.3.0',
183
+ baseBitType: BitType._standard,
192
184
  tags: [
193
- {
194
- type: BitTagType.group,
195
- configKey: GroupConfigKey.group_standardTags,
196
- },
197
185
  {
198
186
  type: BitTagType.group,
199
187
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -208,11 +196,8 @@ const BITS = {
208
196
  },
209
197
  [BitType.audio]: {
210
198
  since: '1.3.0',
199
+ baseBitType: BitType._standard,
211
200
  tags: [
212
- {
213
- type: BitTagType.group,
214
- configKey: GroupConfigKey.group_standardTags,
215
- },
216
201
  {
217
202
  type: BitTagType.group,
218
203
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -227,11 +212,8 @@ const BITS = {
227
212
  },
228
213
  [BitType.audioEmbed]: {
229
214
  since: '1.3.0',
215
+ baseBitType: BitType._standard,
230
216
  tags: [
231
- {
232
- type: BitTagType.group,
233
- configKey: GroupConfigKey.group_standardTags,
234
- },
235
217
  {
236
218
  type: BitTagType.group,
237
219
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -246,11 +228,8 @@ const BITS = {
246
228
  },
247
229
  [BitType.audioLink]: {
248
230
  since: '1.3.0',
231
+ baseBitType: BitType._standard,
249
232
  tags: [
250
- {
251
- type: BitTagType.group,
252
- configKey: GroupConfigKey.group_standardTags,
253
- },
254
233
  {
255
234
  type: BitTagType.group,
256
235
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -265,11 +244,8 @@ const BITS = {
265
244
  },
266
245
  [BitType.bitAlias]: {
267
246
  since: '1.3.0',
247
+ baseBitType: BitType._standard,
268
248
  tags: [
269
- {
270
- type: BitTagType.group,
271
- configKey: GroupConfigKey.group_standardTags,
272
- },
273
249
  {
274
250
  type: BitTagType.tag,
275
251
  configKey: TagConfigKey.tag_reference,
@@ -282,11 +258,8 @@ const BITS = {
282
258
  },
283
259
  [BitType.book]: {
284
260
  since: '1.3.0',
261
+ baseBitType: BitType._standard,
285
262
  tags: [
286
- {
287
- type: BitTagType.group,
288
- configKey: GroupConfigKey.group_standardTags,
289
- },
290
263
  {
291
264
  type: BitTagType.group,
292
265
  configKey: GroupConfigKey.group_bookCommon,
@@ -319,7 +292,12 @@ const BITS = {
319
292
  [BitType.bookPreface]: { since: '1.3.0', baseBitType: BitType.article },
320
293
  [BitType.bookPrologue]: { since: '1.3.0', baseBitType: BitType.article },
321
294
  [BitType.bookReadMore]: { since: '1.3.0', baseBitType: BitType.article },
322
- [BitType.bookReferenceList]: { since: '1.3.0', baseBitType: BitType.article },
295
+ [BitType.bookReferenceList]: {
296
+ //
297
+ since: '3.2.0',
298
+ baseBitType: BitType._standard,
299
+ cardSet: CardSetConfigKey._bookReferenceList,
300
+ },
323
301
  [BitType.bookRequestForABookReview]: { since: '1.3.0', baseBitType: BitType.article },
324
302
  [BitType.bookSummary]: { since: '1.3.0', baseBitType: BitType.article },
325
303
  [BitType.bookTeaser]: { since: '1.3.0', baseBitType: BitType.article },
@@ -367,21 +345,14 @@ const BITS = {
367
345
  },
368
346
  [BitType.botActionResponse]: {
369
347
  since: '1.3.0',
370
- tags: [
371
- {
372
- type: BitTagType.group,
373
- configKey: GroupConfigKey.group_standardTags,
374
- },
375
- ],
348
+ baseBitType: BitType._standard,
349
+ tags: [],
376
350
  cardSet: CardSetConfigKey._botActionResponses,
377
351
  },
378
352
  [BitType.botActionSend]: {
379
353
  since: '1.3.0',
354
+ baseBitType: BitType._standard,
380
355
  tags: [
381
- {
382
- type: BitTagType.group,
383
- configKey: GroupConfigKey.group_standardTags,
384
- },
385
356
  {
386
357
  type: BitTagType.property,
387
358
  configKey: PropertyConfigKey.date,
@@ -404,12 +375,9 @@ const BITS = {
404
375
  },
405
376
  [BitType.card1]: {
406
377
  since: '1.3.0',
378
+ baseBitType: BitType._standard,
407
379
  quizBit: true,
408
380
  tags: [
409
- {
410
- type: BitTagType.group,
411
- configKey: GroupConfigKey.group_standardTags,
412
- },
413
381
  {
414
382
  type: BitTagType.group,
415
383
  configKey: GroupConfigKey.group_quizCommon,
@@ -421,11 +389,8 @@ const BITS = {
421
389
  [BitType.surveyAnonymous1]: { since: '1.3.0', baseBitType: BitType.card1 },
422
390
  [BitType.chapter]: {
423
391
  since: '1.3.0',
392
+ baseBitType: BitType._standard,
424
393
  tags: [
425
- {
426
- type: BitTagType.group,
427
- configKey: GroupConfigKey.group_standardTags,
428
- },
429
394
  {
430
395
  type: BitTagType.tag,
431
396
  configKey: TagConfigKey.anchor,
@@ -446,12 +411,9 @@ const BITS = {
446
411
  },
447
412
  [BitType.clozeAndMultipleChoiceText]: {
448
413
  since: '1.3.0',
414
+ baseBitType: BitType._standard,
449
415
  quizBit: true,
450
416
  tags: [
451
- {
452
- type: BitTagType.group,
453
- configKey: GroupConfigKey.group_standardTags,
454
- },
455
417
  {
456
418
  type: BitTagType.group,
457
419
  configKey: GroupConfigKey.group_quizCommon,
@@ -472,12 +434,9 @@ const BITS = {
472
434
  },
473
435
  [BitType.cloze]: {
474
436
  since: '1.3.0',
437
+ baseBitType: BitType._standard,
475
438
  quizBit: true,
476
439
  tags: [
477
- {
478
- type: BitTagType.group,
479
- configKey: GroupConfigKey.group_standardTags,
480
- },
481
440
  {
482
441
  type: BitTagType.group,
483
442
  configKey: GroupConfigKey.group_quizCommon,
@@ -517,12 +476,9 @@ const BITS = {
517
476
  [BitType.coachCallToActionCloze]: { since: '1.3.0', baseBitType: BitType.cloze },
518
477
  [BitType.clozeList]: {
519
478
  since: '1.4.13',
479
+ baseBitType: BitType._standard,
520
480
  quizBit: true,
521
481
  tags: [
522
- {
523
- type: BitTagType.group,
524
- configKey: GroupConfigKey.group_standardTags,
525
- },
526
482
  {
527
483
  type: BitTagType.group,
528
484
  configKey: GroupConfigKey.group_quizCommon,
@@ -532,11 +488,8 @@ const BITS = {
532
488
  },
533
489
  [BitType.code]: {
534
490
  since: '1.3.0',
491
+ baseBitType: BitType._standard,
535
492
  tags: [
536
- {
537
- type: BitTagType.group,
538
- configKey: GroupConfigKey.group_standardTags,
539
- },
540
493
  {
541
494
  type: BitTagType.property,
542
495
  configKey: PropertyConfigKey.computerLanguage,
@@ -554,12 +507,8 @@ const BITS = {
554
507
  },
555
508
  [BitType.formula]: {
556
509
  since: '1.35.0',
557
- tags: [
558
- {
559
- type: BitTagType.group,
560
- configKey: GroupConfigKey.group_standardTags,
561
- },
562
- ],
510
+ baseBitType: BitType._standard,
511
+ tags: [],
563
512
  textFormatDefault: TextFormat.latex,
564
513
  },
565
514
  [BitType.appCodeCell]: { since: '1.4.3', baseBitType: BitType.code },
@@ -592,11 +541,8 @@ const BITS = {
592
541
  [BitType.milestone]: { since: '1.20.0', baseBitType: BitType.step },
593
542
  [BitType.conversationLeft1]: {
594
543
  since: '1.3.0',
544
+ baseBitType: BitType._standard,
595
545
  tags: [
596
- {
597
- type: BitTagType.group,
598
- configKey: GroupConfigKey.group_standardTags,
599
- },
600
546
  {
601
547
  type: BitTagType.group,
602
548
  configKey: GroupConfigKey.group_person,
@@ -612,11 +558,8 @@ const BITS = {
612
558
  [BitType.cookStep]: { since: '1.3.0', baseBitType: BitType.article },
613
559
  [BitType.cookIngredients]: {
614
560
  since: '1.5.16',
561
+ baseBitType: BitType._standard,
615
562
  tags: [
616
- {
617
- type: BitTagType.group,
618
- configKey: GroupConfigKey.group_standardTags,
619
- },
620
563
  {
621
564
  type: BitTagType.group,
622
565
  configKey: GroupConfigKey.group_technicalTerm,
@@ -664,11 +607,8 @@ const BITS = {
664
607
  [BitType.cookTimer]: { since: '1.3.0', baseBitType: BitType.article },
665
608
  [BitType.document]: {
666
609
  since: '1.3.0',
610
+ baseBitType: BitType._standard,
667
611
  tags: [
668
- {
669
- type: BitTagType.group,
670
- configKey: GroupConfigKey.group_standardTags,
671
- },
672
612
  {
673
613
  type: BitTagType.group,
674
614
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -683,11 +623,8 @@ const BITS = {
683
623
  },
684
624
  [BitType.documentDownload]: {
685
625
  since: '1.3.0',
626
+ baseBitType: BitType._standard,
686
627
  tags: [
687
- {
688
- type: BitTagType.group,
689
- configKey: GroupConfigKey.group_standardTags,
690
- },
691
628
  {
692
629
  type: BitTagType.group,
693
630
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -702,11 +639,8 @@ const BITS = {
702
639
  },
703
640
  [BitType.documentEmbed]: {
704
641
  since: '1.3.0',
642
+ baseBitType: BitType._standard,
705
643
  tags: [
706
- {
707
- type: BitTagType.group,
708
- configKey: GroupConfigKey.group_standardTags,
709
- },
710
644
  {
711
645
  type: BitTagType.group,
712
646
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -721,11 +655,8 @@ const BITS = {
721
655
  },
722
656
  [BitType.documentLink]: {
723
657
  since: '1.3.0',
658
+ baseBitType: BitType._standard,
724
659
  tags: [
725
- {
726
- type: BitTagType.group,
727
- configKey: GroupConfigKey.group_standardTags,
728
- },
729
660
  {
730
661
  type: BitTagType.group,
731
662
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -740,12 +671,9 @@ const BITS = {
740
671
  },
741
672
  [BitType.essay]: {
742
673
  since: '1.3.0',
674
+ baseBitType: BitType._standard,
743
675
  quizBit: true,
744
676
  tags: [
745
- {
746
- type: BitTagType.group,
747
- configKey: GroupConfigKey.group_standardTags,
748
- },
749
677
  {
750
678
  type: BitTagType.group,
751
679
  configKey: GroupConfigKey.group_quizCommon,
@@ -779,11 +707,8 @@ const BITS = {
779
707
  [BitType.coachCallToActionEssay]: { since: '1.3.0', baseBitType: BitType.essay },
780
708
  [BitType.example]: {
781
709
  since: '1.3.0',
710
+ baseBitType: BitType._standard,
782
711
  tags: [
783
- {
784
- type: BitTagType.group,
785
- configKey: GroupConfigKey.group_standardTags,
786
- },
787
712
  {
788
713
  type: BitTagType.tag,
789
714
  configKey: TagConfigKey.title,
@@ -991,21 +916,14 @@ const BITS = {
991
916
  [BitType.extractorPageWithBlocksCollapsible]: { since: '1.30.0', baseBitType: BitType.extractorPageWithBlocks },
992
917
  [BitType.extractorConfiguration]: {
993
918
  since: '1.7.1',
994
- tags: [
995
- {
996
- type: BitTagType.group,
997
- configKey: GroupConfigKey.group_standardTags,
998
- },
999
- ],
919
+ baseBitType: BitType._standard,
920
+ tags: [],
1000
921
  textFormatDefault: TextFormat.text,
1001
922
  },
1002
923
  [BitType.extractorBlock]: {
1003
924
  since: '1.5.16',
925
+ baseBitType: BitType._standard,
1004
926
  tags: [
1005
- {
1006
- type: BitTagType.group,
1007
- configKey: GroupConfigKey.group_standardTags,
1008
- },
1009
927
  {
1010
928
  type: BitTagType.property,
1011
929
  configKey: PropertyConfigKey.blockId,
@@ -1142,22 +1060,15 @@ const BITS = {
1142
1060
  },
1143
1061
  [BitType.definitionList]: {
1144
1062
  since: '1.34.0',
1145
- tags: [
1146
- {
1147
- type: BitTagType.group,
1148
- configKey: GroupConfigKey.group_standardTags,
1149
- },
1150
- ],
1063
+ baseBitType: BitType._standard,
1064
+ tags: [],
1151
1065
  cardSet: CardSetConfigKey._flashcardLike,
1152
1066
  },
1153
1067
  [BitType.flashcard]: {
1154
1068
  since: '1.3.0',
1069
+ baseBitType: BitType._standard,
1155
1070
  quizBit: true,
1156
1071
  tags: [
1157
- {
1158
- type: BitTagType.group,
1159
- configKey: GroupConfigKey.group_standardTags,
1160
- },
1161
1072
  {
1162
1073
  type: BitTagType.group,
1163
1074
  configKey: GroupConfigKey.group_quizCommon,
@@ -1182,12 +1093,9 @@ const BITS = {
1182
1093
  },
1183
1094
  [BitType.highlightText]: {
1184
1095
  since: '1.3.0',
1096
+ baseBitType: BitType._standard,
1185
1097
  quizBit: true,
1186
1098
  tags: [
1187
- {
1188
- type: BitTagType.group,
1189
- configKey: GroupConfigKey.group_standardTags,
1190
- },
1191
1099
  {
1192
1100
  type: BitTagType.group,
1193
1101
  configKey: GroupConfigKey.group_quizCommon,
@@ -1200,11 +1108,8 @@ const BITS = {
1200
1108
  },
1201
1109
  [BitType.image]: {
1202
1110
  since: '1.3.0',
1111
+ baseBitType: BitType._standard,
1203
1112
  tags: [
1204
- {
1205
- type: BitTagType.group,
1206
- configKey: GroupConfigKey.group_standardTags,
1207
- },
1208
1113
  {
1209
1114
  type: BitTagType.property,
1210
1115
  configKey: PropertyConfigKey.backgroundWallpaper,
@@ -1321,11 +1226,8 @@ const BITS = {
1321
1226
  },
1322
1227
  [BitType.imageLink]: {
1323
1228
  since: '1.3.0',
1229
+ baseBitType: BitType._standard,
1324
1230
  tags: [
1325
- {
1326
- type: BitTagType.group,
1327
- configKey: GroupConfigKey.group_standardTags,
1328
- },
1329
1231
  {
1330
1232
  type: BitTagType.group,
1331
1233
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -1340,11 +1242,8 @@ const BITS = {
1340
1242
  },
1341
1243
  [BitType.imageOnDevice]: {
1342
1244
  since: '1.3.0',
1245
+ baseBitType: BitType._standard,
1343
1246
  tags: [
1344
- {
1345
- type: BitTagType.group,
1346
- configKey: GroupConfigKey.group_standardTags,
1347
- },
1348
1247
  {
1349
1248
  type: BitTagType.group,
1350
1249
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -1362,11 +1261,8 @@ const BITS = {
1362
1261
  },
1363
1262
  [BitType.imageResponsive]: {
1364
1263
  since: '1.3.0',
1264
+ baseBitType: BitType._standard,
1365
1265
  tags: [
1366
- {
1367
- type: BitTagType.group,
1368
- configKey: GroupConfigKey.group_standardTags,
1369
- },
1370
1266
  {
1371
1267
  type: BitTagType.group,
1372
1268
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -1381,11 +1277,8 @@ const BITS = {
1381
1277
  },
1382
1278
  [BitType.imagesLogoGrave]: {
1383
1279
  since: '1.5.11',
1280
+ baseBitType: BitType._standard,
1384
1281
  tags: [
1385
- {
1386
- type: BitTagType.group,
1387
- configKey: GroupConfigKey.group_standardTags,
1388
- },
1389
1282
  {
1390
1283
  type: BitTagType.group,
1391
1284
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -1406,11 +1299,8 @@ const BITS = {
1406
1299
  },
1407
1300
  [BitType.internalLink]: {
1408
1301
  since: '1.3.0',
1302
+ baseBitType: BitType._standard,
1409
1303
  tags: [
1410
- {
1411
- type: BitTagType.group,
1412
- configKey: GroupConfigKey.group_standardTags,
1413
- },
1414
1304
  {
1415
1305
  type: BitTagType.tag,
1416
1306
  configKey: TagConfigKey.tag_reference,
@@ -1419,12 +1309,9 @@ const BITS = {
1419
1309
  },
1420
1310
  [BitType.interview]: {
1421
1311
  since: '1.3.0',
1312
+ baseBitType: BitType._standard,
1422
1313
  quizBit: true,
1423
1314
  tags: [
1424
- {
1425
- type: BitTagType.group,
1426
- configKey: GroupConfigKey.group_standardTags,
1427
- },
1428
1315
  {
1429
1316
  type: BitTagType.group,
1430
1317
  configKey: GroupConfigKey.group_quizCommon,
@@ -1440,11 +1327,8 @@ const BITS = {
1440
1327
  [BitType.botInterview]: { since: '1.3.0', baseBitType: BitType.interview },
1441
1328
  [BitType.learningPathBook]: {
1442
1329
  since: '1.3.0',
1330
+ baseBitType: BitType._standard,
1443
1331
  tags: [
1444
- {
1445
- type: BitTagType.group,
1446
- configKey: GroupConfigKey.group_standardTags,
1447
- },
1448
1332
  {
1449
1333
  type: BitTagType.group,
1450
1334
  configKey: GroupConfigKey.group_learningPathCommon,
@@ -1637,12 +1521,9 @@ const BITS = {
1637
1521
  [BitType.smartStandardListItemCollapsible]: { since: '1.28.0', baseBitType: BitType.smartStandardListItem },
1638
1522
  [BitType.mark]: {
1639
1523
  since: '1.3.0',
1524
+ baseBitType: BitType._standard,
1640
1525
  quizBit: true,
1641
1526
  tags: [
1642
- {
1643
- type: BitTagType.group,
1644
- configKey: GroupConfigKey.group_standardTags,
1645
- },
1646
1527
  {
1647
1528
  type: BitTagType.group,
1648
1529
  configKey: GroupConfigKey.group_quizCommon,
@@ -1659,12 +1540,9 @@ const BITS = {
1659
1540
  },
1660
1541
  [BitType.match]: {
1661
1542
  since: '1.3.0',
1543
+ baseBitType: BitType._standard,
1662
1544
  quizBit: true,
1663
1545
  tags: [
1664
- {
1665
- type: BitTagType.group,
1666
- configKey: GroupConfigKey.group_standardTags,
1667
- },
1668
1546
  {
1669
1547
  type: BitTagType.group,
1670
1548
  configKey: GroupConfigKey.group_quizCommon,
@@ -1697,12 +1575,9 @@ const BITS = {
1697
1575
  },
1698
1576
  [BitType.multipleChoice1]: {
1699
1577
  since: '1.3.0',
1578
+ baseBitType: BitType._standard,
1700
1579
  quizBit: true,
1701
1580
  tags: [
1702
- {
1703
- type: BitTagType.group,
1704
- configKey: GroupConfigKey.group_standardTags,
1705
- },
1706
1581
  {
1707
1582
  type: BitTagType.group,
1708
1583
  configKey: GroupConfigKey.group_quizCommon,
@@ -1716,12 +1591,9 @@ const BITS = {
1716
1591
  [BitType.coachSelfReflectionMultipleChoice1]: { since: '1.3.0', baseBitType: BitType.multipleChoice1 },
1717
1592
  [BitType.multipleChoice]: {
1718
1593
  since: '1.3.0',
1594
+ baseBitType: BitType._standard,
1719
1595
  quizBit: true,
1720
1596
  tags: [
1721
- {
1722
- type: BitTagType.group,
1723
- configKey: GroupConfigKey.group_standardTags,
1724
- },
1725
1597
  {
1726
1598
  type: BitTagType.group,
1727
1599
  configKey: GroupConfigKey.group_quizCommon,
@@ -1736,12 +1608,9 @@ const BITS = {
1736
1608
  [BitType.coachSelfReflectionMultipleChoice]: { since: '1.3.0', baseBitType: BitType.multipleChoice },
1737
1609
  [BitType.multipleChoiceText]: {
1738
1610
  since: '1.3.0',
1611
+ baseBitType: BitType._standard,
1739
1612
  quizBit: true,
1740
1613
  tags: [
1741
- {
1742
- type: BitTagType.group,
1743
- configKey: GroupConfigKey.group_standardTags,
1744
- },
1745
1614
  {
1746
1615
  type: BitTagType.group,
1747
1616
  configKey: GroupConfigKey.group_quizCommon,
@@ -1756,12 +1625,9 @@ const BITS = {
1756
1625
  [BitType.coachSelfReflectionMultipleChoiceText]: { since: '1.3.0', baseBitType: BitType.multipleChoiceText },
1757
1626
  [BitType.multipleResponse1]: {
1758
1627
  since: '1.3.0',
1628
+ baseBitType: BitType._standard,
1759
1629
  quizBit: true,
1760
1630
  tags: [
1761
- {
1762
- type: BitTagType.group,
1763
- configKey: GroupConfigKey.group_standardTags,
1764
- },
1765
1631
  {
1766
1632
  type: BitTagType.group,
1767
1633
  configKey: GroupConfigKey.group_quizCommon,
@@ -1775,12 +1641,9 @@ const BITS = {
1775
1641
  [BitType.coachSelfReflectionMultipleResponse1]: { since: '1.3.0', baseBitType: BitType.multipleResponse1 },
1776
1642
  [BitType.multipleResponse]: {
1777
1643
  since: '1.3.0',
1644
+ baseBitType: BitType._standard,
1778
1645
  quizBit: true,
1779
1646
  tags: [
1780
- {
1781
- type: BitTagType.group,
1782
- configKey: GroupConfigKey.group_standardTags,
1783
- },
1784
1647
  {
1785
1648
  type: BitTagType.group,
1786
1649
  configKey: GroupConfigKey.group_quizCommon,
@@ -1795,11 +1658,8 @@ const BITS = {
1795
1658
  [BitType.coachSelfReflectionMultipleResponse]: { since: '1.3.0', baseBitType: BitType.multipleResponse },
1796
1659
  [BitType.page]: {
1797
1660
  since: '1.3.0',
1661
+ baseBitType: BitType._standard,
1798
1662
  tags: [
1799
- {
1800
- type: BitTagType.group,
1801
- configKey: GroupConfigKey.group_standardTags,
1802
- },
1803
1663
  {
1804
1664
  type: BitTagType.tag,
1805
1665
  configKey: TagConfigKey.title,
@@ -1814,11 +1674,8 @@ const BITS = {
1814
1674
  [BitType.pageCoverImage]: { since: '1.22.0', baseBitType: BitType.page },
1815
1675
  [BitType.pageBuyButton]: {
1816
1676
  since: '1.4.3',
1677
+ baseBitType: BitType._standard,
1817
1678
  tags: [
1818
- {
1819
- type: BitTagType.group,
1820
- configKey: GroupConfigKey.group_standardTags,
1821
- },
1822
1679
  {
1823
1680
  type: BitTagType.property,
1824
1681
  configKey: PropertyConfigKey.slug,
@@ -1837,11 +1694,8 @@ const BITS = {
1837
1694
  [BitType.pageBuyButtonPromotion]: { since: '1.5.11', baseBitType: BitType.pageBuyButton },
1838
1695
  [BitType.pageSubpage]: {
1839
1696
  since: '1.6.6',
1697
+ baseBitType: BitType._standard,
1840
1698
  tags: [
1841
- {
1842
- type: BitTagType.group,
1843
- configKey: GroupConfigKey.group_standardTags,
1844
- },
1845
1699
  {
1846
1700
  type: BitTagType.property,
1847
1701
  configKey: PropertyConfigKey.slug,
@@ -1859,11 +1713,8 @@ const BITS = {
1859
1713
  [BitType.pageSpecial]: { since: '1.6.6', baseBitType: BitType.pageSubpage },
1860
1714
  [BitType.pagePerson]: {
1861
1715
  since: '1.5.16',
1716
+ baseBitType: BitType._standard,
1862
1717
  tags: [
1863
- {
1864
- type: BitTagType.group,
1865
- configKey: GroupConfigKey.group_standardTags,
1866
- },
1867
1718
  {
1868
1719
  type: BitTagType.property,
1869
1720
  configKey: PropertyConfigKey.slug,
@@ -1880,11 +1731,8 @@ const BITS = {
1880
1731
  },
1881
1732
  [BitType.pageProduct]: {
1882
1733
  since: '1.4.17',
1734
+ baseBitType: BitType._standard,
1883
1735
  tags: [
1884
- {
1885
- type: BitTagType.group,
1886
- configKey: GroupConfigKey.group_standardTags,
1887
- },
1888
1736
  {
1889
1737
  type: BitTagType.property,
1890
1738
  configKey: PropertyConfigKey.slug,
@@ -1897,11 +1745,8 @@ const BITS = {
1897
1745
  },
1898
1746
  [BitType.pageProductList]: {
1899
1747
  since: '1.4.17',
1748
+ baseBitType: BitType._standard,
1900
1749
  tags: [
1901
- {
1902
- type: BitTagType.group,
1903
- configKey: GroupConfigKey.group_standardTags,
1904
- },
1905
1750
  {
1906
1751
  type: BitTagType.property,
1907
1752
  configKey: PropertyConfigKey.slug,
@@ -1915,11 +1760,8 @@ const BITS = {
1915
1760
  },
1916
1761
  [BitType.pageProductVideo]: {
1917
1762
  since: '1.4.17',
1763
+ baseBitType: BitType._standard,
1918
1764
  tags: [
1919
- {
1920
- type: BitTagType.group,
1921
- configKey: GroupConfigKey.group_standardTags,
1922
- },
1923
1765
  {
1924
1766
  type: BitTagType.property,
1925
1767
  configKey: PropertyConfigKey.slug,
@@ -1932,11 +1774,8 @@ const BITS = {
1932
1774
  },
1933
1775
  [BitType.pageProductVideoList]: {
1934
1776
  since: '1.4.17',
1777
+ baseBitType: BitType._standard,
1935
1778
  tags: [
1936
- {
1937
- type: BitTagType.group,
1938
- configKey: GroupConfigKey.group_standardTags,
1939
- },
1940
1779
  {
1941
1780
  type: BitTagType.property,
1942
1781
  configKey: PropertyConfigKey.slug,
@@ -1950,11 +1789,8 @@ const BITS = {
1950
1789
  },
1951
1790
  [BitType.pageSectionFolder]: {
1952
1791
  since: '1.4.17',
1792
+ baseBitType: BitType._standard,
1953
1793
  tags: [
1954
- {
1955
- type: BitTagType.group,
1956
- configKey: GroupConfigKey.group_standardTags,
1957
- },
1958
1794
  {
1959
1795
  type: BitTagType.property,
1960
1796
  configKey: PropertyConfigKey.slug,
@@ -1971,11 +1807,8 @@ const BITS = {
1971
1807
  },
1972
1808
  [BitType.quote]: {
1973
1809
  since: '1.3.0',
1810
+ baseBitType: BitType._standard,
1974
1811
  tags: [
1975
- {
1976
- type: BitTagType.group,
1977
- configKey: GroupConfigKey.group_standardTags,
1978
- },
1979
1812
  {
1980
1813
  type: BitTagType.property,
1981
1814
  configKey: PropertyConfigKey.quotedPerson,
@@ -1984,21 +1817,14 @@ const BITS = {
1984
1817
  },
1985
1818
  [BitType.rating]: {
1986
1819
  since: '1.3.0',
1987
- tags: [
1988
- {
1989
- type: BitTagType.group,
1990
- configKey: GroupConfigKey.group_standardTags,
1991
- },
1992
- ],
1820
+ baseBitType: BitType._standard,
1821
+ tags: [],
1993
1822
  },
1994
1823
  [BitType.coachSelfReflectionRating]: { since: '1.3.0', baseBitType: BitType.rating },
1995
1824
  [BitType.releaseNote]: {
1996
1825
  since: '1.3.0',
1826
+ baseBitType: BitType._standard,
1997
1827
  tags: [
1998
- {
1999
- type: BitTagType.group,
2000
- configKey: GroupConfigKey.group_standardTags,
2001
- },
2002
1828
  {
2003
1829
  type: BitTagType.property,
2004
1830
  configKey: PropertyConfigKey.releaseVersion,
@@ -2015,11 +1841,8 @@ const BITS = {
2015
1841
  },
2016
1842
  [BitType.reviewNote]: {
2017
1843
  since: '1.3.0',
1844
+ baseBitType: BitType._standard,
2018
1845
  tags: [
2019
- {
2020
- type: BitTagType.group,
2021
- configKey: GroupConfigKey.group_standardTags,
2022
- },
2023
1846
  {
2024
1847
  type: BitTagType.tag,
2025
1848
  configKey: TagConfigKey.title,
@@ -2045,11 +1868,8 @@ const BITS = {
2045
1868
  [BitType.reviewApprovedNote]: { since: '1.3.0', baseBitType: BitType.reviewNote },
2046
1869
  [BitType.sampleSolution]: {
2047
1870
  since: '1.3.0',
1871
+ baseBitType: BitType._standard,
2048
1872
  tags: [
2049
- {
2050
- type: BitTagType.group,
2051
- configKey: GroupConfigKey.group_standardTags,
2052
- },
2053
1873
  // Not sure if these are actually valid here, but include them as they are in the test bit.
2054
1874
  {
2055
1875
  type: BitTagType.tag,
@@ -2063,12 +1883,9 @@ const BITS = {
2063
1883
  },
2064
1884
  [BitType.sequence]: {
2065
1885
  since: '1.3.0',
1886
+ baseBitType: BitType._standard,
2066
1887
  quizBit: true,
2067
1888
  tags: [
2068
- {
2069
- type: BitTagType.group,
2070
- configKey: GroupConfigKey.group_standardTags,
2071
- },
2072
1889
  {
2073
1890
  type: BitTagType.group,
2074
1891
  configKey: GroupConfigKey.group_quizCommon,
@@ -2079,11 +1896,8 @@ const BITS = {
2079
1896
  },
2080
1897
  [BitType.stillImageFilm]: {
2081
1898
  since: '1.3.0',
1899
+ baseBitType: BitType._standard,
2082
1900
  tags: [
2083
- {
2084
- type: BitTagType.group,
2085
- configKey: GroupConfigKey.group_standardTags,
2086
- },
2087
1901
  {
2088
1902
  type: BitTagType.group,
2089
1903
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -2098,11 +1912,8 @@ const BITS = {
2098
1912
  },
2099
1913
  [BitType.stillImageFilmEmbed]: {
2100
1914
  since: '1.3.0',
1915
+ baseBitType: BitType._standard,
2101
1916
  tags: [
2102
- {
2103
- type: BitTagType.group,
2104
- configKey: GroupConfigKey.group_standardTags,
2105
- },
2106
1917
  {
2107
1918
  type: BitTagType.group,
2108
1919
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -2117,11 +1928,8 @@ const BITS = {
2117
1928
  },
2118
1929
  [BitType.stillImageFilmLink]: {
2119
1930
  since: '1.3.0',
1931
+ baseBitType: BitType._standard,
2120
1932
  tags: [
2121
- {
2122
- type: BitTagType.group,
2123
- configKey: GroupConfigKey.group_standardTags,
2124
- },
2125
1933
  {
2126
1934
  type: BitTagType.group,
2127
1935
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -2136,21 +1944,13 @@ const BITS = {
2136
1944
  },
2137
1945
  [BitType.surveyAnonymous]: {
2138
1946
  since: '1.3.0',
2139
- tags: [
2140
- {
2141
- type: BitTagType.group,
2142
- configKey: GroupConfigKey.group_standardTags,
2143
- },
2144
- ],
1947
+ baseBitType: BitType._standard,
1948
+ tags: [],
2145
1949
  },
2146
1950
  [BitType.survey]: {
2147
1951
  since: '1.3.0',
2148
- tags: [
2149
- {
2150
- type: BitTagType.group,
2151
- configKey: GroupConfigKey.group_standardTags,
2152
- },
2153
- ],
1952
+ baseBitType: BitType._standard,
1953
+ tags: [],
2154
1954
  },
2155
1955
  [BitType.surveyMatrix]: {
2156
1956
  since: '1.6.2',
@@ -2179,11 +1979,8 @@ const BITS = {
2179
1979
  [BitType.surveyMatrixMe]: { since: '1.6.2', baseBitType: BitType.surveyMatrix },
2180
1980
  [BitType.surveyRating]: {
2181
1981
  since: '1.6.0',
1982
+ baseBitType: BitType._standard,
2182
1983
  tags: [
2183
- {
2184
- type: BitTagType.group,
2185
- configKey: GroupConfigKey.group_standardTags,
2186
- },
2187
1984
  {
2188
1985
  type: BitTagType.property,
2189
1986
  configKey: PropertyConfigKey.ratingLevelStart,
@@ -2224,11 +2021,8 @@ const BITS = {
2224
2021
  },
2225
2022
  [BitType.scorm]: {
2226
2023
  since: '1.5.11',
2024
+ baseBitType: BitType._standard,
2227
2025
  tags: [
2228
- {
2229
- type: BitTagType.group,
2230
- configKey: GroupConfigKey.group_standardTags,
2231
- },
2232
2026
  {
2233
2027
  type: BitTagType.property,
2234
2028
  configKey: PropertyConfigKey.scormSource,
@@ -2241,21 +2035,14 @@ const BITS = {
2241
2035
  },
2242
2036
  [BitType.pronunciationTable]: {
2243
2037
  since: '3.1.0',
2244
- tags: [
2245
- {
2246
- type: BitTagType.group,
2247
- configKey: GroupConfigKey.group_standardTags,
2248
- },
2249
- ],
2038
+ baseBitType: BitType._standard,
2039
+ tags: [],
2250
2040
  cardSet: CardSetConfigKey._pronunciationTable,
2251
2041
  },
2252
2042
  [BitType.table]: {
2253
2043
  since: '1.5.19',
2044
+ baseBitType: BitType._standard,
2254
2045
  tags: [
2255
- {
2256
- type: BitTagType.group,
2257
- configKey: GroupConfigKey.group_standardTags,
2258
- },
2259
2046
  {
2260
2047
  type: BitTagType.property,
2261
2048
  configKey: PropertyConfigKey.caption,
@@ -2334,12 +2121,8 @@ const BITS = {
2334
2121
  [BitType.parameters]: { since: '1.18.0', baseBitType: BitType.table },
2335
2122
  [BitType.toc]: {
2336
2123
  since: '1.3.0',
2337
- tags: [
2338
- {
2339
- type: BitTagType.group,
2340
- configKey: GroupConfigKey.group_standardTags,
2341
- },
2342
- ],
2124
+ baseBitType: BitType._standard,
2125
+ tags: [],
2343
2126
  },
2344
2127
  [BitType.tocChapter]: {
2345
2128
  since: '1.5.5',
@@ -2351,42 +2134,71 @@ const BITS = {
2351
2134
  },
2352
2135
  ],
2353
2136
  },
2354
- [BitType.anchor]: { since: '1.3.0', baseBitType: BitType.toc },
2355
- [BitType.bitBookEnding]: { since: '1.3.0', baseBitType: BitType.toc },
2356
- [BitType.bitBookSummary]: { since: '1.3.0', baseBitType: BitType.toc },
2357
- [BitType.botActionAnnounce]: { since: '1.3.0', baseBitType: BitType.toc },
2358
- [BitType.botActionRatingNumber]: { since: '1.3.0', baseBitType: BitType.toc },
2359
- [BitType.botActionRemind]: { since: '1.3.0', baseBitType: BitType.toc },
2360
- [BitType.botActionSave]: { since: '1.3.0', baseBitType: BitType.toc },
2361
- [BitType.botActionTrueFalse]: { since: '1.3.0', baseBitType: BitType.toc },
2362
- [BitType.chapterSubjectMatter]: { since: '1.3.0', baseBitType: BitType.toc },
2363
- [BitType.chat]: { since: '1.3.0', baseBitType: BitType.toc },
2364
- [BitType.conclusion]: { since: '1.3.0', baseBitType: BitType.toc },
2137
+ [BitType.anchor]: { since: '1.3.0', baseBitType: BitType._standard },
2138
+ [BitType.bitBookEnding]: { since: '1.3.0', baseBitType: BitType._standard },
2139
+ [BitType.bitBookSummary]: { since: '1.3.0', baseBitType: BitType._standard },
2140
+ [BitType.botActionAnnounce]: { since: '1.3.0', baseBitType: BitType._standard },
2141
+ [BitType.botActionRatingNumber]: { since: '1.3.0', baseBitType: BitType._standard },
2142
+ [BitType.botActionRemind]: { since: '1.3.0', baseBitType: BitType._standard },
2143
+ [BitType.botActionSave]: { since: '1.3.0', baseBitType: BitType._standard },
2144
+ [BitType.botActionTrueFalse]: { since: '1.3.0', baseBitType: BitType._standard },
2145
+ [BitType.chapterSubjectMatter]: { since: '1.3.0', baseBitType: BitType._standard },
2146
+ [BitType.chat]: { since: '1.3.0', baseBitType: BitType._standard },
2147
+ [BitType.conclusion]: { since: '1.3.0', baseBitType: BitType._standard },
2365
2148
  [BitType.conclusionAlt]: { since: '1.16.0', baseBitType: BitType.conclusion },
2366
- [BitType.documentUpload]: { since: '1.3.0', baseBitType: BitType.toc },
2367
- [BitType.footNote]: { since: '1.3.0', baseBitType: BitType.toc },
2368
- [BitType.groupBorn]: { since: '1.3.0', baseBitType: BitType.toc },
2369
- [BitType.groupDied]: { since: '1.3.0', baseBitType: BitType.toc },
2370
- [BitType.recordAudio]: { since: '1.3.0', baseBitType: BitType.toc },
2371
- [BitType.recordVideo]: { since: '1.5.24', baseBitType: BitType.toc },
2372
- [BitType.stickyNote]: { since: '1.3.0', baseBitType: BitType.toc },
2373
- [BitType.takePicture]: { since: '1.3.0', baseBitType: BitType.toc },
2374
- [BitType.handInAudio]: { since: '1.5.15', baseBitType: BitType.takePicture },
2375
- [BitType.handInContact]: { since: '1.5.15', baseBitType: BitType.takePicture },
2376
- [BitType.handInDocument]: { since: '1.5.15', baseBitType: BitType.takePicture },
2377
- [BitType.handInLocation]: { since: '1.5.15', baseBitType: BitType.takePicture },
2378
- [BitType.handInPhoto]: { since: '1.5.15', baseBitType: BitType.takePicture },
2379
- [BitType.handInScan]: { since: '1.5.15', baseBitType: BitType.takePicture },
2380
- [BitType.handInVideo]: { since: '1.5.15', baseBitType: BitType.takePicture },
2381
- [BitType.handInVoice]: { since: '1.5.15', baseBitType: BitType.takePicture },
2149
+ [BitType.documentUpload]: { since: '1.3.0', baseBitType: BitType._standard },
2150
+ [BitType.footNote]: { since: '1.3.0', baseBitType: BitType._standard },
2151
+ [BitType.groupBorn]: { since: '1.3.0', baseBitType: BitType._standard },
2152
+ [BitType.groupDied]: { since: '1.3.0', baseBitType: BitType._standard },
2153
+ [BitType.recordAudio]: { since: '1.3.0', baseBitType: BitType._standard },
2154
+ [BitType.recordVideo]: { since: '1.5.24', baseBitType: BitType._standard },
2155
+ [BitType.stickyNote]: { since: '1.3.0', baseBitType: BitType._standard },
2156
+ [BitType.takePicture]: { since: '1.3.0', baseBitType: BitType._standard },
2157
+ [BitType.handInAudio]: { since: '1.5.15', baseBitType: BitType._standard },
2158
+ [BitType.handInContact]: { since: '1.5.15', baseBitType: BitType._standard },
2159
+ [BitType.handInDocument]: { since: '1.5.15', baseBitType: BitType._standard },
2160
+ [BitType.handInFile]: {
2161
+ //
2162
+ since: '3.2.0',
2163
+ baseBitType: BitType._standard,
2164
+ tags: [
2165
+ {
2166
+ type: BitTagType.property,
2167
+ configKey: PropertyConfigKey.handInAcceptFileType,
2168
+ maxCount: Count.infinity,
2169
+ },
2170
+ ],
2171
+ },
2172
+ [BitType.handInLocation]: { since: '1.5.15', baseBitType: BitType._standard },
2173
+ [BitType.handInPhoto]: { since: '1.5.15', baseBitType: BitType._standard },
2174
+ [BitType.handInScan]: { since: '1.5.15', baseBitType: BitType._standard },
2175
+ [BitType.handInSubmit]: {
2176
+ //
2177
+ since: '3.2.0',
2178
+ baseBitType: BitType._standard,
2179
+ tags: [
2180
+ {
2181
+ type: BitTagType.property,
2182
+ configKey: PropertyConfigKey.handInRequirement,
2183
+ maxCount: Count.infinity,
2184
+ },
2185
+ {
2186
+ type: BitTagType.property,
2187
+ configKey: PropertyConfigKey.handInInstruction,
2188
+ },
2189
+ {
2190
+ type: BitTagType.property,
2191
+ configKey: PropertyConfigKey.buttonCaption,
2192
+ },
2193
+ ],
2194
+ },
2195
+ [BitType.handInVideo]: { since: '1.5.15', baseBitType: BitType._standard },
2196
+ [BitType.handInVoice]: { since: '1.5.15', baseBitType: BitType._standard },
2382
2197
  [BitType.trueFalse1]: {
2383
2198
  since: '1.3.0',
2199
+ baseBitType: BitType._standard,
2384
2200
  quizBit: true,
2385
2201
  tags: [
2386
- {
2387
- type: BitTagType.group,
2388
- configKey: GroupConfigKey.group_standardTags,
2389
- },
2390
2202
  {
2391
2203
  type: BitTagType.group,
2392
2204
  configKey: GroupConfigKey.group_quizCommon,
@@ -2412,12 +2224,9 @@ const BITS = {
2412
2224
  },
2413
2225
  [BitType.trueFalse]: {
2414
2226
  since: '1.3.0',
2227
+ baseBitType: BitType._standard,
2415
2228
  quizBit: true,
2416
2229
  tags: [
2417
- {
2418
- type: BitTagType.group,
2419
- configKey: GroupConfigKey.group_standardTags,
2420
- },
2421
2230
  {
2422
2231
  type: BitTagType.group,
2423
2232
  configKey: GroupConfigKey.group_quizCommon,
@@ -2436,12 +2245,7 @@ const BITS = {
2436
2245
  [BitType.vendorAmcharts5Chart]: {
2437
2246
  since: '1.5.8',
2438
2247
  baseBitType: BitType.code,
2439
- tags: [
2440
- {
2441
- type: BitTagType.group,
2442
- configKey: GroupConfigKey.group_standardTags,
2443
- },
2444
- ],
2248
+ tags: [],
2445
2249
  textFormatDefault: TextFormat.json,
2446
2250
  },
2447
2251
  [BitType.vendorHighchartsChart]: {
@@ -2452,10 +2256,6 @@ const BITS = {
2452
2256
  since: '1.5.10',
2453
2257
  baseBitType: BitType.code,
2454
2258
  tags: [
2455
- {
2456
- type: BitTagType.group,
2457
- configKey: GroupConfigKey.group_standardTags,
2458
- },
2459
2259
  {
2460
2260
  type: BitTagType.property,
2461
2261
  configKey: PropertyConfigKey.width, // Same as image
@@ -2497,10 +2297,6 @@ const BITS = {
2497
2297
  since: '1.3.0',
2498
2298
  baseBitType: BitType.code,
2499
2299
  tags: [
2500
- {
2501
- type: BitTagType.group,
2502
- configKey: GroupConfigKey.group_standardTags,
2503
- },
2504
2300
  {
2505
2301
  type: BitTagType.property,
2506
2302
  configKey: PropertyConfigKey.padletId,
@@ -2526,11 +2322,8 @@ const BITS = {
2526
2322
  },
2527
2323
  [BitType.video]: {
2528
2324
  since: '1.3.0',
2325
+ baseBitType: BitType._standard,
2529
2326
  tags: [
2530
- {
2531
- type: BitTagType.group,
2532
- configKey: GroupConfigKey.group_standardTags,
2533
- },
2534
2327
  {
2535
2328
  type: BitTagType.group,
2536
2329
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -2547,11 +2340,8 @@ const BITS = {
2547
2340
  [BitType.videoPortrait]: { since: '1.3.0', baseBitType: BitType.video },
2548
2341
  [BitType.videoEmbed]: {
2549
2342
  since: '1.3.0',
2343
+ baseBitType: BitType._standard,
2550
2344
  tags: [
2551
- {
2552
- type: BitTagType.group,
2553
- configKey: GroupConfigKey.group_standardTags,
2554
- },
2555
2345
  {
2556
2346
  type: BitTagType.group,
2557
2347
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -2568,11 +2358,8 @@ const BITS = {
2568
2358
  [BitType.videoEmbedPortrait]: { since: '1.3.0', baseBitType: BitType.videoEmbed },
2569
2359
  [BitType.videoLink]: {
2570
2360
  since: '1.3.0',
2361
+ baseBitType: BitType._standard,
2571
2362
  tags: [
2572
- {
2573
- type: BitTagType.group,
2574
- configKey: GroupConfigKey.group_standardTags,
2575
- },
2576
2363
  {
2577
2364
  type: BitTagType.group,
2578
2365
  configKey: GroupConfigKey.group_resourceBitTags,
@@ -2589,11 +2376,8 @@ const BITS = {
2589
2376
  [BitType.videoLinkPortrait]: { since: '1.3.0', baseBitType: BitType.videoLink },
2590
2377
  [BitType.websiteLink]: {
2591
2378
  since: '1.3.0',
2379
+ baseBitType: BitType._standard,
2592
2380
  tags: [
2593
- {
2594
- type: BitTagType.group,
2595
- configKey: GroupConfigKey.group_standardTags,
2596
- },
2597
2381
  {
2598
2382
  type: BitTagType.group,
2599
2383
  configKey: GroupConfigKey.group_resourceBitTags,